/* ==========================================================================
   Marine CHEVRIER – Guidance parentale
   Feuille de style unique. Les couleurs et typographies sont centralisées
   dans les variables ci-dessous : pour adapter la palette au logo définitif,
   il suffit de modifier la section « PALETTE ».
   ========================================================================== */

/* ---------- Polices (auto-hébergées : aucun appel à Google, pas de cookie) */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-var.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-var-italic.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}
/* The Bold Font (version gratuite DaFont) : APERÇU LOCAL UNIQUEMENT.
   Licence non commerciale et pas de lettres accentuées (é, è, à, ç… affichées
   en Montserrat). Acheter la version PRO (the-bold-font.com) avant mise en ligne. */
@font-face {
  font-family: "The Bold Font";
  src: url("../fonts/the-bold-font.woff2") format("woff2");
  font-weight: 100 900; /* graisse unique : évite le faux gras du navigateur */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ---------- PALETTE (issue du logo) ----------
     Logo : sarcelle #6BB1A7 / #2B8A86 – corail #D47E65 / #E18B6A.
     Les teintes « texte » sont assombries pour respecter le contraste WCAG AA. */
  --c-bg: #FCF8F5;          /* blanc cassé chaud : fond principal */
  --c-sand: #F8EEE8;        /* corail très pâle : sections alternées */
  --c-teal-50: #E9F4F2;     /* sarcelle très clair : cartes, encadrés */
  --c-teal-200: #CBE4E0;    /* sarcelle clair : formes décoratives */
  --c-logo-teal: #6BB1A7;   /* sarcelle du logo : illustrations */
  --c-primary: #1F6F6B;     /* sarcelle profond : boutons, liens (5,9:1 sur blanc) */
  --c-primary-dark: #174F4C;/* survol, pied de page */
  --c-coral-50: #FBEAE3;    /* corail pâle : pastilles */
  --c-coral-200: #F4D3C7;   /* corail clair : formes décoratives */
  --c-logo-coral: #D47E65;  /* corail du logo : illustrations */
  --c-coral: #A9523B;       /* corail profond : petits accents texte (5:1 sur fond) */
  --c-ink: #2A3533;         /* texte principal (12:1) */
  --c-ink-soft: #566361;    /* texte secondaire (5,9:1) */
  --c-white: #FFFFFF;
  --c-line: #EADFD7;

  /* ---------- Typographie ---------- */
  --f-heading: "The Bold Font", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* gros titres */
  --f-title: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* citations, prix, accents */
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---------- Espacements / formes ---------- */
  --radius-s: 12px;
  --radius: 22px;
  --radius-l: 36px;
  --shadow: 0 10px 30px -18px rgba(43, 48, 45, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- Base ---------- */
*, *::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 { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1.125rem;       /* 18px : confortable pour tous */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-coral); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--f-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .03em;
  color: var(--c-ink);
  margin: 0 0 .6em;
  text-transform: uppercase; /* The Bold Font gratuite : capitales seulement, accents en capitales */
  text-wrap: balance;
}
h3, h4 { font-weight: 700; letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .04em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em.accent, .accent { font-style: italic; color: var(--c-primary); }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead, .center.lead { margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--c-primary); color: #fff; padding: 10px 18px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* Élément à compléter : volontairement très visible, à retirer avant mise en ligne */
.todo {
  background: #FFF1A8; color: #5A4500; font-family: var(--f-body); font-style: normal;
  font-weight: 700; font-size: .85em; padding: 1px 6px; border-radius: 4px;
  outline: 1px dashed #C9A400;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  padding: .95em 1.6em; min-height: 48px;
  border-radius: 999px; border: 2px solid var(--c-primary);
  background: var(--c-primary); color: var(--c-white); text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: transparent; color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-teal-50); color: var(--c-primary-dark); }
.btn--light { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-primary-dark); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--c-primary-dark); }
.header-actions .btn { gap: .3em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */
/* En haut de page : barre pleine largeur. Au défilement (.is-scrolled, ajoutée par main.js) :
   la barre se resserre en « îlot » central arrondi, légèrement translucide.
   La hauteur totale reste de 76 px pour éviter tout saut de mise en page. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: 0;
  transition: padding .35s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px;
  background-color: rgba(252, 248, 245, 0);
  border: 1px solid transparent; border-radius: 0;
  transition: max-width .45s cubic-bezier(.2, .7, .2, 1), min-height .35s ease, padding .35s ease,
              background-color .35s ease, border-color .35s ease, border-radius .35s ease, box-shadow .35s ease;
}
.site-header::before { /* fond pleine largeur quand la barre n'est pas en îlot */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(252, 248, 245, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: opacity .3s ease;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .header-inner {
  max-width: 1200px; min-height: 60px;
  padding-inline: 16px 8px;
  background-color: rgba(252, 248, 245, .72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-color: rgba(234, 223, 215, .9);
  border-radius: 999px;
  box-shadow: 0 12px 32px -16px rgba(23, 79, 76, .28);
}
.site-header.is-scrolled .brand-tag { display: none; }
.site-header.is-scrolled .brand-logo { height: 38px; }
.site-header.is-scrolled .main-nav a { padding-inline: 10px; font-size: .92rem; }
.site-header.is-scrolled .header-actions .btn { padding-inline: 1.1em; }
.brand { flex-shrink: 0; }
.brand-logo { transition: height .35s ease; }
@media (max-width: 640px) {
  .site-header.is-scrolled .brand-text { display: none; } /* îlot mobile : logo seul */
}
@media (max-width: 1260px) {
  .site-header.is-scrolled .header-inner { max-width: calc(100% - 24px); padding-inline: 14px 8px; }
  /* le menu déroulant se cale sous l'îlot, avec les mêmes arrondis */
  .site-header.is-scrolled .main-nav a { font-size: 1.1rem; padding-inline: 16px; }
  .site-header.is-scrolled .main-nav { inset: 68px 0 auto 0; border: 1px solid var(--c-line); border-radius: var(--radius); }
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); }
.brand-logo { width: auto; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--f-title); font-size: 1.2rem; font-weight: 600; }
.brand-tag { font-size: .78rem; color: var(--c-ink-soft); letter-spacing: .02em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { padding: 10px 12px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--c-ink); text-decoration: none; font-size: .98rem; font-weight: 600; white-space: nowrap;
}
.main-nav a:hover { background: var(--c-teal-50); color: var(--c-primary-dark); }
.main-nav a[aria-current="page"] { color: var(--c-primary); background: var(--c-teal-50); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: .75em 1.25em; min-height: 44px; font-size: .95rem; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-teal-50); color: var(--c-primary);
}
.header-phone svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--c-teal-50); color: var(--c-ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--c-bg);
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    padding: 12px var(--gutter) 24px; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.1rem; border-radius: var(--radius-s); }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .header-actions .btn { padding: .7em 1em; font-size: .88rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-logo { height: 40px; }
}
.header-actions .btn .btn-short { display: none; }
@media (max-width: 560px) {
  /* téléphone : logo seul et bouton raccourci, pour que tout tienne sur une ligne */
  .site-header .brand-text { display: none; }
  .header-actions .btn .btn-long { display: none; }
  .header-actions .btn .btn-short { display: inline; }
}
@media (min-width: 1261px) {
  .header-phone { display: none; }
  .main-nav a { padding-inline: 10px; } /* 6 onglets : tout tient sur une ligne dans le conteneur */
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--c-sand); }
.section--teal { background: var(--c-teal-50); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-coral); margin-bottom: 12px;
}
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--c-ink-soft); max-width: 640px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-title { margin-bottom: .35em; }
.hero-sub { text-transform: none; }
.hero-sub {
  display: block; margin-top: .6em; font-family: var(--f-body); font-weight: 700; letter-spacing: 0;
  color: var(--c-primary); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.4;
}
.hero-quote {
  font-family: var(--f-title); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.4; color: var(--c-ink); margin: 0 0 1.2em; padding-left: 20px;
  border-left: 3px solid var(--c-coral-200);
}
.hero-visual { position: relative; width: 100%; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* mobile : titre, puis logo, puis le reste du texte */
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero-grid > div:first-child > * { order: 2; }
  .hero-grid > div:first-child > .eyebrow, .hero-grid > div:first-child > .hero-title { order: 0; }
  .hero-visual { order: 1; max-width: min(210px, 56vw); margin: 12px auto 28px; }
  .hero { padding-top: 24px; }
}

/* ---------- Portrait (photo de Marine) ---------- */
.portrait { position: relative; margin: 0; }
.portrait-frame {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 200px 200px var(--radius-l) var(--radius-l);
  background: var(--c-teal-200);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait::before {
  content: ""; position: absolute; z-index: 0; inset: auto -18px -18px auto;
  width: 70%; height: 60%; border-radius: var(--radius-l); background: var(--c-coral-200);
}
.portrait-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center; color: var(--c-primary-dark);
}
.portrait-placeholder svg { width: 72px; height: 72px; opacity: .6; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.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: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--c-line); height: 100%;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--c-ink-soft); font-size: 1.02rem; }
.card--soft { background: var(--c-teal-50); border-color: transparent; }
.card--sand { background: var(--c-bg); border-color: transparent; }

.picto {
  width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--c-teal-50); color: var(--c-primary); margin-bottom: 20px;
}
.card--soft .picto { background: var(--c-white); }
.picto svg { width: 30px; height: 30px; }
.picto--coral { background: var(--c-coral-50); color: var(--c-coral); }

/* ---------- Deux colonnes texte / visuel ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse { grid-template-columns: 1.2fr .8fr; }
.split--reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split .split-media, .split--reverse .split-media { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }
  .split-media .portrait { max-width: min(270px, 72vw); margin-inline: auto; }
}

/* ---------- « Pour qui ? » (accueil) : texte + illustration sur ordinateur ---------- */
.pour-qui { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pour-qui-visual svg { width: 100%; max-width: 440px; height: auto; margin-left: auto; }
@media (max-width: 860px) {
  .pour-qui { grid-template-columns: 1fr; text-align: center; max-width: 760px; }
  .pour-qui .lead { margin-inline: auto; }
  .pour-qui-visual { display: none; }
}

/* ---------- Points d'interrogation décoratifs (« Ce que je propose ») ---------- */
.has-qmarks { overflow: clip; }
.has-qmarks > .container { position: relative; z-index: 1; }
.qmarks { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.qm {
  position: absolute; font-family: var(--f-heading); font-size: var(--s); line-height: 1;
  rotate: var(--r); opacity: .55;
  animation: qm-float 5.5s ease-in-out var(--d) infinite;
}
.qm--teal { color: var(--c-teal-200); }
.qm--coral { color: var(--c-coral-200); }
@keyframes qm-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(6px, -22px) rotate(9deg) scale(1.05); }
  66% { transform: translate(-5px, -10px) rotate(-5deg) scale(.97); }
}
@media (max-width: 860px) { .qm--wide { display: none; } .qm { opacity: .4; } }

/* ---------- Listes à puces douces ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-teal-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23174F4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Valeurs ---------- */
.value { text-align: center; padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.value .picto { margin-inline: auto; width: 72px; height: 72px; border-radius: 50%; }
.value .picto svg { width: 34px; height: 34px; }
.value p { color: var(--c-ink-soft); }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps--3 { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--c-white); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px); border: 1px solid var(--c-line); counter-increment: step;
}
.step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px;
  background: var(--c-primary); color: #fff; font-family: var(--f-title); font-size: 1.35rem; font-weight: 600;
}
.step-meta {
  display: inline-block; font-size: .9rem; font-weight: 700; color: var(--c-coral);
  background: var(--c-coral-50); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.step p { color: var(--c-ink-soft); font-size: 1.02rem; }

/* Étapes détaillées (page Comment ça fonctionne) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; }
.timeline .step { display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; align-items: start; }
.timeline .step-meta { justify-self: start; }
.timeline .step::before { grid-row: span 3; margin: 0; width: 56px; height: 56px; font-size: 1.5rem; }
@media (max-width: 560px) {
  .timeline .step { grid-template-columns: 1fr; }
  .timeline .step::before { grid-row: auto; }
}
@media (max-width: 1023px) { .timeline { max-width: 760px; margin-inline: auto; } }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
  .timeline .step { display: block; }
  .timeline .step::before { margin-bottom: 18px; }
}
.timeline + .center { max-width: 760px; margin-inline: auto; }

/* Ligne de progression des étapes (tracée par assets/js/motion.js)
   Ligne épaisse et ondulée qui passe derrière les cartes et par chaque pastille :
   sur toute la largeur de l'écran quand les étapes sont en colonnes,
   sur toute la hauteur de la liste quand elles sont empilées. */
.has-steps-line { overflow-x: clip; }
.has-progress { position: relative; isolation: isolate; }
.has-progress > .step { z-index: 1; }
@media (min-width: 861px) { .steps--3.has-progress { gap: clamp(32px, 4vw, 56px); } }
.steps-wave { position: absolute; z-index: 0; pointer-events: none; overflow: visible; max-width: none; }
.steps-wave path { fill: none; stroke-width: 20px; stroke-linecap: round; stroke-linejoin: round; }
.steps-wave-fill { stroke: var(--c-primary); }
.steps-wave:not(.is-on) .steps-wave-fill { visibility: hidden; } /* sinon le bout arrondi laisse un point au départ */
.has-progress > .step::before { transition: box-shadow .5s; }
.has-progress > .step.is-reached::before { box-shadow: 0 0 0 7px var(--c-teal-50), 0 0 0 9px var(--c-teal-200); }

/* ---------- Bandeau de réassurance ---------- */
.reassurance { background: var(--c-primary-dark); color: var(--c-bg); padding-block: clamp(36px, 5vw, 56px); }
.reassurance ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reassurance li { display: flex; align-items: center; gap: 16px; font-size: 1.08rem; font-weight: 600; line-height: 1.4; }
.reassurance svg { width: 44px; height: 44px; flex: none; color: var(--c-teal-200); }
@media (max-width: 860px) { .reassurance ul { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Appel à l'action final ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--c-primary); color: var(--c-bg);
  border-radius: var(--radius-l); padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
}
.cta-box h2 { color: #fff; }
.cta-box p { color: #E3F0EE; max-width: 560px; margin-inline: auto; }
.cta-box .btn-row { justify-content: center; margin-top: 28px; }
.cta-box .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-box .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none;
}
.cta-box::before { width: 280px; height: 280px; left: -90px; top: -110px; }
.cta-box::after { width: 200px; height: 200px; right: -60px; bottom: -80px; }

/* ---------- Avis (emplacement prévu, masqué pour l'instant) ---------- */
.testimonial { background: var(--c-white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--c-line); }
.testimonial blockquote { margin: 0 0 16px; font-family: var(--f-title); font-style: italic; font-size: 1.2rem; }
.testimonial figcaption { color: var(--c-ink-soft); font-size: .95rem; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 8px; }
.page-hero-deco { position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; opacity: .9; pointer-events: none; z-index: -1; }
@media (max-width: 760px) { .page-hero-deco { width: 220px; height: 220px; right: -90px; top: -40px; } }

.breadcrumb { font-size: .92rem; color: var(--c-ink-soft); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--c-line); }
.breadcrumb a { color: var(--c-ink-soft); }

/* ---------- Parcours (À propos) ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fact { display: flex; gap: 18px; align-items: flex-start; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 24px; }
.fact .picto { margin: 0; flex: none; width: 52px; height: 52px; border-radius: 16px; }
.fact .picto svg { width: 26px; height: 26px; }
.fact strong { display: block; font-family: var(--f-title); font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin-bottom: 2px; }
.fact span { color: var(--c-ink-soft); font-size: 1rem; }

.prose p { font-size: 1.12rem; }
.pull-quote {
  font-family: var(--f-title); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.45;
  margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-l);
  background: var(--c-teal-50); color: var(--c-primary-dark); position: relative;
}
.pull-quote::before {
  content: "“"; position: absolute; top: -8px; left: 24px; font-size: 5rem; line-height: 1; color: var(--c-coral-200);
}

/* ---------- Accompagnements détaillés ---------- */
.theme {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px);
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 56px);
}
.theme + .theme { margin-top: clamp(20px, 3vw, 32px); }
.theme-intro .picto { width: 72px; height: 72px; border-radius: 24px; }
.theme-intro .picto svg { width: 36px; height: 36px; }
.theme-num { font-family: var(--f-title); font-style: italic; color: var(--c-coral); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.theme-intro h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.theme-body { display: grid; gap: 22px; }
.theme-row { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; padding-bottom: 22px; border-bottom: 1px dashed var(--c-line); }
.theme-row:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-row h3 { font-family: var(--f-body); font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); margin: .35em 0 0; }
.theme-row p { color: var(--c-ink); }
.theme-row--result { background: var(--c-teal-50); border-radius: var(--radius); padding: 20px 22px; border: 0; }
@media (max-width: 900px) {
  .theme { grid-template-columns: 1fr; }
  .theme-row { grid-template-columns: 1fr; }
}

.mini-card { background: var(--c-white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--c-line); display: flex; gap: 16px; align-items: flex-start; }
.mini-card .picto { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.mini-card .picto svg { width: 24px; height: 24px; }
.mini-card h3 { font-size: 1.15rem; margin-bottom: .25em; }
.mini-card p { font-size: .98rem; color: var(--c-ink-soft); margin: 0; }

.limits {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  background: var(--c-bg); border: 2px solid var(--c-teal-200); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 48px);
}
.limits .picto { width: 64px; height: 64px; border-radius: 50%; margin: 0; }
.limits ul { margin: 0 0 1em; padding-left: 1.2em; }
.limits li { margin-bottom: .4em; }
.limits li::marker { color: var(--c-primary); }
@media (max-width: 640px) { .limits { grid-template-columns: 1fr; } }
.limits h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: .5em; }
.dash-list { list-style-type: "–  "; }

/* ---------- Page Tarifs ---------- */
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: var(--c-white); border: 1px solid var(--c-line); font-weight: 600; font-size: .95rem; color: var(--c-ink);
}
.chips svg { width: 18px; height: 18px; flex: none; color: var(--c-primary); }
.price-card { display: flex; flex-direction: column; align-items: flex-start; position: relative; }
.price-card > p:not(.price-amount) { flex: 1; }
.price-card .price-amount {
  align-self: stretch; margin: 20px 0 0; padding-top: 20px; border-top: 1px dashed var(--c-line);
  font-family: var(--f-title); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--c-primary);
}
.price-card .price-amount small { display: inline-block; margin-left: 8px; font-family: var(--f-body); font-size: .95rem; font-weight: 500; color: var(--c-ink-soft); }
.price-card.price-card--free .price-amount { color: var(--c-coral); }
.price-card--pack { background: var(--c-teal-50); border: 2px solid var(--c-teal-200); }
.price-card--pack .picto { background: var(--c-white); }
.price-card.price-card--pack .price-amount { border-top-color: var(--c-teal-200); }
.price-card.price-card--pack .price-amount small { display: block; margin: 8px 0 0; }
.price-card .price-amount del {
  display: block; margin-bottom: 4px; font-size: .5em; font-weight: 500; color: var(--c-ink-soft);
  text-decoration-line: line-through; text-decoration-color: var(--c-coral); text-decoration-thickness: 2px;
}
/* Les 5 prestations sur une ligne ; 3 puis 2 cartes centrées sur tablette, 1 sur mobile */
.container--wide { max-width: 1440px; }
.price-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 24px; }
.price-row > .price-card { flex: 0 1 calc((100% - 4 * 24px) / 5); height: auto; padding: 32px 28px; }
.price-row h3 { font-size: 1.2rem; }
.price-row .price-card > p:not(.price-amount) { font-size: .98rem; }
.price-row .price-card .price-amount { font-size: clamp(1.8rem, 2.4vw, 2.2rem); }
@media (max-width: 1100px) { .price-row > .price-card { flex-basis: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 760px) { .price-row > .price-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) {
  /* mobile : lignes compactes (titre à gauche, prix à droite) pour limiter le défilement */
  .price-row { gap: 12px; }
  .chips { gap: 8px; margin-top: 20px; }
  .chips li { padding: 6px 12px; font-size: .85rem; gap: 6px; }
  .chips svg { width: 16px; height: 16px; }
  .price-row > .price-card {
    flex-basis: 100%; display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: center;
    padding: 18px 20px; border-radius: var(--radius-s);
  }
  .price-row .price-card .picto { display: none; }
  .price-row .price-card .step-meta { grid-column: 1; justify-self: start; margin-bottom: 6px; font-size: .8rem; padding: 2px 10px; }
  .price-row .price-card h3 { grid-column: 1; font-size: 1.05rem; margin: 0; }
  .price-row .price-card > p:not(.price-amount) { grid-column: 1 / -1; margin: 8px 0 0; font-size: .9rem; line-height: 1.5; }
  .price-row .price-card .price-amount {
    grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0;
    font-size: 1.6rem; text-align: right; white-space: nowrap;
  }
  .price-row .price-card .price-amount small { display: block; margin: 2px 0 0; font-size: .8rem; }
  .price-row .price-card .price-amount del { font-size: .55em; margin-bottom: 0; }
}
.tarifs-infos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tarifs-infos .card { height: auto; box-shadow: var(--shadow); border-color: transparent; }
.tarifs-infos .card h3 { font-size: 1.2rem; }
.dash-list--big { padding-left: 1.4em; margin: 0; display: grid; gap: 12px; font-size: 1.15rem; }
.dash-list--big li::marker { color: var(--c-coral); font-weight: 700; }
@media (max-width: 860px) { .tarifs-infos { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.pricing { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--c-white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.pricing caption { text-align: left; font-family: var(--f-title); font-size: 1.3rem; margin-bottom: 14px; }
.pricing th, .pricing td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.pricing thead th { background: var(--c-teal-50); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary-dark); font-weight: 800; }
.pricing tbody tr:last-child th, .pricing tbody tr:last-child td { border-bottom: 0; }
.pricing tbody th { font-family: var(--f-title); font-weight: 600; font-size: 1.15rem; }
.pricing .price { font-family: var(--f-title); font-size: 1.5rem; color: var(--c-primary); white-space: nowrap; text-align: right; }
.pricing thead th:last-child { text-align: right; }
.pricing small { display: block; font-family: var(--f-body); font-size: .9rem; font-weight: 400; color: var(--c-ink-soft); margin-top: 2px; }
@media (max-width: 560px) {
  .pricing th, .pricing td { padding: 16px; }
  .pricing .duration { display: none; }
}
.price-notes { display: grid; gap: 10px; margin-top: 20px; font-size: 1rem; color: var(--c-ink-soft); }
.price-notes p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.price-notes svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--c-primary); }

/* ---------- FAQ (accordéon natif, fonctionne sans JavaScript) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); transition: border-color .2s; }
.faq details[open] { border-color: var(--c-teal-200); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-family: var(--f-title); font-size: 1.18rem; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--c-teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6F6B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding: 0 26px 24px; color: var(--c-ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--c-ink-soft); font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--c-ink);
  background: var(--c-bg); border: 1.5px solid var(--c-line); border-radius: var(--radius-s);
  padding: 13px 16px; min-height: 50px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--c-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6F6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 3px rgba(31,111,107,.18); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #B3412E; }
.field-hint { font-size: .9rem; color: var(--c-ink-soft); margin-top: 6px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--c-line); background: var(--c-bg); font-weight: 600; font-size: .98rem; cursor: pointer;
}
.radio-pill input:checked + span { background: var(--c-teal-50); border-color: var(--c-primary); color: var(--c-primary-dark); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--c-coral); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--c-ink-soft); line-height: 1.55; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--c-primary); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-required { font-size: .92rem; color: var(--c-ink-soft); margin-bottom: 24px; }
.form-alert { border-radius: var(--radius-s); padding: 16px 20px; margin-bottom: 24px; font-weight: 600; }
.form-alert--error { background: #FBEAE6; color: #8A2E1E; border: 1px solid #EFC3B8; }
.form-alert[hidden] { display: none; }

.info-stack { display: grid; gap: 16px; }
.info-card { background: var(--c-teal-50); border-radius: var(--radius); padding: 24px; }
.info-card h2, .info-card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.info-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.info-line:last-child { margin-bottom: 0; }
.info-line svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--c-primary); }
.info-line a { font-weight: 700; word-break: break-word; }

.zone-map { background: var(--c-white); border-radius: var(--radius); padding: 16px; border: 1px solid var(--c-line); }
.zone-map svg { width: 100%; height: auto; }

/* ---------- Pages légales ---------- */
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.02rem; }
.legal ul { padding-left: 1.2em; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--c-primary-dark); color: #D5E7E4; padding-top: clamp(56px, 7vw, 88px); font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-teal-200); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-logo { background: var(--c-bg); border-radius: 50%; padding: 9px 12px; height: 64px; }
.site-footer .brand-tag { color: #BFD9D5; display: block; }
.footer-quote { font-family: var(--f-title); font-style: italic; font-size: 1.1rem; color: #E9F4F2; line-height: 1.5; max-width: 320px; }
.site-footer h2 { font-family: var(--f-body); color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); padding-block: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: .92rem; color: #BFD9D5;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom p { margin: 0; }
.footer-credit { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.footer-credit img { height: 32px; width: auto; opacity: .85; transition: opacity .2s; }
.footer-credit:hover img { opacity: 1; }

/* ---------- Formes décoratives ---------- */
.deco-blob { position: absolute; pointer-events: none; z-index: -1; }
main { position: relative; z-index: 0; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(40px, 6vw, 64px); }
.muted { color: var(--c-ink-soft); }
.small { font-size: .95rem; }

/* Phrase d'introduction sur une seule ligne (écrans larges), retour à la ligne normal sur mobile */
.lead.lead--one-line { max-width: none; }
@media (min-width: 1000px) { .lead.lead--one-line { white-space: nowrap; } }

/* ==========================================================================
   Animations au défilement (pilotées par assets/js/motion.js)
   --p : 0 → 1 quand l'élément entre à l'écran · --q : -1 → 1 pendant sa traversée
   --h : 0 → 1 quand on quitte le hero. Rien ne s'applique sans la classe .anim
   (posée seulement si « réduire les animations » n'est pas demandé).
   ========================================================================== */
.anim:not(.ready) main > section:first-child > .container,
.anim:not(.ready) .hero-visual { opacity: 0; }

.sc { --p: 0; --q: 0; }

/* Titres : mots qui montent un par un */
.sc-words .w {
  display: inline-block; transform-origin: 0 100%;
  --wp: clamp(0, calc((var(--p) - var(--o)) * 2.5), 1);
  opacity: var(--wp);
  translate: 0 calc((1 - var(--wp)) * .8em);
  rotate: calc((1 - var(--wp)) * 9deg);
  filter: blur(calc((1 - var(--wp)) * 6px));
}

/* Sur-titres : les lettres se resserrent */
.sc-eyebrow { opacity: var(--p); letter-spacing: calc(.12em + (1 - var(--p)) * .55em); }

/* Blocs de texte */
.sc-up { opacity: var(--p); translate: 0 calc((1 - var(--p)) * 60px); }

/* Cartes : éventail (inclinaison selon la colonne) */
.sc-card {
  --dir: 0;
  opacity: clamp(0, calc(var(--p) * 1.8), 1);
  translate: calc((1 - var(--p)) * var(--dir) * 70px) calc((1 - var(--p)) * 170px);
  rotate: calc((1 - var(--p)) * var(--dir) * 8deg);
  scale: calc(.86 + .14 * var(--p));
}
.sc-card.step::before { scale: clamp(0, calc(var(--p) * 1.6 - .4), 1); rotate: calc((1 - var(--p)) * -200deg); }

/* Liste à coches : glissement depuis la gauche, coche qui éclot */
.sc-slide { opacity: var(--p); translate: calc((1 - var(--p)) * -90px) 0; }
.sc-slide::before { scale: clamp(0, calc(var(--p) * 1.5 - .3), 1); }

/* Bandeau de réassurance : bascule 3D */
.reassurance { position: relative; overflow: hidden; }
.reassurance .container { position: relative; z-index: 1; }
.reassurance ul { perspective: 700px; }
.sc-flip { opacity: var(--p); transform-origin: 50% 100%; rotate: x calc((1 - var(--p)) * 85deg); }

/* Icônes qui se dessinent */
.sc-draw * {
  stroke-dasharray: 1px 1px;
  stroke-dashoffset: calc((1 - clamp(0, calc(var(--p) * 1.7 - .55), 1)) * 1px);
}

/* Portrait : cadre qui se redresse, photo en parallaxe */
.sc-portrait .portrait-frame { opacity: var(--p); scale: calc(.8 + .2 * var(--p)); rotate: calc((1 - var(--p)) * -7deg); }
.sc-portrait .portrait-frame img { scale: 1.16; translate: 0 calc(var(--q) * 7%); }
.sc-portrait::before { translate: calc(var(--q) * -30px) calc(var(--q) * 70px); rotate: calc(var(--q) * 10deg); }

/* Encadré final : zoom, bulles en parallaxe */
.sc-zoom { scale: calc(.78 + .22 * var(--p)); rotate: calc((1 - var(--p)) * -2.5deg); opacity: clamp(0, calc(var(--p) * 2), 1); }
.sc-zoom::before { translate: calc(var(--q) * 90px) calc(var(--q) * -70px); scale: calc(1 + var(--q) * .3); }
.sc-zoom::after { translate: calc(var(--q) * -80px) calc(var(--q) * 60px); }

/* Décor des pages intérieures */
.sc-spin { rotate: calc(var(--q) * 50deg); translate: 0 calc(var(--q) * -40px); }
.anim.ready .sc-spin { animation: deco-in 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes deco-in { from { scale: .3; opacity: 0; } }

/* ---------- Hero de l'accueil : logo animé ---------- */
/* Au chargement l'adulte et l'enfant sont écartés ; en défilant, ils se rapprochent,
   l'enfant enlace l'adulte, puis un cœur éclot (--j : 0 → 1 sur les ~110 premiers px). */
.hero { --h: 0; --j: clamp(0, calc(var(--h) * 6.5), 1); }
.anim .hero-grid > div:first-child { translate: 0 calc(var(--h) * -90px); opacity: calc(1 - var(--h) * .8); }
.anim .hero-visual { translate: 0 calc(var(--h) * 60px); }
.anim .hv * { transform-box: fill-box; transform-origin: center; }
.anim .hv-bg { scale: calc(1 + var(--h) * .25); }
.anim .hl-adult, .anim .hl-child { transform-origin: 50% 100%; }
.anim .hl-adult { translate: calc((1 - var(--j)) * -34px) 0; }
.anim .hl-child { translate: calc((1 - var(--j)) * 58px) 0; rotate: calc((1 - var(--j)) * 6deg); }
.anim .hl-arm { stroke-dasharray: 1px 1px; stroke-dashoffset: calc((1 - clamp(0, calc((var(--j) - .55) * 3), 1)) * 1px); }
.anim .hl-heart { opacity: clamp(0, calc((var(--j) - .75) * 5), 1); scale: clamp(0, calc((var(--j) - .75) * 4), 1); }
.anim .hv-dot--1 { translate: 0 calc(var(--h) * -200px); }
.anim .hv-dot--2 { translate: 0 calc(var(--h) * -120px); }

.anim.ready .hv-bg { animation: hv-grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.anim.ready .hl-ring { animation: hv-grow 1.2s cubic-bezier(.2, .8, .2, 1) .15s both, hl-spin 60s linear infinite; }
.anim.ready .hl-adult { animation: hv-pop .8s cubic-bezier(.3, 1.6, .5, 1) .35s both, hv-bob 4s ease-in-out 2.4s infinite; }
.anim.ready .hl-child { animation: hl-join .9s cubic-bezier(.3, 1.4, .5, 1) .7s both, hv-bob 4s ease-in-out 2.6s infinite; }
.anim.ready .hl-heart { animation: hl-beat 2.4s ease-in-out 2.6s infinite; }
.anim.ready .hv-dot { animation: hv-pop .7s cubic-bezier(.3, 1.8, .5, 1) 1.6s both, hv-float 4.5s ease-in-out 2.3s infinite; }
.anim.ready .hv-dot--2 { animation-delay: 1.7s, 2.8s; }
@keyframes hv-draw { to { stroke-dashoffset: 0; } }
@keyframes hv-grow { from { transform: scale(0); } }
@keyframes hv-pop { from { scale: 0; } }
@keyframes hl-join { from { opacity: 0; transform: translateY(24px); } }
@keyframes hl-spin { to { rotate: 360deg; } }
@keyframes hl-beat { 0%, 100% { transform: none; } 12% { transform: scale(1.18); } 24% { transform: scale(.96); } 36% { transform: scale(1.1); } }
@keyframes hv-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
@keyframes hv-float { 0%, 100% { transform: none; } 50% { transform: translate(6px, -10px) rotate(8deg); } }

/* ---------- Illustration « Pour qui ? » : les parents rejoignent l'enfant ---------- */
.sc-family .fm-parent--l { translate: calc((1 - var(--p)) * -70px) 0; opacity: clamp(0, calc(var(--p) * 2), 1); }
.sc-family .fm-parent--r { translate: calc((1 - var(--p)) * 70px) 0; opacity: clamp(0, calc(var(--p) * 2), 1); }
.sc-family .fm-child { transform-box: fill-box; transform-origin: 50% 100%; scale: calc(.4 + .6 * var(--p)); }
.sc-family .fm-bg { transform-box: fill-box; transform-origin: center; scale: calc(.85 + .15 * var(--p)); }
.sc-family .fm-ring { transform-box: fill-box; transform-origin: center; rotate: calc(var(--q) * 40deg); }
.sc-family .fm-heart {
  transform-box: fill-box; transform-origin: center;
  opacity: clamp(0, calc((var(--p) - .8) * 5), 1); scale: clamp(0, calc((var(--p) - .8) * 5), 1);
}
.sc-family .fm-dot--1 { translate: 0 calc(var(--q) * 40px); }
.sc-family .fm-dot--2 { translate: 0 calc(var(--q) * -30px); }

/* ---------- Barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 200; width: 100%; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--c-logo-coral), var(--c-logo-teal), var(--c-primary));
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
}

/* ---------- Survol (souris uniquement) ---------- */
.tilt { position: relative; transition: transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .4s; box-shadow: 0 24px 50px -24px rgba(31, 111, 107, .35); }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(107, 177, 167, .2), transparent 45%);
  transition: opacity .35s;
}
.tilt:hover::after { opacity: 1; }
.magnet { transition: translate .45s cubic-bezier(.2, .7, .2, 1), background .2s, border-color .2s, color .2s, transform .2s; }
.anim main, .anim .site-footer { overflow-x: clip; } /* les éléments qui arrivent de côté ne créent pas de défilement horizontal */

/* Mobile : on masque quelques phrases secondaires pour alléger la lecture */
@media (max-width: 640px) {
  .m-hide { display: none !important; }
}

/* Cartes réduites à un titre (valeurs, vision, autres thèmes) */
.card.value h3:last-child, .mini-card h3:last-child { margin-bottom: 0; }
.mini-card { align-items: center; }

/* Mention d'information RGPD sous le formulaire (article 13) */
.form-rgpd { font-size: .85rem; line-height: 1.55; color: var(--c-ink-soft); margin: 0; }

/* Case de consentement : case alignée sur la 1re ligne, texte en graisse normale
   (corrige la règle .field label qui imposait display:block et le gras) */
.field label.consent { display: flex; font-weight: 400; font-size: .95rem; margin-bottom: 0; }

/* ---------- Bloc « Ma vision de l'accompagnement » ---------- */
.vision-section {
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 55% 60% at 8% 12%, rgba(107, 177, 167, .28), transparent 70%),
    radial-gradient(ellipse 45% 55% at 95% 90%, rgba(212, 126, 101, .18), transparent 70%),
    radial-gradient(ellipse 35% 40% at 88% 8%, rgba(244, 211, 199, .55), transparent 70%),
    linear-gradient(180deg, var(--c-teal-50), #F3F0EA);
}
/* formes organiques en arrière-plan */
.vision-section::before, .vision-section::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
}
.vision-section::before {
  width: clamp(220px, 28vw, 380px); aspect-ratio: 1; left: -90px; bottom: -110px;
  background: var(--c-teal-200); opacity: .55;
}
.vision-section::after {
  width: clamp(160px, 20vw, 280px); aspect-ratio: 1; right: -60px; top: 18%;
  border: 2px dashed var(--c-logo-coral); opacity: .35;
}
.vision-grid .value { border-color: transparent; box-shadow: var(--shadow); }
.vision-grid .value:nth-child(even) .picto { background: var(--c-coral-50); color: var(--c-coral); }

/* ---------- Blocs « Mon parcours » (À propos) et « Qui je suis » (accueil) : même esprit que le bloc vision, en miroir ---------- */
.parcours-section {
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 50% 60% at 92% 10%, rgba(212, 126, 101, .20), transparent 70%),
    radial-gradient(ellipse 45% 55% at 6% 92%, rgba(107, 177, 167, .22), transparent 70%),
    radial-gradient(ellipse 35% 40% at 12% 6%, rgba(244, 211, 199, .6), transparent 70%),
    linear-gradient(180deg, var(--c-sand), #F6F1EA);
}
.parcours-section::before, .parcours-section::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%;
}
.parcours-section::before {
  width: clamp(220px, 28vw, 380px); aspect-ratio: 1; right: -100px; bottom: -120px;
  background: var(--c-coral-200); opacity: .55;
}
.parcours-section::after {
  width: clamp(160px, 20vw, 280px); aspect-ratio: 1; left: -70px; top: 14%;
  border: 2px dashed var(--c-logo-teal); opacity: .4;
}
.parcours-section .fact { border-color: transparent; box-shadow: var(--shadow); }
.parcours-section .fact:nth-child(even) .picto { background: var(--c-coral-50); color: var(--c-coral); }
