/* ==========================================================================
   Institut Hippocrate — École de naturopathie
   Direction : académie chaleureuse & rassurante (inspiration Hippocratus).
   Poppins (titres, rond & sûr) + Mulish (texte). Vert nature, crème, terracotta.
   ========================================================================== */

:root {
  --cream:   #f5f1e8;
  --cream-2: #efe9dc;
  --cream-3: #e7dfcd;
  --forest:  #26332a;   /* vert très foncé — texte / sections sombres */
  --green:   #3f6e4c;   /* vert principal — boutons, accents */
  --green-d: #345c40;
  --sage:    #6f7d62;
  --terra:   #c67a5b;   /* terracotta — bandeau chiffres, accents chauds */
  --terra-d: #b56a4c;
  --gold:    #b8923f;
  --ink:     #2a3329;
  --stone:   #6d7365;   /* neutre chaud choisi */
  --white:   #fbfaf5;
  --line:    rgba(38, 51, 42, 0.12);
  --shadow:  0 24px 50px -30px rgba(38, 51, 42, 0.45);
  --shadow-s:0 12px 30px -22px rgba(38, 51, 42, 0.5);

  --head: "Poppins", system-ui, sans-serif;
  --body: "Mulish", system-ui, -apple-system, sans-serif;
  --serif: "Poppins", system-ui, sans-serif; /* compat anciennes classes */
  --sans: "Mulish", system-ui, sans-serif;

  --r:    22px;
  --r-lg: 32px;
  --pill: 999px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--forest); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--stone); }
strong, b { font-weight: 700; color: var(--forest); }
.serif-it { font-style: italic; }
.hl { color: var(--green); }
::selection { background: var(--green); color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.band { padding: clamp(60px, 8vw, 118px) 0; }
.band--paper2 { background: var(--cream-2); }
.band--forest { background: var(--forest); color: var(--cream); }
.band--forest h1, .band--forest h2, .band--forest h3 { color: var(--white); }
.band--forest .lead, .band--forest .quiet { color: rgba(245,241,232,.82); }
.hairline { height: 1px; background: var(--line); border: 0; }
.quiet { color: var(--stone); }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 46px; }

/* Kicker : pastille arrondie */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--green);
  background: rgba(63,110,76,.1); padding: 8px 16px; border-radius: var(--pill);
}
.kicker.center { }
.kicker.on-dark, .on-dark .kicker, .band--forest .kicker { color: var(--cream); background: rgba(245,241,232,.14); }
.eyebrow-line { display:flex; justify-content:center; }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 20px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  padding: 15px 30px; border-radius: var(--pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 14px 26px -16px rgba(63,110,76,.9); }
.btn-primary:hover { background: var(--green-d); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn-line { background: transparent; border-color: var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--white); }
.btn-pale { background: transparent; border-color: rgba(245,241,232,.5); color: var(--cream); }
.btn-pale:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-terra { background: var(--terra); color: var(--white); }
.btn-terra:hover { background: var(--terra-d); transform: translateY(-2px); }
.btn-brass { background: var(--terra); color: var(--white); }
.btn-brass:hover { background: var(--terra-d); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--green); }
.tlink::after { content: "→"; transition: transform .2s ease; }
.tlink:hover::after { transform: translateX(4px); }
.on-dark .tlink, .band--forest .tlink { color: var(--cream); }

/* étoiles + preuve sociale */
.rating { display: inline-flex; align-items: center; gap: 12px; }
.rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.rating span { font-size: .9rem; color: var(--stone); font-weight: 600; }
.on-dark .rating span, .hero-inner .rating span { color: rgba(245,241,232,.9); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .seal { width: 44px; height: 44px; color: var(--green); flex: none; }
.brand .wm { font-family: var(--head); font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em; color: var(--forest); line-height: 1; }
.brand .wm span { display: block; font-family: var(--body); font-weight: 600; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--head); font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-links a.active:not(.btn) { color: var(--green); }
.nav-cta { padding: 11px 22px; font-size: .88rem; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 70; }
.burger span { display: block; width: 26px; height: 2px; background: var(--forest); border-radius: 2px; margin: 6px 0; transition: .3s; }

/* ---------- HERO accueil (carte image plein cadre) ---------- */
.hero-home { padding: clamp(16px, 3vw, 30px) 0 clamp(40px, 6vw, 70px); }
.hcard { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: min(74vh, 660px); display: flex; align-items: center; box-shadow: var(--shadow); }
.hcard .bg { position: absolute; inset: 0; }
.hcard .bg img { width: 100%; height: 100%; object-fit: cover; }
.hcard .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,34,26,.86) 0%, rgba(24,34,26,.62) 42%, rgba(24,34,26,.15) 100%); }
.hero-inner { position: relative; z-index: 2; color: var(--white); padding: clamp(30px, 5vw, 72px); max-width: 620px; }
.hero-inner .kicker { color: var(--white); background: rgba(245,241,232,.16); }
.hero-inner h1 { color: var(--white); margin-top: 22px; }
.hero-inner h1 em { font-style: normal; color: #e6c98a; }
.hero-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.hero-checks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 1.02rem; color: rgba(245,241,232,.94); }
.hero-checks .ck { width: 22px; height: 22px; border-radius: 50%; background: rgba(245,241,232,.16); display: grid; place-items: center; margin-top: 3px; }
.hero-actions { margin-top: 30px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-home .rating { margin-top: 22px; }

/* ---------- Bandeau confiance ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 44px; justify-content: center; padding-block: 20px; }
.trust span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--sage); }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

/* ---------- Feature (texte + image) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: center; }
.feature--reverse .feature-media { order: 2; }
.feature h2 { margin-top: 18px; }
.feature .lead { margin-top: 18px; }
.arch { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--sage), var(--forest)); box-shadow: var(--shadow); aspect-ratio: 5/4.4; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.tall { aspect-ratio: 4/4.6; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 1rem; }
.checklist li::before { content: "✓"; width: 24px; height: 24px; flex: none; border-radius: 50%; background: rgba(63,110,76,.14); color: var(--green); font-size: .8rem; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.band--forest .checklist li::before { background: rgba(245,241,232,.16); color: var(--cream); }
.hero-inner .checklist li::before { color: #fff; }

/* ---------- Cartes (grille) ---------- */
.cards { display: grid; gap: 22px; }
.cards-2 { grid-template-columns: repeat(2,1fr); }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.cards-4 { grid-template-columns: repeat(4,1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 2.6vw, 36px); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(63,110,76,.1); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.card .idx { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cream-2); color: var(--green); font-family: var(--head); font-weight: 700; margin-bottom: 16px; }
.card h3 { font-size: 1.28rem; }
.card p { margin-top: 10px; color: var(--stone); font-size: .98rem; line-height: 1.62; }
.band--paper2 .card { background: var(--white); }

/* cartes photo (blocs de formation) */
.photo-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pcard { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-s); display: flex; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,34,26,.15) 0%, rgba(24,34,26,.8) 100%); }
.pcard:hover img { transform: scale(1.05); }
.pcard .pc-in { position: relative; z-index: 2; margin-top: auto; padding: 24px; color: var(--white); }
.pcard .pc-no { font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,241,232,.8); }
.pcard h3 { color: var(--white); margin-top: 6px; font-size: 1.3rem; }
.pcard .pc-tag { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 600; color: #e6c98a; }

/* ---------- Deux chemins ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path { padding: clamp(28px,3vw,44px); border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.path.dark { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.path .num { font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.path.dark .num { color: #e6c98a; }
.path h3 { margin-top: 12px; font-size: 1.55rem; }
.path.dark h3 { color: var(--white); }
.path p { margin-top: 14px; color: var(--stone); }
.path.dark p { color: rgba(245,241,232,.82); }

/* ---------- Comparatif ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare .col { padding: clamp(28px,3vw,44px); border-radius: var(--r); }
.compare .others { background: var(--cream-2); border: 1px solid var(--line); }
.compare .ours { background: var(--forest); color: var(--cream); }
.compare .tag { font-family: var(--head); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.compare .others .tag { color: var(--stone); }
.compare .ours .tag { color: #e6c98a; }
.compare p { margin-top: 14px; font-size: 1.08rem; }
.compare .others p { color: var(--ink); }
.compare .ours p { color: var(--cream); }
.compare-note { grid-column: 1/-1; text-align: center; font-style: italic; font-size: 1.15rem; color: var(--sage); margin-top: 6px; }

/* ---------- Déroulé (étapes) ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step-c { background: rgba(245,241,232,.06); border: 1px solid rgba(245,241,232,.16); border-radius: var(--r); padding: 30px 26px; }
.band--forest .step-c { background: rgba(245,241,232,.06); }
.step-c .no { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--terra); color: #fff; font-family: var(--head); font-weight: 700; }
.step-c h3 { margin-top: 16px; color: var(--white); font-size: 1.2rem; }
.step-c p { margin-top: 10px; color: rgba(245,241,232,.75); font-size: .94rem; }

/* ---------- Bandeau chiffres (terracotta) ---------- */
.stat-band { background: var(--terra); border-radius: var(--r-lg); padding: clamp(40px,5vw,64px); }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,3vw,36px); }
.stat { text-align: center; }
.stat .n { font-family: var(--head); font-weight: 700; font-size: clamp(2.4rem,4.5vw,3.4rem); color: var(--white); line-height: 1; letter-spacing: -.02em; }
.stat .l { margin-top: 10px; font-size: .9rem; color: rgba(255,255,255,.86); font-weight: 600; }
.band--forest .stat .n { color: var(--white); }
.band--forest .stat .l { color: rgba(245,241,232,.75); }

/* ---------- Témoignages ---------- */
.quote-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,5vw,68px); align-items: center; }
.quote-feature blockquote { margin: 0; font-family: var(--head); font-weight: 600; font-size: clamp(1.5rem,2.8vw,2.2rem); line-height: 1.32; color: var(--forest); letter-spacing: -.01em; }
.quote-feature .attr { margin-top: 22px; color: var(--stone); font-size: .95rem; }
.quote-feature .attr b { color: var(--forest); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px,2.6vw,32px); display: flex; flex-direction: column; }
.testi .stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.testi p { margin-top: 14px; font-size: 1.04rem; line-height: 1.6; color: var(--ink); flex: 1; }
.testi .who { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-family: var(--head); font-weight: 600; flex: none; }
.testi .who b { font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--ink); display: block; }
.testi .who span { font-size: .82rem; color: var(--stone); }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,3vw,36px); }
.member .arch { aspect-ratio: 4/4.4; margin-bottom: 18px; }
.member .monogram { display: grid; place-items: center; }
.member .monogram .seal { width: 92px; height: 92px; color: rgba(245,241,232,.9); }
.member h3 { font-size: 1.3rem; }
.member .role { margin-top: 4px; font-family: var(--head); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--terra); }
.member p { margin-top: 12px; color: var(--stone); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; padding: 4px 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--head); font-weight: 600; font-size: 1.12rem; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--green); transition: transform .3s ease; }
.faq summary .pm::before { top: 13.5px; left: 4px; right: 4px; height: 2px; }
.faq summary .pm::after { left: 13px; top: 4px; bottom: 4px; width: 2px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details p { padding: 0 0 22px; color: var(--stone); }

/* ---------- Carte d'inscription ---------- */
.signup { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px,3vw,40px); box-shadow: var(--shadow); }
.signup .tag { display: inline-block; font-family: var(--head); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--white); background: var(--terra); padding: 7px 14px; border-radius: var(--pill); }
.signup h3 { margin-top: 16px; font-size: 1.7rem; }
.signup .when { margin-top: 8px; color: var(--stone); font-size: .95rem; }
.field { margin-top: 14px; }
.field label { display: block; font-family: var(--head); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font-family: var(--body); font-size: 1rem; color: var(--ink); transition: border-color .2s ease; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.signup .btn, .contact-form .btn { width: 100%; justify-content: center; margin-top: 18px; }
.fineprint { margin-top: 14px; font-size: .78rem; color: var(--stone); text-align: center; }
.form-success { display: none; text-align: center; padding: 12px 0; }
.form-success.show { display: block; }
.form-success .tick { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { margin-top: 8px; color: var(--stone); }

/* ---------- CTA (image) ---------- */
.cta { position: relative; overflow: hidden; color: var(--cream); }
.cta .bg { position: absolute; inset: 0; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,34,26,.74), rgba(24,34,26,.9)); }
.cta .wrap { position: relative; z-index: 2; text-align: center; padding-block: clamp(70px,9vw,130px); }
.cta h2 { color: var(--white); font-size: clamp(2rem,4.4vw,3.2rem); max-width: 22ch; margin-inline: auto; }
.cta h2 em { font-style: normal; color: #e6c98a; }
.cta p { margin: 20px auto 32px; max-width: 48ch; color: rgba(245,241,232,.88); }

/* ---------- Page hero intérieur ---------- */
.page-hero { background: var(--forest); color: var(--cream); padding: clamp(52px,7vw,104px) 0 clamp(44px,6vw,80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(245,241,232,.05); top: -160px; right: -110px; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumb { font-family: var(--head); font-size: .8rem; color: rgba(245,241,232,.6); margin-bottom: 22px; }
.page-hero .crumb a:hover { color: #e6c98a; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { margin-top: 22px; max-width: 58ch; color: rgba(245,241,232,.85); }
.page-hero .kicker { color: var(--cream); background: rgba(245,241,232,.14); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact-info .row { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:first-of-type { border-top: 1px solid var(--line); }
.contact-info .row .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(63,110,76,.1); display: grid; place-items: center; color: var(--green); }
.contact-info .row b { font-family: var(--head); font-size: 1.05rem; color: var(--forest); }
.contact-info .row span { display: block; color: var(--stone); font-size: .95rem; margin-top: 2px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px,3vw,44px); box-shadow: var(--shadow-s); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(245,241,232,.72); padding: clamp(56px,7vw,88px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(245,241,232,.14); }
.site-footer .brand .wm, .site-footer .brand .seal { color: var(--white); }
.site-footer .brand .wm span { color: rgba(245,241,232,.6); }
.footer-about { margin-top: 20px; font-size: .95rem; max-width: 34ch; line-height: 1.7; }
.footer-col h4 { font-family: var(--head); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #e6c98a; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .93rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .82rem; color: rgba(245,241,232,.5); }

/* ---------- Révélation ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .tlink, .pcard img { transition: none; }
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .feature, .quote-feature, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media, .quote-feature .feature-media { max-width: 540px; margin-inline: auto; width: 100%; }
  .cards-4, .photo-cards, .stat-row, .steps { grid-template-columns: repeat(2,1fr); }
  .team, .cards-3 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(84vw,360px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; background: var(--cream); padding: 40px var(--gutter); transform: translateX(100%); transition: transform .4s cubic-bezier(.7,0,.2,1); box-shadow: var(--shadow); border-left: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-links a { font-family: var(--head); font-size: 1.5rem; font-weight: 600; padding: 8px 0; }
  .nav-links .nav-cta { margin-top: 16px; font-size: .95rem; padding: 13px 26px; }
  .burger { display: block; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards-2, .cards-3, .cards-4, .photo-cards, .paths, .compare, .steps, .testi-grid, .team, .stat-row { grid-template-columns: 1fr; }
  .hcard { min-height: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   VARIÉTÉ DE MISES EN PAGE (éviter l'effet répétitif)
   ========================================================================== */

/* --- Liste numérotée éditoriale --- */
.numbers { display: grid; gap: 0; }
.nrow { display: grid; grid-template-columns: 130px 1fr auto; gap: clamp(18px, 4vw, 54px); align-items: start; padding: clamp(28px,3.4vw,44px) 0; border-top: 1px solid var(--line); }
.nrow:last-child { border-bottom: 1px solid var(--line); }
.nrow .big { font-family: var(--head); font-weight: 700; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: .85; color: var(--terra); }
.nrow h3 { font-size: clamp(1.3rem,2.4vw,1.7rem); }
.nrow p { margin-top: 10px; color: var(--stone); max-width: 58ch; }
.nrow .rtag { font-family: var(--head); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); white-space: nowrap; padding-top: 8px; }
.band--paper2 .nrow .big { color: var(--terra); }

/* --- Frise process horizontale --- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.pstep { position: relative; }
.pstep .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.15rem; position: relative; z-index: 2; box-shadow: 0 0 0 8px var(--cream); }
.band--paper2 .pstep .dot { box-shadow: 0 0 0 8px var(--cream-2); }
.band--forest .process::before { background: rgba(245,241,232,.2); }
.band--forest .pstep .dot { background: var(--terra); box-shadow: 0 0 0 8px var(--forest); }
.pstep h3 { margin-top: 20px; font-size: 1.2rem; }
.pstep p { margin-top: 8px; color: var(--stone); font-size: .95rem; }
.band--forest .pstep p { color: rgba(245,241,232,.75); }

/* --- Bloc citation / déclaration --- */
.statement { text-align: center; max-width: 900px; margin-inline: auto; }
.statement .mk { font-family: var(--head); font-size: 3rem; line-height: 1; color: var(--terra); }
.statement p { font-family: var(--head); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.28; letter-spacing: -.01em; color: var(--forest); margin-top: 8px; }
.band--forest .statement p { color: var(--white); }
.statement .by { margin-top: 22px; font-size: .95rem; color: var(--stone); }
.band--forest .statement .by { color: rgba(245,241,232,.7); }

/* --- Bandeau image large + panneau qui déborde --- */
.mediaband .img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/6.5; box-shadow: var(--shadow); }
.mediaband .img img { width: 100%; height: 100%; object-fit: cover; }
.mediaband .panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px,3vw,44px); box-shadow: var(--shadow); max-width: 540px; margin: -72px 0 0 clamp(16px, 5vw, 70px); position: relative; z-index: 2; }
.mediaband .panel h2 { font-size: clamp(1.6rem,2.6vw,2.1rem); }
.mediaband .panel p { margin-top: 12px; color: var(--stone); }

/* --- Duo d'images décalées --- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.duo .arch { margin: 0; }
.duo .arch:first-child { aspect-ratio: 4/5; }
.duo .arch:last-child { aspect-ratio: 4/5.6; margin-bottom: 40px; }

/* --- CTA vert plein (variante sans image) --- */
.cta.solid { background: var(--green); }
.cta.solid .bg { display: none; }
.cta.solid h2 em { color: #e6c98a; }

/* --- Bandeau ruban (petites accroches) --- */
.ribbon { background: var(--forest); color: var(--cream); }
.ribbon .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding-block: 22px; }
.ribbon span { font-family: var(--head); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; }
.ribbon span::before { content: "✦"; color: var(--terra); }

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2,1fr); gap: 32px 24px; }
  .process::before { display: none; }
  .duo .arch:last-child { margin-bottom: 0; }
  .mediaband .img { aspect-ratio: 16/10; }
  .mediaband .panel { margin-left: 0; }
}
@media (max-width: 640px) {
  .nrow { grid-template-columns: 64px 1fr; }
  .nrow .rtag { grid-column: 2; padding-top: 0; }
  .process { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HERO SPLIT (accueil v2 — distinct de la référence)
   ========================================================================== */
.hero-split { padding: clamp(40px,6vw,90px) 0 clamp(56px,7vw,100px); position: relative; overflow: hidden; }
.hero-split .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,80px); align-items: center; }
.hero-split h1 { margin-top: 24px; }
.hero-split h1 .tint { color: var(--terra); }
.hero-split .lead { margin-top: 22px; max-width: 46ch; }
.hero-split .hero-actions { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-split .rating { margin-top: 26px; }

.hero-visual { position: relative; }
.hero-visual .duo { align-items: start; }
.hero-visual .duo .arch:first-child { aspect-ratio: 4/5.4; margin-top: 44px; }
.hero-visual .duo .arch:last-child { aspect-ratio: 4/5; margin-bottom: 0; }
.hero-badge {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 18px 24px; display: flex; gap: 14px; align-items: center;
  width: max-content; max-width: 92%;
}
.hero-badge .pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--terra); flex: none; }
.hero-badge .pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--terra); opacity: .5; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-badge .pulse::after { animation: none; } }
.hero-badge b { font-family: var(--head); font-size: .95rem; color: var(--forest); display: block; line-height: 1.3; }
.hero-badge span { font-size: .8rem; color: var(--stone); }

/* chiffres sobres sur clair */
.stat-line { display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line); }
.stat-line .stat { padding: clamp(24px,3vw,40px) 12px; border-left: 1px solid var(--line); }
.stat-line .stat:first-child { border-left: 0; }
.stat-line .stat .n { color: var(--green); font-size: clamp(2rem,3.6vw,2.9rem); }
.stat-line .stat .l { color: var(--stone); font-weight: 600; }

@media (max-width: 1000px) {
  .hero-split .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .stat-line { grid-template-columns: 1fr 1fr; }
  .stat-line .stat:nth-child(odd) { border-left: 0; }
  .stat-line .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-visual .duo { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   ONE-PAGER : ancrages sous header collant
   ========================================================================== */
[id] { scroll-margin-top: 96px; }
.nav-links a.is-current { color: var(--green); }
.nav-links a:not(.btn).is-current::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--terra); border-radius: 2px; }

/* Carte d'inscription posée sur un bandeau vert : elle garde ses couleurs claires */
.band--forest .signup h3,
.band--forest .form-success h3 { color: var(--forest); }
.band--forest .signup .when,
.band--forest .signup .fineprint,
.band--forest .form-success p { color: var(--stone); }
.band--forest .signup label { color: var(--stone); }
.band--forest .signup .field input,
.band--forest .signup .field textarea { color: var(--ink); }

/* Le backdrop-filter du header en fait le bloc conteneur des enfants fixed :
   on impose donc une hauteur plein écran au panneau de menu mobile. */
@media (max-width: 1000px) {
  .nav-links {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
  }
}

/* ==========================================================================
   CORRECTIFS MOBILE
   ========================================================================== */

/* Le panneau de menu hors écran ne doit pas créer de scroll horizontal.
   `clip` évite de casser le position:sticky du header (contrairement à hidden). */
html { overflow-x: clip; }

/* Panneau fermé : non focusable et sans débordement */
@media (max-width: 1000px) {
  .nav-links { visibility: hidden; transition: transform .4s cubic-bezier(.7,0,.2,1), visibility .4s; }
  .nav-links.open { visibility: visible; }
}

/* Bandeau de 3 chiffres : une colonne sur mobile pour rester lisible */
.stat-line--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .stat-line--3 { grid-template-columns: 1fr; }
  .stat-line--3 .stat { border-left: 0; }
  .stat-line--3 .stat + .stat { border-top: 1px solid var(--line); }
}

/* Bouton d'inscription pleine largeur dans la carte */
.signup .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* Sur mobile, on retire le backdrop-filter du header : il faisait de celui-ci
   le bloc conteneur du panneau `fixed`, ce qui provoquait un scroll horizontal.
   Fond opaque à la place, et le panneau s'ancre enfin au viewport. */
@media (max-width: 1000px) {
  .site-header { backdrop-filter: none; background: var(--cream); }
}
