/* =========================================================
   Le Mas de Clem — thème du site vitrine
   ========================================================= */
:root {
  --creme: #f6f1ea;
  --sable: #ebe2d6;
  --pierre: #d8cbb9;
  --encre: #2a2622;
  --encre-douce: #5e554c;
  --olive: #7d7350;
  --or: #b0915a;
  --nuit: #16130f;
  --nuit-2: #221d18;
  --blanc: #fffdf9;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --largeur: 1200px;
  --gouttiere: clamp(20px, 5vw, 56px);
  --espace: clamp(72px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 1.1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo utilitaires ---------- */
.surtitre {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 18px;
}
.titre {
  font-size: clamp(32px, 4.6vw, 54px);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.titre em { font-style: italic; text-transform: none; letter-spacing: 0; color: var(--olive); }
.chapo { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.6; color: var(--encre-douce); }
.filet { width: 56px; height: 1px; background: var(--or); border: 0; margin: 28px auto; }
.filet--gauche { margin-left: 0; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block;
  padding: 16px 34px;
  border: 1px solid currentColor;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.bouton:hover, .bouton:focus-visible { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.bouton--clair:hover, .bouton--clair:focus-visible { background: var(--blanc); border-color: var(--blanc); color: var(--encre); }
.bouton--plein { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.bouton--plein:hover, .bouton--plein:focus-visible { background: var(--olive); border-color: var(--olive); }
.lien-fleche {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--or); padding-bottom: 4px;
}
.lien-fleche::after { content: " →"; }

/* ---------- Conteneurs ---------- */
.conteneur { max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.conteneur--etroit { max-width: 820px; }
.section { padding-block: var(--espace); }
.section--sable { background: var(--sable); }
.section--nuit { background: var(--nuit); color: var(--creme); }
.section--nuit .titre em { color: var(--or); }
.section--nuit .chapo { color: #cfc4b6; }
.centre { text-align: center; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--blanc);
  transition: background .4s, color .4s, box-shadow .4s;
}
.entete__barre {
  max-width: 1400px; margin: 0 auto; padding: 22px var(--gouttiere);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .4s;
}
.entete--plein, .entete--fixe {
  background: rgba(246, 241, 234, .97);
  color: var(--encre);
  box-shadow: 0 1px 0 rgba(42, 38, 34, .08);
  backdrop-filter: blur(6px);
}
.entete--fixe .entete__barre { padding-block: 14px; }
.logo { text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__nom { font-family: var(--serif); font-size: 25px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.logo__image { display: block; height: 46px; width: auto; max-width: min(300px, 55vw); transition: height .4s, filter .4s; }
.entete--fixe .logo__image { height: 36px; }
.pied .logo__image { height: 56px; }
/* Logo blanc : foncé automatiquement quand l'en-tête est sur fond clair */
.entete--plein .logo__image--clair, .entete--fixe .logo__image--clair { filter: brightness(0); opacity: .85; }
.menu-ouvert .entete .logo__image--clair { filter: none; opacity: 1; }
@media (max-width: 600px) { .logo__image { height: 36px; } .entete--fixe .logo__image { height: 30px; } }
.logo__lieu { font-size: 9px; letter-spacing: .5em; text-transform: uppercase; margin-top: 7px; opacity: .8; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav__liste { display: flex; gap: clamp(16px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__lien {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav__lien:hover, .nav__lien[aria-current="page"] { border-bottom-color: var(--or); }
.nav .bouton { padding: 12px 22px; }
.burger { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 1060px) {
  .burger { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 36px;
    background: var(--nuit); color: var(--creme);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav__liste { flex-direction: column; align-items: center; gap: 22px; }
  .nav__lien { font-family: var(--serif); font-size: 30px; letter-spacing: .12em; }
  .menu-ouvert .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter enfermait le menu (position fixed) dans la barre une fois la page défilée */
  .menu-ouvert .entete { color: var(--creme); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-ouvert .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-ouvert .burger span:nth-child(2) { opacity: 0; }
  .menu-ouvert .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu-ouvert { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  color: var(--blanc); overflow: hidden; background: var(--nuit);
}
.hero--page { min-height: 62vh; min-height: 62svh; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoom 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,19,15,.55) 0%, rgba(22,19,15,.35) 45%, rgba(22,19,15,.7) 100%); }
.hero__contenu { position: relative; z-index: 1; padding: 140px var(--gouttiere) 90px; max-width: 980px; }
.hero__visuel { display: block; margin: 0 auto 30px; width: auto; height: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 30px rgba(0,0,0,.35)); animation: affiche 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero__visuel--petite { max-height: 90px; max-width: min(300px, 70vw); }
.hero__visuel--moyenne { max-height: 170px; max-width: min(560px, 82vw); }
.hero__visuel--grande { max-height: 280px; max-width: min(860px, 90vw); }
.hero--page .hero__visuel--grande { max-height: 220px; }
.hero__titre { font-size: clamp(36px, 6.4vw, 78px); text-transform: uppercase; letter-spacing: .08em; }
.hero--page .hero__titre { font-size: clamp(36px, 5.6vw, 66px); }
.hero__sous-titre { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.3vw, 26px); margin: 22px 0 38px; opacity: .92; }
.hero .surtitre { color: #e6d3ad; }
.hero__defiler {
  position: absolute; z-index: 1; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 56px; background: linear-gradient(var(--blanc), transparent);
}
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Blocs texte + image ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.duo--inverse .duo__media { order: 2; }
.duo__media { position: relative; }
.duo__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo__media--paysage img { aspect-ratio: 4 / 3; }
.duo__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--pierre); z-index: -1;
}
.duo--inverse .duo__media::before { inset: 24px 24px -24px -24px; }
.duo__texte .titre { margin-bottom: 8px; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo--inverse .duo__media { order: 0; }
  .duo__media::before { display: none; }
}

/* ---------- Cartes univers ---------- */
.univers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); margin-top: 56px; }
.carte { position: relative; display: block; color: var(--blanc); text-decoration: none; overflow: hidden; aspect-ratio: 3 / 4; background: var(--nuit); }
.carte img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.carte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(22,19,15,.82)); }
.carte__texte { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 30px; text-align: center; }
.carte__titre { font-size: 30px; text-transform: uppercase; letter-spacing: .12em; }
.carte__lien { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.carte:hover img, .carte:focus-visible img { transform: scale(1.06); }
@media (max-width: 860px) { .univers { grid-template-columns: 1fr; } .carte { aspect-ratio: 4 / 3; } }

/* ---------- Lumières (section signature) ---------- */
.lumieres { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.lumieres__ecran { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.lumieres__ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.lumieres__ecran img.actif { opacity: 1; }
.pastilles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.pastille {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0;
  background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 18px -2px var(--c);
  transition: transform .25s, border-color .25s;
}
.pastille:hover { transform: scale(1.12); }
.pastille[aria-pressed="true"] { border-color: var(--creme); transform: scale(1.12); }
.lumieres--inverse { grid-template-columns: 1fr 1.35fr; }
.lumieres--inverse .lumieres__ecran { order: 2; }
.section:not(.section--nuit) .pastille { box-shadow: 0 0 0 1px rgba(42,38,34,.15), 0 0 14px -4px var(--c); }
.section:not(.section--nuit) .pastille[aria-pressed="true"] { border-color: var(--encre); }
.section:not(.section--nuit) .pastille-nom { color: var(--encre-douce); }
.pastille-nom { margin-top: 16px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #cfc4b6; min-height: 1.6em; }
@media (max-width: 860px) { .lumieres, .lumieres--inverse { grid-template-columns: 1fr; } .lumieres--inverse .lumieres__ecran { order: 0; } }

/* ---------- Équipements ---------- */
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pierre); border: 1px solid var(--pierre); margin-top: 56px; }
.atout { background: var(--creme); padding: 40px 32px; text-align: center; }
.section--sable .atout { background: var(--sable); }
.atout svg { width: 38px; height: 38px; stroke: var(--olive); fill: none; stroke-width: 1.2; margin: 0 auto 18px; display: block; }
.atout h3 { font-size: 23px; letter-spacing: .04em; margin-bottom: 8px; }
.atout p { font-size: 15px; color: var(--encre-douce); margin: 0; }
@media (max-width: 860px) { .atouts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .atouts { grid-template-columns: 1fr; } }

/* ---------- Étapes (déroulé) ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 56px; counter-reset: etape; }
.etape { text-align: center; }
.etape::before {
  counter-increment: etape; content: counter(etape, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 52px; color: var(--or); line-height: 1; margin-bottom: 14px;
}
.etape h3 { font-size: 26px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.etape p { color: var(--encre-douce); font-size: 16px; }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Bandeau photo ---------- */
.bandeau { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; color: var(--blanc); overflow: hidden; }
.bandeau img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau::after { content: ""; position: absolute; inset: 0; background: rgba(22, 19, 15, .55); }
.bandeau__contenu { position: relative; z-index: 1; padding: 80px var(--gouttiere); max-width: 860px; }
.bandeau .titre em { color: #e6d3ad; }

/* ---------- Galerie ---------- */
.mosaique { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 24vw, 330px); grid-auto-flow: dense; gap: 16px; margin-top: 48px; }
.mosaique a { display: block; overflow: hidden; background: var(--sable); min-width: 0; }
.mosaique a[hidden] { display: none; }
.mosaique .mosaique__large { grid-column: span 2; }
.mosaique .mosaique__haute { grid-row: span 2; }
.mosaique .mosaique__grande { grid-column: span 2; grid-row: span 2; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, opacity .4s; }
@media (max-width: 760px) { .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 10px; } }
.mosaique a:hover img { transform: scale(1.04); }
.filtres { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; }
.filtre { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--encre-douce); cursor: pointer; border-bottom: 1px solid transparent; }
.filtre[aria-pressed="true"] { color: var(--encre); border-bottom-color: var(--or); }
.visionneuse {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 10, 8, .95);
  display: grid; place-items: center; padding: 60px 16px;
}
.visionneuse[hidden] { display: none; }
.visionneuse img { max-height: 86vh; width: auto; max-width: 100%; }
.visionneuse button { position: absolute; background: none; border: 0; color: var(--creme); font-size: 34px; cursor: pointer; padding: 12px 18px; font-family: var(--serif); }
.visionneuse__fermer { top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; }
.visionneuse__prec { left: 6px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Galerie aperçu (accueil) ---------- */
.apercu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.apercu img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) { .apercu { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 100px); }
.coordonnees dl { margin: 32px 0 0; }
.coordonnees dt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-top: 26px; }
.coordonnees dd { margin: 6px 0 0; font-family: var(--serif); font-size: 22px; }
.coordonnees a { text-decoration: none; border-bottom: 1px solid var(--pierre); }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--encre-douce); }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 16px; color: var(--encre);
  background: transparent; border: 0; border-bottom: 1px solid var(--pierre); border-radius: 0;
  padding: 10px 0; outline: none; transition: border-color .3s; width: 100%;
}
.champ textarea { min-height: 140px; resize: vertical; border: 1px solid var(--pierre); padding: 14px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--olive); }
.champ .erreur { color: #9b3b2e; font-size: 14px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-flash { grid-column: 1 / -1; padding: 18px 22px; background: var(--sable); border-left: 2px solid var(--olive); font-family: var(--serif); font-size: 20px; }
.message-flash--erreur { border-left-color: #9b3b2e; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .formulaire { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: #cfc4b6; padding: 90px 0 calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.pied .logo { align-items: flex-start; color: var(--creme); }
.pied__titre { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-bottom: 18px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--creme); }
.pied__bas { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; opacity: .7; }
@media (max-width: 760px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ---------- */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .hero__image { animation: none; }
  .lumieres__ecran img, .carte img, .mosaique img { transition: none; }
}

/* ---------- Constructeur de pages ---------- */
.univers { grid-template-columns: repeat(var(--colonnes, 3), 1fr); }
.etapes { grid-template-columns: repeat(var(--colonnes, 3), 1fr); }
@media (max-width: 860px) { .univers, .etapes { grid-template-columns: 1fr; } }
.texte-riche > :last-child { margin-bottom: 0; }
.texte-riche a { color: var(--olive); }
.section--nuit .texte-riche a { color: var(--or); }
.texte-riche ul, .texte-riche ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.texte-riche li { margin-bottom: .35em; }
.texte-riche strong { font-weight: 500; color: var(--encre); }
.section--nuit .texte-riche strong { color: var(--creme); }
.chapo p:last-child { margin-bottom: 0; }
.section--nuit .atout { background: var(--nuit-2); }
.section--nuit .atouts { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); }
.section--nuit .atout p, .section--nuit .etape p { color: #cfc4b6; }
.section--nuit .atout svg { stroke: var(--or); }
.section--nuit .bouton:hover { background: var(--creme); border-color: var(--creme); color: var(--encre); }
.section--nuit .champ input, .section--nuit .champ select, .section--nuit .champ textarea { color: var(--creme); border-color: rgba(255,255,255,.25); }
.section--nuit .champ label, .section--nuit .coordonnees dd { color: #cfc4b6; }

/* ================= Mode évènement / billetterie ================= */
.bouton--billet-clair { background: var(--or); border-color: var(--or); color: var(--nuit); }
.bouton--billet-clair:hover, .bouton--billet-clair:focus-visible { background: var(--blanc); border-color: var(--blanc); color: var(--nuit); }
.bouton--complet { opacity: .55; cursor: default; pointer-events: none; }

.evt-une { position: relative; overflow: hidden; background: var(--nuit); color: var(--blanc); display: grid; align-items: center; min-height: 88vh; min-height: 88svh; isolation: isolate; }
.evt-une--plein { min-height: 100vh; min-height: 100svh; }
.evt-une__contenu { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 150px var(--gouttiere) 110px; }
.evt-une .surtitre { color: #e6d3ad; }
.evt-une__titre { font-size: clamp(38px, 6.2vw, 84px); text-transform: uppercase; letter-spacing: .08em; line-height: 1.04; text-wrap: balance; }
.evt-une__date { margin: 26px 0 0; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: #e6d3ad; }
.evt-une__date::before, .evt-une__date::after { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--or); vertical-align: middle; margin: 0 16px 2px; }
.evt-une__accroche { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.45; margin: 26px auto 0; color: rgba(255,253,249,.88); max-width: 30em; text-wrap: balance; }
.evt-une__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.evt-une__prix { margin: 18px 0 0; font-size: 13px; letter-spacing: .08em; color: #cfc4b6; }

/* Photo paysage : plein écran, tout centré, photo assombrie */
.evt-une--photo .evt-une__infos { text-align: center; max-width: 920px; margin: 0 auto; }
.evt-une__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); animation: zoom 18s ease-out both; }
.evt-une--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(22,19,15,.55) 0%, rgba(22,19,15,.8) 100%), linear-gradient(180deg, rgba(22,19,15,.4) 0%, rgba(22,19,15,.1) 40%, rgba(22,19,15,.6) 100%); }

/* Affiche portrait : affiche + texte côte à côte */
.evt-une__fond { position: absolute; inset: -60px; z-index: -2; background: center / cover no-repeat; filter: blur(60px) saturate(1.1); opacity: .4; transform: scale(1.15); }
.evt-une--affiche::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(22,19,15,.25), rgba(22,19,15,.88)); }
.evt-une--affiche .evt-une__contenu { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.evt-une--affiche .evt-une__titre { font-size: clamp(36px, 4.8vw, 68px); }
.evt-une--affiche .evt-une__date::before { display: none; }
.evt-une--affiche .evt-une__date::after { display: none; }
.evt-une--affiche .evt-une__accroche { margin-left: 0; }
.evt-une--affiche .evt-une__actions, .evt-une--affiche .compte { justify-content: flex-start; }
.evt-une__affiche { margin: 0; }
.evt-une__affiche img { display: block; height: min(68vh, 720px); height: min(68svh, 720px); width: auto; max-width: 42vw; object-fit: contain; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); animation: affiche 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes affiche { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.compte { display: flex; justify-content: center; margin-top: 38px; }
.compte div { min-width: 92px; padding: 0 18px; text-align: center; }
.compte div + div { border-left: 1px solid rgba(230,211,173,.25); }
.compte strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.compte span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #cfc4b6; }

@media (max-width: 860px) {
  .evt-une--affiche .evt-une__contenu { grid-template-columns: 1fr; padding-top: 110px; text-align: center; }
  .evt-une--affiche .evt-une__actions, .evt-une--affiche .compte { justify-content: center; }
  .evt-une--affiche .evt-une__accroche { margin-left: auto; }
  .evt-une__affiche { display: flex; justify-content: center; }
  .evt-une__affiche img { height: auto; max-height: 56vh; max-height: 56svh; max-width: 100%; }
  .evt-une__date::before, .evt-une__date::after { display: none; }
  .compte div { min-width: 0; flex: 1; max-width: 86px; padding: 0 8px; }
}

/* Page évènement : bandeau « en pratique », description, appel billetterie */
.evt-pratique { background: var(--sable); }
.evt-pratique__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.evt-pratique__grille > div { padding: 34px 26px; text-align: center; }
.evt-pratique__grille > div + div { border-left: 1px solid rgba(42,38,34,.12); }
.evt-pratique__libelle { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-bottom: 10px; }
.evt-pratique p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.evt-pratique__fin { font-family: var(--sans); font-size: 13px; color: var(--encre-douce); }
@media (max-width: 860px) {
  .evt-pratique__grille { grid-template-columns: 1fr 1fr; }
  .evt-pratique__grille > div:nth-child(3) { border-left: 0; }
  .evt-pratique__grille > div:nth-child(n+3) { border-top: 1px solid rgba(42,38,34,.12); }
}
.evt-description { font-size: 17px; line-height: 1.8; margin-top: 34px; }
.evt-description h2, .evt-description h3 { font-size: clamp(26px, 3vw, 34px); margin: 1.4em 0 .5em; }
.evt-description h3 { font-size: clamp(21px, 2.2vw, 25px); margin: 1.2em 0 .4em; }
.evt-description em { font-family: var(--serif); font-size: 1.12em; }
.evt-description ul { list-style: none; padding: 0; }
.evt-description ul > li { position: relative; padding: 14px 0 14px 28px; margin: 0; border-bottom: 1px solid rgba(42,38,34,.1); }
.evt-description ol { padding-left: 1.4em; }
.evt-description ol > li { padding-left: .4em; margin-bottom: .5em; }
.evt-description ol > li::marker { font-family: var(--serif); color: var(--or); font-size: 1.2em; }
.evt-description blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--or); font-family: var(--serif); font-style: italic; font-size: 1.35em; line-height: 1.5; color: var(--encre); }
.evt-description blockquote p { margin: 0; }
.evt-description hr { border: 0; height: 1px; background: rgba(42,38,34,.15); margin: 2.4em auto; width: 60%; }
.evt-description ul > li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: 1px solid var(--or); transform: rotate(45deg); }
.evt-appel { background: var(--nuit); color: var(--creme); padding: clamp(64px, 9vw, 110px) 0; }
.evt-appel .titre em { color: var(--or); }
.evt-appel .chapo { color: #cfc4b6; }

.agenda { display: grid; gap: clamp(24px, 3vw, 36px); margin-top: clamp(36px, 5vw, 56px); }
.agenda__evt { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid rgba(42,38,34,.12); }
.section--nuit .agenda__evt { border-color: rgba(255,255,255,.12); }
.agenda__evt:last-child { border-bottom: 0; padding-bottom: 0; }
.agenda__affiche { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nuit); }
.agenda__affiche img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.agenda__affiche:hover img { transform: scale(1.05); }
.agenda__jour { position: absolute; top: 12px; left: 12px; background: var(--creme); color: var(--encre); padding: 8px 10px 6px; text-align: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }
.agenda__jour strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: 0; margin-bottom: 4px; }
.agenda__titre { font-size: clamp(26px, 3vw, 36px); }
.agenda__titre a { color: inherit; text-decoration: none; }
.agenda__date { margin: 10px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.agenda__accroche { margin: 14px 0 0; color: var(--encre-douce); max-width: 40em; }
.section--nuit .agenda__accroche { color: #cfc4b6; }
.agenda__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 22px; }
@media (max-width: 640px) { .agenda__evt { grid-template-columns: 1fr; } .agenda__affiche { aspect-ratio: 16 / 10; } }

.bandeau-evt { position: fixed; z-index: 55; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); width: min(640px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; background: rgba(22,19,15,.94); color: var(--creme); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,.35); border: 1px solid rgba(176,145,90,.35); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bandeau-evt.visible { transform: translate(-50%, 0); }
.bandeau-evt[hidden] { display: none; }
.bandeau-evt__infos { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.bandeau-evt__infos img { width: 44px; height: 44px; object-fit: cover; flex: none; }
.bandeau-evt__infos span { min-width: 0; }
.bandeau-evt__infos strong { display: block; font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bandeau-evt__infos small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bandeau-evt__bouton { flex: none; padding: 12px 18px; background: var(--or); color: var(--nuit); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.bandeau-evt__bouton:hover { background: var(--creme); color: var(--nuit); }
.bandeau-evt__bouton--complet { background: rgba(255,255,255,.12); color: var(--creme); }
.bandeau-evt__fermer { flex: none; background: none; border: 0; color: #cfc4b6; font-size: 24px; line-height: 1; padding: 4px 8px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .evt-une__affiche img, .evt-une__image, .hero__visuel { animation: none; } .bandeau-evt { transition: none; } }

/* _mot_ dans un titre : italique gris clair (pensé pour les fonds sombres, reste lisible sur fond clair) */
em.clair { font-style: italic; text-transform: none; letter-spacing: 0; color: #8f877d; }
.section--nuit em.clair, .hero em.clair, .bandeau em.clair, .evt-une em.clair, .evt-appel em.clair, .pied em.clair { color: #d6d0c7; }

/* ---------- Consentement Google Analytics (seulement si un identifiant est réglé) ---------- */
.cookies { position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100% - 32px)); padding: 18px 20px; background: var(--nuit); color: var(--creme); box-shadow: 0 16px 40px rgba(0,0,0,.35); border: 1px solid rgba(176,145,90,.35); font-size: 14px; line-height: 1.5; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 14px; }
.cookies__boutons { display: flex; gap: 10px; }
.cookies__bouton { flex: 1; padding: 11px 14px; background: transparent; color: var(--creme); border: 1px solid rgba(246,241,234,.5); font: inherit; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.cookies__bouton--oui { background: var(--or); border-color: var(--or); color: var(--nuit); }
.pied__cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
