/* ==========================================================================
   Coach Coton : thème D2 « Énergie + rose »
   Bricolage Grotesque (titres) + Instrument Sans (texte)
   ========================================================================== */

:root {
  --nuit: #1A2E3D;
  --nuit-2: #24405A;
  --bleu: #3F6A88;
  --eau: #DCEBF3;
  --eau-2: #C6DCE9;
  --or: #C9A961;
  --or-2: #D6B874;
  --rose: #F4A6B0;
  --rose-texte: #E8899A;
  --rose-fonce: #C4606F;
  --rose-pale: #FBEDEF;
  --rose-ligne: #F4D2D7;
  --fond: #FAF8F4;
  --blanc: #FFFFFF;
  --ligne: #E6E1D8;
  --texte: #1A2E3D;
  --texte-2: #3F4B57;
  --texte-3: #5B6770;
  --clair: #D8DEE3;
  --clair-2: #B8C1C9;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1440px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55;
  color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max) - 2 * var(--gutter)); margin-inline: auto; }

.accent { color: var(--rose-texte); }
.accent--or { color: var(--or); }
.italic { font-style: italic; font-weight: 300; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--texte-2); }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 10px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--nuit { background: var(--nuit); color: var(--fond); }
.btn--nuit:hover { background: var(--nuit-2); }
.btn--or { background: var(--or); color: var(--nuit); }
.btn--or:hover { background: var(--or-2); }
.btn--clair { background: var(--fond); color: var(--nuit); }
.btn--ghost { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.btn--ghost:hover { background: var(--nuit); color: var(--fond); }
.btn--ghost-clair { border-color: rgba(250,248,244,.5); color: var(--fond); background: transparent; }
.btn--ghost-clair:hover { border-color: var(--fond); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.lien {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600;
  border-bottom: 2px solid var(--or); padding-bottom: 2px; line-height: 1.2;
  transition: color .3s, border-color .3s;
}
.lien:hover { color: var(--bleu); border-color: var(--nuit); }

/* --- En-tête ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--fond) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--ligne); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--nuit); border-radius: 10px; background: transparent;
}
.burger svg { width: 18px; height: 12px; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--nuit); color: var(--fond);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s;
}
.menu.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .4s; }
.menu a { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 10vw, 60px); letter-spacing: -0.03em; padding: 4px 0; }
.menu a:hover { color: var(--rose); }
.menu__close { position: absolute; top: 18px; right: var(--gutter); width: 46px; height: 46px; border: 1px solid var(--fond); border-radius: 10px; background: transparent; color: var(--fond); }
.menu__foot { margin-top: 28px; font-size: 14px; color: var(--clair-2); }

/* --- Hero (carrousel) ---------------------------------------------------- */
.hero { padding: 8px 0 0; }
.hero__box {
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--nuit-2); color: var(--fond);
  min-height: clamp(520px, 52vw, 760px); display: flex; align-items: flex-end; padding: clamp(28px, 3.9vw, 56px);
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -1; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide--vide { background: linear-gradient(160deg, var(--nuit-2), var(--bleu)); }
.hero__voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,46,61,.28) 0%, rgba(26,46,61,.5) 45%, rgba(26,46,61,.88) 100%); }
.hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.pastille {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px;
  border: 1px solid var(--rose); color: var(--rose); border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(26,46,61,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero h1 { font-weight: 800; font-size: clamp(52px, 7.2vw, 104px); line-height: 0.92; letter-spacing: -0.035em; }
.hero h1 .mot-cle { color: var(--rose); }
.hero .lead { max-width: 560px; color: var(--clair); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-top: 6px; }
.hero__actions .lien { color: var(--fond); border-color: var(--or); }
.hero__actions .lien:hover { color: var(--rose); }
.hero__dots { position: absolute; right: clamp(28px, 3.9vw, 56px); bottom: clamp(28px, 3.9vw, 56px); display: flex; gap: 8px; }
.hero__dots button { width: 12px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(250,248,244,.4); transition: width .4s var(--ease), background .3s; }
.hero__dots button.is-active { width: 32px; background: var(--rose); }
.placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-start; padding: 24px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clair-2);
}
.placeholder--clair { color: var(--texte-3); }

/* --- Chiffres ------------------------------------------------------------ */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: clamp(40px, 4vw, 56px) 0; }
.chiffre { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 2px solid var(--nuit); }
.chiffre b { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.chiffre b.accent { color: var(--rose-texte); }
.chiffre b.accent--or { color: var(--or); }
.chiffre span { font-size: 15px; color: var(--texte-3); }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(56px, 6.5vw, 96px) 0; }
.section__titre { font-size: clamp(40px, 4.2vw, 60px); margin-bottom: clamp(24px, 2.4vw, 32px); }

/* Parcours */
.parcours { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.parcours__photo { position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--r); overflow: hidden; background: var(--eau); }
.parcours__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.parcours__body { display: flex; flex-direction: column; gap: 22px; }
.parcours__body h2 { font-size: clamp(40px, 4.2vw, 60px); }
.parcours__body .italic { color: var(--rose-fonce); font-size: clamp(18px, 1.35vw, 20px); font-family: var(--display); font-weight: 400; }
.parcours__body .lien { align-self: flex-start; }

/* Cartes d'offres */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cartes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carte {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.2vw, 32px); min-height: 360px;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -36px rgba(26,46,61,.4); }
.carte__media { position: relative; height: 150px; border-radius: var(--r-sm); overflow: hidden; background: var(--eau); }
.carte__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.carte h3 { font-size: clamp(26px, 2.1vw, 30px); letter-spacing: -0.02em; line-height: 1.05; }
.carte p { flex-grow: 1; font-size: 15px; line-height: 1.55; color: var(--texte-2); }
.carte .lien { align-self: flex-start; font-size: 15px; border-bottom: 0; min-height: 0; padding: 0; }
.carte--nuit { background: var(--nuit); color: var(--fond); border-color: var(--nuit); }
.carte--nuit p { color: var(--clair-2); }
.carte--nuit .carte__media { background: var(--nuit-2); }
.carte--nuit .lien { color: var(--or); }
.carte--eau .carte__media { background: var(--eau); }
.carte--rose { background: var(--rose-pale); border-color: var(--rose-ligne); }
.carte--rose .carte__media { background: var(--rose); }
.carte--rose .lien { color: var(--rose-fonce); }
.carte--clair .carte__media { background: var(--ligne); }
.carte--or { background: var(--or); border-color: var(--or); }
.carte--or p { color: #3F2F14; }
.carte--or .carte__media { background: var(--fond); }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stage {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r);
}
.stage__media { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--eau); min-height: 200px; }
.stage__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.stage__body { display: flex; flex-direction: column; gap: 10px; }
.stage__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--eau); color: var(--nuit); }
.tag--rose { background: var(--rose-pale); color: var(--rose-fonce); }
.tag--or { background: #F3E9CF; color: #7A5E1E; }
.tag--complet { background: var(--nuit); color: var(--fond); }
.stage h3 { font-size: 28px; letter-spacing: -0.02em; }
.stage__lieu { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.stage__lieu svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--rose-texte); }
.stage__lieu-texte { min-width: 0; }
.stage__adresse { color: var(--texte-3); font-weight: 400; }
.stage p { font-size: 15px; line-height: 1.55; color: var(--texte-2); flex-grow: 1; }
.stage__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--ligne); }
.stage__prix { font-size: 15px; font-weight: 600; }
.stage__places { font-size: 14px; font-weight: 600; color: var(--rose-fonce); }
.stage__places--complet { color: var(--texte-3); }
.stages__intro { max-width: 640px; margin-bottom: 32px; }

/* Méthode */
.methode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.levier { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--eau); border-radius: var(--r); }
.levier:nth-child(2) { background: var(--rose-pale); }
.levier:nth-child(3) { background: var(--nuit); color: var(--fond); }
.levier h3 { font-size: 30px; }
.levier p { font-size: 15px; line-height: 1.55; color: inherit; opacity: .85; }

/* Plans */
.plans { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.plans__text { display: flex; flex-direction: column; gap: 20px; }
.plans__text h2 { font-size: clamp(40px, 4.2vw, 60px); }
.plans__text .lien { align-self: flex-start; }
.plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); transition: border-color .3s, transform .4s var(--ease); }
.plan:hover { border-color: var(--rose); transform: translateY(-3px); }
.plan h3 { font-size: 24px; letter-spacing: -0.02em; }
.plan span { font-size: 14px; color: var(--texte-3); }
.plan b { padding-top: 6px; font-size: 18px; font-weight: 700; color: var(--rose-fonce); }

/* Contact */
.contact { padding: clamp(32px, 4.4vw, 64px); background: var(--eau); border-radius: var(--r); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.4vw, 64px); align-items: start; }
.contact__text { display: flex; flex-direction: column; gap: 18px; }
.contact__text h2 { font-size: clamp(36px, 3.7vw, 52px); }
.contact__text h2 .italic { color: var(--rose-fonce); }
.contact__text p { color: var(--texte-2); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-3); font-weight: 600; }
.form input, .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--blanc); border: 1px solid var(--eau-2);
  border-radius: 10px; color: var(--texte); font-family: var(--sans); font-size: 15px; transition: border-color .3s;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--rose-texte); }
.form button { min-height: 54px; border: 0; background: var(--nuit); color: var(--fond); border-radius: 10px; font-weight: 600; font-size: 16px; transition: background .3s; }
.form button:hover { background: var(--nuit-2); }
.form__note { font-size: 12px; color: var(--texte-3); }
.hidden { display: none; }

/* Pied de page */
.footer { padding: 40px 0 56px; font-size: 14px; color: var(--texte-3); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--rose-fonce); }

/* Pages simples */
.page { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.page h1 { font-size: clamp(40px, 4.4vw, 64px); }
.page__body { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--texte-2); }
.page__body p { margin: 0; }
.page__body a { border-bottom: 2px solid var(--or); }
.page__body strong { color: var(--texte); }

/* --- Animations ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.hero h1 .mot { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero.is-visible h1 .mot { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero h1 .mot { opacity: 1; transform: none; transition: none; }
  .hero__slide img { transition: none; transform: none; }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .cartes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { grid-template-columns: 1fr; }
  .stage__media { min-height: 180px; }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parcours, .plans, .contact { grid-template-columns: 1fr; }
  .cartes, .cartes--4, .stages, .methode { grid-template-columns: 1fr; }
  .hero__box { min-height: 560px; }
  .hero__dots { right: auto; left: clamp(28px, 3.9vw, 56px); bottom: 20px; }
  .hero__text { padding-bottom: 20px; }
  /* Libellé « photo à ajouter » plus discret, et place réservée au-dessus du texte tant qu'une photo manque */
  .hero .placeholder { padding: 16px 18px; font-size: 10px; letter-spacing: 0.1em; }
  .hero__box:has(.hero__slide--vide) { padding-top: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .form__row, .plans__grid { grid-template-columns: 1fr; }
  .contact__actions .btn { width: 100%; }
  .chiffre b { font-size: 44px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Corrections */
h2 .italic { font-size: inherit; font-weight: 300; font-family: inherit; }
.parcours__body h2 .italic { color: var(--rose-texte); }
.parcours__body h2 .italic { font-size: inherit; font-family: inherit; }
.hero .placeholder { align-items: flex-start; justify-content: flex-end; text-align: right; }

/* --- Page Clubs ---------------------------------------------------------- */
.hero__box--simple { min-height: clamp(440px, 42vw, 600px); }
.carte--texte { min-height: 0; }
.carte--texte h3 { font-size: clamp(24px, 1.9vw, 28px); }
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.etape { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--nuit); }
.etape__num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--rose-texte); }
.etape h3 { font-size: 26px; }
.etape p { font-size: 15px; color: var(--texte-2); }
.tarifs { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4.4vw, 64px); align-items: start; }
.tarifs__text { display: flex; flex-direction: column; gap: 18px; }
.tarifs__text h2 { font-size: clamp(40px, 4.2vw, 60px); }
.tarifs__note { font-size: 14px; color: var(--texte-3); }
.tarifs__liste { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; }
.tarif { display: flex; justify-content: space-between; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--ligne); font-size: 16px; }
.tarif:last-child { border-bottom: 0; }
.tarif b { text-align: right; color: var(--rose-fonce); }
.temoignage { font-size: 17px; line-height: 1.55; color: var(--texte); flex-grow: 1; }
.muted { color: var(--texte-3); font-size: 14px; }
@media (max-width: 1100px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tarifs { grid-template-columns: 1fr; } .tarif { flex-direction: column; gap: 4px; } .tarif b { text-align: left; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

/* --- Partenaires --------------------------------------------------------- */
.partenaires { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 4.4vw, 64px); padding: clamp(32px, 4.4vw, 56px); background: var(--nuit); color: var(--fond); border-radius: var(--r); align-items: center; }
.partenaires__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.partenaires__text h2 { font-size: clamp(40px, 4.2vw, 60px); }
.partenaires__text h2 .italic { color: var(--rose); }
.partenaires__text .lead { color: var(--clair); }
.pastille--nuit { border-color: var(--or); color: var(--or); }
.partenaires__points { display: flex; flex-direction: column; gap: 16px; }
.point { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: rgba(250,248,244,.06); border: 1px solid rgba(250,248,244,.12); border-radius: var(--r-sm); }
.point__puce { flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--rose); }
.point p { font-size: 15px; line-height: 1.5; color: var(--clair); }
.logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 8px; }
.logo-partenaire img { height: 40px; width: auto; opacity: .9; filter: brightness(0) invert(1); }
@media (max-width: 900px) { .partenaires { grid-template-columns: 1fr; } }

/* Ancres : décalage sous l'en-tête collant */
html { scroll-padding-top: 96px; }
section[id], [id="contact-clubs"], [id="offres"], [id="stages"], [id="parcours"], [id="plans"], [id="partenaires"] { scroll-margin-top: 96px; }
@media (max-width: 900px) { html { scroll-padding-top: 84px; } section[id] { scroll-margin-top: 84px; } }

/* --- Slider des formules ------------------------------------------------- */
.slider__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 2.4vw, 32px); }
.slider__nav { display: flex; gap: 8px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--nuit); background: transparent; color: var(--nuit); display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s, opacity .3s; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn:hover { background: var(--nuit); color: var(--fond); }
.slider__btn[disabled] { opacity: .25; cursor: default; }
.slider__btn[disabled]:hover { background: transparent; color: var(--nuit); }
.slider { position: relative; }
.slider__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 20px; margin: -4px -4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slider__track::-webkit-scrollbar { display: none; }
.cartes--slider { grid-template-columns: none; }
.cartes--slider .carte { flex: 0 0 clamp(280px, 30vw, 400px); scroll-snap-align: start; }
.slider::after { content: ""; position: absolute; top: 0; right: 0; bottom: 20px; width: 96px; pointer-events: none; background: linear-gradient(90deg, rgba(250,248,244,0), var(--fond)); opacity: 1; transition: opacity .4s; }
.slider.is-end::after { opacity: 0; }
.slider__indice { position: absolute; right: 8px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--nuit); color: var(--fond); font-size: 13px; font-weight: 600; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); animation: glisse 1.6s ease-in-out infinite; }
.slider__indice svg { width: 16px; height: 16px; }
.slider.is-end .slider__indice, .slider.is-moved .slider__indice { opacity: 0; transform: translateX(8px); animation: none; }
@keyframes glisse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@media (max-width: 900px) { .slider__nav { display: none; } .cartes--slider .carte { flex-basis: 82vw; } }
@media (prefers-reduced-motion: reduce) { .slider__indice { animation: none; } .slider__track { scroll-behavior: auto; } }
