/* =========================================================================
   Déclic30 — Design System
   Palette, typographie et composants partagés (fidèle au site original,
   factorisé et optimisé). Aucune dépendance externe hors polices.
   ========================================================================= */

:root {
  /* — Palette — */
  --sage:        #4a6741;
  --sage-light:  #6b8f5e;
  --sage-dark:   #3a5233;
  --cream:       #f5f0e8;
  --cream-soft:  #faf7f1;
  --warm:        #e8dfd3;
  --dark:        #1a1a18;
  --dark-soft:   #24241f;
  --text:        #2d2d2a;
  --text-light:  #5a5a55;
  --text-muted:  #8a8a82;
  --accent:      #c17f3e;
  --amber:       #d4901c;
  --gold:        #c9a84c;
  --gold-light:  #e8c96e;
  --line:        rgba(45, 45, 42, 0.12);
  --line-soft:   rgba(45, 45, 42, 0.07);
  --success:     #4a6741;
  --danger:      #b4543e;
  --white:       #ffffff;

  /* — Typographie — */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui:      'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* — Échelle — */
  --text-xs:   0.78rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.18rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.75rem;
  --text-hero: clamp(2.8rem, 7vw, 5rem);

  /* — Rythme & rayons — */
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --maxw: 1140px;
  --shadow-sm: 0 2px 10px rgba(26, 26, 24, 0.06);
  --shadow:    0 12px 40px rgba(26, 26, 24, 0.10);
  --shadow-lg: 0 24px 70px rgba(26, 26, 24, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* — Typographie de base — */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: var(--text-hero); }
h2 { font-size: clamp(2rem, 4.5vw, var(--text-3xl)); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p  { color: var(--text-light); }
.serif-italic { font-family: var(--font-display); font-style: italic; }

/* — Layout helpers — */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding-block: var(--space-section); }
.section-dark { background: var(--dark); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark p { color: rgba(245, 240, 232, 0.72); }
.section-soft { background: var(--cream-soft); }
.section-warm { background: var(--warm); }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow-pill {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  margin-bottom: 1.5rem;
}
.section-dark .eyebrow-pill { color: var(--gold-light); border-color: rgba(201, 168, 76, 0.5); }
.lead { font-size: var(--text-lg); color: var(--text-light); max-width: 56ch; }
.section-dark .lead { color: rgba(245, 240, 232, 0.78); }

/* — Boutons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0.01em; border-radius: var(--radius-pill);
  padding: 0.95rem 1.8rem; transition: all 0.25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--sage); color: var(--cream); box-shadow: 0 8px 24px rgba(74, 103, 65, 0.28); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(74, 103, 65, 0.36); }
.btn-gold { background: linear-gradient(135deg, var(--amber), var(--accent)); color: #fff; box-shadow: 0 8px 24px rgba(193, 127, 62, 0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(193, 127, 62, 0.4); }
.btn-outline { border: 1.5px solid var(--sage); color: var(--sage); }
.btn-outline:hover { background: var(--sage); color: var(--cream); }
.btn-ghost { color: var(--sage); padding-inline: 0.4rem; }
.btn-ghost:hover { color: var(--sage-dark); }
.btn-lg { padding: 1.15rem 2.3rem; font-size: var(--text-base); }
.section-dark .btn-outline { border-color: var(--gold-light); color: var(--gold-light); }
.section-dark .btn-outline:hover { background: var(--gold-light); color: var(--dark); }

/* — Cartes — */
.card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =========================  NAVBAR  ========================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0.9rem 24px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { display: block; height: 54px; width: auto; flex-shrink: 0; }
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--dark);
  color: var(--cream); display: flex; flex-direction: column; padding: 2rem 24px;
  transform: translateX(100%); transition: transform 0.4s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.mobile-menu-close { color: var(--cream); font-size: 2rem; line-height: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.8rem; color: var(--cream); }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu-foot a { font-family: var(--font-ui); font-size: var(--text-sm); color: rgba(245,240,232,0.6); }

/* =========================  HERO  ========================= */
.hero { position: relative; padding-block: clamp(4rem, 10vw, 8rem); background: radial-gradient(ellipse at 70% 20%, var(--warm), var(--cream) 60%); }
.hero h1 { margin-bottom: 1.5rem; }
.hero .accent-line { display: block; background: linear-gradient(120deg, var(--sage-light), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2rem; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-light); }
.hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.hero-note { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-light); background: rgba(255,255,255,0.6); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 0.85rem 1.2rem; }

/* =========================  COMPARISON  ========================= */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.compare-col { border-radius: var(--radius-lg); padding: 2rem; }
.compare-before { background: rgba(180, 84, 62, 0.06); border: 1px solid rgba(180, 84, 62, 0.18); }
.compare-after { background: rgba(74, 103, 65, 0.07); border: 1px solid rgba(74, 103, 65, 0.2); }
.compare-col h4 { margin-bottom: 0.3rem; }
.compare-tag { font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.2rem; display: block; }
.compare-before .compare-tag { color: var(--danger); }
.compare-after .compare-tag { color: var(--sage); }
.compare-list li { display: flex; gap: 0.75rem; padding: 0.7rem 0; border-top: 1px solid var(--line-soft); font-size: var(--text-sm); color: var(--text-light); }
.compare-list li:first-child { border-top: none; }
.mark { flex-shrink: 0; font-weight: 700; }
.mark-x { color: var(--danger); }
.mark-v { color: var(--sage); }

/* =========================  PHASES  ========================= */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.phase { background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem; border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.phase::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--sage), var(--gold)); }
.phase-num { font-family: var(--font-ui); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.1em; color: var(--accent); }
.phase h3 { margin: 0.6rem 0 0.9rem; }

/* =========================  CALCULATOR  ========================= */
.calc-box { background: var(--dark); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); color: var(--cream); }
.calc-slider-wrap { margin: 2rem 0; }
.calc-slider-wrap label { font-family: var(--font-ui); font-size: var(--text-sm); color: rgba(245,240,232,0.7); display: block; margin-bottom: 0.8rem; }
.calc-slider-wrap output { color: var(--gold-light); font-weight: 700; }
input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: rgba(245,240,232,0.2); -webkit-appearance: none; appearance: none; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); cursor: pointer; box-shadow: 0 0 0 4px rgba(201,168,76,0.25); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: none; border-radius: 50%; background: var(--gold); cursor: pointer; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.calc-result { text-align: center; padding: 1.5rem 1rem; background: rgba(245,240,232,0.05); border-radius: var(--radius); border: 1px solid rgba(245,240,232,0.1); }
.calc-result .num { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--gold-light); }
.calc-result .lbl { font-family: var(--font-ui); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,240,232,0.6); margin-top: 0.4rem; }
.calc-note { text-align: center; font-size: var(--text-base); color: rgba(245,240,232,0.85); }
.calc-note strong { color: var(--gold-light); }

/* =========================  EMAIL DEMO  ========================= */
.email-demo { display: grid; gap: 1.2rem; max-width: 560px; margin: 2.5rem auto 0; }
.email-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-soft); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); }
.email-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-ui); font-size: var(--text-xs); color: var(--text-muted); margin-bottom: 0.7rem; }
.email-day { background: var(--sage); color: var(--cream); padding: 0.2rem 0.65rem; border-radius: var(--radius-pill); font-weight: 600; }
.email-card h4 { font-size: var(--text-base); font-family: var(--font-ui); font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.email-card p { font-size: var(--text-sm); }

/* =========================  PRICING  ========================= */
.price-card { max-width: 540px; margin: 2.5rem auto 0; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.price-head { background: linear-gradient(160deg, var(--sage), var(--sage-dark)); color: var(--cream); padding: 2.5rem; text-align: center; }
.price-head .price-name { font-family: var(--font-ui); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.85; }
.price-head .price-amount { font-family: var(--font-display); font-size: 4rem; font-weight: 800; line-height: 1; margin: 0.6rem 0 0.3rem; }
.price-head .price-sub { font-family: var(--font-ui); font-size: var(--text-sm); opacity: 0.85; }
.price-body { padding: 2.5rem; }
.price-features { display: grid; gap: 1rem; margin-bottom: 2rem; }
.price-features li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--text-sm); color: var(--text-light); }
.price-features .mark-v { margin-top: 2px; }
.price-fine { font-size: var(--text-sm); color: var(--text-light); padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.price-fine p { margin-bottom: 0.6rem; font-size: var(--text-sm); }
.price-trust { text-align: center; font-family: var(--font-ui); font-size: var(--text-xs); color: var(--text-muted); margin-top: 1.2rem; }

/* =========================  QUIZ TEASER / PROFILES  ========================= */
.profile-chips { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 2rem 0; }
.profile-chip { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500; padding: 0.6rem 1.3rem; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line); color: var(--text); }

/* =========================  FAQ  ========================= */
.faq-group { margin-bottom: 3rem; }
.faq-group > h3 { color: var(--sage); margin-bottom: 1.2rem; font-size: var(--text-xl); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-family: var(--font-ui); font-weight: 600; font-size: var(--text-lg); color: var(--text); }
.faq-q .chev { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--sage); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding-bottom: 1.4rem; color: var(--text-light); font-size: var(--text-base); }
.faq-a-inner a { color: var(--sage); text-decoration: underline; }

/* =========================  ARTICLE / STORY  ========================= */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: var(--text-2xl); margin: 2.8rem 0 1.2rem; }
.prose h3 { font-size: var(--text-xl); margin: 2rem 0 0.9rem; }
.prose p { margin-bottom: 1.3rem; color: var(--text); line-height: 1.8; }
.prose a { color: var(--sage); text-decoration: underline; }
.prose ul.bul { margin: 1rem 0 1.5rem; padding-left: 0; }
.prose ul.bul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; color: var(--text-light); }
.prose ul.bul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.callout { background: var(--cream-soft); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1.4rem 1.6rem; margin: 2rem 0; }
.callout .callout-label { font-family: var(--font-ui); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; display: block; margin-bottom: 0.5rem; }
.callout p { margin-bottom: 0; color: var(--text); font-size: var(--text-base); }
.breadcrumb { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--sage); }
.author-card { display: inline-flex; align-items: center; gap: 0.9rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-pill); padding: 0.6rem 1.4rem 0.6rem 0.6rem; box-shadow: var(--shadow-sm); margin-top: 2rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.author-card .name { font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm); }
.author-card .role { font-size: var(--text-xs); color: var(--text-muted); }

/* — Stat row — */
.stat-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; }
.stat { flex: 1; min-width: 130px; background: var(--cream-soft); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line-soft); }
.stat .stat-num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--sage); }
.stat .stat-lbl { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }

/* =========================  BLOG  ========================= */
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0 2.5rem; }
.blog-filter { font-family: var(--font-ui); font-size: var(--text-sm); padding: 0.5rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--text-light); transition: all 0.2s; }
.blog-filter:hover, .blog-filter.active { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--sage-light), var(--sage)); position: relative; }
.blog-card-thumb .cat-badge { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; background: rgba(255,255,255,0.92); color: var(--sage-dark); padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: var(--text-lg); font-family: var(--font-display); line-height: 1.25; margin-bottom: 0.6rem; }
.blog-card-body p { font-size: var(--text-sm); flex: 1; }
.blog-card-body .read-more { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; color: var(--sage); margin-top: 1rem; }

/* =========================  FORMS  ========================= */
.form-box { max-width: 480px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.field input[type="text"], .field input[type="email"] { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-size: var(--text-base); background: var(--cream-soft); transition: border-color 0.2s; }
.field input:focus { outline: none; border-color: var(--sage); background: var(--white); }
.field-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--text-sm); color: var(--text-light); }
.field-check input { margin-top: 4px; accent-color: var(--sage); width: 16px; height: 16px; flex-shrink: 0; }
.form-msg { padding: 1rem; border-radius: var(--radius); font-size: var(--text-sm); margin-top: 1rem; }
.form-msg.ok { background: rgba(74,103,65,0.1); color: var(--sage-dark); }
.form-msg.err { background: rgba(180,84,62,0.1); color: var(--danger); }

/* =========================  CTA BANNER  ========================= */
.cta-banner { background: var(--dark); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.cta-banner h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-banner p { color: rgba(245,240,232,0.78); max-width: 50ch; margin: 0 auto 2rem; }

/* =========================  FOOTER  ========================= */
.footer { background: var(--dark); color: rgba(245,240,232,0.7); padding: 3.5rem 0 2rem; text-align: center; }
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 1.2rem; }
.footer-logo img { display: block; height: 84px; width: auto; }
.mobile-menu .nav-logo img { height: 52px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-bottom: 1.8rem; }
.footer-links a { font-family: var(--font-ui); font-size: var(--text-sm); color: rgba(245,240,232,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-disclaimer { font-size: var(--text-sm); max-width: 50ch; margin: 0 auto 1rem; color: rgba(245,240,232,0.5); }
.footer-copy { font-family: var(--font-ui); font-size: var(--text-xs); color: rgba(245,240,232,0.4); }

/* =========================  COOKIE BANNER  ========================= */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--dark-soft); color: var(--cream); padding: 1.2rem 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; box-shadow: 0 -8px 30px rgba(0,0,0,0.2); transform: translateY(100%); transition: transform 0.4s var(--ease); }
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: var(--text-sm); color: rgba(245,240,232,0.85); max-width: 60ch; display: flex; align-items: center; gap: 0.6rem; }
.cookie-actions { display: flex; gap: 0.8rem; }
.cookie-actions button { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; padding: 0.6rem 1.4rem; border-radius: var(--radius-pill); }
.cookie-refuse { background: transparent; color: rgba(245,240,232,0.7); border: 1px solid rgba(245,240,232,0.25); }
.cookie-accept { background: var(--sage); color: var(--cream); }

/* =========================  STICKY MOBILE CTA  ========================= */
.sticky-cta { display: none; }

/* — Reveal animation — */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================  RESPONSIVE  ========================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .phases, .blog-grid, .calc-results { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .phases, .blog-grid { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .calc-result { padding: 1rem 0.4rem; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .nav-cta .btn { padding: 0.7rem 1.1rem; font-size: var(--text-xs); }
  .price-head .price-amount { font-size: 3rem; }
  .cta-banner { padding: clamp(1.8rem, 7vw, 2.5rem) 1.25rem; }
  .cta-banner .btn { display: block; width: 100%; max-width: 100%; white-space: normal; padding: 0.95rem 1.1rem; box-sizing: border-box; }
  .sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--cream); border-top: 1px solid var(--line); padding: 0.7rem 14px; gap: 0.75rem; align-items: center; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); }
  .sticky-cta .sc-price { flex: 0 0 auto; font-family: var(--font-ui); font-weight: 700; font-size: var(--text-sm); white-space: nowrap; }
  .sticky-cta .btn { flex: 1 1 auto; padding: 0.8rem; text-align: center; justify-content: center; white-space: nowrap; }
  body.has-sticky { padding-bottom: 70px; }
}

/* =========================================================================
   Modules additionnels : Quiz, Préparation, Ressources, Inscription, Blog
   ========================================================================= */

/* --- Liste à coches / flèches --- */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--text); line-height: 1.6; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage-light); font-weight: 700; }
.arrow-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.85rem; }
.arrow-list li { position: relative; padding-left: 2rem; color: var(--text); line-height: 1.6; }
.arrow-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* --- Tableau programme jours --- */
.day-table { display: grid; gap: 0.7rem; margin: 1.5rem 0; }
.day-row { display: grid; grid-template-columns: 72px 1fr; gap: 1.1rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.day-tag { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--sage); }
.day-body strong { display: block; font-family: var(--font-ui); font-weight: 600; margin-bottom: 0.2rem; color: var(--dark); }
.day-body span { font-size: var(--text-sm); color: var(--text-light); line-height: 1.55; }

/* --- Pour toi / pas pour toi --- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.fit-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.fit-col h3 { font-family: var(--font-ui); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.fit-col.yes h3 { color: var(--sage); }
.fit-col.no h3 { color: var(--danger); }
.fit-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.fit-col li { position: relative; padding-left: 1.8rem; font-size: var(--text-sm); color: var(--text); line-height: 1.55; }
.fit-col.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-light); font-weight: 700; }
.fit-col.no li::before { content: "✗"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
@media (max-width: 600px) { .fit-grid { grid-template-columns: 1fr; } }

/* --- Cartes ressources --- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin: 2rem 0; }
.res-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; text-decoration: none; color: var(--text); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-light); }
.res-icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.res-card h3 { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: 0.5rem; color: var(--dark); }
.res-card p { font-size: var(--text-sm); color: var(--text-light); line-height: 1.6; margin-bottom: 0.8rem; }
.res-card .res-go { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 600; color: var(--accent); }
@media (max-width: 700px) { .res-grid { grid-template-columns: 1fr; } }

/* --- Parcours recommandé --- */
.journey { counter-reset: step; display: grid; gap: 1rem; margin: 2rem 0; max-width: 640px; }
.journey-step { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; align-items: center; }
.journey-step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--cream); font-family: var(--font-display); font-weight: 800; }
.journey-step a { font-weight: 600; color: var(--sage-dark); text-decoration: none; }
.journey-step a:hover { text-decoration: underline; }
.journey-step span { font-size: var(--text-sm); color: var(--text-light); }

/* --- QUIZ --- */
.quiz-shell { max-width: 680px; margin: 2.5rem auto 0; }
.quiz-progress { font-family: var(--font-ui); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 0.4rem; }
.quiz-bar { height: 6px; background: var(--warm); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 1.8rem; }
.quiz-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--gold)); width: 10%; transition: width 0.35s ease; }
.quiz-question { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; margin-bottom: 1.5rem; color: var(--dark); }
.quiz-answers { display: grid; gap: 0.8rem; }
.quiz-answer { text-align: left; width: 100%; padding: 1.1rem 1.3rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font-family: var(--font-body); font-size: var(--text-base); color: var(--text); cursor: pointer; transition: border-color 0.18s, background 0.18s, transform 0.1s; }
.quiz-answer:hover { border-color: var(--sage-light); background: var(--cream-soft); }
.quiz-answer:active { transform: scale(0.99); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.quiz-back { background: none; border: none; color: var(--text-light); font-family: var(--font-ui); font-size: var(--text-sm); cursor: pointer; }
.quiz-back:hover { color: var(--text); }
.quiz-back[disabled] { opacity: 0.35; cursor: default; }
.quiz-result-badge { display: inline-block; font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cream); background: var(--sage); padding: 0.45rem 1.1rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.quiz-scores { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.5rem 0; }
.quiz-score { font-family: var(--font-ui); font-size: var(--text-xs); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: var(--cream-soft); border: 1px solid var(--line-soft); color: var(--text-light); }
.quiz-score.lead { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.result-block { margin: 1.5rem 0; }
.result-block h3 { font-family: var(--font-ui); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; }
.result-block p { color: var(--text); line-height: 1.75; }
.hidden { display: none !important; }

/* --- Inclusions / badges produit --- */
.incl-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.incl-badge { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500; padding: 0.6rem 1.1rem; border-radius: var(--radius-pill); background: var(--cream-soft); border: 1px solid var(--line); color: var(--text); }

/* --- Blog filtres actifs --- */
.blog-filter.active { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.cat-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }

/* --- Tag d'article --- */
.blog-tag { font-family: var(--font-ui); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.faq-icon { float: right; color: var(--sage-light); font-weight: 700; transition: transform 0.2s; }

/* --- Exit-intent popup --- */
.exit-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(26,26,24,0.55); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; padding: 1.2rem; opacity: 0; transition: opacity 0.25s ease; }
.exit-overlay.show { opacity: 1; }
.exit-modal { background: var(--cream-soft); border-radius: var(--radius-lg); padding: clamp(1.8rem, 5vw, 2.8rem); max-width: 440px; width: 100%; text-align: center; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.3); transform: translateY(12px) scale(0.98); transition: transform 0.25s var(--ease); }
.exit-overlay.show .exit-modal { transform: none; }
.exit-modal h3 { font-family: var(--font-display); font-size: var(--text-2xl); margin: 1rem 0 0.6rem; color: var(--dark); }
.exit-modal p { color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; }
.exit-close { position: absolute; top: 0.8rem; right: 1rem; background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--text-muted); cursor: pointer; }
.exit-close:hover { color: var(--text); }
.exit-dismiss { display: block; width: 100%; margin-top: 0.9rem; background: none; border: none; color: var(--text-muted); font-family: var(--font-ui); font-size: var(--text-sm); cursor: pointer; }
.exit-dismiss:hover { color: var(--text); text-decoration: underline; }
