/* ══════════════════════════════════════════════════════
   VerboApp — feuille de style principale
   Règle d'or : AUCUN code couleur hors du bloc :root (CLAUDE.md §3.1).
   Un reteintage complet du site = un diff limité à ce bloc.
   ══════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* ── Primaire : orange ── */
  --p-900: #7c2d12;   /* le plus sombre — début des dégradés, encre */
  --p-800: #c2410c;
  --p-700: #f2610c;   /* ★ PRIMAIRE — teinte signature VerboApp */
  --p-500: #fb8b1e;
  --p-400: #fdb63f;
  --p-300: #fed08a;
  --p-100: #fff5eb;

  /* ── Secondaire : vert ── */
  --s-800: #3f8a1d;
  --s-700: #5cb424;
  --s-500: #79d334;
  --s-400: #9ae65a;
  --s-900: #2f6b16;   /* vert texte — contraste 6.3 sur blanc, seul vert lisible en petit */
  --s-100: #d9f8bd;
  --s-050: #f2fde8;   /* halo vert très clair du fond */

  /* ── Liaison orange→vert (milieu des dégradés) ── */
  --mid-500: #d9a516;

  /* ── Encre ── */
  --ink:      #4a2210;
  --ink-body: #673a1f;   /* texte courant — assombri le 15.09 : contraste 8.3 sur le fond (5.4 avant) */
  --ink-mute: #7a5236;   /* légendes — assombri le 15.09 : contraste 5.9 (4.0 avant) */

  /* ── Fonds sombres ── */
  --dark-deep: #2a1206;
  --dark-1:    #4a2210;
  --dark-2:    #7c3a10;
  --dark-3:    #a15214;
  --dark-4:    #3d7a1a;   /* vert profond — le dégradé du footer refait celui du logo */

  /* ── Fonds clairs ── */
  --bg-lit:    #f7f4f1;
  --white-tint:#fffaf5;

  /* ── Coque d appareil — aperçus de l application ── */
  --dev-1:    #8e8e96;   /* arête claire du châssis */
  --dev-2:    #3a3a42;
  --dev-3:    #1e1e24;   /* creux du châssis */
  --dev-4:    #6f6f78;   /* arête claire opposée */
  --dev-edge: #0a0a0d;   /* liseré de la dalle et îlot dynamique */

  /* ── États ── */
  --ok:      #10b981;
  --warn:    #f59e0b;
  --danger:  #ef4444;
  --danger-ink: #b91c1c;   /* rouge texte — libellé « Méthode actuelle », contraste 5.3 */

  --white: #ffffff;
  --swiss-red: #d52b1e;

  /* ── Gris chauds — variante grise du bouton liquidglass (.btn.is-grey) ── */
  --g-900: #5e5853;
  --g-800: #7a746d;   /* blanc dessus : contraste 4.6 */
  --g-700: #98928b;   /* blanc dessus : contraste 3.1 — le libellé repose sur la zone 800-700 */
  --g-400: #bfb9b3;
  --g-300: #ddd9d5;

  /* ── Composantes RGB — pour tous les rgba() ── */
  --p-rgb:     242, 97, 12;    /* --p-700 */
  --s-rgb:     92, 180, 36;    /* --s-700 */
  --danger-rgb: 239, 68, 68;   /* --danger */
  --g-rgb:     152, 146, 139;  /* --g-700 */
  --ink-rgb:   74, 34, 16;     /* --ink   */
  --white-rgb: 255, 255, 255;
  --p100-rgb:  255, 245, 235;  /* --p-100 */
  --s100-rgb:  217, 248, 189;  /* --s-100 */

  /* ── Échelle d espacement / rayons / plans ── */
  --sp-1: 0.5rem;  --sp-2: 0.8rem;  --sp-3: 1.2rem;
  --sp-4: 1.8rem;  --sp-5: 2.5rem;  --sp-6: 3.5rem;  --sp-7: 5rem;
  --r-sm: 12px; --r-md: 18px; --r-lg: 22px; --r-xl: 28px;
  --z-bg: 0; --z-content: 1; --z-nav: 100; --z-menu: 99; --z-consent: 9990; --z-progress: 9999;
}

/* ─── POLICES (auto-hébergées, WOFF2) ─── */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: normal;
  src: url('../assets/fonts/cormorant-garamond-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: italic;
  src: url('../assets/fonts/cormorant-garamond-400i.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal;
  src: url('../assets/fonts/cormorant-garamond-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-style: normal;
  src: url('../assets/fonts/cormorant-garamond-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal;
  src: url('../assets/fonts/dm-sans-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal;
  src: url('../assets/fonts/dm-sans-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-style: normal;
  src: url('../assets/fonts/dm-sans-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal;
  src: url('../assets/fonts/dm-sans-700.woff2') format('woff2'); font-display: swap; }

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* html/body SOMBRES par défaut : le rebond d'overscroll sous le footer ne révèle
   jamais de bande blanche. Le .bg-wrap opaque recouvre tout en vue normale.
   Le JS ajoute html.is-lit quand on est loin du bas → fond clair en haut de page. */
html { background-color: var(--dark-deep); scroll-behavior: smooth; }
body {
  background-color: var(--dark-deep);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-lit, html.is-lit body { background-color: var(--bg-lit); }

img { max-width: 100%; display: block; }
a { color: var(--p-800); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem;
             position: relative; z-index: var(--z-content); }

/* ─── FOND — orbes + grille (identité visuelle, CLAUDE.md §5) ─── */
.bg-wrap {
  position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none;
  contain: layout style paint;
  background:
    radial-gradient(ellipse 70% 50% at  5%   0%, var(--p-100) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 95%   5%, var(--s-050) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, var(--s-050) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 25%  55%, var(--white-tint) 0%, transparent 55%),
    linear-gradient(160deg, var(--white) 0%, var(--white-tint) 35%, var(--white-tint) 65%, var(--white) 100%);
}
/* Voile unificateur — jamais filter:brightness() sur un calque fixed (bug d'overscroll) */
.bg-wrap::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.05); }

/* Halos réduits (taille et opacité) et rééquilibrés vert/cyan : 2 verts, 3 cyan-sarcelle.
   Opacité volontairement très basse : les orbes teintent le fond, elles ne se voient pas. */
.bg-orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.13; }
.orb1 { width: 560px; height: 560px; top: -160px; left: -140px; background: var(--p-300); }
.orb2 { width: 480px; height: 480px; top:  28%;  right: -130px; background: var(--s-400); }
.orb3 { width: 440px; height: 440px; bottom: 0;   left:   10%;  background: var(--s-500); }
.orb4 { width: 350px; height: 350px; top:  55%;  right:  15%;  background: var(--s-100); }
.orb5 { width: 300px; height: 300px; top:  12%;   left:  42%;  background: var(--s-500); opacity: 0.09; }

/* Grille bicolore discrète : horizontales vertes, verticales cyan */
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(var(--p-rgb), 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(var(--s-rgb), 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── BARRE DE PROGRESSION ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; z-index: var(--z-progress);
  background: linear-gradient(90deg, var(--p-700), var(--mid-500), var(--s-700));
  width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.1s linear;
}

/* Les deux dégradés canoniques du §3.4 vivent chacun dans UN composant :
   « bouton primaire » dans .btn, « accent » dans .hero-mock-fill (et en 90deg
   dans #scroll-progress). Pas de classe utilitaire déclarée sans usage (piège #7). */

/* ─── BOUTON « LIQUIDGLASS » (§6.1) ─── */
.btn {
  display: inline-block;
  background: linear-gradient(155deg, var(--p-900) 0%, var(--p-800) 30%, var(--p-700) 60%,
                                      var(--p-400) 82%, var(--p-300) 100%);
  color: var(--white);
  border: 1px solid rgba(var(--white-rgb), 0.3);
  border-radius: var(--r-sm);
  padding: 0.6rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden;
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow:
    0 6px 24px rgba(var(--p-rgb), 0.18),
    0 2px  6px rgba(0,0,0,0.05),
    inset  0  1px 0 rgba(var(--white-rgb), 0.4),
    inset -1px 0 0 rgba(var(--white-rgb), 0.18),
    inset  0 -1px 0 rgba(0,0,0,0.05);
  text-shadow: 0 1px 2px rgba(0,0,0,0.12);
  transition: opacity .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg,
    rgba(var(--white-rgb), 0.38)  0%,
    rgba(var(--white-rgb), 0.15) 40%,
    rgba(var(--white-rgb), 0.05) 60%,
    rgba(var(--white-rgb), 0.18) 100%);
}
/* Le libellé DOIT passer au-dessus du reflet ::before */
.btn > span { position: relative; z-index: 1; }
.btn:hover { box-shadow: 0 8px 30px rgba(var(--p-rgb), 0.28), 0 2px 6px rgba(0,0,0,0.05),
             inset 0 1px 0 rgba(var(--white-rgb), 0.4); }
.btn-lg { border-radius: 16px; padding: 0.9rem 2.2rem; font-size: 1rem; }

/* Variante grise : même recette (verre, reflet, relief, libellé blanc), seule la teinte change */
.btn.is-grey {
  background: linear-gradient(155deg, var(--g-900) 0%, var(--g-800) 30%, var(--g-700) 60%,
                                      var(--g-400) 82%, var(--g-300) 100%);
  box-shadow:
    0 6px 24px rgba(var(--g-rgb), 0.22),
    0 2px  6px rgba(0,0,0,0.05),
    inset  0  1px 0 rgba(var(--white-rgb), 0.4),
    inset -1px 0 0 rgba(var(--white-rgb), 0.18),
    inset  0 -1px 0 rgba(0,0,0,0.05);
}
.btn.is-grey:hover { box-shadow: 0 8px 30px rgba(var(--g-rgb), 0.32), 0 2px 6px rgba(0,0,0,0.05),
                     inset 0 1px 0 rgba(var(--white-rgb), 0.4); }

/* Bouton secondaire « fantôme » sur fond clair */
.btn-ghost {
  display: inline-block;
  background: rgba(var(--white-rgb), 0.55);
  color: var(--p-800);
  border: 1px solid rgba(var(--p-rgb), 0.35);
  border-radius: var(--r-sm);
  padding: 0.6rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.7), 0 4px 14px rgba(var(--p-rgb), 0.08);
  transition: opacity .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-ghost:hover { border-color: rgba(var(--s-rgb), 0.6); background: rgba(var(--white-rgb), 0.75); }
.btn-ghost.btn-lg { border-radius: 16px; padding: 0.9rem 2.2rem; font-size: 1rem; }

/* ─── CARTE DE VERRE (§6.2) ─── */
.card {
  background: linear-gradient(140deg, rgba(var(--white-rgb), 0.6), rgba(var(--p-rgb), 0.06));
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 0.5px solid rgba(var(--white-rgb), 0.7);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 2px 0 rgba(var(--white-rgb), 0.78) inset,
              0 10px 30px rgba(var(--p-rgb), 0.08);
}

/* Bandeau saturé pour les blocs d'appel (§6.2) */
.panel {
  background: linear-gradient(140deg, rgba(var(--p-rgb), 0.14) 0%,
                                      rgba(var(--p-rgb), 0.22) 55%,
                                      rgba(var(--s-rgb), 0.26) 100%);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1.5px solid rgba(var(--p-rgb), 0.5);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(var(--white-rgb), 0.9) inset,
              0 16px 44px rgba(var(--p-rgb), 0.22);
}

/* ─── NAV + PASTILLE (§6.3) ─── */
nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  padding: 1.1rem 0;
  background: rgba(var(--white-rgb), 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 0.5px solid rgba(var(--p-rgb), 0.14);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between;
             gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600;
             color: var(--ink); letter-spacing: 0.06em; }
/* Graisse 400 : la seule italique livrée (pas de 600i → pas d'italique synthétique, §4.1) */
.logo-text em { color: var(--p-700); font-style: italic; font-weight: 400; }

/* 1.75rem et non 2rem : six onglets, il faut de l'air à côté du logo juste au-dessus de 1024 px */
.nav-links { display: flex; align-items: center; gap: 1.75rem; position: relative; }
.nav-links > a { position: relative; z-index: 1; color: var(--p-800); text-decoration: none;
                 font-size: 0.9rem; font-weight: 400; transition: color .2s; }
.nav-links a.nav-on { color: var(--p-700); font-weight: 600; }

.nav-pill {
  position: absolute; top: 50%; left: 0; width: 0; height: 2rem;
  transform: translateY(-50%); border-radius: 11px;
  background: linear-gradient(135deg, rgba(var(--white-rgb), 0.72), rgba(var(--s-rgb), 0.12));
  border: 1px solid rgba(var(--white-rgb), 0.7);
  box-shadow: 0 2px 10px rgba(var(--s-rgb), 0.12),
              inset 0 1px 0 rgba(var(--white-rgb), 0.78);
  backdrop-filter: blur(12px) saturate(1.5); -webkit-backdrop-filter: blur(12px) saturate(1.5);
  opacity: 0; z-index: 0; pointer-events: none;
}
.nav-pill.is-animated {
  transition: left .42s cubic-bezier(.4,0,.2,1),
              width .42s cubic-bezier(.4,0,.2,1),
              opacity .3s ease;
}
.nav-buttons { display: flex; align-items: center; gap: 0.8rem; }

/* ─── HAMBURGER + MENU MOBILE ─── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s cubic-bezier(0.22,1,0.36,1), opacity .2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: linear-gradient(165deg, rgba(var(--p100-rgb), 0.97) 0%,
                                      rgba(var(--p100-rgb), 0.95) 50%,
                                      rgba(var(--s100-rgb), 0.94) 100%);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s cubic-bezier(0.22,1,0.36,1);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  display: block; width: 100%; max-width: 320px;
  text-align: center; padding: 1.1rem 0;
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400;
  color: var(--ink); text-decoration: none; letter-spacing: 0.04em;
  border-bottom: 0.5px solid rgba(var(--p-rgb), 0.10);
  transition: color .15s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.nav-active { color: var(--p-700); }
.mobile-menu .mobile-menu-cta { margin-top: 2rem; max-width: none; width: auto;
  border-bottom: none; font-family: 'DM Sans', sans-serif; font-size: 1rem; }

/* ─── SECTIONS — grammaire commune ─── */
section { position: relative; z-index: var(--z-content); }
.section { padding: var(--sp-7) 0 var(--sp-6); }
.section-label {
  display: block; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 500;
  color: var(--p-700); text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: var(--sp-2);
}
.section-label.is-alt { color: var(--s-900); }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.15;
  color: var(--ink); letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}
/* Mots accentués en dégradé vert→sarcelle→cyan — transposition du
   .gradient-text bleu→indigo→violet de FinitoApp (même geste, §3.3) */
.section-title em, .hero h1 em, .cta-panel h2 em {
  font-style: italic;
  color: var(--p-800);                       /* repli si background-clip:text absent */
  background: linear-gradient(135deg, var(--p-700) 0%, var(--mid-500) 38%, var(--s-700) 80%, var(--s-800) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.12em;                     /* air pour le jambage italique */
}
.section-sub { font-size: 1rem; font-weight: 400; color: var(--ink-body);
               line-height: 1.6; max-width: 500px; margin-bottom: var(--sp-4); }

/* Révélation ligne par ligne des titres (le JS enveloppe chaque ligne) */
.title-line-wrap { overflow: hidden; display: block; }
.title-line { display: block; transform: translateY(110%);
              transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.title-line.revealed { transform: translateY(0); }

/* ─── HERO ─── */
.hero { padding: var(--sp-6) 0 var(--sp-5); text-align: center; overflow: hidden; }

/* ─── MOCKUP iPHONE DU HERO — derrière le slogan, à droite (repris de finitoapp.ch) ───
   Le .container est déjà « position: relative » : le mockup s'y ancre en absolu, SOUS le texte
   (z-index 0) ; tout le reste du hero passe devant (z-index 2). Entrée par la droite, puis
   flottement perpétuel — deux animations sur transform uniquement (§8.4). */
.hero .container > :not(.hero-mockup) { position: relative; z-index: 2; }
.hero-mockup {
  position: absolute; right: calc(-6% - 40px); top: -4%;
  width: 560px; z-index: 0; pointer-events: none;
  animation: heroMockupIn 1.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s both,
             heroFloat 3.5s ease-in-out 2.2s infinite alternate;
}
.hero-mockup-img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 60px rgba(var(--ink-rgb), 0.20)) drop-shadow(0 10px 20px rgba(var(--p-rgb), 0.10));
}
/* Halo diffus derrière le téléphone */
.hero-mockup::before {
  content: ""; position: absolute; top: 5%; left: -10%; right: -10%; bottom: 0;
  background: radial-gradient(ellipse, rgba(var(--s-rgb), 0.08) 0%, transparent 65%);
  border-radius: 50%; z-index: -1; filter: blur(40px);
}
.hero-slogan {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink);
  margin: var(--sp-4) 0 var(--sp-1);
  display: flex; flex-direction: column; align-items: center; gap: 0.15em;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease 0.05s both;
}
.slogan-line {
  display: block; font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1;
  font-weight: 400; font-style: italic; color: var(--p-800);
  /* Ombre portée « projetée » sur le téléphone (finitoapp.ch) */
  text-shadow: 0 4px 16px rgba(var(--ink-rgb), 0.06), 0 8px 40px rgba(var(--ink-rgb), 0.04);
}
.slogan-line .punct { color: var(--s-700); font-style: normal; }
.slogan-verbo {
  font-weight: 700; font-style: normal; font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.06em; display: inline-block;
  background: linear-gradient(105deg,
    var(--p-800) 0%, var(--p-700) 22%, var(--mid-500) 40%,
    var(--s-100) 48%, var(--white) 50%, var(--s-100) 52%,
    var(--mid-500) 60%, var(--s-700) 78%, var(--p-800) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: verboShimmer 3s linear infinite;
  filter: drop-shadow(4px 8px 20px rgba(var(--p-rgb), 0.22)) drop-shadow(8px 16px 40px rgba(var(--ink-rgb), 0.10));
}
.hero-slogan-line {
  display: block; width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--p-700), var(--s-700), transparent);
  margin: 0.6rem auto 0;
  animation: fadeInUp 0.7s ease 0.5s both;
}
/* Inversion volontaire : le H1 du hero est en DM Sans (sobre) — §4.2 */
.hero h1 {
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35;
  letter-spacing: -0.01em; color: var(--ink);
  margin-top: 2rem; margin-bottom: 0.2rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
             margin-top: var(--sp-5);
             animation: fadeInUp 0.6s ease 0.45s both; }
/* Les deux boutons du hero ont la même largeur, calée sur le plus long libellé (finitoapp.ch : 260px) */
.hero-ctas .btn { min-width: 270px; text-align: center; }
/* ─── Sous-titre du hero : public visé, chiffres clés, gage de confiance ─── */
.hero-audience {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink);
  margin-top: var(--sp-5);
  animation: fadeInUp 0.6s ease 0.55s both;
}
.hero-stats {
  display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap;
  margin-top: var(--sp-3);
  animation: fadeInUp 0.6s ease 0.65s both;
}
.hero-stat { padding: 0 clamp(0.9rem, 2.6vw, 2rem); text-align: center;
             border-left: 1px solid rgba(var(--p-rgb), 0.18); }
.hero-stat:first-child { border-left: none; }
.hero-stat-num { display: block; font-family: 'DM Sans', sans-serif; font-weight: 700;
                 font-size: 1.55rem; line-height: 1.15; color: var(--ink); }
.hero-stat-num svg { display: block; margin: 0.1rem auto 0; width: 30px; height: 30px; }
.hero-stat-num .flag-bg { fill: var(--swiss-red); }
.hero-stat-num .flag-cross { fill: var(--white); }
.hero-stat-num .devices { stroke: var(--ink); fill: none; stroke-width: 1.8; }
.hero-stat-label { display: block; max-width: 11rem; margin: 0.4rem auto 0;
                   font-size: 0.68rem; font-weight: 500; line-height: 1.35;
                   text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: var(--sp-4);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-body);
  animation: fadeInUp 0.6s ease 0.75s both;
}
.hero-badge svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--s-700);
                  fill: none; stroke-width: 1.8; }

.hero-note { font-size: 0.82rem; color: var(--ink-mute); max-width: 540px;
             margin: var(--sp-3) auto 0; animation: fadeInUp 0.6s ease 0.85s both; }

/* Maquette CSS : le PV type dans Verbo (aucune image à charger) */
.hero-mock {
  max-width: 560px; margin: var(--sp-5) auto 0; text-align: left;
  animation: fadeInUp 0.7s ease 0.6s both;
}
.hero-mock-head { display: flex; align-items: center; justify-content: space-between;
                  margin-bottom: var(--sp-3); }
.hero-mock-title { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
                   color: var(--ink); }
.hero-mock-total {
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.85rem;
  background: var(--p-100); color: var(--p-900);
  border: 0.5px solid rgba(var(--p-rgb), 0.25);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.hero-mock-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem 0; }
.hero-mock-row + .hero-mock-row { border-top: 0.5px solid rgba(var(--p-rgb), 0.12); }
.hero-mock-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hero-mock-dot.d1 { background: var(--p-700); }
.hero-mock-dot.d2 { background: var(--s-700); }
.hero-mock-dot.d3 { background: var(--s-500); }
.hero-mock-name { flex: 1; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.hero-mock-phase { font-size: 0.72rem; color: var(--ink-mute); }
/* Pastilles et onde vocale du mock de PV du hero */
.hero-mock-tag { font-size: 0.7rem; font-weight: 600; padding: 0.18rem 0.6rem; border-radius: 999px;
                 background: rgba(var(--p-rgb), 0.10); color: var(--p-800);
                 border: 0.5px solid rgba(var(--p-rgb), 0.22); white-space: nowrap; }
.hero-mock-tag.is-ok { background: rgba(var(--s-rgb), 0.13); color: var(--s-800);
                       border-color: rgba(var(--s-rgb), 0.30); }
.hero-mock-wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.hero-mock-wave i { display: block; width: 3px; border-radius: 2px;
                    background: var(--p-700); }
.hero-mock-wave i:nth-child(1) { height: 6px; }
.hero-mock-wave i:nth-child(2) { height: 13px; }
.hero-mock-wave i:nth-child(3) { height: 18px; }
.hero-mock-wave i:nth-child(4) { height: 10px; }
.hero-mock-wave i:nth-child(5) { height: 15px; }
.hero-mock-wave i:nth-child(6) { height: 7px; }

.hero-mock-bar { flex-basis: 32%; height: 8px; border-radius: 999px;
                 background: rgba(var(--p-rgb), 0.12); overflow: hidden; position: relative; }
.hero-mock-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit;
                  background: linear-gradient(135deg, var(--p-700) 0%, var(--mid-500) 50%, var(--s-700) 100%); }
.hero-mock-fill.w1 { width: 62%; }
.hero-mock-fill.w2 { width: 38%; }
.hero-mock-fill.w3 { width: 21%; }
.hero-mock-hours { width: 3.4rem; text-align: right; font-size: 0.85rem; font-weight: 700;
                   color: var(--p-800); font-variant-numeric: tabular-nums; }

/* ─── SECTION « CONSTAT » (pain) ─── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
             margin-top: var(--sp-4); }
.pain-item h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.35rem;
                color: var(--ink); margin-bottom: 0.5rem; }
.pain-item p { font-size: 0.88rem; color: var(--ink-body); line-height: 1.65; }
.pain-item .feat-icon { margin-bottom: 0.8rem; }

/* ─── COMPARAISON — Actuellement VS VerboApp (modèle finitoapp.ch) ───
   Deux voiles : rouge pour la méthode actuelle, vert pour VerboApp. Contrastes mesurés
   sur le fond réel : libellés ≥ 5.3, textes ≥ 5.1, ligne Coût 7.6. */
.cmp-head { text-align: center; }
.cmp-head .section-sub { margin-left: auto; margin-right: auto; }
.cmp-vs { font-weight: 700; letter-spacing: 0.08em; color: var(--p-800); }
/* Grille partagée : chaque colonne est une sous-grille de 11 rangées (libellé + 10 lignes).
   Une ligne qui passe sur deux lignes d'un côté agrandit la rangée des deux côtés :
   la comparaison reste alignée à toutes les largeurs. */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3);
            max-width: 860px; margin: 0 auto; }
.cmp-col { border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.5rem;
           display: grid; grid-row: span 11; grid-template-rows: subgrid; row-gap: 0; }
.cmp-col.is-before { background: rgba(var(--danger-rgb), 0.05);
                     border: 1px solid rgba(var(--danger-rgb), 0.16); }
.cmp-col.is-after  { background: rgba(var(--s-rgb), 0.08);
                     border: 1px solid rgba(var(--s-rgb), 0.24); }
.cmp-label { text-align: center; font-family: 'DM Sans', sans-serif; font-size: 0.72rem;
             font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
             margin-bottom: var(--sp-3); }
.is-before .cmp-label { color: var(--danger-ink); }
.is-after  .cmp-label { color: var(--s-900); }
.cmp-list { list-style: none; display: grid; grid-row: span 10;
             grid-template-rows: subgrid; row-gap: 0; }
.cmp-list li { display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.3rem 0;
               font-size: 0.86rem; line-height: 1.5; color: var(--ink-body); }
.cmp-list strong { color: var(--ink); font-weight: 700; }
.cmp-ico { flex-shrink: 0; width: 1rem; text-align: center; font-weight: 700; }
.is-before .cmp-ico { color: var(--danger); }
.is-after li, .is-after .cmp-ico { color: var(--s-900); }
.cmp-list li.is-price { color: var(--p-900); font-weight: 700; }
.cmp-list li.is-price .cmp-ico { color: var(--p-700); }
.cmp-note { text-align: center; max-width: 620px; margin: var(--sp-4) auto 0;
            font-size: 0.88rem; color: var(--ink-body); line-height: 1.6; }
.cmp-note strong { color: var(--ink); }

/* ─── APERÇU — captures réelles, présentées dans une coque d'iPhone ─── */
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4);
              margin-top: var(--sp-5); align-items: start; max-width: 980px; }
.shots-grid figure { display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-4);
                     align-items: center; }

/* Coque d'iPhone. Les cotes sont posées en pixels parce qu'il n'existe que deux
   largeurs d'affichage : 200 px dans la grille, 260 px sous 768 px. */
.phone { position: relative; padding: 6px; border-radius: 30px;
         background: linear-gradient(145deg, var(--dev-1) 0%, var(--dev-2) 18%,
                     var(--dev-3) 48%, var(--dev-2) 72%, var(--dev-4) 100%);
         box-shadow: 0 22px 48px rgba(var(--ink-rgb), 0.26),
                     0 4px 12px rgba(var(--ink-rgb), 0.14),
                     0 1px 0 rgba(var(--white-rgb), 0.30) inset; }
/* Tranches des boutons : volume à gauche, veille à droite */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px;
                                background: linear-gradient(180deg, var(--dev-2), var(--dev-3)); }
.phone::before { left: -2px; top: 24%; height: 11%; }
.phone::after  { right: -2px; top: 29%; height: 14%; }
.phone-screen { position: relative; overflow: hidden; border-radius: 24px;
                background: var(--white); box-shadow: 0 0 0 1.5px var(--dev-edge); }
.phone-screen img { display: block; width: 100%; height: auto; }
/* Îlot dynamique : 31 % de la dalle et rapport 3,4/1, comme sur l'appareil.
   La largeur commande la hauteur, la coque garde donc ses proportions. */
.phone-island { position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
                width: 31%; aspect-ratio: 3.4; height: auto;
                border-radius: 999px; background: var(--dev-edge); }

.shot-caption { font-size: 0.85rem; color: var(--ink-body); line-height: 1.6; }
.shot-caption strong { display: block; font-family: 'Cormorant Garamond', serif;
                       font-weight: 600; font-size: 1.25rem; color: var(--ink);
                       margin-bottom: 0.35rem; }

/* ─── FONCTIONNALITÉS ─── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
             margin-top: var(--sp-4); }
.feat-item h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.3rem;
                color: var(--ink); margin: 0.8rem 0 0.4rem; }
.feat-item p { font-size: 0.86rem; color: var(--ink-body); line-height: 1.6; }
/* Tuile d'icône monochrome, commune à tout le site (fonctionnalités, constat, étapes,
   page d'attente, guides) : un aplat, aucun dégradé. */
.feat-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--p-800);
  box-shadow: 0 6px 18px rgba(var(--p-rgb), 0.22);
}
.feat-icon svg { width: 22px; height: 22px; stroke: var(--white); }
.feat-badge {
  display: inline-block; margin-left: 0.5rem; vertical-align: middle;
  font-family: 'DM Sans', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--p-100); color: var(--p-900);
  border: 0.5px solid rgba(var(--p-rgb), 0.3);
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.feat-badge.is-max { background: rgba(var(--s-rgb), 0.12); color: var(--s-800);
                     border-color: rgba(var(--s-rgb), 0.32); }

/* ─── COMMENT ÇA MARCHE — 3 étapes ─── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
              margin-top: var(--sp-4); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.3rem;
  color: var(--white);
  background: var(--p-800);
  box-shadow: 0 6px 18px rgba(var(--p-rgb), 0.22);
}
.step-item h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.3rem;
                color: var(--ink); margin: 0.8rem 0 0.4rem; }
.step-item p { font-size: 0.86rem; color: var(--ink-body); line-height: 1.6; }

/* ─── DUO FINITOAPP × RITMOAPP ─── */
.duo-panel { padding: var(--sp-6) var(--sp-4); text-align: center; }
.duo-logos { display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
             margin-bottom: var(--sp-4); }
.duo-logos img { width: 64px; height: 64px; border-radius: 16px;
                 box-shadow: 0 10px 28px rgba(var(--ink-rgb), 0.18); }
.duo-x { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.6rem;
         color: var(--s-800); }
.duo-panel h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600;
                font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.2;
                color: var(--ink); margin-bottom: var(--sp-2); }
.duo-panel h2 em { font-style: italic; color: var(--p-800); }
.duo-panel p { font-size: 0.95rem; color: var(--ink-body); max-width: 560px;
               margin: 0 auto var(--sp-4); line-height: 1.7; }
.duo-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
.duo-note { font-size: 0.8rem; color: var(--ink-mute); margin-top: var(--sp-3); }

/* ─── TARIFS — présentation reprise de finitoapp.ch, retokenisée ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
                margin-top: var(--sp-4); align-items: stretch; }
.pricing-card { border-radius: var(--r-xl); padding: 1.6rem 1.5rem 1.5rem;
                display: flex; flex-direction: column; position: relative; }
/* PRO : la carte mise en avant, teintée primaire (aucun scale — cf. FinitoApp) */
.pricing-card.is-featured { border: 1.5px solid rgba(var(--p-rgb), 0.5);
  box-shadow: 0 1px 0 rgba(var(--white-rgb), 0.9) inset, 0 16px 44px rgba(var(--p-rgb), 0.22);
  /* Fond du .panel éclairci de 20 % (chaque teinte × 0.8), sur cette carte seulement */
  background: linear-gradient(140deg, rgba(var(--p-rgb), 0.112) 0%,
                                      rgba(var(--p-rgb), 0.176) 55%,
                                      rgba(var(--s-rgb), 0.208) 100%); }
/* MAX : le même verre que LITE, mais teinté vert — sinon les deux cartes
   encadrant PRO sont indiscernables. Reste plus sobre que le panel PRO. */
.pricing-card.is-max {
  background: linear-gradient(140deg, rgba(var(--white-rgb), 0.6), rgba(var(--s-rgb), 0.16));
  border: 0.5px solid rgba(var(--s-rgb), 0.35);
  box-shadow: 0 2px 0 rgba(var(--white-rgb), 0.78) inset,
              0 10px 30px rgba(var(--s-rgb), 0.14);
}

/* Étiquette « Recommandé », en haut à droite de la carte PRO */
.popular-tag {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: var(--z-content);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--p-800); background: rgba(var(--p-rgb), 0.12);
  border: 0.5px solid rgba(var(--p-rgb), 0.28);
  padding: 0.3rem 0.75rem; border-radius: 999px; white-space: nowrap;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

/* Nom de formule : Cormorant serif dans une pastille (modèle finitoapp.ch) */
.pricing-name {
  display: inline-block; align-self: flex-start;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700;   /* gras : 700 est livré (§4.1) */
  letter-spacing: 0.18em; text-transform: uppercase; line-height: 1; color: var(--p-800);
  padding: 0.35rem 1.1rem; border-radius: 999px; margin-bottom: 0.55rem;
  background: linear-gradient(135deg, rgba(var(--p-rgb), 0.10), rgba(var(--s-rgb), 0.06));
  border: 0.5px solid rgba(var(--p-rgb), 0.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pricing-card.is-max .pricing-name { color: var(--s-900);
    background: linear-gradient(135deg, rgba(var(--s-rgb), 0.12), rgba(var(--p-rgb), 0.05));
    border-color: rgba(var(--s-rgb), 0.30); }

/* À qui s'adresse la formule — une ligne, sous le nom */
.pricing-tagline { font-size: 0.83rem; color: var(--ink-body); margin-bottom: 0.4rem; }

/* LITE : le prix nu. Graisse 400 et non 300 : DM Sans 300 n'est pas livrée (§4.1) */
.price-free { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 2.1rem;
              color: var(--ink); line-height: 1; letter-spacing: -0.02em;
              margin: 0.7rem 0 0.35rem; font-variant-numeric: tabular-nums; }
.price-note { font-size: 0.78rem; color: var(--ink-mute); }

/* PRO / MAX : mensuel et annuel côte à côte dans un même bloc — présentation de ritmoapp.ch.
   Libellés en teinte foncée de la formule (et non --ink-mute) : lisibles dans la boîte teintée. */
.price-box { display: flex; align-items: stretch; margin: 0.8rem 0 0.3rem;
             border-radius: 14px; overflow: hidden;
             background: rgba(var(--p-rgb), 0.14);
             border: 1px solid rgba(var(--p-rgb), 0.3);
             backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.price-cell { flex: 1; padding: 0.8rem 0.4rem; text-align: center; }
.price-cell + .price-cell { background: rgba(var(--p-rgb), 0.10);
                            border-left: 1px solid rgba(var(--p-rgb), 0.2); }
.price-period { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em;
                text-transform: uppercase; color: var(--p-900); margin-bottom: 0.2rem; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.price-amount b { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.7rem;
                  line-height: 1; letter-spacing: -0.02em; color: var(--p-900);
                  font-variant-numeric: tabular-nums; }
.price-amount span { font-size: 0.72rem; line-height: 1; color: var(--p-900); }
.price-per-user { text-align: center; font-size: 0.66rem; letter-spacing: 0.04em;
                  color: var(--p-900); margin-top: 0.3rem; }
.pricing-card.is-max .price-box { background: rgba(var(--s-rgb), 0.14);
                                  border-color: rgba(var(--s-rgb), 0.32); }
.pricing-card.is-max .price-cell + .price-cell { background: rgba(var(--s-rgb), 0.10);
                                                 border-left-color: rgba(var(--s-rgb), 0.22); }
.pricing-card.is-max .price-period, .pricing-card.is-max .price-amount b,
.pricing-card.is-max .price-amount span, .pricing-card.is-max .price-per-user { color: var(--s-900); }

.pricing-divider { height: 0.5px; margin: 0.9rem 0;
                   background: linear-gradient(90deg, transparent,
                               rgba(var(--p-rgb), 0.22), transparent); }
.pricing-card.is-max .pricing-divider {
  background: linear-gradient(90deg, transparent, rgba(var(--s-rgb), 0.28), transparent); }

/* Liste des prestations : ✓ dans une pastille ronde */
.pricing-features { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.pf-item { display: flex; align-items: flex-start; gap: 0.6rem;
           font-size: 0.83rem; line-height: 1.35; color: var(--ink-body); }
.pf-check { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.6rem; font-weight: 700; color: var(--s-900);
            background: rgba(var(--s-rgb), 0.14);
            border: 0.5px solid rgba(var(--s-rgb), 0.24); }
.pf-item strong { color: var(--ink); font-weight: 700; }
/* Appel de note (¹) sans agrandir l'interligne */
.pf-item sup, .pricing-note sup { font-size: 0.7em; line-height: 0; }
.pf-lead { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.pf-item.is-off { opacity: 0.45; }
.pf-item.is-off .pf-check { color: var(--ink-mute); background: rgba(var(--ink-rgb), 0.05);
                            border-color: rgba(var(--ink-rgb), 0.12); }
/* Bandeau de réassurance sous les formules (modèle finitoapp.ch) */
.pricing-reassure { max-width: 780px; margin: var(--sp-5) auto 0;
                    padding: var(--sp-4) var(--sp-4) var(--sp-3); text-align: center; }
.pricing-reassure h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
                       color: var(--ink); margin-bottom: var(--sp-3); }
.pricing-reassure ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr;
                       gap: 0.6rem var(--sp-4); text-align: left; }
.pricing-reassure li { position: relative; padding-left: 1.5rem; font-size: 0.88rem;
                       color: var(--ink-body); line-height: 1.5; }
.pricing-reassure li::before { content: "✓"; position: absolute; left: 0; top: 0;
                               color: var(--s-800); font-weight: 700; }

.pricing-note { text-align: center; font-size: 0.82rem; color: var(--ink-mute);
                margin-top: var(--sp-3); }

/* ─── FAQ (§6.6) ─── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-4);
            max-width: 760px; }
.faq-item {
  background: rgba(var(--white-rgb), 0.48);
  backdrop-filter: blur(32px) saturate(1.0) brightness(1.03);
  -webkit-backdrop-filter: blur(32px) saturate(1.0) brightness(1.03);
  border: 0.5px solid rgba(var(--white-rgb), 0.78);
  border-radius: var(--r-md); padding: 1.4rem 1.6rem;
  box-shadow: 0 2px 0 rgba(var(--white-rgb), 0.75) inset,
              0 6px 24px rgba(var(--p-rgb), 0.06), 0 1px 2px rgba(0,0,0,0.03);
  position: relative; overflow: hidden;
}
.faq-q { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.05rem;
         color: var(--ink); line-height: 1.3; cursor: pointer; user-select: none;
         display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-chevron { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--s-700);
               transition: transform .3s cubic-bezier(0.22,1,0.36,1); }
.faq-item.open { border-color: rgba(var(--s-rgb), 0.45); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
/* Jamais de max-height magique : grid-template-rows 0fr → 1fr (§6.6) */
.faq-a { display: grid; grid-template-rows: 0fr;
         transition: grid-template-rows .35s cubic-bezier(0.22,1,0.36,1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { font-size: 0.85rem; color: var(--ink-body); line-height: 1.6; padding-top: 0.8rem; }

/* ─── CTA FINAL ─── */
.cta-panel { padding: var(--sp-6) var(--sp-4); text-align: center; }
.cta-panel h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600;
                font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.2;
                color: var(--ink); margin-bottom: var(--sp-2); }
.cta-panel p { font-size: 0.95rem; color: var(--ink-body); max-width: 460px;
               margin: 0 auto var(--sp-4); }

/* ─── FOOTER (§6.5) — ne jamais styler « footer » le type ─── */
.site-footer { position: relative; z-index: var(--z-content); }
.footer-top {
  background: linear-gradient(155deg, var(--dark-1) 0%, var(--dark-2) 30%,
                                      var(--dark-3) 60%, var(--dark-4) 100%);
  padding: 3.5rem 0 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand-text { font-family: 'Cormorant Garamond', serif; font-weight: 600;
                     font-size: 1.4rem; color: var(--white); letter-spacing: 0.04em; }
.footer-brand-text em { color: var(--s-400); font-style: italic; font-weight: 400; }
.footer-tagline { font-size: 0.85rem; color: rgba(var(--white-rgb), 0.6); line-height: 1.6;
                  margin-top: 0.8rem; max-width: 280px; }
.footer-group { font-size: 0.82rem; color: rgba(var(--white-rgb), 0.5); margin-top: 0.9rem;
                display: flex; align-items: center; gap: 0.45rem; }
.footer-group img { width: 18px; height: 18px; border-radius: 5px;
                    /* Le logo MaestroApp est une tuile de verre noire : sans ce liseré
                       clair, elle disparaît sur le fond sombre du footer. */
                    box-shadow: 0 0 0 0.5px rgba(var(--white-rgb), 0.30),
                                0 1px 4px rgba(0,0,0,0.35); }
.footer-group a { color: var(--p-300); text-decoration: none; transition: color .2s ease; }
.footer-group a:hover { color: var(--s-100); }
.footer-copy a { color: rgba(var(--white-rgb), 0.6); text-decoration: none;
                 transition: color .2s ease; }
.footer-copy a:hover { color: var(--p-300); }
.footer-heading { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700;
                  color: rgba(var(--white-rgb), 0.9); text-transform: uppercase;
                  letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 0.6rem; }
.footer-list a { color: rgba(var(--white-rgb), 0.6); text-decoration: none;
                 font-size: 0.88rem; transition: color .2s ease; }
.footer-list a:hover { color: var(--s-400); }
/* Colonne Contact : le rôle de chaque adresse, au-dessus du lien */
.footer-mail-label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
                     text-transform: uppercase; color: rgba(var(--white-rgb), 0.7); margin-bottom: 0.1rem; }
.footer-bottom { background: var(--dark-deep); padding: 1.2rem 0;
                 border-top: 1px solid rgba(var(--white-rgb), 0.06);
                 /* Peinture pure sous le footer : l'overscroll reste sombre sans allonger la page */
                 box-shadow: 0 50vh 0 50vh var(--dark-deep); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between;
                       gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: 0.78rem; color: rgba(var(--white-rgb), 0.45); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(var(--white-rgb), 0.45);
                  text-decoration: none; transition: color .2s ease; }
.footer-legal a:hover { color: var(--p-300); }

/* ─── BANDEAU DE CONSENTEMENT (le JS ne fait qu'insérer le DOM, §9.3) ─── */
#consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-consent);
  padding: 1rem 1.5rem;
  background: rgba(var(--ink-rgb), 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(var(--white-rgb), 0.1);
}
#consent-banner .consent-inner { max-width: 720px; margin: 0 auto; display: flex;
                                 align-items: center; gap: 1.2rem; flex-wrap: wrap; }
#consent-banner p { flex: 1; min-width: 280px; margin: 0; font-size: 0.85rem;
                    color: var(--p-100); line-height: 1.5; }
#consent-banner a { color: var(--p-300); text-decoration: underline; }
#consent-banner .consent-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
#consent-banner button { padding: 0.55rem 1.2rem; border-radius: 10px;
                         font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
                         font-weight: 600; cursor: pointer; }
#consent-deny { border: 1px solid rgba(var(--white-rgb), 0.3); background: transparent;
                color: var(--p-100); }
/* Le bouton d'acceptation réutilise .btn (recette unique) — pas de dégradé recopié ici */

/* ─── MOTEUR DE RÉVÉLATION (§8.2 — uniquement les variantes utilisées) ─── */
[data-reveal] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.75s;
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal].revealed { opacity: 1; transform: translate(0,0) scale(1);
                         filter: blur(0px); will-change: auto; }

/* ─── KEYFRAMES ─── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); }
                      to   { opacity: 1; transform: translateY(0); } }
@keyframes verboShimmer { to { background-position: 250% center; } }
@keyframes heroMockupIn { from { transform: translateX(120px) scale(0.85); } to { transform: none; } }
@keyframes heroFloat    { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* ─── PAGES JURIDIQUES (gabarit « juridique », §10.3) ─── */
.legal-page { padding: 3rem 0 4rem; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-family: 'Cormorant Garamond', serif; font-weight: 600;
                    font-size: 2.2rem; color: var(--ink); margin-bottom: 0.5rem; }
.legal-date { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 2rem; display: block; }
.legal-content h2 { font-family: 'DM Sans', sans-serif; font-size: 1.2rem; color: var(--ink);
                    margin: 2rem 0 0.8rem; padding-bottom: 0.4rem;
                    border-bottom: 1px solid rgba(var(--p-rgb), 0.1); }
.legal-content h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--p-800);
                    margin: 1.5rem 0 0.5rem; }
.legal-content p, .legal-content li { font-size: 0.9rem; color: var(--ink-body); line-height: 1.75; }
.legal-content ul { padding-left: 1.5rem; margin: 0.5rem 0 1rem; }
.legal-content a { color: var(--p-800); text-decoration: underline; }
.legal-content strong { color: var(--ink); }

/* ─── PAGE D'ATTENTE (application en cours de déploiement) ─── */
.wait-page { display: flex; align-items: center; justify-content: center;
             min-height: 62vh; padding: var(--sp-7) 0; }
.wait-panel { max-width: 640px; margin: 0 auto; padding: var(--sp-6) var(--sp-4);
              text-align: center; }
.wait-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto var(--sp-3);
             display: flex; align-items: center; justify-content: center;
             background: var(--p-800); box-shadow: 0 6px 18px rgba(var(--p-rgb), 0.22); }
.wait-icon svg { width: 28px; height: 28px; stroke: var(--white); }
.wait-panel h1 { font-family: 'Cormorant Garamond', serif; font-weight: 600;
                 font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2;
                 color: var(--ink); margin-bottom: var(--sp-2); }
.wait-panel h1 em { font-style: italic; color: var(--p-800); }
.wait-panel > p { font-size: 0.95rem; color: var(--ink-body); line-height: 1.7;
                  max-width: 460px; margin: 0 auto var(--sp-4); }
.wait-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.wait-note { font-size: 0.82rem; color: var(--ink-mute); margin-top: var(--sp-4); }
.wait-note a { color: var(--p-800); }

/* ─── PAGE 404 ─── */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center;
              text-align: center; padding: var(--sp-7) 0; }
.error-code { font-family: 'Cormorant Garamond', serif; font-weight: 700;
              font-size: clamp(5rem, 12vw, 9rem); line-height: 1; color: var(--p-700); }
.error-page h1 { font-family: 'Cormorant Garamond', serif; font-weight: 600;
                 font-size: 1.8rem; color: var(--ink); margin: 0.5rem 0 1rem; }
.error-page p { color: var(--ink-body); font-size: 0.95rem; margin-bottom: var(--sp-4); }

/* ══════════════════════════════════════════
   RESPONSIVE — 3 points de rupture, synchronisés avec le JS (768px)
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-mockup { width: 400px; }
  /* Barre de nav : six onglets (Accueil, Tarifs + 4 guides) ne tiennent pas sous 1024 px.
     Le menu hamburger prend le relais dès la tablette. CSS seul : ni le menu mobile ni la
     pastille de main.js ne dépendent de ce point de rupture. */
  .nav-links { display: none; }
  .nav-buttons { margin-left: auto; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .shots-grid { grid-template-columns: 1fr; max-width: 620px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid > .pain-item:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container, .nav-inner { padding: 0 1.25rem; }
  .cmp-grid { grid-template-columns: 1fr; }
  /* En-tête mobile : Connexion compacte à côté du hamburger, le grand CTA vit dans le menu */
  .nav-buttons .btn { display: none; }
  .nav-buttons .btn-ghost { padding: 0.5rem 1rem; font-size: 0.82rem; }
  /* Les orbes coûtent cher sur mobile : le moteur JS s'y éteint aussi (matchMedia 769px) */
  .bg-orb { display: none; }

  .hero { padding: var(--sp-5) 0 var(--sp-4); }
  /* Le mockup quitte l'absolu : centré au-dessus du slogan, comme finitoapp.ch sur mobile */
  .hero-mockup { position: relative; right: auto; top: auto; width: 280px; margin: 0 auto 0.5rem; }
  .slogan-line { font-size: clamp(1.9rem, 8vw, 3rem); }
  .slogan-verbo { font-size: clamp(2.4rem, 10vw, 3.8rem); }
  .hero h1 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
  /* Les sauts de ligne du titre sont pensés pour le desktop : sur mobile, on laisse couler */
  .hero h1 br { display: none; }
  .hero-mock-phase { display: none; }
  /* Chiffres clés : 2 × 2 sur mobile, séparateur vertical entre les colonnes */
  .hero-stat { flex-basis: 50%; padding: 0.6rem 0.4rem; border-left: none; }
  .hero-stat:nth-child(even) { border-left: 1px solid rgba(var(--p-rgb), 0.18); }
  .hero-stat-num { font-size: 1.35rem; }
  .hero-stat-label { font-size: 0.63rem; }
  .hero-badge { font-size: 0.66rem; }

  .section { padding: var(--sp-6) 0 var(--sp-5); }
  .pain-grid, .feat-grid, .pricing-grid, .steps-grid { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .shots-grid figure { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .shots-grid .phone { max-width: 260px; }
  .pricing-reassure ul { grid-template-columns: 1fr; }
  .pain-grid > .pain-item:last-child { grid-column: auto; }
  .pricing-card.is-featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-mockup { width: 220px; }
  .cmp-col { padding: 1.2rem 1rem 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .hero-mock-bar { flex-basis: 24%; }
  #consent-banner { padding: 0.55rem 0.8rem; }
  #consent-banner .consent-inner { gap: 0.5rem; flex-wrap: nowrap; }
  #consent-banner p { min-width: 0; font-size: 0.72rem; line-height: 1.35; }
  #consent-banner .consent-actions { flex-direction: column; gap: 0.35rem; }
  #consent-banner button { padding: 0.4rem 0.9rem; font-size: 0.74rem; white-space: nowrap; }
}

/* ─── ACCESSIBILITÉ — mouvement réduit (bloc CSS global + garde JS, §8.4) ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
