/* ==================================================================
   FESTIVAL DU MENHIR — feuille de style du site
   ------------------------------------------------------------------
   Sommaire
     1. Polices et variables (couleurs de la charte)
     2. Base
     3. Boutons
     4. Barre du haut et menu plein écran
     5. Panneaux (sections arrondies empilées)
     6. Titres
     7. Accueil : ouverture
     8. Composants : billets, cartes, tuiles, artistes, encarts, frise…
     9. Formulaire
    10. Pied de page
    11. Petits écrans
   Les animations sont dans animations.css.
   ================================================================== */

/* ---------- 1. Polices et variables ---------- */
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Charte graphique */
  --olive: #443e19;
  --ambre: #de9b26;
  --kaki: #a19360;
  --lin: #f1ede1;
  /* Nuances dérivées */
  --olive-nuit: #35300f;
  --lin-clair: #faf8f1;

  --police: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --arrondi: clamp(28px, 4vw, 56px);   /* coins des panneaux */
  --trait: 3px;                         /* épaisseur des contours « sticker » */
  --ombre: 6px 6px 0 var(--olive);      /* ombre dure façon autocollant */
  --marge: clamp(1.1rem, 4vw, 3rem);
  --largeur: 76rem;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--olive); color: var(--olive);
  font-family: var(--police); font-size: 1.125rem; line-height: 1.6;
  font-optical-sizing: auto;
}
body.menu-ouvert { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.visually-hidden, .champ-piege {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.evitement { position: absolute; left: 1rem; top: -5rem; z-index: 200; background: var(--ambre); color: var(--olive); padding: .7rem 1.2rem; border-radius: 999px; font-weight: 800; }
.evitement:focus { top: 1rem; }
.conteneur { max-width: var(--largeur); margin: 0 auto; }
.conteneur--etroit { max-width: 46rem; margin-left: auto; margin-right: auto; }
.centre { text-align: center; }
[hidden] { display: none !important; }
.actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.vide, .aide-admin { text-align: center; font-weight: 600; opacity: .75; margin-top: 2rem; }

/* ---------- 3. Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .45rem .45rem .45rem 1.35rem; min-height: 3.25rem;
  border: var(--trait) solid var(--olive); border-radius: 999px;
  font: 800 1rem/1 var(--police); font-stretch: 85%; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--olive);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bouton:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--olive); }
.bouton:active { transform: translateY(4px); box-shadow: 0 0 0 var(--olive); }
.bouton-fleche {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; flex: none;
  transition: transform .2s ease;
}
.bouton:hover .bouton-fleche { transform: rotate(-35deg); }
.bouton-fleche svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.bouton--olive { background: var(--olive); color: var(--lin); }
.bouton--olive .bouton-fleche { background: var(--lin); color: var(--olive); }
.bouton--ambre { background: var(--ambre); color: var(--olive); }
.bouton--ambre .bouton-fleche { background: var(--olive); color: var(--ambre); }
.bouton--lin { background: var(--lin); color: var(--olive); }
.bouton--lin .bouton-fleche { background: var(--olive); color: var(--lin); }
.bouton--contour { background: transparent; color: var(--lin); border-color: var(--lin); box-shadow: 0 4px 0 var(--lin); }
.bouton--contour:hover { box-shadow: 0 2px 0 var(--lin); }
.bouton--contour .bouton-fleche { background: var(--lin); color: var(--olive); }
.bouton--contour-olive { background: transparent; color: var(--olive); }
.bouton--contour-olive .bouton-fleche { background: var(--olive); color: var(--lin); }
button.bouton { font-family: var(--police); }

/* ---------- 4. Barre du haut et menu ---------- */
.annonce {
  background: var(--ambre); color: var(--olive); text-align: center;
  font-weight: 700; font-size: .95rem; padding: .55rem var(--marge);
}
.annonce a { text-decoration-thickness: 2px; }
.bandeau-apercu { background: var(--olive-nuit); color: var(--lin); text-align: center; padding: .5rem; font-size: .9rem; }

.barre {
  --hauteur-barre: 4rem;
  position: sticky; top: .75rem; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  height: var(--hauteur-barre);
  margin: .75rem clamp(.5rem, 2vw, 1.25rem) calc(-1 * (var(--hauteur-barre) + .75rem));
  padding: 0 .55rem 0 .55rem;
  background: var(--lin); border: var(--trait) solid var(--olive); border-radius: 999px;
  box-shadow: 0 4px 0 var(--olive);
}
.barre-droite { display: flex; align-items: center; gap: 1rem; }
.barre-bouton {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 1.2rem;
  background: var(--olive); color: var(--lin); border-radius: 999px;
  font-weight: 800; font-stretch: 85%; text-transform: uppercase; text-decoration: none; font-size: .95rem;
}
.barre-bouton:hover { background: var(--olive-nuit); }
.barre-droite { gap: .5rem; }
.barre-cashless {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: 0 1.05rem 0 .85rem;
  background: var(--lin-clair); color: var(--olive); border: var(--trait) solid var(--olive); border-radius: 999px;
  font-weight: 800; font-stretch: 85%; text-transform: uppercase; text-decoration: none; font-size: .95rem;
  transition: background .15s ease;
}
.barre-cashless svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.barre-cashless:hover { background: var(--ambre); }
.barre-cashless:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; }
.barre-logo { position: absolute; left: 50%; top: .3rem; translate: -50% 0; display: block; width: 11rem; transition: width .3s ease, top .3s ease; }
.barre-logo img { width: 100%; filter: drop-shadow(0 3px 0 rgba(53, 48, 15, .35)); }
.barre.est-reduite .barre-logo { width: 8.5rem; top: .55rem; }
.barre-menu {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: var(--trait) solid var(--olive);
  background: var(--ambre); color: var(--olive); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.barre-menu-icone, .barre-menu-icone span, .barre-menu-icone::before, .barre-menu-icone::after { display: block; width: 1.1rem; height: 2.5px; background: currentColor; border-radius: 2px; }
.barre-menu-icone { position: relative; background: transparent; height: 12px; width: 1.1rem; }
.barre-menu-icone span { position: absolute; top: 5px; }
.barre-menu-icone::before, .barre-menu-icone::after { content: ""; position: absolute; left: 0; transition: transform .2s ease, top .2s ease; }
.barre-menu-icone::before { top: 0; }
.barre-menu-icone::after { top: 10px; }
.barre-menu[aria-expanded="true"] .barre-menu-icone span { opacity: 0; }
.barre-menu[aria-expanded="true"] .barre-menu-icone::before { top: 5px; transform: rotate(45deg); }
.barre-menu[aria-expanded="true"] .barre-menu-icone::after { top: 5px; transform: rotate(-45deg); }

.menu-plein {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: rgba(53, 48, 15, .72); backdrop-filter: blur(4px);
  padding: 6.5rem clamp(.5rem, 2vw, 1.25rem) 1.5rem;
}
.menu-plein[hidden] { display: none; }
.menu-plein-carte {
  max-width: 82rem; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem;
  background: var(--lin); border: var(--trait) solid var(--olive); border-radius: 28px; padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: var(--ombre);
}
.menu-plein .surtitre { margin: 0 0 .8rem; }
.menu-grands, .menu-petits { list-style: none; margin: 0; padding: 0; }
.menu-grands a {
  display: inline-block; font-weight: 800; font-stretch: 75%; text-transform: uppercase; text-decoration: none;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95;
}
.menu-grands a:hover, .menu-grands a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ambre); text-decoration-thickness: 6px; text-underline-offset: .08em; }
.menu-petits { columns: 2; column-gap: 2rem; margin: 2rem 0; }
.menu-petits a { display: inline-block; padding: .25rem 0; font-weight: 700; font-stretch: 85%; text-transform: uppercase; text-decoration: none; font-size: 1rem; }
.menu-petits a:hover, .menu-petits a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ambre); text-decoration-thickness: 3px; }
.menu-plein-visuel {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 24rem;
  background: var(--kaki) url("../img/topo-olive.svg") center / cover;
  border: var(--trait) solid var(--olive); display: flex; align-items: flex-end; justify-content: center;
}
.menu-plein-menhir { width: 70%; max-width: 22rem; }
.menu-plein-date {
  position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1;
}

/* ---------- 5. Panneaux ---------- */
.panneau {
  position: relative;
  margin-top: calc(-1 * var(--arrondi));
  border-radius: var(--arrondi) var(--arrondi) 0 0;
  padding: calc(var(--arrondi) + clamp(2.5rem, 6vw, 5rem)) var(--marge) calc(var(--arrondi) + clamp(2.5rem, 6vw, 5rem));
  --texte-accent: var(--olive);
}
.panneau--lin { background: var(--lin); color: var(--olive); }
.panneau--kaki { background: var(--kaki) url("../img/topo-olive.svg") center / cover; color: var(--olive-nuit); }
.panneau--ambre { background: var(--ambre); color: var(--olive); }
.panneau--ambre .surtitre::before, .panneau--kaki .surtitre::before { background: var(--olive); }
.panneau--olive { background: var(--olive) url("../img/topo-kaki.svg") center / cover; color: var(--lin); --texte-accent: var(--ambre); }

/* ---------- 6. Titres ---------- */
.titre-geant, .titre-section {
  margin: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase;
  line-height: .9; letter-spacing: -.005em; text-wrap: balance;
}
.titre-geant { font-size: clamp(3.4rem, 11vw, 8.5rem); }
.titre-section { font-size: clamp(2.5rem, 7vw, 5.25rem); color: var(--texte-accent); }
.surtitre {
  display: inline-block; margin-bottom: 1rem;
  font-weight: 800; font-stretch: 85%; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--texte-accent);
}
.surtitre::before { content: ""; display: inline-block; width: .55rem; height: .8rem; margin-right: .5rem; background: var(--ambre); border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%; vertical-align: -.05em; }
.chapeau { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 42rem; margin: 1.25rem auto 0; }
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1.5rem; border-bottom: 3px dashed currentColor; }
.entete-section--centre { flex-direction: column; align-items: center; text-align: center; border: 0; padding: 0; }
.entete-section--centre .surtitre { margin-bottom: .5rem; }

/* Bandeau de titre des pages intérieures */
.titre-page {
  position: relative; overflow: hidden;
  background: var(--olive) url("../img/topo-kaki.svg") center / cover; color: var(--lin);
  padding: calc(7.5rem + 2vw) var(--marge) calc(var(--arrondi) + 3.5rem);
  min-height: 30rem; display: flex; align-items: flex-end;
}
.titre-page-texte { position: relative; z-index: 1; max-width: var(--largeur); width: 100%; margin: 0 auto; }
.titre-page .surtitre { color: var(--ambre); }
.titre-page .titre-geant { color: var(--ambre); max-width: 11ch; }
.titre-page-intro { margin-top: 1.25rem; font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 34rem; }
.haut-discret { height: calc(var(--arrondi) + 6rem); background: var(--olive) url("../img/topo-kaki.svg") center / cover; }
@media (max-width: 36rem) { .haut-discret { height: calc(var(--arrondi) + 4.5rem); } }
.titre-page-menhir { position: absolute; right: clamp(-2rem, 4vw, 6rem); bottom: calc(var(--arrondi) - 4px); width: clamp(11rem, 26vw, 22rem); opacity: .95; }

/* ---------- 7. Accueil : ouverture ---------- */
.ouverture {
  position: relative; min-height: min(100svh, 62rem);
  display: grid; place-items: center; text-align: center;
  background: var(--olive) url("../img/topo-kaki.svg") center / cover; color: var(--lin);
  padding: 7rem var(--marge) calc(var(--arrondi) + 5rem);
}
.ouverture-contenu { display: grid; justify-items: center; gap: 1.5rem; }
.ouverture-logo { margin: 0; width: min(46rem, 90vw); }
.ouverture-logo img { width: 100%; }
.ouverture-date { font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.ouverture-date span { display: block; }
.ouverture-date span:first-child { color: var(--ambre); font-size: clamp(2rem, 5vw, 3.4rem); }
.ouverture-date span:last-child { font-size: clamp(1.2rem, 2.6vw, 1.7rem); margin-top: .3rem; }
.ouverture-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .5rem; }
/* Variante avec photo en bandeau, fondue vers le bas */
.ouverture--photo { display: block; min-height: 0; padding: 0 0 calc(var(--arrondi) + 4.5rem); }
.ouverture-photo {
  width: 100%; height: clamp(24rem, 68vh, 46rem); object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0, 0, 0, .55) 75%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0, 0, 0, .55) 75%, transparent 100%);
}
.ouverture--photo .ouverture-contenu { position: relative; margin-top: clamp(-11rem, -14vh, -6rem); padding: 0 var(--marge); }
.ouverture--photo .ouverture-date span:first-child { font-size: clamp(2.4rem, 6.5vw, 4.6rem); text-shadow: 0 3px 0 var(--olive-nuit); }
.ouverture--photo .ouverture-date span:last-child { text-shadow: 0 2px 0 var(--olive-nuit); }
@media (max-width: 48rem) { .ouverture-photo { object-position: 27% 40%; height: clamp(22rem, 62vh, 34rem); } }

/* Touffes d'herbe posées sur le panneau suivant */
.ouverture-herbe {
  /* l'herbe s'arrête avant les coins arrondis du panneau, sinon elle flotte dans le vide */
  position: absolute; left: var(--arrondi); right: var(--arrondi); bottom: calc(var(--arrondi) - 2px); height: 34px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 34'%3E%3Cpath fill='%23f1ede1' d='M0 34 L8 14 L12 30 L20 4 L24 30 L32 18 L36 34 Z M70 34 L76 20 L80 32 L88 8 L92 32 L98 22 L102 34 Z M150 34 L156 16 L161 31 L168 2 L173 31 L180 12 L186 34 Z M206 34 L211 22 L215 32 L222 12 L226 34 Z'/%3E%3C/svg%3E") repeat-x left bottom / 240px 34px;
}

/* Compte à rebours */
.rebours { display: inline-flex; align-items: baseline; gap: .75rem; margin: 1.5rem 0 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.rebours-nombre { font-size: clamp(3rem, 8vw, 5.5rem); line-height: .9; color: var(--lin); -webkit-text-stroke: 3px var(--olive); paint-order: stroke fill; }
.rebours-texte { font-size: clamp(1.1rem, 2.2vw, 1.6rem); }

/* ---------- 8. Composants ---------- */

/* Billets */
.billets { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.billet { width: 15rem; transform: rotate(-3deg); transition: transform .25s ease; filter: drop-shadow(6px 6px 0 var(--olive)); }
.billet:nth-child(2) { transform: rotate(2deg) translateY(-.6rem); }
.billet:nth-child(3) { transform: rotate(-1deg); }
.billet:nth-child(4) { transform: rotate(-4deg) translateY(-.6rem); }
.billet:nth-child(5) { transform: rotate(-4deg) }
.billet:nth-child(6) { transform: rotate(1deg) translateY(-.6rem); }
.billet:nth-child(7) { transform: rotate(-2deg) }
.billet:nth-child(8) { transform: rotate(2deg) translateY(.6rem); }
.billet:hover { transform: rotate(0) translateY(-.6rem); }
.billet-carte {
  --encoche: 14px;
  min-height: 21rem; display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem; text-align: left; color: var(--olive);
  border: var(--trait) solid var(--olive); border-radius: 16px;
  /* encoches de part et d'autre de la ligne de découpe */
  -webkit-mask: radial-gradient(circle at 0 70%, transparent var(--encoche), #000 calc(var(--encoche) + 1px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 70%, transparent var(--encoche), #000 calc(var(--encoche) + 1px)) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 70%, transparent var(--encoche), #000 calc(var(--encoche) + 1px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 70%, transparent var(--encoche), #000 calc(var(--encoche) + 1px)) right / 51% 100% no-repeat;
}
.billet--ambre { background: var(--ambre); }
.billet--lin { background: var(--lin-clair); }
.billet--olive { background: var(--olive); color: var(--lin); border-color: var(--olive-nuit); }
.billet--olive .billet-bas { border-top-color: var(--lin); }
.billet--olive .billet-cta { background: var(--ambre); color: var(--olive); }
.billet--kaki { background: var(--lin) url("../img/topo-olive.svg") center / 260%; }
.billet-haut { display: grid; gap: .3rem; }
.billet-festival { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.billet-nom { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 2rem; line-height: .95; }
.billet-prix { font-weight: 800; font-stretch: 75%; font-size: 3.6rem; line-height: 1; }
.billet-bas { display: grid; gap: .15rem; padding-top: .9rem; border-top: 3px dashed var(--olive); font-size: .9rem; font-weight: 700; }
.billet { position: relative; }
a.billet-carte { text-decoration: none; cursor: pointer; }
a.billet-carte:focus-visible { outline: none; }
.billet:has(a.billet-carte:focus-visible) { filter: drop-shadow(6px 6px 0 var(--olive)) drop-shadow(0 0 0 var(--ambre)); outline: 4px solid var(--ambre); outline-offset: 6px; border-radius: 18px; }
.billet-cta {
  justify-self: start; margin-top: .55rem; padding: .3rem .85rem; border-radius: 999px;
  background: var(--olive); color: var(--lin); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: .85rem;
}
.billet:hover .billet-cta { background: var(--olive-nuit); }
.billet.est-actif { transform: rotate(0) translateY(-.8rem) scale(1.04); }
.billet.est-actif .billet-cta { background: var(--ambre); color: var(--olive); border: 2px solid var(--olive); }
.billets--choix .billet:not(.est-actif):not(:hover) { opacity: .7; }
/* Billet épuisé */
.billet.est-complet { filter: drop-shadow(6px 6px 0 rgba(68, 62, 25, .45)); }
.billet.est-complet:hover { transform: rotate(-3deg); }
.billet.est-complet .billet-carte { filter: grayscale(.85); opacity: .65; cursor: not-allowed; }
.billet-tampon {
  position: absolute; top: 66%; left: 50%; translate: -50% -50%; rotate: -14deg; z-index: 2; white-space: nowrap;
  padding: .35rem 1rem; border: 4px solid var(--olive); border-radius: 10px; background: var(--ambre); color: var(--olive);
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 2.4rem; line-height: 1; letter-spacing: .02em;
  box-shadow: 0 0 0 4px var(--lin);
}

/* Module HelloAsso */
.conteneur--achat { max-width: 54rem; margin: 0 auto; }
.achat-entete { text-align: center; margin-bottom: 2rem; }
#achat { scroll-margin-top: 4.5rem; }
.achat-entete p:last-child { max-width: 40rem; margin: 1rem auto 0; }
.helloasso { background: #fff; border: var(--trait) solid var(--olive); border-radius: 22px; box-shadow: var(--ombre); padding: clamp(.5rem, 2vw, 1.25rem); }
.helloasso-cadre { display: block; width: 100%; height: 760px; border: 0; }
.helloasso-secours { text-align: center; font-size: .9rem; margin-top: .75rem; }

/* Cartes (rendez-vous) */
.cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2.5rem 1.75rem; }
.carte {
  position: relative; display: flex; flex-direction: column;
  background: var(--lin-clair); border: var(--trait) solid var(--olive); border-radius: 22px; box-shadow: var(--ombre);
  margin-top: 1.25rem;
}
.carte-badge {
  position: absolute; top: -1.2rem; left: 50%; transform: translateX(-50%); z-index: 1; white-space: nowrap;
  background: var(--ambre); color: var(--olive); border: var(--trait) solid var(--olive); border-radius: 999px;
  padding: .3rem 1rem; font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: .95rem;
}
.carte-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 19px 19px 0 0; border-bottom: var(--trait) solid var(--olive); }
.carte-image--cadre { position: relative; overflow: hidden; display: block; cursor: zoom-in; }
.carte-image--cadre:focus-visible { outline: 4px solid var(--ambre); outline-offset: -4px; }
.carte-loupe { position: absolute; right: .7rem; bottom: .7rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--lin); color: var(--olive); border: var(--trait) solid var(--olive); opacity: 0; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; }
.carte-loupe svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.carte-image--cadre:hover .carte-loupe, .carte-image--cadre:focus-visible .carte-loupe { opacity: 1; transform: scale(1); }
@media (hover: none) { .carte-loupe { opacity: 1; transform: scale(1); } }
/* Visionneuse (affiche en grand) */
.visionneuse { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.visionneuse::backdrop { background: rgba(53, 48, 15, .88); backdrop-filter: blur(3px); }
.visionneuse[open] { display: grid; place-items: center; animation: visionneuse-entree .2s ease; }
.visionneuse-figure { margin: 0; display: grid; justify-items: center; gap: .9rem; padding: 4rem 1rem 1.5rem; pointer-events: none; }
.visionneuse-figure img { max-width: min(92vw, 70rem); max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border: var(--trait) solid var(--lin); border-radius: 16px; background: var(--olive-nuit); pointer-events: auto; box-shadow: 8px 8px 0 var(--ambre); }
.visionneuse-figure figcaption { color: var(--lin); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.4rem; text-align: center; }
.visionneuse-fermer { position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: var(--trait) solid var(--olive); background: var(--ambre); color: var(--olive); cursor: pointer; display: grid; place-items: center; }
.visionneuse-fermer svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }
@keyframes visionneuse-entree { from { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) { .visionneuse[open] { animation: none; } }
.carte-image--cadre img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-image--motif { display: grid; place-items: center; background: var(--kaki) url("../img/topo-olive.svg") center / cover; }
.carte-image--motif img { width: 32%; }
.carte-corps { padding: 1.25rem 1.4rem .5rem; text-align: center; }
.carte-titre { margin: 0 0 .25rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.carte-lieu { font-weight: 700; font-stretch: 90%; padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 2px dashed var(--kaki); }
.carte-action { margin-top: auto; padding: 1rem 1.4rem 1.4rem; text-align: center; }

/* Tuiles (sur fond olive) */
.tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.75rem; }
.tuile {
  display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center;
  background: var(--lin); color: var(--olive); border: var(--trait) solid var(--olive-nuit); border-radius: 22px;
  padding: 1.75rem 1.5rem; box-shadow: 6px 6px 0 var(--olive-nuit);
}
.tuile img { width: 5.5rem; }
.tuile h3 { margin: 0; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.tuile p { flex: 1; }

/* Artistes */
.artistes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.75rem; }
.artiste { background: var(--lin-clair); border: var(--trait) solid var(--olive); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre); }
.artiste > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: var(--trait) solid var(--olive); }
.artiste-nom { margin: 1rem 1.25rem 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; padding-bottom: 10px;}
.artiste-style { margin: .25rem 1.25rem 1.25rem; font-weight: 600; }
.artiste--mystere > img { object-fit: contain; padding: 18%; background: var(--kaki) url("../img/topo-olive.svg") center / cover; filter: grayscale(.2) brightness(.92); }

/* Encarts et colonnes */
.colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.75rem; }
.encart { background: var(--lin-clair); color: var(--olive); border: var(--trait) solid var(--olive); border-radius: 22px; padding: 1.6rem 1.75rem; box-shadow: var(--ombre); }
.encart h3 { margin: 0 0 .75rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.encart p + p, .encart ul { margin-top: .75rem; }
.encart ul { padding-left: 1.2rem; }
.encart p:has(.bouton) { margin-top: 1.25rem; }

/* Étapes et frise */
.etapes { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; counter-reset: etape; }
.etapes li { display: grid; gap: .5rem; padding: 1.5rem; background: var(--lin); border: var(--trait) solid var(--olive); border-radius: 22px; box-shadow: var(--ombre); font-weight: 600; }
.etape-date { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 2.2rem; line-height: 1; }
.frise { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 4px dashed var(--kaki); display: grid; gap: 2rem; }
.frise li { position: relative; }
.frise li::before { content: ""; position: absolute; left: calc(-1.5rem - 12px); top: .6rem; width: 18px; height: 18px; border-radius: 50%; background: var(--ambre); border: var(--trait) solid var(--olive); }
.frise-annee { display: block; font-weight: 800; font-stretch: 75%; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; }

/* Logos partenaires */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1.25rem; }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--lin-clair); border: var(--trait) solid var(--olive); border-radius: 18px; padding: 1rem; }
.logo-vide { font-weight: 700; opacity: .55; }

/* Galerie */
.galerie { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--trait) solid var(--olive); border-radius: 18px; }

/* Blocs de l'éditeur */
.blocs > .bloc + .bloc { margin-top: clamp(2.5rem, 5vw, 4rem); }
.blocs > .bloc--bouton + .bloc--bouton { margin-top: 1rem; }
.bloc--titre + .bloc { margin-top: clamp(1.5rem, 3vw, 2.5rem) !important; }
.figure { margin: 0 auto; max-width: 52rem; }
.figure--large { max-width: none; }
.figure img { width: 100%; border: var(--trait) solid var(--olive); border-radius: 22px; box-shadow: var(--ombre); }
.figure figcaption { margin-top: .8rem; text-align: center; font-weight: 600; }
.video { max-width: 56rem; margin: 0 auto; aspect-ratio: 16 / 9; border: var(--trait) solid var(--olive); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre); background: var(--olive-nuit); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.encart .prose > * + * { margin-top: .75rem; }
.encart-bouton { margin-top: 1.25rem; }
.logos img { max-height: 6rem; width: auto; object-fit: contain; }
.bloc--galerie .galerie { margin-top: 0; }

/* ---------- Programmation : filtres, planning, artistes ---------- */
.programme-outils { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filtres { display: flex; flex-wrap: wrap; gap: .65rem; }
.filtre, .choix-vue button {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .35rem 1.1rem;
  border: var(--trait) solid var(--olive); border-radius: 999px; background: var(--lin-clair); color: var(--olive); cursor: pointer;
  font: 800 1rem/1 var(--police); font-stretch: 85%; text-transform: uppercase; box-shadow: 0 4px 0 var(--olive);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.filtre:hover, .choix-vue button:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--olive); }
.filtre[aria-pressed="true"] { background: var(--olive); color: var(--lin); }
.filtre--ambre[aria-pressed="true"] { background: var(--ambre); color: var(--olive); }
.filtre--kaki[aria-pressed="true"] { background: var(--kaki); color: var(--olive-nuit); }
.filtre--lin[aria-pressed="true"] { background: var(--lin); color: var(--olive); outline: 3px solid var(--ambre); }
.filtre-logo { height: 2rem; width: auto; margin-left: -.45rem; }
.filtre-compte { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .35rem; border-radius: 99px; background: rgba(68, 62, 25, .12); font-size: .8rem; }
.filtre[aria-pressed="true"] .filtre-compte { background: rgba(241, 237, 225, .25); }
.choix-vue { display: inline-flex; gap: .5rem; }
.choix-vue button { min-height: 2.6rem; font-size: .9rem; }
.choix-vue button[aria-pressed="true"] { background: var(--ambre); }

.planning-entetes { display: grid; grid-template-columns: 1fr 6.5rem 1fr; margin-bottom: 1.5rem; }
.planning-entete {
  grid-row: 1; display: inline-flex; align-items: center; gap: .75rem; padding: .4rem 1.2rem .4rem .5rem; border-radius: 999px;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1;
  border: var(--trait) solid var(--olive); box-shadow: var(--ombre);
}
.planning-entete:first-child { grid-column: 1; justify-self: end; }
.planning-entete:last-child { grid-column: 3; justify-self: start; }
.planning-entete img { height: 3rem; width: auto; }
.planning-entete--olive { background: var(--olive); color: var(--lin); }
.planning-entete--ambre { background: var(--ambre); color: var(--olive); }
.planning-entete--kaki { background: var(--kaki); color: var(--olive-nuit); }
.planning-entete--lin { background: var(--lin-clair); color: var(--olive); }
.planning { list-style: none; margin: 0; padding: .5rem 0; position: relative; }
.planning::before { content: ""; position: absolute; top: 0; bottom: 0; left: 3.25rem; width: 3px; background: var(--olive); border-radius: 2px; }
.planning--duo::before { left: 50%; translate: -50% 0; }
.passage { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; margin: 1rem 0; }
.planning--duo .passage { grid-template-columns: 1fr 6.5rem 1fr; }
.passage-heure {
  grid-row: 1; grid-column: 1; justify-self: center; position: relative; z-index: 1;
  padding: .25rem .6rem; background: var(--lin); border: var(--trait) solid var(--olive); border-radius: 999px;
  font-weight: 800; font-stretch: 78%; font-size: 1.2rem; line-height: 1;
}
.planning--duo .passage-heure { grid-column: 2; }
.passage-carte {
  grid-row: 1; grid-column: 2; position: relative; display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.25rem .85rem .85rem; border: var(--trait) solid var(--olive); border-radius: 18px; box-shadow: var(--ombre);
}
.planning--duo .passage--gauche .passage-carte { grid-column: 1; }
.planning--duo .passage--droite .passage-carte { grid-column: 3; }
.passage-carte::before { content: ""; position: absolute; top: 50%; width: 1.4rem; border-top: 3px dotted var(--olive); }
.passage-carte::before, .planning--duo .passage--droite .passage-carte::before { right: 100%; left: auto; margin-right: var(--trait); }
.planning--duo .passage--gauche .passage-carte::before { left: 100%; right: auto; margin-left: var(--trait); }
.passage-carte--olive { background: var(--olive); color: var(--lin); }
.passage-carte--olive .passage-horaire { color: var(--ambre); }
.passage-carte--ambre { background: var(--ambre); color: var(--olive); }
.passage-carte--kaki { background: var(--kaki); color: var(--olive-nuit); }
.passage-carte--lin { background: var(--lin-clair); color: var(--olive); }
.passage-logo { width: 3.6rem; height: 3.6rem; flex: none; object-fit: contain; padding: .3rem; background: var(--lin); border: 2px solid var(--olive); border-radius: 50%; }
.passage-horaire { display: block; font-weight: 800; font-stretch: 78%; font-size: 1.15rem; line-height: 1.1; }
.passage-nom { display: block; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1; }
.passage-scene { display: block; margin-top: .2rem; font-size: .85rem; font-weight: 600; opacity: .85; }
.planning--duo .passage-scene { font-size: .8rem; }

.artistes--programme .artiste { position: relative; }
.artiste-scene {
  position: absolute; top: .75rem; left: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem .2rem .3rem;
  border: 2px solid var(--olive); border-radius: 999px; font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: .78rem;
}
.artiste-scene img { height: 1.6rem; width: auto; }
.artiste-scene--olive { background: var(--olive); color: var(--lin); }
.artiste-scene--ambre { background: var(--ambre); color: var(--olive); }
.artiste-scene--kaki { background: var(--kaki); color: var(--olive-nuit); }
.artiste-scene--lin { background: var(--lin-clair); color: var(--olive); }
.artiste-texte { margin: 0 1.25rem 1rem; font-size: .95rem; }
.artiste-passages { list-style: none; margin: -.5rem 1.25rem 1rem; padding: .6rem 0 0; border-top: 2px dashed var(--kaki); display: grid; gap: .2rem; font-size: .95rem; }
.artiste-passages strong { font-stretch: 85%; }
.artiste-lien { margin: -.25rem 1.25rem 1.25rem; font-weight: 800; }
.artiste-style:last-child { margin-bottom: 1.25rem; }

/* Partenaires */
.partenaires-categorie { margin: 2.5rem 0 1.25rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }
.partenaires-categorie:first-child { margin-top: 0; }
.partenaires li { padding: 0; transition: transform .15s ease; }
.partenaires li:hover { transform: translateY(-3px) rotate(-1deg); }
.partenaires a { display: grid; place-items: center; width: 100%; height: 100%; padding: 1rem; }
.partenaires li > img { padding: 1rem; }
.partenaire-nom { font-weight: 800; font-stretch: 85%; text-transform: uppercase; text-align: center; padding: 1rem; }

@media (max-width: 48rem) {
  .planning-entetes { display: none; }
  .planning--duo::before { left: 2.6rem; translate: 0; }
  .planning--duo .passage, .passage { grid-template-columns: 5.2rem 1fr; }
  .planning--duo .passage-heure { grid-column: 1; }
  .planning--duo .passage--gauche .passage-carte, .planning--duo .passage--droite .passage-carte { grid-column: 2; }
  .planning--duo .passage--gauche .passage-carte::before { left: auto; right: 100%; margin: 0 var(--trait) 0 0; }
  .passage-heure { font-size: 1rem; }
  .passage-logo { width: 2.8rem; height: 2.8rem; }
  .passage-carte::before { width: .8rem; }
}

/* Texte courant */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin: 2em 0 0; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; }
.prose h3 { margin: 1.6em 0 0; font-weight: 800; font-size: 1.35rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ambre); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.5rem; border-left: 6px solid var(--ambre); background: var(--lin-clair); border-radius: 0 16px 16px 0; font-size: 1.2em; }
.prose img { border: var(--trait) solid var(--olive); border-radius: 18px; }

/* Réseaux sociaux */
.reseaux { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.reseaux a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--lin); color: var(--olive); border: var(--trait) solid var(--olive); transition: transform .15s ease; }
.reseaux a:hover { transform: translateY(-3px) rotate(-6deg); }
.reseaux svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reseaux--sombre a { background: var(--olive); color: var(--lin); }

/* ---------- 9. Formulaire ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
.contact-coordonnees p + p { margin-top: 1rem; }
.formulaire { background: var(--lin-clair); border: var(--trait) solid var(--olive); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--ombre); }
.champs-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1.25rem; }
.champ { margin-bottom: 1.25rem; }
.champ label { display: block; font-weight: 800; font-stretch: 90%; margin-bottom: .35rem; }
.facultatif { font-weight: 500; }
.champ input, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--olive); background: #fff;
  border: var(--trait) solid var(--olive); border-radius: 14px; padding: .75rem .9rem;
}
.champ input:focus, .champ textarea:focus { outline: 3px solid var(--ambre); outline-offset: 1px; }
.champ [aria-invalid="true"] { border-color: #a5361c; }
.rgpd { font-size: .9rem; margin-bottom: 1.25rem; }
.message-ok { background: var(--olive); color: var(--lin); padding: 1rem 1.25rem; border-radius: 14px; font-weight: 700; }
.message-erreur { border: var(--trait) solid #a5361c; border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; background: #fff; }
.message-erreur ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* Formulaires personnalisés */
.formulaire-titre { margin: 0 0 1.25rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }
.formulaire-intertitre { margin: 1.75rem 0 .9rem; padding-top: 1.25rem; border-top: 2px dashed var(--kaki); font-weight: 800; font-stretch: 85%; font-size: 1.3rem; }
.formulaire-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem 3rem; align-items: start; }
.champ select { width: 100%; font: inherit; font-size: 1rem; color: var(--olive); background: #fff; border: var(--trait) solid var(--olive); border-radius: 14px; padding: .75rem .9rem; }
.champ select:focus, .choix-option input:focus-visible { outline: 3px solid var(--ambre); outline-offset: 1px; }
.champ-aide { margin: -.15rem 0 .45rem; font-size: .92rem; opacity: .85; }
.champ--choix { border: 0; padding: 0; min-width: 0; }
.champ--choix legend { font-weight: 800; font-stretch: 90%; margin-bottom: .45rem; padding: 0; }
.choix-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix-option { display: inline-flex !important; align-items: center; gap: .55rem; font-weight: 600 !important; margin: 0 !important; cursor: pointer; }
.champ--choix .choix-option { background: #fff; border: var(--trait) solid var(--olive); border-radius: 999px; padding: .45rem .95rem .45rem .7rem; transition: background .15s ease; }
.champ--choix .choix-option:has(input:checked) { background: var(--ambre); }
.choix-option input { width: 1.25rem; height: 1.25rem; accent-color: var(--olive); flex: none; margin: 0; }
.champ--accord .choix-option { align-items: flex-start; }
.champ--accord .choix-option span { font-weight: 500; }
.champ--choix [aria-invalid="true"] { outline: 2px solid #a5361c; }
.bouton[disabled] { opacity: .6; cursor: not-allowed; }

/* Documents à télécharger */
.documents { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
.documents-categorie { margin: 2rem 0 1rem; font-weight: 800; font-stretch: 85%; font-size: 1.4rem; }
.document-lien { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; height: 100%; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--olive); background: var(--lin-clair); border: var(--trait) solid var(--olive); border-radius: 18px; box-shadow: var(--ombre); transition: transform .15s ease, box-shadow .15s ease; }
.document-lien:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 6px 6px 0 var(--olive); }
.document-lien:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; }
.document-type { grid-row: span 2; display: grid; place-items: center; width: 3.4rem; height: 4.2rem; border-radius: 6px 16px 6px 6px; background: var(--olive); color: var(--lin); font-weight: 800; font-stretch: 75%; font-size: .95rem; letter-spacing: .02em; }
.document-type--pdf { background: #8a2d1b; }
.document-type--doc, .document-type--docx, .document-type--odt { background: #2f5a8a; }
.document-type--xls, .document-type--xlsx, .document-type--ods { background: #3b6b35; }
.document-type--ppt, .document-type--pptx, .document-type--odp { background: var(--ambre); color: var(--olive); }
.document-texte { display: grid; gap: .2rem; align-content: start; }
.document-titre { font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.document-description { font-size: .95rem; }
.document-infos { font-size: .85rem; opacity: .8; }
.document-action { grid-column: 2; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-stretch: 90%; }
.document-action svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.panneau--olive .document-lien { box-shadow: 4px 4px 0 var(--ambre); }
@media (max-width: 760px) { .formulaire-duo { grid-template-columns: 1fr; } }

/* ---------- 10. Pied de page ---------- */
.nouvelles-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.nouvelles .titre-section { color: var(--olive); }
.nouvelles-actions { display: grid; gap: 1.5rem; justify-items: start; font-size: 1.15rem; font-weight: 600; }
.pied {
  position: relative; margin-top: calc(-1 * var(--arrondi)); border-radius: var(--arrondi) var(--arrondi) 0 0;
  background: var(--olive) url("../img/topo-kaki.svg") center / cover; color: var(--lin);
  padding: calc(var(--arrondi) + 3.5rem) var(--marge) 2rem;
}
.pied-grille { display: grid; grid-template-columns: auto repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; align-items: start; }
.pied-logo { display: block; width: 15rem; transform: rotate(-3deg); }
.pied-titre { margin: 0 0 .8rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--ambre); }
.pied-bloc p + p { margin-top: .25rem; }
.pied-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-weight: 700; }
.pied-liens a { text-decoration: none; }
.pied-liens a:hover { text-decoration: underline; text-decoration-color: var(--ambre); }
.pied-mention { margin-top: 3rem; padding-top: 1.25rem; border-top: 2px dashed rgba(241, 237, 225, .3); font-size: .9rem; opacity: .85; }

/* ---------- 11. Petits écrans ---------- */
@media (max-width: 56rem) {
  .menu-plein-carte { grid-template-columns: 1fr; }
  .menu-plein-visuel { display: none; }
  .nouvelles-grille, .contact { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-logo { grid-column: 1 / -1; width: 13rem; }
}
@media (min-width: 36.01rem) { .seulement-mobile { display: none !important; } }
@media (max-width: 36rem) {
  .billets--choix .billet:not(.est-actif) { display: none; }
  .barre { --hauteur-barre: 3.5rem; padding: 0 .35rem; }
  .barre-bouton { padding: 0 .85rem; font-size: .85rem; min-height: 2.4rem; }
  /* Sur mobile : l'icône carte seule, le texte reste lu par les lecteurs d'écran */
  .barre-cashless { padding: 0; width: 2.4rem; min-height: 2.4rem; justify-content: center; }
  .barre-cashless-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .barre-logo { width: 7.6rem; top: .45rem; }
  .barre.est-reduite .barre-logo { width: 6.6rem; top: .6rem; }
  .menu-petits { columns: 1; }
  .pied-grille { grid-template-columns: 1fr; }
  .titre-page { min-height: 24rem; }
  .titre-page-menhir { width: 8rem; right: -1rem; opacity: .5; }
  .billet { width: 100%; max-width: 17rem; }
}
@media print {
  .barre, .menu-plein, .annonce, .nouvelles, .ouverture-herbe { display: none !important; }
  .panneau { margin: 0; border-radius: 0; }
}
/* Billets regroupés par billetterie (festival, tremplin…) */
.billets-groupe { margin: 2.5rem 0 1rem; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1; }
.billets-groupe:first-of-type { margin-top: 1rem; }
.billets-groupe span { display: block; margin-top: .35rem; font-size: .55em; font-stretch: 100%; text-transform: none; font-weight: 600; opacity: .85; }
/* Boutique Spreadshirt (Spreadshop) */
.spreadshop { min-height: 32rem; background: #fff; color: #222; border: var(--trait) solid var(--olive); border-radius: 22px; box-shadow: var(--ombre); padding: clamp(.5rem, 2vw, 1.25rem); overflow: hidden; }
.spreadshop-chargement { padding: 6rem 1rem; text-align: center; font-weight: 700; color: var(--olive); }
.spreadshop img { display: inline-block; }
.spreadshop-secours { margin-top: 1rem; text-align: center; font-size: .9rem; }
/* Page 404 : vidéo au centre */
.video-404 { position: relative; margin: 0 auto; max-width: 52rem; }
.video-404 video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--olive-nuit); border: var(--trait) solid var(--olive); border-radius: 22px; box-shadow: var(--ombre); }
.video-404-son { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: 0 1rem 0 .8rem; border: var(--trait) solid var(--olive); border-radius: 999px; background: var(--lin); color: var(--olive); font: 800 .9rem/1 var(--police); font-stretch: 85%; text-transform: uppercase; cursor: pointer; }
.video-404-son:hover { background: var(--ambre); }
.video-404-son svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.video-404-son path:first-child { fill: currentColor; }
.video-404-son .son-on, .video-404-son[aria-pressed="true"] .son-off { display: none; }
.video-404-son[aria-pressed="true"] .son-on { display: inline; }
.texte-404 { margin-top: 2rem; font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }
/* ---------- Agenda feuilletable (façon Calaméo) ---------- */
.agenda { --page-l: min(24rem, 85vw); --page-h: calc(var(--page-l) * 1.4); }
.agenda-scene { display: flex; justify-content: center; perspective: 2400px; padding: 1rem 0; }
.agenda-livre { position: relative; outline: none; }
.agenda-livre:focus-visible { outline: none; }
.agenda--double .agenda-livre:focus-visible .agenda-face, .agenda--simple .agenda-livre:focus-visible .est-courante { outline: 4px solid var(--ambre); outline-offset: -4px; }

/* Sans JavaScript : simple bande de pages à faire défiler */
.agenda:not(.agenda--js) .agenda-livre { width: 100%; }
.agenda:not(.agenda--js) .agenda-pages { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.agenda:not(.agenda--js) .agenda-page { flex: none; width: var(--page-l); height: var(--page-h); scroll-snap-align: center; border-radius: 10px; box-shadow: var(--ombre); }
.agenda:not(.agenda--js) .agenda-commandes, .agenda:not(.agenda--js) .agenda-aide { display: none; }

/* Livre ouvert : deux pages, feuilles qui pivotent autour de la reliure */
.agenda--double .agenda-livre { width: calc(var(--page-l) * 2); height: var(--page-h); transition: transform .7s cubic-bezier(.645, .045, .355, 1); }
.agenda--double .agenda-livre[data-position="debut"] { transform: translateX(calc(var(--page-l) * -.5)); }
.agenda--double .agenda-livre[data-position="fin"] { transform: translateX(calc(var(--page-l) * .5)); }
.agenda--double .agenda-pages { position: absolute; inset: 0; transform-style: preserve-3d; }
.agenda-feuille {
  position: absolute; top: 0; left: 50%; width: var(--page-l); height: var(--page-h);
  transform-origin: left center; transform-style: preserve-3d; cursor: pointer;
  transition: transform .7s cubic-bezier(.645, .045, .355, 1);
}
.agenda-feuille.est-tournee { transform: rotateY(-180deg); }
.agenda-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; box-shadow: 0 10px 30px rgba(53, 48, 15, .35); }
.agenda-face--recto { border-radius: 0 10px 10px 0; }
.agenda-face--verso { transform: rotateY(180deg); border-radius: 10px 0 0 10px; }
/* ombre de la reliure */
.agenda-face::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; pointer-events: none; z-index: 3; }
.agenda-face--recto::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .22), transparent); }
.agenda-face--verso::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .22), transparent); }
.agenda-feuille.est-en-mouvement .agenda-face { box-shadow: 0 20px 50px rgba(53, 48, 15, .45); }
.agenda-page:hover .agenda-folio { color: var(--ambre); }

/* Une page à la fois (téléphone) */
.agenda--simple .agenda-livre { width: var(--page-l); height: var(--page-h); }
.agenda--simple .agenda-pages { position: relative; width: 100%; height: 100%; touch-action: pan-y; }
.agenda--simple .agenda-page {
  position: absolute; inset: 0; border-radius: 10px; box-shadow: 0 10px 30px rgba(53, 48, 15, .35);
  opacity: 0; transform: translateX(35%) rotateY(-25deg); transform-origin: left center; pointer-events: none;
  transition: transform .45s ease, opacity .45s ease;
}
.agenda--simple .agenda-page.est-avant { transform: translateX(-35%) rotateY(25deg); }
.agenda--simple .agenda-page.est-courante { opacity: 1; transform: none; pointer-events: auto; }
.agenda-livre.sans-animation, .sans-animation .agenda-feuille, .sans-animation .agenda-page { transition: none !important; }

/* Contenu des pages (tailles proportionnelles à la page) */
.agenda-page { position: relative; width: 100%; height: 100%; container-type: inline-size; overflow: hidden; background: var(--lin-clair); color: var(--olive); display: flex; flex-direction: column; }
.agenda-face .agenda-page { border-radius: inherit; }
.agenda-folio { position: absolute; bottom: 3cqi; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 3.6cqi; opacity: .7; }

.agenda-page--couverture, .agenda-page--dos { background: var(--olive) url("../img/topo-kaki.svg") center / 180%; color: var(--lin); }
.agenda-couv, .agenda-dos { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 9cqi 7cqi 0; }
.agenda-couv-logo { width: 62cqi; filter: drop-shadow(0 1cqi 0 rgba(0, 0, 0, .3)); }
.agenda-couv-sur { margin-top: 8cqi; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 4cqi; color: var(--lin); }
.agenda-couv-titre { margin: 1.5cqi 0 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 15cqi; line-height: .88; color: var(--ambre); text-wrap: balance; }
.agenda-couv-saison { margin-top: 3cqi; font-weight: 700; font-size: 5.2cqi; }
.agenda-couv-menhir { margin-top: auto; width: 46cqi; translate: 0 6%; }
.agenda-couv-bas { position: absolute; bottom: 3.5cqi; left: 0; right: 0; font-size: 3.4cqi; font-weight: 700; opacity: .8; }

.agenda-visuel { position: relative; z-index: 2; height: 54%; flex: none; background: var(--olive-nuit); border-bottom: 1cqi solid var(--olive); }
.agenda-visuel-image { position: absolute; inset: 0; overflow: hidden; }
.agenda-visuel-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agenda-visuel--motif { background: var(--kaki) url("../img/topo-olive.svg") center / 200%; }
.agenda-visuel--motif .agenda-visuel-image { display: grid; place-items: center; }
.agenda-visuel--motif .agenda-visuel-image img { width: 34%; height: auto; }
.agenda-date {
  position: absolute; left: 5cqi; bottom: 0; translate: 0 32%; z-index: 2; display: grid; justify-items: center; line-height: 1;
  min-width: 25cqi; padding: 2.4cqi 3.5cqi 2.6cqi; background: var(--ambre); color: var(--olive); border: .9cqi solid var(--olive); border-radius: 4cqi;
  box-shadow: 1.4cqi 1.4cqi 0 var(--olive); rotate: -3deg;
}
.agenda-date-jour { font-weight: 800; text-transform: uppercase; font-size: 3.3cqi; letter-spacing: .04em; }
.agenda-date-num { font-weight: 800; font-stretch: 75%; font-size: 15cqi; line-height: .9; }
.agenda-date-mois { font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 3.6cqi; }
.agenda-texte { flex: 1; display: flex; flex-direction: column; gap: 2.2cqi; padding: 15cqi 7cqi 11cqi; min-height: 0; }
.agenda-titre { margin: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 9cqi; line-height: .95; text-wrap: balance; }
.agenda-infos { font-weight: 700; font-size: 4.2cqi; padding-bottom: 2.2cqi; border-bottom: .6cqi dashed var(--kaki); }
.agenda-description { font-size: 4cqi; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.agenda-lien { margin-top: auto; }
.agenda-lien a { display: inline-block; padding: 2cqi 4.5cqi; border-radius: 99px; background: var(--olive); color: var(--lin); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 3.6cqi; text-decoration: none; }
.agenda-lien a:hover { background: var(--ambre); color: var(--olive); }

.agenda-page--bonus { background: var(--kaki) url("../img/topo-olive.svg") center / 200%; }
.agenda-bonus { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqi; text-align: center; padding: 8cqi; font-size: 4.2cqi; }
.agenda-bonus img { width: 30cqi; }
.agenda-bonus-titre { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 9cqi; line-height: .95; }
.agenda-bonus .reseaux { justify-content: center; }
.agenda-dos { justify-content: center; gap: 2.5cqi; padding-bottom: 8cqi; font-size: 4.4cqi; }
.agenda-dos-titre { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 11cqi; line-height: .9; color: var(--ambre); }
.agenda-dos-date { font-weight: 800; font-size: 7cqi; }
.agenda-dos-logo { width: 50cqi; margin-top: 6cqi; }
.agenda-dos-site { font-weight: 700; opacity: .8; }

/* Commandes */
.agenda-commandes { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.25rem; }
.agenda-bouton { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: var(--trait) solid var(--olive); background: var(--ambre); color: var(--olive); cursor: pointer; box-shadow: 0 3px 0 var(--olive); transition: transform .15s ease, box-shadow .15s ease; }
.agenda-bouton:hover:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--olive); }
.agenda-bouton:disabled { opacity: .35; cursor: default; }
.agenda-bouton svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.agenda-bouton--ecran { margin-left: .8rem; background: var(--lin); }
.agenda-compteur { min-width: 6.5rem; text-align: center; font-weight: 800; font-stretch: 85%; font-size: 1.1rem; }
.agenda-aide { text-align: center; margin-top: .6rem; font-size: .9rem; opacity: .75; }
.agenda--simple .agenda-aide::after { content: " Sur téléphone : glissez du doigt."; }
.agenda:fullscreen { background: var(--olive) url("../img/topo-kaki.svg") center / cover; color: var(--lin); display: flex; flex-direction: column; justify-content: center; padding: 1rem; }
.agenda:fullscreen .agenda-bouton { border-color: var(--lin); box-shadow: 0 3px 0 var(--lin); }

/* Agenda : deuxième de couverture (tous les rendez-vous d'un coup d'œil) */
.agenda-page--sommaire { background: var(--lin); padding: 7% 6.5% 8%; gap: 4%; } /* en %, car la page est elle-même le repère des tailles cqi */
.agenda-som-titre { position: relative; margin: 0; display: grid; justify-items: center; text-align: center; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .82; letter-spacing: -.01em; transform: skewX(-6deg); }
.agenda-som-les { font-stretch: 75%; font-size: 13.5cqi; color: var(--olive); max-width: 80cqi; text-wrap: balance; }
.agenda-som-du { position: relative; z-index: 1; margin-top: -2.2cqi; padding: .6cqi 2.4cqi 0; background: var(--lin); border-radius: 50% 50% 0 0; font-stretch: 85%; font-size: 5cqi; color: var(--olive); }
.agenda-som-menhir { font-stretch: 75%; font-size: 14cqi; color: var(--ambre); text-shadow: 0 .9cqi 0 #fff; margin-top: -.5cqi; }
.agenda-som-titre img { position: absolute; right: 2cqi; bottom: -1cqi; width: 17cqi; transform: skewX(6deg) rotate(4deg); }
.agenda-som-liste { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: clamp(.6cqi, calc(14cqi / var(--lignes, 5)), 3cqi); }
.agenda-som-ligne { flex: 1 1 0; max-height: 19cqi; min-height: 0; container-type: size; display: flex; align-items: center; gap: 4cqi; padding: 0 4cqi; background: var(--lin-clair); border-radius: 4cqi; color: #3c2f17; }
.agenda-som-date { flex: none; width: 22%; display: grid; justify-items: center; line-height: .85; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.agenda-som-num { font-size: min(52cqh, 16cqw); }
.agenda-som-mois { font-size: min(17cqh, 4.4cqw); margin-top: 4cqh; letter-spacing: -.01em; }
.agenda-som-quoi { min-width: 0; flex: 1; display: grid; gap: 4cqh; padding-left: 4cqw; border-left: min(3.2cqh, .9cqw) solid var(--olive); align-self: stretch; align-content: center; margin: 14cqh 0; }
.agenda-som-quoi strong { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: min(30cqh, 6.6cqw); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-som-quoi span { font-weight: 700; font-stretch: 78%; font-size: min(20cqh, 4.5cqw); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-som-ligne--festival { background: var(--olive); color: var(--lin); }
.agenda-som-ligne--festival .agenda-som-quoi { border-left-color: var(--ambre); }
.agenda-page--sommaire .agenda-folio { bottom: 2.5cqi; }

.agenda-feuille .agenda-face--recto { visibility: visible; transition: visibility 0s linear .35s; }
.agenda-feuille .agenda-face--verso { visibility: hidden; transition: visibility 0s linear .35s; }
.agenda-feuille.est-tournee .agenda-face--recto { visibility: hidden; }
.agenda-feuille.est-tournee .agenda-face--verso { visibility: visible; }
.sans-animation .agenda-face { transition: none !important; }
/* Mesure d'audience : case d'opposition (mentions légales) */
.mesure-choix { display: flex; align-items: flex-start; gap: .75rem; margin: 1rem 0; padding: 1rem 1.25rem; border: 2px solid var(--olive); border-radius: 16px; background: var(--lin-clair); }
.mesure-choix input { flex: none; width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; accent-color: var(--ambre); cursor: pointer; }
.mesure-choix label { cursor: pointer; font-weight: 600; }
