/* ==========================================================================================
   Danse et Vie (Cholet) : maquette. Feuille de style unique, écrite du téléphone vers l'écran large.

   La charte tient en quatre décisions, toutes tirées de l'association :
   - palette : l'orange et l'anthracite de son logo, sur les tons clairs de son parquet ; le vert
     anis des murs de sa salle, adouci, pour la famille « bien-être et sport » ;
   - polices : Fraunces (titres, l'italique pour ce qui danse) et Outfit (texte) ;
   - motif : la goutte du D de son logo, trois coins ronds et un coin vif en bas à gauche,
     à trois échelles (puce des surtitres, cadre des photos et des boutons, grande forme de fond) ;
   - haut de page : l'écran en deux, la scène d'un côté, la salle de l'autre.
   ========================================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2");
  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: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-latin-ext-italique.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-latin-italique.woff2") format("woff2");
  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"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/outfit-latin.woff2") format("woff2");
  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; }

/* --- Jetons ------------------------------------------------------------------------------------
   Nommés par rôle. Les contrastes sont calculés, pas estimés (blanc sur --action : 4,98 ;
   --action sur --papier : 4,70 ; --gris sur --parquet : 5,66 ; --anis-fonce sur --papier : 6,24). */
:root {
  --encre: #1d1d1b;            --encre-rvb: 29, 29, 27;        /* l'anthracite du logo : texte, sections « scène » */
  --encre-2: #2b2a27;                                          /* un cran plus clair, pour les blocs posés sur la scène */
  --orange: #e94e1b;           --orange-rvb: 233, 78, 27;      /* l'orange du logo, tel quel : touche vive, grands titres */
  --orange-clair: #f26b3c;                                     /* le même, éclairci : petit texte sur la scène */
  --action: #c8410f;                                           /* l'orange assombri : seul capable de porter du blanc */
  --action-fonce: #a5350a;
  --orange-pale: #fde8dc;
  --anis: #b9cb2c;                                             /* le vert des murs de la salle Beauregard */
  --anis-fonce: #55630f;
  --anis-pale: #eef2d2;
  --papier: #fbf8f3;           --papier-rvb: 251, 248, 243;    /* fond courant, blanc chaud */
  --parquet: #f1e8db;                                          /* fond alterné, le blond du parquet */
  --blanc: #fff;
  --gris: #5d5a54;                                             /* texte secondaire */
  --gris-scene: #b9b4aa;                                       /* texte secondaire sur la scène */
  --trait: rgba(var(--encre-rvb), 0.14);
  --trait-scene: rgba(var(--papier-rvb), 0.18);

  --police-titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --police-texte: "Outfit", "Segoe UI", system-ui, sans-serif;

  --coin: 1.75rem;                                             /* les trois coins ronds ; le quatrième reste vif */
  --goutte: 50% 50% 50% 0 / 46% 50% 50% 0;                     /* la forme du D, pour un bloc à peu près carré */
  --marge: clamp(1.25rem, 4.5vw, 3.5rem);
  --h-entete: 4.75rem;
  --ombre: 0 24px 60px -30px rgba(var(--encre-rvb), 0.45);
}
@media (min-width: 73.75em) { :root { --h-entete: 5.75rem; } }

/* --- Base --------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--h-entete) + 1.5rem); }
body { margin: 0; font-family: var(--police-texte); font-size: 1.0625rem; line-height: 1.65; color: var(--encre); background: var(--papier);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--police-titre); font-weight: 430; line-height: 1.04; letter-spacing: -0.018em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--blanc); }

.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.boite { width: min(100% - 2 * var(--marge), 77.5rem); margin-inline: auto; }
.boite--etroite { width: min(100% - 2 * var(--marge), 52rem); }

.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.1rem; background: var(--encre); color: var(--papier);
  border-radius: 1rem 1rem 1rem 0; font-weight: 600; text-decoration: none; transition: top 0.15s; }
.evitement:focus { top: 0.75rem; }

/* --- Icônes : un masque coloré par la couleur du texte ---------------------------------------- */
.ico { display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--fleche { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E"); }
.ico--fleche-g { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12H4M11 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.ico--sortie { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16 19 5M10 5h9v9'/%3E%3C/svg%3E"); }
.ico--tel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.ico--mel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.500 7 8.500 6.500L20.500 7'/%3E%3C/svg%3E"); }
.ico--lieu { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.200 7-11.500A7 7 0 0 0 5 9.500C5 14.800 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.500' r='2.500'/%3E%3C/svg%3E"); }
.ico--heure { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ico--date { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ico--doc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
.ico--croix { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.ico--info { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.500v.010'/%3E%3C/svg%3E"); }
.ico--personne { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.600'/%3E%3Cpath d='M5 20c.600-3.800 3.400-5.500 7-5.500s6.400 1.700 7 5.500'/%3E%3C/svg%3E"); }
.ico--facebook { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.500 21v-7.500h2.600l.400-3h-3V8.600c0-.900.300-1.500 1.600-1.500h1.500V4.400c-.300 0-1.200-.100-2.200-.100-2.300 0-3.800 1.400-3.800 3.900v2.300H8v3h2.600V21z'/%3E%3C/svg%3E"); }
.ico--instagram { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='4' y='4' width='16' height='16' rx='4.500'/%3E%3Ccircle cx='12' cy='12' r='3.600'/%3E%3Cpath d='M16.800 7.200v.010' stroke-linecap='round' stroke-width='2.200'/%3E%3C/svg%3E"); }

/* --- Le motif : la goutte du D ------------------------------------------------------------------ */
.surtitre { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.1rem; font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gris); }
.surtitre::before { content: ""; flex: none; width: 0.85rem; height: 0.85rem; background: var(--orange); border-radius: 50% 50% 50% 0; }
.famille-bien-etre .surtitre::before, .surtitre--anis::before { background: var(--anis); }
.famille-bien-etre .section h2 em { color: var(--anis-fonce); }
.cadre { border-radius: var(--coin) var(--coin) var(--coin) 0; overflow: hidden; }
.cadre img { width: 100%; height: 100%; object-fit: cover; }

/* --- Titres et textes ----------------------------------------------------------------------------- */
.titre-xl { font-size: clamp(2.9rem, 8.2vw, 6rem); font-weight: 400; letter-spacing: -0.03em; }
.titre { font-size: clamp(2.15rem, 5vw, 3.75rem); }
.titre-m { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.titre-s { font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 380; color: var(--orange); }
.chapo { font-size: clamp(1.15rem, 1.9vw, 1.35rem); line-height: 1.55; color: var(--gris); max-width: 38em; }
h1 + .chapo, h2 + .chapo { margin-top: 1.25rem; }
.insecable { white-space: nowrap; }
.prose { max-width: 40em; }
.prose p + p { margin-top: 0; }
.prose ul { margin: 0 0 1em; }
.prose li { position: relative; padding-left: 1.5rem; margin-bottom: 0.35rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; background: var(--orange); border-radius: 50% 50% 50% 0; }
.famille-bien-etre .prose li::before { background: var(--anis); }
.prose strong { font-weight: 600; }
.lien { color: var(--action); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--orange-rvb), 0.4); }
.lien:hover { text-decoration-color: currentColor; }
.lien-fleche { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; color: var(--action); }
.lien-fleche .ico { transition: transform 0.25s; }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* L'italique de Fraunces, aux grands corps, remplace d, h, k, b et l par des formes à crosse :
   « Lundi » finit par se lire « Lundî ». En la tenant sous le corps optique 18, on garde des
   lettres sages. Seule l'esperluette de l'accueil garde sa forme dansante. */
h1 em, h2 em, h3 em, .italique, .presentation__accroche em, .presentation__suite em, .famille__titre h3, .jour__nom, .gala__editions li, .repere__numero,
.citation blockquote, .membre__initiale, .adhesion__prix, .etape::before, .tarifs caption, .affiche-gala h2, .edition__titre,
.menu__liste a[aria-current="page"] { font-variation-settings: "opsz" 17.9; }

/* --- Boutons : une pastille à coin vif, comme le D ---------------------------------------------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.7rem 1.5rem;
  border: 2px solid transparent; border-radius: 1.6rem 1.6rem 1.6rem 0; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.bouton .ico { transition: transform 0.25s; }
.bouton:hover .ico--fleche { transform: translateX(4px); }
.bouton:active { transform: translateY(1px); }
.bouton--plein { background: var(--action); color: var(--blanc); }
.bouton--plein:hover { background: var(--action-fonce); }
.bouton--trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.bouton--trait:hover { background: var(--encre); color: var(--papier); }
.bouton--clair { background: var(--papier); color: var(--encre); }
.bouton--clair:hover { background: var(--blanc); }
.bouton--trait-clair { border-color: var(--trait-scene); color: var(--papier); }
.bouton--trait-clair:hover { border-color: var(--papier); }
.boutons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- Encadré « Maquette » : tout ce qui est inventé le dit ------------------------------------ */
.note-maquette { display: flex; gap: 0.7rem; align-items: flex-start; max-width: 46rem; margin: 0 0 1.75rem; padding: 0.8rem 1rem;
  border: 1.5px dashed rgba(var(--encre-rvb), 0.35); border-radius: 1rem 1rem 1rem 0; background: rgba(var(--papier-rvb), 0.7);
  font-size: 0.9rem; line-height: 1.45; color: var(--gris); }
.note-maquette .ico { margin-top: 0.1rem; color: var(--action); }
.note-maquette strong { color: var(--encre); font-weight: 600; }
.scene .note-maquette { border-color: var(--trait-scene); background: rgba(var(--papier-rvb), 0.06); color: var(--gris-scene); }
.scene .note-maquette strong { color: var(--papier); }
.scene .note-maquette .ico { color: var(--orange-clair); }

/* ==========================================================================================
   En-tête
   ========================================================================================== */
.entete { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s; }
.entete.est-descendue { border-color: var(--trait); box-shadow: 0 12px 30px -24px rgba(var(--encre-rvb), 0.55); }
.entete__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: var(--h-entete); }
.entete__logo { flex: none; display: block; padding: 0.4rem 0; }
.entete__logo img { width: 10.25rem; }
.entete__bascule { display: none; align-items: center; gap: 0.65rem; padding: 0.55rem 0.2rem 0.55rem 0.9rem; border: 0; background: none; font-weight: 600; cursor: pointer; }
.entete__bascule-traits { position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50% 50% 50% 0; background: var(--encre); }
.entete__bascule-traits::before, .entete__bascule-traits::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; height: 2px; background: var(--papier); transition: transform 0.25s, top 0.25s; }
.entete__bascule-traits::before { top: 1.02rem; }
.entete__bascule-traits::after { top: 1.5rem; }
.menu-ouvert .entete__bascule-traits::before { top: 1.25rem; transform: rotate(45deg); }
.menu-ouvert .entete__bascule-traits::after { top: 1.25rem; transform: rotate(-45deg); }

.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-bottom: 0.6rem; }
.menu__liste { display: flex; flex-wrap: wrap; gap: 0.15rem; }
.menu__liste a { display: block; padding: 0.5rem 0.8rem; border-radius: 1rem 1rem 1rem 0; font-size: 0.975rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.menu__liste a:hover { background: var(--parquet); }
.menu__liste a[aria-current="page"] { background: var(--encre); color: var(--papier); }
.menu__inscrire { min-height: 2.75rem; padding-block: 0.55rem; }

/* Sous 1180 px, et seulement si le script tourne : le menu devient un panneau plein écran. */
@media (max-width: 73.74em) {
  .js .entete__bascule { display: inline-flex; }
  .js .menu { position: fixed; inset: var(--h-entete) 0 0 0; z-index: 49; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 1.75rem;
    padding: 1.5rem var(--marge) 2.5rem; overflow-y: auto; background: var(--papier); visibility: hidden; opacity: 0; transform: translateY(-0.6rem); }
  /* Le fondu ne joue que juste après un geste sur le bouton (classe posée par le script). Sans cette
     précaution, le panneau apparaît un quart de seconde chaque fois que la fenêtre passe sous
     1180 px : fenêtre qu'on rétrécit, tablette qu'on tourne. */
  .js.menu-anime .menu { transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s; }
  .js.menu-ouvert .menu { visibility: visible; opacity: 1; transform: none; }
  .js.menu-anime.menu-ouvert .menu { transition: opacity 0.25s, transform 0.25s; }
  .js.menu-ouvert { overflow: hidden; }
  .js .menu__liste { flex-direction: column; gap: 0; }
  .js .menu__liste a { padding: 0.7rem 0; border-radius: 0; border-bottom: 1px solid var(--trait); font-family: var(--police-titre); font-size: 1.75rem; font-weight: 430; letter-spacing: -0.015em; white-space: normal; }
  .js .menu__liste a:hover { background: none; color: var(--action); }
  .js .menu__liste a[aria-current="page"] { background: none; color: var(--action); font-style: italic; }
  .js .menu__inscrire { align-self: flex-start; }
}
@media (min-width: 73.75em) {
  .entete__barre { flex-wrap: nowrap; }
  .entete__logo img { width: 12.5rem; }
  .menu { flex-wrap: nowrap; padding-bottom: 0; }
  .menu__liste { flex-wrap: nowrap; }
}

/* ==========================================================================================
   Accueil : l'écran en deux
   ========================================================================================== */
.portes { position: relative; display: grid; grid-template-rows: 1fr 1fr; min-height: calc(100vh - var(--h-entete)); min-height: calc(100svh - var(--h-entete)); isolation: isolate; background: var(--encre); }
.porte { position: relative; display: flex; flex-direction: column; min-height: 19.5rem; padding: 1.5rem var(--marge); overflow: hidden; text-decoration: none; isolation: isolate; }
.porte__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.porte::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity 0.4s; }
.porte:hover .porte__image, .porte:focus-visible .porte__image { transform: scale(1.045); }
.porte:focus-visible { outline-offset: -6px; }

.porte--danse { color: var(--papier); justify-content: flex-start; }
.porte--danse .porte__image { object-position: 58% 40%; }
.porte--danse::after { background: linear-gradient(180deg, rgba(var(--encre-rvb), 0.62) 0%, rgba(var(--encre-rvb), 0.18) 45%, rgba(var(--encre-rvb), 0.72) 100%); }
.porte--bien-etre { color: var(--encre); justify-content: flex-end; }
.porte--bien-etre .porte__image { object-position: 30% 60%; }
.porte--bien-etre::after { background: linear-gradient(180deg, rgba(var(--papier-rvb), 0.5) 0%, rgba(var(--papier-rvb), 0.12) 34%, rgba(var(--papier-rvb), 0.2) 55%, rgba(var(--papier-rvb), 0.94) 100%); }

.porte__famille { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.porte__famille::before { content: ""; width: 0.85rem; height: 0.85rem; background: var(--orange); border-radius: 50% 50% 50% 0; }
.porte--bien-etre .porte__famille::before { background: var(--anis-fonce); }
.porte__liste { display: block; max-width: 22rem; margin-top: 0.5rem; font-size: 1.05rem; line-height: 1.4; }
.porte__aller { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-weight: 600; }
.porte__aller .ico { transition: transform 0.3s; }
.porte:hover .porte__aller .ico { transform: translateX(5px); }

/* Le nom, à cheval sur les deux moitiés ; l'esperluette tient la jointure. */
.portes__nom { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; pointer-events: none;
  font-size: clamp(4.75rem, 25vw, 8rem); font-weight: 400; line-height: 0.86; letter-spacing: -0.045em; }
.portes__mot--danse { align-self: end; padding-bottom: 0.4em; color: var(--papier); }
.portes__mot--vie { align-self: start; padding-top: 0.42em; color: var(--encre); }
.portes__et { display: grid; place-items: center; width: 0.66em; height: 0.66em; margin-block: -0.33em; background: var(--orange); color: var(--blanc);
  border-radius: 50% 50% 50% 0; box-shadow: 0 0 0 0.055em var(--papier); }
.portes__et span { font-size: 0.5em; font-style: italic; font-weight: 400; line-height: 1; letter-spacing: 0; transform: translate(0.03em, -0.03em); }
.portes__lieu { position: absolute; left: 50%; bottom: 1rem; z-index: 3; transform: translateX(-50%); display: none; padding: 0.45rem 1rem; border-radius: 2rem;
  background: var(--papier); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

@media (min-width: 56em) {
  .portes { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .porte { min-height: 33rem; padding: clamp(1.5rem, 3vw, 3rem); justify-content: flex-end; }
  .porte--bien-etre { align-items: flex-end; text-align: right; }
  .porte--bien-etre .porte__famille { flex-direction: row-reverse; }
  .porte--danse::after { background: linear-gradient(180deg, rgba(var(--encre-rvb), 0.45) 0%, rgba(var(--encre-rvb), 0.12) 38%, rgba(var(--encre-rvb), 0.82) 100%); }
  .porte--bien-etre::after { background: linear-gradient(180deg, rgba(var(--papier-rvb), 0.1) 0%, rgba(var(--papier-rvb), 0.06) 45%, rgba(var(--papier-rvb), 0.82) 78%, rgba(var(--papier-rvb), 0.96) 100%); }
  .porte--danse .porte__image { object-position: 62% 50%; }
  .porte--bien-etre .porte__image { object-position: 22% 50%; }
  .porte__liste { font-size: 1.2rem; }
  .portes__nom { grid-template-rows: none; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: clamp(5.5rem, 12.4vw, 12.75rem); padding-bottom: 4vh; }
  .portes__mot--danse { justify-self: end; align-self: center; padding: 0 0.1em 0 0; }
  .portes__mot--vie { justify-self: start; align-self: center; padding: 0 0 0 0.1em; }
  .portes__et { margin: 0 -0.33em; transform: translateY(0.05em); }
  .portes__nom { column-gap: 0.33em; }
  .portes__lieu { display: block; top: 1.5rem; bottom: auto; }
}

/* ==========================================================================================
   Sections
   ========================================================================================== */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--parquet { background: var(--parquet); }
.section--blanc { background: var(--blanc); }
.scene { background: var(--encre); color: var(--papier); }
.scene .surtitre, .scene .chapo { color: var(--gris-scene); }
.scene h2 em, .scene h1 em, .scene h3 em { color: var(--orange-clair); }
.scene .lien, .scene .lien-fleche { color: var(--orange-clair); }
.section__tete { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__tete .chapo { margin-top: 1.25rem; }
.section__tete--large { display: grid; gap: 1.5rem; max-width: none; }
@media (min-width: 56em) { .section__tete--large { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 3rem; } .section__tete--large .chapo { margin-top: 0; } }

/* --- Présentation (accueil) ----------------------------------------------------------------------- */
.presentation__grille { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.presentation__accroche { font-family: var(--police-titre); font-size: clamp(1.55rem, 3.3vw, 2.5rem); font-weight: 380; line-height: 1.22; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.presentation__accroche em, .presentation__suite em { font-style: italic; color: var(--action); }
.presentation__suite em { font-family: var(--police-titre); font-size: 1.12em; }
.presentation__suite { color: var(--gris); max-width: 36em; }
.presentation__suite + .lien-fleche { margin-top: 1.75rem; }
.presentation__image { position: relative; width: min(100% - 1.25rem, 30rem); margin-inline: auto 0; }
.presentation__image .cadre-goutte { aspect-ratio: 1 / 1; }
.cadre-goutte { border-radius: var(--goutte); overflow: hidden; }
.cadre-goutte img { width: 100%; height: 100%; object-fit: cover; }
.presentation__image::before { content: ""; position: absolute; inset: -1.1rem 1.1rem 1.1rem -1.1rem; border: 2px solid var(--orange); border-radius: var(--goutte); }
.presentation__image .cadre-goutte { position: relative; }
.presentation__legende { margin-top: 1rem; font-size: 0.875rem; color: var(--gris); text-align: right; }
@media (min-width: 56em) { .presentation__grille { grid-template-columns: 1.15fr 0.85fr; } }

/* --- Les activités, en deux listes ------------------------------------------------------------- */
.familles { display: grid; gap: 3rem; }
@media (min-width: 56em) { .familles { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); } }
.famille__titre { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--encre); }
.famille__titre h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-style: italic; font-weight: 380; }
.famille__compte { font-size: 0.875rem; color: var(--gris); white-space: nowrap; }
.famille__liste a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.25rem 1rem; padding: 0.95rem 0.25rem 0.95rem 0; border-bottom: 1px solid var(--trait);
  text-decoration: none; transition: padding 0.25s, background-color 0.25s; }
.famille__nom { font-family: var(--police-titre); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.famille__detail { grid-column: 1; font-size: 0.9rem; color: var(--gris); }
.famille__jour { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; font-weight: 500; color: var(--gris); text-align: right; }
.famille__jour .ico { color: var(--action); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s; }
.famille__liste a:hover { padding-left: 0.75rem; }
.famille__liste a:hover .ico, .famille__liste a:focus-visible .ico { opacity: 1; transform: none; }
.famille-bien-etre .famille__jour .ico { color: var(--anis-fonce); }
.famille__pied { margin-top: 1.5rem; }
.famille__pied--large { margin-top: 2.5rem; }
.famille__photo { margin-top: 1.75rem; aspect-ratio: 16 / 7; }
.famille-bien-etre .lien-fleche { color: var(--anis-fonce); }

/* --- La semaine : une ligne par jour, les cours en étiquettes -------------------------------- */
.semaine { border-top: 2px solid var(--encre); }
.jour { display: grid; gap: 0.6rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--trait); }
.jour__nom { display: flex; align-items: center; gap: 0.75rem; font-family: var(--police-titre); font-size: 1.6rem; font-style: italic; font-weight: 380; line-height: 1.1; }
.jour__aujourdhui { display: none; padding: 0.22rem 0.6rem; border-radius: 1rem 1rem 1rem 0; background: var(--encre); color: var(--papier);
  font-family: var(--police-texte); font-size: 0.6875rem; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-variation-settings: normal; }
.jour.est-aujourdhui .jour__aujourdhui { display: inline-block; }
.jour ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cours { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; padding: 0.5rem 1rem 0.5rem 0.8rem; background: var(--blanc); border-radius: 1.3rem 1.3rem 1.3rem 0; font-size: 0.975rem; line-height: 1.35; }
.section--blanc .cours { background: var(--papier); }
.jour.est-aujourdhui .cours { box-shadow: inset 0 0 0 1.5px var(--encre); }
.cours::before { content: ""; flex: none; align-self: center; width: 0.6rem; height: 0.6rem; border-radius: 50% 50% 50% 0; background: var(--orange); }
.cours[data-famille="bien-etre"]::before { background: var(--anis); }
.cours__heure { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cours__plus { font-size: 0.8125rem; color: var(--gris); }
.cours[hidden] { display: none; }
.jour__vide { display: none; margin: 0; align-self: center; font-size: 0.9rem; color: var(--gris); }
.jour.est-vide .jour__vide { display: block; }
.jour.est-vide ul { display: none; }
@media (max-width: 47.99em) {       /* sur téléphone, la précision d'un cours passe sous son nom, alignée sur l'heure */
  .cours { display: inline-grid; grid-template-columns: auto auto 1fr; column-gap: 0.5rem; }
  .cours__plus { grid-column: 2 / -1; }
}
@media (min-width: 48em) {
  .jour { grid-template-columns: 11.5rem 1fr; align-items: start; }
  .jour__nom { padding-top: 0.3rem; }
}
.legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; font-size: 0.9rem; color: var(--gris); }
.legende span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legende i { width: 0.7rem; height: 0.7rem; border-radius: 50% 50% 50% 0; background: var(--orange); }
.legende i.anis { background: var(--anis); }

/* --- Filtres (planning, costumes) ------------------------------------------------------------- */
.filtres { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.js .filtres { display: flex; }
.filtre { min-height: 2.75rem; padding: 0.5rem 1.1rem; border: 1.5px solid var(--encre); border-radius: 1.4rem 1.4rem 1.4rem 0; background: transparent; font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.filtre:hover { background: rgba(var(--encre-rvb), 0.07); }
.filtre[aria-pressed="true"] { background: var(--encre); color: var(--papier); }
.filtre small { margin-left: 0.35rem; font-size: 0.8em; opacity: 0.7; }

/* --- Le gala : une section « scène » et son ruban de photos ---------------------------------- */
.gala__editions { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; margin-top: 2rem; }
.gala__editions li { font-family: var(--police-titre); font-size: clamp(1.35rem, 2.6vw, 2rem); font-style: italic; font-weight: 380; line-height: 1.2; }
.gala__editions small { display: block; font-family: var(--police-texte); font-size: 0.8125rem; font-style: normal; font-weight: 500; letter-spacing: 0.06em; color: var(--gris-scene); }
.ruban { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); }
.ruban__piste { display: flex; gap: 0.9rem; padding: 0.25rem max(var(--marge), (100vw - 77.5rem) / 2) 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--marge), (100vw - 77.5rem) / 2); scrollbar-width: thin; scrollbar-color: rgba(var(--papier-rvb), 0.35) transparent; }
.ruban__piste ul { display: contents; }
.ruban__piste li { flex: none; scroll-snap-align: start; }
.ruban__photo { height: clamp(13rem, 34vw, 25rem); border-radius: var(--coin) var(--coin) var(--coin) 0; overflow: hidden; }
.ruban__photo img { width: auto; height: 100%; max-width: none; }
.ruban__commandes { display: none; justify-content: flex-end; gap: 0.5rem; margin-top: 0.5rem; }
.js .ruban__commandes { display: flex; }
.rond { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1.5px solid var(--trait-scene); border-radius: 50% 50% 50% 0; background: none; color: var(--papier); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.rond:hover { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.rond[disabled] { opacity: 0.35; cursor: default; }
.rond[disabled]:hover { background: none; color: var(--papier); border-color: var(--trait-scene); }

/* --- L'équipe ------------------------------------------------------------------------------------ */
.equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
@media (min-width: 78em) { .equipe:not(.equipe--large) { grid-template-columns: repeat(9, 1fr); } }
.membre { text-align: left; }
.membre__photo { width: min(6.5rem, 100%); height: auto; aspect-ratio: 1 / 1; margin-bottom: 0.85rem; border-radius: 50% 50% 50% 0; overflow: hidden; background: var(--parquet); }
.membre__photo img { width: 100%; height: 100%; object-fit: cover; }
.membre__initiale { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--police-titre); font-size: 2.6rem; font-style: italic; color: var(--action); background: var(--orange-pale); }
.membre__nom { margin: 0; font-family: var(--police-titre); font-size: 1.35rem; font-weight: 430; line-height: 1.15; letter-spacing: -0.01em; }
.membre__role { margin-top: 0.2rem; font-size: 0.9rem; line-height: 1.35; color: var(--gris); }
.membre__bio { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.45; color: var(--gris); }
.equipe--large { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
@media (min-width: 44em) { .equipe--large { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 68em) { .equipe--large { grid-template-columns: repeat(5, 1fr); } }
.equipe--large .membre__photo { width: min(7.5rem, 100%); }

/* --- Trois repères pratiques ---------------------------------------------------------------------- */
.reperes { display: grid; gap: 1rem; }
@media (min-width: 52em) { .reperes { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.repere { display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.6rem; background: var(--blanc); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.section--blanc .repere { background: var(--papier); }
.repere__numero { font-family: var(--police-titre); font-size: 3.25rem; font-style: italic; font-weight: 350; line-height: 0.9; color: var(--orange); }
.repere h3 { margin: 1rem 0 0.6rem; font-size: 1.45rem; }
.repere p { color: var(--gris); font-size: 0.975rem; }
.repere .lien-fleche { margin-top: auto; padding-top: 1.1rem; }

/* --- Citation ------------------------------------------------------------------------------------ */
.citation { padding-block: clamp(4rem, 9vw, 7rem); text-align: center; }
.citation blockquote { margin: 0 auto; max-width: 20em; font-family: var(--police-titre); font-size: clamp(1.75rem, 4.6vw, 3.4rem); font-style: italic; font-weight: 360; line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }
.citation figcaption { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.citation__goutte { display: block; width: 2.4rem; height: 2.4rem; margin: 0 auto 1.75rem; background: var(--orange); border-radius: 50% 50% 50% 0; }

/* ==========================================================================================
   Bandeau des pages intérieures
   ========================================================================================== */
.bandeau { position: relative; padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 5.5rem); background: var(--parquet); overflow: hidden; isolation: isolate; }
.bandeau::before { content: ""; position: absolute; z-index: -1; right: -14rem; top: -9rem; width: 38rem; height: 38rem; border: 2px solid rgba(var(--orange-rvb), 0.35); border-radius: var(--goutte); display: none; }
.bandeau__grille { display: grid; gap: 2.5rem; align-items: center; }
.fil { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; font-size: 0.875rem; color: var(--gris); }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.bandeau .chapo { margin-top: 1.4rem; }
.bandeau__photo { position: relative; width: min(100% - 1.25rem, 27rem); }
.bandeau__photo .cadre-goutte { aspect-ratio: 1 / 1; }
.bandeau__photo::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 2px solid var(--orange); border-radius: var(--goutte); }
.bandeau__photo .cadre-goutte { position: relative; }
.bandeau--scene { background: var(--encre); color: var(--papier); }
.bandeau--scene::before { border-color: rgba(var(--papier-rvb), 0.14); }
.bandeau--scene .fil, .bandeau--scene .chapo, .bandeau--scene .surtitre { color: var(--gris-scene); }
.bandeau--scene h1 em { color: var(--orange-clair); }
.bandeau--jour .bandeau__photo::before { border-color: var(--anis-fonce); }
.bandeau--jour::before { border-color: rgba(85, 99, 15, 0.3); }
.bandeau--jour h1 em { color: var(--anis-fonce); }
.bandeau--sobre { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56em) {
  .bandeau::before { display: block; }
  .bandeau__grille { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; }
  .bandeau__photo { margin-inline: auto 1.1rem; }
}
.ancres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.9rem; }
.ancres a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.45rem 1.05rem; border: 1.5px solid currentColor; border-radius: 1.4rem 1.4rem 1.4rem 0; font-weight: 500; font-size: 0.95rem; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.ancres a:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.bandeau--scene .ancres a:hover { background: var(--papier); color: var(--encre); border-color: var(--papier); }

/* ==========================================================================================
   Pages Danse et Bien-être : une discipline par bloc
   ========================================================================================== */
.discipline { display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--trait); }
.discipline:first-of-type { border-top: 0; }
.discipline__images { position: relative; display: grid; gap: 0.9rem; grid-template-columns: 1fr 1fr; align-content: start; }
.discipline__images .cadre { aspect-ratio: 4 / 3; }
.discipline__images .cadre:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.discipline__images figcaption, .legende-photo { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--gris); }
.discipline h2 { margin-bottom: 1.4rem; }
.discipline .prose { color: var(--encre); }
@media (min-width: 60em) {
  .discipline { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .discipline--inverse .discipline__images { order: 2; }
  .discipline__images { position: sticky; top: calc(var(--h-entete) + 2rem); }
}

/* Les créneaux d'une discipline : jour, heure, public, tarif. */
.creneaux { margin-top: 2rem; border-top: 2px solid var(--encre); }
.creneau { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px solid var(--trait); }
.creneau__quand { font-weight: 600; font-variant-numeric: tabular-nums; }
.creneau__qui { grid-column: 1; font-size: 0.925rem; color: var(--gris); }
.creneau__prix { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--police-titre); font-size: 1.35rem; white-space: nowrap; }
.creneau__prix small { font-family: var(--police-texte); font-size: 0.75rem; color: var(--gris); }
.creneaux__note { margin-top: 0.85rem; font-size: 0.875rem; color: var(--gris); }
.avec { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.avec__personne { display: flex; align-items: center; gap: 0.75rem; }
.avec__photo { width: 3.5rem; height: 3.5rem; border-radius: 50% 50% 50% 0; overflow: hidden; flex: none; background: var(--parquet); }
.avec__photo img { width: 100%; height: 100%; object-fit: cover; }
.avec__photo .membre__initiale { font-size: 1.5rem; }
.avec__nom { font-family: var(--police-titre); font-size: 1.2rem; line-height: 1.1; }
.avec__role { display: block; font-family: var(--police-texte); font-size: 0.8125rem; color: var(--gris); }

/* Bien-être : des fiches, l'étiquette à gauche, le texte à droite. */
.fiches { display: grid; }
.fiche { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--trait); }
.fiche:first-child { border-top: 0; padding-top: 0; }
.fiche__etiquette { padding: 1.5rem 1.4rem; background: var(--anis-pale); border-radius: var(--coin) var(--coin) var(--coin) 0; align-self: start; }
.fiche__etiquette h2 { font-size: clamp(1.85rem, 3.4vw, 2.5rem); margin-bottom: 1.1rem; }
.fiche__infos { display: grid; gap: 0.55rem; font-size: 0.95rem; }
.fiche__infos div { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start; }
.fiche__infos .ico { margin-top: 0.22rem; color: var(--anis-fonce); }
.fiche__infos dt { grid-column: 1; }
.fiche__infos dd { grid-column: 2; }
.fiche__infos strong { font-weight: 600; }
.fiche__prix { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(85, 99, 15, 0.3); font-family: var(--police-titre); font-size: 1.5rem; line-height: 1.2; }
.fiche__prix small { display: block; font-family: var(--police-texte); font-size: 0.8125rem; color: var(--gris); }
.fiche__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.75rem; }
.fiche__photos .cadre { aspect-ratio: 4 / 3; }
@media (min-width: 56em) {
  .fiche { grid-template-columns: 22rem 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .fiche .prose { max-width: 44em; }
  .fiche__etiquette { position: sticky; top: calc(var(--h-entete) + 1.5rem); }
}

/* ==========================================================================================
   Planning et tarifs
   ========================================================================================== */
.tarifs { margin-top: 1rem; border-top: 2px solid var(--encre); }
.tarifs caption { padding: 0 0 1rem; text-align: left; font-family: var(--police-titre); font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic; font-weight: 380; }
.tarifs th, .tarifs td { padding: 0.85rem 0.75rem 0.85rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.tarifs thead th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); }
.tarifs tbody th { font-family: var(--police-titre); font-size: 1.2rem; font-weight: 430; line-height: 1.2; }
.tarifs tbody th small { display: block; font-family: var(--police-texte); font-size: 0.8125rem; color: var(--gris); }
.tarifs td { font-variant-numeric: tabular-nums; }
.tarifs .prix { font-family: var(--police-titre); font-size: 1.25rem; text-align: right; white-space: nowrap; padding-right: 0; }
.tarifs thead th:last-child { text-align: right; padding-right: 0; }
.tarifs .renvoi { color: var(--action); font-weight: 600; }
@media (min-width: 44em) {
  .tarifs { table-layout: fixed; }
  .tarifs th:nth-child(1) { width: 40%; }
  .tarifs th:nth-child(2) { width: 30%; }
  .tarifs th:nth-child(3) { width: 14%; }
}
/* Sur téléphone, chaque ligne du tableau devient une fiche. */
@media (max-width: 43.99em) {
  .tarifs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tarifs, .tarifs tbody, .tarifs tr, .tarifs th, .tarifs td { display: block; }
  .tarifs caption { display: block; }
  .tarifs tr { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--trait); }
  .tarifs th, .tarifs td { padding: 0; border: 0; }
  .tarifs tbody th { grid-column: 1 / -1; }
  .tarifs td[data-libelle="Durée"] { grid-column: 1; font-size: 0.9rem; color: var(--gris); }
  .tarifs td[data-libelle="Durée"]::before { content: "Durée : "; }
  .tarifs .prix { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
}
.adhesion { display: grid; gap: 1rem; align-items: center; margin-top: 2.5rem; padding: 1.5rem; background: var(--encre); color: var(--papier); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.adhesion .adhesion__prix { font-family: var(--police-titre); font-size: 3rem; font-style: italic; font-weight: 360; line-height: 1; color: var(--orange-clair); white-space: nowrap; }
.adhesion p { color: var(--gris-scene); }
.adhesion strong { color: var(--papier); font-weight: 600; }
@media (min-width: 44em) { .adhesion { grid-template-columns: auto 1fr; gap: 2rem; padding: 1.75rem 2.25rem; } }

.etapes { display: grid; gap: 1rem; counter-reset: etape; }
@media (min-width: 48em) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 74em) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape { counter-increment: etape; padding: 1.5rem 1.4rem; background: var(--blanc); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.etape::before { content: counter(etape); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border-radius: 50% 50% 50% 0; background: var(--orange); color: var(--blanc); font-family: var(--police-titre); font-size: 1.4rem; font-style: italic; }
.etape h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.etape p { font-size: 0.95rem; color: var(--gris); }
.documents { display: grid; gap: 0.6rem; margin-top: 1rem; }
@media (min-width: 44em) { .documents { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .documents { grid-template-columns: repeat(3, 1fr); } }
.document { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; border: 1.5px solid var(--trait); border-radius: 1.25rem 1.25rem 1.25rem 0; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.document:hover { border-color: var(--encre); background: var(--blanc); }
.document > .ico:first-child { width: 1.6rem; height: 1.6rem; color: var(--action); }
.document__nom { font-weight: 600; line-height: 1.25; }
.document__detail { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--gris); }
.document > .ico:last-child { margin-left: auto; color: var(--gris); }
.regles { display: grid; gap: 0 3rem; }
@media (min-width: 52em) { .regles { grid-template-columns: 1fr 1fr; } }
.regles li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--trait); }
.regles li::before { content: ""; width: 0.7rem; height: 0.7rem; margin-top: 0.5rem; background: var(--orange); border-radius: 50% 50% 50% 0; }
.regles strong { font-weight: 600; }

/* ==========================================================================================
   Agenda
   ========================================================================================== */
.affiche-gala { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56em) { .affiche-gala { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); } }
.affiche-gala__visuel { border-radius: var(--coin) var(--coin) var(--coin) 0; overflow: hidden; }
.affiche-gala h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); font-style: italic; font-weight: 360; }
.faits { display: grid; gap: 0.7rem; margin: 1.75rem 0; }
.faits li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; }
.faits .ico { margin-top: 0.22rem; color: var(--orange-clair); }
.editions { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
@media (min-width: 40em) { .editions { gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 16rem)); } }
.edition { display: grid; gap: 0.3rem; align-content: start; }
.scene .edition__annee, .scene .edition__detail { color: var(--gris-scene); }
.edition__affiche { aspect-ratio: 3 / 4; margin-bottom: 0.7rem; border-radius: 1.25rem 1.25rem 1.25rem 0; overflow: hidden; background: var(--parquet); }
.edition__affiche img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.edition__annee, .edition__titre, .edition__detail, .bureau__role, .bureau__nom, .lieu__role, .rdv__infos { margin-bottom: 0; }
.edition__annee { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--gris); }
.edition__titre { font-family: var(--police-titre); font-size: 1.5rem; font-style: italic; line-height: 1.1; }
.edition__detail { font-size: 0.9rem; color: var(--gris); }

.rdv-liste { display: grid; gap: 0.75rem; }
.rdv { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; align-items: start; padding: 1.25rem; background: var(--blanc); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.section--blanc .rdv { background: var(--papier); }
.rdv__date { display: grid; place-items: center; align-content: center; width: 4.5rem; height: 4.5rem; border-radius: 50% 50% 50% 0; background: var(--encre); color: var(--papier); line-height: 1; }
.rdv__jour { font-family: var(--police-titre); font-size: 1.7rem; }
.rdv__mois { margin-top: 0.15rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.rdv--vacances .rdv__date { background: var(--anis-pale); color: var(--anis-fonce); }
.rdv--passe .rdv__date { background: var(--parquet); color: var(--gris); }
.rdv--exemple .rdv__date { background: var(--orange); }
.rdv__type { display: inline-block; margin-bottom: 0.3rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--action); }
.rdv--vacances .rdv__type { color: var(--anis-fonce); }
.rdv--passe .rdv__type { color: var(--gris); }
.rdv h3 { font-size: 1.4rem; line-height: 1.15; }
.rdv__infos { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 0.5rem; font-size: 0.9rem; color: var(--gris); }
.rdv__infos span { display: inline-flex; align-items: center; gap: 0.4rem; }
.rdv__texte { margin-top: 0.75rem; font-size: 0.95rem; color: var(--gris); max-width: 46em; }
.rdv__action { grid-column: 1 / -1; }
@media (min-width: 52em) { .rdv { grid-template-columns: auto 1fr auto; padding: 1.5rem 1.75rem; } .rdv__action { grid-column: auto; align-self: center; } }

/* ==========================================================================================
   L'association
   ========================================================================================== */
.histoire { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 58em) { .histoire { grid-template-columns: 1fr 1fr; } }
.points { margin-top: 2.5rem; border-top: 2px solid var(--encre); }
.points div { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.95rem 0; border-bottom: 1px solid var(--trait); }
.points div::before { content: ""; order: 1; flex: 1; min-width: 1rem; border-bottom: 2px dotted rgba(var(--encre-rvb), 0.28); transform: translateY(-0.3em); }
.points dt { order: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); }
.points dd { order: 2; font-family: var(--police-titre); font-size: 1.3rem; line-height: 1.2; text-align: right; }
@media (max-width: 33.99em) {       /* sur téléphone : le libellé au-dessus, la valeur dessous */
  .points div { display: grid; gap: 0.2rem; }
  .points div::before { display: none; }
  .points dd { text-align: left; }
}
.mosaique { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.mosaique figure { grid-column: span 3; }
.mosaique figure:first-child { grid-column: 1 / -1; }
.mosaique .cadre { aspect-ratio: 4 / 3; }
.mosaique figure:first-child .cadre { aspect-ratio: 16 / 10; }
.mosaique figcaption { margin-top: 0.45rem; font-size: 0.8125rem; line-height: 1.35; color: var(--gris); }
.bureau { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.bureau li { padding: 1.25rem 1.4rem; background: var(--blanc); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.bureau__role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action); }
.bureau__nom { margin-top: 0.3rem; font-family: var(--police-titre); font-size: 1.6rem; line-height: 1.1; }
.salle { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 58em) { .salle { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); } }
.salle .cadre { aspect-ratio: 16 / 10; }
.partenaires { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.partenaires li { padding: 0.6rem 1.1rem; border: 1.5px solid var(--trait); border-radius: 1.4rem 1.4rem 1.4rem 0; font-weight: 500; }

/* ==========================================================================================
   Costumes : le catalogue et sa visionneuse
   ========================================================================================== */
.catalogue { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
@media (min-width: 44em) { .catalogue { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
@media (min-width: 68em) { .catalogue { grid-template-columns: repeat(4, 1fr); } }
.costume[hidden] { display: none; }
.costume a { display: block; text-decoration: none; }
.costume__image { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 0.6rem; background: var(--blanc); border-radius: 1.25rem 1.25rem 1.25rem 0; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.costume__image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 0.5rem; }
.costume a:hover .costume__image, .costume a:focus-visible .costume__image { box-shadow: var(--ombre); transform: translateY(-3px); }
.costume__nom { display: block; margin-top: 0.6rem; font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.costume__famille { display: block; font-size: 0.8125rem; color: var(--gris); }
.catalogue__compte { margin-bottom: 1.25rem; font-size: 0.925rem; color: var(--gris); }

.visionneuse { width: min(100vw - 2rem, 68rem); max-width: none; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--coin) var(--coin) var(--coin) 0; background: var(--encre); color: var(--papier); overflow: hidden; }
.visionneuse::backdrop { background: rgba(var(--encre-rvb), 0.82); }
.visionneuse__cadre { display: grid; grid-template-rows: 1fr auto; max-height: inherit; }
.visionneuse__image { display: grid; place-items: center; min-height: 12rem; padding: 3.75rem 1rem 0.5rem; }
.visionneuse__image img { max-width: 100%; max-height: calc(100vh - 12rem); max-height: calc(100dvh - 12rem); width: auto; height: auto; border-radius: 0.5rem; }
.visionneuse__pied { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.25rem 1.1rem; }
.visionneuse__titre { font-family: var(--police-titre); font-size: 1.3rem; line-height: 1.2; }
.visionneuse__rang { display: block; font-family: var(--police-texte); font-size: 0.8125rem; color: var(--gris-scene); }
.visionneuse__commandes { display: flex; gap: 0.5rem; }
.visionneuse__fermer { position: absolute; top: 0.75rem; right: 0.75rem; }

/* ==========================================================================================
   Contact
   ========================================================================================== */
.coordonnees { display: grid; gap: 1rem; }
@media (min-width: 44em) { .coordonnees { grid-template-columns: repeat(3, 1fr); } }
.lieu { display: flex; flex-direction: column; padding: 1.5rem 1.4rem; background: var(--blanc); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.lieu__role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action); }
.lieu h3 { margin: 0.4rem 0 0.6rem; font-size: 1.45rem; line-height: 1.15; }
.lieu address { font-style: normal; color: var(--gris); }
.lieu p { font-size: 0.95rem; color: var(--gris); }
.lieu .lien-fleche { margin-top: auto; padding-top: 1.1rem; }
.contact { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 58em) { .contact { grid-template-columns: 0.85fr 1.15fr; } }
.joindre { display: grid; gap: 0.25rem; margin-top: 1.75rem; }
.joindre a { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: center; padding: 0.85rem 0; border-bottom: 1px solid var(--trait); text-decoration: none; }
.joindre__ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50% 50% 50% 0; background: var(--encre); color: var(--papier); transition: background-color 0.2s; }
.joindre a:hover .joindre__ico { background: var(--action); }
.joindre__libelle { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.joindre__valeur { font-family: var(--police-titre); font-size: 1.35rem; line-height: 1.2; overflow-wrap: anywhere; }
.formulaire { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--blanc); border-radius: var(--coin) var(--coin) var(--coin) 0; }
.champ { display: grid; gap: 0.4rem; }
.champ label { font-size: 0.875rem; font-weight: 600; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1.5px solid rgba(var(--encre-rvb), 0.3); border-radius: 0.9rem 0.9rem 0.9rem 0; background: var(--papier); font: inherit; color: inherit; }
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.formulaire__duo { display: grid; gap: 1.1rem; }
@media (min-width: 36em) { .formulaire__duo { grid-template-columns: 1fr 1fr; } }
.formulaire__retour { display: none; padding: 0.9rem 1rem; border-radius: 1rem 1rem 1rem 0; background: var(--anis-pale); color: var(--encre); font-size: 0.95rem; }
.formulaire__retour.est-visible { display: block; }

/* --- Compléments des pages intérieures --------------------------------------------------------- */
.bandeau__boutons { margin-top: 2rem; }
.tarifs--suite { margin-top: clamp(3rem, 6vw, 4.5rem); }
.tarifs__renvoi { margin-top: 1.25rem; }
.inscription__boutons { margin-top: 2rem; }
.section__tete--suite { margin-top: clamp(3rem, 7vw, 5rem); margin-bottom: 1.25rem; }
.editions__titre { margin-top: clamp(3.5rem, 8vw, 6rem); margin-bottom: 1.75rem; }
.rdv-titre { margin-bottom: 1rem; font-family: var(--police-texte); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gris); }
.rdv-titre--suite { margin-top: 3.5rem; }
.histoire__texte { margin-top: 1.75rem; font-size: 1.1rem; }
.salle__source { margin-top: 0.75rem; font-size: 0.875rem; color: var(--gris); }
.agrement { margin-top: 1.75rem; font-size: 0.925rem; color: var(--gris); }
.joindre--serre { margin-top: 0; align-self: center; }
.legal h2 { margin: 2.5rem 0 0.75rem; }
.legal h2:first-of-type { margin-top: 0.5rem; }

/* ==========================================================================================
   Appel de bas de page et pied
   ========================================================================================== */
.appel { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--orange); color: #141413; }      /* un noir un peu plus franc : 4,8 de contraste sur l'orange */
.appel::before { content: ""; position: absolute; z-index: -1; left: -8rem; bottom: -16rem; width: 34rem; height: 34rem; border: 2px solid rgba(var(--encre-rvb), 0.22); border-radius: var(--goutte); }
.appel__grille { display: grid; gap: 1.75rem; align-items: center; }
.appel h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.appel h2 em { color: var(--blanc); }
.appel p { max-width: 34em; margin-top: 1rem; font-size: 1.1rem; }
.appel .bouton--plein { background: var(--encre); color: var(--papier); }
.appel .bouton--plein:hover { background: #000; }
.appel .bouton--trait:hover { background: var(--encre); color: var(--papier); }
@media (min-width: 56em) { .appel__grille { grid-template-columns: 1fr auto; gap: 3rem; } }

.pied { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; background: var(--encre); color: var(--gris-scene); font-size: 0.95rem; }
.pied::before { content: ""; position: absolute; z-index: -1; right: -12rem; top: -10rem; width: 40rem; height: 40rem; border: 2px solid rgba(var(--papier-rvb), 0.07); border-radius: var(--goutte); }
.pied a { color: var(--papier); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__grille { display: grid; gap: 2.5rem; }
@media (min-width: 44em) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68em) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; } }
.pied__logo img { width: 13rem; }
.pied__devise { margin-top: 1.25rem; max-width: 22rem; }
.pied h2 { margin-bottom: 1rem; font-family: var(--police-texte); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris-scene); }
.pied__liste { display: grid; gap: 0.45rem; }
.pied address { font-style: normal; line-height: 1.55; }
.pied address strong { display: block; color: var(--papier); font-weight: 600; }
.pied address + address { margin-top: 1rem; }
.pied__reseaux { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.pied__reseaux a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--trait-scene); border-radius: 50% 50% 50% 0; transition: background-color 0.2s, color 0.2s; }
.pied__reseaux a:hover { background: var(--papier); color: var(--encre); text-decoration: none; }
.pied__bas { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--trait-scene); font-size: 0.8125rem; }
.pied__maquette { max-width: 44rem; }

/* ==========================================================================================
   Apparitions au défilement : seulement si le script tourne, jamais si l'on a demandé moins
   d'animations.
   ========================================================================================== */
.js .apparait { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .apparait.est-vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* « none », et non une durée de 0,01 ms : celle-ci crée quand même une transition sur chaque
     propriété, et une capture prise pendant un changement de taille d'écran fige alors le menu
     sur ses valeurs de téléphone (vu sur les captures pleine page du 2026-10-05). */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
  .porte:hover .porte__image { transform: none; }
}
@media print {
  .entete, .pied, .appel, .filtres, .ruban__commandes { display: none; }
}
