/* ==========================================================================
   CLARTÉ — Tao de l'Arbre · Denis Bournaud
   Design system : forêt profonde, crème, sauge, accent or.
   Charte reprise de la landing Systeme.io (mai 2026) + titres en serif.
   ========================================================================== */

/* Polices auto-hébergées (RGPD : aucune requête vers Google) — licence SIL OFL */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Couleurs de marque (charte existante) */
  --forest: #123725;
  --forest-2: #1d4a35;
  --moss: #2d5c43;
  --sage: #c8d7c2;
  --sage-50: #eef3eb;
  --lichen: #d6e0c5;
  --cream: #fbfaf6;
  --sand: #f3f1ea;
  --bark: #8a6a4a;
  --gold: #d4a017;
  --gold-ink: #8f6a06;      /* or lisible sur fond clair */
  --ink: #16201a;
  --muted: #55605a;
  --line: #e2e2d8;
  --white: #ffffff;
  --wa: #15803d;            /* vert WhatsApp assombri : contraste AA (5:1) avec le blanc */
  --tbc: #fff3c4;

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

  /* Formes */
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --max: 1180px;
  --gap: 24px;
  --shadow: 0 1px 2px rgba(18, 55, 37, .06), 0 8px 24px rgba(18, 55, 37, .08);
  --shadow-lg: 0 2px 4px rgba(18, 55, 37, .06), 0 24px 48px rgba(18, 55, 37, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "opsz" 72;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em.accent, .accent { font-style: italic; color: var(--moss); }
strong { font-weight: 600; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: var(--pill);
}
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage-50); }
.section--forest { background: var(--forest); color: #e8efe6; }
.section--forest h2, .section--forest h3 { color: var(--cream); }
.section--forest .eyebrow { color: var(--lichen); }
.section--forest .eyebrow::before { background: var(--gold); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* À CONFIRMER — placeholders visibles pour validation avec Denis */
.tbc {
  background: var(--tbc);
  border-bottom: 2px dashed var(--gold);
  padding: 0 4px; border-radius: 4px;
  color: inherit; font-style: normal;
}
.tbc::before { content: "À confirmer · "; font-size: .72em; font-weight: 700; letter-spacing: .04em; color: var(--gold-ink); }
.section--forest .tbc { color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: var(--pill); border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--forest-2); color: var(--white); box-shadow: var(--shadow-lg); }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 8px 22px rgba(21, 128, 61, .28); }
.btn--wa:hover { background: #116b33; color: var(--white); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: var(--white); color: var(--forest); }
.btn--gold { background: var(--gold); color: var(--forest); }
.btn--gold:hover { background: #e2b12b; color: var(--forest); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.micro { font-size: .86rem; color: var(--muted); margin-top: 12px; }
.micro .dot { display: inline-block; width: 4px; height: 4px; background: currentColor; border-radius: 50%; vertical-align: middle; margin: 0 8px; opacity: .6; }
.section--forest .micro { color: #bfd0c3; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(18, 55, 37, .05); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand-mark { width: 46px; height: 46px; flex: none; margin: -4px 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: var(--pill);
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--sage-50); color: var(--forest); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; color: var(--forest); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-phone svg { width: 18px; height: 18px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--forest);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--cream); padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-open .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(200, 215, 194, .55), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--moss); }
.hero .lead { margin-bottom: 30px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: -24px; bottom: 32px;
  background: var(--white); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 280px;
}
.hero-badge img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; box-shadow: none; }
.hero-badge strong { display: block; font-size: .95rem; color: var(--forest); }
.hero-badge span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-media img { aspect-ratio: 4 / 3; object-position: 50% 20%; border-radius: var(--radius-lg); }
  .hero-badge { left: 12px; bottom: 12px; }
}

.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line);
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--moss); flex: none; margin-top: 2px; }
.trust-item strong { display: block; font-size: .98rem; color: var(--forest); line-height: 1.3; }
.trust-item span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 880px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(18, 55, 37, .04);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- Checklist « Vous vous reconnaissez ? » ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 720px) { .checklist { grid-template-columns: 1fr; } }
.check {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: border-color .15s ease, background .15s ease;
  font-size: 1rem; line-height: 1.5;
}
.check:hover { border-color: var(--sage); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--sage); flex: none; margin-top: 1px;
  display: grid; place-items: center; transition: all .15s ease; background: var(--white);
}
.check .box svg { width: 14px; height: 14px; color: var(--white); opacity: 0; }
.check input:checked + .box { background: var(--forest); border-color: var(--forest); }
.check input:checked + .box svg { opacity: 1; }
.check:has(input:checked) { border-color: var(--forest); background: var(--sage-50); }
.check input:focus-visible + .box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check-result {
  margin-top: 28px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--forest); color: var(--cream);
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.check-result p { margin: 0; font-size: 1.08rem; max-width: 560px; }
.check-result strong { color: var(--gold); }

/* ---------- Stats ---------- */
.stat { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--forest); line-height: 1; margin-bottom: 10px; }
.stat p { color: var(--muted); font-size: .98rem; margin-bottom: 8px; }
.stat small { font-size: .76rem; color: var(--muted); opacity: .85; }
.quote-big {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: var(--forest);
  max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: center;
}

/* ---------- Piliers ---------- */
.pillar { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pillar-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.pillar-num { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.pillar-offers { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 6px; font-size: .92rem; }
.pillar-offers li { padding-left: 14px; position: relative; }
.pillar-offers li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.pillar-result { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--moss); font-weight: 500; }

/* ---------- Offres ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.offer {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.offer--featured { border: 2px solid var(--forest); box-shadow: var(--shadow-lg); }
.offer--signature { background: var(--forest); color: #dfe8dc; border-color: var(--forest); }
.offer--signature h3, .offer--signature .offer-price { color: var(--cream); }
.offer--signature .offer-tag { background: var(--gold); color: var(--forest); }
.offer--signature .offer-meta span { background: rgba(255,255,255,.08); color: var(--lichen); }
.offer--signature .offer-list li::before { background-color: var(--gold); }
.offer--signature .offer-note { color: var(--lichen); }
.offer-badge {
  position: absolute; top: -14px; left: 30px;
  background: var(--gold); color: var(--forest); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--pill);
}
.offer-tag {
  align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sage-50); color: var(--moss); padding: 6px 12px; border-radius: var(--pill); margin-bottom: 16px;
}
.offer h3 { font-size: 1.7rem; margin-bottom: 4px; }
.offer-name { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--moss); margin-bottom: 14px; }
.offer--signature .offer-name { color: var(--lichen); }
.offer-hook { font-size: 1rem; margin-bottom: 18px; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.offer-meta span { font-size: .82rem; background: var(--sand); color: var(--ink); padding: 6px 12px; border-radius: var(--pill); }
.offer-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.offer-list li { position: relative; padding-left: 28px; font-size: .96rem; line-height: 1.5; }
.offer-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.offer--signature .offer-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123725' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.offer-foot { margin-top: auto; }
.offer-price { font-family: var(--font-display); font-size: 2.6rem; color: var(--forest); line-height: 1; }
.offer-price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.offer--signature .offer-price small { color: var(--lichen); }
.offer-note { font-size: .86rem; color: var(--muted); margin: 8px 0 18px; }
.offer-note strong { color: var(--moss); }
.offer--signature .offer-note strong { color: var(--gold); }
.offer-actions { display: grid; gap: 10px; }
.offer-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-top: 10px; }
.offer-secure svg { width: 14px; height: 14px; }
.offer--signature .offer-secure { color: var(--lichen); }

/* Progression 1 → 6 → 12 */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 960px; position: relative; }
.ladder::before { content: ""; position: absolute; top: 22px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--sage) 0 8px, transparent 8px 14px); }
.ladder-step { text-align: center; padding: 0 12px; position: relative; }
.ladder-dot {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--forest); font-family: var(--font-display); font-weight: 600; color: var(--forest);
}
.ladder-step:nth-child(2) .ladder-dot { background: var(--sage); }
.ladder-step:nth-child(3) .ladder-dot { background: var(--forest); color: var(--cream); }
.ladder-step strong { display: block; color: var(--forest); font-size: 1rem; }
.ladder-step span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) {
  .ladder { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .ladder::before { display: none; }
  .ladder-step { display: grid; grid-template-columns: 46px 1fr; gap: 14px; text-align: left; align-items: center; }
  .ladder-dot { margin: 0; }
}

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--sand); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--forest); }
.compare thead th:last-child { background: var(--forest); color: var(--cream); }
.compare tbody th { font-weight: 600; color: var(--forest); width: 22%; background: var(--cream); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: var(--moss); font-weight: 600; }
.compare td.no { color: #a0a69f; }

/* Timeline jour par jour / semaines */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
}
.timeline .when { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.timeline strong { color: var(--forest); display: block; }
.timeline span { color: var(--muted); font-size: .94rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.trees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .trees { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .trees { grid-template-columns: 1fr; } }
.tree { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tree .wk { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.tree strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--forest); margin: 6px 0 2px; }
.tree span { color: var(--moss); font-style: italic; }

.phases { counter-reset: ph; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .phases { grid-template-columns: 1fr; } }
.phase { border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.phase::before { counter-increment: ph; content: "0" counter(ph); font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 6px; }
.phase strong { display: block; color: var(--cream); font-size: 1.1rem; margin-bottom: 4px; }
.phase span { color: #bfd0c3; font-size: .94rem; }

/* ---------- Quiz d'orientation ---------- */
.quiz { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); max-width: 760px; margin: 0 auto; border: 1px solid var(--line); }
.quiz-progress { height: 6px; background: var(--sand); border-radius: var(--pill); overflow: hidden; margin-bottom: 26px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: var(--pill); transition: width .3s ease; }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fade .35s ease; }
.quiz-q { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--forest); margin-bottom: 18px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-opt {
  text-align: left; background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px;
  font: 500 1rem/1.45 var(--font-body); color: var(--ink); cursor: pointer; transition: all .15s ease;
}
.quiz-opt:hover { border-color: var(--moss); background: var(--sage-50); }
.quiz-result h3 { margin-bottom: 8px; }
.quiz-result .offer-price { font-size: 2rem; margin: 10px 0 18px; }
.quiz-back { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .9rem; margin-top: 16px; padding: 6px 0; text-decoration: underline; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Denis ---------- */
.portrait { position: relative; }
.portrait img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.portrait::after {
  content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--sage); border-radius: var(--radius-lg); z-index: -1;
}
.creds { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.creds li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.creds svg { width: 24px; height: 24px; color: var(--moss); margin-top: 2px; }
.signature-quote {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; margin: 24px 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--forest); line-height: 1.45;
}

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); margin: 0; display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 18px; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45; color: var(--forest); }
.testimonial figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: .9rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; font-weight: 700; flex: none; }
.testimonial figcaption span { color: var(--muted); display: block; font-size: .82rem; }
.words { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.words span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; padding: 10px 20px; border-radius: var(--pill); background: var(--sage-50); color: var(--forest); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: st; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: st; content: counter(st);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--forest); color: var(--cream); font-family: var(--font-display); font-size: 1.25rem;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: border-color .15s ease; }
.faq details[open] { border-color: var(--sage); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 1.04rem; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding-bottom: 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--forest); color: #dfe8dc; padding: clamp(40px, 7vw, 80px); text-align: center; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(200, 215, 194, .08); }
.cta-band::before { width: 420px; height: 420px; top: -200px; left: -120px; }
.cta-band::after { width: 320px; height: 320px; bottom: -180px; right: -80px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--cream); max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band .lead { color: #c9d8cc; }
.cta-band .micro { color: #bfd0c3; }

/* ---------- Pages internes ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--sage-50), var(--cream)); }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumb a { color: var(--muted); }
.tldr {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 20px 24px; margin: 28px 0; font-size: 1.02rem;
}
.tldr strong:first-child { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .card { margin: 28px 0; }
.meta-line { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 760px) { .article-cards { grid-template-columns: 1fr; } }
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.article-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-card div { padding: 24px; }
.article-card h3 { font-size: 1.35rem; }
.article-card p { color: var(--muted); margin: 0; font-size: .96rem; }

.notice { font-size: .88rem; color: var(--muted); background: var(--sand); border-radius: 12px; padding: 14px 18px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-methods span { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 10px 16px; border-radius: var(--pill); font-size: .9rem; font-weight: 500; }
.pay-methods svg { width: 18px; height: 18px; color: var(--moss); }

/* ---------- Footer ---------- */
.site-footer { background: #0d2a1c; color: #b9c9bd; padding: 64px 0 120px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lichen); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe8dc; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.site-footer .brand-sub { color: #9fb3a5; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; color: #8ea595; }

/* ---------- Conversion : bouton flottant + barre mobile ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: var(--white); text-decoration: none; font-weight: 600;
  padding: 14px 20px 14px 16px; border-radius: var(--pill);
  box-shadow: 0 10px 30px rgba(18, 55, 37, .28);
  transform: translateY(120px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { color: var(--white); background: #116b33; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .pulse { position: absolute; top: 8px; left: 34px; width: 10px; height: 10px; border-radius: 50%; background: #b6f5c9; border: 2px solid var(--wa); }
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 250, 246, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18, 55, 37, .08);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding: 10px 14px; font-size: .95rem; }
  body { padding-bottom: 0; }
}

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Petits écrans (≤ 480 px) ---------- */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .trust { grid-template-columns: 1fr; gap: 14px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .check-result { flex-direction: column; align-items: stretch; text-align: left; padding: 22px; }
  .check-result .btn { width: 100%; }
  .offer { padding: 30px 22px 24px; }
  .card, .step, .stat, .quiz { padding: 22px; }
  .cta-band { padding: 36px 20px; }
  .hero-badge { max-width: calc(100% - 24px); }
  .faq details { padding: 0 18px; }
  .words span { font-size: 1rem; padding: 8px 14px; }
  .portrait::after { inset: 12px -8px -12px 12px; }
}
/* Tablettes : les 3 offres restent lisibles en une colonne centrée, la checklist en 2 colonnes */
@media (min-width: 641px) and (max-width: 1000px) {
  .offers { max-width: 640px; }
  .testimonials { gap: 16px; }
}
.mobile-only { display: none; }
@media (max-width: 880px) {
  .mobile-only { display: flex; margin: 8px 0 28px; }
  aside.offer { position: static !important; scroll-margin-top: 90px; }
}

/* ---------- Bandeau cookies ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none; justify-content: center; pointer-events: none; }
.consent.is-open { display: flex; }
.consent-box {
  pointer-events: auto; width: 100%; max-width: 640px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(18, 55, 37, .22);
  padding: 22px 24px; animation: fade .3s ease;
}
.consent-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest); margin: 0 0 6px; }
.consent-text { font-size: .93rem; color: var(--muted); margin: 0 0 14px; }
.consent-prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.consent-prefs[hidden] { display: none; }
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.consent-row span { display: flex; flex-direction: column; font-size: .93rem; }
.consent-row small { color: var(--muted); font-size: .82rem; }
.consent-row input { width: 20px; height: 20px; accent-color: var(--forest); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent-actions .btn { min-height: 44px; }
.consent-actions [hidden] { display: none; }
body.consent-open .wa-float, body.consent-open .mobile-bar { visibility: hidden; }
@media (max-width: 520px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-box { padding: 18px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions [data-c="accept"], .consent-actions [data-c="save"] { grid-column: 1 / -1; order: -1; }
}
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #dfe8dc; cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--white); text-decoration: underline; }

/* Réseaux sociaux (pied de page) */
.social { margin-top: 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: #dfe8dc; text-decoration: none; font-weight: 500; }
.social a:hover { color: #fff; }
.social svg { width: 22px; height: 22px; }

/* Agenda des stages (page Stages et accompagnements) */
.agenda { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.agenda-empty { text-align: center; }
.agenda-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.agenda-date { text-align: center; background: var(--forest); color: var(--cream); border-radius: 12px; padding: 10px 6px; line-height: 1.1; }
.agenda-date strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; }
.agenda-date span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.agenda-body h3 { margin: 0 0 4px; font-size: 1.2rem; }
.agenda-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin: 0 0 6px; }
.agenda-body p:last-child { margin: 0; }
.agenda-full { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 640px) {
  .agenda-item { grid-template-columns: 72px 1fr; }
  .agenda-item .btn { grid-column: 1 / -1; justify-self: start; }
}

/* Menu à 5 entrées : pas de retour à la ligne ; sur écran moyen, le téléphone passe en icône */
.nav-links a, .nav-phone { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) {
  .nav { gap: 12px; }
  .nav-links a { padding: 10px 10px; }
  .nav-phone { font-size: 0; gap: 0; padding: 10px; }
}

/* Actualités (espace d'administration) */
.actu-date { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
[data-actus][hidden] { display: none; }
.actus-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; }
.nowrap { white-space: nowrap; }
