/* ==========================================================================
   Minndiarabi : feuille de style de la maquette
   --------------------------------------------------------------------------
   1. Polices            5. Composants          9. Pages intérieures
   2. Jetons             6. En-tête            10. Visionneuse
   3. Base               7. Pied de page       11. Mouvement
   4. Mise en page       8. Accueil
   Écrite du mobile vers l'écran large : chaque bloc commence par le téléphone.
   ========================================================================== */

/* 1. Polices ============================================================== */
/* Deux familles libres (SIL OFL), servies par le site lui-même : aucune requête vers un tiers. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-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: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-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: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-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;
}

/* 2. Jetons =============================================================== */

:root {
  /* Indigo : la teinture, et le bleu du site d'origine en plus profond */
  --indigo-950: #0e1230;
  --indigo-900: #151a45;
  --indigo-800: #1f2663;
  --indigo-700: #2b3486;
  --indigo-400: #7c87db;
  --indigo-200: #c9cef2;
  --indigo-100: #e6e8fa;
  /* Terre : la latérite, le bois des fûts */
  --terre-800: #7c2e13;
  --terre-700: #9a3c1b;
  --terre-600: #b84a24;
  --terre-500: #d2622f;
  --terre-300: #eda27b;
  --terre-100: #fae3d5;
  /* Ocre : la banderole de l'association */
  --ocre-700: #8a5d08;
  --ocre-500: #e8a82c;
  --ocre-400: #f0bc55;
  --ocre-200: #f8dea0;
  --ocre-100: #fdf2d6;
  /* Crème : le coton écru du bogolan */
  --creme-50: #fdfaf4;
  --creme-100: #f7f0e2;
  --creme-200: #eee3ce;
  --creme-300: #dfd0b4;
  --encre: #1d1a16;
  --encre-doux: #4a443b;
  --encre-pale: #736b5e;

  --titres: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --texte: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --conteneur: 1200px;
  --gouttiere: clamp(20px, 5vw, 48px);
  --rayon: 20px;
  --rayon-petit: 12px;
  --ombre: 0 22px 44px -22px rgba(14, 18, 48, 0.38);
  --ombre-douce: 0 1px 0 rgba(29, 26, 22, 0.05), 0 14px 30px -20px rgba(14, 18, 48, 0.3);
  --entete: 76px;
  --duree-diapo: 7s;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Motifs. Les couleurs sont écrites en dur : une image en data: ne lit pas les variables. */
  --motif-bogolan-nuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Crect width='160' height='40' fill='%230e1230'/%3E%3Cg fill='none' stroke='%23f7f0e2' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M0 5h160M0 35h160'/%3E%3Cpath d='M4 28l8-16 8 16 8-16 8 16 8-16 8 16'/%3E%3Cpath d='M80 10l10 10-10 10-10-10z'/%3E%3Cpath d='M108 12v16M118 12v16M128 12v16'/%3E%3Cpath d='M142 13l12 14M154 13l-12 14'/%3E%3C/g%3E%3Ccircle cx='80' cy='20' r='2.6' fill='%23e8a82c'/%3E%3C/svg%3E");
  --motif-bogolan-terre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Crect width='160' height='40' fill='%23b84a24'/%3E%3Cg fill='none' stroke='%23f7f0e2' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M0 5h160M0 35h160'/%3E%3Cpath d='M4 28l8-16 8 16 8-16 8 16 8-16 8 16'/%3E%3Cpath d='M80 10l10 10-10 10-10-10z'/%3E%3Cpath d='M108 12v16M118 12v16M128 12v16'/%3E%3Cpath d='M142 13l12 14M154 13l-12 14'/%3E%3C/g%3E%3Ccircle cx='80' cy='20' r='2.6' fill='%230e1230'/%3E%3C/svg%3E");
  --motif-bogolan-sable: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Crect width='160' height='40' fill='%23eee3ce'/%3E%3Cg fill='none' stroke='%23151a45' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M0 5h160M0 35h160'/%3E%3Cpath d='M4 28l8-16 8 16 8-16 8 16 8-16 8 16'/%3E%3Cpath d='M80 10l10 10-10 10-10-10z'/%3E%3Cpath d='M108 12v16M118 12v16M128 12v16'/%3E%3Cpath d='M142 13l12 14M154 13l-12 14'/%3E%3C/g%3E%3Ccircle cx='80' cy='20' r='2.6' fill='%23b84a24'/%3E%3C/svg%3E");
  --motif-traits-clairs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg stroke='%23fff' stroke-opacity='.07' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M10 6v10M40 2v10M26 30v10M56 34v10M8 46v10M42 54v8'/%3E%3C/g%3E%3C/svg%3E");
  --motif-traits-sombres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg stroke='%231d1a16' stroke-opacity='.055' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M10 6v10M40 2v10M26 30v10M56 34v10M8 46v10M42 54v8'/%3E%3C/g%3E%3C/svg%3E");
  --motif-zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 8l7-6 7 6 7-6 7 6' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
}

@media (min-width: 1100px) {
  :root { --entete: 104px; }
}

/* 3. Base ================================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 20px);
}
html.menu-ouvert { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--creme-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--ocre-500);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--ocre-200); color: var(--encre); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.evitement {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ocre-500);
  color: var(--indigo-950);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.evitement:focus { top: 16px; }

/* 4. Mise en page ========================================================= */

.conteneur {
  width: 100%;
  max-width: calc(var(--conteneur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.conteneur--etroit { max-width: calc(820px + 2 * var(--gouttiere)); }

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 124px);
}
.section--serree { padding-block: clamp(48px, 6vw, 80px); }
.section--sable { background: var(--creme-200); }
.section--blanche { background: var(--creme-50); }
.section--nuit {
  background: var(--indigo-950) var(--motif-traits-clairs);
  color: var(--creme-100);
}
.section--terre {
  background: var(--terre-600) var(--motif-traits-clairs);
  color: #fff;
}
.section--ocre {
  background: var(--ocre-500) var(--motif-traits-sombres);
  color: var(--indigo-950);
}

.tete-section {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.tete-section--centre { text-align: center; justify-items: center; }
@media (min-width: 860px) {
  .tete-section--ligne {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 40px;
  }
  .tete-section--ligne > :last-child { grid-row: 1 / span 3; grid-column: 2; align-self: end; }
}

.deux-colonnes { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .deux-colonnes { grid-template-columns: 1fr 1fr; }
  .deux-colonnes--large-gauche { grid-template-columns: 1.15fr 0.85fr; }
  .deux-colonnes--large-droite { grid-template-columns: 0.85fr 1.15fr; }
  .deux-colonnes--haut { align-items: start; }
}

.pile { display: grid; gap: 18px; align-content: start; justify-items: start; }
.pile--large { gap: 28px; }
.pile--pleine { justify-items: stretch; }
.rangee { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dessus { position: relative; z-index: 1; }       /* passe devant un décor posé en absolu */

/* 5. Composants =========================================================== */

/* Titres ------------------------------------------------------------------ */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terre-600);
}
.surtitre::before {
  content: "";
  flex: none;
  width: 28px;
  height: 10px;
  background: currentColor;
  -webkit-mask: var(--motif-zigzag) left center / 28px 10px no-repeat;
  mask: var(--motif-zigzag) left center / 28px 10px no-repeat;
}
.section--nuit .surtitre,
.page-tete .surtitre,
.pied .surtitre { color: var(--ocre-400); }
.section--terre .surtitre { color: var(--ocre-200); }
.section--ocre .surtitre { color: var(--terre-800); }

.titre {
  font-family: var(--titres);
  font-weight: 800;
  font-stretch: 85%;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.titre em { font-style: normal; color: var(--terre-600); }
.section--nuit .titre em { color: var(--ocre-400); }
.section--terre .titre em { color: var(--ocre-200); }

.sous-titre {
  font-family: var(--titres);
  font-weight: 750;
  font-stretch: 90%;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.chapo {
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: var(--encre-doux);
  max-width: 62ch;
}
.section--nuit .chapo { color: var(--indigo-200); }
.section--terre .chapo { color: var(--terre-100); }
.section--ocre .chapo { color: var(--indigo-900); }

.prose { display: grid; gap: 1em; max-width: 68ch; }
.prose a { color: var(--terre-700); font-weight: 600; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 0.4em; }

/* Icônes ------------------------------------------------------------------ */
/* Un masque coloré par la couleur du texte : une seule définition, aucune balise SVG répétée. */
.ico {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ico--chevron { --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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.ico--precedent { --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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.ico--suivant { --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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.7-6.5-11a6.5 6.5 0 0 1 13 0c0 5.300-6.500 11-6.500 11z'/%3E%3Ccircle cx='12' cy='10' r='2.500'/%3E%3C/svg%3E"); }
.ico--horloge { --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%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ico--calendrier { --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%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.500 1.500a11 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--mail { --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%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ico--lecture { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.500v13l11-6.500z'/%3E%3C/svg%3E"); }
.ico--pause { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5h4v14H7zM13 5h4v14h-4z'/%3E%3C/svg%3E"); }
.ico--fermer { --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.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.ico--externe { --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='M14 5h5v5M19 5l-8 8M11 7H6a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-5'/%3E%3C/svg%3E"); }
.ico--coche { --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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7'/%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='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); }
.ico--telecharger { --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='M12 4v11M7 11l5 5 5-5M5 20h14'/%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='M14 8.500V7c0-.8.200-1.200 1.300-1.200H17V2.500h-2.700C11.300 2.500 10 4.200 10 6.800v1.700H7.500V12H10v9.500h4V12h2.700l.3-3.500z'/%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='2'%3E%3Crect x='3.500' y='3.500' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.200' cy='6.800' r='.9' fill='%23000' stroke='none'/%3E%3C/svg%3E"); }
.ico--youtube { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6.500 5h11A3.500 3.500 0 0 1 21 8.500v7a3.500 3.500 0 0 1-3.500 3.500h-11A3.500 3.500 0 0 1 3 15.500v-7A3.500 3.500 0 0 1 6.500 5zM10 9v6l5-3z'/%3E%3C/svg%3E"); }
.ico--groupe { --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='M16 20v-1.500a3.500 3.500 0 0 0-3.500-3.500h-5A3.500 3.500 0 0 0 4 18.500V20'/%3E%3Ccircle cx='10' cy='8' r='3.500'/%3E%3Cpath d='M20 20v-1.500a3.500 3.500 0 0 0-2.500-3.300M15 4.700a3.500 3.500 0 0 1 0 6.600'/%3E%3C/svg%3E"); }
.ico--tambour { --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%3Cellipse cx='12' cy='5.500' rx='6.500' ry='2.500'/%3E%3Cpath d='M5.500 5.500c0 4.500 3 6.500 4.500 8.500v2.500l-2 4.500h8l-2-4.500V14c1.500-2 4.500-4 4.500-8.500'/%3E%3C/svg%3E"); }
.ico--livre { --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 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2zM4 21a2 2 0 0 0 2 2h13'/%3E%3C/svg%3E"); }
.ico--mallette { --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%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E"); }
.ico--tente { --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='M3 20L12 4l9 16zM9 20l3-6 3 6'/%3E%3C/svg%3E"); }
.ico--portevoix { --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 10v4l10 5V5zM17 9a4 4 0 0 1 0 6M6 14.500V19h3v-3'/%3E%3C/svg%3E"); }
.ico--etoile { --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='M12 3l2.700 5.600 6.100.9-4.400 4.300 1 6.100L12 17l-5.400 2.900 1-6.100L3.200 9.500l6.100-.9z'/%3E%3C/svg%3E"); }

/* Boutons ----------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--courbe), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: none; }
.bouton .ico { transition: transform 0.2s var(--courbe); }
.bouton:hover .ico--fleche { transform: translateX(4px); }

.bouton--terre { background: var(--terre-600); color: #fff; box-shadow: 0 12px 24px -14px var(--terre-700); }
.bouton--terre:hover { background: var(--terre-700); }
.bouton--ocre { background: var(--ocre-500); color: var(--indigo-950); }
.bouton--ocre:hover { background: var(--ocre-400); }
.bouton--nuit { background: var(--indigo-900); color: #fff; }
.bouton--nuit:hover { background: var(--indigo-800); }
.bouton--contour { border-color: currentColor; }
.bouton--contour:hover { background: var(--encre); border-color: var(--encre); color: var(--creme-50); }
.section--nuit .bouton--contour:hover,
.section--terre .bouton--contour:hover,
.pied .bouton--contour:hover { background: #fff; border-color: #fff; color: var(--indigo-950); }
.bouton--clair {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bouton--clair:hover { background: #fff; color: var(--indigo-950); }
.bouton--petit { min-height: 44px; padding: 0.5em 1.15em; font-size: 0.9375rem; }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
  color: var(--terre-700);
  font-weight: 700;
  text-decoration: none;
}
.lien-fleche .ico { transition: transform 0.2s var(--courbe); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.section--nuit .lien-fleche,
.section--terre .lien-fleche { color: var(--ocre-400); }
.section--ocre .lien-fleche { color: var(--indigo-900); }

/* Puces (étiquettes courtes) ---------------------------------------------- */
.puce {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32em 0.85em;
  border-radius: 999px;
  background: var(--creme-200);
  color: var(--encre);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.puce--danse { background: var(--terre-100); color: var(--terre-800); }
.puce--percussions { background: var(--indigo-100); color: var(--indigo-800); }
.puce--stage { background: var(--ocre-100); color: var(--ocre-700); }
.puce--fete { background: var(--encre); color: var(--creme-100); }
.puce--pleine { background: var(--ocre-500); color: var(--indigo-950); }
.section--nuit .puce--danse { background: var(--terre-500); color: #fff; }
.section--nuit .puce--percussions { background: var(--indigo-700); color: #fff; }
.section--nuit .puce--stage { background: var(--ocre-500); color: var(--indigo-950); }
.section--nuit .puce--fete { background: var(--creme-100); color: var(--indigo-950); }

/* Bande bogolan : la lisière entre deux sections --------------------------- */
.bande-bogolan {
  height: 40px;
  background: var(--motif-bogolan-nuit) center / 160px 40px repeat-x;
}
.bande-bogolan--terre { background-image: var(--motif-bogolan-terre); }
.bande-bogolan--sable { background-image: var(--motif-bogolan-sable); }

/* Anneaux : la peau, le cerclage et le cordage d'un tambour vu du dessus --- */
.anneaux {
  position: absolute;
  width: clamp(280px, 42vw, 560px);
  aspect-ratio: 1;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.16);
  z-index: 0;
}
.anneaux circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.anneaux .anneaux__corde { stroke-width: 9; stroke-dasharray: 2 13; }
.anneaux .anneaux__points { stroke-width: 3; stroke-dasharray: 0.1 14; stroke-linecap: round; }
.anneaux--sombres { color: rgba(29, 26, 22, 0.13); }
.anneaux--ocre { color: var(--ocre-500); opacity: 0.55; }

/* Cartes ------------------------------------------------------------------ */
.cartes { display: grid; gap: 24px; }
@media (min-width: 720px) {
  .cartes--2, .cartes--3, .cartes--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cartes--3 { grid-template-columns: repeat(3, 1fr); }
  .cartes--4 { grid-template-columns: repeat(4, 1fr); }
}

.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rayon);
  background: var(--creme-50);
  box-shadow: var(--ombre-douce);
  overflow: hidden;
  transition: transform 0.35s var(--courbe), box-shadow 0.35s var(--courbe);
}
.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.carte__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--creme-300); }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--courbe); }
.carte:hover .carte__image img { transform: scale(1.06); }
.carte__image .puce { position: absolute; left: 16px; top: 16px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); }
.carte__corps { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
.carte__titre { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.01em; }
.carte__titre a { text-decoration: none; }
.carte__titre a::after { content: ""; position: absolute; inset: 0; }
.carte__pied { margin-top: auto; padding-top: 6px; }

.ligne-info { display: flex; gap: 0.55em; align-items: flex-start; color: var(--encre-doux); font-size: 0.9688rem; line-height: 1.45; }
.ligne-info .ico { margin-top: 0.12em; color: var(--terre-600); }
.section--nuit .ligne-info { color: var(--indigo-200); }
.section--nuit .ligne-info .ico { color: var(--ocre-400); }

.horaires { display: grid; }
.horaires li {
  display: grid;
  grid-template-columns: 5.2em 1fr;
  gap: 2px 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--creme-300);
  font-size: 0.9688rem;
  line-height: 1.35;
}
.horaires__jour { font-family: var(--titres); font-weight: 750; font-stretch: 90%; }
.horaires__detail { color: var(--encre-doux); }
.horaires__detail b { color: var(--encre); }

/* Rendez-vous (agenda) ---------------------------------------------------- */
.rdv-liste { display: grid; }
.rdv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--creme-300);
}
.rdv:last-child { border-bottom: 1px solid var(--creme-300); }
.section--nuit .rdv, .section--nuit .rdv:last-child { border-color: rgba(255, 255, 255, 0.16); }
.rdv__date {
  display: grid;
  place-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--ocre-500);
  color: var(--indigo-950);
  font-family: var(--titres);
  text-align: center;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(232, 168, 44, 0.22);
}
.rdv__jour { font-size: 1.85rem; font-weight: 800; font-stretch: 85%; }
.rdv__mois { margin-top: 3px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rdv__corps { display: grid; gap: 6px; min-width: 0; }
.rdv__titre { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.3rem; line-height: 1.15; }
.rdv__infos { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9375rem; color: var(--encre-doux); }
.section--nuit .rdv__infos { color: var(--indigo-200); }
.rdv__action { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .rdv { grid-template-columns: auto 1fr auto; gap: 24px; }
  .rdv__action { grid-column: auto; }
}
.rdv[hidden] { display: none; }

/* Repères chiffrés -------------------------------------------------------- */
.reperes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 860px) { .reperes { grid-template-columns: repeat(4, 1fr); } }
.repere { display: grid; gap: 6px; align-content: start; padding-left: 18px; border-left: 3px solid var(--terre-500); }
.repere__valeur {
  font-family: var(--titres);
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--indigo-900);
  font-variant-numeric: tabular-nums;
}
.repere__valeur sup { font-size: 0.46em; line-height: 0; vertical-align: baseline; position: relative; top: -0.82em; margin-left: 0.04em; letter-spacing: 0; }
.repere__legende { color: var(--encre-doux); font-size: 0.9688rem; line-height: 1.4; }
.section--nuit .repere__valeur, .section--terre .repere__valeur { color: #fff; }
.section--nuit .repere, .section--terre .repere { border-color: var(--ocre-400); }
.section--nuit .repere__legende { color: var(--indigo-200); }
.section--terre .repere__legende { color: var(--terre-100); }

/* Portraits --------------------------------------------------------------- */
.portrait {
  position: relative;
  flex: none;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  isolation: isolate;
}
.portrait::before {                       /* le cordage */
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px dashed var(--terre-500);
  border-radius: 50%;
  transition: transform 0.9s var(--courbe);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1) contrast(1.08); }
.portrait::after {                        /* voile ocre : unifie des photos de sources différentes */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ocre-400);
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.portrait--grand { width: 190px; height: 190px; }
.portrait--initiales {
  display: grid;
  place-items: center;
  background: var(--indigo-900) var(--motif-traits-clairs);
  color: var(--ocre-400);
  font-family: var(--titres);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 2.6rem;
}
.portrait--initiales::after { display: none; }
.portrait--grand.portrait--initiales { font-size: 3.6rem; }
a:hover > .portrait::before,
.intervenant:hover .portrait::before { transform: rotate(40deg); }

.intervenant { display: grid; gap: 18px; align-content: start; justify-items: center; text-align: center; padding: 34px 20px 26px; border-radius: var(--rayon); background: var(--creme-50); box-shadow: var(--ombre-douce); position: relative; transition: transform 0.35s var(--courbe), box-shadow 0.35s var(--courbe); }
.intervenant:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.intervenant__nom { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.3rem; line-height: 1.1; }
.intervenant__nom a { text-decoration: none; }
.intervenant__nom a::after { content: ""; position: absolute; inset: 0; }
.intervenant__role { color: var(--encre-doux); font-size: 0.9375rem; line-height: 1.4; }

/* Vidéos ------------------------------------------------------------------ */
.video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--rayon);
  background: var(--indigo-800);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--courbe); }
.video:hover img { transform: scale(1.05); }
.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 48, 0) 35%, rgba(14, 18, 48, 0.88) 100%);
}
.video__lecture {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--ocre-500);
  color: var(--indigo-950);
  box-shadow: 0 0 0 8px rgba(232, 168, 44, 0.28);
  transition: transform 0.25s var(--courbe);
}
.video__lecture .ico { width: 28px; height: 28px; margin-left: 3px; }
.video:hover .video__lecture { transform: scale(1.1); }
.video__titre { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; font-weight: 700; line-height: 1.25; }
.video__titre small { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--indigo-200); }
.video--petite .video__lecture { width: 48px; height: 48px; margin: -24px 0 0 -24px; box-shadow: 0 0 0 5px rgba(232, 168, 44, 0.28); }
.video--petite .video__lecture .ico { width: 20px; height: 20px; }
.video--petite .video__titre { left: 14px; right: 14px; bottom: 12px; font-size: 0.9375rem; }

.videos { display: grid; gap: 16px; }
.videos__petites { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 900px) {
  .videos { grid-template-columns: 2.06fr 1fr; align-items: stretch; }
  .videos__petites { grid-template-columns: 1fr; align-content: space-between; }
}

/* Mosaïque de photos ------------------------------------------------------ */
/* Six photos : en damier sur téléphone, en composition sur grand écran
   (une grande, une haute, une large, trois petites). */
.mosaique { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mosaique a { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--indigo-800); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--courbe), filter 0.3s; }
.mosaique a:hover img { transform: scale(1.06); filter: brightness(1.08); }
@media (min-width: 820px) {
  .mosaique { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, clamp(150px, 17vw, 215px)); gap: 14px; }
  .mosaique a { aspect-ratio: auto; }
  .mosaique a:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
  .mosaique a:nth-child(2) { grid-area: 1 / 3 / 2 / 4; }
  .mosaique a:nth-child(3) { grid-area: 1 / 4 / 3 / 5; }
  .mosaique a:nth-child(4) { grid-area: 2 / 3 / 3 / 4; }
  .mosaique a:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
  .mosaique a:nth-child(6) { grid-area: 3 / 2 / 4 / 5; }
}

/* Tableau des tarifs ------------------------------------------------------ */
.tarifs { width: 100%; border-collapse: collapse; border-radius: var(--rayon); overflow: hidden; background: var(--creme-50); box-shadow: var(--ombre-douce); }
.tarifs caption { text-align: left; padding-bottom: 14px; color: var(--encre-doux); font-size: 0.9375rem; }
.tarifs th, .tarifs td { padding: 16px 18px; text-align: left; vertical-align: middle; }
.tarifs thead th { background: var(--indigo-900); color: #fff; font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.tarifs thead th small { display: block; max-width: 26ch; font-weight: 500; color: var(--indigo-200); }
.tarifs tbody tr + tr { border-top: 1px solid var(--creme-200); }
.tarifs tbody th { font-weight: 700; line-height: 1.3; }
.tarifs tbody th small { display: block; font-weight: 500; color: var(--encre-doux); }
.tarifs .prix { font-family: var(--titres); font-weight: 800; font-stretch: 85%; font-size: 1.5rem; white-space: nowrap; }
@media (max-width: 719px) {             /* sur téléphone : une fiche par atelier */
  .tarifs, .tarifs tbody, .tarifs tr, .tarifs th, .tarifs td { display: block; }
  .tarifs { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .tarifs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tarifs tbody tr { margin-bottom: 16px; border-radius: var(--rayon); background: var(--creme-50); box-shadow: var(--ombre-douce); overflow: hidden; }
  .tarifs tbody tr + tr { border-top: 0; }
  .tarifs tbody th { padding: 16px 18px; background: var(--indigo-900); color: #fff; }
  .tarifs tbody th small { color: var(--indigo-200); }
  .tarifs td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; }
  .tarifs td + td { border-top: 1px solid var(--creme-200); }
  .tarifs td::before { content: attr(data-libelle); color: var(--encre-doux); font-size: 0.9375rem; }
}

/* Accordéon --------------------------------------------------------------- */
.accordeon { border-top: 1px solid var(--creme-300); }
.accordeon:last-of-type { border-bottom: 1px solid var(--creme-300); }
.accordeon summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--titres);
  font-weight: 700;
  font-stretch: 90%;
  font-size: 1.2rem;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary .ico { color: var(--terre-600); transition: transform 0.25s var(--courbe); }
.accordeon[open] summary .ico { transform: rotate(180deg); }
.accordeon__corps { padding: 0 0 22px; color: var(--encre-doux); max-width: 70ch; display: grid; gap: 0.8em; }

/* Encadrés ---------------------------------------------------------------- */
.encadre { padding: clamp(22px, 3vw, 34px); border-radius: var(--rayon); background: var(--creme-50); box-shadow: var(--ombre-douce); }
.encadre--nuit { background: var(--indigo-900) var(--motif-traits-clairs); color: #fff; box-shadow: none; }
.encadre--nuit p { color: var(--indigo-200); }
.encadre--ocre { background: var(--ocre-100); box-shadow: none; }
.encadre--terre { background: var(--terre-100); box-shadow: none; }

.note-maquette {
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
  padding: 10px 14px;
  border: 1px dashed var(--terre-300);
  border-radius: var(--rayon-petit);
  background: var(--terre-100);
  color: var(--terre-800);
  font-size: 0.875rem;
  line-height: 1.45;
}
.note-maquette .ico { margin-top: 0.1em; }
.section--nuit .note-maquette { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); color: var(--indigo-200); }

.liste-coches { display: grid; gap: 10px; }
.liste-coches li { display: flex; gap: 0.6em; align-items: flex-start; line-height: 1.45; }
.liste-coches .ico { margin-top: 0.12em; color: var(--terre-600); }
.section--nuit .liste-coches .ico, .encadre--nuit .liste-coches .ico { color: var(--ocre-400); }

/* Formulaires ------------------------------------------------------------- */
.formulaire { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .formulaire { grid-template-columns: 1fr 1fr; }
  .champ--large, .formulaire__pied { grid-column: 1 / -1; }
}
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; font-size: 0.9375rem; }
.champ small { color: var(--encre-pale); font-weight: 500; }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--creme-300);
  border-radius: var(--rayon-petit);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--indigo-700); box-shadow: 0 0 0 4px var(--indigo-100); }
.formulaire__pied { display: grid; gap: 14px; justify-items: start; }
.formulaire__retour { padding: 12px 16px; border-radius: var(--rayon-petit); background: var(--ocre-100); color: var(--ocre-700); font-weight: 600; }
.formulaire__retour[hidden] { display: none; }

/* Filtres ----------------------------------------------------------------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre {
  min-height: 44px;
  padding: 0.45em 1.1em;
  border: 2px solid var(--creme-300);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filtre:hover { border-color: var(--indigo-900); }
.filtre[aria-pressed="true"] { background: var(--indigo-900); border-color: var(--indigo-900); color: #fff; }

/* 6. En-tête ============================================================== */

.entete {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: var(--entete);
  background: var(--indigo-950);
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.entete--transparente { background: transparent; }
.entete.est-defile,
.entete.est-ouverte { background: var(--indigo-950); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.6); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.entete__logo { flex: none; display: block; }
.entete__logo img { width: auto; height: 52px; }

.entete__menu {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.entete__menu span,
.entete__menu span::before,
.entete__menu span::after {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--courbe), opacity 0.2s;
}
.entete__menu span { top: 23px; }
.entete__menu span::before { content: ""; left: 0; top: -7px; }
.entete__menu span::after { content: ""; left: 0; top: 7px; }
.entete.est-ouverte .entete__menu span { background: transparent; }
.entete.est-ouverte .entete__menu span::before { transform: translateY(7px) rotate(45deg); }
.entete.est-ouverte .entete__menu span::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  top: var(--entete);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gouttiere) 40px;
  background: var(--indigo-950) var(--motif-traits-clairs);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.35s var(--courbe), visibility 0s 0.35s;
}
.entete.est-ouverte .nav { visibility: visible; transform: none; transition-delay: 0s; }
.nav__lien {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: none;
  color: #fff;
  font-family: var(--titres);
  font-weight: 700;
  font-stretch: 90%;
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
}
.nav__lien .ico { transition: transform 0.25s var(--courbe); }
.nav__item.est-ouvert > .nav__lien .ico { transform: rotate(180deg); }
.nav__sous { display: none; padding: 8px 0 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.nav__item.est-ouvert > .nav__sous { display: grid; }
.nav__sous a { display: block; padding: 10px 0; color: var(--indigo-200); font-weight: 600; text-decoration: none; }
.nav__sous a:hover { color: #fff; }
.nav__cta { align-self: flex-start; }

@media (min-width: 1100px) {
  .entete__logo img { height: 76px; }
  .entete__menu { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__liste { display: flex; align-items: center; gap: 2px; }
  .nav__item { position: relative; }
  .nav__lien {
    width: auto;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    font-family: var(--texte);
    font-weight: 600;
    font-stretch: 100%;
    font-size: 0.9688rem;
    white-space: nowrap;
    transition: background-color 0.2s;
  }
  .nav__lien:hover,
  .nav__lien[aria-current="page"],
  .nav__item.est-courant > .nav__lien { background: rgba(255, 255, 255, 0.14); }
  .nav__lien .ico { width: 1em; height: 1em; }
  .nav__sous {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: grid;
    gap: 2px;
    min-width: 260px;
    padding: 10px;
    border: 0;
    border-radius: 18px;
    background: var(--creme-50);
    box-shadow: var(--ombre);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s var(--courbe), visibility 0s 0.2s;
  }
  .nav__sous::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav__item:hover > .nav__sous,
  .nav__item:focus-within > .nav__sous,
  .nav__item.est-ouvert > .nav__sous { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__sous a { padding: 10px 14px; border-radius: 10px; color: var(--encre); }
  .nav__sous a:hover { background: var(--creme-200); color: var(--encre); }
  .nav__cta { align-self: center; }
}

/* 7. Pied de page ========================================================= */

.pied {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  background: var(--indigo-950) var(--motif-traits-clairs);
  color: var(--indigo-200);
  overflow: hidden;
}
.pied__grille { position: relative; z-index: 1; display: grid; gap: 40px; }
@media (min-width: 640px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pied__grille { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 48px; } }
.pied__logo img { width: 180px; }
.pied__devise { margin-top: 20px; max-width: 30ch; }
.pied__titre { margin-bottom: 14px; color: #fff; font-family: var(--titres); font-weight: 700; font-stretch: 90%; font-size: 1.1rem; }
.pied__liens { display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pied address { font-style: normal; display: grid; gap: 10px; }
.pied__bas {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
}
.pied .anneaux { right: -140px; bottom: -200px; color: rgba(255, 255, 255, 0.08); }

.reseaux { display: flex; gap: 10px; }
.reseaux a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--courbe);
}
.reseaux a:hover { background: var(--ocre-500); color: var(--indigo-950); transform: translateY(-3px); text-decoration: none; }
.reseaux--sombres a { background: var(--indigo-900); }

/* 8. Accueil ============================================================== */

/* Le carrousel plein écran ------------------------------------------------ */
.heros {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--indigo-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.heros__diapos, .heros__diapo, .heros__voile { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.heros__diapo { opacity: 0; transition: opacity 1.2s ease; }
.heros__diapo.est-active { opacity: 1; z-index: 1; }
.heros__image { width: 100%; height: 100%; object-fit: cover; }
.heros__voile {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(14, 18, 48, 0.78) 0%, rgba(14, 18, 48, 0.2) 20%, rgba(14, 18, 48, 0) 38%, rgba(14, 18, 48, 0.5) 62%, rgba(14, 18, 48, 0.95) 100%),
    linear-gradient(90deg, rgba(14, 18, 48, 0.5) 0%, rgba(14, 18, 48, 0) 62%);
  pointer-events: none;
}
.heros__contenu {
  position: relative;
  z-index: 3;
  align-self: end;
  padding-top: calc(var(--entete) + 40px);
  padding-bottom: clamp(22px, 4vw, 44px);
}
.heros__h1 {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: clamp(14px, 2vw, 22px);
  font-family: var(--texte);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ocre-200);
  text-shadow: 0 1px 14px rgba(14, 18, 48, 0.9), 0 0 2px rgba(14, 18, 48, 0.6);
}
.heros__h1::before {
  content: "";
  flex: none;
  width: 28px;
  height: 10px;
  background: currentColor;
  -webkit-mask: var(--motif-zigzag) left center / 28px 10px no-repeat;
  mask: var(--motif-zigzag) left center / 28px 10px no-repeat;
}
.heros__textes { display: grid; }
.heros__texte {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.5s, transform 0.5s var(--courbe), visibility 0s 0.5s;
}
.heros__texte.est-actif { opacity: 1; visibility: visible; transform: none; transition-delay: 0.3s, 0.3s, 0s; }
.heros__accroche {
  max-width: 13ch;
  font-family: var(--titres);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(2.9rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(14, 18, 48, 0.45);
}
.heros__accroche em { display: block; font-style: normal; color: var(--ocre-400); }   /* l'accent sur sa propre ligne */
.heros__chapo {
  max-width: 44ch;
  margin-top: clamp(14px, 2vw, 22px);
  font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 16px rgba(14, 18, 48, 0.75);
}
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 2.6vw, 30px); }

.heros__commandes {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: clamp(20px, 3vw, 30px);
}
.heros__onglets { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.heros__onglet {
  position: relative;
  min-height: 44px;
  padding: 14px 0 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  transition: color 0.2s;
}
.heros__onglet:hover, .heros__onglet.est-actif { color: #fff; }
.heros__libelle { display: none; }
.heros__jauge { position: absolute; left: 0; right: 0; top: 4px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.32); overflow: hidden; }
.heros__jauge i { display: block; height: 100%; border-radius: 4px; background: var(--ocre-400); transform: scaleX(0); transform-origin: left center; }
.heros__onglet.est-actif .heros__jauge i { transform: scaleX(1); }
.js .heros__onglet.est-actif .heros__jauge i { animation: jauge var(--duree-diapo) linear both; }
.heros.est-en-pause .heros__onglet.est-actif .heros__jauge i { animation-play-state: paused; }

.heros__fleches { display: flex; gap: 8px; }
.heros__fleches [data-pas] { display: none; }      /* sur téléphone on glisse du doigt : seule la pause reste */
.rond {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(14, 18, 48, 0.25);
  color: #fff;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.rond:hover { background: #fff; border-color: #fff; color: var(--indigo-950); }
.rond .ico { width: 20px; height: 20px; }
[data-pause] .ico--lecture { display: none; }
[data-pause][aria-pressed="true"] .ico--pause { display: none; }
[data-pause][aria-pressed="true"] .ico--lecture { display: inline-block; }

@media (min-width: 760px) {
  .heros__libelle { display: inline; }
  .heros__fleches [data-pas] { display: grid; }
  .heros__onglets { gap: 14px; }
}

/* Le macaron qui tourne --------------------------------------------------- */
.macaron {
  position: absolute;
  z-index: 3;
  right: var(--gouttiere);
  bottom: clamp(120px, 17vh, 180px);
  display: none;
  width: clamp(132px, 13vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--indigo-950);
  text-decoration: none;
  transition: transform 0.3s var(--courbe);
}
.macaron:hover { transform: scale(1.06) rotate(-4deg); }
.macaron svg { width: 100%; height: 100%; }
.macaron__fond { fill: var(--ocre-500); }
.macaron__texte { fill: currentColor; font-family: var(--texte); font-weight: 800; font-size: 17.500px; letter-spacing: 0.06em; text-transform: uppercase; }
.macaron img { position: absolute; left: 50%; top: 50%; width: 30%; height: auto; transform: translate(-50%, -50%); }
@media (min-width: 900px) and (min-height: 640px) { .macaron { display: block; } }

/* Présentation des prestations -------------------------------------------- */
.composition { position: relative; padding: 0 0 12% 0; isolation: isolate; }
.composition__grande { width: 82%; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 5; }
.composition__petite { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid var(--creme-100); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 3; }
.composition img { width: 100%; height: 100%; object-fit: cover; }
.composition__pastille { position: absolute; right: 6%; top: -5%; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--ocre-500); }
.section--sable .composition__petite { border-color: var(--creme-200); }

.formats { display: grid; gap: 4px; }
.formats li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--creme-300); }
.formats .ico { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--terre-600); color: var(--terre-600); -webkit-mask: none; mask: none; position: relative; }
.formats .ico::after { content: ""; position: absolute; inset: 10px; background: #fff; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.formats b { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.15rem; line-height: 1.2; align-self: end; }
.formats span { color: var(--encre-doux); font-size: 0.9688rem; line-height: 1.45; }

/* Bandeau photo ----------------------------------------------------------- */
.bandeau-photo { position: relative; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.bandeau-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bandeau-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; background: linear-gradient(180deg, rgba(14, 18, 48, 0), rgba(14, 18, 48, 0.82)); color: #fff; font-size: 0.9375rem; }
@media (min-width: 760px) { .bandeau-photo img { aspect-ratio: 21 / 9; } }

/* Citation ---------------------------------------------------------------- */
.citation { position: relative; display: grid; gap: 20px; }
.citation::before { content: ""; width: 84px; height: 30px; background: var(--ocre-500); -webkit-mask: var(--motif-zigzag) left center / 84px 30px no-repeat; mask: var(--motif-zigzag) left center / 84px 30px no-repeat; }
.citation p {
  font-family: var(--titres);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.citation footer { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terre-600); }
.section--nuit .citation footer { color: var(--ocre-400); }
.section--terre .citation footer { color: var(--ocre-200); }

/* Boutique ---------------------------------------------------------------- */
.article { display: grid; gap: 6px; }
.article__visuel { display: grid; place-items: center; margin-bottom: 10px; aspect-ratio: 1; border-radius: var(--rayon); background: var(--creme-50) var(--motif-traits-sombres); overflow: hidden; }
.article__visuel svg { width: 72%; height: auto; transition: transform 0.5s var(--courbe); filter: drop-shadow(0 18px 18px rgba(14, 18, 48, 0.22)); }
.article:hover .article__visuel svg { transform: translateY(-6px) rotate(-3deg); }
.article__nom { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.25rem; line-height: 1.15; }
.article__detail { color: var(--indigo-900); font-size: 0.9375rem; }

/* Appel final ------------------------------------------------------------- */
.appel { position: relative; overflow: hidden; text-align: center; }
.appel .conteneur { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.appel .titre { max-width: 18ch; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.appel .anneaux { left: 50%; top: 50%; width: clamp(420px, 70vw, 900px); transform: translate(-50%, -50%); }

/* 9. Pages intérieures ==================================================== */

.page-tete {
  position: relative;
  padding-top: calc(var(--entete) + clamp(36px, 6vw, 80px));
  padding-bottom: clamp(44px, 6vw, 88px);
  background: var(--indigo-950) var(--motif-traits-clairs);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-tete .anneaux { right: -120px; top: -90px; z-index: -1; }
.page-tete__grille { display: grid; gap: 36px; align-items: end; }
@media (min-width: 940px) { .page-tete__grille { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.page-tete__texte { display: grid; gap: 18px; justify-items: start; }
.page-tete h1 {
  font-family: var(--titres);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(2.7rem, 7vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.page-tete h1 em { display: block; font-style: normal; color: var(--ocre-400); }   /* l'accent sur sa propre ligne */
.page-tete .chapo { color: var(--indigo-200); }
.page-tete__image { position: relative; }
.page-tete__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); transform: rotate(1.500deg); }
.page-tete__image::before { content: ""; position: absolute; left: -7%; bottom: -9%; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--terre-600); }
.page-tete__image figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--indigo-200); text-align: right; }

.fil { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.875rem; color: var(--indigo-200); }
.fil a { text-decoration: none; }
.fil a:hover { color: #fff; text-decoration: underline; }
.fil li + li::before { content: "/"; margin-right: 10px; opacity: 0.6; }

/* Planning de la semaine -------------------------------------------------- */
.planning { display: grid; gap: 14px; }
@media (min-width: 760px) { .planning { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .planning { grid-template-columns: repeat(4, 1fr); } }
.planning__jour { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--rayon); background: var(--creme-50); box-shadow: var(--ombre-douce); }
.planning__nom { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 2px solid var(--encre); font-family: var(--titres); font-weight: 800; font-stretch: 85%; font-size: 1.35rem; }
.planning__nom small { font-family: var(--texte); font-weight: 600; font-size: 0.8125rem; color: var(--encre-pale); }
.creneau { display: grid; gap: 2px; padding: 12px 14px; border-left: 4px solid var(--terre-500); border-radius: 6px 12px 12px 6px; background: var(--terre-100); color: var(--encre); text-decoration: none; line-height: 1.35; transition: transform 0.2s var(--courbe); }
.creneau:hover { transform: translateX(4px); }
.creneau--percussions { border-color: var(--indigo-700); background: var(--indigo-100); }
.creneau__heure { font-family: var(--titres); font-weight: 800; font-stretch: 85%; font-size: 1.15rem; }
.creneau__lieu { font-size: 0.875rem; color: var(--encre-doux); }

/* Fiche d'un cours -------------------------------------------------------- */
.fiche { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 940px) {
  .fiche { grid-template-columns: 0.95fr 1.05fr; }
  .fiche--inverse > :first-child { order: 2; }
}
.fiche__image { position: relative; }
.fiche__image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.fiche__image figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--encre-pale); }
.fiche__image .puce { position: absolute; left: 18px; top: 18px; }

/* Étapes numérotées ------------------------------------------------------- */
.etapes { display: grid; gap: 24px; counter-reset: etape; }
@media (min-width: 820px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etapes li { counter-increment: etape; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ocre-500); }
.etapes li::before { content: counter(etape, decimal-leading-zero); font-family: var(--titres); font-weight: 800; font-stretch: 80%; font-size: 2.4rem; line-height: 1; color: var(--ocre-400); }
.etapes b { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.25rem; }
.etapes span { color: var(--indigo-200); }

/* Frise des projets ------------------------------------------------------- */
.frise { display: grid; gap: 0; }
.frise li { position: relative; display: grid; gap: 4px; padding: 0 0 28px 32px; border-left: 2px dashed var(--terre-300); }
.frise li:last-child { padding-bottom: 0; border-left-color: transparent; }
.frise li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--terre-600); box-shadow: 0 0 0 5px var(--terre-100); }
.frise time { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terre-700); }
.frise b { font-family: var(--titres); font-weight: 750; font-stretch: 90%; font-size: 1.25rem; line-height: 1.2; }
.frise span { color: var(--encre-doux); }

/* Profil d'un intervenant -------------------------------------------------- */
.profil { display: grid; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--rayon); background: var(--creme-50); box-shadow: var(--ombre-douce); }
@media (min-width: 760px) { .profil { grid-template-columns: auto 1fr; gap: 44px; align-items: start; } }
.profil__tete { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 10px 10px 0; }
.profil__corps { display: grid; gap: 14px; }

/* Emplacement d'un module externe (HelloAsso) ------------------------------ */
.module-externe {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(28px, 5vw, 56px) 24px;
  border: 2px dashed var(--creme-300);
  border-radius: var(--rayon);
  background: var(--creme-50) var(--motif-traits-sombres);
  text-align: center;
}
.module-externe__marque { font-family: var(--titres); font-weight: 800; font-stretch: 85%; font-size: 1.5rem; }

/* Coordonnées ------------------------------------------------------------- */
.coordonnees { display: grid; gap: 18px; }
.coordonnees li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; }
.coordonnees .ico { grid-row: span 2; width: 22px; height: 22px; margin-top: 3px; color: var(--ocre-400); }
.coordonnees b { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo-200); }
.coordonnees a { font-family: var(--titres); font-weight: 700; font-stretch: 90%; font-size: 1.3rem; text-decoration: none; }
.coordonnees a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 10. Visionneuse ========================================================= */

.visionneuse {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  gap: 14px;
  padding: 72px 16px 24px;
  background: rgba(8, 10, 30, 0.95);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0s 0.25s;
}
.visionneuse.est-ouverte { opacity: 1; visibility: visible; transition-delay: 0s; }
.visionneuse__media { display: grid; place-items: center; width: 100%; min-height: 0; height: 100%; }
.visionneuse__media img { max-width: min(1280px, 100%); max-height: 100%; width: auto; height: auto; border-radius: var(--rayon-petit); object-fit: contain; }
.visionneuse__media iframe { width: min(1180px, 100%); aspect-ratio: 16 / 9; max-height: 100%; border: 0; border-radius: var(--rayon-petit); background: #000; }
.visionneuse__legende { max-width: 70ch; text-align: center; font-size: 0.9375rem; color: var(--indigo-200); }
.visionneuse__fermer { position: absolute; right: 16px; top: 14px; }
.visionneuse__nav { position: absolute; top: 50%; margin-top: -23px; }
.visionneuse__nav--avant { left: 14px; }
.visionneuse__nav--apres { right: 14px; }
.visionneuse__nav[hidden] { display: none; }

/* 11. Mouvement =========================================================== */

@keyframes jauge { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes zoom-lent { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes tourne { to { transform: rotate(360deg); } }

.js .heros__diapo.est-active .heros__image { animation: zoom-lent 9s ease-out both; }
.macaron svg { animation: tourne 26s linear infinite; }
.anneaux { animation: tourne 140s linear infinite; }
.appel .anneaux { animation: none; }       /* centré par transform : une rotation l'en délogerait */

/* Apparition au défilement : seulement si le script tourne, sinon tout reste visible. */
.js [data-apparait] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--courbe);
  transition-delay: var(--retard, 0s);
}
.js [data-apparait].est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-apparait] { opacity: 1; transform: none; }
  .heros__onglet.est-actif .heros__jauge i { transform: scaleX(1); }
  [data-pause] { display: none; }           /* rien ne défile : rien à mettre en pause */
}

/* Impression : le contenu, sans le décor. */
@media print {
  .entete, .heros__commandes, .macaron, .pied .reseaux, .visionneuse { display: none !important; }
  body { background: #fff; }
}
