/* ==========================================================================
   Centre Actif Bilingue : feuille de style des maquettes (cab.css)
   --------------------------------------------------------------------------
   Écrite à la main, téléphone d'abord, sans préprocesseur.
   Les variables portent les noms des futurs jetons Tailwind 4 (@theme).
   Un composant = une classe racine (bloc__element--variante).
   Seuils : 768 px (tablette), 1 101 px (ordinateur), 1 280 px (grand écran).
   ========================================================================== */

/* 1. Polices ---------------------------------------------------------------- */

@font-face {
  font-family: 'More Sugar';
  src: url('../fonts/MoreSugar-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: block;
  ascent-override: 91.9%; descent-override: 27.5%; line-gap-override: 0%;
}
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-ext-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-ext-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-ext-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-ext-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-ext-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 2. Jetons ------------------------------------------------------------------ */

:root {
  /* Couleurs de la charte (le lime et le bleu clair : personnages seulement) */
  --color-creme: #FFF7EB;
  --color-blanc: #FFFFFF;
  --color-beige: #F4E5CF;
  --color-bordeaux: #67000B;
  --color-vert: #12573E;
  --color-violet: #7D6EFF;
  --color-orange: #F4532C;
  --color-peche: #FFC4A8;
  --color-lilas: #DBA3E0;
  --color-lime: #ADCA43;
  --color-bleu-clair: #A8D3F5;

  /* Polices */
  --font-titre: 'More Sugar', 'Outfit', system-ui, sans-serif;
  --font-texte: 'Outfit', system-ui, sans-serif;

  /* Arrondis */
  --radius-pastille: 999px;
  --radius-panneau: 56px;
  --radius-panneau-tel: 36px;
  --radius-carte-langue: 36px;
  --radius-carte: 32px;
  --radius-postit: 30px;
  --radius-encart: 28px;
  --radius-date: 24px;
  --radius-reponse: 22px;
  --radius-champ: 14px;
  --radius-logo: 12px;
  --radius-barre: 28px; /* barre de rubrique : une pastille sur une ligne (56 px de haut), une carte sur plusieurs */

  /* Ombres pleines, toujours vers le bas et la droite */
  --shadow-bouton: 5px 5px 0 var(--color-lilas);
  --shadow-bouton-clair: 4px 4px 0 var(--color-lilas);
  --shadow-postit: 7px 8px 0 rgb(103 0 11 / .2);

  /* Voile crème sur la vidéo d'ambiance de l'accueil : 0 % tant que la vraie vidéo manque, à régler ensuite entre
     0 et 30 % selon ses images (la variante « voile », ?heros=voile, le porte à 80 % puis à 65 %) */
  --voile-heros: 0%;

  /* Gabarit */
  --container-max: 1280px;
  --spacing-gouttiere: 16px;
  --spacing-ombre-annonce: 5px; /* ombre lilas de la barre d'annonce (6 px dès 768 px) et liseré qui la remplace en haut du héros */

  /* Interpolation des tailles entre 390 et 1 440 px : 0 à 390 px, 1 px à 1 440 px */
  --f: calc((100vw - 390px) / 1050);
}
@media (min-width: 768px)  { :root { --spacing-gouttiere: 32px; --spacing-ombre-annonce: 6px; } }
@media (min-width: 1101px) { :root { --spacing-gouttiere: 56px; } }

/* 3. Base -------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--color-creme);
  color: var(--color-bordeaux);
  font-family: var(--font-texte);
  font-size: clamp(1rem, calc(1rem + 2 * var(--f)), 1.125rem);
  line-height: 1.55;
  overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-bordeaux); outline-offset: 3px; }
::selection { background: var(--color-peche); color: var(--color-bordeaux); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.insecable { white-space: nowrap; }
.a-fournir { /* information manquante : aucun effet visuel, comptée par le contrôle */ }
.filtres { position: absolute; width: 0; height: 0; overflow: hidden; }

.conteneur {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--spacing-gouttiere);
}

/* Sur les fonds foncés, le contour du focus passe en crème */
.annonce :focus-visible, .pied :focus-visible, .valeurs__panneau :focus-visible,
.langues :focus-visible, .resultat :focus-visible, .section--vert :focus-visible,
.guide__demo--bordeaux :focus-visible, .guide__demo--vert :focus-visible {
  outline-color: var(--color-creme);
}

/* 4. Personnages -------------------------------------------------------------- */
/* Décoratifs (aria-hidden). Position et rotation par variables sur l'élément :
   --g (left), --d (right), --h (top), --b (bottom), --r (rotation). */

.perso {
  position: absolute;
  left: var(--g, auto); right: var(--d, auto); top: var(--h, auto); bottom: var(--b, auto);
  transform: rotate(var(--r, 0deg));
  height: auto;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.perso--statique { position: static; width: 100%; height: 100%; transform: rotate(var(--r, 0deg)); }
.perso--orange { color: var(--color-orange); }
.perso--violet { color: var(--color-violet); }
.perso--peche { color: var(--color-peche); }
.perso--lilas { color: var(--color-lilas); }
.perso--vert { color: var(--color-vert); }
.perso--bordeaux { color: var(--color-bordeaux); }
.perso--lime { color: var(--color-lime); }
.perso--bleu-clair { color: var(--color-bleu-clair); }
.perso--devant { z-index: 2; }

/* Selon la largeur (classes de la maquette) */
.deco { display: none; }
@media (min-width: 1101px) { .deco { display: block; } }
.deco-l { display: none; }
@media (min-width: 1280px) { .deco-l { display: block; } .deco-o { display: none; } }
.deco-tel { display: block; }
@media (min-width: 1101px) { .deco-tel { display: none; } }

/* 5. Icônes ------------------------------------------------------------------- */

.icone { flex: none; width: 20px; height: 20px; }
.icone--petite { width: 18px; height: 18px; }
.icone--moyenne { width: 24px; height: 24px; }
.icone--puce { width: 22px; height: 22px; overflow: visible; }

/* 6. Lien d'évitement, en-tête, menus ---------------------------------------- */

.evitement {
  position: absolute; left: 16px; top: -200px; z-index: 100;
  background: var(--color-bordeaux); color: var(--color-creme);
  padding: 12px 20px; border-radius: var(--radius-pastille);
  font-weight: 700; font-size: 1rem;
}
.evitement:focus { top: 12px; outline-color: var(--color-violet); }

.entete { position: relative; z-index: 30; background: var(--color-creme); }
.entete__haut {
  max-width: var(--container-max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px 12px;
}
@media (min-width: 768px) { .entete__haut { padding-inline: 32px; } }
@media (min-width: 1101px) { .entete__haut { padding: 20px 56px 0; gap: 20px; } }
.entete__actions { display: flex; align-items: center; gap: 10px; }
@media (min-width: 1101px) { .entete__actions { gap: 14px; } }
.entete__bouton { display: none !important; }
@media (min-width: 1101px) { .entete__bouton { display: inline-flex !important; } }
.entete__menu { display: none; }
@media (min-width: 1101px) {
  .entete__menu { display: block; max-width: var(--container-max); margin-inline: auto; padding: 18px 56px 10px; }
}

.logo {
  display: inline-flex; flex: none;
  background: var(--color-blanc);
  border-radius: 10px; padding: 7px 9px;
  box-shadow: inset 0 0 0 1.5px rgb(103 0 11 / .16);
}
.logo__image { width: 96px; height: auto; }
@media (min-width: 1101px) {
  .logo { border-radius: var(--radius-logo); padding: 9px 12px; }
  .logo__image { width: 124px; }
}

.langues-site { display: flex; gap: 6px; }
.langues-site__lien {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9375rem; line-height: 1;
  border: 2px solid var(--color-bordeaux); color: var(--color-bordeaux);
}
.langues-site__lien[aria-current] { background: var(--color-bordeaux); color: var(--color-creme); }
.langues-site__lien:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Barre de menu (ordinateur) */
.menu {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: var(--color-blanc); border-radius: var(--radius-pastille); padding: 7px;
  filter: drop-shadow(6px 6px 0 var(--color-lilas));
}
.menu__lien {
  flex: 1 1 auto; text-align: center; padding: 13px 12px; border-radius: var(--radius-pastille);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; white-space: nowrap;
}
.menu__lien:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.menu__lien[aria-current] { background: var(--color-peche); }

/* Menu replié (téléphone et tablette) : <details>, amélioré par cab.js */
.menu-tel { position: static; }
@media (min-width: 1101px) { .menu-tel { display: none; } }
.menu-tel__bouton {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 16px 0 13px; border-radius: var(--radius-pastille);
  background: var(--color-blanc); color: var(--color-bordeaux);
  font-weight: 700; font-size: 1rem; line-height: 1;
  box-shadow: var(--shadow-bouton-clair);
}
.menu-tel__fermer, .menu-tel[open] .menu-tel__ouvrir { display: none; }
.menu-tel[open] .menu-tel__fermer { display: inline-flex; align-items: center; gap: 8px; }
.menu-tel__ouvrir { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 359px) {
  .menu-tel__bouton { padding: 0 12px; }
  .menu-tel__libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.menu-tel__panneau {
  position: absolute; left: 0; right: 0; top: 100%;
  min-height: calc(100vh - 70px); min-height: calc(100dvh - 70px);
  background: var(--color-creme);
  padding: 10px 16px 120px;
  overflow: clip;
}
@media (min-width: 768px) { .menu-tel__panneau { padding-inline: 32px; } }
.menu-tel__nav {
  background: var(--color-blanc); border-radius: 28px; padding: 6px 0;
  filter: drop-shadow(6px 6px 0 var(--color-lilas));
  max-width: 720px;
}
.menu-tel__groupe + .menu-tel__groupe { border-top: 1.5px dashed rgb(103 0 11 / .2); }
.menu-tel__rubrique {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 0 20px 0 22px;
  font-weight: 700; font-size: 1.1875rem; line-height: 1.2; color: var(--color-bordeaux);
}
.menu-tel__rubrique[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.menu-tel__chevron { transition: transform .2s ease; }
.menu-tel__groupe[open] .menu-tel__chevron { transform: rotate(180deg); }
.menu-tel__sous { display: flex; flex-direction: column; padding: 0 0 10px; list-style: none; }
.menu-tel__lien {
  display: flex; align-items: center; min-height: 48px; padding: 0 20px 0 38px;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.25;
}
.menu-tel__lien[aria-current] { background: var(--color-peche); }
.menu-tel__lien:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-tel__action { padding-top: 28px; max-width: 720px; }
.menu-tel__coordonnees { padding: 24px 4px 0; display: flex; flex-direction: column; gap: 8px; }
/* Tailles de la planche Telephone-Menu (brief 6.2) : adresse en Outfit 800 16 px, téléphone en Outfit 600 15 px */
.menu-tel__coordonnees .coordonnees__adresse { font-size: 1rem; }
.menu-tel__coordonnees .coordonnees__contact { font-size: .9375rem; }
.menu-tel__persos { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; overflow: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .menu-tel__chevron { transition: none; } }

/* 7. Barre d'annonce ------------------------------------------------------------ */

.annonce { position: relative; z-index: 2; background: var(--color-bordeaux); color: var(--color-creme); box-shadow: 0 var(--spacing-ombre-annonce) 0 var(--color-lilas); }
.annonce__contenu {
  max-width: var(--container-max); margin-inline: auto;
  padding: 14px 16px 18px;
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-areas: "titre titre fermer" "ligne ligne ligne" "date bouton bouton";
  column-gap: 14px; row-gap: 10px; align-items: center;
}
.annonce__textes { display: contents; }
.annonce__titre {
  grid-area: titre; min-width: 0;
  font: 400 1.1875rem/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase;
}
.annonce__ligne { grid-area: ligne; font-weight: 600; font-size: .9375rem; line-height: 1.4; color: var(--color-peche); }
.annonce__date {
  grid-area: date; margin-top: 4px;
  display: inline-flex; align-items: center; white-space: nowrap;
  border-radius: var(--radius-pastille); background: var(--color-peche); color: var(--color-bordeaux);
  font: 400 1rem/1 var(--font-titre); letter-spacing: .07em; text-transform: uppercase;
  padding: 10px 15px 8px; transform: rotate(-3deg);
}
.annonce__bouton { grid-area: bouton; justify-self: start; margin-top: 4px; }
@media (max-width: 379px) {
  .annonce__contenu { grid-template-areas: "titre titre fermer" "ligne ligne ligne" "date date date" "bouton bouton bouton"; }
  .annonce__date { justify-self: start; }
}
.annonce__fermer {
  grid-area: fermer;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: transparent; color: var(--color-creme); border: 2px solid var(--color-creme); cursor: pointer;
}
@media (min-width: 768px) {
  .annonce__contenu { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 12px 32px; }
  .annonce__textes { display: flex; flex-direction: column; gap: 2px; flex: 1 1 380px; min-width: 0; }
  .annonce__titre { font-size: 1.5rem; }
  .annonce__ligne { font-size: 1.0625rem; line-height: 1.35; }
  .annonce__date { order: -1; margin: 0; font-size: 1.25rem; padding: 12px 20px 10px; }
  .annonce__bouton, .annonce__date { margin-top: 0; }
}
@media (min-width: 1101px) { .annonce__contenu { padding: 12px 56px; } }

/* 8. Boutons --------------------------------------------------------------------- */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none;
  min-height: 52px; border-radius: var(--radius-pastille); border: 0;
  font-family: var(--font-texte); font-weight: 700; font-size: 1.125rem; line-height: 1.1;
  padding: 16px 28px; white-space: nowrap; cursor: pointer; text-align: center;
  transition: transform .15s ease;
}
@media (hover: hover) { .bouton:hover { transform: translateY(-2px); } }
.bouton--principal {
  background: var(--color-violet); color: var(--color-creme);
  font-family: var(--font-titre); font-weight: 400; font-size: 1.5rem; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 14.8px 30px 13.2px;
  box-shadow: var(--shadow-bouton);
}
.variante-boutons-bordeaux .bouton--principal { background: var(--color-bordeaux); }
@media (max-width: 767px) { .bouton--principal { letter-spacing: .02em; } }
.bouton--secondaire { background: transparent; color: var(--color-bordeaux); border: 3px solid var(--color-bordeaux); padding: 13.1px 26px; }
.bouton--sombre { background: var(--color-bordeaux); color: var(--color-creme); }
.bouton--clair {
  min-height: 44px; background: var(--color-creme); color: var(--color-bordeaux);
  font-family: var(--font-titre); font-weight: 400; font-size: 1.0625rem; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; padding: 13px 20px 11px;
  box-shadow: var(--shadow-bouton-clair);
}
@media (min-width: 768px) { .bouton--clair { min-height: 46px; font-size: 1.125rem; padding: 14px 24px 12px; } }
.bouton--peche { background: var(--color-peche); color: var(--color-bordeaux); }
.bouton--petit { background: var(--color-bordeaux); color: var(--color-creme); min-height: 46px; font-size: .9375rem; padding: 10px 14px; gap: 8px; }
@media (min-width: 1101px) { .bouton--petit { font-size: 1rem; padding: 12px 20px; gap: 10px; } }
.bouton--bloc { display: flex; width: 100%; white-space: normal; }
@media (max-width: 767px) { .bouton { white-space: normal; max-width: 100%; } }
.bouton--bloc.bouton--principal { padding-inline: 14px; line-height: 1.05; }

/* Groupe de boutons : l'un sous l'autre sur téléphone, en ligne ensuite */
.boutons { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.boutons > .bouton { width: 100%; white-space: normal; line-height: 1.2; }
.boutons > .bouton--principal { line-height: 1.05; padding: 15px 14px 13px; }
@media (min-width: 768px) {
  .boutons { flex-direction: row; flex-wrap: wrap; gap: 16px; width: auto; }
  .boutons > .bouton { width: auto; white-space: nowrap; line-height: 1.1; }
  .boutons > .bouton--principal { line-height: 1; padding: 14.8px 30px 13.2px; }
}
.boutons--centre { justify-content: center; }

/* 9. Pastilles --------------------------------------------------------------------- */

.pastille {
  display: inline-flex; align-items: center; flex: none; align-self: flex-start;
  white-space: nowrap; border-radius: var(--radius-pastille);
  font-family: var(--font-texte); font-weight: 700; font-size: .875rem; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 13px; background: var(--color-bordeaux); color: var(--color-creme);
}
@media (min-width: 1101px) { .pastille { font-size: .9375rem; padding: 8px 14px; } }
.pastille--etiquette { font-size: .8125rem; }
@media (min-width: 1101px) { .pastille--etiquette { font-size: .8125rem; } }
.pastille--peche { background: var(--color-peche); color: var(--color-bordeaux); }
.pastille--lilas { background: var(--color-lilas); color: var(--color-bordeaux); }
.pastille--centre { align-self: center; }
.pastille--date {
  background: var(--color-peche); color: var(--color-bordeaux);
  font-family: var(--font-titre); font-weight: 400; font-size: 1.25rem; letter-spacing: .07em;
  padding: 12px 20px 10px; transform: rotate(-3deg);
}

/* Grandes pastilles (accueil) */
.pastille-grande {
  display: inline-block; flex: none; white-space: nowrap; border-radius: var(--radius-pastille);
  font-family: var(--font-texte); font-weight: 800; line-height: 1.12; padding: .3em .8em;
  color: var(--color-creme);
}
.pastille-grande--violet { background: var(--color-violet); }
.pastille-grande--orange { background: var(--color-orange); }

/* Pastilles de la pédagogie */
.pedago {
  display: inline-block; flex: none; white-space: nowrap; border-radius: var(--radius-pastille);
  font-family: var(--font-texte); font-weight: 500; line-height: 1.15;
  border: 3px solid var(--color-bordeaux); background: transparent; color: var(--color-bordeaux);
  font-size: 1.125rem; padding: 6px 16px 7px; transform: rotate(var(--r, 0deg));
}
.pedago__fort { font-weight: 800; }
.pedago--lilas { border-color: var(--color-lilas); background: var(--color-lilas); font-size: 1.1875rem; padding: 7px 18px 8px; --r: -1.5deg; }
.pedago--violet {
  border-color: var(--color-violet); background: var(--color-violet); color: var(--color-creme);
  font-size: 1.5rem; padding: 9px 24px 10px; --r: 1deg;
  white-space: normal; max-width: 100%; text-align: center; border-radius: 28px; flex: 0 1 auto;
}
.pedago--a { --r: 1.2deg; }
.pedago--b { --r: -1.2deg; }
@media (min-width: 768px) { .pedago--violet { white-space: nowrap; border-radius: var(--radius-pastille); flex: none; } }
@media (min-width: 1101px) {
  .pedago { line-height: 1.1; font-size: 1.5rem; padding: 7px 20px 8px; }
  .pedago--lilas { font-size: 1.625rem; padding: 8px 22px 9px; }
  .pedago--violet { font-size: 1.875rem; padding: 9px 25px 10px; }
}

.pedagogie__liste { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 10px; list-style: none; }
.pedagogie__rangee { display: contents; }
.pedagogie__liste--gauche { justify-content: flex-start; }
@media (min-width: 1101px) { .pedagogie__liste--gauche { align-items: flex-start; } .pedagogie__liste--gauche .pedagogie__rangee { justify-content: flex-start; } }
.equipe__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 768px) { .equipe__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 1101px) { .equipe__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.langues__cartes--page { max-width: 860px; }
@media (min-width: 1101px) {
  .pedagogie__liste { flex-direction: column; gap: 16px; }
  .pedagogie__rangee { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
}

/* 10. Titres ------------------------------------------------------------------------ */

/* Titre « autocollant » des pages intérieures : filtre SVG défini une fois par page */
.titre-autocollant {
  font: 400 clamp(2.125rem, calc(2.125rem + 30 * var(--f)), 4rem)/1.2 var(--font-titre);
  text-transform: uppercase; letter-spacing: .07em; color: var(--color-bordeaux);
  filter: url(#autocollant-s);
  margin-block: .25em .4em;
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (min-width: 768px)  { .titre-autocollant { filter: url(#autocollant-m); } }
@media (min-width: 1101px) { .titre-autocollant { filter: url(#autocollant-l); } }
/* Titres saisis dans l'administration (stage, actualité) : Outfit 800, jamais More Sugar */
.titre-saisi {
  font: 800 clamp(2rem, calc(2rem + 16 * var(--f)), 3rem)/1.15 var(--font-texte);
  color: var(--color-bordeaux); margin-block: .2em .3em; text-wrap: balance;
}

/* Titre de section : pastille + h2 More Sugar + introduction */
.titre-section { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.titre-section > .pastille { align-self: center; }
.titre-section--gauche { align-items: flex-start; text-align: left; }
.titre-section--gauche > .pastille { align-self: flex-start; }
.titre-section__titre {
  font: 400 clamp(2rem, calc(2rem + 19 * var(--f)), 3.1875rem)/1.2 var(--font-titre);
  letter-spacing: .07em; text-transform: uppercase; color: var(--color-bordeaux); text-wrap: balance;
}
.titre-section__titre--xl { font-size: clamp(2.125rem, calc(2.125rem + 30 * var(--f)), 4rem); }
.titre-section__titre--m { font-size: clamp(1.875rem, calc(1.875rem + 21 * var(--f)), 3.1875rem); }
.titre-section__titre--s { font-size: clamp(1.875rem, calc(1.875rem + 15 * var(--f)), 2.8125rem); }
.titre-section__titre--aplat { font-size: clamp(1.875rem, calc(1.875rem + 10 * var(--f)), 2.5rem); color: var(--color-creme); }
.titre-section__titre--lecture { font-size: clamp(1.75rem, calc(1.75rem + 12 * var(--f)), 2.5rem); }
.titre-section__intro { font-size: clamp(1.0625rem, calc(1.0625rem + 2 * var(--f)), 1.1875rem); line-height: 1.55; max-width: 44em; }

/* 11. Héros de l'accueil : composition fixe, toutes cotes en em ------------------------ */

.heros { position: relative; overflow: clip; background: var(--color-creme); }
/* La scène isole ses calques : couche de fond (−1), personnages (0), contenu (1), bouton pause et liseré (2).
   --heros-bas : hauteur de l'étiquette d'attente (et, sous 768 px, du bouton pause) au-dessus du bas de la scène. */
.heros__scene { position: relative; isolation: isolate; --heros-bas: 92px; }
@media (min-width: 768px) { .heros__scene { --heros-bas: 30px; } }
@media (min-width: 1101px) { .heros__scene { min-height: 760px; --heros-bas: 48px; } }
/* Sur téléphone, 50 px de plus sous les boutons (106 px sur la Site 12) : le bouton pause et l'étiquette d'attente
   passent au-dessus de l'arche et du rocher, trop proches du centre pour les loger entre eux.
   Dès 1 101 px, la marge du bas réserve la place de l'étiquette d'attente (2,75rem : elle grandit avec le texte) : avec
   la police du navigateur agrandie, le contenu dépasse les 760 px de la scène sans que l'étiquette touche les boutons.
   Avec la police par défaut, rien ne change : le contenu et sa marge restent sous les 760 px. */
.heros__contenu {
  position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto;
  padding: 62px 16px 156px; display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 768px) { .heros__contenu { padding-inline: 32px; padding-bottom: 106px; } }
@media (min-width: 1101px) { .heros__contenu { padding: 16px 56px calc(var(--heros-bas) + 2.75rem + 20px); } }

/* Vidéo d'ambiance (retour du 28 novembre 2026) : couche de fond sur toute la scène, sous la barre d'annonce.
   Barre fermée (cab.js) ou absente : un liseré lilas plein borde le haut de la scène, comme l'ombre de la barre. */
.heros__scene::before {
  content: ''; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: var(--spacing-ombre-annonce);
  background: var(--color-lilas); pointer-events: none; display: none;
}
.annonce[hidden] + .heros__scene::before, .heros__scene:first-child::before { display: block; }
.heros__fond { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--color-beige); }
/* Voile crème réglable (--voile-heros), par-dessus l'image fixe et la vidéo */
.heros__fond::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in srgb, var(--color-creme) var(--voile-heros), transparent);
}
.heros__image { position: absolute; inset: 0; }
.heros__image-fixe, .heros__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* La vidéo reste transparente jusqu'à sa première image lue : l'image fixe est dessous */
.heros__video { opacity: 0; transition: opacity .5s ease; }
.heros__video--visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .heros__video { transition: none; } }

/* État d'attente, tant que la vidéo manque : des rayures beige et crème, puis une étiquette. Ni le beige uni ni le cadre
   pointillé des emplacements photo : ce serait le dessin du tableau des questions, juste dessous, et le héros doit
   trancher avec lui. Tous les textes du héros ont leur propre fond plein : les rayures ne changent aucun contraste. */
.heros__fond--attente { background: var(--color-beige) repeating-linear-gradient(-45deg, var(--color-beige) 0 28px, var(--color-creme) 28px 56px); }
/* L'étiquette, sans icône : elle ne doit pas passer pour un bouton */
.heros__attente {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 7px 16px; border-radius: var(--radius-pastille);
  background: var(--color-creme); border: 2px dashed rgb(103 0 11 / .30); color: var(--color-bordeaux);
  font-weight: 600; font-size: .9375rem; line-height: 1.3;
}
/* Dans la couche de fond : en bas au centre de la scène */
.heros__fond > .heros__attente { position: absolute; z-index: 1; left: 50%; bottom: var(--heros-bas); translate: -50% 0; }

/* Bouton pause : rond crème de 44 px, icône bordeaux, ombre lilas pleine de 4 px. data-etat="lecture" : la vidéo
   tourne, l'icône pause s'affiche ; data-etat="pause" : l'icône lecture. Caché (hidden) sans JavaScript. */
.heros__pause {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--color-creme); color: var(--color-bordeaux); box-shadow: var(--shadow-bouton-clair);
  transition: transform .15s ease;
}
@media (hover: hover) { .heros__pause:hover { transform: translateY(-2px); } }
.heros__pause-icone { width: 22px; height: 22px; }
.heros__pause[data-etat="lecture"] .icone--lecture, .heros__pause[data-etat="pause"] .icone--pause { display: none; }
/* Dans la scène (premier dans le code) :
   - sur téléphone, en bas au centre, sous les trois boutons, au-dessus de l'arche et du rocher (le haut de la scène
     est pris par la pastille « Respect du rythme de l'enfant ») ;
   - dès 768 px, en haut à droite, aligné sur le bord droit du contenu (sous la croix de la barre d'annonce dès
     1 101 px) : dans le premier écran de tous les portables, barre d'annonce ouverte ou fermée, et premier à l'écran
     comme dans le code. */
.heros__scene > .heros__pause { position: absolute; z-index: 2; left: 50%; bottom: var(--heros-bas); translate: -50% 0; }
@media (min-width: 768px) {
  .heros__scene > .heros__pause {
    top: 20px; bottom: auto; left: auto; translate: none;
    right: max(var(--spacing-gouttiere), calc((100% - var(--container-max)) / 2 + var(--spacing-gouttiere)));
  }
}

/* Éléments posés sur la vidéo : contour du focus bordeaux doublé d'un anneau crème, lisible sur toutes ses images */
.heros__scene :focus-visible { outline: 3px solid var(--color-bordeaux); outline-offset: 3px; box-shadow: 0 0 0 9px var(--color-creme); }
.heros__scene .bouton--principal:focus-visible { box-shadow: var(--shadow-bouton), 0 0 0 9px var(--color-creme); }
.heros__scene .heros__pause:focus-visible { box-shadow: var(--shadow-bouton-clair), 0 0 0 9px var(--color-creme); }

.titre-accueil {
  /* de 36 px (téléphone) à 76 px (ordinateur), et jusqu'à 30 px environ à 320 px */
  font-size: min(clamp(2.25rem, calc(2.25rem + 40 * var(--f)), 4.75rem), calc((100vw - 32px) * 0.1033));
  position: relative; flex: none;
  width: 9.6895em; height: 4.1816em;
  margin: 0 0 1.889em;
}
.titre-accueil__forme { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.titre-accueil__h1 { margin: 0; font-size: 1em; line-height: 0; font-weight: 400; }
.titre-accueil__ligne {
  position: absolute; left: -.2276em; width: 10.026em; display: block; text-align: center;
  font: 400 1em/1em var(--font-titre); letter-spacing: .07em; text-transform: uppercase;
  color: var(--color-bordeaux); white-space: nowrap;
}
.titre-accueil__ligne--1 { top: .5592em; }
.titre-accueil__ligne--2 { top: 1.7197em; }
.titre-accueil__ligne--3 { top: 2.8803em; }
.titre-accueil__suite {
  position: absolute; left: -.2276em; width: 10.026em; top: 3.9944em;
  display: flex; align-items: center; justify-content: center; gap: .3889em; white-space: nowrap;
  font-size: 1em; line-height: 1;
}
.titre-accueil__lieu {
  position: relative; top: .1333em; display: block; flex: none;
  font: 700 max(.4167em, .8125rem)/1 var(--font-texte); letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-vert); white-space: nowrap;
  /* Posé sur un autocollant blanc à ombre lilas, lisible sur la vidéo : les marges négatives compensent presque
     tout le rembourrage, le texte garde sa place dans la composition (la ligne s'élargit de 0,2 em, pour laisser
     de l'air entre l'autocollant et la pastille « bilingue ») */
  background: var(--color-blanc); border-radius: var(--radius-pastille);
  padding: .4em .5em .34em .58em; margin: -.4em -.3em -.34em -.58em;
  box-shadow: max(3px, .14em) max(3px, .14em) 0 var(--color-lilas); rotate: -2deg;
}
.titre-accueil__bilingue { font-size: .6944em; transform: rotate(2deg); }
.titre-accueil__pastille { position: absolute; left: 4.786em; top: -.6222em; transform: translate(-50%, -50%) rotate(-3deg); line-height: 0; }
.titre-accueil__pastille .pastille-grande { display: block; font-size: max(.5278em, 1.17rem); }
@media (min-width: 768px) {
  .titre-accueil { margin: 1.1447em 0 1.2237em; }
  .titre-accueil__suite { top: 3.8566em; gap: .5395em; }
  .titre-accueil__lieu { font-size: .3632em; top: .3007em; }
  .titre-accueil__bilingue { font-size: .6711em; }
  .titre-accueil__pastille { left: 4.025em; top: -.2895em; }
  .titre-accueil__pastille .pastille-grande { font-size: max(.3947em, 1.17rem); }
}
.heros__boutons { width: 100%; }
@media (min-width: 768px) { .heros__boutons { margin-top: 30px; } }
/* Boutons secondaires du héros remplis de crème : lisibles sur la vidéo */
.heros__boutons > .bouton--secondaire { background: var(--color-creme); }

/* Variante « voile » à comparer (?heros=voile, cab.js) : la composition Site 12 d'origine (« à Fontainebleau »
   sans autocollant, boutons secondaires transparents) sous un voile crème de 80 %, puis de 65 % dès 1 101 px, où
   « à Fontainebleau » est un grand texte (22,9 px en gras ; il ne le devient qu'à 795 px, 18,68 px, trop près du
   seuil pour s'y fier). Planchers calculés pour l'AA sur une image noire : 76 % (petit texte vert foncé), 62 % (grand
   texte vert foncé), 61 % (texte bordeaux de 18 px des boutons). */
.variante-heros-voile { --voile-heros: 80%; }
@media (min-width: 1101px) { .variante-heros-voile { --voile-heros: 65%; } }
.variante-heros-voile .titre-accueil__lieu { background: none; box-shadow: none; rotate: none; padding: 0; margin: 0; }
.variante-heros-voile .heros__boutons > .bouton--secondaire { background: transparent; }

/* 12. Questions fréquentes : tableau beige, post-it, questions dépliables --------------- */

.tableau-questions {
  position: relative; background: var(--color-beige);
  border-radius: 32px; border: 3px dashed rgb(103 0 11 / .28);
  padding: 40px 12px 18px; display: flex; flex-direction: column; gap: 28px;
}
@media (min-width: 768px) { .tableau-questions { padding: 48px 28px 28px; } }
@media (min-width: 1101px) { .tableau-questions { border-radius: var(--radius-panneau); padding: 68px 52px 56px; gap: 56px; } }

.tableau-questions--persos { margin-top: 44px; }
@media (min-width: 1101px) { .tableau-questions--persos { margin-top: 52px; } }
.postits { display: flex; flex-direction: column; gap: 28px; list-style: none; }
@media (min-width: 768px) { .postits { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 36px 28px; } }
@media (min-width: 1101px) { .postits { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 64px 40px; } }

.postit { position: relative; transform: rotate(var(--r, 0deg)); display: flex; }
.postit:nth-child(6n+1) { --r: -1.2deg; --rr: -4deg; }
.postit:nth-child(6n+2) { --r: 1deg; --rr: 3deg; }
.postit:nth-child(6n+3) { --r: -.8deg; --rr: -3deg; }
.postit:nth-child(6n+4) { --r: 1.1deg; --rr: 4deg; }
.postit:nth-child(6n+5) { --r: -1deg; --rr: -4deg; }
.postit:nth-child(6n+6) { --r: .8deg; --rr: 3deg; }
@media (min-width: 1101px) {
  .postit:nth-child(6n+1) { --r: -2deg; }
  .postit:nth-child(6n+2) { --r: 1.4deg; }
  .postit:nth-child(6n+3) { --r: -1deg; }
  .postit:nth-child(6n+4) { --r: 1.6deg; }
  .postit:nth-child(6n+5) { --r: -1.4deg; }
  .postit:nth-child(6n+6) { --r: 1deg; }
}
.postit__ruban {
  position: absolute; left: 50%; top: -12px; width: 78px; height: 24px; margin-left: -39px;
  background: rgb(255 255 255 / .78); border-radius: 4px; transform: rotate(var(--rr, -3deg)); z-index: 2;
}
@media (min-width: 1101px) { .postit__ruban { top: -15px; width: 100px; height: 30px; margin-left: -50px; } }
.postit__carte {
  position: relative; flex: 1; min-width: 0;
  background: var(--fond); color: var(--texte);
  border-radius: 24px; padding: 22px 18px 18px; box-shadow: 6px 7px 0 rgb(103 0 11 / .2);
}
@media (min-width: 1101px) {
  .postit__carte { border-radius: var(--radius-postit); padding: 34px 26px 26px; box-shadow: var(--shadow-postit); min-height: 410px; display: flex; flex-direction: column; }
}
.postit--violet { --fond: var(--color-violet); --texte: var(--color-creme); }
.postit--orange { --fond: var(--color-orange); --texte: var(--color-creme); }
.postit--vert { --fond: var(--color-vert); --texte: var(--color-creme); }
.postit--peche { --fond: var(--color-peche); --texte: var(--color-bordeaux); }
.postit--lilas { --fond: var(--color-lilas); --texte: var(--color-bordeaux); }
.postit__resume { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1101px) { .postit__resume { gap: 16px; flex: 1 0 auto; cursor: default; } }
.postit__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.postit__badge { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; }
@media (min-width: 1101px) { .postit__badge { width: 62px; height: 60px; margin-bottom: 4px; } .postit__badge--large { width: 72px; } }
.postit__droite { display: flex; align-items: center; gap: 10px; }
.postit__chevron {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgb(255 255 255 / .88); color: var(--color-bordeaux); transition: transform .2s ease;
}
.postit__carte[open] .postit__chevron { transform: rotate(180deg); }
@media (min-width: 1101px) { .postit__chevron { display: none; } }
.postit__question { font: 400 1.5rem/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; color: var(--texte); }
.postit__reponse {
  background: var(--color-blanc); color: var(--color-bordeaux);
  border-radius: 18px; padding: 14px 16px 16px; margin-top: 14px;
  font-size: 1rem; line-height: 1.5;
}
@media (min-width: 1101px) { .postit__reponse { border-radius: var(--radius-reponse); padding: 16px 18px 18px; margin-top: 16px; font-size: 1.0625rem; } }

/* Questions dépliables d'une page (toutes largeurs) */
.questions { display: flex; flex-direction: column; gap: 22px; list-style: none; max-width: 900px; margin-inline: auto; width: 100%; }
@media (min-width: 1101px) { .questions { gap: 28px; } }
.question { position: relative; transform: rotate(var(--r, 0deg)); }
.question:nth-child(5n+1) { --r: -.6deg; --fond: var(--color-peche); --texte: var(--color-bordeaux); }
.question:nth-child(5n+2) { --r: .5deg; --fond: var(--color-lilas); --texte: var(--color-bordeaux); }
.question:nth-child(5n+3) { --r: -.4deg; --fond: var(--color-violet); --texte: var(--color-creme); }
.question:nth-child(5n+4) { --r: .6deg; --fond: var(--color-peche); --texte: var(--color-bordeaux); }
.question:nth-child(5n+5) { --r: -.5deg; --fond: var(--color-vert); --texte: var(--color-creme); }
.question__carte { background: var(--fond); color: var(--texte); border-radius: 24px; padding: 18px 18px; box-shadow: 6px 7px 0 rgb(103 0 11 / .2); }
@media (min-width: 1101px) { .question__carte { border-radius: var(--radius-postit); padding: 22px 26px; box-shadow: var(--shadow-postit); } }
.question__resume { display: flex; flex-direction: column; gap: 10px; min-height: 44px; }
.question__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.question__titre { font: 400 1.5rem/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; color: var(--texte); }
.question__titre--outfit { font: 800 1.25rem/1.3 var(--font-texte); letter-spacing: 0; text-transform: none; }
.question__chevron {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .88); color: var(--color-bordeaux);
  transition: transform .2s ease;
}
.question__carte[open] .question__chevron { transform: rotate(180deg); }
.question__reponse { background: var(--color-blanc); color: var(--color-bordeaux); border-radius: 18px; padding: 14px 16px 16px; margin-top: 14px; font-size: 1.0625rem; line-height: 1.5; }
.question__reponse > * + * { margin-top: .6em; }
@media (min-width: 1101px) { .question__reponse { border-radius: var(--radius-reponse); padding: 16px 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .question__chevron, .postit__chevron { transition: none; } }

/* Encart « Une autre question ? » / bande « Faisons connaissance » */
.encart {
  position: relative; background: var(--color-blanc); border: 3px dashed var(--color-bordeaux); border-radius: 24px;
  padding: 22px 18px 20px; display: flex; flex-direction: column; gap: 16px; transform: rotate(-.6deg);
}
@media (min-width: 768px) { .encart { padding: 26px 28px; } }
@media (min-width: 1101px) {
  .encart { border-radius: var(--radius-encart); padding: 28px 36px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
}
.encart__textes { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1101px) { .encart__textes { flex: 1 1 400px; } }
.encart__titre { font: 400 clamp(1.75rem, calc(1.75rem + 12 * var(--f)), 2.5rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
.encart__texte { font-weight: 500; font-size: clamp(1.0625rem, calc(1.0625rem + 3 * var(--f)), 1.25rem); line-height: 1.45; max-width: 560px; }
.encart__boutons { display: flex; flex-direction: column; gap: 12px; }
.encart__boutons > .bouton { width: 100%; white-space: normal; line-height: 1.2; }
.encart--question .bouton--principal { box-shadow: none; }
.encart__boutons > .bouton--sombre { font-size: 1.0625rem; }
@media (min-width: 1101px) { .encart__boutons > .bouton--sombre { font-size: 1.125rem; } }
.encart__boutons > .bouton--principal { line-height: 1.05; padding: 15px 14px 13px; }
@media (min-width: 1101px) {
  .encart__boutons { gap: 14px; align-items: stretch; }
  .encart__boutons > .bouton { white-space: nowrap; line-height: 1.1; }
  .encart__boutons > .bouton--principal { line-height: 1; padding: 14.8px 30px 13.2px; }
}

/* 13. Sections de l'accueil --------------------------------------------------------- */

.accueil-faq { position: relative; overflow: clip; }
.accueil-faq__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 16px 12px 60px; display: flex; flex-direction: column; gap: 60px; }
@media (min-width: 768px) { .accueil-faq__contenu { padding-inline: 32px; padding-top: 28px; } }
@media (min-width: 1101px) { .accueil-faq__contenu { padding: 24px 56px 100px; gap: 80px; } }

.pedagogie { position: relative; }
.pedagogie__contenu { max-width: var(--container-max); margin-inline: auto; padding: 6px 16px 40px; }
@media (min-width: 768px) { .pedagogie__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .pedagogie__contenu { padding: 10px 56px 56px; } }

.video-ecole__contenu { max-width: var(--container-max); margin-inline: auto; padding: 24px 16px 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .video-ecole__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .video-ecole__contenu { padding: 40px 56px 0; gap: 36px; } }

/* Valeurs : panneau bordeaux */
.valeurs { position: relative; overflow: clip; }
.valeurs__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 76px 12px 64px; }
@media (min-width: 768px) { .valeurs__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .valeurs__contenu { padding: 112px 56px 104px; } }
.valeurs__panneau {
  position: relative; background: var(--color-bordeaux); color: var(--color-creme);
  border-radius: var(--radius-panneau-tel); padding: 64px 20px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  box-shadow: 8px 8px 0 var(--color-lilas);
}
@media (min-width: 1101px) { .valeurs__panneau { border-radius: var(--radius-panneau); padding: 84px 56px 64px; gap: 52px; box-shadow: 12px 12px 0 var(--color-lilas); } }
.valeurs__cadre { position: absolute; inset: 12px; border: 2px dashed rgb(255 247 235 / .32); border-radius: 24px; pointer-events: none; }
@media (min-width: 1101px) { .valeurs__cadre { inset: 18px; border-radius: 38px; } }
.valeurs__tete { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 1101px) { .valeurs__tete { gap: 18px; } }
.valeurs__pastille { font-size: 1.125rem; padding: 10px 20px; transform: rotate(-2deg); align-self: center; }
@media (min-width: 1101px) { .valeurs__pastille { font-size: 1.25rem; padding: 11px 22px; } }
.valeurs__titre {
  font: 400 clamp(2.125rem, calc(2.125rem + 26 * var(--f)), 3.75rem)/1.2 var(--font-titre);
  letter-spacing: .07em; text-transform: uppercase; color: var(--color-creme); text-align: center; text-wrap: balance;
}
@media (min-width: 1101px) { .valeurs__titre { line-height: 1.15; } }
.valeurs__cartes { position: relative; display: flex; flex-direction: column; gap: 24px; width: 100%; list-style: none; }
.valeurs__rangee { display: contents; }
@media (min-width: 1101px) { .valeurs__cartes { gap: 44px; } .valeurs__rangee { display: flex; flex-wrap: wrap; gap: 44px; } }
.valeur { display: flex; filter: drop-shadow(6px 6px 0 var(--ombre, var(--color-peche))); }
@media (min-width: 1101px) {
  .valeur { filter: drop-shadow(8px 8px 0 var(--ombre, var(--color-peche))); }
  .valeur--large { flex: 1.55 1 0; min-width: min(556px, 100%); }
  .valeur--etroite { flex: 1 1 0; min-width: min(360px, 100%); }
}
.valeur--peche { --ombre: var(--color-peche); }
.valeur--lilas { --ombre: var(--color-lilas); }
.valeur__carte {
  flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px;
  background: var(--color-blanc); color: var(--color-bordeaux);
  border-radius: 26px; padding: 24px 22px 28px; transform: rotate(var(--r, 0deg));
}
@media (min-width: 1101px) { .valeur__carte { gap: 18px; border-radius: var(--radius-carte); padding: 30px 34px 34px; } }
.valeurs__rangee:first-child .valeur:first-child .valeur__carte { --r: -.9deg; }
.valeurs__rangee:first-child .valeur:last-child .valeur__carte { --r: .8deg; }
.valeurs__rangee:last-child .valeur:first-child .valeur__carte { --r: .7deg; }
.valeurs__rangee:last-child .valeur:last-child .valeur__carte { --r: -.8deg; }
.valeur__tete { display: flex; align-items: center; gap: 14px; }
@media (min-width: 1101px) { .valeur__tete { gap: 18px; } }
.valeur__badge { display: flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; }
@media (min-width: 1101px) { .valeur__badge { width: 72px; height: 72px; } }
.valeur__titre { font: 400 clamp(1.5rem, calc(1.5rem + 8 * var(--f)), 2rem)/1.15 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; text-wrap: balance; }
.valeur__texte { font-size: clamp(1rem, calc(1rem + 2 * var(--f)), 1.125rem); line-height: 1.55; }

/* Langues : bande vert foncé */
.langues { position: relative; overflow: clip; background: var(--color-vert); color: var(--color-creme); }
.langues__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 60px 20px 104px; display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) { .langues__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .langues__contenu { padding: 96px 56px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px 56px; } }
.langues__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.langues__intro .pastille { font-size: .8125rem; }
@media (min-width: 1101px) { .langues__intro .pastille { font-size: .875rem; } .carte-langue .pastille--etiquette { font-size: .875rem; } }
@media (min-width: 1101px) { .langues__intro { gap: 22px; flex: 1 1 360px; max-width: 460px; } }
.langues__titre {
  font: 400 clamp(1.875rem, calc(1.875rem + 10 * var(--f)), 2.5rem)/1.2 var(--font-titre);
  letter-spacing: .07em; text-transform: uppercase; color: var(--color-creme); text-wrap: balance;
}
.langues__texte { font-size: clamp(1.0625rem, calc(1.0625rem + 2 * var(--f)), 1.1875rem); line-height: 1.55; }
.langues__action { width: 100%; margin-top: 4px; }
.langues__action .bouton { width: 100%; white-space: normal; font-size: 1.0625rem; line-height: 1.2; padding: 15px 22px; }
@media (min-width: 768px) { .langues__action { width: auto; } .langues__action .bouton { width: auto; } }
@media (min-width: 1101px) { .langues__action { margin-top: 6px; } .langues__action .bouton { font-size: 1.125rem; line-height: 1.1; padding: 16px 28px; white-space: nowrap; } }
.langues__cartes { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 768px) { .langues__cartes { flex-direction: row; align-items: stretch; } .langues__cartes > * { flex: 1 1 0; } }
@media (min-width: 1101px) { .langues__cartes { gap: 28px; flex: 2 1 560px; flex-wrap: wrap; } .langues__cartes > * { flex: 1 1 300px; } }

.carte-langue {
  display: flex; flex-direction: column; gap: 16px; border-radius: 30px; padding: 24px 22px 26px;
  background: var(--color-peche); color: var(--color-bordeaux);
}
@media (min-width: 1101px) { .carte-langue { gap: 18px; border-radius: var(--radius-carte-langue); padding: 32px 34px 36px; } }
.carte-langue--deutsch { background: var(--color-lilas); }
.carte-langue__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.carte-langue__titre { font: 400 clamp(2.375rem, calc(2.375rem + 9 * var(--f)), 2.9375rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
.carte-langue__liste { list-style: none; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1101px) { .carte-langue__liste { gap: 12px; } }
.carte-langue__ligne { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: clamp(1.0625rem, calc(1.0625rem + 1 * var(--f)), 1.125rem); line-height: 1.45; }
.carte-langue__puce { flex: none; padding-top: 3px; }
@media (min-width: 1101px) { .carte-langue__puce { padding-top: 4px; } }

/* Chiffres */
.chiffres { position: relative; overflow: clip; }
.chiffres__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 72px 20px 80px; display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) { .chiffres__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .chiffres__contenu { padding: 40px 56px 88px; gap: 44px; } }
.chiffres__liste { list-style: none; display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 22px 24px; }
@media (min-width: 1101px) { .chiffres__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 40px; } }
/* Ronds en rem (150 à 248 px à la taille normale) : ils grandissent avec la police du navigateur, comme leur texte */
.chiffre {
  --taille: clamp(9.375rem, calc(9.375rem + 98 * var(--f)), 15.5rem);
  display: flex; flex-direction: column; width: var(--taille); height: var(--taille); border-radius: 50%;
  align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 0 12px;
  transform: rotate(var(--r, 0deg));
}
@media (max-width: 359px) { .chiffre { --taille: 8.25rem; } }
@media (min-width: 1101px) { .chiffre { padding: 0; } }
.chiffre--violet { background: var(--color-violet); color: var(--color-creme); --r: -3deg; }
.chiffre--orange { background: var(--color-orange); color: var(--color-creme); --r: 2deg; }
.chiffre--peche { background: var(--color-peche); color: var(--color-bordeaux); --r: -2deg; }
.chiffre--lilas { background: var(--color-lilas); color: var(--color-bordeaux); --r: 3deg; }
.chiffre__nombre { font: 400 clamp(3.375rem, calc(3.375rem + 42 * var(--f)), 6rem)/.9 var(--font-titre); letter-spacing: .02em; }
@media (max-width: 359px) { .chiffre__nombre { font-size: 2.875rem; } }
.chiffre__mot { font-weight: 700; font-size: clamp(1.1875rem, calc(1.1875rem + 5 * var(--f)), 1.5rem); line-height: 1.1; }

/* Nos programmes */
.programmes { position: relative; overflow: clip; }
.programmes__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 20px 16px 64px; display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .programmes__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .programmes__contenu { padding: 24px 56px 96px; gap: 52px; } }

/* Témoignages : bande pêche, carrousel sur téléphone */
.temoignages { position: relative; overflow: clip; background: var(--color-peche); }
.temoignages__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 56px 0 58px; display: flex; flex-direction: column; gap: 26px; }
.temoignages__tete { padding: 0 20px; }
@media (min-width: 768px) { .temoignages__tete { padding-inline: 32px; } }
@media (min-width: 1101px) { .temoignages__contenu { padding: 88px 56px 104px; gap: 56px; } .temoignages__tete { padding: 0; } }

.carrousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px;
  padding: 6px 20px 34px; overscroll-behavior-x: contain; scrollbar-width: none; list-style: none;
}
.carrousel::-webkit-scrollbar { display: none; }
.carrousel > * { flex: 0 0 85%; scroll-snap-align: start; }
@media (min-width: 768px) { .carrousel { padding-inline: 32px; scroll-padding-left: 32px; } .carrousel > * { flex-basis: 55%; } }
@media (min-width: 1101px) {
  .carrousel { overflow: visible; padding: 0; flex-wrap: wrap; gap: 40px; scroll-snap-type: none; }
  .carrousel > * { flex: 1 1 320px; }
}
@media (prefers-reduced-motion: reduce) { .carrousel { scroll-behavior: auto; } }
.carrousel__points { display: flex; justify-content: center; gap: 0; }
@media (min-width: 1101px) { .carrousel__points { display: none; } }
.carrousel__point { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.carrousel__point::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-bordeaux); }
.carrousel__point[aria-current="true"]::before { background: var(--color-bordeaux); }

.bulle {
  position: relative; background: var(--color-blanc); border-radius: 28px; padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 14px; filter: drop-shadow(7px 7px 0 var(--ombre, var(--color-lilas)));
}
.bulle::after { content: ''; position: absolute; left: 40px; bottom: -22px; width: 40px; height: 26px; background: var(--color-blanc); clip-path: polygon(0 0, 100% 0, 0 100%); }
@media (min-width: 1101px) {
  .bulle { border-radius: var(--radius-carte-langue); padding: 32px 34px 34px; gap: 18px; filter: drop-shadow(8px 8px 0 var(--ombre, var(--color-lilas))); }
  .bulle::after { left: 46px; bottom: -24px; width: 46px; height: 30px; }
}
.bulle--orange { --ombre: var(--color-orange); }
.bulle--peche { --ombre: var(--color-peche); }
.bulle__guillemet { color: var(--color-violet); height: 30px; }
.bulle__guillemet svg { width: 30px; height: 28.6px; }
.bulle__texte { font-weight: 600; font-size: clamp(1.1875rem, calc(1.1875rem + 2 * var(--f)), 1.3125rem); line-height: 1.45; }
.bulle__signature { font-weight: 700; font-size: clamp(.9375rem, calc(.9375rem + 1 * var(--f)), 1rem); color: var(--color-vert); margin-top: auto; }

/* Témoignages hors carrousel */
.temoins { list-style: none; display: grid; gap: 40px; max-width: 980px; }
@media (min-width: 768px) { .temoins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bouton en attente d'une adresse (préinscription, HelloAsso) : pas encore un lien */
.bouton--inactif { opacity: 1; cursor: not-allowed; border: 3px dashed var(--color-bordeaux); background: var(--color-blanc); color: var(--color-bordeaux); }
.attente { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* Nous rencontrer */
.rencontrer { position: relative; overflow: clip; }
.rencontrer__contenu { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding: 60px 16px 64px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .rencontrer__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .rencontrer__contenu { padding: 96px 56px 104px; gap: 52px; } }
.rencontrer__grille { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1101px) { .rencontrer__grille { flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: flex-start; } }

/* 14. Cartes ----------------------------------------------------------------------- */

.cartes { display: grid; gap: 28px; list-style: none; }
@media (min-width: 768px) { .cartes { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; } }
@media (min-width: 1101px) { .cartes { grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 44px 36px; } }
.cartes--3 { }
@media (min-width: 1101px) { .cartes--3 { grid-template-columns: repeat(3, 1fr); } .cartes--4 { grid-template-columns: repeat(4, 1fr); gap: 36px 28px; } .cartes--2 { grid-template-columns: repeat(2, 1fr); } }
/* Grilles de deux cartes (Contact, anglais) : côte à côte, les deux cartes d'une rangée ont la même hauteur, et leurs
   ombres tombent au même niveau */
.cartes--2 > li { display: flex; }
.cartes--2 > li > .carte { flex: 1 1 auto; min-width: 0; }

.carte {
  position: relative; background: var(--color-blanc); color: var(--color-bordeaux);
  border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
  filter: drop-shadow(7px 7px 0 var(--ombre, var(--color-peche)));
}
@media (min-width: 1101px) { .carte { border-radius: var(--radius-carte); filter: drop-shadow(8px 8px 0 var(--ombre, var(--color-peche))); } }
.cartes > :nth-child(3n+2) { --ombre: var(--color-lilas); }
.cartes > :nth-child(3n+3) { --ombre: var(--color-peche); }
.cartes > :nth-child(6n+4) { --ombre: var(--color-lilas); }
.cartes > :nth-child(6n+6) { --ombre: var(--color-orange); }
.carte--ombre-lilas { --ombre: var(--color-lilas); }
.carte--ombre-orange { --ombre: var(--color-orange); }
.carte--ombre-peche { --ombre: var(--color-peche); }
.carte__corps { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 16px; flex: 1; align-items: flex-start; }
@media (min-width: 1101px) { .carte__corps { gap: 12px; padding: 26px 28px 30px; } }
.carte__corps--large { padding: 24px 22px 26px; gap: 14px; }
@media (min-width: 1101px) { .carte__corps--large { padding: 30px 34px 34px; gap: 16px; } }
.carte__titre { font: 400 clamp(1.625rem, calc(1.625rem + 6 * var(--f)), 2rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; text-wrap: balance; }
.carte__titre--petit { font-size: clamp(1.375rem, calc(1.375rem + 4 * var(--f)), 1.625rem); }
.carte__titre--saisi { font: 800 clamp(1.25rem, calc(1.25rem + 2 * var(--f)), 1.375rem)/1.25 var(--font-texte); letter-spacing: 0; text-transform: none; }
.carte__texte { font-size: clamp(1rem, calc(1rem + 2 * var(--f)), 1.125rem); line-height: 1.5; }
.carte__texte--extrait { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carte__meta { font-weight: 600; font-size: .9375rem; color: var(--color-vert); }
.carte__liste { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 1rem; width: 100%; }
.carte__liste-ligne { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; border-top: 1.5px dashed rgb(103 0 11 / .2); padding-top: 6px; }
.carte__liste-terme { font-weight: 700; }
.carte__actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: auto; padding-top: 6px; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start;
  font-weight: 700; font-size: clamp(1rem, calc(1rem + 1 * var(--f)), 1.0625rem); color: var(--color-bordeaux);
}
.lien-fleche:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.carte .lien-fleche { margin-top: auto; }
@media (min-width: 1101px) { .lien-fleche { min-height: 0; } .carte .lien-fleche { padding-top: 6px; } }
.lien-fleche--clair { color: var(--color-creme); }

/* Carte de personne (équipe) */
.personne { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.personne__portrait { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-date); background: var(--color-peche); overflow: hidden; display: grid; place-items: center; }
.personne__portrait .perso { position: static; width: 58%; height: auto; }
.personne__nom { font-weight: 800; font-size: 1.25rem; line-height: 1.25; }
.personne__fonction { font-weight: 500; font-size: 1rem; color: var(--color-vert); }
.personne__langues { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }

/* 15. Photos, vidéo, plan ------------------------------------------------------------ */

.photo {
  position: relative; background: var(--color-beige); color: var(--color-bordeaux);
  border-radius: 26px; border: 2px dashed rgb(103 0 11 / .30);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 14px; aspect-ratio: var(--ratio, 4 / 3);
}
@media (min-width: 1101px) { .photo { border-radius: var(--radius-carte); gap: 10px; padding: 16px; } }
.photo__icone { width: 34px; height: 34px; }
.photo__legende { font-weight: 600; font-size: clamp(.9375rem, calc(.9375rem + 1 * var(--f)), 1rem); line-height: 1.3; text-wrap: balance; } /* jamais un mot seul en dernière ligne (« … un enfant de / dos ») */
.photo--carte { aspect-ratio: auto; height: 150px; border-radius: 0; border-width: 0 0 2px 0; }
@media (min-width: 1101px) { .photo--carte { height: 210px; border-radius: 0; } }
.photo--large { --ratio: 16 / 9; }
.photo--carte-actu { border-radius: 0; border-width: 0 0 2px 0; }
.rdv--page { max-width: 760px; }
.photo--portrait { --ratio: 4 / 5; }
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; }
@media (min-width: 1101px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.video { display: flex; flex-direction: column; gap: 14px; max-width: 880px; width: 100%; margin-inline: auto; }
.video__cadre {
  position: relative; aspect-ratio: 16 / 9; background: var(--color-beige); border-radius: 26px;
  border: 2px dashed rgb(103 0 11 / .30); display: grid; place-items: center;
  filter: drop-shadow(8px 8px 0 var(--color-lilas));
}
@media (min-width: 1101px) { .video__cadre { border-radius: var(--radius-carte); } }
.video__lecture {
  width: 88px; height: 88px; border-radius: 50%; border: 0; padding: 0 0 0 6px; cursor: pointer;
  background: var(--color-violet); color: var(--color-creme); display: grid; place-items: center;
  box-shadow: var(--shadow-bouton);
}
.variante-boutons-bordeaux .video__lecture { background: var(--color-bordeaux); }
.video__lecture svg { width: 40px; height: 40px; }
.video__legende { display: flex; flex-direction: column; gap: 4px; text-align: center; font-weight: 600; font-size: clamp(.9375rem, calc(.9375rem + 1 * var(--f)), 1rem); }
.video__mention { font-weight: 500; font-size: .9375rem; color: var(--color-vert); }

.plan { position: relative; overflow: hidden; border-radius: 26px; background: var(--color-beige); height: 210px; filter: drop-shadow(7px 7px 0 var(--color-lilas)); }
@media (min-width: 1101px) { .plan { border-radius: var(--radius-carte); height: 300px; filter: drop-shadow(8px 8px 0 var(--color-lilas)); } }
.plan--grand { height: 260px; }
@media (min-width: 1101px) { .plan--grand { height: 380px; } }
.plan > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.acces { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1101px) { .acces { gap: 20px; flex: 1 1 460px; } }
.coordonnees { display: flex; flex-direction: column; gap: 8px; font-style: normal; }
@media (min-width: 1101px) { .coordonnees { gap: 6px; } }
.coordonnees__ligne { display: flex; align-items: flex-start; gap: 10px; }
.coordonnees__ligne .icone { margin-top: 2px; }
.coordonnees__adresse { font-weight: 800; font-size: clamp(1.125rem, calc(1.125rem + 4 * var(--f)), 1.375rem); line-height: 1.35; }
.coordonnees__contact { font-weight: 600; font-size: clamp(1rem, calc(1rem + 2 * var(--f)), 1.125rem); }
.coordonnees__contact a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.itineraires { display: flex; gap: 8px; flex-wrap: wrap; }
.itineraires > .bouton { flex: 1 1 auto; }
@media (min-width: 1101px) { .itineraires { gap: 10px; } .itineraires > .bouton { flex: none; } }
.mention-externe { font-size: .9375rem; font-weight: 500; color: var(--color-vert); }

/* 16. Rendez-vous, tuiles de date --------------------------------------------------------- */

.rdv {
  display: flex; flex-direction: column; background: var(--color-blanc); border-radius: 26px;
  padding: 24px 20px 18px; gap: 18px; filter: drop-shadow(7px 7px 0 var(--color-peche));
}
@media (min-width: 1101px) { .rdv { border-radius: var(--radius-carte); padding: 34px 34px 36px; gap: 22px; flex: 1 1 420px; filter: drop-shadow(8px 8px 0 var(--color-peche)); } }
.rdv__titre { font: 400 clamp(1.5rem, calc(1.5rem + 6 * var(--f)), 1.875rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
.rdv__liste { list-style: none; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1101px) { .rdv__liste { gap: 22px; } }
.evenement { display: flex; gap: 16px; align-items: center; }
@media (min-width: 1101px) { .evenement { gap: 18px; } }
.evenement + .evenement { border-top: 2px dashed rgb(103 0 11 / .25); padding-top: 18px; }
@media (min-width: 1101px) { .evenement + .evenement { padding-top: 22px; } }
.evenement__textes { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.evenement__titre { font-weight: 800; font-size: clamp(1.1875rem, calc(1.1875rem + 3 * var(--f)), 1.375rem); line-height: 1.2; }
.evenement__ligne { font-weight: 600; font-size: clamp(.9375rem, calc(.9375rem + 2 * var(--f)), 1.0625rem); color: var(--color-vert); }
.evenement__vide { font-weight: 600; font-size: clamp(1.0625rem, calc(1.0625rem + 2 * var(--f)), 1.1875rem); line-height: 1.35; flex: 1 1 auto; min-width: 0; }
.evenement__lien { color: var(--color-bordeaux); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (min-width: 1101px) { .evenement__lien { display: inline; min-height: 0; } }
.evenement__lien:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.tuile-date {
  --taille: clamp(5rem, calc(5rem + 16 * var(--f)), 6rem); /* 80 à 96 px à la taille normale */
  display: flex; flex-direction: column; width: var(--taille); height: var(--taille); border-radius: 22px;
  background: var(--color-peche); color: var(--color-bordeaux);
  align-items: center; justify-content: center; flex: none; transform: rotate(-3deg); text-align: center;
}
@media (min-width: 1101px) { .tuile-date { border-radius: var(--radius-date); } }
.tuile-date--lilas { background: var(--color-lilas); transform: rotate(2deg); }
.tuile-date__jour { font: 400 clamp(2.125rem, calc(2.125rem + 6 * var(--f)), 2.5rem)/.9 var(--font-titre); }
.tuile-date__mois { max-width: 4.6em; font-weight: 800; font-size: clamp(.8125rem, calc(.8125rem + 2 * var(--f)), .9375rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.tuile-date__vide { font: 400 clamp(1.25rem, calc(1.25rem + 4 * var(--f)), 1.5rem)/.9 var(--font-titre); }

/* Grande carte d'événement (visites, journée portes ouvertes) */
.evenement-grand {
  display: flex; flex-direction: column; gap: 18px; background: var(--color-blanc); border-radius: 26px;
  padding: 24px 20px 24px; filter: drop-shadow(8px 8px 0 var(--color-lilas)); max-width: 860px;
}
@media (min-width: 768px) { .evenement-grand { flex-direction: row; align-items: center; gap: 28px; padding: 30px 34px; } }
@media (min-width: 1101px) { .evenement-grand { border-radius: var(--radius-carte); } }
.evenement-grand .tuile-date { --taille: clamp(6.5rem, calc(6.5rem + 24 * var(--f)), 8rem); } /* 104 à 128 px */
.evenement-grand .tuile-date__jour { font-size: clamp(2.75rem, calc(2.75rem + 12 * var(--f)), 3.5rem); }
.evenement-grand__textes { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.evenement-grand__titre { font: 400 clamp(1.5rem, calc(1.5rem + 8 * var(--f)), 2rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
.evenement-grand__ligne { font-weight: 600; font-size: clamp(1.0625rem, calc(1.0625rem + 2 * var(--f)), 1.1875rem); color: var(--color-vert); }

/* 17. Pied de page --------------------------------------------------------------------- */

.pied { position: relative; overflow: clip; background: var(--color-bordeaux); color: var(--color-creme); display: flex; flex-direction: column; }
.pied__contenu { position: relative; z-index: 1; width: 100%; max-width: var(--container-max); margin-inline: auto; padding: 44px 20px 24px; display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 768px) { .pied__contenu { padding-inline: 32px; } }
@media (min-width: 1101px) { .pied__contenu { padding: 72px 56px 36px; gap: 0; } }
.pied__haut { display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 768px) { .pied__haut { flex-direction: row; flex-wrap: wrap; gap: 40px 40px; align-items: flex-start; } }
@media (min-width: 1101px) { .pied__haut { gap: 48px 40px; } }
.pied__marque { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 768px) { .pied__marque { gap: 18px; flex: 1 1 280px; max-width: 340px; } }
.pied__marque .logo { padding: 8px 11px; border-radius: var(--radius-logo); }
.pied__marque .logo__image { width: 126px; }
@media (min-width: 1101px) { .pied__marque .logo { padding: 9px 12px; } .pied__marque .logo__image { width: 150px; } }
.pied__adresse { font-style: normal; font-size: clamp(.9375rem, calc(.9375rem + 1 * var(--f)), 1rem); line-height: 1.5; }
.pied__contact { display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; font-weight: 600; }
.pied__contact > * { display: inline-flex; align-items: center; gap: 8px; }
/* « Poser une question » (à la place de l'adresse e-mail) : comme les autres liens du pied de page */
.pied__contact-lien { align-self: flex-start; min-height: 44px; }
@media (min-width: 1101px) { .pied__contact-lien { min-height: 0; } }
.pied__contact-lien:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.pied__plan { display: flex; flex-direction: column; }
@media (min-width: 768px) { .pied__plan { flex: 3 1 400px; } }
@media (min-width: 1101px) { .pied__plan { flex-basis: 640px; flex-direction: row; flex-wrap: wrap; gap: 36px 32px; } }
.pied__groupe { border-top: 1.5px solid rgb(255 247 235 / .22); }
.pied__groupe:last-child { border-bottom: 1.5px solid rgb(255 247 235 / .22); }
@media (min-width: 1101px) { .pied__groupe, .pied__groupe:last-child { border: 0; min-width: 190px; flex: 1 1 190px; } }
.pied__titre {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
  font: 400 1.0625rem/1.2 var(--font-titre); letter-spacing: .04em; text-transform: uppercase; color: var(--color-peche);
}
.pied__chevron { color: var(--color-creme); transition: transform .2s ease; }
.pied__groupe[open] .pied__chevron { transform: rotate(180deg); }
@media (min-width: 1101px) { .pied__titre { min-height: 0; cursor: default; margin-bottom: 4px; } .pied__chevron { display: none; } }
.pied__liens { display: flex; flex-direction: column; padding: 0 0 12px; list-style: none; }
@media (min-width: 1101px) { .pied__liens { gap: 10px; padding: 10px 0 0; } }
.pied__lien { display: flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 1rem; line-height: 1.35; }
@media (min-width: 1101px) { .pied__lien { display: inline; min-height: 0; } }
.pied__lien:hover, .pied__lien-bas:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.pied__bas { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) {
  .pied__bas { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; border-top: 1.5px solid rgb(255 247 235 / .22); padding-top: 24px; margin-top: 8px; }
}
@media (min-width: 1101px) { .pied__bas { margin-top: 48px; } }
.pied__liens-bas { display: flex; gap: 0 20px; flex-wrap: wrap; list-style: none; }
@media (min-width: 1101px) { .pied__liens-bas { gap: 10px 28px; } }
.pied__lien-bas { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: .9375rem; }
@media (min-width: 1101px) { .pied__lien-bas { min-height: 0; } }
.pied__lien-bas .icone { width: 16px; height: 16px; }
.pied__mention { font-size: .875rem; line-height: 1.4; color: var(--color-peche); }
/* Assez haute pour les personnages entiers (retour de Julie du 30 novembre 2026) : 92 px de dessin au plus sur
   téléphone, 167 px dès 1 101 px, posés à 8 et 10 px du bas */
.pied__persos { position: relative; height: 108px; margin-top: auto; overflow: hidden; flex: none; }
@media (min-width: 1101px) { .pied__persos { height: 186px; } }

/* 18. Pages intérieures ------------------------------------------------------------------ */

/* Fil d'Ariane */
.ariane { padding-top: 6px; }
@media (min-width: 1101px) { .ariane { padding-top: 16px; } }
.ariane__liste { list-style: none; display: flex; flex-wrap: wrap; align-items: center; font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.ariane__element { display: inline-flex; align-items: center; }
.ariane__lien { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-vert); }
@media (min-width: 1101px) { .ariane__lien { min-height: 0; } }
.ariane__lien:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ariane__separateur { margin: 0 8px; color: var(--color-vert); }
.ariane__courant { color: var(--color-bordeaux); }

/* En-tête de page */
.entete-page { position: relative; overflow: clip; }
.entete-page__contenu { position: relative; z-index: 1; padding-top: 16px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 1101px) { .entete-page__contenu { padding-top: 32px; padding-bottom: 72px; } }
.entete-page__contenu > * { max-width: 760px; }
.entete-page__chapeau { font-weight: 500; font-size: clamp(1.125rem, calc(1.125rem + 3 * var(--f)), 1.3125rem); line-height: 1.5; }
.entete-page__chapeau + .entete-page__chapeau { margin-top: 4px; }
.entete-page__exergue { font-weight: 800; font-size: clamp(1.25rem, calc(1.25rem + 6 * var(--f)), 1.625rem); line-height: 1.3; color: var(--color-vert); }
.entete-page__suite { display: flex; flex-direction: column; gap: 24px; margin-top: 16px; width: 100%; }
.entete-page--simple .entete-page__contenu { padding-bottom: 40px; }
.entete-page__sous-titre { margin-top: -8px; margin-bottom: 4px; }

/* Photo d'en-tête en « post-it » (retour du 28 novembre 2026, décision de Jordan) : seize pages des rubriques.
   Téléphone et tablette : après le chapeau, en 16:9, sur 86 % de la largeur (560 px au plus), inclinée de −1,5°.
   Dès 1 101 px : à droite du texte (grille), dans une colonne de 320 à 420 px, en 4:3, alignée en haut du titre,
   inclinée selon la variante (a −2°, b 1,5°, c −1°, d 1°) ; un personnage passe la tête au-dessus du bord haut,
   le corps derrière la photo. Coins et ombre du post-it, ruban adhésif décoratif. */
.entete-page__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.entete-page__texte > * { max-width: 760px; }
.entete-page--photo .entete-page__chapeau { text-wrap: pretty; } /* pas de mot seul en dernière ligne */
.photo-entete {
  --penche: -1.5deg;
  position: relative; width: 86%; margin: 18px 0 8px;
  transform: rotate(var(--penche));
}
.entete-page__contenu > .photo-entete { max-width: 560px; }
/* L'emplacement (ou la photo) passe devant le personnage, le ruban devant l'emplacement */
.photo--entete, .photo-entete__image {
  position: relative; z-index: 1; width: 100%;
  border-radius: var(--radius-postit); box-shadow: var(--shadow-postit);
}
.photo--entete { --ratio: 16 / 9; }
/* Vraie photo : un contour fin, à l'intérieur (il suit les coins), pour qu'un haut clair (ciel, mur blanc) ne se
   fonde pas dans le crème */
.photo-entete__image {
  height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-beige);
  outline: 1px solid rgb(103 0 11 / .15); outline-offset: -1px;
}
/* Ruban : cerné et ombré (ombre pleine vers le bas et la droite, comme le reste du site), visible sur une photo claire */
.photo-entete__ruban {
  position: absolute; z-index: 2; top: -12px; left: 30%; width: 78px; height: 24px; margin-left: -39px;
  background: rgb(255 255 255 / .78); border-radius: 4px;
  box-shadow: 0 0 0 1px rgb(103 0 11 / .2), 2px 2px 0 rgb(103 0 11 / .12);
  transform: rotate(var(--penche-ruban, -4deg));
}
/* Dès 1 101 px :
   - la photo a la même taille sur toutes les pages (retour du 29 novembre 2026, décision de Jordan), de 320 px
     (1 101 px d'écran) à 420 px (1 280 px et plus), même quand le texte à côté est court ;
   - la suite étroite (repères, encadré, carte de la journée, pastilles) reste sous le chapeau, dans la colonne du
     texte ;
   - une rangée de boutons trop large pour la colonne du texte passe sous le texte et la photo, sur toute la largeur
     (entete-page--suite-dessous) ;
   - la photo descend de 36 px (place pour la tête du personnage, sous la barre de rubrique) et mord de 44 px sur
     la marge du dessous de l'en-tête, sauf quand la suite passe dessous.
   Le chapeau garde 70 caractères par ligne au plus (28 em) ; les repères se serrent un peu. */
@media (min-width: 1101px) {
  .entete-page--photo .entete-page__contenu {
    display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, calc(320px + (100% - 989px) * .56), 420px);
    grid-template-rows: auto 1fr; grid-template-areas: "texte photo" "suite photo";
    gap: 12px 48px; align-items: start;
  }
  .entete-page--suite-dessous .entete-page__contenu { grid-template-rows: auto auto; grid-template-areas: "texte photo" "suite suite"; }
  .entete-page--suite-dessous .entete-page__suite { max-width: none; }
  .entete-page--photo .entete-page__texte { grid-area: texte; }
  .entete-page--photo .entete-page__suite { grid-area: suite; }
  .entete-page--photo .entete-page__chapeau { max-width: 28em; }
  .entete-page--photo .reperes { column-gap: 16px; }
  .entete-page--photo .repere { width: 136px; }
  .entete-page__contenu > .photo-entete { grid-area: photo; width: 100%; max-width: none; margin: 36px 0 -44px; }
  .entete-page--suite-dessous .entete-page__contenu > .photo-entete { margin-bottom: 0; }
  .photo--entete { --ratio: 4 / 3; }
  .photo-entete__image { aspect-ratio: 4 / 3; }
  .photo-entete__ruban { top: -15px; width: 100px; height: 30px; margin-left: -50px; }
  .photo-entete--a { --penche: -2deg; --penche-ruban: 4deg; }
  .photo-entete--b { --penche: 1.5deg; --penche-ruban: -4deg; }
  .photo-entete--c { --penche: -1deg; --penche-ruban: -3deg; }
  .photo-entete--d { --penche: 1deg; --penche-ruban: 3deg; }
}
@media (min-width: 1280px) { .entete-page--photo .entete-page__contenu { column-gap: 64px; } }

/* Barre de rubrique (7.17) : juste sous le fil d'Ariane, avant l'en-tête de page. Redessinée le 28 novembre 2026,
   puis le 29 (décisions de Jordan) : fond pêche plein, sans ombre, pour ne plus copier le menu (blanc à ombre
   lilas) ; c'est le pêche de la rubrique active dans le menu. Le nom de la rubrique en pastille bordeaux, puis les
   liens, sans cadre (rien de commun avec les boutons de l'en-tête de page). Page en cours : pastille crème ET trait
   bordeaux sous le libellé (le crème seul se distingue mal du pêche : 1,4 : 1). Les liens passent à la ligne à
   toutes les largeurs. Téléphone : une carte pêche, la pastille sur sa ligne, les liens dessous. Pas collante.
   De l'air autour (retour du 29 novembre 2026) : 12 px sous le fil d'Ariane et 28 px avant l'en-tête de page, le
   titre à 53 px de la barre ; dès 1 101 px, 24 px et 24 px, le titre à 71 px (au lieu de 14 et 47 px). */
.barre-rubrique {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin: 12px 0 28px; padding: 6px;
  background: var(--color-peche); border-radius: var(--radius-barre);
}
/* La pastille occupe une ligne de 44 px, comme les liens : seule sur sa ligne, elle garde de l'air au-dessus. Sur
   téléphone, elle reste à 16 px du bord de la barre ; la marge intérieure de 6 px (au lieu de 8) laisse la place à
   « Infos pratiques » sur la ligne de « Actualités » et « Calendrier » à 390 px. */
.barre-rubrique__rubrique { margin: 7px 4px 7px 10px; }
.barre-rubrique__liste { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.barre-rubrique__lien {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-pastille);
  font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--color-bordeaux);
}
.barre-rubrique__lien:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.barre-rubrique__lien[aria-current] {
  background: var(--color-creme);
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px;
}
/* Tablette et ordinateur : une barre ; si les liens ne tiennent pas à côté de la pastille, ils passent dessous */
@media (min-width: 768px) {
  .barre-rubrique { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 6px; width: fit-content; max-width: 100%; padding: 6px; }
  .barre-rubrique__rubrique { align-self: center; margin-left: 8px; }
  .barre-rubrique__liste { flex: 0 1 auto; min-width: 0; }
  .barre-rubrique__lien { font-size: 1.0625rem; padding: 0 14px; }
}
@media (min-width: 1101px) {
  .barre-rubrique { margin: 24px 0; }
  .barre-rubrique__rubrique { margin-block: 6.5px; }
}

/* Ancres d'une page (thèmes des questions fréquentes, sommaire du guide) : pastilles cerclées ; la rangée défile sur téléphone */
.ancres { width: 100%; margin-top: 20px; }
.ancres__titre { font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-vert); margin-bottom: 8px; }
.ancres__liste {
  list-style: none; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--spacing-gouttiere) * -1); padding: 4px var(--spacing-gouttiere) 10px;
}
.ancres__liste::-webkit-scrollbar { display: none; }
@media (min-width: 1101px) { .ancres__liste { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 4px 0 0; } }
.ancres__lien {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; white-space: nowrap;
  border: 3px solid var(--color-bordeaux); border-radius: var(--radius-pastille); font-weight: 700; font-size: 1rem;
}
.ancres__lien:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Sections génériques */
.section { position: relative; overflow: clip; }
.section__contenu { position: relative; z-index: 1; padding-block: 48px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1101px) { .section__contenu { padding-block: 72px; gap: 44px; } }
.section--vert { background: var(--color-vert); color: var(--color-creme); }
.section--peche { background: var(--color-peche); }
.section--vert .titre-section__titre { color: var(--color-creme); }
.section--vert .lien-fleche { color: var(--color-creme); }
.section--premiere .section__contenu { padding-top: 8px; }
.section--serree .section__contenu { padding-block: 24px; }
.section + .section .section__contenu { padding-top: 24px; }
@media (min-width: 1101px) { .section + .section .section__contenu { padding-top: 40px; } }
.section--vert .section__contenu, .section--peche .section__contenu, .section + .section--vert .section__contenu, .section + .section--peche .section__contenu { padding-block: 56px; }
@media (min-width: 1101px) { .section--vert .section__contenu, .section--peche .section__contenu, .section + .section--vert .section__contenu, .section + .section--peche .section__contenu { padding-block: 88px; } }
.section--vert + .section .section__contenu, .section--peche + .section .section__contenu { padding-top: 56px; }
@media (min-width: 1101px) { .section--vert + .section .section__contenu, .section--peche + .section .section__contenu { padding-top: 88px; } }
.section__colonnes { display: grid; gap: 28px; }
@media (min-width: 1101px) { .section__colonnes { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; } .section__colonnes--inverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }

/* Texte courant */
.texte { max-width: 720px; font-size: clamp(1rem, calc(1rem + 2 * var(--f)), 1.125rem); line-height: 1.6; }
.texte > * + * { margin-top: 1em; }
.texte h2 { font: 400 clamp(1.75rem, calc(1.75rem + 12 * var(--f)), 2.5rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; margin-top: 1.6em; text-wrap: balance; }
.texte h3 { font-weight: 800; font-size: clamp(1.25rem, calc(1.25rem + 2 * var(--f)), 1.375rem); line-height: 1.3; margin-top: 1.4em; }
.texte > h2:first-child, .texte > h3:first-child { margin-top: 0; }
.texte ul { list-style: none; display: flex; flex-direction: column; gap: .4em; }
.texte li { position: relative; padding-left: 1.4em; }
.texte ul > li::before { content: ''; position: absolute; left: .3em; top: .62em; width: .42em; height: .42em; border-radius: 50%; background: var(--color-bordeaux); }
.texte ol { padding-left: 1.4em; display: flex; flex-direction: column; gap: .4em; }
.texte ol > li { padding-left: .2em; }
.texte a, .lien { color: var(--color-bordeaux); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.texte a:hover, .lien:hover { text-decoration-thickness: 3px; }
.texte strong { font-weight: 700; }
.lien-externe__icone { display: inline-block; width: .9em; height: .9em; vertical-align: -.08em; margin-left: .2em; }
.note { border-left: 4px solid var(--color-peche); padding: 4px 0 4px 16px; font-weight: 500; color: var(--color-vert); max-width: 720px; }

/* Carte de lecture : texte dans un cadre blanc */
.encadre { background: var(--color-blanc); border-radius: 26px; padding: 22px 20px; filter: drop-shadow(7px 7px 0 var(--ombre, var(--color-peche))); }
@media (min-width: 1101px) { .encadre { border-radius: var(--radius-carte); padding: 30px 34px; filter: drop-shadow(8px 8px 0 var(--ombre, var(--color-peche))); } }
.encadre--lilas { --ombre: var(--color-lilas); }
.encadre > * + * { margin-top: .8em; }
.encadre__titre { font: 400 clamp(1.5rem, calc(1.5rem + 6 * var(--f)), 1.875rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }

/* Repères chiffrés : la valeur dans le rond, la légende dessous */
.reperes { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 14px; }
@media (min-width: 1101px) { .reperes { gap: 20px 28px; } }
.reperes--centre { justify-content: center; }
.repere { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 112px; text-align: center; }
@media (min-width: 1101px) { .repere { width: 150px; } }
.repere__rond {
  --taille: clamp(96px, calc(96px + 24 * var(--f)), 120px);
  width: var(--taille); height: var(--taille); border-radius: 50%; display: grid; place-items: center; padding: 0 8px;
  font: 400 clamp(1.5rem, calc(1.5rem + 6 * var(--f)), 1.875rem)/.95 var(--font-titre); letter-spacing: .02em; text-transform: uppercase;
  transform: rotate(var(--r, 0deg));
}
.repere:nth-child(4n+1) .repere__rond { background: var(--color-violet); color: var(--color-creme); --r: -3deg; }
.repere:nth-child(4n+2) .repere__rond { background: var(--color-peche); color: var(--color-bordeaux); --r: 2deg; }
.repere:nth-child(4n+3) .repere__rond { background: var(--color-orange); color: var(--color-creme); --r: -2deg; }
.repere:nth-child(4n+4) .repere__rond { background: var(--color-lilas); color: var(--color-bordeaux); --r: 3deg; }
.repere__legende { font-weight: 700; font-size: .9375rem; line-height: 1.25; }

/* Étapes et frise */
.etapes { list-style: none; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1101px) { .etapes { flex-direction: row; gap: 28px; } .etapes > * { flex: 1 1 0; min-width: 0; } }
.etape { display: flex; gap: 16px; align-items: flex-start; }
@media (min-width: 1101px) { .etape { flex-direction: column; gap: 14px; } }
.etape__numero {
  flex: none; min-width: 64px; height: 64px; padding: 0 14px; border-radius: var(--radius-pastille);
  background: var(--color-peche); color: var(--color-bordeaux); display: grid; place-items: center;
  font: 400 1.75rem/1 var(--font-titre); letter-spacing: .04em;
}
.etape:nth-child(even) .etape__numero { background: var(--color-lilas); }
.etape__numero--annee { font-size: 1.25rem; }
.etape__textes { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 4px; }
.etape__titre { font-weight: 800; font-size: 1.25rem; line-height: 1.3; }
.etape__texte { font-size: 1.0625rem; line-height: 1.5; }
.etapes--frise .etape__numero { min-width: 88px; }

/* Journée en maternelle : frise horaire */
.horaires { list-style: none; display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.horaire { display: grid; grid-template-columns: 5.6em 1fr; gap: 16px; padding: 12px 0; border-top: 2px dashed rgb(103 0 11 / .2); }
.horaire:first-child { border-top: 0; }
.horaire__heure { font-weight: 800; color: var(--color-vert); }
.horaire__texte { font-size: 1.0625rem; }

/* Tableaux */
.tableau { background: var(--color-blanc); border-radius: 26px; padding: 18px 18px 8px; filter: drop-shadow(8px 8px 0 var(--color-lilas)); max-width: 860px; width: 100%; }
@media (min-width: 1101px) { .tableau { border-radius: var(--radius-carte); padding: 28px 32px 18px; } }
.tableau__table { width: 100%; border-collapse: collapse; }
.tableau__legende { caption-side: top; text-align: left; font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; }
.tableau__table thead th { background: var(--color-peche); color: var(--color-bordeaux); font-weight: 700; font-size: .9375rem; text-align: left; padding: 12px 14px; }
.tableau__table thead th:first-child { border-radius: 14px 0 0 14px; }
.tableau__table thead th:last-child { border-radius: 0 14px 14px 0; }
.tableau__table tbody th, .tableau__table td { font-size: 1.0625rem; padding: 12px 14px; border-top: 1.5px solid rgb(103 0 11 / .15); text-align: left; vertical-align: top; }
.tableau__table tbody tr:first-child > * { border-top: 0; }
.tableau__table tbody th { font-weight: 600; }
.tableau__montant { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tableau__etiquette { display: none; }
.tableau__note { font-size: .9375rem; color: var(--color-vert); padding: 10px 14px 12px; }
@media (max-width: 767px) {
  .tableau__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tableau__table tr { display: block; padding: 10px 0; border-top: 1.5px solid rgb(103 0 11 / .15); }
  .tableau__table tbody tr:first-child { border-top: 0; }
  .tableau__table tbody th, .tableau__table td { display: block; padding: 2px 4px; border: 0; }
  .tableau__table tbody th { font-size: .9375rem; color: var(--color-vert); }
  .tableau__montant { text-align: left !important; font-weight: 700; white-space: normal; }
  .tableau__etiquette { display: block; font-size: .875rem; font-weight: 700; color: var(--color-vert); }
}

/* Mention « Exemple » */
.exemple { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--color-peche); color: var(--color-bordeaux); border-radius: 18px; padding: 10px 16px; font-weight: 700; }

/* Bande « Faisons connaissance » */
.bande-fc { position: relative; overflow: clip; }
.bande-fc__contenu { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 1101px) { .bande-fc__contenu { padding-top: 112px; padding-bottom: 104px; } }
.bande-fc__cadre { position: relative; }

/* Sommaire de page (page de l'anglais) */
.sommaire-page { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .sommaire-page { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.sommaire-page__lien {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; height: 100%;
  background: var(--color-blanc); border-radius: 20px; padding: 12px 14px 12px 16px; font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  filter: drop-shadow(5px 5px 0 var(--ombre, var(--color-peche)));
}
.sommaire-page li:nth-child(even) .sommaire-page__lien { --ombre: var(--color-lilas); }
.sommaire-page__lien:hover { text-decoration: underline; text-underline-offset: 4px; }
.sommaire-page__numero { font: 400 1.25rem/1 var(--font-titre); color: var(--color-vert); margin-right: 6px; }
.sommaire-collant { position: sticky; top: 0; z-index: 20; background: var(--color-creme); border-bottom: 2px dashed rgb(103 0 11 / .2); }
@media (min-width: 1101px) { .sommaire-collant { display: none; } }
.sommaire-collant__liste { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--spacing-gouttiere); }
.sommaire-collant__liste::-webkit-scrollbar { display: none; }
.sommaire-collant__lien { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; white-space: nowrap; border: 2px solid var(--color-bordeaux); border-radius: var(--radius-pastille); font-weight: 700; font-size: .9375rem; background: var(--color-creme); }
.ancre { scroll-margin-top: 76px; }

/* Formulaires */
.formulaire { display: flex; flex-direction: column; gap: 22px; max-width: 720px; width: 100%; }
.formulaire__obligatoire { font-size: .9375rem; color: var(--color-vert); font-weight: 500; }
.formulaire__bloc { display: flex; flex-direction: column; gap: 18px; background: var(--color-blanc); border-radius: 26px; padding: 22px 18px 24px; filter: drop-shadow(7px 7px 0 var(--ombre, var(--color-peche))); }
@media (min-width: 1101px) { .formulaire__bloc { border-radius: var(--radius-carte); padding: 28px 30px 30px; } }
.formulaire__bloc--lilas { --ombre: var(--color-lilas); }
.formulaire__titre { font: 400 clamp(1.375rem, calc(1.375rem + 6 * var(--f)), 1.75rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
.formulaire__envoi { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.formulaire__mention { font-size: .9375rem; color: var(--color-vert); line-height: 1.5; }
.formulaire__mention a { text-decoration: underline; text-underline-offset: 3px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ__etiquette { font-weight: 600; font-size: 1.0625rem; color: var(--color-bordeaux); }
.champ__facultatif { font-weight: 500; color: var(--color-vert); }
.champ__saisie {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--color-blanc);
  border: 2px solid rgb(103 0 11 / .6); border-radius: var(--radius-champ);
  font: 400 1.0625rem/1.4 var(--font-texte); color: var(--color-bordeaux);
}
.champ__saisie:focus-visible { outline: 3px solid var(--color-bordeaux); outline-offset: 2px; }
textarea.champ__saisie { min-height: 140px; resize: vertical; }
select.champ__saisie { appearance: none; padding-right: 44px; background-image: none; }
.champ__liste { position: relative; }
.champ__liste .icone { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.champ__aide { font-size: .9375rem; color: var(--color-vert); }
.champ__erreur { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--color-bordeaux); }
.champ--erreur .champ__saisie { border: 3px solid var(--color-bordeaux); }
.groupe { border: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.groupe__legende { font-weight: 800; font-size: 1.25rem; padding: 0; margin-bottom: 6px; }
.groupe__options { display: flex; flex-direction: column; }
@media (min-width: 768px) { .groupe__options--colonnes { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 18px; } }
.choix { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1.0625rem; cursor: pointer; }
.choix input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--color-bordeaux); }
.enfant { border-top: 2px dashed rgb(103 0 11 / .2); padding-top: 18px; }
.enfant:first-of-type { border-top: 0; padding-top: 0; }
/* Sans JavaScript, le second bloc du questionnaire (facultatif) est dans un <noscript> : il garde son trait */
noscript > .enfant:first-of-type { border-top: 2px dashed rgb(103 0 11 / .2); padding-top: 18px; }
/* Un enfant ajouté se retire par sa croix (retour du 29 novembre 2026). Son titre (legend) fait toute la largeur :
   « Enfant 2 », le trait pointillé, puis la croix, un rond de 44 px. Tout reste dans le flux : placée en absolu,
   la croix tombe 20 px sous le trait dans Chrome, qui la cale dans la boîte du contenu du fieldset (sous la légende)
   et non dans le fieldset. Le trait est donc dessiné dans le titre, et non plus par le fieldset ; le nom du groupe
   vient du seul texte du titre (aria-labelledby), sans celui de la croix. */
.enfant--ajoute { border-top: 0; padding-top: 12px; }
.enfant--ajoute > .groupe__legende { display: flex; align-items: center; gap: 12px; width: 100%; }
.enfant__trait { flex: 1 1 auto; border-top: 2px dashed rgb(103 0 11 / .2); }
.enfant__retirer {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: var(--color-blanc); color: var(--color-bordeaux); border: 2px solid var(--color-bordeaux); cursor: pointer;
}
.enfant__retirer .icone { width: 18px; height: 18px; }
.enfant__retirer:hover { background: var(--color-peche); }

/* Colonne « Et ensuite ? » */
.mise-en-page-formulaire { display: grid; gap: 32px; }
@media (min-width: 1101px) { .mise-en-page-formulaire { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.a-cote { display: flex; flex-direction: column; gap: 18px; background: var(--color-beige); border-radius: 26px; padding: 22px 20px; }
@media (min-width: 1101px) { .a-cote { position: sticky; top: 24px; border-radius: var(--radius-carte); padding: 28px 26px; } }
.a-cote .etapes { flex-direction: column; gap: 16px; }
.a-cote .etape { flex-direction: row; gap: 14px; }
.a-cote .etape__numero { min-width: 48px; height: 48px; font-size: 1.375rem; }
.a-cote__titre { font: 400 1.5rem/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }

/* Bloc dépliable (details natif, replié par défaut) : le summary a l'aspect du bouton secondaire,
   le chevron pivote à l'ouverture. Pleine largeur sur téléphone, comme les boutons d'un groupe. */
.depliant { width: 100%; }
.depliant__bouton { display: flex; width: 100%; }
@media (min-width: 768px) { .depliant__bouton { width: fit-content; } }
.depliant__chevron { display: inline-flex; flex: none; transition: transform .2s ease; }
.depliant[open] > .depliant__bouton .depliant__chevron { transform: rotate(180deg); }
.depliant__contenu { padding-top: 28px; }
@media (min-width: 1101px) { .depliant__contenu { padding-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .depliant__chevron { transition: none; } }

/* Tarifs : la grille, puis son exemple en texte courant */
.grille-tarifs { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1101px) { .grille-tarifs { gap: 32px; } }
.texte > .grille-tarifs__mention { margin-top: .5em; }
.grille-tarifs__mention { font-size: .9375rem; font-weight: 500; color: var(--color-vert); }

/* Simulateur des tarifs */
.simulateur { display: grid; gap: 28px; }
@media (min-width: 1101px) { .simulateur { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; } }
.simulateur__note { font-size: .9375rem; font-weight: 500; color: var(--color-vert); }
.simulateur__enfants { display: flex; flex-direction: column; gap: 18px; }
.resultat {
  background: var(--color-bordeaux); color: var(--color-creme); border-radius: var(--radius-panneau-tel);
  padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 8px 8px 0 var(--color-lilas);
}
@media (min-width: 1101px) { .resultat { position: sticky; top: 24px; border-radius: 40px; padding: 36px 34px; box-shadow: 12px 12px 0 var(--color-lilas); } }
.resultat__titre { font: 400 1.5rem/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
/* Zone annoncée (aria-live) : le total et les phrases qui le suivent */
.resultat__annonce { display: flex; flex-direction: column; gap: 4px; }
.resultat__total { font: 400 clamp(2.5rem, calc(2.5rem + 16 * var(--f)), 3.5rem)/1 var(--font-titre); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 10px; }
/* « [TARIF À FOURNIR] » (un tarif manque) : plus petit qu'un montant, deux lignes au plus sur téléphone */
.resultat__total--a-fournir { font-size: clamp(1.75rem, calc(1.75rem + 8 * var(--f)), 2.25rem); line-height: 1.1; }
.resultat__sous { font-weight: 600; color: var(--color-peche); }
.resultat__mois { font-weight: 500; font-size: 1rem; color: var(--color-creme); }
.resultat__detail { list-style: none; display: flex; flex-direction: column; gap: 6px; border-top: 2px dashed rgb(255 247 235 / .32); padding-top: 14px; }
.resultat__ligne { display: flex; justify-content: space-between; gap: 14px; font-size: 1rem; }
.resultat__ligne span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.resultat__note { font-size: .9375rem; color: var(--color-peche); }

/* Filtres (stages) */
.filtres-liste { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filtre { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 3px solid var(--color-bordeaux); border-radius: var(--radius-pastille); background: transparent; font-weight: 700; font-size: 1rem; cursor: pointer; color: var(--color-bordeaux); }
.filtre[aria-pressed="true"] { background: var(--color-bordeaux); color: var(--color-creme); }

/* Pagination */
.pagination { display: flex; justify-content: center; }
.pagination__liste { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination__lien { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-pastille); border: 2px solid var(--color-bordeaux); font-weight: 700; }
.pagination__lien[aria-current] { background: var(--color-bordeaux); color: var(--color-creme); }

/* Calendrier */
.periodes { list-style: none; display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.periode { display: flex; flex-direction: column; gap: 4px; background: var(--color-blanc); border-radius: 22px; padding: 16px 18px; border-left: 8px solid var(--color-peche); }
.periode:nth-child(even) { border-left-color: var(--color-lilas); }
@media (min-width: 768px) { .periode { flex-direction: row; align-items: baseline; gap: 18px; } }
.periode__nom { font-weight: 800; font-size: 1.125rem; min-width: 14em; }
.periode__dates { font-weight: 500; }

/* Page de confirmation et 404 */
.page-courte { position: relative; overflow: clip; min-height: 52vh; }
.page-courte__contenu { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
/* Place pour un personnage entier sous le contenu, sur téléphone et tablette (404, accueil anglais : retour de Julie
   du 30 novembre 2026, le donut vert n'est plus coupé dans le coin) */
@media (max-width: 1100px) { .page-courte--perso-bas .page-courte__contenu { padding-bottom: 144px; } }
.page-courte__contenu > * { max-width: 760px; }
.page-courte__contenu > p { max-width: 640px; }
.liens-utiles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.liens-utiles .bouton { white-space: normal; }

/* Offres en cours (candidature), masquées tant qu'il n'y en a pas */
.offres { display: none; }

/* Texte imprimé seulement (Tarifs : où trouver le simulateur, qui ne s'imprime pas) */
.imprimer-seul { display: none; }

/* 19. Sommaire des maquettes et guide (outils de relecture, pas des pages du site) -------- */

.recap { max-width: 1280px; margin: 0 auto; padding: 32px var(--spacing-gouttiere) 96px; display: flex; flex-direction: column; gap: 32px; }
.recap__tete { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.recap__titre { font: 400 clamp(2rem, calc(2rem + 24 * var(--f)), 3.5rem)/1.15 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; filter: url(#autocollant-m); }
.recap__groupe { display: flex; flex-direction: column; gap: 14px; }
.recap__h2 { font: 400 clamp(1.5rem, calc(1.5rem + 8 * var(--f)), 2rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; }
.recap__table { width: 100%; border-collapse: collapse; background: var(--color-blanc); border-radius: 20px; overflow: hidden; font-size: .9375rem; }
.recap__table th, .recap__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1.5px solid rgb(103 0 11 / .12); }
.recap__table thead th { background: var(--color-peche); font-weight: 700; border-top: 0; }
.recap__table a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.recap__table ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.recap__etat { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--color-lilas); font-weight: 700; font-size: .8125rem; white-space: nowrap; }
.recap__nombre { font-variant-numeric: tabular-nums; font-weight: 700; }
@media (max-width: 900px) {
  .recap__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .recap__table tr { display: block; border-top: 1.5px solid rgb(103 0 11 / .12); padding: 8px 0; }
  .recap__table td, .recap__table th { display: block; border: 0; padding: 4px 12px; }
}
.recap__outils { display: flex; flex-wrap: wrap; gap: 10px; }
/* Retours du 28 novembre 2026 : sous-titres, introduction, listes des écarts (repliées sous un bouton dépliable) */
.recap__h3 { font-weight: 800; font-size: 1.25rem; line-height: 1.3; margin-top: 10px; }
.recap__intro, .recap__texte { max-width: 860px; }
.recap__texte { font-size: 1rem; }
.recap__texte h4 { font-weight: 800; font-size: 1.0625rem; line-height: 1.35; margin-top: 1.4em; }
.recap__texte > h4:first-child { margin-top: 0; }
.recap__texte h4 + ul { margin-top: .5em; }
/* Colonnes des deux tableaux des retours : assez larges pour ne pas couper les mots (sur ordinateur et tablette) */
@media (min-width: 901px) {
  .recap__table--retours th:first-child { width: 190px; }
  .recap__table--retours th:last-child, .recap__table--retours td:last-child { width: 250px; }
  .recap__table--suite th:last-child, .recap__table--suite td:last-child { width: 180px; }
}

.guide { max-width: 1280px; margin: 0 auto; padding: 32px var(--spacing-gouttiere) 120px; display: flex; flex-direction: column; gap: 64px; }
.guide__section { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 16px; }
.guide__h2 { font: 400 clamp(1.75rem, calc(1.75rem + 12 * var(--f)), 2.5rem)/1.2 var(--font-titre); letter-spacing: .07em; text-transform: uppercase; border-bottom: 2px dashed rgb(103 0 11 / .25); padding-bottom: 10px; }
.guide__h3 { font-weight: 800; font-size: 1.25rem; }
.guide__note { font-size: .9375rem; color: var(--color-vert); max-width: 760px; }
.guide__demo { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 28px; background: var(--color-blanc); border-radius: 24px; border: 2px dashed rgb(103 0 11 / .2); }
.guide__demo--creme { background: var(--color-creme); }
.guide__demo--colonne { flex-direction: column; align-items: stretch; }
.guide__demo--bordeaux { background: var(--color-bordeaux); color: var(--color-creme); border-color: transparent; }
.guide__demo--vert { background: var(--color-vert); color: var(--color-creme); border-color: transparent; }
.guide__demo--relatif { position: relative; min-height: 220px; overflow: clip; }
.guide__demo--reserve { border: 0; background: var(--color-creme); padding: 72px 40px; justify-content: center; gap: 96px; }
.guide__reserve { width: 120px; height: 120px; display: grid; place-items: center; }
.guide__nuancier { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; width: 100%; }
.guide__couleur { display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; }
.guide__pastille-couleur { height: 72px; border-radius: 18px; border: 1.5px solid rgb(103 0 11 / .15); }
.guide__persos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px; width: 100%; }
.guide__perso { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; text-align: center; }
.guide__perso-cadre { width: 96px; height: 96px; display: grid; place-items: center; }
.guide__echelle { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.guide__echelle-ligne { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: baseline; border-top: 1.5px dashed rgb(103 0 11 / .15); padding-top: 10px; }
@media (max-width: 767px) { .guide__echelle-ligne { grid-template-columns: 1fr; } }
.guide__echelle-nom { font-size: .875rem; color: var(--color-vert); font-weight: 600; }
.guide__sommaire { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.guide__etat-survol { transform: translateY(-2px); }
.guide__etat-focus { outline: 3px solid var(--color-bordeaux); outline-offset: 3px; }
.guide__etat-focus-video { outline: 3px solid var(--color-bordeaux); outline-offset: 3px; box-shadow: var(--shadow-bouton-clair), 0 0 0 9px var(--color-creme); }
.guide__demo--beige { background: var(--color-beige); }
/* Démonstration du fond vidéo du héros (état d'attente) : une petite scène, sans le liseré de la barre d'annonce
   fermée, l'étiquette à 24 px du bas à toutes les largeurs */
.guide__scene.heros__scene {
  --heros-bas: 24px; min-height: 0; width: 100%; border-radius: 24px; overflow: clip;
  display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 44px 20px 92px;
}
.guide__scene.heros__scene::before { display: none; }
/* Sur téléphone, le cadre de la démonstration et la scène se resserrent : le bouton « Faisons connaissance »
   garde la largeur qu'il a dans le héros */
@media (max-width: 767px) {
  .guide__demo--scene { padding: 10px; }
  .guide__scene.heros__scene { padding: 36px 10px 84px; }
}
.guide__scene .heros__boutons { margin-top: 0; }
/* « à Fontainebleau » hors de la composition du titre : sa taille suit celle du conteneur (em), comme dans le héros */
.guide__scene-lieu { display: flex; justify-content: center; font-size: 2.25rem; line-height: 1; }
@media (min-width: 768px) { .guide__scene-lieu { font-size: 4.75rem; } .guide__scene .titre-accueil__lieu { top: 0; } }
.guide__largeur { width: 100%; }
.guide__bloc { display: flex; flex-direction: column; gap: 10px; }
.guide__pastille-couleur--creme { background: var(--color-creme); }
.guide__pastille-couleur--blanc { background: var(--color-blanc); }
.guide__pastille-couleur--beige { background: var(--color-beige); }
.guide__pastille-couleur--bordeaux { background: var(--color-bordeaux); }
.guide__pastille-couleur--vert { background: var(--color-vert); }
.guide__pastille-couleur--violet { background: var(--color-violet); }
.guide__pastille-couleur--orange { background: var(--color-orange); }
.guide__pastille-couleur--peche { background: var(--color-peche); }
.guide__pastille-couleur--lilas { background: var(--color-lilas); }
.guide__pastille-couleur--lime { background: var(--color-lime); }
.guide__pastille-couleur--bleu-clair { background: var(--color-bleu-clair); }
.pastille--violet-g { background: var(--color-violet); font-size: 1.25rem; }
.pastille--orange-g { background: var(--color-orange); font-size: 1.25rem; }
.guide__grande { font-size: 1.5rem; }
.guide__bordeaux { background: var(--color-bordeaux); }
.guide code, .recap code { font-size: .875em; background: rgb(103 0 11 / .07); border-radius: 6px; padding: 1px 6px; }

/* Très petits écrans (moins de 360 px) : les mots longs des titres tiennent dans la largeur */
@media (max-width: 359px) {
  .titre-autocollant { font-size: 1.75rem; }
  .titre-section__titre, .encart__titre, .valeurs__titre { font-size: min(1.875rem, 9vw); }
  .titre-section__titre--lecture, .texte h2 { font-size: 1.5rem; }
  .sommaire-page { grid-template-columns: minmax(0, 1fr); }
}

/* Police du navigateur agrandie (contrôle 20). Le brief (section 9) demande des tailles en rem « pour respecter le
   réglage du navigateur ». Chaque requête associe une largeur en px et une largeur en em qui ne peuvent pas être
   vraies ensemble quand 1 em vaut 16 px :
   - téléphone : dès 320 px, moins de 20 em ;
   - tablette : dès 768 px, moins de 48 em ;
   - ordinateur : dès 1 101 px, moins de 68,8125 em.
   Ces règles ne jouent donc qu'avec une police par défaut de plus de 16 px (réglages « Grande » et « Très grande »
   de Chrome, par exemple), et le rendu à la taille normale ne change pas. Le zoom du navigateur agrandit px et em
   ensemble : il ne les déclenche pas. */
@media (min-width: 320px) and (max-width: 19.9375em), (min-width: 768px) and (max-width: 47.9375em), (min-width: 1101px) and (max-width: 68.75em) {
  /* Un mot plus long que sa ligne se coupe au lieu d'être rogné. Les tableaux gardent « break-word », pour garder
     la largeur de leurs colonnes. */
  body, .titre-autocollant { overflow-wrap: anywhere; }
  table { overflow-wrap: break-word; }
  /* Les libellés passent à la ligne plutôt que de sortir de l'écran */
  .pastille, .pedago, .menu__lien, .tableau__montant, .insecable { white-space: normal; }
  /* Le menu passe à la ligne entre les mots, jamais au milieu (« Conta-ct ») : la place suffit dès 1 101 px */
  .menu__lien { text-wrap: balance; overflow-wrap: normal; }
  .pedago { max-width: 100%; text-align: center; }
  .postit__droite > .pastille, .recap__outils > .bouton { flex-shrink: 1; }
  /* Le jour d'une tuile de date : l'interligne de 0,9 laisse dépasser le dessin des chiffres quand ils grandissent */
  .tuile-date__jour { line-height: 1; }
}
@media (min-width: 320px) and (max-width: 19.9375em) {
  /* Téléphone : le logo cède quelques pixels. Les grands textes en More Sugar et les textes du héros sont plafonnés
     à la largeur de l'écran, à la taille qu'ils ont à 320 px avec la police normale. */
  .logo { flex-shrink: 1; min-width: 0; }
  .logo__image { max-width: 100%; min-width: 0; }
  .titre-autocollant { font-size: min(1.75rem, 8.75vw); }
  .recap__titre { font-size: min(2rem, 10vw); }
  .guide__h2 { font-size: min(1.75rem, 8.75vw); }
  .titre-accueil__pastille .pastille-grande { font-size: max(.5278em, min(1.17rem, 5.85vw)); }
  .titre-accueil__lieu { font-size: max(.4167em, min(.8125rem, 4.0625vw)); }
  /* Les ronds des chiffres, qui grandissent avec la police, passent l'un sous l'autre */
  .chiffres__liste { grid-template-columns: auto; }
  .periode__nom { min-width: 0; }
}
.valeur__tete { flex-wrap: wrap; row-gap: 20px; }
.sommaire-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sommaire-page { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sommaire-page__lien > span { min-width: 0; overflow-wrap: anywhere; }
.guide__demo { overflow-x: auto; max-width: 100%; }
.recap code, .recap__table td { overflow-wrap: anywhere; }

/* 20. Mouvement réduit --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .bouton, .heros__pause { transition: none; }
  .bouton:hover, .heros__pause:hover { transform: none; }
}

/* 21. Impression (tarifs, calendrier) ----------------------------------------------------------- */

@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .entete, .annonce, .ariane, .barre-rubrique, .ancres, .bande-fc, .perso, .simulateur, .sommaire-collant,
  .boutons, .evitement, .questions-page, .menu-tel, .itineraires, .video, .tableau-questions,
  .photo, .photo-entete, [data-simulateur], .imprimer-non { display: none !important; }
  .imprimer-seul { display: block; }
  /* Le pied de page réduit à l'école, en une rangée serrée : logo, adresse, téléphone et association, en bordeaux sur
     blanc. Une feuille imprimée (Tarifs, Calendrier) dit ainsi d'où elle vient, sans page de plus. */
  .pied { background: none; color: var(--color-bordeaux); overflow: visible; break-inside: avoid; }
  .pied__plan, .pied__liens-bas, .pied__persos, .pied__contact-lien { display: none !important; }
  .pied__contenu { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 14px; padding: 8px 0 0; border-top: 1px solid #ccc; }
  .pied__haut, .pied__marque, .pied__bas { display: contents; }
  .pied__marque .logo { box-shadow: none; padding: 0; }
  .pied__marque .logo__image { width: 64px; }
  .pied__adresse, .pied__contact, .pied__mention { font-size: 8.5pt; line-height: 1.35; color: var(--color-bordeaux); }
  /* Accueil : ni la couche de fond (vidéo d'ambiance ou état d'attente), ni le bouton pause, ni le liseré */
  .heros__fond, .heros__pause, .heros__scene::before { display: none !important; }
  .entete-page__contenu, .section__contenu { padding-block: 8px !important; }
  /* Sans la photo d'en-tête, son texte reprend toute la largeur, quelle que soit celle du papier */
  .entete-page--photo .entete-page__contenu { display: flex; }
  .titre-autocollant { filter: none; font-size: 26pt; }
  .tableau, .encadre, .carte, .periode { filter: none; box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .tableau__table thead { position: static; width: auto; height: auto; clip-path: none; }
  .tableau__table tr { display: table-row; }
  .tableau__table tbody th, .tableau__table td { display: table-cell; }
  .tableau__etiquette { display: none; }
  /* Grille resserrée : elle tient sous l'en-tête de la page Tarifs, montants sur plusieurs lignes si besoin */
  .tableau { padding: 10px 12px 4px; }
  .tableau__legende { font-size: 9.5pt; padding-bottom: 6px; }
  .tableau__table thead th { font-size: 10pt; padding: 6px 10px; }
  .tableau__table tbody th, .tableau__table td { font-size: 10.5pt; line-height: 1.35; padding: 6px 10px; }
  .grille-tarifs .tableau__table tbody th { width: 52%; }
  .tableau__montant { white-space: normal; }
  .tableau__note { font-size: 9.5pt; padding: 6px 10px 8px; }
  a { text-decoration: none; }
  /* Aucun titre seul en bas de page : il part avec ce qui le suit */
  .titre-section, .titre-section__titre, .texte h2, .texte h3, .encadre__titre { break-after: avoid; page-break-after: avoid; }
  .titre-section, .grille-tarifs__exemple p { break-inside: avoid; page-break-inside: avoid; }
}
