/* ===========================================================================
   Centre des Autistes Les Bons Cœurs — Marrakech
   Direction : « Papier & Gommettes »
   Fond papier clair · les 4 couleurs du logo comme système · motif : 4 points
   =========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Fonds */
  --paper:      #FBF9F4;
  --paper-warm: #F5F1E7;
  --paper-cool: #F2F6FB;
  --white:      #FFFFFF;

  /* Texte */
  --ink:       #1B2437;
  --ink-soft:  #55617A;
  --ink-faint: #667188;

  /* Les quatre couleurs de l'identité */
  --red:    #E8402F;
  --green:  #5E9426;
  --blue:   #0A62B8;
  --yellow: #FDC63A;

  /* Déclinaisons claires, pour les fonds teintés */
  --red-wash:    #FDF0EE;
  --green-wash:  #F1F7EA;
  --blue-wash:   #EDF4FC;
  --yellow-wash: #FFF8E6;

  /* Lignes et ombres */
  --line:      rgba(27, 36, 55, .11);
  --line-firm: rgba(27, 36, 55, .20);
  --shadow-sm: 0 2px 10px -4px rgba(27, 36, 55, .14);
  --shadow:    0 18px 40px -26px rgba(27, 36, 55, .34);
  --shadow-lg: 0 34px 70px -36px rgba(27, 36, 55, .42);

  /* Mesures */
  --measure: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --section-y: clamp(72px, 9.5vw, 136px);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Mouvement */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
  line-height: 1.1;
  letter-spacing: -0.021em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 200;
  background: var(--blue); color: #FFF;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Le motif signature : quatre points ---------- */
.dots { display: inline-flex; gap: 5px; flex: none; }
.dots i { width: 7px; height: 7px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--green); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: var(--red); }
.dots i:nth-child(4) { background: var(--blue); }

.tilestrip { display: flex; gap: 6px; padding: 0 var(--gutter); }
.tilestrip i { flex: 1; height: 6px; border-radius: 999px; }
.tilestrip i:nth-child(1) { background: var(--green); }
.tilestrip i:nth-child(2) { background: var(--yellow); }
.tilestrip i:nth-child(3) { background: var(--red); }
.tilestrip i:nth-child(4) { background: var(--blue); }

/* ---------- 4. Typographie partagée ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.h-display { font-size: clamp(2.35rem, 6vw, 4.2rem); letter-spacing: -0.03em; }
.h-section { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.026em; }
.h-card    { font-size: clamp(1.16rem, 1.9vw, 1.36rem); letter-spacing: -0.012em; line-height: 1.22; }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 62ch;
}

em.accent {
  font-style: italic;
  font-variation-settings: "SOFT" 70, "WONK" 1;
  position: relative;
  z-index: 0;            /* contexte d'empilement propre : le surlignage reste visible
                            quelle que soit la couleur de fond de la section */
  display: inline-block;
}
em.accent::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: .06em; height: .26em;
  background: var(--yellow);
  border-radius: 999px;
  z-index: -1;
}

/* ---------- 5. Boutons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #FFFFFF;
  --btn-bd: var(--blue);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15.5px; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(10, 98, 184, .55); }
.btn:active { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-firm); }
.btn--ghost:hover { --btn-bd: var(--ink); box-shadow: var(--shadow-sm); }

.btn--sun { --btn-bg: var(--yellow); --btn-fg: var(--ink); --btn-bd: var(--yellow); }
.btn--sun:hover { box-shadow: 0 16px 30px -14px rgba(253, 198, 58, .85); }

.btn--wa { --btn-bg: #15934A; --btn-fg: #FFFFFF; --btn-bd: #15934A; }
.btn--wa:hover { box-shadow: 0 16px 30px -14px rgba(21, 147, 74, .6); }

.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700;
  color: var(--blue); text-decoration: none; padding: 8px 0;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(251, 249, 244, .93);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 80px; }
.nav__brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; min-width: 0; }
.nav__brand img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.nav__brand-text { display: flex; flex-direction: column; min-width: 0; }
.nav__brand-name { font-family: var(--display); font-size: 18px; line-height: 1.1; letter-spacing: -0.015em; white-space: nowrap; }
.nav__brand-sub { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

.nav__links { display: none; gap: 26px; align-items: center; }
.nav__link {
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  color: var(--ink-soft); padding: 8px 0; position: relative;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 3px; border-radius: 999px; background: var(--yellow);
  transition: right .3s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { right: 0; }
.nav__cta { display: none; }

.nav__burger {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 50px; height: 50px; flex: none;
  background: var(--white); border: 2px solid var(--line-firm);
  border-radius: 999px; cursor: pointer; padding: 0 14px;
}
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red), var(--blue));
}

.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: calc(100px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__link {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 1.95rem);
  text-decoration: none; padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 15px;
}
.drawer__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }

@media (min-width: 1080px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__burger { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(118px, 16vh, 168px) clamp(52px, 7vw, 86px);
  overflow: hidden;
  isolation: isolate;
}
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(68% 55% at 90% 4%, rgba(253, 198, 58, .22), transparent 62%),
    radial-gradient(58% 50% at 2% 94%, rgba(10, 98, 184, .10), transparent 66%);
}

.hero__grid { display: grid; gap: clamp(40px, 6vw, 60px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }

.hero__rating {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 20px 9px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; text-decoration: none;
  margin-bottom: 26px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.hero__rating:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero__stars { display: inline-flex; gap: 2px; }
.hero__stars svg { width: 15px; height: 15px; fill: var(--yellow); }
.hero__rating b { font-weight: 700; }
.hero__rating span { color: var(--ink-soft); }

.hero h1 { margin-bottom: 24px; }
.hero__lede { margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__note { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--ink-soft); max-width: 46ch; }
.hero__note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--green); fill: none; stroke-width: 1.8; }

.hero__visual { position: relative; }
.hero__badge {
  position: absolute; left: -16px; bottom: -24px;
  width: clamp(88px, 13vw, 118px); aspect-ratio: 1;
  display: grid; place-items: center; padding: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero__badge img { width: 100%; }

.shot {
  position: relative; margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.shot img { width: 100%; height: auto; object-fit: cover; }
.shot figcaption {
  padding: 14px 20px; font-size: 13.5px; color: var(--ink-soft);
  border-top: 1px solid var(--line); background: var(--white);
}
@media (min-width: 980px) { .shot--hero img { aspect-ratio: 5 / 4; } }

/* ---------- 8. Chiffres & bandeau ---------- */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust__stats { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .trust__stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: clamp(26px, 3.6vw, 42px) clamp(16px, 2.6vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) { .stat { border-bottom: 0; } }
.stat:last-child { border-right: 0; }
@media (max-width: 819px) { .stat:nth-child(2n) { border-right: 0; } }
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 80;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat:nth-child(1) .stat__num { color: var(--green); }
.stat:nth-child(2) .stat__num { color: var(--yellow); }
.stat:nth-child(3) .stat__num { color: var(--red); }
.stat:nth-child(4) .stat__num { color: var(--blue); }
.stat__label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; }

.marquee {
  overflow: hidden; padding-block: 18px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 62s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 20px;
  padding-inline: 20px;
  font-family: var(--display); font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: var(--ink-soft); white-space: nowrap;
}
.marquee__item::after { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--yellow); }
.marquee__item:nth-child(4n+2)::after { background: var(--red); }
.marquee__item:nth-child(4n+3)::after { background: var(--blue); }
.marquee__item:nth-child(4n+4)::after { background: var(--green); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 9. Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--warm  { background: var(--paper-warm); }
.section--cool  { background: var(--paper-cool); }

.section__head { max-width: 64ch; margin-bottom: clamp(42px, 5.5vw, 68px); }
.section__head .h-section { margin-bottom: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .lede { margin-inline: auto; }

/* ---------- 10. Piliers ---------- */
.pillars { display: grid; gap: 18px; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 13px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__ic {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 4px;
  background: var(--tone, var(--blue));
}
.pillar__ic svg { width: 24px; height: 24px; stroke: var(--on-tone, #FFF); fill: none; stroke-width: 1.9; }
.pillar p { font-size: 14.8px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- 11. Accompagnements ---------- */
.services { display: grid; gap: 16px; }
@media (min-width: 620px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }

.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 28px);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--tone); }
.svc__ic {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tone, var(--blue));
}
.svc__ic svg { width: 23px; height: 23px; stroke: var(--on-tone, #FFF); fill: none; stroke-width: 1.9; }
.svc h3 { font-size: 1.12rem; line-height: 1.25; }
.svc p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- 12. Méthodes ---------- */
.methods { display: grid; gap: 16px; margin-bottom: 30px; }
@media (min-width: 680px) { .methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .methods { grid-template-columns: repeat(4, 1fr); } }
.method {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 30px);
  background: var(--wash, var(--blue-wash));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 11px;
  transition: transform .35s var(--ease-out);
}
.method:hover { transform: translateY(-4px); }
.method__tag {
  display: inline-flex; align-self: flex-start;
  padding: 5px 13px; border-radius: 999px;
  background: var(--tone); color: var(--on-tone, #FFF);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.method h3 { font-size: 1.2rem; }
.method p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

.evaluation {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.evaluation__ic { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); }
.evaluation__ic svg { width: 25px; height: 25px; stroke: #FFF; fill: none; stroke-width: 1.7; }
.evaluation p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.62; flex: 1 1 320px; }

/* ---------- 13. Formules ---------- */
.plans { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan--feature { border-color: var(--blue); box-shadow: var(--shadow); }
.plan__flag {
  position: absolute; top: -15px; left: clamp(26px, 3.4vw, 36px);
  padding: 6px 16px; border-radius: 999px;
  background: var(--blue); color: #FFF;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.plan__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tone, var(--blue)); }
.plan__ic svg { width: 26px; height: 26px; stroke: var(--on-tone, #FFF); fill: none; stroke-width: 1.8; }
.plan h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); }
.plan__sub { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.8px; color: var(--ink-soft); line-height: 1.55; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--tone, var(--blue)); fill: none; stroke-width: 2.4; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- 14. Bande photo ---------- */
.band { position: relative; isolation: isolate; }
.band img { width: 100%; height: clamp(300px, 48vh, 520px); object-fit: cover; }
.band__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(27,36,55,.88) 0%, rgba(27,36,55,.64) 44%, rgba(27,36,55,.14) 100%);
}
@media (max-width: 719px) {
  .band__veil { background: linear-gradient(180deg, rgba(27,36,55,.25) 0%, rgba(27,36,55,.86) 70%); }
}
.band__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(26px, 4vw, 46px); }
.band__cap .eyebrow { color: var(--yellow); }
.band__text {
  font-family: var(--display);
  font-size: clamp(1.12rem, 2.3vw, 1.62rem);
  line-height: 1.38;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 90;
  color: #FFFFFF; max-width: 36ch;
}

/* ---------- 15. Avant / après ---------- */
.ba__grid { display: grid; gap: clamp(34px, 5vw, 58px); align-items: center; }
@media (min-width: 920px) { .ba__grid { grid-template-columns: .92fr 1.08fr; } }

.ba__quote {
  font-family: var(--display);
  font-size: clamp(1.22rem, 2.3vw, 1.62rem);
  line-height: 1.44;
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 90;
  font-style: italic;
  border-left: 4px solid var(--yellow);
  padding-left: clamp(18px, 3vw, 26px);
  margin: 0 0 20px;
}
.ba__src { font-size: 13.5px; color: var(--ink-faint); }

.ba__rows { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.ba__head, .ba__row {
  display: grid; grid-template-columns: 1fr 44px 1fr;
  align-items: center; gap: 10px;
  padding: 16px clamp(16px, 2.4vw, 24px);
  border-bottom: 1px solid var(--line);
}
.ba__row:last-child { border-bottom: 0; }
.ba__head { background: var(--paper-warm); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.ba__head span:last-child, .ba__row span:last-child { text-align: right; }
.ba__row span:first-child { color: var(--ink-faint); font-size: 14.5px; }
.ba__row span:last-child { color: var(--green); font-weight: 700; font-size: 15.2px; }
.ba__arrow { display: grid; place-items: center; }
.ba__arrow svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2.2; }

/* ---------- 16. Sorties & sport ---------- */
.feature__grid { display: grid; gap: clamp(34px, 5vw, 60px); align-items: center; }
@media (min-width: 920px) { .feature__grid { grid-template-columns: 1fr 1fr; } }

.pullquote {
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid; gap: 18px; justify-items: center; text-align: center;
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.26rem, 2.5vw, 1.78rem);
  line-height: 1.34;
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 100;
  font-style: italic;
  max-width: 24ch;
}
.pullquote__src { font-size: 13.5px; color: var(--ink-faint); max-width: 40ch; line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 17px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700;
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone, var(--blue)); flex: none; }

/* ---------- 17. Parcours ---------- */
.steps { display: grid; gap: 18px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__n {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tone, var(--blue)); color: var(--on-tone, #FFF);
  font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.step h3 { font-size: 1.2rem; }
.step p { font-size: 14.8px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- 18. Avis ---------- */
.reviews__top { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.reviews__ctrl { display: flex; gap: 10px; }
.rbtn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--line-firm); background: var(--white);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-out);
}
.rbtn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.rbtn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }

.reviews__viewport { overflow: hidden; }
.reviews__track { display: flex; gap: 18px; transition: transform .56s var(--ease-out); }
.review {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.2vw, 34px);
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 720px) { .review { flex-basis: calc(50% - 9px); } }
@media (min-width: 1100px) { .review { flex-basis: calc(33.333% - 12px); } }
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 16px; height: 16px; fill: var(--yellow); }
.review p { font-family: var(--display); font-size: 1.05rem; line-height: 1.55; font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 40; }
.review__who { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.review__av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #FFF;
  font-family: var(--display); font-size: 17px;
  background: var(--tone, var(--blue));
}
.review__name { font-size: 14.5px; font-weight: 700; }
.review__meta { font-size: 12.5px; color: var(--ink-faint); }

.reviews__dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.rdot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line-firm); cursor: pointer; transition: background-color .25s, width .25s; }
.rdot[aria-current="true"] { background: var(--blue); width: 28px; border-radius: 999px; }

/* ---------- 19. Tarifs ---------- */
.pricing {
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center; display: grid; gap: 20px; justify-items: center;
}
.pricing__seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); }
.pricing__seal svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.pricing p { max-width: 58ch; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

/* ---------- 20. FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 24px 56px 24px 0;
  font-family: var(--display); font-size: clamp(1.06rem, 1.9vw, 1.26rem);
  line-height: 1.3; color: var(--ink); cursor: pointer; position: relative;
}
.faq__q::after {
  content: ""; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-warm);
  transition: background-color .3s var(--ease);
}
.faq__q::before {
  content: ""; position: absolute; right: 13px; top: 50%; z-index: 1;
  width: 11px; height: 11px; margin-top: -8px;
  border-right: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .35s var(--ease-out), border-color .3s var(--ease);
}
.faq__q[aria-expanded="true"]::after { background: var(--blue); }
.faq__q[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: -2px; border-color: #FFF; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding-bottom: 26px; padding-right: 48px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }

/* ---------- 21. Contact ---------- */
.contact__grid { display: grid; gap: clamp(32px, 5vw, 54px); }
@media (min-width: 920px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.info { display: grid; gap: 20px; }
.info__row { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.info__row:last-child { border-bottom: 0; padding-bottom: 0; }
.info__ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tone, var(--blue)); }
.info__ic svg { width: 20px; height: 20px; stroke: var(--on-tone, #FFF); fill: none; stroke-width: 1.8; }
.info__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.info__value { font-size: 16px; line-height: 1.55; }
.info__value a { color: var(--blue); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.info__value a:hover { border-bottom-color: var(--blue); }

.hours { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px clamp(16px, 2.4vw, 22px); font-size: 14.8px; border-bottom: 1px solid var(--line); }
.hours__row:last-child { border-bottom: 0; }
.hours__row.is-today { background: var(--yellow-wash); }
.hours__row.is-today dt { color: var(--ink); font-weight: 700; }
.hours__row dt { color: var(--ink-soft); margin: 0; }
.hours__row dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours__row dd.closed { color: var(--ink-faint); }
.hours__note { font-size: 13px; color: var(--ink-faint); margin-top: 12px; }

/* ---------- 22. Pied de page ---------- */
.footer { background: var(--paper-warm); color: var(--ink); }
.footer__inner { padding-top: clamp(44px, 6vw, 72px); }

/* Dernier appel à l'action, en carte blanche posée sur le beige */
.footer__cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(30px, 4.5vw, 52px);
  display: grid; gap: 16px; justify-items: center; text-align: center;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.footer__cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.footer__cta p { color: var(--ink-soft); max-width: 52ch; font-size: 16px; line-height: 1.65; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

.footer__grid { display: grid; gap: 38px 32px; padding-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 680px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .footer__grid { grid-template-columns: 1.5fr 1.75fr 1fr 1.3fr; } }

.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer__brand img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.footer__brand-name { font-family: var(--display); font-size: 20px; line-height: 1.12; letter-spacing: -0.015em; }
.footer__brand-ar { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.footer__about { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; max-width: 38ch; margin-bottom: 18px; }

.footer__rating {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; text-decoration: none; margin-bottom: 20px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.footer__rating:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.footer__rating svg { width: 14px; height: 14px; fill: var(--yellow); }
.footer__rating b { font-weight: 700; }
.footer__rating span { color: var(--ink-soft); }

.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social a {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink);
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .25s var(--ease-out);
}
.footer__social a:hover {
  background: var(--tone); border-color: var(--tone);
  color: var(--on-tone, #FFF); transform: translateY(-3px);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__col h4 {
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
@media (min-width: 520px) { .footer__links--2 { grid-template-columns: repeat(2, 1fr); gap: 11px 22px; } }
.footer__links a {
  font-size: 14.5px; color: var(--ink-soft); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__links a:hover { color: var(--ink); border-bottom-color: var(--yellow); }

.footer__contact { display: grid; gap: 15px; margin-bottom: 18px; }
.footer__contact-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.footer__contact-row svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--tone, var(--blue)); fill: none; stroke-width: 1.9; }
.footer__contact-row a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.footer__contact-row a:hover { border-bottom-color: var(--blue); }

.footer__hours-mini {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.7;
  padding: 14px 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.footer__hours-mini b { color: var(--ink); }
.footer__hours-mini span { display: block; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-faint);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.footer__bottom a { color: var(--ink-faint); text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }
.footer__top-link { display: inline-flex; align-items: center; gap: 7px; }
.footer__top-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* La barre d'action mobile flotte au-dessus : on lui laisse la place */
@media (max-width: 1079px) {
  .footer__bottom { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 23. Barre d'action mobile ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 249, 244, .96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(115%);
  transition: transform .38s var(--ease-out);
}
.actionbar.is-visible { transform: translateY(0); }
.actionbar .btn { min-height: 52px; padding-inline: 12px; font-size: 14.5px; }
@media (min-width: 1080px) { .actionbar { display: none; } }

/* ---------- 24. Prise de rendez-vous ---------- */
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: end center;
  background: rgba(27, 36, 55, .5);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
@media (min-width: 760px) { .modal { place-items: center; } }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  width: min(680px, 100%);
  max-height: min(92vh, 920px); overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 40px) calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateY(24px);
  transition: transform .4s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 760px) { .modal__panel { border-radius: var(--radius-lg); padding-bottom: clamp(24px, 4vw, 40px); } }
.modal.is-open .modal__panel { transform: translateY(0); }

.modal__top { display: flex; align-items: flex-start; gap: 16px; }
.modal__top h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 6px; }
.modal__top p { color: var(--ink-soft); font-size: 14.5px; }
.modal__close {
  margin-left: auto; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 2px solid var(--line-firm); background: var(--white);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.modal__close:hover { border-color: var(--ink); }
.modal__close svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2.4; fill: none; }

.progress { display: flex; gap: 6px; margin: 22px 0 26px; }
.progress i { height: 5px; flex: 1; border-radius: 999px; background: var(--line); transition: background-color .35s var(--ease); }
.progress i.is-done:nth-child(1) { background: var(--green); }
.progress i.is-done:nth-child(2) { background: var(--yellow); }
.progress i.is-done:nth-child(3) { background: var(--red); }
.progress i.is-done:nth-child(4) { background: var(--blue); }

.step-panel { display: none; }
.step-panel.is-active { display: block; animation: fadeUp .38s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 9px; }
.field .hint { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 15px 16px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--body); font-size: 16px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: var(--white); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field .error { display: none; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #C4291A; }
.field.has-error input, .field.has-error select { border-color: #C4291A; }
.field.has-error .error { display: block; }

.choices { display: grid; gap: 12px; }
@media (min-width: 560px) { .choices--2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 4px;
  min-height: 56px; padding: 15px 18px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice b { font-size: 15px; }
.choice small { font-size: 13px; color: var(--ink-faint); line-height: 1.45; }
.choice input:hover + span { border-color: var(--line-firm); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-wash); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.consent label { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.modal__actions .btn { flex: 1 1 auto; }

.recap { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.recap__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); background: var(--paper); }
.recap__row:last-child { border-bottom: 0; }
.recap__row dt { color: var(--ink-faint); margin: 0; }
.recap__row dd { margin: 0; text-align: right; font-weight: 700; }

.reassure {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--green-wash); margin-bottom: 20px;
}
.reassure svg { width: 20px; height: 20px; flex: none; margin-top: 2px; stroke: var(--green); fill: none; stroke-width: 2; }
.reassure p { font-size: 13.8px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- 25. Révélations ---------- */
.reveal--armed { opacity: 0; transform: translateY(20px); }
.reveal--in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* ---------- 26. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee__track { animation: none; }
  .reveal--armed { opacity: 1; transform: none; }
  #confetti { display: none; }
}
