/* =========================================================
   OCD Live — Plateforme de réservation
   HTML / CSS / JS pur — mobile-first
   ========================================================= */

:root {
  --orange: #F26522;
  --orange-600: #E0540F;
  --orange-50: #FFF4EC;
  --orange-100: #FFE6D4;
  --black: #0E0E0E;
  --ink: #1A1A1A;
  --gray-700: #3D3D3D;
  --gray-500: #6B6B6B;
  --gray-300: #D9D9D9;
  --gray-200: #ECECEC;
  --gray-100: #F6F6F4;
  --white: #FFFFFF;
  --danger: #D92D20;
  --wa: #25D366;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow: 0 10px 30px -10px rgba(0,0,0,.15);
  --shadow-orange: 0 14px 34px -12px rgba(242,101,34,.55);
  --ease: cubic-bezier(.22,1,.36,1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { transition: transform .35s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

.btn--primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(242,101,34,.65); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #262626; transform: translateY(-2px); }
.btn--ghost { background: var(--white); color: var(--black); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--black); transform: translateY(-2px); }

/* reflet qui traverse le bouton */
.btn--shine::after {
  content: ""; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s 2s infinite;
}
@keyframes shine { 0%, 70% { left: -75%; } 100% { left: 130%; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--gray-200); box-shadow: 0 6px 20px -14px rgba(0,0,0,.25); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 42px; width: auto; }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .25s, visibility .25s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__link { padding: 14px 4px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--gray-200); position: relative; }
.nav__link.is-active { color: var(--orange); }
.nav__cta { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 28px) 0 56px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(255,196,120,.28), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(242,101,34,.08), transparent 70%),
    var(--white);
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -160px; top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,186,90,.45), rgba(242,101,34,.12) 45%, transparent 70%);
  filter: blur(30px);
  animation: glow 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }

.hero__grid { position: relative; display: grid; gap: 40px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); position: relative; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
.live-dot--white { background: var(--white); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }

.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 10.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--black);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line__inner { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) var(--d, 0s) forwards; }
.hero__title em { font-style: normal; color: var(--orange); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: .06em; height: .12em;
  background: var(--orange); opacity: .25; border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  animation: underline .9s var(--ease) 1.2s forwards;
}
@keyframes lineUp { to { transform: none; } }
@keyframes underline { to { transform: scaleX(1); } }

.reveal-hero { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) var(--d, 0s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__rotator {
  margin-top: 18px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  letter-spacing: -.02em;
}
.rotator__label { color: var(--gray-500); }
.rotator {
  position: relative; display: inline-grid;
  padding: 2px 14px;
  background: var(--black); color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: width .5s var(--ease);
}
.rotator__word {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(100%); filter: blur(4px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease);
}
.rotator__word.is-active { opacity: 1; transform: none; filter: none; color: var(--orange); }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-100%); filter: blur(4px); }

.hero__text { margin-top: 18px; max-width: 34rem; color: var(--gray-700); font-size: 17px; }

.hero__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.hero__actions .btn { width: 100%; }

.hero__note { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-size: 15px; font-weight: 500; }
.hero__note svg { color: var(--orange); flex-shrink: 0; }

/* Visuel studio */
.hero__visual { position: relative; opacity: 0; transform: translateY(30px) scale(.97); animation: visualIn 1.4s var(--ease) .35s forwards; }
@keyframes visualIn { to { opacity: 1; transform: none; } }

.studio-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f1eeea;
  box-shadow: 0 40px 80px -30px rgba(242,101,34,.45), 0 20px 40px -20px rgba(0,0,0,.25);
  isolation: isolate;
}
.studio-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.studio-frame__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  transform-origin: 50% 32%;
  animation: kenburns 18s ease-in-out 1s infinite alternate;
  will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-1.5%); } }
.studio-frame__shade {
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  z-index: 1;
}
.studio-frame__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 600; font-size: 14px;
}
.live-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  background: var(--orange); color: var(--white);
  border-radius: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
}

.hero__scroll { display: none; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section__head, .about__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 6.5vw, 3rem);
  line-height: 1.1; letter-spacing: -.03em;
  color: var(--black);
}
.section__lead { margin-top: 16px; color: var(--gray-500); font-size: 17px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about__grid { display: grid; gap: 16px; }
.about-card {
  padding: 28px 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .4s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease);
}
.about-card:hover { transform: translateY(-4px); background: var(--white); border-color: var(--orange-100); box-shadow: var(--shadow); }
.about-card__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: var(--orange); color: var(--white);
  margin-bottom: 18px;
  box-shadow: var(--shadow-orange);
}
.about-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.about-card p { color: var(--gray-500); }

/* ---------- Packages ---------- */
.packages { background: var(--gray-100); position: relative; }
.pkg-grid { display: grid; gap: 16px; }

.pkg-card {
  --accent: var(--orange);
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
  overflow: hidden;
}
.pkg-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg-card:hover::before { transform: scaleX(1); }

.pkg-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pkg-card__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: .16em;
  display: inline-flex; align-items: center; gap: 10px;
}
.pkg-card__name::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tier); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tier) 20%, transparent); }
.pkg-card__badge {
  display: none;
  align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--orange); color: var(--white);
  font-size: 12px; font-weight: 700;
}
.pkg-card__price { margin-top: 22px; font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.03em; color: var(--black); }
.pkg-card__price small { font-size: 15px; font-weight: 700; color: var(--gray-500); letter-spacing: 0; margin-left: 4px; }
.pkg-card__duration {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 14px; border-radius: 999px;
  background: var(--gray-100); font-weight: 600; font-size: 15px;
}
.pkg-card__duration svg { color: var(--orange); }
.pkg-card .btn { margin-top: 24px; width: 100%; }

.pkg-card.is-selected { border-color: var(--orange); box-shadow: 0 24px 50px -24px rgba(242,101,34,.55); background: linear-gradient(180deg, var(--orange-50), var(--white) 60%); }
.pkg-card.is-selected::before { transform: scaleX(1); }
.pkg-card.is-selected .pkg-card__badge { display: inline-flex; }

/* VIP = noir premium */
.pkg-card--vip { background: var(--black); border-color: var(--black); color: var(--white); }
.pkg-card--vip .pkg-card__price { color: var(--white); }
.pkg-card--vip .pkg-card__price small { color: #9a9a9a; }
.pkg-card--vip .pkg-card__duration { background: #1f1f1f; }
.pkg-card--vip .btn--dark { background: var(--orange); }
.pkg-card--vip .btn--dark:hover { background: var(--orange-600); }
.pkg-card--vip.is-selected { background: var(--black); border-color: var(--orange); }
.pkg-card--vip::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px;
  background: radial-gradient(circle, rgba(242,101,34,.45), transparent 70%);
  pointer-events: none;
}

/* ---------- Booking / Wizard ---------- */
.booking { background: var(--white); }
.wizard {
  max-width: 820px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.35);
  padding: 22px 18px 20px;
}

.progress { margin-bottom: 26px; }
.progress__bar { height: 6px; background: var(--gray-200); border-radius: 99px; overflow: hidden; }
.progress__fill { height: 100%; width: 20%; background: linear-gradient(90deg, var(--orange), #FF9A4D); border-radius: inherit; transition: width .6s var(--ease); }
.progress__steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 14px; }
.progress__steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.progress__num {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gray-100); color: var(--gray-500);
  font-weight: 700; font-size: 13px;
  border: 2px solid var(--gray-200);
  transition: all .35s var(--ease);
}
.progress__label { font-size: 12px; font-weight: 600; color: var(--gray-500); transition: color .3s; }
.progress__steps li.is-current .progress__num { background: var(--orange); border-color: var(--orange); color: var(--white); transform: scale(1.1); box-shadow: 0 6px 16px -6px rgba(242,101,34,.7); }
.progress__steps li.is-current .progress__label { color: var(--black); }
.progress__steps li.is-done .progress__num { background: var(--black); border-color: var(--black); color: var(--white); }
.progress__steps li.is-done .progress__label { color: var(--ink); }

.step { display: none; }
.step.is-active { display: block; animation: stepIn .5s var(--ease); }
.step.is-active.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.step__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--black); }
.step__count { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .04em; margin-bottom: 4px; }
.step__hint { margin: 6px 0 20px; color: var(--gray-500); font-size: 15px; }

/* Calendrier */
.calendar { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calendar__month { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: capitalize; }
.calendar__nav { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--gray-200); transition: background .2s, border-color .2s; }
.calendar__nav:hover:not(:disabled) { background: var(--gray-100); border-color: var(--gray-300); }
.calendar__nav:disabled { opacity: .3; cursor: not-allowed; }
.calendar__weekdays, .calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar__weekdays span { text-align: center; font-size: 12px; font-weight: 700; color: var(--gray-500); padding: 6px 0; text-transform: uppercase; letter-spacing: .03em; }
.cal-day {
  aspect-ratio: 1; min-height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: background .2s, color .2s, transform .25s var(--ease), box-shadow .25s;
}
.cal-day:hover:not(:disabled):not(.is-selected) { background: var(--orange-50); color: var(--orange-600); }
.cal-day:disabled { color: #c4c4c4; cursor: not-allowed; text-decoration: line-through; text-decoration-color: #ddd; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--gray-300); }
.cal-day.is-selected { background: var(--orange); color: var(--white); transform: scale(1.06); box-shadow: 0 8px 18px -8px rgba(242,101,34,.8); }
.cal-day--empty { pointer-events: none; }

.selected-info {
  margin-top: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  background: var(--orange-50); border: 1px solid var(--orange-100);
  border-radius: var(--radius-sm);
  font-weight: 600; color: var(--orange-600);
}
.selected-info::first-letter { text-transform: uppercase; }

/* Champs */
.fields { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px; /* évite le zoom iOS */
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-100);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: #a6a6a6; }
.field input:hover { border-color: var(--gray-300); }
.field input:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(242,101,34,.12); }
.field.has-error input { border-color: var(--danger); background: #FFF6F5; }
.field.is-valid input { border-color: #b7e4c7; }

.error-msg { display: none; margin-top: 7px; color: var(--danger); font-size: 14px; font-weight: 600; }
.error-msg.is-shown { display: flex; align-items: center; gap: 6px; animation: shake .4s; }
.error-msg.is-shown::before { content: "!"; width: 18px; height: 18px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--danger); color: var(--white); font-size: 12px; font-weight: 800; }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Cartes de choix (mode) */
.choice-grid { display: grid; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .pkg-option input { position: absolute; opacity: 0; pointer-events: none; }
.choice__card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s, background .25s, box-shadow .3s, transform .3s var(--ease);
}
.choice:hover .choice__card { border-color: var(--gray-300); transform: translateY(-2px); }
.choice__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--gray-100); color: var(--black); margin-bottom: 8px; transition: background .25s, color .25s; }
.choice__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.choice__desc { color: var(--gray-500); font-size: 15px; }
.choice__check, .pkg-option__check {
  position: absolute; top: 16px; right: 16px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--gray-300);
  transition: all .25s var(--ease);
}
.choice input:checked + .choice__card,
.pkg-option input:checked + .pkg-option__card { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 14px 30px -18px rgba(242,101,34,.7); }
.choice input:checked + .choice__card .choice__icon { background: var(--orange); color: var(--white); }
.choice input:checked + .choice__card .choice__check,
.pkg-option input:checked + .pkg-option__card .pkg-option__check {
  border-color: var(--orange); background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.choice input:focus-visible + .choice__card,
.pkg-option input:focus-visible + .pkg-option__card { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Options package (étape 4) */
.pkg-options { display: grid; gap: 10px; }
.pkg-option { position: relative; display: block; cursor: pointer; }
.pkg-option__card {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px;
  padding: 16px 52px 16px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .25s, background .25s, box-shadow .3s;
}
.pkg-option:hover .pkg-option__card { border-color: var(--gray-300); }
.pkg-option__check { top: 50%; transform: translateY(-50%); }
.pkg-option__name { font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pkg-option__name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tier); }
.pkg-option__duration { grid-column: 1; color: var(--gray-500); font-size: 14px; font-weight: 500; }
.pkg-option__price { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 800; font-size: 18px; white-space: nowrap; }

/* Récapitulatif */
.recap { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.recap__header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 18px;
  background: var(--black); color: var(--white);
}
.recap__header img { height: 34px; width: auto; }
.recap__header span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #bdbdbd; }
.recap__row {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-200);
}
.recap__row:last-child { border-bottom: 0; }
.recap__label { font-size: 13px; color: var(--gray-500); font-weight: 600; }
.recap__value { grid-column: 1; font-weight: 700; word-break: break-word; }
.recap__value::first-letter { text-transform: uppercase; }
.recap__edit { grid-column: 2; grid-row: 1 / span 2; color: var(--orange-600); font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.recap__edit:hover { background: var(--orange-50); }
.recap__total { background: var(--orange-50); }
.recap__total .recap__value { font-family: var(--font-display); font-size: 22px; color: var(--orange-600); }

.notice {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-size: 14px; color: var(--gray-700);
}
.notice svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.recap__actions { margin-top: 20px; display: grid; gap: 10px; }

.wizard__nav { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; gap: 12px; }
.wizard__nav .btn { flex: 1; }
.wizard__nav [hidden] { display: none; }
.wizard.on-recap .wizard__nav { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #cfcfcf; padding: 64px 0 28px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; width: 500px; height: 500px; left: -200px; bottom: -260px;
  background: radial-gradient(circle, rgba(242,101,34,.35), transparent 70%);
  pointer-events: none;
}
.footer__grid { position: relative; display: grid; gap: 36px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 24rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font-family: var(--font-display); color: var(--white); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.footer__col > a:not(.footer__wa) { transition: color .2s; align-self: flex-start; }
.footer__col > a:not(.footer__wa):hover { color: var(--orange); }
.footer__wa {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  padding: 12px 18px 12px 14px;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35);
  border-radius: 14px; color: var(--white); font-weight: 700; font-size: 17px;
  transition: background .25s, transform .3s var(--ease);
}
.footer__wa:hover { background: rgba(37,211,102,.22); transform: translateY(-2px); }
.footer__wa svg { color: var(--wa); }
.footer__wa small { display: block; font-size: 12px; color: #9fe6b9; font-weight: 600; line-height: 1.2; }
.footer__line { font-size: 15px; }
.footer__bottom {
  position: relative;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid #262626;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  font-size: 14px; color: #8a8a8a;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade .3s ease;
}
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal__box {
  width: 100%; max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px 20px;
  text-align: center;
  animation: pop .5s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.modal__check { width: 78px; height: 78px; margin: 0 auto 18px; }
.modal__check svg { width: 100%; height: 100%; }
.modal__check circle { stroke: var(--wa); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--ease) .1s forwards; }
.modal__check path { stroke: var(--wa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease) .65s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.modal__box h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.modal__box p { color: var(--gray-700); margin-bottom: 22px; font-size: 15px; }
.modal__box .btn--primary { background: var(--wa); box-shadow: 0 14px 30px -12px rgba(37,211,102,.6); }
.modal__box .btn--primary:hover { background: #1ebe5a; }
.modal__close { margin-top: 10px; padding: 10px; font-weight: 600; color: var(--gray-500); }
.modal__close:hover { color: var(--black); }
.modal__countdown { display: block; margin-top: 8px; font-size: 13px; color: var(--gray-500); }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .pkg-options { grid-template-columns: 1fr 1fr; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .wizard { padding: 32px 30px 28px; }
  .wizard__nav .btn { flex: 0 0 auto; min-width: 160px; }
  .recap__actions { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .about__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .studio-frame { aspect-ratio: 16 / 13; }
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .header__logo img { height: 50px; }
  .burger { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 6px;
    padding: 0; background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav__link { border: 0; padding: 8px 14px; font-size: 15px; }
  .nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    background: var(--orange); border-radius: 2px;
    transform: scaleX(0); transition: transform .35s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__cta { margin: 0 0 0 10px; }

  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 70px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .studio-frame { aspect-ratio: 4 / 5; max-height: calc(100vh - 170px); margin-left: auto; }
  .hero__glow { width: 760px; height: 760px; right: -220px; top: 40px; }

  .hero__scroll {
    display: block; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid var(--gray-300); border-radius: 14px;
  }
  .hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--orange); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite; }
  @keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

  .section { padding: 110px 0; }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .pkg-card { padding: 30px 28px 28px; }
  .pkg-card__price { font-size: 44px; }
  .pkg-options { grid-template-columns: repeat(3, 1fr); }
  .pkg-option__card { grid-template-columns: 1fr; padding: 18px; }
  .pkg-option__price { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .pkg-option__check { top: 18px; transform: none; }
  .wizard { padding: 40px 44px 36px; }
}

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-hero, .hero__visual, .hero__title .line__inner { opacity: 1; transform: none; }
}

/* Crédit */
.footer__credit a { color: var(--white); font-weight: 700; transition: color .2s; }
.footer__credit a:hover { color: var(--orange); }
