/* ==========================================================
   LE BAL PERDU — « Affiche de nuit »
   ========================================================== */
:root {
  --fx-color-fond: #14120f;
  --fx-color-surface: #221f19;
  --fx-color-texte: #f3eee0;
  --fx-color-texte-secondaire: #b5ad9c;
  --fx-color-accent: #f2ec1a;
  --fx-color-accent-2: #ff5a36;
  --fx-color-contraste: #14120f;
  --fx-color-bordure: #3a352b;

  --fx-font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --fx-font-body: "Instrument Sans", system-ui, sans-serif;
  --fx-font-accent: "Courier Prime", "Courier New", monospace;

  --gouttiere: clamp(.75rem, 2vw, 2rem);
  --marge: clamp(1rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--fx-color-fond);
  color: var(--fx-color-texte);
  font-family: var(--fx-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--fx-color-accent); outline-offset: 3px; }

.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;
}
.evitement {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--fx-color-accent); color: var(--fx-color-contraste);
  padding: .75rem 1rem; font-weight: 700; text-decoration: none;
}
.evitement:focus { top: 1rem; outline-color: var(--fx-color-texte); }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--marge); }
.mur {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gouttiere);
}
.mur > * { grid-column: 1 / -1; min-width: 0; }

/* ---------- Typo utilitaires ---------- */
.placard {
  font-family: var(--fx-font-display);
  text-transform: uppercase;
  line-height: .87;
  letter-spacing: -.015em;
  margin: 0;
  font-weight: 800;
}
.placard .l { display: block; }
.w3 { font-weight: 300; }
.w5 { font-weight: 500; }
.w9 { font-weight: 900; }
.jaune { color: var(--fx-color-accent); }
.avis {
  font-family: var(--fx-font-accent);
  font-size: .9375rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fx-color-texte-secondaire);
  margin: 0 0 1.25rem;
}
.texte { max-width: 62ch; }
.texte p:last-child { margin-bottom: 0; }
.chapo { font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.5; max-width: 36ch; }
.intertitre {
  font-weight: 600; font-size: .875rem; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 .5rem; color: var(--fx-color-texte);
}

/* ---------- Liens : trait de pinceau ---------- */
.texte a, a.lien {
  position: relative;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: var(--fx-color-texte-secondaire);
}
.texte a::after, a.lien::after {
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: -.32em; height: .5em;
  background: var(--fx-color-accent);
  -webkit-mask: url(/assets/trait.svg) no-repeat center / 100% 100%;
          mask: url(/assets/trait.svg) no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .25s ease-out;
  pointer-events: none;
}
.texte a:hover, .texte a:focus-visible, a.lien:hover, a.lien:focus-visible { text-decoration-color: transparent; }
.texte a:hover::after, .texte a:focus-visible::after,
a.lien:hover::after, a.lien:focus-visible::after { clip-path: inset(0 0 0 0); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.35rem;
  background: var(--fx-color-accent); color: var(--fx-color-contraste);
  border: 2px solid var(--fx-color-accent); border-radius: 0;
  font-family: var(--fx-font-body); font-weight: 700; font-size: .875rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--fx-color-texte); border-color: var(--fx-color-texte); }
.btn--creux { background: transparent; color: var(--fx-color-texte); border-color: var(--fx-color-texte); }
.btn--creux:hover { background: var(--fx-color-texte); color: var(--fx-color-contraste); }

.mini-lune {
  flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 36%, var(--fx-color-accent) 0 52%, transparent 78%),
    radial-gradient(circle at 70% 70%, var(--fx-color-fond) 0 1px, transparent 1.5px) 0 0 / 4px 4px,
    var(--fx-color-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--fx-color-accent) 45%, transparent);
}

/* ---------- Indice suivant ---------- */
.suivant {
  display: inline-flex; align-items: center; gap: .85rem; min-height: 48px;
  font-family: var(--fx-font-accent); font-weight: 700; font-size: .9375rem;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  color: var(--fx-color-texte);
}
.suivant svg { width: 3.75rem; height: 1.6rem; color: var(--fx-color-accent); transition: transform .25s ease-out; flex: none; }
.suivant:hover svg, .suivant:focus-visible svg { transform: translateX(6px); }
.suivant:hover span, .suivant:focus-visible span { color: var(--fx-color-accent); }

/* ==========================================================
   BARRE DE NAVIGATION
   ========================================================== */
.barre {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--fx-color-fond) 94%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--fx-color-bordure);
}
.barre__in { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: 4.25rem; }
.marque { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 48px; }
.marque img { width: 54px; height: auto; }
.marque span {
  font-family: var(--fx-font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: .01em; line-height: 1;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem;
  font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--fx-color-texte); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .45rem; height: .35rem;
  background: var(--fx-color-accent);
  -webkit-mask: url(/assets/trait.svg) no-repeat center / 100% 100%;
          mask: url(/assets/trait.svg) no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .25s ease-out;
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { clip-path: inset(0 0 0 0); }
.place { display: inline-flex; align-items: center; gap: .65rem; }
.place .btn { min-height: 44px; padding: .55rem 1rem; font-size: .8125rem; }

@media (max-width: 760px) {
  .barre__in { flex-wrap: wrap; gap: 0 .75rem; padding-top: .35rem; }
  .marque img { width: 44px; }
  .place { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 calc(var(--marge) * -1); width: calc(100% + var(--marge) * 2); border-top: 1px solid var(--fx-color-bordure); }
  .nav ul { justify-content: space-around; }
  .nav a { padding: 0 .5rem; font-size: .75rem; }
  .nav a::after { left: .5rem; right: .5rem; bottom: .4rem; }
}
@media (max-width: 480px) {
  .marque span { display: none; }
  .place .mini-lune { width: 1.15rem; height: 1.15rem; }
}

/* ==========================================================
   UNE (accueil)
   ========================================================== */
.une { position: relative; overflow: hidden; overflow: clip; }
.une__mur { padding-block: clamp(3rem, 8vw, 7.5rem) clamp(3rem, 7vw, 6rem); align-items: center; }
.une__texte { position: relative; z-index: 2; }
.une h1 { font-size: clamp(4rem, 25vw, 11rem); }
.une h1 .l + .l { margin-top: .02em; }
.une .chapo { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.une .chapo strong { font-weight: 600; }

.une__lune { position: relative; padding-top: clamp(8rem, 30vw, 14rem); margin-top: 1rem; }
.lune {
  position: absolute; z-index: 0;
  aspect-ratio: 1 / 1; height: auto;
  filter: drop-shadow(0 0 60px color-mix(in srgb, var(--fx-color-accent) 30%, transparent));
  animation: allumage .4s ease-out both;
}
@keyframes allumage {
  from { opacity: .45; filter: brightness(.35) saturate(.4) drop-shadow(0 0 0 transparent); }
  to   { opacity: 1; filter: brightness(1) saturate(1) drop-shadow(0 0 60px color-mix(in srgb, var(--fx-color-accent) 30%, transparent)); }
}
.une__lune .lune { width: 125vw; max-width: none; left: 18%; top: 0; }
.une__lune .carton { position: relative; z-index: 2; max-width: 23rem; width: calc(100% - 2.75rem); box-shadow: 8px 8px 0 var(--fx-color-contraste); }

@media (min-width: 900px) {
  .une__texte { grid-column: 1 / span 7; }
  .une__lune { grid-column: 8 / -1; min-height: 40rem; display: flex; align-items: center; padding-top: 0; margin-top: 0; }
  .une__lune .lune { width: min(58vw, 900px); left: -10%; top: 50%; transform: translateY(-50%); }
  .une__lune .carton { width: auto; }
  .une__lune .carton { margin: 0; left: 8%; box-shadow: 10px 10px 0 var(--fx-color-contraste); }
  .une h1 { font-size: clamp(5rem, 13vw, 13.5rem); }
}

/* ---------- Carton d'indice ---------- */
.carton {
  background: var(--fx-color-surface);
  border-left: 4px solid var(--fx-color-accent);
  padding: 1.4rem 1.5rem 1.6rem;
  font-family: var(--fx-font-accent);
  font-size: .9375rem; line-height: 1.5;
  color: var(--fx-color-texte);
}
.carton__tete {
  display: flex; flex-direction: column; gap: .15rem;
  margin: 0 0 1.1rem; padding-bottom: .8rem;
  border-bottom: 1px dashed var(--fx-color-bordure);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--fx-color-accent);
}
.carton__tete small { font-size: .8125rem; color: var(--fx-color-texte-secondaire); font-weight: 400; letter-spacing: .04em; }
.carton dl { margin: 0; display: grid; gap: .9rem; }
.carton dt {
  font-weight: 700; text-transform: uppercase; font-size: .8125rem; letter-spacing: .04em;
  color: var(--fx-color-texte-secondaire);
}
.carton dd { margin: .1rem 0 0; }
.carton .btn { margin-top: 1.4rem; }
.carton__note { margin: 1.2rem 0 0; font-size: .875rem; color: var(--fx-color-texte-secondaire); }
.annonce {
  display: inline-block; padding: 0 .45em;
  border: 1px dashed var(--fx-color-texte-secondaire);
  color: var(--fx-color-texte); font-style: normal;
}
.carton a:not(.btn) { color: var(--fx-color-texte); text-underline-offset: .2em; }

/* ---------- Bande jaune ---------- */
.bande { background: var(--fx-color-accent); color: var(--fx-color-contraste); }
.bande__in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.25rem; padding-block: 1.1rem; }
.bande__in > p {
  margin: 0 auto 0 0; font-family: var(--fx-font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: .9; letter-spacing: -.01em;
}
.bande__in > p .w3 { font-weight: 300; }
.bande a {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  color: var(--fx-color-contraste); text-decoration: none;
  font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
}
.bande a span { border-bottom: 2px solid currentColor; padding-bottom: .1rem; }
.bande a svg { width: 2.75rem; height: 1.2rem; transition: transform .25s ease-out; }
.bande a:hover svg, .bande a:focus-visible svg { transform: translateX(5px); }
.bande :focus-visible { outline-color: var(--fx-color-contraste); }

/* ---------- Fil de guinguette ---------- */
.guinguette { position: relative; height: 44px; margin-block: clamp(2.5rem, 6vw, 5rem); }
.guinguette::before, .guinguette::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  -webkit-mask-size: 120px 44px; mask-size: 120px 44px;
  -webkit-mask-position: center top; mask-position: center top;
}
.guinguette::before {
  background: var(--fx-color-texte-secondaire); opacity: .55;
  -webkit-mask-image: url(/assets/guinguette-fil.svg); mask-image: url(/assets/guinguette-fil.svg);
}
.guinguette::after {
  background: var(--fx-color-accent);
  -webkit-mask-image: url(/assets/guinguette-ampoules.svg); mask-image: url(/assets/guinguette-ampoules.svg);
}

/* ==========================================================
   AFFICHES
   ========================================================== */
.affiche {
  position: relative;
  background: var(--fx-color-surface);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}
.affiche::before {
  content: ""; position: absolute; inset: .6rem; pointer-events: none;
  border: 1px solid var(--fx-color-bordure);
}
.affiche > * { position: relative; }
.affiche--nue { background: transparent; padding-inline: 0; }
.affiche--nue::before { display: none; }
@media (min-width: 900px) {
  .affiche--g8 { grid-column: 1 / span 8; }
  .affiche--d10 { grid-column: 3 / span 10; }
  .affiche--g7 { grid-column: 1 / span 7; }
  .affiche--d5 { grid-column: 8 / span 5; }
}

/* Affiche « Grand bal » */
.grandbal .placard { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.grandbal .placard .xl { font-size: clamp(6rem, 17vw, 15rem); font-weight: 900; color: var(--fx-color-accent); line-height: .78; letter-spacing: -.03em; }
.grandbal .placard .filet { display: block; height: 4px; background: var(--fx-color-texte); margin: .35em 0 .3em; max-width: 100%; }
.grandbal .texte { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.valeurs {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
  border-top: 2px solid var(--fx-color-texte); border-bottom: 2px solid var(--fx-color-texte);
}
.valeurs li { padding: 1rem 0; border-bottom: 1px solid var(--fx-color-bordure); }
.valeurs li:last-child { border-bottom: 0; }
.valeurs b { display: block; font-family: var(--fx-font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: .9; }
.valeurs span { font-family: var(--fx-font-accent); font-size: .9375rem; color: var(--fx-color-texte-secondaire); }
@media (min-width: 640px) {
  .valeurs { grid-template-columns: repeat(3, 1fr); }
  .valeurs li { border-bottom: 0; border-right: 1px solid var(--fx-color-bordure); padding: 1.1rem 1rem; }
  .valeurs li:first-child { padding-left: 0; }
  .valeurs li:last-child { border-right: 0; }
}
.affiche .suivant { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* Affichette « jeu de piste » */
.affichette {
  border-top: 6px solid var(--fx-color-accent);
  padding: 1.5rem 0 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.affichette h2 { font-size: clamp(2.6rem, 4.4vw, 4rem); margin-bottom: 1.5rem; }
.piste { list-style: none; margin: 0; padding: 0; font-family: var(--fx-font-accent); font-size: .9375rem; line-height: 1.55; }
.piste li { padding: 1rem 0; border-top: 1px dashed var(--fx-color-bordure); }
.piste b { display: block; text-transform: uppercase; letter-spacing: .04em; font-size: .8125rem; color: var(--fx-color-texte-secondaire); margin-bottom: .2rem; }
@media (min-width: 900px) {
  .affichette { grid-column: 9 / span 4; grid-row: 1; margin-top: clamp(4rem, 9vw, 9rem); }
}

/* Affiche « Souvenirs » */
.souvenirs { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.souvenirs__mot { width: 100%; height: auto; color: var(--fx-color-texte-secondaire); }
.souvenirs__mot text { font-family: var(--fx-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.souvenirs h2 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
@media (min-width: 900px) {
  .souvenirs { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; }
  .souvenirs__mot { grid-column: 1 / -1; }
}

/* Affiche « Adhérer » pleine largeur */
.danse { padding-block: clamp(1rem, 3vw, 2rem) 0; }
.danse h2 { font-size: clamp(4rem, 13vw, 13rem); }
.danse__bas { display: grid; gap: 2rem; margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 2px solid var(--fx-color-texte); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
@media (min-width: 900px) {
  .danse__bas { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .danse__bas .actions { justify-content: flex-end; }
}

/* ==========================================================
   EN-TÊTES DE PAGES INTÉRIEURES
   ========================================================== */
.tete { position: relative; overflow: hidden; overflow: clip; padding-block: clamp(3rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem); }
.tete h1 { font-size: clamp(3.8rem, 10vw, 10rem); position: relative; z-index: 1; }
.tete .chapo { margin-top: 1.75rem; position: relative; z-index: 1; }
.tete__lune {
  position: absolute; z-index: 0; right: -14vw; top: 50%; transform: translateY(-50%);
  width: clamp(16rem, 38vw, 36rem);
  filter: none; animation-name: allumage-doux;
}
@keyframes allumage-doux { from { opacity: .3; } to { opacity: 1; } }
@media (max-width: 899px) { .tete__lune { right: -30vw; top: 2rem; transform: none; opacity: .35; } }

/* ==========================================================
   AGENDA — colonne Morris
   ========================================================== */
.morris { margin-top: clamp(1rem, 3vw, 2rem); }
.morris__dome {
  height: clamp(2.5rem, 5vw, 4rem); margin-inline: clamp(.75rem, 3vw, 2.5rem);
  background: var(--fx-color-surface);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  position: relative;
}
.morris__dome::before {
  content: ""; position: absolute; left: 50%; top: -1.1rem; transform: translateX(-50%);
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--fx-color-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--fx-color-accent) 60%, transparent);
}
.morris__corniche {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .7rem clamp(1rem, 3vw, 2.5rem);
  border-top: 3px solid var(--fx-color-texte); border-bottom: 3px solid var(--fx-color-texte);
  font-family: var(--fx-font-accent); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--fx-color-texte-secondaire);
}
.bandeau {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2.5rem);
  background: var(--fx-color-surface); color: var(--fx-color-texte);
  border-bottom: 2px solid var(--fx-color-bordure);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.bandeau__infos { font-family: var(--fx-font-accent); font-size: .9375rem; line-height: 1.55; }
.bandeau__infos b { text-transform: uppercase; letter-spacing: .04em; font-size: .8125rem; }
.bandeau__infos p { margin: 0; }
.bandeau__titre {
  font-family: var(--fx-font-display); text-transform: uppercase; font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 6rem); line-height: .86; letter-spacing: -.02em; margin: 0;
}
.bandeau__titre .w3 { font-weight: 300; }
.pastille {
  display: inline-block; margin-top: .6rem; padding: .1rem .5rem;
  font-family: var(--fx-font-accent); font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid var(--fx-color-accent-2); color: var(--fx-color-accent-2);
}
a.bandeau:hover, a.bandeau:focus-visible { background: var(--fx-color-accent); color: var(--fx-color-contraste); }
a.bandeau:hover .pastille, a.bandeau:focus-visible .pastille { color: var(--fx-color-contraste); border-color: var(--fx-color-contraste); }
a.bandeau:focus-visible { outline-offset: -6px; outline-color: var(--fx-color-contraste); }
.bandeau--eteint { background: transparent; color: var(--fx-color-texte-secondaire); border-bottom-style: dashed; }
.bandeau--eteint .bandeau__titre { font-weight: 700; }
@media (min-width: 760px) {
  .bandeau { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 2rem; }
  .bandeau__titre { text-align: right; }
  .bandeau__infos { border-right: 1px solid currentColor; padding-right: 2rem; border-color: color-mix(in srgb, currentColor 30%, transparent); }
}
.bandeau__lien { margin: .75rem 0 0; font-family: var(--fx-font-accent); font-weight: 700; font-size: .9375rem; text-transform: uppercase; letter-spacing: .04em; }
.texte--apres { margin-top: 2rem; }
@media (min-width: 760px) { .bandeau__droite { text-align: right; } }
.morris__socle { height: .9rem; background: var(--fx-color-bordure); margin-inline: -.5rem; }

.section-titre { font-size: clamp(2.6rem, 6.5vw, 6rem); margin-bottom: 1.5rem; }
.bloc { margin-top: clamp(3.5rem, 8vw, 7rem); }
.indices-mur { row-gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }

/* ==========================================================
   FORMULAIRES
   ========================================================== */
.formulaire { display: grid; gap: 1.6rem; }
.champ { display: grid; gap: .35rem; }
.champ label, .champ .label {
  font-family: var(--fx-font-accent); font-weight: 700; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--fx-color-texte);
}
.champ label small { font-weight: 400; color: var(--fx-color-texte-secondaire); text-transform: none; letter-spacing: 0; }
.champ input, .champ textarea, .champ select {
  width: 100%; min-height: 48px; padding: .55rem 0;
  background: transparent; color: var(--fx-color-texte);
  border: 0; border-bottom: 2px solid var(--fx-color-texte-secondaire); border-radius: 0;
  font-family: var(--fx-font-body); font-size: 1.0625rem;
}
.champ select { padding-right: 1.5rem; appearance: none; -webkit-appearance: none;
  background: linear-gradient(45deg, transparent 50%, var(--fx-color-accent) 50%) right .55rem center / .5rem .5rem no-repeat,
              linear-gradient(-45deg, transparent 50%, var(--fx-color-accent) 50%) right .2rem center / .5rem .5rem no-repeat; }
.champ select option { background: var(--fx-color-surface); color: var(--fx-color-texte); }
.champ textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ textarea:focus, .champ select:focus { border-bottom-color: var(--fx-color-accent); }
.case { display: flex; gap: .8rem; align-items: flex-start; min-height: 44px; }
.case input { width: 1.35rem; height: 1.35rem; margin: .2rem 0 0; accent-color: var(--fx-color-accent); flex: none; }
.case label { font-size: 1rem; }
.deux { display: grid; gap: 1.6rem; }
@media (min-width: 640px) { .deux { grid-template-columns: 1fr 1fr; } }
.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mention { font-size: .9375rem; color: var(--fx-color-texte-secondaire); margin: 0; }
.confirmation {
  background: var(--fx-color-accent); color: var(--fx-color-contraste);
  padding: 1.1rem 1.3rem; font-family: var(--fx-font-accent); font-weight: 700; line-height: 1.45;
  margin-bottom: 1.5rem;
}
.confirmation:focus-visible { outline-color: var(--fx-color-texte); }
[hidden] { display: none !important; }

/* ---------- Bulletin d'adhésion ---------- */
.bulletin {
  position: relative; background: var(--fx-color-surface);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-top: 2px dashed var(--fx-color-texte-secondaire);
}
.bulletin__decoupe {
  position: absolute; top: -.8rem; left: clamp(1rem, 4vw, 3rem);
  background: var(--fx-color-fond); padding: 0 .6rem;
  font-family: var(--fx-font-accent); font-size: .8125rem; color: var(--fx-color-texte-secondaire);
  text-transform: uppercase; letter-spacing: .06em;
}
.bulletin__tete {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-end;
  border-bottom: 3px double var(--fx-color-texte); padding-bottom: 1rem; margin-bottom: 2rem;
}
.bulletin__tete h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.bulletin__tete p { margin: 0; font-family: var(--fx-font-accent); font-size: .875rem; color: var(--fx-color-texte-secondaire); }

.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 3.25rem 1fr; gap: .25rem 1rem; padding: 1.25rem 0; border-top: 1px solid var(--fx-color-bordure); }
.etapes li:last-child { border-bottom: 1px solid var(--fx-color-bordure); }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  font-family: var(--fx-font-accent); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--fx-color-accent);
}
.etapes h3 { margin: 0 0 .25rem; font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.etapes p { margin: 0; grid-column: 2; }
.etapes li > div { grid-column: 2; grid-row: 1; }

.carton--adh { margin-top: 2rem; }
.actions--404 { margin-top: 2rem; }
.legal .carton { margin-bottom: 1rem; }
@media (min-width: 900px) {
  .affiche--g5-adh { grid-column: 1 / span 5; grid-row: 1; }
  .affiche--d7-adh { grid-column: 7 / span 6; grid-row: 1; }
  .affiche--g6 { grid-column: 1 / span 6; }
  .affiche--d6 { grid-column: 8 / span 5; }
  .legal { grid-column: 1 / span 8; }
}

/* ==========================================================
   PAGES TEXTE (mentions)
   ========================================================== */
.legal h2 { font-family: var(--fx-font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: .95; margin: 2.75rem 0 1rem; }
.legal h2:first-child { margin-top: 0; }

/* ==========================================================
   PIED DE PAGE
   ========================================================== */
.pied { margin-top: clamp(4rem, 10vw, 8rem); border-top: 1px solid var(--fx-color-bordure); position: relative; overflow: hidden; overflow: clip; }
.pied__mur { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; row-gap: 2rem; }
.pied__logo img { width: clamp(140px, 16vw, 190px); height: auto; }
.pied__bloc h2 { font-family: var(--fx-font-accent); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fx-color-texte-secondaire); margin: 0 0 .75rem; font-weight: 700; }
.pied__bloc p { margin: 0 0 .4rem; }
.pied__bloc ul { list-style: none; margin: 0; padding: 0; }
.pied__bloc li a { display: inline-flex; min-height: 40px; align-items: center; }
.pied__mail { font-family: var(--fx-font-accent); font-size: 1rem; word-break: break-word; }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--fx-color-bordure);
  font-size: .875rem; color: var(--fx-color-texte-secondaire);
}
.pied__bas p { margin: 0; }
.pied__bas a { color: var(--fx-color-texte-secondaire); }
@media (min-width: 900px) {
  .pied__logo { grid-column: 1 / span 3; }
  .pied__bloc:nth-of-type(2) { grid-column: 4 / span 4; }
  .pied__bloc:nth-of-type(3) { grid-column: 8 / span 2; }
  .pied__bloc:nth-of-type(4) { grid-column: 10 / span 3; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .pied__logo { grid-column: 1 / -1; }
  .pied__bloc { grid-column: span 6; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lune { opacity: 1; }
}
