/* =====================================================
   CLEANX COACHING — DESIGN SYSTEM v2
   « Obsidian & Gold » — premium high-ticket funnel
   Display: Montserrat · UI: Inter
   ===================================================== */

:root {
  /* --- Surfaces (warm obsidian) --- */
  --void:      #060607;
  --black:     #0A0A0C;
  --black-2:   #101013;
  --black-3:   #16161A;
  --black-4:   #202026;
  --surface:   rgba(255,255,255,0.028);
  --surface-2: rgba(255,255,255,0.05);
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  /* --- Gold ramp (metallic) --- */
  --gold:        #C9A24B;
  --gold-light:  #E8C878;
  --gold-hi:     #F7E7B4;
  --gold-dark:   #9C7A30;
  --gold-grad:   linear-gradient(135deg, #F7E7B4 0%, #E0BE68 38%, #C9A24B 68%, #9C7A30 100%);
  --gold-sheen:  linear-gradient(100deg, #C9A24B 0%, #F7E7B4 45%, #C9A24B 90%);

  /* --- Text --- */
  --white:      #F4F1E9;
  --white-dim:  #C4C0B6;
  --grey:       #8B877E;
  --grey-dark:  #4A4842;

  /* --- Status --- */
  --success:    #37C871;
  --error:      #E8564A;
  --warning:    #E8A93C;

  /* --- Type --- */
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-disp: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* --- Radii --- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-2xl: 40px;

  /* --- Motion --- */
  --ease:   all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Shadow --- */
  --shadow-card: 0 24px 70px -20px rgba(0,0,0,0.75);
  --shadow-gold: 0 0 60px -12px rgba(201,162,75,0.28);
  --shadow-btn:  0 10px 30px -8px rgba(201,162,75,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* --- Ambient light: photo backdrop (subtle) + animated gold aurora --- */
body::before {
  content: '';
  position: fixed;
  inset: -3%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 15% 0%,   rgba(201,162,75,0.14) 0%, transparent 60%),
    radial-gradient(45% 45% at 92% 12%,  rgba(232,200,120,0.10) 0%, transparent 62%),
    radial-gradient(60% 50% at 50% 108%, rgba(156,122,48,0.12) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(6,6,7,0.80) 0%, rgba(6,6,7,0.88) 55%, rgba(6,6,7,0.95) 100%),
    url('../images/erwann-bg.jpg') center 15% / cover no-repeat,
    var(--void);
  animation: aurora 22s ease-in-out infinite alternate;
}
/* faint grain for a printed, expensive feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-1.5%, -1%, 0) scale(1.06); }
  100% { transform: translate3d(1%, 1.5%, 0) scale(1.03); }
}

body > *, .page-center, .results-wrap, .funnel-wrap, .progress-wrap { position: relative; z-index: 1; }

a      { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }
img    { max-width: 100%; display: block; }
::selection { background: rgba(201,162,75,0.3); color: var(--white); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-disp); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.25rem, 4.9vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--white-dim); }

.display-italic { font-style: italic; font-weight: 600; }
.gold {
  background: var(--gold-sheen);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.6rem; }
.container--narrow { max-width: 760px; }
section { padding: 6.5rem 0; position: relative; }

.gold-line {
  width: 54px; height: 2px;
  background: var(--gold-grad);
  margin: 1.3rem auto;
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(201,162,75,0.5);
}
.section-title { text-align: center; margin-bottom: 3.4rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-title h2 { margin-top: 0.7rem; }
.section-title p  { margin-top: 1rem; font-size: 1.08rem; }

/* ---- REVEAL ON SCROLL (progressive enhancement: visible by default) ---- */
html.reveal-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); will-change: opacity, transform; }
html.reveal-anim .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.97rem; font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--ease);
  cursor: pointer; border: none;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn--primary {
  background: var(--gold-grad);
  color: #1a1408;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
}
/* moving sheen */
.btn--primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.75s ease;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(201,162,75,0.6); filter: brightness(1.04); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:active { transform: translateY(-1px); }
.btn--outline {
  border: 1.5px solid var(--line-2);
  color: var(--white);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,162,75,0.06); transform: translateY(-3px); }
.btn--ghost { color: var(--grey); padding: 0.75rem 1.2rem; background: transparent; }
.btn--ghost:hover { color: var(--white-dim); }
.btn--large { padding: 1.2rem 2.6rem; font-size: 1.06rem; }
.btn--full  { width: 100%; }
.btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.45);
}
.btn--whatsapp:hover { transform: translateY(-3px); filter: brightness(1.06); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  inset: calc(0.9rem + env(safe-area-inset-top, 0px)) calc(0.9rem + env(safe-area-inset-right, 0px)) auto calc(0.9rem + env(safe-area-inset-left, 0px));
  z-index: 100;
  max-width: 1180px; margin: 0 auto;
  padding: 0.85rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(12,12,14,0.55);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: var(--ease);
}
.nav.scrolled { background: rgba(10,10,12,0.82); border-color: rgba(201,162,75,0.2); box-shadow: 0 10px 40px -18px rgba(0,0,0,0.8); }
.nav__logo { font-family: var(--font-disp); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.28rem; }
.nav__logo span { color: var(--gold); font-weight: 700; }
.nav__cta  { font-size: 0.86rem; padding: 0.6rem 1.35rem; }

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative; overflow: hidden;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,162,75,0.08);
  border: 1px solid rgba(201,162,75,0.28);
  color: var(--gold-light);
  padding: 0.42rem 1.05rem;
  border-radius: 100px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeDown 0.7s ease both;
}
.hero__badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(232,200,120,0.6); animation: pulse 2s infinite; }
.hero__title { max-width: 13em; margin-bottom: 1.5rem; animation: fadeUp 0.8s 0.1s ease both; }
.hero__title em { font-style: normal; }
.hero__subtitle { max-width: 560px; font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--white-dim); margin-bottom: 2.6rem; animation: fadeUp 0.8s 0.22s ease both; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s 0.34s ease both; }
.hero__trust { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s 0.46s ease both; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--black);
  background: linear-gradient(135deg, var(--black-4), var(--black-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600; color: var(--gold-light);
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__trust-text { font-size: 0.85rem; color: var(--grey); text-align: left; }
.hero__trust-text strong { color: var(--white); }
.stars { color: var(--gold-light); letter-spacing: 0.08em; font-size: 0.85rem; }

/* scroll cue */
.scroll-cue { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--grey); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; animation: fadeUp 1s 0.8s ease both; }
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s ease-in-out infinite; transform-origin: top; }
@media (max-height: 880px) { .scroll-cue { display: none; } }

/* ---- VSL ---- */
.vsl { padding: 1rem 0 6.5rem; }
.vsl__container { max-width: 840px; margin: 0 auto; padding: 0 1.5rem; }
.vsl__frame {
  position: relative; padding: 10px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(201,162,75,0.35), rgba(201,162,75,0.04) 40%, rgba(255,255,255,0.03));
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.vsl__player {
  position: relative; aspect-ratio: 16/9;
  background: var(--black-3);
  border-radius: calc(var(--r-2xl) - 10px);
  overflow: hidden;
}
.vsl__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vsl__video::-webkit-media-controls, .vsl__video::-webkit-media-controls-enclosure { display: none !important; }
.vsl__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; background: rgba(6,6,7,0.7); backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 0.4rem 0.9rem; border-radius: 100px; font-size: 0.75rem; color: var(--white-dim); display: flex; align-items: center; gap: 0.45rem; }
.vsl__tag .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--error); animation: pulse 1.6s infinite; }

/* ---- MARQUEE / TRUST STRIP ---- */
.trust-strip { padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; gap: 3.5rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 0.6rem; color: var(--grey); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.marquee__item svg { width: 18px; height: 18px; color: var(--gold); opacity: 0.85; }

/* ---- STATS ---- */
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 860px; margin: 0 auto; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.6rem 1.2rem; text-align: center;
  backdrop-filter: blur(6px);
  transition: var(--ease);
}
.stat:hover { border-color: rgba(201,162,75,0.28); transform: translateY(-4px); }
.stat__number { font-family: var(--font-disp); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; margin-bottom: 0.6rem; }
.stat__number .gold { display: inline-block; }
.stat__label  { font-size: 0.86rem; color: var(--grey); letter-spacing: 0.02em; }

/* ---- GLASS CARD (shared) ---- */
.g-card, .benefit, .step-mini, .faq-item, .authority, .guarantee, .urgency__box, .message-card, .score-card, .analysis-card, .confirm-card, .step__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

/* ---- PROBLEM ---- */
.problem__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1rem; margin-top: 2.6rem; }
.pain {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: rgba(232,86,74,0.04);
  border: 1px solid rgba(232,86,74,0.16);
  border-radius: var(--r-md);
}
.pain svg { width: 22px; height: 22px; color: var(--error); flex-shrink: 0; margin-top: 2px; }
.pain p { font-size: 0.94rem; color: var(--white-dim); }

/* ---- BENEFITS ---- */
.benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.benefit { border-radius: var(--r-lg); padding: 2.1rem 1.9rem; transition: var(--ease); overflow: hidden; }
.benefit::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.benefit:hover { border-color: rgba(201,162,75,0.28); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.benefit:hover::before { transform: scaleX(1); }
.benefit__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(201,162,75,0.16), rgba(201,162,75,0.04));
  border: 1px solid rgba(201,162,75,0.25);
  margin-bottom: 1.3rem;
}
.benefit__icon svg { width: 26px; height: 26px; color: var(--gold-light); }
.benefit h3 { margin-bottom: 0.6rem; }
.benefit p  { font-size: 0.93rem; line-height: 1.7; }

/* ---- METHOD (steps) ---- */
.method__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.25rem; margin-top: 3rem; counter-reset: mstep; }
.step-mini { border-radius: var(--r-lg); padding: 2rem 1.7rem; transition: var(--ease); }
.step-mini:hover { border-color: rgba(201,162,75,0.24); transform: translateY(-5px); }
.step-mini__num { font-family: var(--font-disp); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 0.9rem; }
.step-mini h3 { margin-bottom: 0.5rem; }
.step-mini p  { font-size: 0.92rem; }

/* ---- TESTIMONIALS ---- */
.testi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; margin-top: 3rem; }
.testi {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.85rem; backdrop-filter: blur(8px);
  transition: var(--ease); display: flex; flex-direction: column;
}
.testi:hover { border-color: rgba(201,162,75,0.24); transform: translateY(-4px); }
.testi__stars { color: var(--gold-light); font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testi__quote { font-size: 0.98rem; line-height: 1.75; color: var(--white); font-style: italic; margin-bottom: 1.4rem; flex: 1; }
.testi__author { display: flex; align-items: center; gap: 0.75rem; }
.testi__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #1a1408; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; }
.testi__name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.testi__role { font-size: 0.8rem; color: var(--grey); }

/* ---- AUTHORITY (Erwann) ---- */
.authority { border-radius: var(--r-2xl); padding: 0; overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; box-shadow: var(--shadow-card); }
.authority__photo { position: relative; min-height: 100%; background: var(--black-3); }
.authority__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.authority__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(10,10,12,0.9) 100%), linear-gradient(to top, rgba(10,10,12,0.75), transparent 45%); }
.authority__body { padding: 3rem 2.8rem; }
.authority__body h2 { margin: 0.7rem 0 1.2rem; }
.authority__body p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.1rem; }
.authority__sign { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.01em; font-size: 1.35rem; color: var(--gold-light); margin-top: 1.4rem; }
.authority__stats { display: flex; gap: 2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.authority__stats div { }
.authority__stats b { font-family: var(--font-disp); display: block; font-size: 1.7rem; color: var(--gold-light); line-height: 1; }
.authority__stats span { font-size: 0.8rem; color: var(--grey); }

/* ---- GUARANTEE ---- */
.guarantee { max-width: 720px; margin: 0 auto; border-radius: var(--r-2xl); padding: 3rem 2.6rem; text-align: center; box-shadow: var(--shadow-gold); border-color: rgba(201,162,75,0.24); }
.guarantee__seal { width: 74px; height: 74px; margin: 0 auto 1.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(201,162,75,0.18), rgba(201,162,75,0.04)); border: 1.5px solid rgba(201,162,75,0.4); }
.guarantee__seal svg { width: 36px; height: 36px; color: var(--gold-light); }
.guarantee h2 { margin-bottom: 0.9rem; }
.guarantee p { font-size: 1rem; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { border-radius: var(--r-md); overflow: hidden; transition: var(--ease); }
.faq-item[open] { border-color: rgba(201,162,75,0.28); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: 1rem; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: var(--ease); color: var(--gold-light); }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.5rem 1.35rem; }
.faq-item__body p { font-size: 0.94rem; line-height: 1.75; }

/* ---- URGENCY ---- */
.urgency__box { text-align: center; max-width: 620px; margin: 0 auto; border-radius: var(--r-2xl); padding: 3.6rem 2.4rem; box-shadow: var(--shadow-gold); border-color: rgba(201,162,75,0.26); }
.urgency__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--warning); margin-bottom: 1.1rem; }
.urgency__box h2 { margin-bottom: 1rem; }
.urgency__box > p { margin-bottom: 2.1rem; font-size: 1.05rem; }
.urgency__slots { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.slot { width: 46px; height: 6px; border-radius: 100px; background: var(--black-4); }
.slot.taken { background: var(--gold-grad); }

/* ---- FOOTER ---- */
footer { border-top: 1px solid var(--line); padding: 3rem 1.5rem 2.4rem; text-align: center; }
.footer__logo { font-family: var(--font-disp); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.footer__logo span { color: var(--gold); font-weight: 700; }
footer .foot-meta { color: var(--grey); font-size: 0.8rem; margin-top: 0.6rem; }
footer a:hover { color: var(--gold-light); }

/* =====================================================
   FUNNEL / QUIZ
   ===================================================== */
.progress-wrap { padding: 6.5rem 1.5rem 1.6rem; max-width: 680px; margin: 0 auto; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
.progress-label { font-size: 0.82rem; color: var(--grey); font-weight: 500; letter-spacing: 0.04em; }
.progress-pct   { font-size: 0.9rem; color: var(--gold-light); font-weight: 600; letter-spacing: 0.02em; }
.progress-bar   { height: 5px; background: var(--black-4); border-radius: 100px; overflow: hidden; margin-bottom: 0.85rem; }
.progress-bar__fill { height: 100%; background: var(--gold-grad); border-radius: 100px; transition: width 0.55s cubic-bezier(0.22,1,0.36,1); box-shadow: 0 0 12px rgba(201,162,75,0.5); }
.progress-steps { display: flex; gap: 0.4rem; justify-content: center; }
.progress-dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--black-4); transition: var(--ease); }
.progress-dot.active { background: var(--gold); box-shadow: 0 0 10px rgba(201,162,75,0.7); transform: scale(1.25); }
.progress-dot.done   { background: var(--gold-dark); }

.funnel-wrap { max-width: 680px; margin: 0 auto; padding: 0 1.5rem 6rem; }
.step { display: none; animation: fadeUp 0.5s ease both; }
.step.active { display: block; }
.step__header { text-align: center; margin-bottom: 2.3rem; }
.step__number { display: inline-block; font-family: var(--font); font-size: 0.73rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.8rem; }
.step__header h2 { margin-bottom: 0.7rem; }
.step__header p  { font-size: 0.98rem; }
.step__card { border-radius: var(--r-2xl); padding: 2.6rem; box-shadow: var(--shadow-card); }

/* ---- FORM ---- */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--white); margin-bottom: 0.6rem; }
.form-label .required { color: var(--gold-light); margin-left: 2px; }
.form-input, .form-textarea {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.9rem 1.05rem;
  color: var(--white);
  font-size: 1rem; /* 16px minimum: evite le zoom automatique iOS au focus */
  outline: none;
  transition: var(--ease);
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,0.12); background: rgba(0,0,0,0.5); }
.form-input.error, .form-textarea.error { border-color: var(--error); box-shadow: 0 0 0 4px rgba(232,86,74,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--grey-dark); }
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.65; }
.char-counter { text-align: right; font-size: 0.78rem; color: var(--grey); margin-top: 0.4rem; transition: var(--ease); }
.char-counter.ok   { color: var(--success); }
.char-counter.warn { color: var(--warning); }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 0.4rem; display: none; }
.form-error.visible { display: block; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- QCM ---- */
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.options-grid--col1 { grid-template-columns: 1fr; }
.option-card { position: relative; cursor: pointer; }
.option-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.option-label {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: rgba(0,0,0,0.3);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.92rem; font-weight: 500; color: var(--white-dim);
  transition: var(--ease); cursor: pointer; user-select: none;
}
.option-label:hover { border-color: rgba(201,162,75,0.4); background: rgba(201,162,75,0.05); color: var(--white); transform: translateY(-2px); }
.option-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--grey-dark); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.option-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: var(--ease); }
.option-card input:checked + .option-label { border-color: var(--gold); background: rgba(201,162,75,0.1); color: var(--white); box-shadow: 0 0 0 3px rgba(201,162,75,0.08); }
.option-card input:checked + .option-label .option-dot { border-color: var(--gold); }
.option-card input:checked + .option-label .option-dot::after { transform: scale(1); }
.option-card--danger input:checked + .option-label { border-color: var(--error); background: rgba(232,86,74,0.1); box-shadow: 0 0 0 3px rgba(232,86,74,0.08); }
.option-card--danger input:checked + .option-label .option-dot { border-color: var(--error); }
.option-card--danger input:checked + .option-label .option-dot::after { background: var(--error); }

/* ---- STEP NAV ---- */
.step-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 2.1rem; gap: 1rem; }
.step-nav--center { justify-content: center; }

/* ---- NON ELIGIBLE ---- */
.page-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 3rem; }
.message-card { max-width: 520px; text-align: center; border-radius: var(--r-2xl); padding: 3.4rem 2.4rem; box-shadow: var(--shadow-card); }
.message-card__icon { width: 68px; height: 68px; margin: 0 auto 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(201,162,75,0.16), rgba(201,162,75,0.03)); border: 1px solid rgba(201,162,75,0.3); }
.message-card__icon svg { width: 34px; height: 34px; color: var(--gold-light); }
.message-card h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 1rem; }
.message-card p  { margin-bottom: 1.2rem; font-size: 0.96rem; line-height: 1.75; }

/* ---- RESULTS PAGE ---- */
.results-wrap { max-width: 640px; margin: 0 auto; padding: 8rem 1.5rem 5rem; }
.loading-state { text-align: center; padding: 4rem 0; }
.loading-icon { width: 78px; height: 78px; margin: 0 auto 2rem; border-radius: 50%; border: 3px solid var(--black-4); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
.loading-state h2 { margin-bottom: 1rem; }
.loading-bar-wrap { max-width: 320px; margin: 1.7rem auto 0; background: var(--black-4); height: 4px; border-radius: 100px; overflow: hidden; }
.loading-bar-fill { height: 100%; background: var(--gold-grad); border-radius: 100px; width: 0%; animation: loadBar 4.5s ease forwards; }
.score-state { display: none; animation: fadeUp 0.6s ease both; }
.score-card { border-radius: var(--r-2xl); padding: 3rem 2.4rem; margin-bottom: 1.2rem; text-align: center; box-shadow: var(--shadow-gold); border-color: rgba(201,162,75,0.24); }
.score-gauge-wrap { position: relative; width: 168px; height: 168px; margin: 0 auto 1.6rem; }
.score-gauge { width: 168px; height: 168px; transform: rotate(-90deg); }
.score-gauge__bg   { fill: none; stroke: var(--black-4); stroke-width: 9; }
.score-gauge__fill { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s cubic-bezier(0.22,1,0.36,1); filter: drop-shadow(0 0 8px rgba(201,162,75,0.5)); }
.score-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-disp); font-size: 2.9rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.score-number .score-suffix { font-size: 0.95rem; color: var(--grey); font-family: var(--font); }
.score-label   { font-size: 0.95rem; color: var(--white-dim); margin-bottom: 0.55rem; }
.score-verdict { display: inline-block; padding: 0.34rem 1.05rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.score-verdict.low  { background: rgba(232,86,74,0.14);  color: var(--error); }
.score-verdict.mid  { background: rgba(232,169,60,0.14); color: var(--warning); }
.score-verdict.high { background: rgba(55,200,113,0.14); color: var(--success); }
.analysis-card { border-radius: var(--r-2xl); padding: 2.2rem 2.4rem; margin-bottom: 1.2rem; }
.analysis-card h3  { margin-bottom: 1rem; font-size: 1.08rem; }
.analysis-text     { font-size: 0.96rem; line-height: 1.85; color: var(--white-dim); white-space: pre-line; }
.confirm-card { background: linear-gradient(135deg, rgba(201,162,75,0.09), rgba(201,162,75,0.02)); border: 1px solid rgba(201,162,75,0.24); border-radius: var(--r-2xl); padding: 2.2rem 2.4rem; text-align: center; }
.confirm-card h3   { margin-bottom: 0.7rem; }
.confirm-card p    { margin-bottom: 0.5rem; font-size: 0.94rem; }
.confirm-phone     { color: var(--gold-light); font-weight: 700; font-size: 1.15rem; font-family: var(--font-disp); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes loadBar  { 0%{width:0} 20%{width:28%} 55%{width:60%} 80%{width:82%} 100%{width:96%} }
@keyframes pulse    { 0%{box-shadow:0 0 0 0 rgba(232,200,120,0.55)} 70%{box-shadow:0 0 0 8px rgba(232,200,120,0)} 100%{box-shadow:0 0 0 0 rgba(232,200,120,0)} }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollLine { 0%,100%{ transform: scaleY(0.4); opacity:0.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ---- RESPONSIVE ---- */
@media (max-width: 880px) {
  .authority { grid-template-columns: 1fr; }
  .authority__photo { min-height: 340px; }
  .authority__photo::after { background: linear-gradient(to top, rgba(10,10,12,0.92) 8%, transparent 55%); }
  .authority__body { padding: 2.2rem 1.8rem; }
}
@media (max-width: 640px) {
  section { padding: 4.5rem 0; }
  .nav { inset: calc(0.6rem + env(safe-area-inset-top, 0px)) calc(0.6rem + env(safe-area-inset-right, 0px)) auto calc(0.6rem + env(safe-area-inset-left, 0px)); padding: 0.7rem 1.1rem; }
  .hero { padding: 6.5rem 1.2rem 3.5rem; }
  .hero__badge { font-size: 0.66rem; letter-spacing: 0.09em; padding: 0.4rem 0.85rem; }
  .vsl__frame { padding: 7px; border-radius: var(--r-xl); }
  .vsl__player { border-radius: calc(var(--r-xl) - 7px); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .stats__grid  { grid-template-columns: 1fr; gap: 0.8rem; }
  .stat { padding: 1.9rem 1rem; }
  .step__card { padding: 1.8rem 1.3rem; }
  .score-card, .analysis-card, .confirm-card { padding: 1.9rem 1.4rem; }
  .urgency__box, .message-card, .guarantee { padding: 2.5rem 1.4rem; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav .btn--ghost, .step-nav .btn--outline, .step-nav .btn--primary { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .funnel-wrap { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
  .results-wrap { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
  footer { padding-bottom: calc(2.4rem + env(safe-area-inset-bottom, 0px)); }
  .page-center { padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 420px) { .nav__cta { display: none; } }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  body::before { animation: none; }
}
