/* =========================================================================
   Zenko — landing page (démonstration)
   Design : cream + pin profond + accent terracotta. Fraunces (titres) + Inter.
   ========================================================================= */

:root {
  /* Palette */
  --bg:        #F5F1E8;   /* crème chaud */
  --bg-2:      #EEE8DA;   /* crème légèrement plus profond */
  --ink:       #17271F;   /* pin profond (texte principal) */
  --ink-soft:  #3B4A42;   /* texte secondaire */
  --muted:     #6E766E;   /* texte discret */
  --line:      #DED6C6;   /* filets / bordures */
  --card:      #FFFDF8;   /* surface carte */
  --accent:    #E27A54;   /* terracotta (CTA) */
  --accent-dk: #C55E39;   /* terracotta foncé (hover) */
  --accent-sf: #F4D9CC;   /* terracotta très clair (fonds) */
  --green:     #4E7C63;   /* sauge (secondaire) */
  --green-sf:  #CFE0D4;   /* sauge clair */
  --dark:      #14211B;   /* sections sombres */
  --cream-on-dark: #F1EAD9;

  /* Typo */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rythme */
  --wrap: 1140px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(20, 33, 27, .35);
  --shadow-soft: 0 10px 30px -18px rgba(20, 33, 27, .30);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset léger ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* L'attribut [hidden] doit toujours l'emporter sur les display: des classes */
[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Utilitaires ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.wrap-narrow { max-width: 760px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.accent-text { color: var(--accent); }

/* Accessibilité : lien d'évitement + focus visibles */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease); text-decoration: none;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Bandeau démo ---------- */
.demo-banner {
  background: var(--ink);
  color: var(--cream-on-dark);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 7px 16px;
  position: relative;
  z-index: 60;
}
.demo-banner span { color: var(--accent); margin-right: .35em; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .95rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }
.header-cta { margin-left: 4px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  padding: 13px 24px; border-radius: 999px; line-height: 1;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(226, 122, 84, .8); }
.btn-accent:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(226, 122, 84, .9); }
.btn-accent:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-soft { background: var(--bg-2); }
.section-dark { background: var(--dark); color: var(--cream-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.section-lede { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-lede { color: color-mix(in srgb, var(--cream-on-dark) 80%, transparent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--green-sf); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(38% 55% at 78% 18%, rgba(226, 122, 84, .28), transparent 70%),
    radial-gradient(42% 50% at 12% 8%, rgba(78, 124, 99, .22), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px);
  align-items: center; padding-block: clamp(24px, 4vw, 40px) clamp(40px, 6vw, 70px);
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  margin: 6px 0 20px;
}
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero-proof { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; }
.hero-proof strong { color: var(--ink); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* Mockup smartphone */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19.2;
  background: #10201a; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 26px; background: #10201a; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  padding: 40px 20px 20px; display: flex; flex-direction: column;
  color: #fff; position: relative;
}
.ph-status { display: flex; justify-content: space-between; font-size: .62rem; opacity: .8; letter-spacing: .04em; }
.ph-kicker { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; opacity: .78; margin-top: 20px; }
.ph-title { font-size: 1.45rem; margin-top: 4px; color: #fff; }
.ph-sub { font-size: .82rem; opacity: .82; margin-top: 4px; }

/* Écran player (hero) */
.screen-player { background: linear-gradient(165deg, #2f5e49 0%, #17362a 60%, #10241b 100%); }
.breath-ring {
  margin: auto; width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  border: 1px solid rgba(255,255,255,.16);
}
.breath-ring::before, .breath-core {
  content: ""; position: absolute; border-radius: 50%;
}
.breath-ring::before {
  inset: 22px; border: 1px solid rgba(255,255,255,.22);
  animation: breathe 8s var(--ease) infinite;
}
.breath-core {
  width: 84px; height: 84px;
  background: radial-gradient(circle at 35% 30%, #f0a986, var(--accent) 70%);
  box-shadow: 0 0 40px -4px rgba(226,122,84,.7);
  animation: breathe 8s var(--ease) infinite;
}
.breath-label {
  position: relative; z-index: 2; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; opacity: .95;
}
@keyframes breathe {
  0%, 100% { transform: scale(.72); }
  50% { transform: scale(1.05); }
}

.ph-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin-top: 22px; overflow: hidden; }
.ph-progress span { display: block; height: 100%; width: 32%; background: var(--accent); border-radius: 4px; }
.screen-player .ph-progress span { width: 32%; }
.ph-times { display: flex; justify-content: space-between; font-size: .66rem; opacity: .75; margin-top: 6px; }
.ph-controls { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 16px; }
.ph-ico { font-size: 1rem; opacity: .8; }
.ph-play {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}

/* Étiquettes flottantes */
.floaty {
  position: absolute; background: var(--card); color: var(--ink);
  padding: 9px 15px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}
.floaty-1 { top: 12%; left: -6%; animation-delay: -1s; }
.floaty-2 { bottom: 14%; right: -4%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Bandeau presse */
.trust { position: relative; z-index: 1; text-align: center; padding-top: 6px; }
.trust-label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.press {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(20px, 5vw, 52px); align-items: center;
}
.press li {
  font-family: var(--display); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600;
  color: var(--ink); opacity: .45; letter-spacing: -.01em; transition: opacity .25s var(--ease);
}
.press li:hover { opacity: .8; }

/* ---------- Bénéfices ---------- */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-sf); color: var(--accent-dk); margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Étapes ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 44px);
  counter-reset: step; position: relative;
}
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.4rem; color: var(--dark);
  background: var(--green-sf); margin-bottom: 18px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: color-mix(in srgb, var(--cream-on-dark) 82%, transparent); }

/* ---------- Aperçu produit ---------- */
.showcase {
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.phone-sm { width: 244px; }
.phone-sm:nth-child(2) { margin-bottom: 26px; }
.phone-sm .ph-title { font-size: 1.3rem; }

.screen-home { background: linear-gradient(170deg, #3a6b53 0%, #1d4130 70%, #14281f 100%); }
.home-hero {
  margin-top: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px;
}
.home-hero-tag { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-sf); }
.home-hero strong { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.home-hero-min { font-size: .72rem; opacity: .8; }
.home-section-title { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin: 18px 0 10px; }
.home-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-card {
  border-radius: 14px; padding: 14px 12px; font-size: .82rem; font-weight: 600;
  min-height: 74px; display: flex; flex-direction: column; justify-content: flex-end;
}
.home-card small { font-weight: 400; opacity: .85; font-size: .72rem; }
.home-card.c1 { background: linear-gradient(150deg, #e27a54, #c55e39); }
.home-card.c2 { background: linear-gradient(150deg, #5a8f72, #3a6b53); }

.screen-sleep { background: linear-gradient(180deg, #24304d 0%, #182238 60%, #0f1626 100%); }
.stars-bg { position: relative; flex: 1; margin-top: 14px; min-height: 120px; }
.stars-bg span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .8; }
.stars-bg span:nth-child(1){ top: 12%; left: 18%; } .stars-bg span:nth-child(2){ top: 30%; left: 62%; }
.stars-bg span:nth-child(3){ top: 20%; left: 82%; } .stars-bg span:nth-child(4){ top: 52%; left: 30%; }
.stars-bg span:nth-child(5){ top: 66%; left: 72%; } .stars-bg span:nth-child(6){ top: 44%; left: 8%; }
.stars-bg .moon { position: absolute; top: 26%; left: 40%; width: auto; height: auto; font-size: 2.6rem; background: none; }

.screen-stats { background: linear-gradient(170deg, #2f5e49 0%, #17362a 65%, #10241b 100%); }
.stat-row { display: flex; gap: 10px; margin-top: 18px; }
.stat-pill {
  flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px;
}
.stat-pill strong { font-family: var(--display); font-size: 1.5rem; color: var(--accent-sf); }
.stat-pill small { font-size: .66rem; opacity: .82; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-grid span { aspect-ratio: 1; border-radius: 5px; background: rgba(255,255,255,.12); }
.cal-grid span.on { background: var(--accent); }

/* ---------- Témoignages ---------- */
.testimonials { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote blockquote { font-size: 1.02rem; color: var(--ink); margin: 14px 0 20px; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 600; font-size: .9rem;
}

/* ---------- Offre ---------- */
.offer {
  position: relative; overflow: hidden; text-align: center;
  background: var(--dark); color: var(--cream-on-dark);
  border-radius: 28px; padding: clamp(40px, 6vw, 68px) clamp(24px, 5vw, 60px);
  box-shadow: var(--shadow);
}
.offer-glow {
  position: absolute; inset: auto -20% -60% -20%; height: 320px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(226,122,84,.4), transparent 70%);
  pointer-events: none;
}
.offer h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.offer-lede { max-width: 46ch; margin: 0 auto 30px; color: color-mix(in srgb, var(--cream-on-dark) 85%, transparent); }
.offer-lede strong { color: var(--accent-sf); }

.countdown {
  display: inline-flex; align-items: flex-start; gap: 10px; margin-bottom: 26px;
  position: relative; z-index: 1;
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 14px 6px; min-width: 74px;
}
.cd-num { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.cd-sep { font-family: var(--display); font-size: 2rem; color: var(--accent); line-height: 1.3; }

.scarcity { max-width: 340px; margin: 0 auto 28px; position: relative; z-index: 1; }
.scarcity-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; margin-bottom: 10px; }
.scarcity-bar span { display: block; height: 100%; width: 83%; background: linear-gradient(90deg, var(--accent), #f0a986); border-radius: 999px; }
.scarcity p { font-size: .88rem; opacity: .85; }
.scarcity strong { color: var(--accent-sf); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.08rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--accent);
  transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-body p { max-width: 62ch; }

/* ---------- Inscription ---------- */
.signup { text-align: center; }
.signup h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.signup-lede { color: color-mix(in srgb, var(--cream-on-dark) 82%, transparent); max-width: 48ch; margin: 0 auto 30px; }
.waitlist { max-width: 520px; margin: 0 auto; }
.field { display: flex; gap: 10px; }
.field input {
  flex: 1; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid transparent; border-radius: 999px;
  padding: 15px 22px; min-width: 0;
}
.field input::placeholder { color: var(--muted); }
.field input[aria-invalid="true"] { border-color: #e05a4a; background: #fff5f3; }
.form-error { color: #ffb3a6; font-size: .9rem; margin-top: 12px; }
.form-note { color: color-mix(in srgb, var(--cream-on-dark) 62%, transparent); font-size: .82rem; margin-top: 14px; }

.form-success {
  max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  text-align: left; background: rgba(255,255,255,.06); border: 1px solid var(--green-sf);
  border-radius: var(--radius); padding: 22px 26px;
  animation: pop .45s var(--ease);
}
.form-success p { color: var(--cream-on-dark); }
.form-success strong { color: #fff; }
.success-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 1.4rem;
}
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: color-mix(in srgb, var(--cream-on-dark) 80%, transparent); padding: clamp(48px, 6vw, 72px) 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { color: var(--accent); }
.footer-tag { font-family: var(--display); font-style: italic; margin-top: 10px; color: color-mix(in srgb, var(--cream-on-dark) 75%, transparent); }
.footer-meta { text-align: right; font-size: .9rem; line-height: 1.9; }
.footer-meta a { color: var(--accent-sf); }
.footer-legal { opacity: .6; font-size: .82rem; margin-top: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 22px; font-size: .86rem; }
.back-portfolio { color: var(--accent-sf); text-decoration: none; font-weight: 500; transition: color .2s var(--ease); }
.back-portfolio:hover { color: #fff; }

/* ---------- Page 404 ---------- */
.err-page { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: clamp(48px, 8vw, 100px) 0; }
.err-code { font-size: clamp(2.4rem, 7vw, 4.4rem); margin: 10px 0 16px; }
.err-lede { color: var(--muted); font-size: 1.15rem; max-width: 42ch; margin: 0 auto 32px; }
.err-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Barre CTA collante (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: none;
  transform: translateY(120%); transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* ---------- Révélations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Décalage en cascade pour les grilles */
.benefits .reveal:nth-child(2) { transition-delay: .08s; }
.benefits .reveal:nth-child(3) { transition-delay: .16s; }
.benefits .reveal:nth-child(4) { transition-delay: .24s; }
.steps .reveal:nth-child(2), .testimonials .reveal:nth-child(2), .showcase .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3), .testimonials .reveal:nth-child(3), .showcase .reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .eyebrow, .hero-actions, .hero-proof { justify-content: center; }
  .lede { max-width: 52ch; margin-inline: auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }           /* nav réduite : le CTA reste accessible */
  .header-cta { margin-left: auto; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }         /* place pour la barre CTA */
  .benefits { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
  .showcase { gap: 30px; }
  .phone-sm:nth-child(2) { margin-bottom: 0; }
  .cd-unit { min-width: 62px; padding: 12px 4px; }
  .countdown { gap: 6px; }
  .field { flex-direction: column; }
  .field input, .field .btn { width: 100%; }
}

@media (max-width: 420px) {
  .cd-sep { display: none; }
  .countdown { gap: 8px; }
  .cd-unit { min-width: 56px; }
}

/* ---------- Préférence : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
