/* ============================================================
   FINAZO — Site vitrine
   Système de design établi sur la page d'accueil
   Réutilisable sur l'ensemble des pages du site
   ============================================================ */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Couleurs — palette Finazo refroidie (gris-vert pâle, moins « cream »)
     pour s'éloigner du ton chaud type éditorial-IA et se rapprocher
     du registre Lunch Money : fond frais, vert dominant. */
  --paper:        #fbfbf8;   /* fond principal — blanc cassé, à peine tiède */
  --paper-2:      #f1f4ef;   /* fond alterné, vert très pâle */
  --butter:       #fdf4dc;   /* fond CTA finale — crème beurre façon Lunch Money */
  --ink:          #2a2a28;   /* texte principal — gris très foncé, pas noir pur */
  --ink-2:        #54564f;   /* texte secondaire */
  --muted:        #8d8f86;   /* légendes, métadonnées */
  --line:         #e4e6df;   /* séparateurs, plus clairs */
  --accent:       #1f7a4d;   /* vert sapin Finazo — plus profond façon LM */
  --accent-2:     #2f9d63;   /* vert clair pour highlights */
  --accent-soft:  rgba(31, 122, 77, 0.10);
  --accent-deep:  #155c39;   /* vert profond, footer */
  --bark:         #6e5235;   /* marron végétal — tige du logo, accents terre */
  --bark-soft:    rgba(110, 82, 53, 0.10);
  /* Couleurs du logo (pilotées par contexte : navbar, footer, nuit) */
  --logo-stem:    #6e5235;
  --logo-leaf1:   #1f7a4d;
  --logo-leaf2:   #2f9d63;
  --c-fixe:       #1f7a4d;
  --c-fixe-deep:  #155c39;
  --c-libre:      #2da89a;
  --warn:         #e8804b;
  --bad:          #d54848;
  --highlight:    #ffd45e;   /* jaune surligneur */
  --heart:        #e0584f;   /* rouge cœur trust-row */
  --badge-bg:     #f4ecd6;   /* cercle crème des icônes feature */
  --white:        #ffffff;

  /* Rayons */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-full:  999px;

  /* Ombres */
  --shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:    0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl:    0 24px 60px -12px rgba(20, 20, 20, 0.25);

  /* Polices */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-logo:    'Lexend', system-ui, sans-serif;
  --font-script:  'Caveat', cursive;

  /* Mesures */
  --container:    1200px;
  --container-sm: 960px;
  --container-xs: 720px;
  --section-y:    clamp(72px, 9vw, 128px);
  --nav-h:        72px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   BASE — typographie
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
/* Façon Lunch Money : H2 principaux dark, mais les emphases italiques
   passent en vert pour porter l'identité. Les sous-titres de cards
   (h3) passent aussi en vert sur certaines sections. */
.hero h1 em,
.section h2 em {
  color: var(--accent);
  font-weight: 450;
}
.profile-card h3,
.privacy-grid h3,
.benefit h3 {
  color: var(--accent);
}
h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  font-weight: 400;
}
}
p { text-wrap: pretty; }
em, .italic { font-style: italic; }

/* ============================================================
   COMPOSANTS — boutons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  text-align: center;
}
/* CTA primaire en vert Finazo — un seul vert dominant sur la page */
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 6px 18px -6px rgba(47, 138, 92, .55);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0,0,0,.04), 0 10px 24px -6px rgba(47,138,92,.6); }
.btn--secondary {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--secondary:hover { background: var(--accent-soft); }
.btn--large { padding: 18px 40px; font-size: 16px; }

/* Lien-flèche */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  transition: color .18s ease;
}
.link-arrow .arrow {
  display: inline-block;
  transition: transform .22s ease;
}
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ============================================================
   COMPOSANTS — badges / pills
   ============================================================ */
/* Kicker plain-text façon Lunch Money : pas de pill, juste du vert
   uppercase tracking large au-dessus du titre. */
.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.kicker--pill {
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}
.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   COMPOSANTS — cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__title { margin-top: 8px; }
.card__body { color: var(--ink-2); margin-top: 12px; line-height: 1.55; }
.card__cta { margin-top: 20px; }

/* ============================================================
   COMPOSANTS — surlignage
   ============================================================ */
/* Surlignage jaune façon Lunch Money — bande pleine sur la moitié basse */
.highlight {
  background: linear-gradient(180deg, transparent 45%, var(--highlight) 45%, var(--highlight) 92%, transparent 92%);
  padding: 0 8px;
  font-style: italic;
  color: var(--ink);
}

/* ============================================================
   COMPOSANTS — mockup iPhone
   ============================================================ */
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 8px;
  box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone--tilt-l { transform: rotate(-0.5deg); }
.phone--tilt-r { transform: rotate(0.5deg); }

/* ============================================================
   STRUCTURE — conteneurs & sections
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container--sm { max-width: var(--container-sm); }
.container--xs { max-width: var(--container-xs); }

.section { padding: var(--section-y) 0; }
.section--paper-2 { background: var(--paper-2); }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__header .kicker { margin-bottom: 20px; }
.section__header h2 { margin-bottom: 16px; }
.section__header p { color: var(--ink-2); font-size: 18px; }

/* ============================================================
   SECTIONS — Navbar
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(251, 251, 248, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  z-index: 50;
  transition: box-shadow .24s ease, background .24s ease;
}
.nav.is-scrolled {
  background: rgba(251, 251, 248, 0.96);
  box-shadow: 0 1px 0 var(--line), 0 2px 16px -8px rgba(0,0,0,.08);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-logo);
  line-height: 1;
}
.logo__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.logo__word {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo__b {
  font-weight: 500;
  color: var(--accent-2);
}
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .18s ease;
}
.nav__links a {
  position: relative;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta .btn {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}
.nav__cta .btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__cta .login {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .18s ease;
}
.nav__cta .login:hover { color: var(--accent); }
.nav__cta .btn { padding: 10px 20px; font-size: 14px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.burger__bars {
  position: relative;
  width: 22px;
  height: 14px;
}
.burger__bars::before, .burger__bars::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .22s ease, top .22s ease;
}
.burger__bars::before { top: 2px; }
.burger__bars::after  { top: 10px; }
.burger[aria-expanded="true"] .burger__bars::before { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 40;
  padding: calc(var(--nav-h) + 32px) 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ============================================================
   SECTIONS — Hero
   ============================================================ */
.hero {
  padding: calc(var(--nav-h) + 72px) 0 var(--section-y);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Trame de points subtile façon Lunch Money, ne couvre que le haut du hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 78%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero .kicker { margin-bottom: 28px; }

/* Mascotte pièce souriante (originale) */
.coin-mascot {
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  display: block;
  animation: coin-bob 4s ease-in-out infinite;
}
@keyframes coin-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-7px) rotate(2deg); }
}
.hero h1 { max-width: 880px; margin: 0 auto; }
.hero__sub {
  max-width: 600px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
/* Microcopy en pilule douce façon Lunch Money */
.hero__micro {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 500;
  background: var(--accent-soft);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}
.hero__mockup {
  margin: 72px auto 0;
  display: flex;
  justify-content: center;
}
.hero__mockup .phone {
  width: 320px;
  transform: rotate(-0.5deg);
}

/* ============================================================
   SECTIONS — Trust row (hearts + audiences) façon Lunch Money
   ============================================================ */
.trust {
  padding: 8px 0 var(--section-y);
  text-align: center;
}
.trust__lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  margin-bottom: 28px;
}
.trust__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  max-width: 820px;
  margin: 0 auto;
}
.trust__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.trust__tag svg {
  width: 15px;
  height: 15px;
  color: var(--heart);
  flex-shrink: 0;
}

/* ============================================================
   COMPOSANT — badge icône circulaire crème façon Lunch Money
   ============================================================ */
.icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.icon-badge svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  stroke-width: 1.5;
}

/* ============================================================
   SECTIONS — Punchlines (Section 2)
   ============================================================ */
.punchlines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  max-width: 960px;
  margin: 0 auto;
}
.punchline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.35;
  color: var(--ink);
  border-left: 2px solid var(--line);
  padding-left: 20px;
  font-weight: 400;
}

/* ============================================================
   SECTIONS — Comment ça marche (Section 3)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  align-items: start;
}
.step { text-align: center; }
.step__num {
  font-family: var(--font-script);
  font-size: clamp(80px, 9vw, 120px);
  color: var(--accent-2);
  line-height: 0.9;
  margin-bottom: 8px;
  font-weight: 600;
}
.step__phone {
  margin: 0 auto 28px;
  width: 220px;
}
.step__phone .phone { width: 220px; }
.step h3 { margin-bottom: 12px; }
.step__body { color: var(--ink-2); max-width: 280px; margin: 0 auto; line-height: 1.55; }

/* ============================================================
   SECTIONS — Privacy (Section 4)
   ============================================================ */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.privacy-grid .icon {
  width: 34px; height: 34px;
  color: var(--accent);
  stroke-width: 1.5;
}
.privacy-grid h3 { margin-bottom: 10px; font-size: 21px; }
.privacy-grid p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* ============================================================
   SECTIONS — Bénéfices alternés (Section 5)
   ============================================================ */
.benefit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.benefit:last-child { margin-bottom: 0; }
.benefit--reverse .benefit__text { order: 2; }
.benefit__num {
  font-family: var(--font-script);
  font-size: 56px;
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}
.benefit h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  margin-bottom: 16px;
}
.benefit__body {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
  max-width: 440px;
}
.benefit__visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.benefit__visual .phone { width: 280px; }
.benefit__visual::before {
  content: '';
  position: absolute;
  inset: 5% 10%;
  background: var(--accent-soft);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
  filter: blur(40px);
  opacity: .5;
}

/* ============================================================
   SECTIONS — Profils (Section 6)
   ============================================================ */
.profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.profile-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.profile-card__doodle {
  width: 64px; height: 64px;
  padding: 15px;
  background: var(--badge-bg);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--accent);
  stroke-width: 1.5;
  box-sizing: border-box;
}
.profile-card h3 { margin-bottom: 12px; font-size: 22px; }
.profile-card p { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin-bottom: 20px; }

/* ============================================================
   SECTIONS — Tarifs (Section 7)
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: var(--paper-2);
  border: 2px solid var(--accent);
  box-shadow: 0 12px 36px -16px rgba(31, 122, 77, 0.45);
}
.price-card__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(31, 122, 77, 0.6);
}
.price-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-card__price .amount { font-size: 56px; font-weight: 500; }
.price-card__period {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}
.price-card__note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.price-card__save { color: var(--accent-deep); font-size: 14.5px; margin-top: 10px; font-weight: 500; }
.price-card__save strong { font-weight: 700; }
.price-card__strike { color: var(--muted); text-decoration: line-through; font-weight: 400; margin-left: 4px; }
.price-card__list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.price-card__list svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent);
  margin-top: 2px;
}
.price-card .btn { width: 100%; margin-top: auto; }
.pricing__footer { text-align: center; margin-top: 32px; }

/* ============================================================
   SECTIONS — FAQ (Section 8)
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  transition: transform .22s ease;
  margin-top: -4px;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__answer {
  padding: 0 0 24px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 640px;
}
.faq__footer { text-align: center; margin-top: 40px; }

/* ============================================================
   SECTIONS — CTA finale (Section 9)
   ============================================================ */
.cta-final {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--section-y) + 16px) 0;
  background: var(--butter);
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.05) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}
.cta-final h2 {
  font-size: clamp(36px, 5.2vw, 64px);
  max-width: 880px;
  margin: 18px auto 36px;
  line-height: 1.05;
}
.cta-final__micro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
/* Doodles colorisés façon Lunch Money — chaque objet a sa couleur,
   au lieu d'un outline monochrome qui tirait vers l'austère. */
.doodle {
  position: absolute;
  pointer-events: none;
  opacity: 0.92;
}
.doodle--house    { color: #5b85c4; }
.doodle--car      { color: var(--accent-2); }
.doodle--suitcase { color: var(--warn); }
.doodle--bag      { color: var(--warn); }
.doodle--coin     { color: #ecc54a; }
.doodle--coin2    { color: #ecc54a; }
.doodle--bolt     { color: #ecc54a; }
.doodle--house    { top: 8%;   left: 6%;  width: 110px; transform: rotate(-6deg); }
.doodle--car      { top: 14%;  right: 7%; width: 120px; transform: rotate(8deg); }
.doodle--suitcase { bottom: 18%; left: 5%; width: 96px; transform: rotate(-3deg); }
.doodle--bag      { bottom: 14%; right: 6%; width: 104px; transform: rotate(6deg); }
.doodle--coin     { top: 58%; left: 16%; width: 64px; transform: rotate(-12deg); }
.doodle--coin2    { top: 26%; right: 22%; width: 52px; transform: rotate(10deg); }
.doodle--bolt     { bottom: 36%; right: 16%; width: 56px; transform: rotate(4deg); }

/* ============================================================
   SECTIONS — Footer
   ============================================================ */
/* Footer en bandeau vert profond façon Lunch Money */
.footer {
  background: var(--accent-deep);
  color: #d8e5dd;
  padding: 80px 0 32px;
  border-top: none;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.footer .logo__word { color: #ffffff; }
.footer .logo__b { color: #9fe3b8; }
.footer { --logo-stem: #c2a987; --logo-leaf1: #5fc187; --logo-leaf2: #9fe3b8; }
.footer h4 { color: #bcd4c6; }
.footer__col a { color: #e8efe7; }
.footer__col a:hover { color: var(--white); }
.footer__tagline { color: #b6cabd; }
.footer__social a {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #c8d6cd;
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #b6cabd;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
}
.footer__brand .logo { display: inline-flex; margin-bottom: 12px; }
.footer__tagline {
  color: #b6cabd;
  font-size: 14px;
  max-width: 240px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6e2da;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.footer__social a:hover { color: var(--white); background: var(--accent); border-color: var(--accent); }
.footer__social svg { width: 16px; height: 16px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #bcd4c6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: #e8efe7;
  transition: color .18s ease;
}
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #b6cabd;
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 960px) {
  :root { --section-y: 80px; }
  .nav__links { display: none; }
  .nav__cta .login { display: none; }
  .burger { display: inline-flex; }

  .punchlines { grid-template-columns: 1fr; gap: 32px; max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 64px; max-width: 380px; margin: 0 auto; }
  .privacy-grid { grid-template-columns: 1fr; gap: 40px; max-width: 480px; }
  .benefit { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; text-align: center; }
  .benefit__body { margin: 0 auto; }
  .benefit--reverse .benefit__text { order: 0; }
  .benefit__visual .phone { width: 240px; }
  .profiles { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing { grid-template-columns: 1fr; }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero__mockup .phone { width: 260px; }
  .hero__ctas { flex-direction: column; gap: 14px; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .doodle { width: 56px !important; }
  .doodle--coin, .doodle--coin2, .doodle--bolt { width: 32px !important; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

/* ============================================================
   Font switcher — panneau flottant de test
   À retirer en production : sert uniquement à comparer
   les polices display candidates.
   ============================================================ */
.font-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  max-width: 280px;
  font-family: var(--font-body);
}
.font-switcher__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.font-switcher__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.font-switcher__btn {
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.font-switcher__btn:hover { border-color: var(--accent); }
.font-switcher__btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.font-switcher__btn .preview {
  font-size: 18px;
  color: var(--ink);
}
.font-switcher__close {
  position: absolute;
  top: 6px; right: 8px;
  width: 24px; height: 24px;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  border-radius: 50%;
}
.font-switcher__close:hover { color: var(--ink); background: var(--paper-2); }
.font-switcher__open {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.font-switcher.is-hidden { display: none; }
@media (max-width: 560px) {
  .font-switcher, .font-switcher__open { bottom: 12px; right: 12px; }
  .font-switcher { max-width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TWEAKS — variations expressives (pilotées par data-* sur <html>)
   Trois leviers qui retravaillent le ressenti global :
   · data-ambiance  → palette d'ensemble
   · data-perso     → niveau de fantaisie (doodles, mascotte, trame)
   La typo display est pilotée par --font-display en inline.
   Transition douce sur les bascules de thème.
   ============================================================ */
body, .nav, .card, .profile-card, .price-card, .icon-badge,
.phone__screen, .footer, .section--paper-2, .cta-final {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

/* ---- AMBIANCE : Frais (vert-gris plus froid, plus « clinique doux ») ---- */
html[data-ambiance="frais"] {
  --paper:    #eef2ef;
  --paper-2:  #e2e9e3;
  --butter:   #e6efe4;
  --line:     #d4ddd4;
  --badge-bg: #dbe6db;
  --ink:      #202622;
}

/* ---- AMBIANCE : Nuit (sombre, immersif vert sapin) ---- */
html[data-ambiance="nuit"] {
  --paper:       #141d18;
  --paper-2:     #1b2620;
  --butter:      #1b2620;
  --ink:         #eef3ef;
  --ink-2:       #b7c4bb;
  --muted:       #889589;
  --line:        #2a382f;
  --accent:      #4fc187;
  --accent-2:    #74d7a3;
  --accent-soft: rgba(79, 193, 135, 0.16);
  --accent-deep: #0e1611;
  --badge-bg:    #233029;
  --highlight:   #ffd45e;
  --white:       #1b2620;
  --logo-stem:   #c2a987;
  --logo-leaf1:  #4fc187;
  --logo-leaf2:  #74d7a3;
}
html[data-ambiance="nuit"] .nav { background: rgba(20, 29, 24, 0.82); }
html[data-ambiance="nuit"] .nav.is-scrolled {
  background: rgba(20, 29, 24, 0.96);
  box-shadow: 0 1px 0 var(--line), 0 2px 16px -8px rgba(0,0,0,.5);
}
html[data-ambiance="nuit"] .phone { background: #0a0f0c; }
html[data-ambiance="nuit"] .cta-final::before { background-image: radial-gradient(rgba(255,255,255,0.06) 1.4px, transparent 1.4px); }
html[data-ambiance="nuit"] .btn--primary { color: #0a0f0c; }
html[data-ambiance="nuit"] .footer .logo,
html[data-ambiance="nuit"] .footer__col a,
html[data-ambiance="nuit"] .footer h4,
html[data-ambiance="nuit"] .footer__tagline,
html[data-ambiance="nuit"] .footer__bottom { color: inherit; }
html[data-ambiance="nuit"] .footer h4 { color: var(--muted); }
html[data-ambiance="nuit"] .footer__col a { color: #d6e2da; }
html[data-ambiance="nuit"] .footer__tagline,
html[data-ambiance="nuit"] .footer__bottom { color: #9aa89e; }

/* ---- CARACTÈRE typographique : variante sans-serif plus appuyée (Net) ---- */
/* Autonome sans le panneau de Tweaks : on bascule --font-display sur la
   police de corps (Inter) directement en CSS, plus besoin du JS. */
html[data-carac="net"] { --font-display: var(--font-body); }
html[data-carac="net"] h1,
html[data-carac="net"] h2,
html[data-carac="net"] h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
}
html[data-carac="net"] .hero h1 em,
html[data-carac="net"] .section h2 em { font-weight: 700; font-style: normal; color: var(--accent); }

/* ---- CARACTÈRE : Zen (titres en Lexend, registre calme & moderne) ---- */
html[data-carac="zen"] h1,
html[data-carac="zen"] h2,
html[data-carac="zen"] h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
}
/* Lexend n'a pas d'italique : l'emphase passe en vert + graisse. */
html[data-carac="zen"] .hero h1 em,
html[data-carac="zen"] .section h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
html[data-carac="zen"] .faq__item summary,
html[data-carac="zen"] .mobile-menu a,
html[data-carac="zen"] .trust__lead,
html[data-carac="zen"] .punchline { font-style: normal; }

/* ---- PERSONNALITÉ : Épuré (on coupe la fantaisie) ---- */
html[data-perso="epure"] .doodle,
html[data-perso="epure"] .coin-mascot { display: none; }
html[data-perso="epure"] .hero::before,
html[data-perso="epure"] .cta-final::before { opacity: 0; }
html[data-perso="epure"] .hero { padding-top: calc(var(--nav-h) + 56px); }
html[data-perso="epure"] .highlight {
  background: none;
  font-style: italic;
  color: var(--accent);
  padding: 0;
}
html[data-perso="epure"] .trust__tag svg { color: var(--muted); }

/* ---- PERSONNALITÉ : Débordant (on pousse la fantaisie) ---- */
html[data-perso="debordant"] .doodle { transform: scale(1.18) rotate(var(--r, 0deg)); }
html[data-perso="debordant"] .coin-mascot { width: 116px; height: 116px; }
html[data-perso="debordant"] .highlight {
  background: linear-gradient(180deg, transparent 38%, var(--highlight) 38%, var(--highlight) 96%, transparent 96%);
  padding: 0 10px;
}
html[data-perso="debordant"] .kicker { color: var(--accent-2); }
