/* Maison Relais Charlemagne Académie — feuille de style
   Écriture « à la Apple » : police système (SF Pro sur Mac et iPhone),
   blanc et gris clair, très grands titres serrés, tuiles arrondies,
   boutons pilule, barre de navigation translucide.
   Identité conservée : bleu royal et or du logo Charlemagne Académie.

   Hiérarchie des arrondis : tuiles 28 px · photos dans les tuiles 18 px ·
   champs 12 px · boutons et puces en pilule. */

:root {
  --white: #FFFFFF;
  --gray: #F5F5F7;
  --gray-2: #E8E8ED;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #86868B;
  --accent: #1A4FD1;          /* bleu royal du logo, éclairci pour l’écran */
  --accent-hover: #123EAE;
  --royal: #1B2F6E;           /* bleu du logo */
  --night: #0B1530;           /* sections sombres */
  --night-2: #16224A;
  --on-night: #A1A9C2;
  --gold: #C8A961;            /* or du logo */
  --gold-light: #E3CC8E;
  --coral: #C2522F;           /* 3 – 6 ans */
  --leaf: #2F7D4A;            /* 6 – 8 ans */
  --sky: #1F66B8;             /* 8 – 11 ans */
  --rule: rgba(0, 0, 0, 0.1);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: max(22px, 4vw);
  --measure: 1180px;
  --section-y: clamp(80px, 10vw, 140px);
  --r-tile: 28px;
  --r-img: 18px;
  --r-field: 12px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(26, 79, 209, 0.55); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(26, 79, 209, 0.18); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 980px; }
.skip-link:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Structure ---------- */
.container { max-width: var(--measure); margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--light { background: var(--gray); }
.section--navy { background: var(--night); color: #F5F5F7; }
.section--tight { padding-top: 0; }

/* ---------- Typographie ---------- */
.kicker { margin: 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: 0.004em; line-height: 1.2; color: var(--ink); }
.section--navy .kicker, .page-head .kicker { color: var(--gold); }
.h1, .h2, .h3 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(44px, 7.2vw, 88px); line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.18; letter-spacing: -0.02em; }
.section--navy .h2, .section--navy .h3 { color: #F5F5F7; }
.lead { margin: 20px 0 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.38; letter-spacing: -0.01em; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.lead a { font-weight: 500; }
.section--navy .lead { color: var(--on-night); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 14px; letter-spacing: -0.01em; }

/* En-tête de section : grand titre à gauche, introduction en gris dessous */
.head { margin-bottom: clamp(44px, 5vw, 72px); max-width: 900px; }
.head .kicker { display: none; }
.head .lead { max-width: 52ch; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; border: 0; border-radius: 980px; font: 400 17px/1.18 var(--font); letter-spacing: -0.022em; cursor: pointer; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn--royal, .btn--gold { background: var(--accent); color: #fff; }
.btn--royal:hover, .btn--gold:hover { background: var(--accent-hover); color: #fff; }
.section--navy .btn--gold, .insc-actions .btn--gold { background: var(--gold); color: var(--night); }
.section--navy .btn--gold:hover, .insc-actions .btn--gold:hover { background: var(--gold-light); color: var(--night); }
.btn--line { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn--line:hover { background: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: #F5F5F7; box-shadow: inset 0 0 0 1px rgba(245, 245, 247, 0.5); }
.btn--ghost:hover { background: #F5F5F7; color: var(--night); }
.btn--sm { min-height: 0; padding: 6px 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.actions--center { justify-content: center; }
/* Lien « En savoir plus » à la manière d’Apple : texte bleu et chevron dessiné */
.more { display: inline-flex; align-items: center; gap: 6px; font-size: inherit; color: var(--accent); }
.more::after { content: ''; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); margin-top: 1px; }
.section--navy .more { color: #6EA4FF; }

/* ---------- Bandeau d’annonce et barre de navigation ---------- */
.ribbon { background: var(--gray); text-align: center; font-size: 14px; line-height: 1.4; padding: 11px var(--gutter); color: var(--ink); }
.ribbon p { margin: 0; }
.ribbon a { margin-left: 4px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.site-header__bar { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; height: 40px; }
.logo img { height: 100%; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 14px; letter-spacing: -0.01em; }
.nav a:not(.btn) { color: rgba(0, 0, 0, 0.8); }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current=page]:not(.btn) { color: var(--ink); font-weight: 600; }
.nav .btn { min-height: 0; padding: 7px 15px; font-size: 14px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 21.5px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 28px; background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 10px 0; color: var(--ink); }
  .nav .btn { align-self: flex-start; margin-top: 18px; padding: 12px 24px; font-size: 17px; font-weight: 400; }
}

/* ---------- Héros de la page d’accueil ---------- */
.hero { padding: clamp(56px, 7vw, 96px) var(--gutter) 0; text-align: center; overflow: hidden; }
.hero .kicker { color: var(--accent); }
.hero .h1 { margin: 14px auto 0; max-width: 16ch; }
.hero__text { margin: 22px auto 0; max-width: 40ch; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.36; color: var(--ink-2); letter-spacing: -0.012em; }
.hero .actions { justify-content: center; margin-top: 32px; }
.hero__media { margin: clamp(48px, 6vw, 72px) calc(var(--gutter) * -1) 0; height: min(76vh, 780px); overflow: hidden; border-radius: var(--r-tile); transform: scale(0.9); transform-origin: 50% 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 734px) { .hero__media { height: 56vh; transform: none; border-radius: 0; } }

/* ---------- L’essentiel : grille de tuiles ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { margin: 0; position: relative; grid-column: span 12; background: var(--gray); border-radius: var(--r-tile); padding: clamp(28px, 3vw, 44px); overflow: hidden; display: flex; flex-direction: column; min-height: 280px; }
.section--light .tile { background: var(--white); }
.tile__label { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.tile__big { margin-top: auto; padding-top: 28px; font-size: clamp(48px, 6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; color: var(--ink); }
.tile__big small { font-size: 0.42em; letter-spacing: -0.02em; font-weight: 600; }
.tile__txt { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); max-width: 34ch; }
.tile .more { margin-top: 16px; font-size: 17px; }
.tile--night { background: var(--night) !important; color: #F5F5F7; }
.tile--night .tile__label { color: var(--gold); }
.tile--night .tile__big { color: #F5F5F7; }
.tile--night .tile__txt { color: var(--on-night); }
.tile--photo { padding: 0; min-height: 420px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo .tile__cap { position: relative; margin-top: auto; padding: 80px 32px 30px; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent); color: #fff; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.tile--gradient .tile__big { background: linear-gradient(100deg, var(--coral) 0%, var(--gold) 50%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 735px) {
  .b-ages { grid-column: span 5; }
  .b-hours { grid-column: span 7; }
  .b-photo { grid-column: span 6; grid-row: span 2; }
  .b-trajet { grid-column: span 6; }
  .b-csa { grid-column: span 6; }
  .b-meteo { grid-column: span 6; }
}
@media (min-width: 1069px) {
  .b-photo { grid-column: span 5; }
  .b-trajet { grid-column: span 7; }
  .b-csa { grid-column: span 4; }
  .b-meteo { grid-column: span 3; }
  .bento:has(.meteo[hidden]) .b-csa { grid-column: span 7; }
}

/* Météo du jour à Contern (Open-Meteo) */
.meteo[hidden] { display: none; }
.meteo { background: linear-gradient(160deg, #3D7BD9 0%, #6EA4E8 100%) !important; color: #fff; }
.meteo__kicker { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.meteo__kicker span { display: block; font-weight: 400; opacity: 0.85; text-transform: none; }
.meteo__row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 20px; flex-wrap: wrap; }
.meteo__temp { font-size: 64px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.meteo__sky { font-size: 17px; font-weight: 600; }
.meteo__range { margin-top: 4px; font-size: 14px; opacity: 0.9; }
.meteo__tip { margin-top: 14px; font-size: 15px; line-height: 1.35; }
.meteo__src { margin-top: 10px; font-size: 11px; opacity: 0.75; }
.meteo__src a { color: inherit; text-decoration: underline; }

/* ---------- Mot de la direction ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.frame { position: relative; overflow: hidden; background: var(--gray-2); aspect-ratio: 4 / 5; border-radius: var(--r-tile); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 16 / 10; }
.about .h2 { font-size: clamp(32px, 4vw, 52px); }
.about .lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; max-width: 56ch; }
.missions { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.missions li { color: var(--ink-2); padding-left: 26px; position: relative; max-width: 56ch; }
.missions li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 4px var(--white); outline: 1.5px solid var(--gold); outline-offset: -1.5px; }
.section--light .missions li::before { box-shadow: inset 0 0 0 4px var(--gray); }
.missions strong { color: var(--ink); font-weight: 600; }
.signature { margin-top: 32px; }
.signature strong { display: block; font-size: 19px; font-weight: 600; color: var(--ink); }
.signature span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about .frame { max-width: 440px; } }

/* ---------- La journée : frise horaire ---------- */
.day-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 980px; max-width: 100%; }
.day-tabs button { background: none; border: 0; border-radius: 980px; color: #D2D6E2; font: 400 15px/1.2 var(--font); letter-spacing: -0.01em; padding: 11px 20px; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.day-tabs button:hover { color: #fff; }
.day-tabs button[aria-selected=true] { background: #F5F5F7; color: var(--night); font-weight: 600; }
.day-center { text-align: center; }
.timeline { margin-top: 56px; }
.timeline__scale { position: relative; height: 24px; font-size: 13px; color: var(--on-night); font-variant-numeric: tabular-nums; }
.timeline__scale span { position: absolute; transform: translateX(-50%); }
.timeline__bar { position: relative; height: 84px; background: rgba(255, 255, 255, 0.06); border-radius: 22px; overflow: hidden; }
.seg { position: absolute; top: 6px; bottom: 6px; border-radius: 16px; display: flex; align-items: center; padding: 0 14px; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; overflow: hidden; transition: left .6s var(--ease), width .6s var(--ease); margin-left: 3px; margin-right: 3px; }
.seg--mr { background: var(--gold); color: var(--night); }
.seg--school { background: rgba(255, 255, 255, 0.1); color: #C9CFDD; font-weight: 400; }
.seg--canteen { background: rgba(227, 204, 142, 0.28); color: #F5F5F7; font-weight: 400; }
.timeline__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 20px; font-size: 14px; color: var(--on-night); }
.timeline__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 8px; }
.steps-day { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.steps-day li { padding: 24px; background: var(--night-2); border-radius: 20px; }
.steps-day time { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--gold); font-variant-numeric: tabular-nums; }
.steps-day strong { display: block; margin-top: 6px; color: #F5F5F7; font-weight: 600; }
.steps-day p { margin: 6px 0 0; color: var(--on-night); font-size: 15px; line-height: 1.45; }
.day-note { margin: 32px auto 0; font-size: 15px; color: var(--on-night); max-width: 64ch; text-align: center; }
@media (max-width: 640px) { .seg { font-size: 0; padding: 0; } .timeline__scale span:nth-child(even) { display: none; } .timeline__bar { height: 56px; } }

/* ---------- Groupes, principes, champs d’action : tuiles ---------- */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.group { background: var(--gray); border-radius: var(--r-tile); padding: clamp(28px, 3vw, 40px); }
.section--light .group { background: var(--white); }
.group__age { font-size: clamp(56px, 6vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--royal); font-variant-numeric: tabular-nums; }
.group__age small { font-size: 0.32em; letter-spacing: -0.01em; margin-left: 6px; }
.group .h3 { margin-top: 20px; }
.group p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }
#groupes .group:nth-child(1) .group__age, .age:nth-of-type(1) .age__badge { color: var(--coral); }
#groupes .group:nth-child(2) .group__age, .age:nth-of-type(2) .age__badge { color: var(--leaf); }
#groupes .group:nth-child(3) .group__age, .age:nth-of-type(3) .age__badge { color: var(--sky); }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.field { background: var(--white); border-radius: 22px; padding: 28px; }
.field .h3 { font-size: 21px; }
.field p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }

/* Piliers de la pédagogie : cartes photo */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.pillar { background: var(--white); border-radius: var(--r-tile); overflow: hidden; display: flex; flex-direction: column; }
.pillar .frame { aspect-ratio: 4 / 3; border-radius: 0; }
.pillar .h3 { margin: 28px 30px 0; }
.pillar p { margin: 12px 30px 32px; color: var(--ink-2); }

/* Règles de vie */
.rules { list-style: none; counter-reset: r; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.rules li { counter-increment: r; padding: 30px 28px; background: var(--night-2); border-radius: 22px; color: var(--on-night); font-size: 16px; }
.rules li::before { content: counter(r); display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.rules strong { color: #F5F5F7; font-weight: 600; display: block; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }

/* ---------- Au quotidien ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 48px; }
.services li { padding-top: 22px; border-top: 1px solid var(--rule); }
.services strong { display: block; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.services span { display: block; color: var(--ink-2); font-size: 16px; margin-top: 8px; }

/* Galerie défilante */
.carousel { margin-top: clamp(64px, 8vw, 100px); }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--measure)) / 2)); padding: 0 max(var(--gutter), calc((100vw - var(--measure)) / 2)); margin: 0 calc(var(--gutter) * -1); list-style: none; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: none; width: min(78vw, 560px); scroll-snap-align: start; margin: 0; }
.carousel__item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-tile); background: var(--gray-2); }
.carousel__item figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.carousel__item figcaption strong { color: var(--ink); font-weight: 600; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 26px; }
.carousel__nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gray-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.carousel__nav button:hover:not(:disabled) { background: #DCDCE0; }
.carousel__nav button:disabled { opacity: 0.4; cursor: default; }
.carousel__nav button::before { content: ''; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.carousel__nav .prev::before { transform: rotate(-135deg); margin-left: 4px; }
.carousel__nav .next::before { transform: rotate(45deg); margin-right: 4px; }

/* ---------- Tarifs : grands chiffres ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; text-align: center; }
.price { background: var(--white); border-radius: var(--r-tile); padding: 40px 28px; }
.price__val { font-size: clamp(44px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__val small { display: block; font-size: 17px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink-2); margin-bottom: 10px; }
.price--accent .price__val { color: var(--accent); }
.price p { margin: 14px auto 0; color: var(--ink-2); font-size: 16px; max-width: 24ch; }

.price-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; align-items: start; }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; } }
.price-grid > * { min-width: 0; }
.price-card { background: var(--white); border-radius: var(--r-tile); padding: clamp(26px, 3vw, 40px); }
.pricebox { margin: 0; }
.pricebox__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pricebox__row:first-child { padding-top: 0; }
.pricebox__row b { font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.table-wrap { overflow-x: auto; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 440px; }
th, td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--ink); font-size: 13px; color: var(--ink-2); }
td:last-child { color: var(--accent); font-weight: 600; white-space: nowrap; }
.estimator { background: var(--night); color: #F5F5F7; border-radius: var(--r-tile); padding: clamp(28px, 3.4vw, 44px); position: sticky; top: 84px; }
@media (max-width: 920px) { .estimator { position: static; } }
.estimator .h3 { color: #F5F5F7; font-size: clamp(24px, 2.4vw, 32px); }
.estimator label { display: block; margin-top: 24px; font-size: 15px; color: var(--on-night); }
.estimator label strong { color: #F5F5F7; }
.estimator select { width: 100%; margin-top: 8px; appearance: none; -webkit-appearance: none; background: var(--night-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A1A9C2' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; color: #F5F5F7; border: 0; border-radius: var(--r-field); padding: 14px 40px 14px 16px; font: 17px var(--font); }
.estimator input[type=range] { width: 100%; margin-top: 14px; accent-color: var(--gold); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.presets button { background: var(--night-2); border: 0; border-radius: 980px; color: #D2D6E2; font: 14px var(--font); padding: 9px 14px; min-height: 40px; cursor: pointer; }
.presets button:hover { background: #22305E; color: #fff; }
.estimate { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.estimate__val { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.035em; color: var(--gold); line-height: 1.12; }
.estimate p { margin: 10px 0 0; font-size: 14px; color: var(--on-night); }

/* ---------- Étapes d’inscription (vraie séquence : numérotée) ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.steps li { counter-increment: s; padding: 32px 28px; background: var(--white); border-radius: var(--r-tile); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.steps p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--white); border-radius: var(--r-tile); padding: clamp(28px, 3vw, 44px); }
.panel .h3 { font-size: clamp(24px, 2.4vw, 32px); }
.panel .lead { font-size: 17px; line-height: 1.5; }
.docs-inline { list-style: none; padding: 0; margin: 24px 0 0; }
.docs-inline li { border-top: 1px solid var(--rule); }
.docs-inline li:last-child { border-bottom: 1px solid var(--rule); }
.docs-inline a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; color: var(--ink); font-weight: 400; }
.docs-inline a:hover { color: var(--accent); text-decoration: none; }
.docs-inline a::after { content: ''; flex: none; width: 7px; height: 7px; border-top: 1.6px solid var(--ink-3); border-right: 1.6px solid var(--ink-3); transform: rotate(45deg); }
.docs-inline a:hover::after { border-color: var(--accent); }
.plain { padding-left: 20px; color: var(--ink-2); }
.plain li { margin: 7px 0; }

/* ---------- Formulaires ---------- */
.form { background: var(--white); border-radius: var(--r-tile); padding: clamp(28px, 3vw, 44px); }
.form .h3 { font-size: clamp(24px, 2.4vw, 32px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label, .fld > label, .fld > .lbl, .form legend { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.form input, .form select, .form textarea,
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=date], .fld select, .fld textarea { width: 100%; margin-top: 7px; padding: 13px 15px; border: 1px solid #D2D2D7; background: var(--white); font: 17px var(--font); letter-spacing: -0.022em; color: var(--ink); border-radius: var(--r-field); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus, .fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(26, 79, 209, 0.16); }
.form textarea, .fld textarea { min-height: 104px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.checks label { margin: 0; font-weight: 400; font-size: 15px; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; min-height: 40px; border-radius: 980px; background: var(--gray); cursor: pointer; }
.checks label:has(input:checked) { background: rgba(26, 79, 209, 0.1); color: var(--accent); }
.checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.form .btn { margin-top: 26px; width: 100%; }
.form__msg { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* ---------- Questions fréquentes ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { padding: 26px 48px 26px 0; position: relative; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.25; color: var(--ink); }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -6px 0 28px; color: var(--ink-2); max-width: 66ch; font-size: 17px; }
.qlist { max-width: 880px; margin-top: 0; }
.qlist a { padding: 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; margin-top: 8px; text-align: left; }
.contact > div { background: var(--gray); border-radius: 22px; padding: 26px 26px 28px; }
.contact span { display: block; font-size: 14px; color: var(--ink-2); }
.contact a, .contact p { display: block; margin: 8px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); word-break: break-word; }
.contact a:hover { color: var(--accent); text-decoration: none; }
.contact small { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--ink-2); letter-spacing: -0.01em; }

.section--light .contact > div { background: var(--white); }

/* ---------- Pied de page (gris clair, petit corps, comme chez Apple) ---------- */
.footer { border-top: 1px solid #D2D2D7; background: var(--gray); color: var(--ink-2); font-size: 12px; line-height: 1.4; letter-spacing: -0.01em; padding: 0 var(--gutter); }
.footer__note { max-width: var(--measure); margin: 0 auto; padding: 18px 0; border-bottom: 1px solid #D2D2D7; }
.footer__note p { margin: 0; }
.footer__inner { max-width: var(--measure); margin: 0 auto; padding: 22px 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.footer a { color: #424245; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 8px; }
.footer p { margin: 0 0 6px; }
.footer__legal { max-width: var(--measure); margin: 18px auto 0; padding: 16px 0 24px; border-top: 1px solid #D2D2D7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.lu { display: inline-flex; flex-direction: column; width: 16px; height: 11px; vertical-align: -1px; margin-left: 6px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.lu i { flex: 1; } .lu i:nth-child(1) { background: #ED2939; } .lu i:nth-child(2) { background: #fff; } .lu i:nth-child(3) { background: #00A1DE; }
[data-todo] { color: var(--coral); }

/* ---------- En-tête des pages intérieures ---------- */
.page-head { padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(48px, 6vw, 80px); text-align: center; }
.page-head .kicker { color: var(--accent); }
.page-head .h1 { margin: 14px auto 0; font-size: clamp(40px, 6.4vw, 80px); max-width: 16ch; }
.page-head .lead { margin: 22px auto 0; max-width: 44ch; }
.page-head .lead a { color: var(--accent) !important; }
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.subnav a { background: var(--gray); color: var(--ink); padding: 9px 18px; border-radius: 980px; font-size: 14px; }
.subnav a:hover { background: var(--gray-2); text-decoration: none; }

/* ---------- Page Pédagogie ---------- */
.age { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(28px, 3.4vw, 48px); background: var(--white); border-radius: var(--r-tile); margin-top: 20px; }
.age:first-of-type { margin-top: 0; }
.age--rev .age__media { order: 2; }
@media (max-width: 880px) { .age { grid-template-columns: 1fr; } .age--rev .age__media { order: 0; } }
.age .frame { border-radius: var(--r-img); }
.age__badge { font-size: clamp(48px, 5vw, 72px); font-weight: 600; letter-spacing: -0.05em; color: var(--royal); line-height: 1; }
.age__badge small { font-size: 0.34em; letter-spacing: -0.01em; margin-left: 6px; }
.age .h3 { margin-top: 16px; font-size: clamp(24px, 2.4vw, 32px); }
.age__intro { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; }
.age__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin-top: 26px; }
@media (max-width: 560px) { .age__cols { grid-template-columns: 1fr; } }
.age__cols h4 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.age__cols ul { list-style: none; margin: 0 0 18px; padding: 0; }
.age__cols li { position: relative; padding: 7px 0 7px 18px; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.age__cols li::before { content: ''; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.age:nth-of-type(1) .age__cols li::before { background: var(--coral); }
.age:nth-of-type(2) .age__cols li::before { background: var(--leaf); }
.age:nth-of-type(3) .age__cols li::before { background: var(--sky); }
.age__note { margin-top: 12px; padding: 16px 18px; background: var(--gray); border-radius: 14px; font-size: 15px; color: var(--ink-2); }
.study { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .study { grid-template-columns: 1fr; } }
.study .lead { max-width: 44ch; }
.study__card { background: var(--night-2); border-radius: var(--r-tile); overflow: hidden; padding: 0 30px 30px; }
.study__card .frame { margin: 0 -30px 26px !important; border-radius: 0; }
.study__card .h3 { color: #F5F5F7; font-size: 24px; }
.study__card dl { margin: 10px 0 0; }
.study__card dt { font-size: 14px; color: var(--gold); margin-top: 16px; font-weight: 600; }
.study__card dd { margin: 4px 0 0; color: #D2D6E2; font-size: 16px; }
.study-rules { list-style: none; counter-reset: sr; margin: 36px 0 0; padding: 0; }
.study-rules li { counter-increment: sr; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-night); font-size: 16px; }
.study-rules li::before { content: counter(sr); position: absolute; left: 0; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font-size: 15px; font-weight: 600; }
.study-rules strong { display: block; color: #F5F5F7; font-weight: 600; font-size: 18px; margin-bottom: 2px; }
.ateliers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 20px; }
.atelier { background: var(--gray); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.atelier .h3 { font-size: 22px; }
.atelier:nth-child(4n+1) .h3 { color: var(--coral); }
.atelier:nth-child(4n+2) .h3 { color: var(--leaf); }
.atelier:nth-child(4n+3) .h3 { color: var(--sky); }
.atelier:nth-child(4n+4) .h3 { color: #8A6A1F; }
.atelier p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.atelier__freq { margin-top: auto; padding-top: 16px; }
.atelier__freq, .atelier__ages { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink); }
.atelier__ages { margin-top: auto; padding-top: 16px; color: var(--accent); }

/* ---------- Calendrier ---------- */
:root { --c-classe: #FFFFFF; --c-vac: #F6E9C6; --c-peda: #DCE6FA; --c-ferme: #1D1D1F; --c-ferie: #D2D2D7; }
.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0 0 36px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.cal-legend i { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); display: inline-block; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.cal-layout > * { min-width: 0; }
@media (max-width: 980px) { .cal-layout { grid-template-columns: 1fr; } }
.cal-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 20px; }
.cal-month { background: var(--white); border-radius: 22px; padding: 20px 18px 18px; }
.cal-month__title { margin: 0 0 12px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: 11px; font-weight: 600; color: var(--ink-3); text-align: center; padding-bottom: 4px; }
.cal-day { position: relative; aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--c-classe); font: 400 13px var(--font); color: var(--ink); cursor: pointer; padding: 0; font-variant-numeric: tabular-nums; transition: transform .15s; }
.cal-day:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-day--vac { background: var(--c-vac); }
.cal-day--peda { background: var(--c-peda); }
.cal-day--ferme { background: var(--c-ferme); color: #fff; }
.cal-day--ferie { background: var(--c-ferie); }
.cal-day--we { background: transparent; color: #A1A1A6; }
.cal-day.has-evt::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-day--ferme.has-evt::after { background: var(--gold); }
.cal-day.is-today { background: var(--accent); color: #fff; font-weight: 600; }
.cal-side { position: sticky; top: 84px; }
@media (max-width: 980px) { .cal-side { position: static; } }
.cal-detail { background: var(--night); color: #F5F5F7; border-radius: var(--r-tile); padding: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-height: 170px; color: #D2D6E2; }
.cal-detail strong { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: #F5F5F7; line-height: 1.2; }
.cal-detail strong::first-letter { text-transform: uppercase; }
.cal-detail__type { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 980px; background: var(--gold); color: var(--night); }
.cal-detail__type--ferme, .cal-detail__type--ferie { background: #F2B8B5; }
.cal-detail__evt { color: var(--gold-light); }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda__item, .periode { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.agenda__item:first-child, .periode:first-child { border-top: 1px solid var(--rule); }
@media (max-width: 700px) { .agenda__item, .periode { grid-template-columns: 1fr; gap: 4px; } }
.agenda__item.is-past { opacity: 0.45; }
.agenda__date { font-size: 15px; color: var(--ink-2); }
.agenda__date::first-letter { text-transform: uppercase; }
.agenda__body strong { display: block; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.agenda__note { display: block; font-size: 15px; color: var(--ink-2); margin-top: 3px; }
.agenda__tag { justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 980px; white-space: nowrap; }
.agenda__tag--ecole { background: var(--c-peda); color: var(--royal); }
.agenda__tag--mr { background: var(--c-vac); color: #6B521E; }
.agenda__tag--ferme { background: var(--ink); color: #fff; }
.cal-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cal-split > div { background: var(--white); border-radius: var(--r-tile); padding: clamp(26px, 3vw, 40px); min-width: 0; }
.cal-split .h2 { font-size: clamp(26px, 2.8vw, 36px) !important; }
.cal-split .kicker { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
@media (max-width: 980px) { .cal-split { grid-template-columns: 1fr; } }
.cal-split .periode { grid-template-columns: 180px minmax(0, 1fr); }
@media (max-width: 700px) { .cal-split .periode { grid-template-columns: 1fr; } }

/* ---------- Dossier d’inscription en ligne ---------- */
.insc { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: start; }
.insc > * { min-width: 0; }
@media (max-width: 960px) { .insc { grid-template-columns: 1fr; } }
.insc-side { position: sticky; top: 84px; background: var(--white); border-radius: var(--r-tile); padding: 30px 28px; }
@media (max-width: 960px) { .insc-side { position: static; } }
.insc-side .h3 { font-size: 19px; }
.doclist { list-style: none; padding: 0; margin: 12px 0 28px; }
.doclist li { border-bottom: 1px solid var(--rule); }
.doclist a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; color: var(--accent); font-size: 15px; }
.doclist a span { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.insc-steps { list-style: none; counter-reset: st; padding: 0; margin: 12px 0 0; }
.insc-steps li { counter-increment: st; font-size: 15px; color: var(--ink-2); padding: 8px 0 8px 36px; position: relative; }
.insc-steps li::before { content: counter(st); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.insc-side .plain { font-size: 15px; }
.fsec { background: var(--white); border-radius: var(--r-tile); padding: clamp(26px, 3vw, 40px); margin-bottom: 20px; }
.fsec > h2 { margin: 0; font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.025em; color: var(--ink); }
.fsec > .fnote { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fgrid .wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.fld { margin-top: 2px; }
.fld .req { color: var(--coral); }
.fld.is-error input, .fld.is-error select, .fld.is-error textarea { border-color: #D70015; box-shadow: 0 0 0 4px rgba(215, 0, 21, 0.12); }
.fld.is-error .choices, .fld.is-error .pgrid { outline: 2px solid #D70015; outline-offset: 4px; border-radius: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); padding: 8px 14px; min-height: 40px; border-radius: 980px; background: var(--gray); cursor: pointer; }
.choices label:has(input:checked) { background: rgba(26, 79, 209, 0.1); color: var(--accent); }
.choices input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.fld.check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: 16px; margin-top: 16px; }
.fld.check input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.pgrid { width: 100%; border-collapse: collapse; margin-top: 10px; min-width: 0; font-size: 14px; }
.pgrid th, .pgrid td { padding: 12px 6px; border-bottom: 1px solid var(--rule); text-align: center; }
.pgrid th:first-child, .pgrid td:first-child { text-align: left; }
.pgrid td:first-child { color: var(--ink); font-weight: 600; }
.pgrid td:last-child { color: inherit; }
.pgrid td:first-child span { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 400; }
.pgrid input { width: 20px; height: 20px; accent-color: var(--accent); }
.pgrid .na { color: #C7C7CC; }
.prow { display: grid; grid-template-columns: 2fr 1.3fr 1.5fr; gap: 0 12px; }
@media (max-width: 620px) { .prow { grid-template-columns: 1fr; border-top: 1px solid var(--rule); margin-top: 12px; } }
.insc-actions { background: var(--night); color: #F5F5F7; border-radius: var(--r-tile); padding: clamp(26px, 3vw, 40px); }
.insc-actions p { color: var(--on-night); font-size: 15px; margin: 0 0 20px; }
.insc-actions .actions { margin-top: 0; }
.insc-status { margin-top: 18px; font-size: 15px; color: var(--gold); min-height: 1.4em; }
.insc-status.is-error { color: #F2B8B5; }
.linkbtn { background: none; border: 0; padding: 0; color: #6EA4FF; font: 14px var(--font); cursor: pointer; margin-top: 14px; }
.linkbtn:hover { text-decoration: underline; }
.cal-split .agenda__item { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
.cal-split .agenda__date { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .day-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; }
  .day-tabs button { padding: 10px 6px; border-radius: 14px; font-size: 13px; line-height: 1.25; }
}
@media (max-width: 980px) {
  .cal-side { order: -1; position: sticky; top: 68px; z-index: 5; }
  .cal-detail { min-height: 0; padding: 20px 22px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); }
}

/* Suivi des enfants : le rythme du journal de bord */
.rhythm { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.rhythm li { background: var(--night-2); border-radius: 22px; padding: 28px 26px 30px; }
.rhythm__when { display: block; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--gold); }
.rhythm p { margin: 12px 0 0; color: #D2D6E2; font-size: 16px; }
.privacy { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px 48px; }
.privacy li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); color: var(--on-night); font-size: 16px; }
.privacy strong { display: block; color: #F5F5F7; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }

/* Valeurs, droits de l’enfant, bon à savoir */
.values { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 20px; }
.values li { background: var(--gray); border-radius: 22px; padding: 26px 24px; color: var(--ink-2); font-size: 15px; }
.values strong { display: block; font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 8px; }
.values li:nth-child(5n+1) strong { color: var(--coral); }
.values li:nth-child(5n+2) strong { color: var(--leaf); }
.values li:nth-child(5n+3) strong { color: var(--sky); }
.values li:nth-child(5n+4) strong { color: #8A6A1F; }
.values li:nth-child(5n+5) strong { color: var(--royal); }
.rights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 48px; }
.rights li { padding-top: 22px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 16px; }
.rights strong { display: block; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 6px; }
.subhead { margin: clamp(64px, 8vw, 104px) 0 28px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.section--navy .subhead { color: #F5F5F7; }
.ladder { list-style: none; counter-reset: l; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.ladder li { counter-increment: l; background: var(--gray); border-radius: 22px; padding: 26px 24px; color: var(--ink-2); font-size: 15px; }
.ladder li::before { content: counter(l); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.ladder strong { display: block; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.fact { background: var(--white); border-radius: 22px; padding: 28px 28px 30px; }
.section:not(.section--light) .fact { background: var(--gray); }
.fact .h3 { font-size: 21px; }
.fact p, .fact li { color: var(--ink-2); font-size: 16px; }
.fact p { margin: 10px 0 0; }
.fact ul { margin: 10px 0 0; padding-left: 18px; }
.fact li { margin: 4px 0; }
.fact__big { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.contacts-line { margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.contacts-line a { white-space: nowrap; }
.values { gap: 28px 36px; margin-bottom: clamp(48px, 6vw, 72px); }
.values li { background: none; border-radius: 0; padding: 20px 0 0; border-top: 1px solid var(--rule); }

/* =====================================================================
   Revue d’ensemble — principes de design Apple (skill apple-design)
   ===================================================================== */

/* Couleurs d’accent ajustées : contraste AA sur fond gris et blanc */
:root { --coral: #B4472A; }
.tile--gradient .tile__big { background-image: linear-gradient(100deg, var(--coral) 0%, #8F6A1C 52%, var(--sky) 100%); }
.meteo { background: linear-gradient(160deg, #2559B5 0%, #2F6ED4 100%) !important; }
.cal-day--we { color: var(--ink-2); }

/* Les images WebP n’altèrent pas la mise en page : <picture> s’efface */
picture { display: contents; }

/* 1. Réponse immédiate : l’appui se voit à l’instant où l’on presse */
.btn, .day-tabs button, .carousel__nav button, .presets button, .subnav a, .checks label, .choices label, .cal-day, .nav-toggle { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .1s ease-out; }
.btn:active, .presets button:active, .subnav a:active, .checks label:active, .choices label:active { transform: scale(0.97); }
.day-tabs button:active { transform: scale(0.96); }
.carousel__nav button { transition: background-color .2s, transform .1s ease-out; }
.carousel__nav button:active:not(:disabled) { transform: scale(0.92); }
.cal-day { transition: transform .1s ease-out, box-shadow .15s; }
.cal-day:active { transform: scale(0.9); }
.more:active { opacity: 0.6; }

/* 2. Matière : la barre reste translucide ; son filet n’apparaît que lorsque le contenu passe dessous */
.site-header { border-bottom-color: transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.72); }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 1240px) {
  .nav { transform-origin: 100% 0; }
  .nav.is-open { animation: nav-in .32s var(--ease) both; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

/* 3. Typographie : l’espacement des lettres dépend de la taille */
.small, .contacts-line, .form__msg, .insc-steps li, .doclist a, table { letter-spacing: -0.01em; }
.footer, .agenda__tag, .cal-dow, .cal-day, .atelier__freq, .atelier__ages, .cal-detail__type, .meteo__src, .contact small { letter-spacing: 0; }
.cal-dow { letter-spacing: 0.02em; }
.h1, .h2 { font-optical-sizing: auto; }

/* 4. Liens dans le texte : soulignés, pas seulement colorés */
.lead a, .small a, .contacts-line a, .faq p a, .fact a, .tile__txt a, .footer__legal a, .legal a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: rgba(26, 79, 209, 0.45);
}
.lead a:hover, .small a:hover, .contacts-line a:hover, .faq p a:hover, .fact a:hover, .legal a:hover { text-decoration-color: currentColor; }
.footer a { text-decoration-color: rgba(0, 0, 0, 0.3); }

/* Focus visible y compris sur les sections sombres */
.section--navy :focus-visible, .insc-actions :focus-visible, .estimator :focus-visible, .cal-detail :focus-visible, .tile--night :focus-visible { outline-color: var(--gold); }

/* 5. Accessibilité : transparence réduite, contraste accru, mouvement réduit */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .site-header.is-scrolled, .nav { background: #FFFFFF !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3A3A3C; --on-night: #D7DCEA; --rule: rgba(0, 0, 0, 0.35); }
  .site-header, .site-header.is-scrolled { background: #FFFFFF; border-bottom-color: #1D1D1F; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tile, .group, .pillar, .price, .panel, .form, .fsec, .fact, .atelier, .steps li, .cal-month, .contact > div, .insc-side, .price-card, .age, .values li, .ladder li { box-shadow: inset 0 0 0 1.5px #1D1D1F; }
  .btn--line, .btn--ghost { box-shadow: inset 0 0 0 2px currentColor; }
  a { text-decoration: underline; }
  .nav a, .btn, .more { text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.is-open { animation: none; }
  .btn:active, .day-tabs button:active, .cal-day:active, .carousel__nav button:active { transform: none; }
}

/* 6. Impression : les familles impriment souvent tarifs et questions */
@media print {
  .ribbon, .site-header, .nav-toggle, .carousel__nav, .hero__media, .actions, .subnav, .skip-link, .day-tabs, .timeline, .meteo, form.form, .insc-actions, .footer__note { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-head { padding: 18pt 0; }
  .section--navy, .tile--night, .estimator, .cal-detail, .insc-actions { background: #FFFFFF !important; color: #000 !important; }
  .section--navy .h2, .section--navy .lead, .section--navy p, .section--navy strong, .rhythm p, .privacy li, .rules li, .steps-day p { color: #000 !important; }
  .tile, .group, .fact, .price, .panel, .atelier, .rhythm li, .rules li, .steps-day li { break-inside: avoid; background: #FFFFFF !important; box-shadow: inset 0 0 0 1px #999; }
  .faq details { break-inside: avoid; }
  .faq details:not([open]) > p { display: block !important; }
  a { color: #000; }
}

/* Mentions légales et page d’erreur */
.legal { max-width: 760px; }
.legal h2 { margin: 48px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; }
.legal ul { padding-left: 20px; }
.legal dl { margin: 16px 0 0; display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 10px 24px; }
.legal dt { color: var(--ink); font-weight: 600; font-size: 15px; }
.legal dd { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* Dossier en ligne : place réservée avant que le formulaire ne s’affiche (pas de saut de mise en page) */
#form-root:empty { min-height: 120vh; }
/* Rendez-vous passés : estompés par la couleur, lisibles quand même */
.agenda__item.is-past { opacity: 1; }
.agenda__item.is-past .agenda__body strong, .agenda__item.is-past .agenda__date { color: var(--ink-2); font-weight: 400; }
.agenda__item.is-past .agenda__tag { background: var(--gray); color: #515154; }
@media (max-width: 1240px) {
  .nav { height: calc(100vh - 60px); height: calc(100dvh - 60px); overflow-y: auto; background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; padding-top: 18px; }
  .nav a:not(.btn) { padding: 12px 0; font-size: 28px; letter-spacing: -0.03em; }
}
.price-card td:last-child { color: inherit; font-weight: inherit; }
.price-card td:nth-child(2) { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* Sélecteur de langue (FR · EN · LB) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.lang-switch a { padding: 4px 6px; border-radius: 8px; color: rgba(0, 0, 0, 0.55) !important; }
.lang-switch a:hover { color: var(--ink) !important; background: var(--gray); text-decoration: none; }
.lang-switch a[aria-current=true] { color: var(--royal) !important; box-shadow: inset 0 0 0 1px rgba(27, 47, 110, 0.25); }
/* Sur ordinateur, le sélecteur est dans le bandeau du haut ; dans le menu sur mobile et tablette */
.ribbon { position: relative; }
.ribbon .lang-switch--ribbon { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); font-size: 12px; }
.ribbon .lang-switch--ribbon a { margin-left: 0; padding: 3px 6px; }
.nav .lang-switch { display: none; }
@media (max-width: 1240px) {
  .ribbon .lang-switch--ribbon { display: none; }
  .nav .lang-switch { display: inline-flex; order: 99; margin-top: 22px; gap: 8px; font-size: 16px; }
  .nav .lang-switch a { padding: 6px 12px; }
}
