/* ==========================================================================
   LE ROUDOUR — Pôle culturel, Saint-Martin-des-Champs
   Saison 2026/2027 — Direction artistique « Pleins feux »
   CSS mobile-first, sans framework.
   ========================================================================== */

/* ---------- 1. Fondations ---------- */
:root {
  /* Couleurs de marque */
  --nuit: #0f1620;          /* salle éteinte */
  --nuit-2: #16202e;        /* panneaux */
  --papier: #f7f4ee;        /* sections claires */
  --encre: #1c2430;         /* texte sur papier */
  --brand: #4fb3a5;         /* vert d'eau Roudour */
  --brand-fonce: #2e7d72;   /* vert accessible sur fond clair */
  --chaleur: #e4574a;       /* corail : appels à l'action billetterie */
  --chaleur-fonce: #c23b2f;
  --or: #d9a441;            /* lumière de scène */
  --gris: #8b95a3;
  --blanc: #ffffff;

  /* Accent par défaut (surchargé par spectacle via data-accent) */
  --accent: var(--brand);

  /* Typographie */
  --f-display: "Anton", "Arial Narrow", sans-serif;
  --f-body: "Jost", "Century Gothic", "Segoe UI", sans-serif;

  /* Rythme */
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3rem, 8vw, 6.5rem);
  --radius: 14px;
  --ombre: 0 18px 50px -18px rgba(6, 10, 16, .55);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-fonce); text-underline-offset: 3px; }
a:hover { color: var(--chaleur-fonce); }

h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; }

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

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--chaleur); color: var(--blanc);
  padding: .6rem 1.2rem; border-radius: 0 0 8px 8px;
  font-weight: 600; text-decoration: none; z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: var(--blanc); }

/* Focus visible partout */
:focus-visible {
  outline: 3px solid var(--chaleur);
  outline-offset: 2px;
  border-radius: 3px;
}

.conteneur {
  width: min(1180px, 100% - 2 * var(--gouttiere));
  margin-inline: auto;
}

/* ---------- 2. En-tête & navigation ---------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 22, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.entete__barre {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .65rem 0;
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; flex: none;
  transition: opacity .18s ease, transform .18s ease;
}
.logo img { height: 46px; width: auto; display: block; }
.logo:hover, .logo:focus-visible { opacity: .85; transform: scale(1.02); }
@media (max-width: 400px) { .logo img { height: 38px; } }

.nav-toggle {
  appearance: none; background: none; border: 2px solid rgba(255,255,255,.25);
  border-radius: 8px; color: var(--blanc);
  font: 600 .85rem/1 var(--f-body); letter-spacing: .1em;
  padding: .55rem .9rem; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }

.nav {
  display: none;
  position: absolute; inset: 100% 0 auto 0;
  background: #0a0f16;
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--ombre);
}
.nav.est-ouvert { display: block; }
.nav ul { list-style: none; margin: 0; padding: .8rem var(--gouttiere) 1.2rem; }

/* Liens : blanc pur, capitales, soulignement animé au survol */
.nav a {
  position: relative;
  display: block; padding: .85rem .8rem;
  color: var(--blanc); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .1em;
  border-left: 4px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease, padding-left .2s ease;
}
.nav a::after {
  content: "";
  position: absolute; left: .8rem; right: 40%; bottom: .45rem;
  height: 3px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s ease;
}
.nav a:hover, .nav a:focus-visible {
  color: var(--brand);
  background: rgba(79, 179, 165, .12);
  border-left-color: var(--brand);
  padding-left: 1.1rem;
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav a[aria-current="page"] {
  color: var(--blanc);
  border-left-color: var(--chaleur);
}
.nav a[aria-current="page"]::after {
  transform: scaleX(1); background: var(--chaleur); right: 40%;
}
@media (prefers-reduced-motion: reduce) {
  .nav a, .nav a::after { transition: none; }
}

.nav .nav__cta {
  margin-top: .9rem; text-align: center;
  background: var(--chaleur); color: var(--blanc);
  border-radius: 999px; border: none; font-weight: 700;
  letter-spacing: .1em;
}
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover, .nav .nav__cta:focus-visible {
  background: var(--blanc); color: var(--chaleur-fonce);
  padding-left: .8rem; transform: translateY(-2px);
}

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .nav {
    display: block; position: static;
    background: none; border: 0; box-shadow: none;
  }
  .nav ul { display: flex; align-items: center; gap: .15rem; padding: 0; }
  .nav a {
    border-left: 0; padding: .6rem .8rem .8rem; font-size: .82rem;
    letter-spacing: .13em;
  }
  .nav a::after { left: .8rem; right: .8rem; bottom: .3rem; }
  .nav a:hover, .nav a:focus-visible {
    background: none; padding-left: .8rem;
    color: var(--blanc); text-shadow: 0 0 18px rgba(79,179,165,.9);
  }
  .nav a[aria-current="page"] { border-left: 0; }
  .nav a[aria-current="page"]::after { right: .8rem; }
  .nav .nav__cta { margin: 0 0 0 .7rem; padding: .55rem 1.3rem .55rem; }
  .nav .nav__cta:hover { padding-left: 1.3rem; }
}

/* ---------- 3. Héros « scène » ---------- */
.heros {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(217,164,65,.28), transparent 60%),
    radial-gradient(900px 480px at 12% 8%, rgba(79,179,165,.22), transparent 55%),
    linear-gradient(180deg, #131c29 0%, var(--nuit) 70%);
  color: var(--blanc);
  padding: calc(var(--section) * 1.1) 0 var(--section);
}
/* Photo de fond (accueil) : le bâtiment du Roudour sous voile nocturne */
.heros__media {
  position: absolute; inset: 0; z-index: 0;
}
.heros__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.heros__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 16, 24, .93) 0%, rgba(11, 16, 24, .82) 45%, rgba(13, 19, 28, .55) 100%),
    linear-gradient(180deg, rgba(15, 22, 32, .55) 0%, transparent 35%, rgba(15, 22, 32, .96) 96%);
}
.heros > .conteneur { position: relative; z-index: 2; }

/* pinceau de lumière */
.heros::before {
  content: "";
  position: absolute; inset: -40% -10% auto;
  height: 130%;
  z-index: 1;
  background: conic-gradient(from 195deg at 70% 0%,
    transparent 0 40deg, rgba(255, 236, 200, .07) 47deg,
    transparent 58deg, transparent 100deg,
    rgba(255, 236, 200, .05) 108deg, transparent 120deg);
  pointer-events: none;
}
.heros__sur-titre {
  font-size: .8rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin: 0 0 1rem;
}
.heros h1 {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 9vw, 5.8rem);
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.heros h1 .ligne-2 { color: var(--brand); display: block; }
.heros p.accroche {
  max-width: 34em; font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #cfd6de; margin: 0 0 2rem;
}
.heros__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Entrée orchestrée du héros */
@media (prefers-reduced-motion: no-preference) {
  .heros [data-entree] {
    opacity: 0; transform: translateY(22px);
    animation: lever-de-rideau .7s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .heros [data-entree="2"] { animation-delay: .12s; }
  .heros [data-entree="3"] { animation-delay: .24s; }
  .heros [data-entree="4"] { animation-delay: .36s; }
  @keyframes lever-de-rideau { to { opacity: 1; transform: none; } }
}

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font: 600 1rem/1.1 var(--f-body); letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: scale(.97); }
.btn--plein { background: var(--chaleur); color: var(--blanc); }
.btn--plein:hover { background: var(--chaleur-fonce); color: var(--blanc); }
.btn--contour { border-color: rgba(255,255,255,.4); color: var(--blanc); }
.btn--contour:hover { border-color: var(--brand); color: var(--brand); }
.btn--clair { border-color: var(--brand-fonce); color: var(--brand-fonce); }
.btn--clair:hover { background: var(--brand-fonce); color: var(--blanc); }

/* ---------- 5. Sections ---------- */
.section { padding-block: var(--section); }
.section--nuit { background: var(--nuit); color: var(--blanc); }
.section--panneau { background: var(--nuit-2); color: var(--blanc); }
.section__titre {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 5.4vw, 3.1rem);
  text-transform: uppercase; letter-spacing: .02em;
}
.section__titre em {
  font-style: normal; color: var(--accent);
}
.section--nuit .section__titre em { color: var(--brand); }
.section__intro { max-width: 46em; color: inherit; opacity: .85; }

/* Révélation au scroll */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.est-visible {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 6. Cartes spectacles ---------- */
.grille-spectacles {
  display: grid; gap: 1.3rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 640px)  { .grille-spectacles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grille-spectacles { grid-template-columns: repeat(3, 1fr); } }

.carte {
  --a: var(--accent);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--nuit-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
  color: var(--blanc);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
}
.carte:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -20px rgba(6,10,16,.7); }
@media (prefers-reduced-motion: reduce) { .carte, .carte:hover { transform: none; } }

.carte__visuel {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--a) 55%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--a) 30%, var(--nuit)) 0%, var(--nuit) 85%);
  position: relative; overflow: hidden;
}
.carte__visuel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  transition: transform .5s ease;
}
.carte:hover .carte__visuel img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .carte:hover .carte__visuel img { transform: none; } }

/* Affiche typographique de secours (si pas de photo) */
.carte__monogramme {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: clamp(3.6rem, 9vw, 5rem);
  color: color-mix(in srgb, var(--a) 80%, white);
  text-shadow: 0 10px 40px rgba(0,0,0,.5);
  letter-spacing: .05em;
}

.carte__date {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(12, 17, 25, .82);
  border-left: 4px solid var(--a);
  padding: .4rem .8rem .45rem;
  border-radius: 8px;
  font-weight: 600; font-size: .86rem; letter-spacing: .06em;
  text-transform: uppercase;
}
.carte__corps { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.carte__genre {
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: color-mix(in srgb, var(--a) 75%, white); font-weight: 600;
}
.carte__titre {
  font-family: var(--f-display);
  font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase;
  margin: 0;
}
.carte__titre a { color: inherit; text-decoration: none; }
.carte__titre a::after { content: ""; position: absolute; inset: 0; } /* carte cliquable */
.carte__titre a:focus-visible::after { outline: 3px solid var(--chaleur); outline-offset: -3px; border-radius: var(--radius); }
.carte__infos {
  margin-top: auto; padding-top: .6rem;
  display: flex; flex-wrap: wrap; gap: .45rem;
  font-size: .84rem; color: #c3ccd6;
}
.carte__infos span {
  background: rgba(255,255,255,.07);
  border-radius: 999px; padding: .18rem .7rem;
}

/* Filtres programmation */
.filtres {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem;
}
.filtres button {
  appearance: none; cursor: pointer;
  background: none; border: 2px solid rgba(255,255,255,.25);
  color: #dfe5ec; border-radius: 999px;
  font: 600 .9rem/1 var(--f-body); letter-spacing: .05em;
  padding: .55rem 1.1rem;
  transition: border-color .18s, color .18s, background .18s;
}
.filtres button:hover { border-color: var(--brand); color: var(--brand); }
.filtres button[aria-pressed="true"] {
  background: var(--brand); border-color: var(--brand); color: var(--nuit);
}

/* ---------- 7. Fiche spectacle ---------- */
.fiche-heros {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 80% -10%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 65%),
    linear-gradient(180deg, #141d2a, var(--nuit) 75%);
  color: var(--blanc);
  padding: calc(var(--section) * .8) 0;
}
.fiche-heros .fil-ariane { font-size: .85rem; margin-bottom: 1.6rem; }
.fil-ariane a { color: #b9c2cd; }
.fil-ariane [aria-current] { color: var(--blanc); }
.fiche-heros__grille { display: grid; gap: 2rem; }
@media (min-width: 880px) {
  .fiche-heros__grille { grid-template-columns: 1.15fr .85fr; align-items: center; }
}
.fiche-heros h1 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  text-transform: uppercase; letter-spacing: .015em;
}
.fiche-heros .sous-titre {
  font-size: 1rem; letter-spacing: .3em; text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 80%, white); font-weight: 600;
  margin: 0 0 1.2rem;
}
.fiche-heros__meta {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem;
  font-weight: 600; font-size: .95rem;
}
.fiche-heros__meta li {
  list-style: none;
  background: rgba(255,255,255,.08);
  border-left: 3px solid var(--accent);
  padding: .45rem .95rem; border-radius: 8px;
}
.fiche-heros__meta ul { display: contents; }
.fiche-heros__visuel {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 28%, var(--nuit)), var(--nuit));
  position: relative;
}
.fiche-heros__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fiche-heros__visuel figcaption {
  position: absolute; right: .6rem; bottom: .5rem;
  font-size: .72rem; color: rgba(255,255,255,.75);
  background: rgba(12,17,25,.6); padding: .15rem .55rem; border-radius: 6px;
}

.fiche-corps { display: grid; gap: 2.5rem; }
@media (min-width: 880px) { .fiche-corps { grid-template-columns: 1.4fr .6fr; } }
.fiche-corps h2 {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: 1.5rem; letter-spacing: .03em;
}
.fiche-corps .breton {
  font-style: italic; color: #4c5a68;
  border-left: 4px solid var(--accent);
  padding-left: 1rem; margin-top: 1.6rem;
}
.encart {
  background: var(--blanc); border-radius: var(--radius);
  box-shadow: 0 10px 34px -18px rgba(28,36,48,.35);
  padding: 1.4rem 1.5rem; margin-bottom: 1.4rem;
}
.encart h2, .encart h3 {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .04em; margin-bottom: .8rem;
}
.encart ul { margin: 0; padding-left: 1.1rem; }
.encart li { margin-bottom: .35rem; }
.distribution { font-size: .95rem; }
.distribution b { color: var(--encre); }

/* ---------- 8. Bandeaux pratiques ---------- */
.bandeau-billetterie {
  background: linear-gradient(120deg, var(--chaleur) 0%, #c94a3d 100%);
  color: var(--blanc); border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem;
  justify-content: space-between;
  box-shadow: var(--ombre);
}
.bandeau-billetterie strong { font-size: 1.15rem; }
.bandeau-billetterie .btn { background: var(--blanc); color: var(--chaleur-fonce); }
.bandeau-billetterie .btn:hover { background: var(--nuit); color: var(--blanc); }

/* Tableau tarifs */
.tableau-roule { overflow-x: auto; }
table.tarifs {
  width: 100%; border-collapse: collapse; min-width: 430px;
  background: var(--blanc); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 34px -18px rgba(28,36,48,.35);
}
.tarifs caption {
  text-align: left; font-weight: 600; padding: .8rem 1rem;
  background: var(--nuit); color: var(--blanc);
}
.tarifs th, .tarifs td { padding: .8rem 1rem; text-align: left; }
.tarifs thead th {
  background: var(--brand-fonce); color: var(--blanc);
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
}
.tarifs tbody tr:nth-child(even) { background: #eef2ef; }
.tarifs td:first-child { font-weight: 700; }

/* Listes horaires */
.horaires dt { font-weight: 700; margin-top: .8rem; }
.horaires dd { margin: 0 0 .3rem; }

/* ---------- 9. Formulaires (Brevo) ---------- */
.formulaire {
  background: var(--blanc); border-radius: var(--radius);
  box-shadow: var(--ombre); padding: clamp(1.4rem, 4vw, 2.4rem);
  max-width: 720px;
}
.champ { margin-bottom: 1.2rem; }
.champ label { display: block; font-weight: 600; margin-bottom: .35rem; }
.champ .aide { font-size: .85rem; color: #5a6674; margin: .2rem 0 0; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: .8rem .95rem;
  border: 2px solid #c9d1da; border-radius: 10px;
  font: inherit; color: var(--encre); background: #fdfdfc;
}
.champ input:focus, .champ textarea:focus {
  outline: none; border-color: var(--brand-fonce);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent);
}
.champ [aria-invalid="true"] { border-color: var(--chaleur-fonce); }
.champ .erreur { color: var(--chaleur-fonce); font-size: .88rem; font-weight: 600; margin-top: .3rem; }
.champ--consentement { display: flex; gap: .7rem; align-items: flex-start; }
.champ--consentement input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; }
.champ--consentement label { font-weight: 400; font-size: .92rem; }
/* pot de miel antispam : caché aux humains, pas aux robots */
.champ-nectar { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-message { border-radius: 10px; padding: 1rem 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.form-message--ok { background: #e2f3ec; color: #17614a; border: 1px solid #9ed4bf; }
.form-message--erreur { background: #fde9e6; color: #a02c20; border: 1px solid #f0b3aa; }

/* ---------- 10. Pied de page ---------- */
.pied {
  background: var(--nuit); color: #c3ccd6;
  padding: var(--section) 0 2rem;
  font-size: .95rem;
}
.pied a { color: #dfe5ec; }
.pied a:hover { color: var(--brand); }
.pied__grille { display: grid; gap: 2rem; }
@media (min-width: 760px) { .pied__grille { grid-template-columns: repeat(3, 1fr); } }
.pied h2 {
  font-family: var(--f-display); font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--blanc);
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: .45rem; }
.pied__mentions {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: var(--gris);
}

/* ---------- 11. Bannière de consentement (Matomo) ---------- */
.banniere-consentement {
  position: fixed; inset: auto 1rem 1rem;
  z-index: 300;
  background: var(--nuit-2); color: #dfe5ec;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); box-shadow: var(--ombre);
  padding: 1.2rem 1.4rem; max-width: 30rem;
}
.banniere-consentement p { margin: 0 0 .9rem; font-size: .92rem; }
.banniere-consentement .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.banniere-consentement .btn { padding: .55rem 1.2rem; font-size: .9rem; }
[hidden] { display: none !important; }

/* ---------- 12. Utilitaires ---------- */
.pastille {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent); color: var(--nuit);
  border-radius: 999px; padding: .28rem .85rem;
}
.expo-visuel {
  border-radius: var(--radius); overflow: hidden;
  margin: 0 0 1.1rem; aspect-ratio: 4 / 3;
  background: #e8e4da;
  box-shadow: 0 10px 34px -18px rgba(28,36,48,.35);
  position: relative;
}
.expo-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expo-credit { font-size: .8rem; color: #5a6674; margin: .5rem 0 1.1rem; font-style: italic; }
.note-a-confirmer {
  background: #fff7e0; border: 1px dashed #d9a441;
  border-radius: 10px; padding: .8rem 1rem; font-size: .92rem;
}
.grille-2 { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .grille-2 { grid-template-columns: 1fr 1fr; } }
.grille-3 { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .grille-3 { grid-template-columns: repeat(3, 1fr); } }

/* Impression */
@media print {
  .entete, .pied, .banniere-consentement, .skip-link, .filtres { display: none; }
  body { background: #fff; color: #000; }
}
