@charset "UTF-8";
/* =====================================================================
   7&vous — feuille de style du site public
   Noir, blanc, bordeaux #641212. Cal Sans (titres) + Raleway (textes).
   ===================================================================== */

/* ---------- Polices ------------------------------------------------ */
@font-face {
  font-family: 'Cal Sans';
  src: url('../fonts/calsans-regular.woff') format('woff'),
       url('../fonts/calsans-regular.ttf')  format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-var.woff') format('woff'),
       url('../fonts/raleway-var.ttf')  format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ------------------------------------------------- */
:root {
  --encre:        #000000;
  --papier:       #ffffff;
  --bordeaux:     #641212;
  --bordeaux-vif: #8c1a1a;
  --gris:         #767676;
  --gris-fonce:   #4a4a4a;
  --trait:        #e2e2e2;
  --trait-sombre: #2b2b2b;
  --voile:        #f4f4f4;

  --titre: 'Cal Sans', 'Trebuchet MS', sans-serif;
  --texte: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-md:   1.1875rem;
  --t-lg:   1.4375rem;
  --t-xl:   1.875rem;
  --t-2xl:  clamp(2.125rem, 1.4rem + 2.6vw, 3.125rem);
  --t-3xl:  clamp(2.625rem, 1.3rem + 5.4vw, 4.875rem);

  --gouttiere: 1.5rem;
  --largeur:   72rem;
  --mesure:    64ch;

  --section-y: clamp(4rem, 8vw, 7.5rem);
  --transition: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Remise à zéro ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
  border-radius: 1px;
}
.sombre :focus-visible { outline-color: #fff; }

::selection { background: var(--bordeaux); color: #fff; }

/* ---------- Titres -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); letter-spacing: -0.025em; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.2; }
h4 { font-size: var(--t-md); line-height: 1.3; }

p  { margin: 0 0 1.1em; max-width: var(--mesure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--bordeaux); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }

strong { font-weight: 600; }

.lede {
  font-size: var(--t-md);
  line-height: 1.6;
  font-weight: 300;
  color: var(--gris-fonce);
}

/* ---------- Mise en page -------------------------------------------- */
.contenu {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.contenu--etroit { max-width: 48rem; }

.section { padding-block: var(--section-y); }
.section--voile  { background: var(--voile); }
.section--sombre { background: var(--encre); color: var(--papier); }
.section--serree { padding-block: clamp(3rem, 5vw, 4.5rem); }

.sombre, .section--sombre { color: var(--papier); }
.section--sombre .lede { color: rgba(255, 255, 255, .72); }
.section--sombre a { text-decoration-color: var(--bordeaux-vif); }

/* Règle courte sous les titres de section */
.regle {
  width: 3rem;
  height: 2px;
  background: var(--bordeaux);
  border: 0;
  margin: 0 0 1.75rem;
}
.regle--centre { margin-inline: auto; }

.entete-section { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.entete-section p { max-width: 52ch; }

/* Visible pour les lecteurs d'écran seulement */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Saut de ligne visible seulement sur grand écran */
.br-large { display: none; }
@media (min-width: 48em) { .br-large { display: inline; } }

/* ---------- Boutons -------------------------------------------------- */
.bouton {
  --fond: var(--bordeaux);
  --texte-btn: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  background: var(--fond);
  color: var(--texte-btn);
  border: 1px solid var(--fond);
  border-radius: 0;
  font-family: var(--texte);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.bouton:hover { --fond: var(--bordeaux-vif); }

.bouton--fantome {
  --fond: transparent;
  --texte-btn: var(--encre);
  border-color: var(--encre);
}
.bouton--fantome:hover { --fond: var(--encre); --texte-btn: #fff; }

.sombre .bouton--fantome, .section--sombre .bouton--fantome {
  --texte-btn: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.sombre .bouton--fantome:hover, .section--sombre .bouton--fantome:hover {
  --fond: #fff; --texte-btn: var(--encre); border-color: #fff;
}

.bouton--petit  { padding: .6rem 1.2rem; font-size: var(--t-xs); }
.bouton--pleine { width: 100%; }
.bouton[disabled], .bouton[aria-disabled="true"] {
  opacity: .45; pointer-events: none;
}

/* Lien souligné sobre */
.lien-souligne {
  display: inline-block;
  font-weight: 600;
  font-size: var(--t-sm);
  text-decoration: none;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.lien-souligne:hover { border-bottom-color: currentColor; }

/* ---------- Cœur (marque récurrente) --------------------------------- */
.coeur {
  width: .78em;
  height: .78em;
  flex: none;
  fill: var(--bordeaux);
  vertical-align: -0.03em;
}
.coeur--vide { fill: none; stroke: var(--bordeaux); stroke-width: 1.6; }

/* ---------- En-tête -------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--papier);
  border-bottom: 1px solid var(--trait);
}
.entete--sombre {
  background: var(--encre);
  color: var(--papier);
  border-bottom-color: var(--trait-sombre);
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.marque {
  font-family: var(--titre);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: .06em;
}
.marque__esperluette { color: var(--bordeaux); }
.entete--sombre .marque__esperluette,
.pied .marque__esperluette { color: var(--bordeaux); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  padding-block: .35rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.est-actif { border-bottom-color: var(--bordeaux); }

.bascule-nav {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  margin-right: -.5rem;
  cursor: pointer;
}
.bascule-nav span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.bascule-nav span + span { margin-top: 6px; }
.bascule-nav[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.bascule-nav[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bascule-nav[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 60em) {
  .bascule-nav { display: block; }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--trait);
    padding: .5rem var(--gouttiere) 1.5rem;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    display: none;
  }
  .entete--sombre .nav { background: var(--encre); border-bottom-color: var(--trait-sombre); }
  .nav.est-ouverte { display: flex; }
  .nav a {
    padding: .9rem 0;
    border-bottom: 1px solid var(--trait);
    font-size: var(--t-md);
  }
  .entete--sombre .nav a { border-bottom-color: var(--trait-sombre); }
  .nav a:hover, .nav a.est-actif { border-bottom-color: var(--bordeaux); }
  .nav .bouton { margin-top: 1rem; border-bottom: 0; }
}

/* ---------- Héros ---------------------------------------------------- */
.heros {
  background: var(--encre);
  color: var(--papier);
  overflow: hidden;
}
.heros__grille {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
@media (min-width: 62em) {
  .heros__grille {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 4.5rem;
  }
}
.heros__accroche {
  font-family: var(--texte);
  font-size: var(--t-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.heros h1 { margin-bottom: 1.5rem; }
.heros__texte { max-width: 46ch; color: rgba(255, 255, 255, .78); font-weight: 300; font-size: var(--t-md); }
.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}
.heros__media { position: relative; }
.heros__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.92);
}
.heros__media::after {
  content: '';
  position: absolute;
  left: -1px; bottom: -1px;
  width: 42%;
  height: 3px;
  background: var(--bordeaux);
}
@media (max-width: 62em) {
  .heros__media img { aspect-ratio: 4 / 3; }
}

/* Bandeau prochaine soirée sous le héros */
.bandeau-date {
  background: var(--bordeaux);
  color: #fff;
}
.bandeau-date__contenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.1rem;
  font-size: var(--t-sm);
}
.bandeau-date strong { font-weight: 600; }
.bandeau-date a { color: #fff; font-weight: 600; }

/* ---------- Bloc image + texte --------------------------------------- */
.duo {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 56em) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--inverse .duo__media { order: 2; }
}
.duo__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Liste d'arguments (lignes filetées) ----------------------- */
.arguments { border-top: 1px solid var(--trait); }
.argument {
  display: grid;
  gap: .5rem 3rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--trait);
  align-items: start;
}
@media (min-width: 52em) {
  .argument { grid-template-columns: minmax(11rem, 20rem) 1fr; }
}
.argument__titre {
  font-family: var(--titre);
  font-size: var(--t-lg);
  line-height: 1.15;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: .55rem;
}
.argument__texte { margin: 0; color: var(--gris-fonce); max-width: 58ch; }
.section--sombre .argument { border-bottom-color: var(--trait-sombre); }
.section--sombre .arguments { border-top-color: var(--trait-sombre); }
.section--sombre .argument__texte { color: rgba(255, 255, 255, .72); }

/* ---------- Carnet de soirée (élément signature) ---------------------- */
.carnet {
  background: var(--papier);
  border: 1px solid var(--encre);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 30rem;
  box-shadow: 10px 10px 0 var(--bordeaux);
}
.carnet__entete {
  border-bottom: 2px solid var(--encre);
  padding-bottom: .85rem;
  margin-bottom: .25rem;
}
.carnet__titre {
  font-family: var(--titre);
  font-size: var(--t-lg);
  margin: 0;
  line-height: 1.1;
}
.carnet__soustitre {
  font-size: var(--t-xs);
  color: var(--gris);
  margin: .25rem 0 0;
}
.carnet__ligne {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: .75rem;
  padding-block: .7rem;
  border-bottom: 1px solid var(--trait);
}
.carnet__ligne:last-of-type { border-bottom: 0; }
.carnet__numero {
  font-family: var(--titre);
  font-size: var(--t-md);
  color: var(--bordeaux);
  line-height: 1;
}
.carnet__prenom { font-weight: 500; }
.carnet__case {
  width: 1.6rem;
  height: 1.6rem;
  border: 1.5px solid var(--encre);
  display: grid;
  place-items: center;
  background: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}
.carnet__case .coeur { width: .95rem; height: .95rem; opacity: 0; transition: opacity var(--transition); }
.carnet__case[aria-pressed="true"] { border-color: var(--bordeaux); }
.carnet__case[aria-pressed="true"] .coeur { opacity: 1; }
.carnet__pied {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--encre);
  font-size: var(--t-xs);
  color: var(--gris);
}

/* ---------- Témoignages ---------------------------------------------- */
.temoignages {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 56em) { .temoignages { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.temoignage { border-top: 2px solid var(--bordeaux); padding-top: 1.5rem; }
.temoignage blockquote {
  margin: 0;
  font-family: var(--titre);
  font-size: var(--t-md);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.temoignage figcaption {
  margin-top: 1rem;
  font-size: var(--t-xs);
  color: var(--gris);
}
.section--sombre .temoignage figcaption { color: rgba(255, 255, 255, .6); }

/* Avis longs (page dédiée) */
.avis-long {
  border-top: 1px solid var(--trait);
  padding-block: 2.25rem;
}
.avis-long:first-of-type { border-top: 0; padding-top: 0; }
.avis-long blockquote { margin: 0; max-width: var(--mesure); }

/* Témoignages en colonnes : une ligne filetée coiffe chaque avis, comme
   les arguments de l'accueil. Une colonne, puis deux, puis trois. */
.avis-grille { display: grid; gap: 2.25rem; align-items: start; }
@media (min-width: 46em) {
  .avis-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
}
@media (min-width: 68em) {
  .avis-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.avis-grille .avis-long {
  margin: 0;
  padding-block: 1.6rem 0;
  border-top: 1px solid var(--trait);
}
.avis-grille .avis-long blockquote { max-width: none; }
.avis-grille .avis-long p { max-width: none; font-size: var(--t-sm); }
.avis-grille .avis-long__marque { font-size: 1.5rem; margin-bottom: .35rem; }
.avis-long__marque {
  color: var(--bordeaux);
  font-family: var(--titre);
  font-size: var(--t-xl);
  line-height: 1;
  margin-bottom: .5rem;
}

/* ---------- Règles du jeu -------------------------------------------- */
.regles { list-style: none; margin: 0; padding: 0; counter-reset: regle; }
.regles li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: .9rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--trait);
  max-width: var(--mesure);
}
.regles li:last-child { border-bottom: 0; }
.regles__icone { margin-top: .38em; }
.regles strong { display: block; font-weight: 600; }
.regles span { color: var(--gris-fonce); }
.section--sombre .regles li { border-bottom-color: var(--trait-sombre); }
.section--sombre .regles span { color: rgba(255, 255, 255, .7); }

/* ---------- Liste des soirées ----------------------------------------- */
.mois {
  font-family: var(--titre);
  font-size: var(--t-lg);
  border-bottom: 2px solid var(--encre);
  padding-bottom: .5rem;
  margin: 3rem 0 0;
}
.mois:first-of-type { margin-top: 0; }

.soiree {
  display: grid;
  gap: 1rem 2rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--trait);
  align-items: center;
}
@media (min-width: 54em) {
  .soiree { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
}
.soiree__date {
  text-align: center;
  border: 1px solid var(--encre);
  padding: .5rem .25rem .6rem;
  line-height: 1;
  width: 5.5rem;
}
.soiree__jour {
  display: block;
  font-family: var(--titre);
  font-size: 2.125rem;
  letter-spacing: -0.03em;
}
.soiree__mois {
  display: block;
  font-size: var(--t-xs);
  margin-top: .3rem;
  color: var(--gris-fonce);
}
.soiree__titre { font-family: var(--titre); font-size: var(--t-lg); margin: 0 0 .35rem; }
.soiree__titre a { text-decoration: none; }
.soiree__titre a:hover { text-decoration: underline; text-decoration-color: var(--bordeaux); }
.soiree__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  font-size: var(--t-sm);
  color: var(--gris-fonce);
  margin: 0;
}
.soiree__actions { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
@media (min-width: 54em) { .soiree__actions { align-items: flex-end; } }

.etiquette {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 600;
  padding: .2rem .55rem;
  border: 1px solid currentColor;
}
.etiquette--complet  { color: var(--bordeaux); }
.etiquette--attente  { color: var(--gris-fonce); }
.etiquette--quelques { color: var(--bordeaux); }

/* Jauge de places */
.jauge {
  display: flex;
  gap: .75rem;
  font-size: var(--t-xs);
  color: var(--gris-fonce);
  margin-top: .5rem;
  flex-wrap: wrap;
}
.jauge__item { display: inline-flex; align-items: center; gap: .35rem; }
.jauge__pastille {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--bordeaux);
}
.jauge__pastille--vide { background: var(--trait); }

/* ---------- Détail d'une soirée --------------------------------------- */
.detail-soiree { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 62em) {
  .detail-soiree { grid-template-columns: minmax(0, 1fr) 25rem; }
}
.fiche {
  border: 1px solid var(--encre);
  padding: clamp(1.5rem, 3vw, 2rem);
  position: sticky;
  top: 6rem;
}
.fiche dl { margin: 0 0 1.5rem; }
.fiche dt {
  font-size: var(--t-xs);
  color: var(--gris);
  margin-top: .9rem;
}
.fiche dt:first-child { margin-top: 0; }
.fiche dd { margin: .1rem 0 0; font-weight: 500; }
.fiche__prix {
  font-family: var(--titre);
  font-size: var(--t-xl);
  line-height: 1;
  color: var(--bordeaux);
}

/* ---------- Formulaires ------------------------------------------------ */
.champ { margin-bottom: 1.25rem; }
.champ label,
.champ__legende {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: .4rem;
}
.champ__aide { font-size: var(--t-xs); color: var(--gris); margin: .35rem 0 0; }
.champ__erreur { font-size: var(--t-xs); color: var(--bordeaux); font-weight: 600; margin: .35rem 0 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="password"], input[type="number"], input[type="datetime-local"],
input[type="time"], input[type="search"], select, textarea {
  width: 100%;
  padding: .8rem .9rem;
  background: var(--papier);
  border: 1px solid var(--encre);
  border-radius: 0;
  font-size: var(--t-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: inset 0 0 0 1px var(--bordeaux);
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--bordeaux);
  box-shadow: inset 0 0 0 1px var(--bordeaux);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .7rem;
  padding-right: 2.4rem;
}

.duo-champs { display: grid; gap: 0 1rem; }
@media (min-width: 34em) { .duo-champs { grid-template-columns: 1fr 1fr; } }

/* Choix homme / femme */
.choix-genre { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choix-genre input { position: absolute; opacity: 0; width: 0; height: 0; }
.choix-genre label {
  display: block;
  text-align: center;
  padding: .8rem;
  border: 1px solid var(--encre);
  cursor: pointer;
  font-weight: 500;
  margin: 0;
  transition: background var(--transition), color var(--transition);
}
.choix-genre input:checked + label { background: var(--encre); color: #fff; }
.choix-genre input:focus-visible + label { outline: 2px solid var(--bordeaux); outline-offset: 2px; }

/* Cases à cocher */
.case {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  cursor: pointer;
  font-size: var(--t-sm);
  line-height: 1.5;
  margin-bottom: .9rem;
}
.case input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem;
  margin: .18rem 0 0;
  accent-color: var(--bordeaux);
  flex: none;
}
.case span { color: var(--gris-fonce); }

/* Pot de miel anti-spam */
.pot-de-miel {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Messages -------------------------------------------------- */
.message {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--bordeaux);
  background: var(--voile);
  font-size: var(--t-sm);
  margin-bottom: 1.5rem;
}
.message--succes { border-left-color: var(--encre); }
.message p { max-width: none; }
.message p:last-child { margin-bottom: 0; }
.message strong { display: block; margin-bottom: .2rem; font-weight: 600; }

/* Encart liste d'attente */
.encart-attente {
  border: 1px solid var(--bordeaux);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: var(--t-sm);
  background: var(--papier);
}
.encart-attente strong { color: var(--bordeaux); display: block; margin-bottom: .3rem; }

/* ---------- FAQ (accordéon) -------------------------------------------- */
.faq-groupe { margin-bottom: 3rem; }
.faq-groupe > h2 { font-size: var(--t-xl); }
.faq details {
  border-bottom: 1px solid var(--trait);
}
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: var(--t-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--titre);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bordeaux);
  flex: none;
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: '–'; }
.faq__reponse { padding: 0 0 1.4rem; color: var(--gris-fonce); }
.faq__reponse p { max-width: 62ch; }

/* ---------- Actualités -------------------------------------------------- */
.actus { display: grid; gap: 2.5rem; }
@media (min-width: 46em) { .actus { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; } }
@media (min-width: 68em) { .actus { grid-template-columns: repeat(3, 1fr); } }
.actu__media { margin-bottom: 1.1rem; overflow: hidden; }
.actu__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 420ms cubic-bezier(.2,.7,.3,1);
}
.actu:hover .actu__media img { transform: scale(1.03); }
.actu__date { font-size: var(--t-xs); color: var(--gris); margin: 0 0 .4rem; }
.actu__titre { font-size: var(--t-lg); margin: 0 0 .5rem; }
.actu__titre a { text-decoration: none; }
.actu__titre a:hover { text-decoration: underline; text-decoration-color: var(--bordeaux); }
.actu__extrait { font-size: var(--t-sm); color: var(--gris-fonce); margin: 0; }

.article__contenu { max-width: var(--mesure); }
.article__contenu h2 { font-size: var(--t-xl); margin-top: 2rem; }
.article__contenu h3 { margin-top: 1.75rem; }
.article__contenu ul, .article__contenu ol { padding-left: 1.25rem; max-width: var(--mesure); }
.article__contenu li { margin-bottom: .4rem; }
.article__contenu img { margin-block: 1.75rem; }

/* ---------- Newsletter --------------------------------------------------- */
/* Bande basse : texte à gauche, formulaire à droite. */
.section--newsletter { padding-block: clamp(3rem, 5vw, 4.5rem); }

.newsletter { display: grid; gap: 2rem; }
@media (min-width: 58em) {
  .newsletter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
  }
}
.newsletter__texte h2 { margin-bottom: .6rem; }
.newsletter__texte .lede { margin-bottom: 0; max-width: 42ch; }
.newsletter__texte .regle { margin-bottom: 1.25rem; }

.newsletter__formulaire {
  display: grid;
  gap: .75rem;
  max-width: 34rem;
}
@media (min-width: 40em) {
  .newsletter__formulaire { grid-template-columns: 1fr auto; align-items: start; }
  .newsletter__formulaire .bouton { height: 100%; }
}
.section--sombre input[type="email"] {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.section--sombre input[type="email"]::placeholder { color: rgba(255, 255, 255, .5); }
.section--sombre input[type="email"]:focus {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}
.newsletter__mention { font-size: var(--t-xs); color: rgba(255, 255, 255, .6); margin: .8rem 0 0; }

/* ---------- Appel final ---------------------------------------------------- */
.appel {
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--bordeaux);
  color: #fff;
}
.appel h2 { font-size: var(--t-2xl); margin-bottom: 1.75rem; }
.appel p { margin-inline: auto; }
.appel .bouton {
  --fond: #fff; --texte-btn: var(--bordeaux); border-color: #fff;
}
.appel .bouton:hover { --fond: var(--encre); --texte-btn: #fff; border-color: var(--encre); }

/* ---------- Pied de page --------------------------------------------------- */
.pied {
  background: var(--encre);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  font-size: var(--t-sm);
}
.pied a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--bordeaux-vif); }
.pied__grille {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--trait-sombre);
}
@media (min-width: 44em) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.pied .marque { color: #fff; font-size: 1.8rem; }
.pied__intro { margin-top: 1rem; max-width: 32ch; }
.pied h3 {
  font-family: var(--texte);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  margin: 0 0 1rem;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: .6rem; }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, .5);
}

/* ---------- Bandeau cookies ------------------------------------------------ */
.cookies {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--papier);
  border-top: 3px solid var(--bordeaux);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .16);
  padding: 1.25rem 0;
}
.cookies[hidden] { display: none; }
.cookies__contenu {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 56em) {
  .cookies__contenu { grid-template-columns: 1fr auto; gap: 2.5rem; }
}
.cookies__texte { font-size: var(--t-sm); margin: 0; max-width: 68ch; }
.cookies__texte strong { display: block; font-family: var(--titre); font-size: var(--t-md); font-weight: 400; margin-bottom: .3rem; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Page de construction -------------------------------------------- */
.construction {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--encre);
  color: #fff;
}
.construction__centre {
  display: grid;
  place-items: center;
  padding: 3rem var(--gouttiere);
  text-align: center;
}
.construction__bloc { max-width: 32rem; }
.construction .marque { font-size: 2.5rem; color: #fff; justify-content: center; }
.construction h1 { font-size: var(--t-2xl); margin: 2rem 0 1rem; }
.construction p { color: rgba(255, 255, 255, .72); margin-inline: auto; }
.construction form { margin-top: 2.5rem; display: grid; gap: .75rem; max-width: 22rem; margin-inline: auto; }
.construction input[type="password"] {
  background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; text-align: center;
}
.construction input[type="password"]:focus { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.construction__erreur {
  color: #fff;
  background: var(--bordeaux);
  font-size: var(--t-sm);
  font-weight: 600;
  padding: .5rem .75rem;
  margin-top: .75rem;
}
.construction__pied {
  padding: 1.5rem var(--gouttiere);
  border-top: 1px solid var(--trait-sombre);
  text-align: center;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, .45);
}

/* ---------- Page de confirmation ---------------------------------------------- */
.confirmation { max-width: 40rem; }
.confirmation__paiement {
  border: 1px solid var(--encre);
  padding: 1.5rem;
  margin-block: 2rem;
}
.confirmation__paiement dt { font-size: var(--t-xs); color: var(--gris); margin-top: .85rem; }
.confirmation__paiement dt:first-child { margin-top: 0; }
.confirmation__paiement dd { margin: .1rem 0 0; font-weight: 600; }
.confirmation__reference {
  font-family: var(--titre);
  font-size: var(--t-lg);
  color: var(--bordeaux);
}

/* ---------- Fil d'Ariane / retours --------------------------------------------- */
.retour {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--t-sm); color: var(--gris); text-decoration: none;
  margin-bottom: 1.5rem;
}
.retour:hover { color: var(--encre); }

/* ---------- Pages légales -------------------------------------------------------- */
.legal h2 { font-size: var(--t-xl); margin-top: 2.75rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 1.15rem; max-width: var(--mesure); }
.legal li { margin-bottom: .5rem; }

/* ---------- Vide / erreur --------------------------------------------------------- */
.vide {
  border: 1px dashed var(--trait);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--gris-fonce);
}
.vide h3 { margin-bottom: .5rem; }

/* ---------- Accès rapide au contenu ------------------------------------------------ */
.saut {
  position: absolute;
  left: -9999px;
  background: var(--bordeaux);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
}
.saut:focus { left: 1rem; top: 1rem; }

/* ---------- Animation d'ouverture (unique) ------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .apparition {
    animation: monter 620ms cubic-bezier(.22, .8, .3, 1) both;
  }
  .apparition:nth-child(2) { animation-delay: 90ms; }
  .apparition:nth-child(3) { animation-delay: 180ms; }
  @keyframes monter {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Impression ---------------------------------------------------------------- */
@media print {
  .entete, .pied, .cookies, .appel, .bouton { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
}
