/* M.C Muaythaï 2 — univers « affiche de gala thaïlandaise » : encre, papier, coin rouge, coin bleu, or. */

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/barlow-condensed-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/barlow-condensed-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/barlow-condensed-latin-800-italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/assets/barlow-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/assets/barlow-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --encre: #0e0c0b;
  --encre-2: #1a1512;
  --encre-3: #261f1a;
  --sur-encre: #f4ecdf;
  --sur-encre-doux: #b9aa98;
  --papier: #f1e8d8;
  --papier-2: #e7dbc6;
  --texte: #17120f;
  --texte-doux: #5a4a3c;
  --ligne: #d6c7ae;
  --rouge: #c8102e;
  --rouge-vif: #e3203d;
  --bleu: #1f3c88;
  --or: #f2b632;
  --accent-texte: #a50d26;
  --affiche: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --corps: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --thai: 'Leelawadee UI', 'Noto Sans Thai', Thonburi, Tahoma, sans-serif;
  --largeur: 1240px;
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --trame: radial-gradient(circle at center, rgb(0 0 0 / 38%) 0.9px, rgb(0 0 0 / 0%) 1.5px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #16120f;
    --papier-2: #201a16;
    --texte: #f1e8da;
    --texte-doux: #bba996;
    --ligne: #3a2f27;
    --accent-texte: #ff8a96;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

/* Grain d'affiche imprimée, posé sur toute la page. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.07;
}

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

a {
  color: var(--accent-texte);
  text-underline-offset: 0.18em;
}

a[href^='tel:'] {
  white-space: nowrap;
}

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

h1,
h2,
h3 {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 11vw, 8.6rem);
}

h2 {
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 0.95;
}

p {
  margin: 0 0 1em;
}

.conteneur {
  width: min(100% - 2rem, var(--largeur));
  margin-inline: auto;
}

.lien-evitement {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 120;
  background: var(--or);
  color: var(--encre);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.lien-evitement:focus {
  left: 0.5rem;
}

.thai {
  font-family: var(--thai);
  font-style: normal;
  text-transform: none;
}

/* Étiquette de section : petit carré rouge + capitales espacées. */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-texte);
}

.etiquette::before {
  content: '';
  width: 0.7rem;
  height: 0.7rem;
  background: var(--rouge);
  transform: rotate(45deg);
  flex: none;
}

.sombre .etiquette,
.heros .etiquette {
  color: var(--or);
}

/* ——— Bandeau défilant (ticker) ——— */
.ticker {
  background: var(--rouge);
  color: #fff;
  overflow: hidden;
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--encre);
}

.ticker__piste {
  display: flex;
  width: max-content;
  animation: defiler 38s linear infinite;
}

.ticker:hover .ticker__piste {
  animation-play-state: paused;
}

.ticker__groupe {
  display: flex;
  flex: none;
}

.ticker__groupe span {
  padding: 0.42rem 1.4rem;
  white-space: nowrap;
}

.ticker__groupe span::after {
  content: '✦';
  margin-left: 2.8rem;
  color: var(--or);
}

@keyframes defiler {
  to {
    transform: translateX(-50%);
  }
}

.ticker {
  position: relative;
}

/* Bouton pause (WCAG 2.2.2) : arrête bandeau, marquee et sceaux qui tournent. */
.ticker__pause {
  display: none;
}

.js .ticker__pause {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  border: 0;
  border-left: 2px solid var(--encre);
  background: var(--rouge);
  color: #fff;
  cursor: pointer;
}

.ticker__pause span {
  width: 0.7rem;
  height: 0.8rem;
  border-inline: 3px solid currentColor;
}

.anim-pause .ticker__pause span {
  width: 0;
  height: 0;
  border: 0;
  border-left: 0.7rem solid currentColor;
  border-block: 0.45rem solid rgb(0 0 0 / 0%);
}

.anim-pause .ticker__piste,
.anim-pause .marquee__piste,
.anim-pause .sceau__anneau,
.anim-pause .tampon__anneau {
  animation-play-state: paused;
}

/* ——— En-tête ——— */
.entete {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--encre);
  color: var(--sur-encre);
  border-bottom: 3px solid var(--or);
  transition: box-shadow 0.3s ease;
}

.entete--compacte {
  box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
}

.entete__ligne {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.75rem;
  transition: min-height 0.3s var(--sortie);
}

.entete--compacte .entete__ligne {
  min-height: 3.75rem;
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}

.sceau {
  width: 3.4rem;
  height: 3.4rem;
  flex: none;
  transition: width 0.3s var(--sortie), height 0.3s var(--sortie);
}

.entete--compacte .sceau {
  width: 2.8rem;
  height: 2.8rem;
}

.sceau__anneau {
  transform-origin: 50% 50%;
  animation: tourner 24s linear infinite;
}

.marque:hover .sceau__anneau {
  animation-duration: 6s;
}

@keyframes tourner {
  to {
    transform: rotate(360deg);
  }
}

.marque__texte {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.marque__nom {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.marque__nom em {
  font-style: inherit;
  color: var(--or);
}

.marque__lieu {
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sur-encre-doux);
  margin-top: 0.3rem;
}

.navigation ul {
  display: flex;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation a {
  position: relative;
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--sur-encre);
  text-decoration: none;
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Bande de « tape » rouge qui se déroule sous le lien. */
.navigation a::after {
  content: '';
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.3rem;
  height: 4px;
  background: var(--rouge-vif);
  transform: scaleX(0) skewX(-20deg);
  transform-origin: left;
  transition: transform 0.35s var(--sortie);
}

.navigation a:hover::after,
.navigation a[aria-current='page']::after {
  transform: scaleX(1) skewX(-20deg);
}

.navigation a[aria-current='page'] {
  color: var(--or);
}

.navigation__telephone {
  display: none;
}

.burger {
  display: none;
}

/* Bouton « coin rouge » : bloc biseauté. */
.bouton {
  --fond-bouton: var(--rouge);
  --texte-bouton: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  background: var(--fond-bouton);
  color: var(--texte-bouton);
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0.7rem 0, 100% 0, calc(100% - 0.7rem) 100%, 0 100%);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--sortie);
  cursor: pointer;
}

.bouton::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--encre);
  transform: translateX(-101%) skewX(-18deg);
  transform-origin: left;
  transition: transform 0.4s var(--sortie);
}

.bouton:hover {
  transform: translateY(-2px);
}

.bouton:hover::before {
  transform: translateX(0) skewX(-18deg) scaleX(1.2);
}

.bouton svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.bouton--or {
  --fond-bouton: var(--or);
  --texte-bouton: var(--encre);
}

.bouton--or:hover {
  color: var(--or);
}

.bouton--contour {
  --fond-bouton: transparent;
  --texte-bouton: currentColor;
  box-shadow: inset 0 0 0 2px currentColor;
  clip-path: none;
}

.bouton--contour::before {
  background: currentColor;
  opacity: 0.12;
}

.bouton--encre {
  --fond-bouton: var(--encre);
  --texte-bouton: var(--sur-encre);
}

.bouton--encre::before {
  background: var(--or);
}

.bouton--encre:hover {
  color: var(--encre);
}

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.entete__appel .bouton {
  min-height: 2.8rem;
  font-size: 1.05rem;
  padding: 0.6rem 1.2rem;
}

@media (max-width: 1099px) {
  .entete__appel {
    display: none;
  }
}

/* Mobile sans JavaScript : navigation en ruban défilant. */
@media (max-width: 959px) {
  .entete__ligne {
    flex-wrap: wrap;
    gap: 0.2rem;
    padding-top: 0.6rem;
  }

  .navigation {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.3rem;
  }

  .navigation::-webkit-scrollbar {
    display: none;
  }

  /* Avec JavaScript : bouton burger et menu plein écran. */
  .js .entete__ligne {
    flex-wrap: nowrap;
    padding-top: 0;
  }

  .js .burger {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 2px solid var(--sur-encre);
    background: transparent;
    color: var(--sur-encre);
    cursor: pointer;
    z-index: 2;
  }

  .burger__barres {
    position: relative;
    width: 1.4rem;
    height: 2px;
    background: currentColor;
    transition: background 0.2s;
  }

  .burger__barres::before,
  .burger__barres::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.35s var(--sortie);
  }

  .burger__barres::before {
    transform: translateY(-7px);
  }

  .burger__barres::after {
    transform: translateY(7px);
  }

  .menu-ouvert .burger__barres {
    background: transparent;
  }

  .menu-ouvert .burger__barres::before {
    transform: rotate(45deg);
  }

  .menu-ouvert .burger__barres::after {
    transform: rotate(-45deg);
  }

  .js .navigation {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: 6rem 1.5rem 2rem;
    background: var(--rouge);
    overflow-y: auto;
    clip-path: circle(0 at calc(100% - 2.5rem) 2.4rem);
    visibility: hidden;
    transition: clip-path 0.6s var(--sortie), visibility 0s linear 0.6s;
  }

  .js .navigation::before {
    content: 'มวยไทย' / '';
    position: absolute;
    right: -1rem;
    bottom: 1rem;
    font-family: var(--thai);
    font-size: 7rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgb(255 255 255 / 25%);
    pointer-events: none;
  }

  .menu-ouvert .navigation {
    clip-path: circle(150% at calc(100% - 2.5rem) 2.4rem);
    visibility: visible;
    transition: clip-path 0.6s var(--sortie), visibility 0s;
  }

  .js .navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .js .navigation a {
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0;
    padding: 0.3rem 0;
    color: #fff;
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.4s, transform 0.5s var(--sortie);
  }

  .js .navigation a::after {
    left: 0;
    right: auto;
    width: 3rem;
    background: var(--or);
    bottom: 0.2rem;
  }

  .js .navigation a[aria-current='page'] {
    color: var(--or);
  }

  .menu-ouvert .navigation a {
    opacity: 1;
    transform: none;
  }

  .menu-ouvert .navigation li:nth-child(2) a { transition-delay: 0.04s; }
  .menu-ouvert .navigation li:nth-child(3) a { transition-delay: 0.08s; }
  .menu-ouvert .navigation li:nth-child(4) a { transition-delay: 0.12s; }
  .menu-ouvert .navigation li:nth-child(5) a { transition-delay: 0.16s; }
  .menu-ouvert .navigation li:nth-child(6) a { transition-delay: 0.2s; }
  .menu-ouvert .navigation li:nth-child(7) a { transition-delay: 0.24s; }

  .js .navigation__telephone {
    display: block;
    margin-top: 2rem;
  }

  .menu-ouvert {
    overflow: hidden;
  }

  .menu-ouvert .barre-appel {
    display: none;
  }
}

/* ——— Héros d'accueil ——— */
.heros {
  position: relative;
  overflow: hidden;
  background: var(--encre);
  color: var(--sur-encre);
  padding: clamp(2.5rem, 6vw, 5rem) 0 0;
}

.heros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--trame);
  background-size: 6px 6px;
  opacity: 0.5;
  mask-image: linear-gradient(115deg, rgb(0 0 0 / 0%) 35%, #000 100%);
  pointer-events: none;
}

.heros__thai {
  position: absolute;
  right: -0.08em;
  top: 0.1em;
  font-family: var(--thai);
  font-size: clamp(7rem, 24vw, 21rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(242 182 50 / 16%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.heros__grille {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 960px) {
  .heros__grille {
    grid-template-columns: 1.25fr 0.85fr;
  }
}

.heros__titre {
  margin-bottom: 0.35em;
}

.heros__titre .ligne {
  display: block;
  overflow: hidden;
  padding-right: 0.1em;
}

.heros__titre .ligne > span {
  display: block;
}

.heros__titre .ligne--rouge {
  color: var(--rouge-vif);
}

.heros__titre .ligne--contour {
  color: transparent;
  -webkit-text-stroke: 2px var(--sur-encre);
}

.heros__chapo {
  max-width: 34rem;
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  color: var(--sur-encre-doux);
  margin-bottom: 1.8rem;
}

.heros__chapo strong {
  color: var(--sur-encre);
  font-weight: 600;
}

.heros__photo {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 22rem;
}

.heros__photo img {
  width: 100%;
  height: 100%;
  max-height: 40rem;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.85) contrast(1.08) brightness(1.2);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.heros__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(14 12 11 / 0%) 60%, rgb(14 12 11 / 55%) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.mention-illustration {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 1;
  padding: 0.15rem 0.5rem;
  background: rgb(14 12 11 / 75%);
  color: var(--sur-encre-doux);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* Tampon circulaire « diplômé d'État ». */
.tampon {
  position: absolute;
  z-index: 2;
  width: 8.5rem;
  height: 8.5rem;
  left: -1.5rem;
  top: 1.5rem;
  color: var(--or);
}

.tampon svg {
  width: 100%;
  height: 100%;
}

.tampon__anneau {
  transform-origin: 50% 50%;
  animation: tourner 30s linear infinite reverse;
}

@media (max-width: 959px) {
  .heros__photo {
    min-height: 0;
  }

  .heros__photo img {
    aspect-ratio: 4 / 3;
    max-height: 26rem;
    object-position: 50% 25%;
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  }

  .heros__photo::after {
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  }

  .tampon {
    width: 6.5rem;
    height: 6.5rem;
    left: auto;
    right: 0.75rem;
    top: -1.5rem;
  }
}

/* Carte des combats du mardi. */
.carte-combat {
  position: relative;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: var(--papier);
  color: var(--texte);
  border-top: 6px solid var(--rouge);
}

.carte-combat__titre {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  padding: 1.1rem 0 0.4rem;
  font-family: var(--affiche);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--texte-doux);
}

.carte-combat__liste {
  list-style: none;
  margin: 0;
  padding: 0;
}

.combat {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ligne);
  color: inherit;
  text-decoration: none;
}

.combat__round {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rouge);
  padding: 0.25rem 0.7rem;
  clip-path: polygon(0.35rem 0, 100% 0, calc(100% - 0.35rem) 100%, 0 100%);
}

.combat:nth-child(2) .combat__round {
  background: var(--bleu);
}

.combat__heure {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}

.combat__detail {
  grid-column: 2 / -1;
  color: var(--texte-doux);
}

.combat__detail strong {
  color: var(--texte);
  font-weight: 600;
}

.combat__fleche {
  grid-row: 1;
  grid-column: 3;
  font-family: var(--affiche);
  font-size: 2rem;
  color: var(--accent-texte);
  transition: transform 0.3s var(--sortie);
}

.combat:hover .combat__fleche {
  transform: translateX(0.4rem);
}

@media (min-width: 760px) {
  .combat {
    grid-template-columns: 7rem 19rem 1fr auto;
  }

  .combat__detail {
    grid-column: auto;
  }

  .combat__fleche {
    grid-column: 4;
  }
}

/* ——— Bandeau des disciplines (marquee) ——— */
.marquee {
  overflow: hidden;
  background: var(--encre);
  color: var(--sur-encre);
  border-block: 3px solid var(--or);
  padding: 0.6rem 0;
}

.marquee__piste {
  display: flex;
  width: max-content;
  animation: defiler 42s linear infinite;
}

.marquee__piste--inverse {
  animation-direction: reverse;
  animation-duration: 50s;
}

.marquee__piste span {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 2.5rem;
}

.marquee__piste span:nth-child(odd) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sur-encre);
}

.marquee__piste span:nth-child(3n) {
  color: var(--rouge-vif);
  -webkit-text-stroke: 0;
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.sombre {
  background: var(--encre);
  color: var(--sur-encre);
}

.sombre a:not(.bouton) {
  color: var(--or);
}

.section--trame {
  background-image: var(--trame);
  background-size: 7px 7px;
}

.section__entete {
  max-width: 50rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__entete p {
  font-size: 1.15rem;
  color: var(--texte-doux);
}

.sombre .section__entete p {
  color: var(--sur-encre-doux);
}

/* Liste des disciplines façon affiche. */
.disciplines {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1000px) {
  .disciplines {
    grid-template-columns: 1fr 22rem;
    align-items: start;
  }
}

.rangs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--texte);
}

.rang {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 0.2rem 1rem;
  align-items: center;
  padding: 1.15rem 0.75rem;
  border-bottom: 2px solid var(--texte);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
}

.rang::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rouge);
  transform: translateX(-101%);
  transition: transform 0.45s var(--sortie);
}

.rang:hover::before,
.rang:focus-visible::before {
  transform: none;
}

.rang:hover,
.rang:focus-visible {
  color: #fff;
}

.rang__numero {
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--accent-texte);
  transition: color 0.3s;
}

.rang:hover .rang__numero {
  color: var(--or);
}

.rang__nom {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.rang__sous-titre {
  grid-column: 2;
  color: var(--texte-doux);
  font-size: 0.98rem;
  transition: color 0.3s;
}

.rang:hover .rang__sous-titre {
  color: rgb(255 255 255 / 85%);
}

.rang__fleche {
  grid-row: 1 / span 2;
  grid-column: 3;
  font-family: var(--affiche);
  font-size: 2.2rem;
  transition: transform 0.35s var(--sortie);
}

.rang:hover .rang__fleche {
  transform: translateX(0.5rem) rotate(-8deg);
}

.cadre-photo {
  position: relative;
  margin: 0;
}

.cadre-photo img {
  width: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
}

.cadre-photo--colle {
  position: sticky;
  top: 7rem;
}

.cadre-photo--affiche {
  box-shadow: 14px 14px 0 var(--rouge);
}

@media (max-width: 999px) {
  .disciplines .cadre-photo {
    display: none;
  }
}

/* Coach. */
.coach {
  position: relative;
  overflow: hidden;
}

.coach__fond {
  position: absolute;
  inset: 0;
}

.coach__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.32) contrast(1.1);
}

.coach__grille {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .coach__grille {
    grid-template-columns: 1.3fr 1fr;
  }
}

.coach__nom {
  font-size: clamp(3.2rem, 9vw, 7rem);
}

.coach__nom span {
  display: block;
  color: var(--or);
}

.coach__diplome {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--or);
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or);
}

.coach__diplome svg {
  width: 1.2rem;
  height: 1.2rem;
}

.coach__texte {
  font-size: 1.12rem;
  color: var(--sur-encre);
  max-width: 36rem;
}

.coach__tampon {
  justify-self: center;
  width: min(18rem, 70vw);
  color: var(--or);
}

/* Rounds du premier cours. */
.rounds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.round {
  position: relative;
  padding: 1.6rem 1.5rem 1.6rem;
  background: var(--papier);
  border: 2px solid var(--texte);
  box-shadow: 8px 8px 0 var(--texte);
  transition: transform 0.3s var(--sortie), box-shadow 0.3s var(--sortie);
}

.round:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--rouge);
}

.round__numero {
  display: block;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--rouge);
  margin-bottom: 0.6rem;
}

.round h3 {
  margin-bottom: 0.4rem;
}

.round p {
  margin: 0;
  color: var(--texte-doux);
}

/* Galerie d'ambiance. */
.galerie {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 11rem;
}

.galerie figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.8s var(--sortie), filter 0.5s;
}

.galerie figure:hover img {
  transform: scale(1.05);
  filter: none;
}

.galerie figure:first-child {
  grid-row: span 2;
}

@media (min-width: 800px) {
  .galerie {
    grid-template-columns: 1.3fr 1fr;
    grid-auto-rows: 17rem;
  }
}

/* Communes : liste façon programme, avec pointillés. */
.programme {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  columns: 2 18rem;
  column-gap: 3rem;
}

.programme li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.45rem 0;
  break-inside: avoid;
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.programme li::after {
  content: '';
  order: 1;
  flex: 1;
  border-bottom: 2px dotted var(--ligne);
  transform: translateY(-0.3rem);
}

.programme li span {
  order: 2;
  font-style: italic;
  font-weight: 800;
  color: var(--accent-texte);
  white-space: nowrap;
}

/* Affiche du club. */
.deux-colonnes {
  display: grid;
  gap: 2.5rem;
}

.deux-colonnes > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .deux-colonnes {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .deux-colonnes--centre {
    align-items: center;
  }
}

.affiche {
  margin: 0;
  transform: rotate(1.5deg);
  box-shadow: 0 30px 60px rgb(0 0 0 / 45%);
  border: 8px solid #fff;
  transition: transform 0.5s var(--sortie);
}

.affiche:hover {
  transform: rotate(0deg) scale(1.02);
}

.affiche figcaption {
  padding: 0.6rem 0.2rem 0.1rem;
  background: #fff;
  color: #3b3029;
  font-size: 0.88rem;
}

/* Appel final. */
.appel-final {
  position: relative;
  overflow: hidden;
  background: var(--rouge);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.appel-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgb(0 0 0 / 22%) 1px, rgb(0 0 0 / 0%) 1.6px);
  background-size: 6px 6px;
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 0%), #000);
}

.appel-final__grille {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .appel-final__grille {
    grid-template-columns: 1fr auto;
  }
}

.appel-final h2 {
  margin-bottom: 0.2em;
}

.appel-final p {
  margin: 0;
  font-size: 1.12rem;
  max-width: 38rem;
}

/* ——— Héros des pages intérieures ——— */
.heros--page {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.heros--page .heros__fond {
  position: absolute;
  inset: 0;
}

.heros--page .heros__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.08) brightness(1);
}

.heros--page .heros__fond::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(200 16 46 / 28%), rgb(200 16 46 / 0%) 40%),
    linear-gradient(100deg, rgb(14 12 11 / 96%) 0%, rgb(14 12 11 / 82%) 38%, rgb(14 12 11 / 18%) 68%, rgb(14 12 11 / 0%) 100%);
}

@media (max-width: 759px) {
  .heros--page .heros__fond::after {
    background: linear-gradient(180deg, rgb(14 12 11 / 55%) 0%, rgb(14 12 11 / 85%) 100%);
  }
}

.heros--page .conteneur {
  position: relative;
}

.heros--page h1 {
  font-size: clamp(3rem, 9vw, 6.8rem);
  max-width: 14ch;
}

.heros--page h1 em {
  font-style: inherit;
  color: var(--rouge-vif);
}

.fil-ariane {
  margin-bottom: 1.5rem;
  font-family: var(--affiche);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--sur-encre-doux);
}

.fil-ariane a {
  color: var(--sur-encre);
}

.heros--page .heros__chapo {
  margin-bottom: 0;
}

/* Contenu rédactionnel. */
.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin-top: 2.6rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--rouge);
}

/* Encadré façon billet, avec perforation. */
.billet {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--encre);
  color: var(--sur-encre);
  border-top: 6px solid var(--rouge);
}

.billet::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 18px;
  background: radial-gradient(circle at 9px 0, var(--papier) 6px, rgb(0 0 0 / 0%) 6.5px) repeat-x;
  background-size: 18px 18px;
}

@media (min-width: 900px) {
  .billet--colle {
    position: sticky;
    top: 7rem;
  }
}

.billet h2 {
  font-size: 2.1rem;
  color: var(--or);
}

.billet dl {
  margin: 0 0 1.5rem;
}

.billet dt {
  font-family: var(--affiche);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--sur-encre-doux);
}

.billet dd {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.billet a:not(.bouton) {
  color: var(--or);
}

.discipline {
  scroll-margin-top: 7rem;
}

.sommaire-communes {
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.commune {
  scroll-margin-top: 7rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ligne);
}

.commune h3 {
  margin-bottom: 0.4rem;
}

.commune p {
  margin: 0;
}

.discipline + .discipline {
  border-top: 2px solid var(--texte);
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.discipline__sous-titre {
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-texte);
}

.photo-texte {
  margin: 2.5rem 0;
}

.photo-texte img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
}

.photo-texte figcaption,
.cadre-photo figcaption,
.galerie figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--texte-doux);
}

.galerie figcaption {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  margin: 0;
  padding: 0.1rem 0.45rem;
  background: rgb(14 12 11 / 75%);
  color: var(--sur-encre-doux);
}

/* Tableaux. */
.tableau-defile {
  overflow-x: auto;
  border: 2px solid var(--texte);
  background: var(--papier);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--ligne);
}

tbody tr:last-child td {
  border-bottom: 0;
}

thead th {
  background: var(--encre);
  color: var(--sur-encre);
  font-family: var(--affiche);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

tbody tr:hover {
  background: var(--papier-2);
}

.nombre {
  text-align: right;
  white-space: nowrap;
}

caption {
  caption-side: bottom;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--texte-doux);
  text-align: left;
}

/* FAQ. */
.faq {
  max-width: 54rem;
  border-top: 2px solid var(--texte);
}

.faq details {
  border-bottom: 2px solid var(--texte);
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.5rem 1.25rem 0;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  translate: 0 -50%;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--rouge);
  color: #fff;
  font-family: var(--corps);
  font-style: normal;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  transition: rotate 0.35s var(--sortie);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq summary:hover {
  color: var(--accent-texte);
}

.faq details > div {
  padding: 0 0 1.25rem;
  color: var(--texte-doux);
  font-size: 1.08rem;
  max-width: 44rem;
}

/* ——— Formulaire de cours d'essai ——— */
.formulaire {
  display: grid;
  gap: 1.1rem;
  max-width: 44rem;
}

.formulaire label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.formulaire input:not([type='radio'], [type='checkbox']),
.formulaire textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--texte);
  border-radius: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
}

.formulaire input:focus,
.formulaire textarea:focus {
  outline: 3px solid var(--rouge);
  outline-offset: 0;
}

.formulaire__ligne {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .formulaire__ligne {
    grid-template-columns: 1fr 1fr;
  }
}

.formulaire__choix {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.formulaire__choix legend {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.formulaire__choix label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--texte);
  cursor: pointer;
  text-transform: none;
  font-family: var(--corps);
  letter-spacing: 0;
}

.formulaire__choix label:has(:checked) {
  background: var(--rouge);
  border-color: var(--rouge);
  color: #fff;
}

.formulaire input[type='radio'],
.formulaire input[type='checkbox'] {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: var(--rouge);
  flex: none;
}

.formulaire:has(input[value='adulte']:checked) .formulaire__enfant {
  display: none;
}

.formulaire__accord {
  display: flex !important;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--corps) !important;
  font-size: 1rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.formulaire .bouton {
  justify-self: start;
}

.formulaire__erreur {
  display: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border: 3px solid var(--rouge);
  font-weight: 600;
}

.formulaire__erreur:target {
  display: block;
}

.piege {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ——— Actus ——— */
.actus {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.actu {
  display: grid;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.actu__visuel {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--encre);
  border: 2px solid var(--texte);
}

.actu__visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--sortie);
}

.actu:hover .actu__visuel img {
  transform: scale(1.05);
}

.actu__vide {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 4rem;
  color: var(--rouge);
  background-image: var(--trame);
  background-size: 6px 6px;
}

.actu__date {
  font-family: var(--affiche);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-texte);
}

.actu__titre {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.actu:hover .actu__titre {
  color: var(--accent-texte);
}

.actu__resume {
  color: var(--texte-doux);
}

.vide {
  font-size: 1.15rem;
  color: var(--texte-doux);
}

.article {
  max-width: 54rem;
}

.article__couverture {
  margin: 0 0 2.5rem;
}

.article__couverture img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  border: 2px solid var(--texte);
}

.article__galerie {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  margin: 2.5rem 0;
}

.article__galerie figure {
  margin: 0;
}

.article__galerie img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.provisoire {
  padding: 1rem 1.25rem;
  border: 3px dashed var(--rouge);
  margin-bottom: 2rem;
}

/* ——— Pied de page ——— */
.pied {
  position: relative;
  overflow: hidden;
  background: var(--encre);
  color: var(--sur-encre-doux);
  padding: 4rem 0 2rem;
}

.pied__marque {
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3.5rem, 13vw, 11rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(244 236 223 / 35%);
  margin: 0 0 2.5rem;
  white-space: nowrap;
}

.pied__marque span {
  color: var(--rouge);
  -webkit-text-stroke: 0;
}

.pied__grille {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-bottom: 2.5rem;
}

.pied h2 {
  font-size: 1.3rem;
  color: var(--or);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.pied a {
  color: var(--sur-encre);
}

.pied address {
  font-style: normal;
}

.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pied li {
  margin-bottom: 0.35rem;
}

.pied__bas {
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.86rem;
}

.pied__bas {
  align-items: center;
}

.lien-insta {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.4rem;
  border: 1px solid rgb(244 236 223 / 25%);
  border-radius: 50%;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--sortie);
}

.lien-insta svg {
  width: 1.35rem;
  height: 1.35rem;
}

.lien-insta:hover {
  color: var(--or);
  border-color: var(--or);
  transform: rotate(-8deg) scale(1.06);
}

.signature {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border: 1px solid rgb(244 236 223 / 18%);
  border-radius: 999px;
  color: var(--sur-encre);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}

.signature:hover {
  border-color: var(--or);
  background: rgb(244 236 223 / 5%);
}

.signature__portrait {
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: #3047df;
  border: 1px solid rgb(244 236 223 / 40%);
}

.signature__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signature__texte {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.signature__libelle {
  font-size: 0.78rem;
  color: var(--sur-encre-doux);
}

.signature__nom {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgb(244 236 223 / 45%);
  text-underline-offset: 0.2em;
}

.signature__fleche {
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.4rem;
  transition: transform 0.25s var(--sortie);
}

.signature:hover .signature__fleche {
  transform: translate(2px, -2px);
  color: var(--or);
}

.pied__thai {
  position: absolute;
  right: -2rem;
  top: 1rem;
  font-family: var(--thai);
  font-size: 9rem;
  line-height: 1;
  color: rgb(242 182 50 / 7%);
  pointer-events: none;
}

/* ——— Barre d'appel mobile ——— */
.barre-appel {
  position: fixed;
  inset: auto 0.75rem 0.75rem;
  z-index: 70;
  display: flex;
  gap: 0.4rem;
  filter: drop-shadow(0 10px 20px rgb(0 0 0 / 40%));
}

.barre-appel .bouton {
  flex: 1;
}

@media (max-width: 759px) {
  body {
    padding-bottom: 5rem;
  }
}

@media (min-width: 760px) {
  .barre-appel {
    display: none;
  }
}

.note {
  font-size: 0.9rem;
  color: var(--texte-doux);
}

/* ——— Apparitions au défilement (uniquement avec JavaScript) ——— */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s var(--sortie), transform 0.9s var(--sortie);
  transition-delay: var(--delai, 0s);
}

.js [data-reveal].est-visible {
  opacity: 1;
  transform: none;
}

.js .heros__titre .ligne > span {
  transform: translateY(105%);
  animation: monter 0.9s var(--sortie) forwards;
}

.js .heros__titre .ligne:nth-child(2) > span {
  animation-delay: 0.12s;
}

.js .heros__titre .ligne:nth-child(3) > span {
  animation-delay: 0.24s;
}

@keyframes monter {
  to {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal],
  .js .heros__titre .ligne > span {
    opacity: 1;
    transform: none;
  }
}

/* ——— Actus : page d'article ——— */
.lecture {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 85;
  height: 4px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .lecture {
    animation: lecture linear both;
    animation-timeline: scroll(root);
  }

  @keyframes lecture {
    to {
      transform: scaleX(1);
    }
  }
}

.article-page .article {
  max-width: 62rem;
}

.prose--article {
  margin-inline: auto;
  font-size: 1.12rem;
  line-height: 1.75;
}

.prose--article > p:first-child {
  font-size: 1.3rem;
  line-height: 1.6;
}

.prose--article > p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 4.2em;
  line-height: 0.8;
  color: var(--rouge);
}

.prose--article h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-top: 2.4rem;
}

.prose--article::after {
  content: '';
  display: block;
  clear: both;
}

.article__couverture {
  margin: 0 0 2.5rem;
}

.article__couverture img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  box-shadow: 14px 14px 0 var(--rouge);
}

.article__couverture figcaption,
.bloc-image figcaption,
.bloc-galerie figcaption,
.bloc-video figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--texte-doux);
}

.bloc-image {
  margin: 2rem 0;
}

.bloc-image img {
  width: 100%;
  height: auto;
}

.bloc-image--large {
  width: min(62rem, calc(100vw - 2rem));
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 760px) {
  .bloc-image--gauche,
  .bloc-image--droite {
    width: 45%;
    margin-top: 0.4rem;
    margin-bottom: 1rem;
  }

  .bloc-image--gauche {
    float: left;
    margin-right: 1.75rem;
  }

  .bloc-image--droite {
    float: right;
    margin-left: 1.75rem;
  }
}

.bloc-galerie {
  margin: 2.2rem 0;
}

.bloc-galerie__grille {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) {
  .bloc-galerie--3 .bloc-galerie__grille,
  .bloc-galerie--4 .bloc-galerie__grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bloc-galerie__grille img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--sortie);
}

.bloc-galerie__grille img:hover {
  transform: scale(1.03);
}

.citation {
  position: relative;
  margin: 2.5rem 0;
  padding: 0.5rem 0 0.5rem 1.6rem;
  border-left: 6px solid var(--rouge);
}

.citation::before {
  content: '“';
  position: absolute;
  top: -1.6rem;
  right: 0;
  font-family: var(--affiche);
  font-size: 8rem;
  line-height: 1;
  color: var(--or);
  opacity: 0.5;
}

.citation p {
  margin: 0 0 0.6rem;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.citation cite {
  font-style: normal;
  font-weight: 600;
  color: var(--texte-doux);
}

.bloc-video {
  margin: 2.2rem 0;
}

.video-facade,
.bloc-video iframe {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-facade {
  position: relative;
  gap: 1rem;
  align-content: center;
  background:
    var(--trame) 0 0 / 6px 6px,
    linear-gradient(135deg, var(--encre) 30%, #3a0a12 100%);
  color: var(--sur-encre);
  text-decoration: none;
  box-shadow: 14px 14px 0 var(--rouge);
}

.video-facade__bouton {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--rouge);
  position: relative;
  transition: transform 0.3s var(--sortie);
}

.video-facade__bouton::after {
  content: '';
  position: absolute;
  left: 2.15rem;
  top: 1.65rem;
  border-left: 1.7rem solid #fff;
  border-block: 1.1rem solid transparent;
}

.video-facade:hover .video-facade__bouton {
  transform: scale(1.08);
}

.video-facade__texte {
  display: grid;
  text-align: center;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.video-facade__texte small {
  font-family: var(--corps);
  font-style: normal;
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: none;
  color: var(--sur-encre-doux);
}

.bloc-appel {
  clear: both;
  margin: 2.5rem 0;
  padding: 1.6rem;
  background: var(--rouge);
  color: #fff;
}

.bloc-appel__titre {
  margin: 0 0 0.3rem;
  font-family: var(--affiche);
  font-style: italic;
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
}

.bloc-appel .bouton {
  --fond-bouton: var(--encre);
}

.bloc-appel .bouton--contour {
  --fond-bouton: transparent;
  color: #fff;
}

.partage {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 3rem auto 1rem;
  max-width: 46rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--texte);
}

.partage__titre {
  margin-right: auto;
  font-family: var(--affiche);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partage .bouton {
  min-height: 2.6rem;
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.retour-actus {
  max-width: 46rem;
  margin-inline: auto;
}

/* Aperçu d'une actu depuis le panneau (jamais publié) */
.bandeau-apercu {
  position: sticky;
  top: 0;
  z-index: 60;
  margin: 0;
  padding: 0.6rem 1rem;
  background: #f2b632;
  color: #0e0c0b;
  font-weight: 800;
  text-align: center;
}
