/* ==========================================================================
   HUIS CLOS — feuille de styles commune (version 2, éditoriale)
   Conçue d'abord pour le téléphone, puis élargie pour l'ordinateur.

   Mise en page : grilles alignées à gauche, filets fins, grandes images
   plein cadre, bandeaux d'information en Jost. Le script (Aston) reste
   réservé au nom et aux grands titres, centré comme une invitation.

   Sommaire
   1. Polices            8. Sections, grilles, rangées
   2. Réglages           9. Boutons et liens
   3. Base               10. Images et emplacements [PHOTO]
   4. Typographie        11. Cartes et défilement des tables
   5. Thèmes de fond     12. Page événement (menu, réservation)
   6. Barre et menu      13. Formulaires, pied de page, cookies
   7. Ouverture (scène)  14. Animations
   ========================================================================== */


/* 1. POLICES ----------------------------------------------------------------
   Hébergées sur le site (aucun appel à Google : mieux pour le RGPD).
   Aston Script : licence commerciale à acheter avant la mise en ligne. */

@font-face { font-family: "Aston Script"; src: url("../fonts/aston-script.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../fonts/pinyon-script.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italique.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }


/* 2. RÉGLAGES ----------------------------------------------------------------- */

:root {
  /* Couleurs de la charte */
  --noir: #111111;
  --ivoire: #F7F3EC;
  --pierre: #ECE6DB;          /* ivoire un ton plus bas, pour alterner les sections */
  --parchemin: #E6DCCB;       /* fond des pages claires : ivoire réchauffé d'or vieilli, moins blanc */
  /* Grain de papier très léger (bruit SVG, aucun fichier à charger) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .17 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --or: #C9AE78;              /* filets et sur-titres sur fond sombre */
  --or-lisible: #6B5428;      /* le même or, assombri pour rester lisible sur les fonds clairs */
  --gris-brun: #5E554B;

  /* Couleur d'accent : brun-noir par défaut, remplacée par chaque événement */
  --accent: #2A2623;

  /* Polices */
  --police-titre: "Aston Script", "Pinyon Script", cursive;
  --police-texte: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --police-info: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Échelle typographique */
  --t-info: .75rem;                               /* Jost, capitales */
  --t-info-grand: .875rem;
  --t-corps: 1.25rem;                             /* Cormorant */
  --t-chapeau: clamp(1.4rem, 2.4vw, 1.75rem);
  --t-enonce: clamp(1.85rem, 4.4vw, 3.4rem);      /* grandes phrases */
  --t-titre: clamp(2.2rem, 5.5vw, 4.25rem);       /* titres de section */

  /* Espacements */
  --gouttiere: max(1.25rem, 4vw);
  --section: clamp(5rem, 12vw, 10rem);
  --largeur: 90rem;

  /* Mouvement : amorti, jamais clinquant */
  --amorti: cubic-bezier(.19, 1, .22, 1);

  /* Boutons (valeurs du fond sombre ; chaque thème les redéfinit) */
  --plein-fond: var(--ivoire);
  --plein-texte: var(--noir);
  --ligne: rgb(17 17 17 / .16);
}

/* Motifs d'événement, choisis dans la page de l'événement via --motif */
:root {
  --motif-aucun: none;
  --motif-velours:
    radial-gradient(120% 70% at 50% -10%, rgb(255 255 255 / .10), transparent 60%),
    radial-gradient(90% 60% at 50% 110%, rgb(0 0 0 / .40), transparent 70%),
    repeating-linear-gradient(100deg, rgb(255 255 255 / .018) 0 2px, transparent 2px 5px);
  --motif-lin:
    repeating-linear-gradient(0deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 5px);
  --motif-damasse:
    linear-gradient(45deg, rgb(255 255 255 / .03) 25%, transparent 25% 75%, rgb(255 255 255 / .03) 75%),
    linear-gradient(-45deg, rgb(255 255 255 / .03) 25%, transparent 25% 75%, rgb(255 255 255 / .03) 75%);
  --motif-rayures: repeating-linear-gradient(90deg, rgb(255 255 255 / .045) 0 1px, transparent 1px 22px);
}


/* 3. BASE ------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond, var(--ivoire));
  color: var(--texte, var(--noir));
  font-family: var(--police-texte);
  font-size: var(--t-corps);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }

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

.lien-evitement {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .8rem 1.2rem; background: var(--ivoire); color: var(--noir);
  font: 400 var(--t-info) var(--police-info); letter-spacing: .3em; text-transform: uppercase;
}
.lien-evitement:focus { top: 1rem; }


/* 4. TYPOGRAPHIE ------------------------------------------------------------- */

/* Aston Script : le nom et les grands titres seulement */
.script {
  font-family: var(--police-titre);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
  /* Les boucles d'Aston Script dépassent la ligne : jusqu'à ~0,26 em en haut
     (H, B, M) et ~0,4 em en bas (la boucle du J). Ce rembourrage les garde dans
     le cadre du texte, sinon certains navigateurs (Safari) les coupent. */
  padding: .3em .1em .45em;
}
.script--geant { font-size: clamp(3rem, 13.5vw, 9rem); }
/* Titre d'un événement : grand, mais l'ouverture tient dans l'écran avec son bandeau */
.script--evenement { font-size: clamp(2.6rem, min(12vw, 9.5vh), 7rem); }
.script--grand { font-size: clamp(2.75rem, 10vw, 6.25rem); }
.script--moyen { font-size: clamp(2.4rem, 7vw, 4rem); }
.sans-coupure { white-space: nowrap; }
.script--geant.sans-coupure { font-size: clamp(2.4rem, 12.6vw, 9rem); }  /* tient sur une ligne même à 320 px */

/* Jost : informations, toujours en capitales espacées */
.info {
  font-family: var(--police-info);
  font-size: var(--t-info);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1.8;
}
.info--grand { font-size: var(--t-info-grand); }
.info--doux { color: var(--texte-doux); }
.surtitre { color: var(--surtitre); }

.enonce {
  font-size: var(--t-enonce);
  line-height: 1.18;
  letter-spacing: -.01em;
  text-wrap: pretty;
  margin: 0;
}
.titre { font-size: var(--t-titre); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.chapeau { font-size: var(--t-chapeau); line-height: 1.45; }
.citation { font-style: italic; font-weight: 500; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1.15; text-wrap: balance; margin: 0; }
.texte-doux { color: var(--texte-doux); }
.mesure { max-width: 34rem; }


/* 5. THÈMES DE FOND --------------------------------------------------------- */

.theme-clair {
  --fond: var(--parchemin); --texte: var(--noir); --texte-doux: #463F37;
  --surtitre: var(--or-lisible); --ligne: rgb(17 17 17 / .17);
  --plein-fond: var(--noir); --plein-texte: var(--ivoire);
  background-color: var(--fond); color: var(--texte);
  background-image: var(--grain);
  background-attachment: fixed;      /* le grain reste continu d'une section à l'autre */
}
/* --- Une couleur par page ------------------------------------------------ */
/* Les tables passées : greige clair, neutre (plus gris que le parchemin du Club) */
.theme-greige {
  --fond: #D9D4CC; --texte: var(--noir); --texte-doux: #45403A;
  --surtitre: var(--or-lisible); --ligne: rgb(17 17 17 / .16);
  --plein-fond: var(--noir); --plein-texte: var(--ivoire);
  background-color: var(--fond); color: var(--texte);
  background-image: var(--grain);
  background-attachment: fixed;
}
.theme-greige .consentement input { accent-color: var(--or-lisible); }
/* Le cercle : le rouge cerise du Brunch de Noël, en aplat, intimiste */
.theme-cercle {
  --fond: #3E0102; --texte: var(--ivoire); --texte-doux: #E6D3D3;
  --surtitre: var(--or); --ligne: rgb(247 243 236 / .2);
  --plein-fond: var(--ivoire); --plein-texte: #3E0102;
  background-color: var(--fond); color: var(--texte);
}
/* Aubergine presque noire, en aplat : le déroulé du Brunch (contraste avec le rouge) */
.theme-intime {
  --fond: #1A0F14; --texte: var(--ivoire); --texte-doux: #CFC3C3;
  --surtitre: var(--or); --ligne: rgb(201 174 120 / .22);
  --plein-fond: var(--ivoire); --plein-texte: #1A0F14;
  background-color: var(--fond); color: var(--texte);
}
/* Contact : taupe profond, neutre et chaud */
.theme-taupe {
  --fond: #3F3732; --texte: var(--ivoire); --texte-doux: #D2C9BF;
  --surtitre: var(--or); --ligne: rgb(247 243 236 / .18);
  --plein-fond: var(--ivoire); --plein-texte: #3F3732;
  background-color: var(--fond); color: var(--texte);
}

.theme-pierre {
  --fond: var(--pierre); --texte: var(--noir); --texte-doux: #463F38;
  --surtitre: var(--or-lisible); --ligne: rgb(17 17 17 / .18);
  --plein-fond: var(--noir); --plein-texte: var(--ivoire);
  background-color: var(--fond); color: var(--texte);
}
.theme-sombre {
  --fond: var(--noir); --texte: var(--ivoire); --texte-doux: #C9C1B4;
  --surtitre: var(--or); --ligne: rgb(247 243 236 / .18);
  --plein-fond: var(--ivoire); --plein-texte: var(--noir);
  background-color: var(--fond); color: var(--texte);
}
/* Le thème accent prend la couleur de l'événement ; variantes calculées */
.theme-accent {
  --accent-profond: color-mix(in srgb, var(--accent) 72%, #000);
  --fond: var(--accent); --texte: var(--ivoire);
  --texte-doux: color-mix(in srgb, var(--ivoire) 82%, var(--accent));
  --surtitre: var(--or); --ligne: rgb(247 243 236 / .2);
  --plein-fond: var(--ivoire); --plein-texte: var(--accent);
  background-color: var(--fond); color: var(--texte);
}
.theme-accent--profond { --fond: var(--accent-profond); }
.avec-motif { background-image: var(--motif, none); }


/* 6. BARRE ET MENU ------------------------------------------------------------
   Barre fixe et fine : le nom à gauche, la navigation à droite.
   Transparente sur l'ouverture, elle prend un fond en défilant. */

.barre {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) max(var(--gouttiere), env(safe-area-inset-right, 0px)) 1rem max(var(--gouttiere), env(safe-area-inset-left, 0px));
  color: var(--barre-texte, var(--ivoire));
  border-bottom: 1px solid transparent;
  transition: background-color .6s var(--amorti), color .6s var(--amorti), padding .6s var(--amorti), border-color .6s;
}
.barre.est-defilee {
  background-color: color-mix(in srgb, var(--barre-fond, var(--noir)) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: color-mix(in srgb, var(--barre-texte, var(--ivoire)) 14%, transparent);
  padding-block: calc(.7rem + env(safe-area-inset-top, 0px)) .7rem;
}
.menu-ouvert .barre { background-color: transparent; border-bottom-color: transparent; color: var(--ivoire); -webkit-backdrop-filter: none; backdrop-filter: none; }

.barre__nom,
.barre__liens a,
.barre__menu {
  font-family: var(--police-info);
  font-size: var(--t-info);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.barre__nom { font-size: .8125rem; letter-spacing: .4em; padding-block: .5rem; }

.barre__liens { display: none; }
.barre__liens ul { display: flex; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.barre__liens a { display: inline-block; padding-block: .5rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--amorti); }
.barre__liens a:hover,
.barre__liens a[aria-current="page"] { background-size: 100% 1px; }

.barre__menu { min-height: 2.75rem; padding: 0 0 0 1rem; border: 0; background: none; cursor: pointer; }
.barre__menu-fermer { display: none; }
.menu-ouvert .barre__menu-ouvrir { display: none; }
.menu-ouvert .barre__menu-fermer { display: inline; }

@media (min-width: 64rem) {
  .barre__liens { display: block; }
  .barre__menu { display: none; }
}

/* Menu plein écran (téléphone) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  grid-template-rows: 1fr;
  padding: calc(6rem + env(safe-area-inset-top, 0px)) var(--gouttiere) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--noir);
  color: var(--ivoire);
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--amorti), visibility 0s linear .7s;
}
.menu-ouvert { overflow: hidden; }
.menu-ouvert .menu { opacity: 1; visibility: visible; transition: opacity .7s var(--amorti), visibility 0s; }
.menu__liens { display: grid; align-content: center; }
.menu__liens a {
  display: block;
  padding-block: .6rem;
  border-bottom: 1px solid rgb(247 243 236 / .14);
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.15;
  text-decoration: none;
  transform: translateY(1rem);
  opacity: 0;
  transition: transform .9s var(--amorti), opacity .9s var(--amorti);
}
.menu__liens a[aria-current="page"] { font-style: italic; }
.menu-ouvert .menu__liens a { transform: none; opacity: 1; }
.menu-ouvert .menu__liens li:nth-child(2) a { transition-delay: .05s; }
.menu-ouvert .menu__liens li:nth-child(3) a { transition-delay: .1s; }
.menu-ouvert .menu__liens li:nth-child(4) a { transition-delay: .15s; }
.menu-ouvert .menu__liens li:nth-child(5) a { transition-delay: .2s; }
@media (min-width: 64rem) { .menu { display: none; } }


/* 7. OUVERTURE PLEIN ÉCRAN (scène) ------------------------------------------
   Une grande image (ou vidéo) sous un voile sombre, le monogramme et le
   titre au centre, un bandeau d'annonce en bas. */

.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  color: var(--ivoire);
  background-color: var(--accent);
  isolation: isolate;
  overflow: clip;               /* l'image reste dans le cadre… */
  overflow-clip-margin: 2rem;   /* …mais les paraphes du titre peuvent déborder un peu */
}
.scene__media { position: absolute; inset: 0; z-index: -2; }
.scene::after {        /* voile sombre : la charte l'exige sur une photo */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / .38), rgb(0 0 0 / .1) 38%, rgb(0 0 0 / .16) 60%, rgb(0 0 0 / .6));
  pointer-events: none;
}
/* Sur une vraie photo, le voile est plus dense pour que le texte ivoire reste lisible */
.scene:has(.scene__media > img)::after {
  background: linear-gradient(180deg, rgb(0 0 0 / .58), rgb(0 0 0 / .42) 40%, rgb(0 0 0 / .48) 65%, rgb(0 0 0 / .72));
}
/* Cadrage de l'image d'ouverture : réglable séparément pour le téléphone et l'ordinateur */
.scene__media > img,
.scene__media > video[style] { object-position: var(--cadrage-mobile, var(--cadrage, 50% 45%)); }
@media (min-width: 56rem) {
  .scene__media > img,
  .scene__media > video[style] { object-position: var(--cadrage, 50% 45%); }
}
/* Fond-matière (ex. velours) : voile léger pour garder le relief du tissu */
.scene--texture::after,
.scene.scene--texture:has(.scene__media > img)::after,
.scene.scene--texture:has(.scene__media > video)::after {
  background: linear-gradient(180deg, rgb(0 0 0 / .32), rgb(0 0 0 / .08) 40%, rgb(0 0 0 / .12) 65%, rgb(0 0 0 / .5));
}
.scene__centre {
  display: grid;
  justify-items: center;
  align-content: center;
  padding: calc(6.5rem + env(safe-area-inset-top, 0px)) var(--gouttiere) 2rem;
  text-align: center;
}
.scene__centre .monogramme { margin-bottom: 1.75rem; }
.scene__centre { text-shadow: 0 1px 14px rgb(0 0 0 / .55); }   /* lisibilité sur la vidéo */
.scene__centre .monogramme { filter: drop-shadow(0 1px 12px rgb(0 0 0 / .5)); }
.scene__phrase { max-width: 38ch; margin: 1.25rem auto 0; font-size: var(--t-chapeau); line-height: 1.4; text-wrap: balance; }
.scene__phrase em { display: block; }
/* Accroche de l'accueil : une seule ligne, en italique, à toutes les largeurs */
.scene__accroche {
  margin: 1.25rem 0 0;
  font-family: var(--police-texte);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(.875rem, 4.6vw, 1.75rem);
  line-height: 1.4;
  white-space: nowrap;
}

/* Bandeau d'annonce, en bas de la scène */
.annonce { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgb(247 243 236 / .28); }
.annonce > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
  min-width: 0;
  min-height: 4.25rem;
  padding: .8rem var(--gouttiere);
  border-bottom: 1px solid rgb(247 243 236 / .18);
}
.annonce > *:nth-child(odd) { border-right: 1px solid rgb(247 243 236 / .18); }
.annonce > *:nth-last-child(-n+2) { border-bottom: 0; }
.annonce__titre { font-size: clamp(1.15rem, 4.6vw, 1.6rem); line-height: 1.2; }
.annonce .info { color: rgb(247 243 236 / .85); }
.annonce__action {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: var(--ivoire);
  color: var(--accent);
  transition: background-color .6s var(--amorti), color .6s var(--amorti);
}
.annonce .annonce__action .info { color: inherit; }
.annonce__action:hover { background: transparent; color: var(--ivoire); }
.annonce__action:hover .fleche { transform: translateX(.35rem); }
/* Téléphone : textes du bandeau un peu moins espacés pour tenir dans les cases */
@media (max-width: 55.99rem) {
  .annonce .info { letter-spacing: .16em; font-size: .6875rem; overflow-wrap: anywhere; }
  .annonce > * { padding-inline: 1rem; }
}
@media (min-width: 56rem) {
  .annonce { grid-template-columns: repeat(var(--annonce-colonnes, 4), minmax(0, 1fr)); }
  .annonce > * { border-bottom: 0; border-right: 1px solid rgb(247 243 236 / .18); min-height: 5.75rem; padding-block: .9rem; }
  .annonce > *:last-child { border-right: 0; }
}

/* En-tête des pages intérieures */
.entete-page {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: calc(7.5rem + env(safe-area-inset-top, 0px)) var(--gouttiere) clamp(3rem, 8vw, 6rem);
}
.entete-page .monogramme { margin-bottom: 2rem; }
.entete-page .chapeau { max-width: 32ch; margin: 1.25rem auto 0; font-style: italic; }   /* comme sur toutes les pages */

.monogramme { display: block; width: 110px; height: auto; }   /* 110 px minimum (charte) */
.monogramme--grand { width: clamp(130px, 30vw, 170px); }


/* 8. SECTIONS, GRILLES, RANGÉES ----------------------------------------- */

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.section--serree { padding-block: calc(var(--section) * .6); }
.section--sans-haut { padding-top: 0; }

/* En-tête de section : libellé à gauche, lien à droite, filet dessous */
.tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--ligne);
}

/* Deux colonnes : libellé (étroit) + contenu (large) */
.colonnes { display: grid; gap: 1.5rem 3rem; }
.colonnes > * { min-width: 0; }
@media (min-width: 56rem) {
  .colonnes { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .colonnes__libelle { position: sticky; top: 6rem; align-self: start; }
  .colonnes--moitie { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Rangées : listes à filets fins (déroulé, partenaires, infos) */
.rangees { border-top: 1px solid var(--ligne); margin: 0; }
.rangees > li,
.rangees > div {
  display: grid;
  gap: .15rem 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--ligne);
}
.rangees dt,
.rangee__libelle { font-family: var(--police-info); font-size: var(--t-info); letter-spacing: .3em; text-transform: uppercase; color: var(--surtitre); line-height: 1.8; }
.rangees dd { margin: 0; }
.rangee__valeur,
.rangees dd { font-size: 1.4rem; line-height: 1.35; }
/* Rangées de texte (Le cercle, Contact) : même voix que la lettre du Club */
.rangees--texte .rangee__valeur,
.rangees--texte dd { font-style: italic; font-size: clamp(1.3rem, 2.1vw, 1.5rem); line-height: 1.5; }
@media (min-width: 40rem) {
  .rangees > li,
  .rangees > div { grid-template-columns: minmax(9rem, 1fr) 2fr; align-items: baseline; }
}

/* Lettre aux convives (Le Club) : tout en Cormorant italique, colonne étroite
   (environ 60 signes par ligne), alignée à gauche comme une lettre manuscrite. */
.lettre {
  max-width: 25em;                /* ≈ 60 signes par ligne en Cormorant italique */
  margin-inline: auto;
  font-family: var(--police-texte);
  font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.5rem);
  line-height: 1.75;
}
.lettre p { margin: 0 0 2.2em; text-wrap: pretty; }
.lettre__salut { font-size: 1.3em; line-height: 1.4; margin-bottom: 1.8em !important; }
.lettre__fin { margin-top: 3em !important; margin-bottom: 0 !important; }
.lettre .lettre__signature {
  padding: .15em .2em .5em;
  font-style: normal;
  text-wrap: nowrap;
  font-size: clamp(1.75rem, 6vw, 2.6rem);     /* en accord avec le texte, toujours sur une ligne */
  white-space: nowrap;
  line-height: 1.3;
  margin: 1.25rem 0 0 !important;
}

.bloc-citation { text-align: center; }
.bloc-citation .citation { max-width: 18ch; margin-inline: auto; }
.centre { text-align: center; }


/* 9. BOUTONS ET LIENS ---------------------------------------------------------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: .95rem 1.75rem;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--police-info);
  font-size: var(--t-info);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .6s var(--amorti), color .6s var(--amorti), border-color .6s var(--amorti);
}
.bouton:hover { background: var(--plein-fond); color: var(--plein-texte); border-color: var(--plein-fond); }
.bouton--plein { background: var(--plein-fond); color: var(--plein-texte); border-color: var(--plein-fond); }
.bouton--plein:hover { background: transparent; color: inherit; border-color: currentColor; }
.bouton--large { width: 100%; justify-content: space-between; }
.bouton[disabled] { opacity: .45; cursor: not-allowed; }
.fleche { display: inline-block; font-family: var(--police-texte); font-size: 1.3em; letter-spacing: 0; line-height: 1; transition: transform .6s var(--amorti); }
.bouton:hover .fleche, .lien:hover .fleche { transform: translateX(.3rem); }

.lien {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding-block: .4rem;
  font-family: var(--police-info);
  font-size: var(--t-info);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}


/* 10. IMAGES ET EMPLACEMENTS [PHOTO] ------------------------------------------
   Pour mettre la vraie photo : remplacer <span>[Photo] …</span>
   par <img src="assets/img/…" alt="…">. L'étiquette disparaît. */

.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  margin: 0;
  background:
    var(--motif, none),
    radial-gradient(85% 65% at 40% 30%, color-mix(in srgb, var(--accent) 70%, #fff 12%), transparent 72%),
    linear-gradient(165deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000));
  color: rgb(247 243 236 / .82);
}
.media--paysage { aspect-ratio: 3 / 2; }
.media--large { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--plein { aspect-ratio: auto; position: absolute; inset: 0; }
.media > img,
.media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--amorti); }
.media > span {
  position: absolute;
  left: 1rem; top: 1rem; right: 1rem;
  font-family: var(--police-info);
  font-size: .6875rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  line-height: 1.8;
}
/* Teinte de la vidéo d'un événement : la vidéo prend la couleur de la table (--accent).
   « color » garde les lumières et les ombres de la vidéo, avec la teinte de --accent. */
.scene__teinte,
.media--plein > .scene__teinte {      /* plus précis que la règle des étiquettes [Photo] */
  position: absolute; inset: 0; top: 0; right: 0; bottom: 0; left: 0; max-width: none; opacity: 1;
  background: var(--accent);
  mix-blend-mode: color;
  pointer-events: none;
}
/* Vidéo teintée : contraste rendu pour garder la profondeur du velours (pas d'effet « fumé ») */
.scene__media:has(.scene__teinte) > video { filter: brightness(.9) contrast(1.18) saturate(1.1); }
/* Voile d'une vidéo teintée : léger en haut (lisibilité du menu), rien en bas (raccord) */


/* Vidéo en noir et blanc (essai sur l'accueil) : retirer la classe scene__video--nb pour revenir à la couleur */
.scene__video--nb { filter: grayscale(1) contrast(1.08) brightness(.95); }

/* Vidéo de l'accueil : les bougies (bas de l'image) restent dans le cadre sur ordinateur */
.scene__video { object-position: 50% 62%; }
.media--plein > span { top: calc(4.6rem + env(safe-area-inset-top, 0px)); left: var(--gouttiere); right: var(--gouttiere); opacity: .7; }
.legende { margin-top: .6rem; }
/* Photo de Jade et Juliette (Le Club) : cadre vertical centré, visages dans le cadre */
.portrait-duo { max-width: 36rem; margin-inline: auto; }
.portrait-duo > img { object-position: 50% 42%; }

/* [Texte à compléter] : repérable au premier coup d'œil */
.a-completer {
  display: inline-block;
  padding: .05em .45em;
  border: 1px dashed currentColor;
  font-family: var(--police-info);
  font-size: .72em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  vertical-align: .1em;
  opacity: .85;
}


/* 11. CARTES ET DÉFILEMENT DES TABLES ------------------------------------- */

.carte { display: grid; gap: 1rem; align-content: start; color: inherit; }
.carte a { text-decoration: none; }
a.media { display: block; }
.carte__ligne { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ligne); }
.carte__pastille {        /* la couleur de la table */
  display: inline-block;
  width: .7rem; height: .7rem;
  margin-right: .6rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: -.05rem;
}
.carte__titre { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; }
.carte__titre a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--amorti); }
.carte:hover .carte__titre a { background-size: 100% 1px; }
.carte details { border-top: 1px solid var(--ligne); }
.carte summary { cursor: pointer; list-style: none; padding-block: .8rem; display: flex; justify-content: space-between; align-items: center; }
.carte summary::-webkit-details-marker { display: none; }
.carte summary::after { content: "+"; font-family: var(--police-texte); font-size: 1.5rem; line-height: 1; }
.carte details[open] summary::after { content: "−"; }
.carte__menu { padding-bottom: 1rem; font-size: 1.15rem; }
.carte__menu li { padding-block: .15rem; }

/* La place de la prochaine table de la collection */
.carte--a-venir .media { background: none; border: 1px dashed var(--ligne); color: var(--texte-doux); display: grid; place-items: center; }
.carte--a-venir .media > p { font-family: var(--police-titre); font-size: 3rem; opacity: .7; margin: 0; }

/* Défilement horizontal (accueil) */
.defile {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 24rem);
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  padding-inline: var(--gouttiere);
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ligne) transparent;
}
.defile > * { scroll-snap-align: start; }

/* Collection en défilement horizontal : on fait glisser les tables de droite à gauche */
.collection--defile {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: min(78vw, 22rem);
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ligne) transparent;
}
.collection--defile > * { scroll-snap-align: start; }

/* Grille de la collection */
.collection { display: grid; gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }


/* 12. PAGE ÉVÉNEMENT -------------------------------------------------------- */

/* Cadre d'images (page événement) : un rectangle plein, la grande image au centre.
   La hauteur des rangées suit la largeur du cadre (unités cqi), pour que chaque
   case garde à peu près la forme de sa photo (portrait 3:4), sur tous les écrans. */
.cadre { container-type: inline-size; }
.cadre__grille {
  --cols: 2;
  --g: 5px;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: calc((100cqi - (var(--cols) - 1) * var(--g)) / var(--cols) * .66);
  gap: var(--g);
}
.cadre__case { position: relative; overflow: hidden; min-width: 0; }
.cadre__case > img,
.cadre__case > .media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
/* Téléphone : sapin | gâteau, la carte au milieu sur toute la largeur, tablée | boule */
.cadre__case--g1 { grid-column: 1; grid-row: 1 / span 2; }
.cadre__case--d1 { grid-column: 2; grid-row: 1 / span 2; }
.cadre__case--centre { grid-column: 1 / span 2; grid-row: 3 / span 4; }
.cadre__case--g2 { grid-column: 1; grid-row: 7 / span 2; }
.cadre__case--d2 { grid-column: 2; grid-row: 7 / span 2; }
/* Ordinateur : une colonne de deux photos de chaque côté de la grande image */
@media (min-width: 48rem) {
  .cadre__grille { --cols: 4; --g: 7px; }
  .cadre__case--g1 { grid-column: 1; grid-row: 1 / span 2; }
  .cadre__case--g2 { grid-column: 1; grid-row: 3 / span 2; }
  .cadre__case--centre { grid-column: 2 / span 2; grid-row: 1 / span 4; }
  .cadre__case--d1 { grid-column: 4; grid-row: 1 / span 2; }
  .cadre__case--d2 { grid-column: 4; grid-row: 3 / span 2; }
}

/* Récit de l'ambiance : sur la ligne de « L'ambiance », même style, aligné à droite */
.tete--ambiance { align-items: flex-start; flex-wrap: nowrap; gap: 2rem; }
.tete__recit { margin: 0; text-align: right; }
@media (min-width: 60rem) { .tete__recit { white-space: nowrap; } }   /* une seule ligne sur ordinateur */
@media (max-width: 40rem) {
  .tete--ambiance { flex-wrap: wrap; gap: .75rem; }
  .tete__recit { max-width: none; flex-basis: 100%; }
}

/* Titre de l'ambiance, en Aston Script, centré au-dessus du cadre */
.titre-ambiance {
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  text-align: center;
  margin: 0 auto clamp(1.5rem, 4vw, 2.75rem);
  max-width: 16em;
}

/* Mur de photos (page événement) : photos entières, sans recadrage, en colonnes */
.mur {
  columns: 2;
  column-gap: .6rem;
}
@media (min-width: 56rem) { .mur { columns: 4; column-gap: 1rem; } }
.mur__photo {
  break-inside: avoid;
  margin-bottom: .6rem;
}
@media (min-width: 56rem) { .mur__photo { margin-bottom: 1rem; } }
.mur__photo > img { width: 100%; height: auto; }
.mur__photo .media { width: 100%; }

/* Patchwork de matières et de couleurs (page événement) */
.patchwork {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 8.5rem;
  grid-auto-flow: dense;
  gap: 4px;
}
@media (min-width: 56rem) {
  .patchwork { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 12.5rem; gap: 6px; }
}
.tuile {
  position: relative;
  overflow: hidden;
  grid-column: span var(--c, 1);
  grid-row: span var(--r, 1);
  color: var(--ivoire);
  background: color-mix(in srgb, var(--accent) 80%, #000);
}
.tuile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--amorti); }
.tuile--photo::after {        /* léger voile en bas pour lire le nom */
  content: ""; position: absolute; inset: auto 0 0; height: 50%;
  background: linear-gradient(transparent, rgb(0 0 0 / .5));
  pointer-events: none;
}
.tuile__nom {
  position: absolute; left: .8rem; right: .8rem; bottom: .65rem; z-index: 1;
  font-family: var(--police-info); font-size: .625rem; letter-spacing: .25em; text-transform: uppercase; line-height: 1.5;
}
/* Carrés de couleur, chacun avec sa matière */
.tuile--velours { background: var(--motif-velours), var(--accent); }
.tuile--accent { background: var(--motif, none), var(--accent); }
.tuile--or {
  background: linear-gradient(135deg, #8E7440, #C9AE78 32%, #E9D9AE 50%, #B79A63 66%, #7D6433);
  color: var(--noir);
}
.tuile--lin {
  background:
    repeating-linear-gradient(0deg, rgb(17 17 17 / .05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(17 17 17 / .045) 0 1px, transparent 1px 5px),
    var(--ivoire);
  color: var(--noir);
}
.tuile--nuit { background: radial-gradient(120% 85% at 30% 20%, #2B2725, #111 70%); }
.tuile--vide { background: none; border: 1px dashed var(--ligne); }

.mots { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: 2.5rem; }

/* La carte du menu, comme imprimée */
.carte-menu {
  position: relative;
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 4.5rem) clamp(1.5rem, 5vw, 3rem) 3.25rem;
  background: var(--ivoire);
  color: var(--noir);
  text-align: center;
  box-shadow: 0 3rem 5rem -2.5rem rgb(0 0 0 / .6);
  --surtitre: var(--or-lisible);
}
.carte-menu::before { content: ""; position: absolute; inset: .8rem; border: 1px solid rgb(201 174 120 / .7); pointer-events: none; }
.carte-menu__titre { font-size: clamp(3rem, 13vw, 4.25rem); }
.carte-menu__service { margin-top: 2.25rem; }
.carte-menu__categorie { display: block; color: var(--gris-brun); margin-bottom: .5rem; }
.carte-menu__plat { font-size: 1.5rem; line-height: 1.3; margin: 0; }
.carte-menu__detail { font-style: italic; font-size: 1.15rem; color: #4A443D; margin: .2rem 0 0; }
.carte-menu__pied { margin-top: 2.75rem; color: var(--gris-brun); }
.filet { display: block; width: 4rem; height: 1px; margin: 2rem auto; background: var(--or); border: 0; }

/* Réservation */
.compteur { display: grid; gap: .25rem; align-content: start; }
.compteur__nombre { font-size: clamp(5.5rem, 18vw, 10rem); line-height: .9; letter-spacing: -.03em; }
.compteur__jauge { height: 1px; margin-block: 1.25rem .75rem; background: var(--ligne); overflow: hidden; max-width: 22rem; }
.compteur__jauge > span { display: block; height: 100%; width: var(--rempli, 0%); background: var(--or); transition: width 1.6s var(--amorti); }

.reservation { display: grid; gap: 2.25rem; }
.etape { border: 0; padding: 0; margin: 0; min-width: 0; }
.etape legend { padding: 0; margin-bottom: 1rem; }
.creneaux { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 30rem) { .creneaux { grid-template-columns: repeat(4, 1fr); } }
.creneau { position: relative; }
.creneau input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.creneau label {
  display: flex; align-items: center; justify-content: center;
  min-height: 3.25rem;
  border: 1px solid var(--ligne);
  font-family: var(--police-info); font-size: .875rem; letter-spacing: .15em;
  transition: background-color .5s var(--amorti), color .5s var(--amorti), border-color .5s;
}
.creneau input:hover + label { border-color: currentColor; }
.creneau input:checked + label { background: var(--ivoire); color: var(--accent); border-color: var(--ivoire); }
.creneau input:focus-visible + label { outline: 2px solid var(--or); outline-offset: 3px; }

.quantite { display: inline-flex; border: 1px solid var(--ligne); }
.quantite button { width: 3.25rem; height: 3.25rem; border: 0; background: transparent; color: inherit; font-family: var(--police-texte); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.quantite button:disabled { opacity: .3; cursor: not-allowed; }
.quantite input {
  width: 4.5rem; height: 3.25rem; border: 0; border-inline: 1px solid var(--ligne);
  background: transparent; color: inherit; text-align: center;
  font-family: var(--police-texte); font-size: 1.6rem;
  -moz-appearance: textfield; appearance: textfield;
}
.quantite input::-webkit-outer-spin-button,
.quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.1rem; border-block: 1px solid var(--ligne); }
.total strong { font-weight: 400; font-size: 1.6rem; }
.message { padding: 1.1rem 1.25rem; border: 1px solid var(--or); font-size: 1.15rem; }
.message:empty { display: none; }


/* 13. FORMULAIRES, PIED DE PAGE, COOKIES ---------------------------------- */

.formulaire { display: grid; gap: 1.75rem; }
.champ { display: grid; gap: .25rem; min-width: 0; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.champ input {
  width: 100%;
  min-height: 3.25rem;
  padding: .4rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--police-texte);
  font-size: 1.5rem;
}
.champ input:focus-visible { outline: none; border-bottom: 2px solid var(--or); }
.champ__aide { font-size: 1rem; font-style: italic; color: var(--texte-doux); }
.consentement { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; font-size: 1.05rem; line-height: 1.5; }
.consentement input { width: 1.3rem; height: 1.3rem; margin: .2rem 0 0; accent-color: var(--or); }
.theme-clair .consentement input, .theme-pierre .consentement input { accent-color: var(--or-lisible); }
.piege { position: absolute; left: -9999px; }

/* Réservation : menu déroulant, zones de texte, mention sous le bouton */
.champ select, .champ textarea {
  width: 100%; min-height: 3.25rem; padding: .4rem 0;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  background-color: transparent; color: inherit;
  font-family: var(--police-texte); font-size: 1.5rem;
}
.champ select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.champ select option { color: #111; background: #F7F3EC; }
.champ textarea { font-size: 1.25rem; line-height: 1.45; min-height: 4.5rem; resize: vertical; }
.champ select:focus-visible, .champ textarea:focus-visible { outline: none; border-bottom: 2px solid var(--or); }
.champ label.info { line-height: 1.6; }
.formulaire__note { margin: 1rem 0 0; font-size: 1rem; font-style: italic; line-height: 1.5; color: var(--texte-doux); }

/* Pied de page : petit et discret, aux couleurs du fond de la page.
   Un filet fin le sépare du contenu, puisqu'ils partagent la même couleur. */
.pied { padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px)); }
.pied__contenu { padding-top: 1.75rem; border-top: 1px solid var(--ligne); }
.pied .monogramme { width: 52px; }
.pied.theme-accent { --fond: var(--accent-profond); }
.pied__signature { margin: .6rem 0 1.1rem; font-size: .5625rem; }
.pied__liens {
  display: flex;
  flex-wrap: wrap;                /* sur téléphone, les liens passent sur deux lignes au lieu d'être cachés */
  column-gap: 1.5rem; row-gap: 0;
}
.pied__liens li { flex: none; white-space: nowrap; }
@media (min-width: 64rem) { .pied__liens { flex-wrap: nowrap; } }
.pied__liens a, .pied__liens button {
  display: inline-block;
  padding: .25rem 0;
  border: 0; background: none; color: inherit; cursor: pointer;
  font-family: var(--police-info); font-size: .5625rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; line-height: 2;
}
.pied__liens a:hover, .pied__liens button:hover { text-decoration: underline; text-decoration-color: var(--or); }
.pied__liens .pied__mail { text-transform: none; letter-spacing: .06em; font-size: .6875rem; }   /* une adresse e-mail se lit mieux en minuscules */

/* Pages de texte (mentions, confidentialité) */
.texte-legal { max-width: 44rem; }
a[href^="mailto:"] { white-space: nowrap; }   /* l'adresse e-mail ne se coupe jamais en deux */
.texte-legal h2 { font-family: var(--police-info); font-size: var(--t-info); letter-spacing: .3em; text-transform: uppercase; color: var(--surtitre); margin: 3rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--ligne); }
.texte-legal p, .texte-legal li { font-size: 1.2rem; }
.texte-legal ul { padding-left: 1.2rem; list-style: disc; }



/* 14. ANIMATIONS DISCRÈTES ------------------------------------------------
   .apparition : montée douce au défilement. .devoile : l'image se découvre.
   Sans JavaScript, tout reste visible. */

.js .apparition { opacity: 0; transform: translateY(1.5rem); transition: opacity 1.4s var(--amorti), transform 1.4s var(--amorti); }
.js .devoile { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--amorti); }
.js .apparition.est-visible { opacity: 1; transform: none; }
/* Le découpage ne concerne que les images : sur du texte, il couperait les paraphes d'Aston Script */
.js .devoile.est-visible { clip-path: inset(0); }
.js .retard-1 { transition-delay: .12s; }
.js .retard-2 { transition-delay: .24s; }
.js .retard-3 { transition-delay: .36s; }

.js .entree { animation: entree 1.8s var(--amorti) both; }
.js .entree-2 { animation-delay: .25s; }
.js .entree-3 { animation-delay: .5s; }
.js .entree-4 { animation-delay: .75s; }
@keyframes entree { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .apparition, .js .devoile { opacity: 1; transform: none; clip-path: none; }
}

/* Voile d'une vidéo teintée (placé en fin de fichier pour l'emporter) : léger en haut, rien en bas */
.scene:has(.scene__media > .scene__teinte)::after,
.scene.scene--texture:has(.scene__media > .scene__teinte)::after {
  /* haut légèrement assombri (menu), milieu intact, bas fondu vers la couleur de la page (raccord) */
  background: linear-gradient(180deg, rgb(0 0 0 / .3), transparent 22%, transparent 72%, color-mix(in srgb, var(--accent) 72%, #000) 100%);   /* = teinte de la section suivante */
}

/* Merci : la date du rendez-vous, en grand ; un clic propose les calendriers */
.rdv { margin: 0 auto 3.5rem; max-width: 34rem; }
.rdv__date {
  display: grid; justify-items: center; gap: .35rem; width: 100%;
  padding: 1.75rem 1rem 1.5rem; border: 1px solid var(--ligne); background: none; color: inherit; cursor: pointer;
  transition: border-color .5s var(--amorti), background-color .5s var(--amorti);
}
.rdv__date:hover, .rdv__date[aria-expanded="true"] { border-color: var(--or); background: rgb(247 243 236 / .04); }
.rdv__date:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.rdv__jour { font-family: var(--police-texte); font-style: italic; font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: 1.05; }
.rdv__heure { font-family: var(--police-texte); font-size: clamp(1.7rem, 7.5vw, 2.6rem); line-height: 1.1; color: var(--or); }
.rdv__invite { margin-top: .9rem; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: .5em; }
.rdv__choix { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .6rem; }
.rdv__choix .bouton { justify-content: center; padding-inline: .5rem; }
.rdv__choix[hidden] { display: none; }
.rdv__choix .bouton { white-space: nowrap; letter-spacing: .18em; }

/* Le Cercle : message après l'inscription */
.formulaire__message { margin: 1.25rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--or); font-size: 1.15rem; line-height: 1.5; }
.formulaire__message--erreur { border-color: var(--texte); font-style: italic; }
.formulaire__message .bouton { display: flex; width: fit-content; max-width: 100%; margin-top: 1rem; }
.bouton--pseudo { text-transform: none; letter-spacing: .12em; }
.formulaire__note a { color: inherit; }

/* Merci (réservation) : la phrase sur l'e-mail de confirmation */
.merci__email { max-width: 36ch; margin: 0 auto 2rem; padding: 1rem 1.25rem; border: 1px solid var(--or); font-size: 1.1rem; line-height: 1.5; }
.cercle__complet { margin: 0 0 2rem; font-style: italic; }

/* Avant-première : bandeau « Prochaine table : bientôt » de l'accueil */
.annonce--bientot > :nth-child(2) { border-right: 0; border-bottom: 1px solid rgb(247 243 236 / .18); }
.annonce--bientot .annonce__action { grid-column: 1 / -1; border-right: 0; }
.annonce__phrase { font-family: var(--police-texte); font-style: italic; font-size: clamp(1.05rem, 4.2vw, 1.35rem); line-height: 1.3; }
@media (min-width: 56rem) {
  .annonce--bientot .annonce__action { grid-column: auto; }
  .annonce--bientot > :nth-child(2) { border-right: 1px solid rgb(247 243 236 / .18); border-bottom: 0; }
}

/* Menu : lien de la page en cours (ou touché) en bordeaux, la couleur de la table en cours.
   Le texte passe en bordeaux, sans fond. */
:root { --bordeaux-table: #5A1420; }
.menu__liens a { padding-inline: .75rem; margin-inline: -.75rem; transition: transform .9s var(--amorti), opacity .9s var(--amorti), background-color .3s; }
.menu__liens a:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.menu__liens a[aria-current="page"],
.menu__liens a.est-touche,
.menu__liens a:active { color: var(--bordeaux-table); }
.barre__liens a { padding-inline: .6rem; margin-inline: -.6rem; background-origin: content-box; transition: background-size .6s var(--amorti), background-color .3s, color .3s; }
.barre__liens a[aria-current="page"],
.barre__liens a.est-touche,
.barre__liens a:active { color: var(--bordeaux-table); }

/* Téléphone : en-tête des pages plus compact, pour que le texte apparaisse dès l'arrivée.
   (La barre du haut et l'accueil plein écran ne changent pas ; l'ordinateur non plus.) */
@media (max-width: 47.99rem) {
  .entete-page { padding: calc(5rem + env(safe-area-inset-top, 0px)) var(--gouttiere) 1.75rem; }
  .entete-page .monogramme { width: 64px; margin-bottom: .9rem; }
  .entete-page .surtitre { margin-bottom: .1rem; }
  .entete-page .script--grand { font-size: clamp(2.3rem, 10.5vw, 2.9rem); line-height: 1.1; }
  .entete-page .titre { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
  .entete-page .chapeau { font-size: 1.15rem; line-height: 1.4; margin-top: .6rem; }

  /* Page d'une table : l'ouverture ne prend plus tout l'écran */
  .scene--texture { min-height: 0; }
  .scene--texture .scene__centre { padding-top: calc(5rem + env(safe-area-inset-top, 0px)); padding-bottom: 1.5rem; }
  .scene--texture .scene__centre .monogramme { width: 64px; margin-bottom: .9rem; }
  .scene--texture .script--evenement { font-size: clamp(2.4rem, 11vw, 3rem); }
  .scene--texture .scene__phrase { font-size: 1.15rem; margin-top: .6rem; }
}

.menu:focus { outline: none; }   /* le menu reçoit le curseur à l'ouverture, sans contour */
