@charset "UTF-8";
/* =========================================================================
   TACTICAL FIGHT TEAM — PORTE D'ARIÈGE / MONTAUT (31410)
   Direction artistique : industriel & tactique. Acier noir, jaune signal,
   diagonales, grillage de cage, typographie condensée en capitales.
   ========================================================================= */

@import url("../fonts/fonts.css");

/* -------------------------------------------------------------- 1. TOKENS */
:root {
  /* Couleurs */
  --noir:        #08090a;
  --noir-profond:#050506;
  --charbon:     #101214;
  --acier:       #17191c;
  --acier-clair: #23262b;
  --fumee:       #3a3f46;
  --craie:       #f2f0ec;
  --craie-douce: #b9b7b2;
  --jaune:       #ffcd00;
  --jaune-vif:   #ffe14d;
  --jaune-sombre:#c79f00;
  --sang:        #c1121f;

  /* Typographie */
  --f-titre:  "Anton", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-tech:   "Saira Condensed", "Oswald", "Arial Narrow", sans-serif;
  --f-texte:  "Archivo", "Helvetica Neue", sans-serif;

  /* Échelle typographique fluide */
  --t-hero:  clamp(3.1rem, 8.4vw, 7.6rem);
  --t-h1:    clamp(2.6rem, 7vw, 5.4rem);
  --t-h2:    clamp(2rem, 4.6vw, 3.6rem);
  --t-h3:    clamp(1.35rem, 2.2vw, 1.85rem);
  --t-lead:  clamp(1.05rem, 1.55vw, 1.3rem);
  --t-base:  clamp(1rem, 1.05vw, 1.075rem);
  --t-petit: 0.82rem;

  /* Rythme */
  --gouttiere: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --max:       1280px;
  --max-texte: 68ch;

  --transi: 260ms cubic-bezier(.22,.61,.36,1);
  --ombre-dure: 8px 8px 0 var(--noir-profond);
}

/* --------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--noir);
  color: var(--craie);
  font-family: var(--f-texte);
  font-size: var(--t-base);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--jaune); color: var(--noir); }

/* Grain + vignette globale : donne de la matière au noir */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------- 3. UTILITAIRES / MISE EN PAGE */
.conteneur {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section-y); position: relative; }
.section--acier { background: var(--charbon); --fond-local: var(--charbon); }
.section--serre { padding-block: clamp(3rem, 6vw, 5rem); }

.lien-evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--jaune);
  color: var(--noir);
  padding: .85rem 1.4rem;
  font-family: var(--f-tech);
  font-weight: 700;
  text-transform: uppercase;
}
.lien-evitement:focus { left: 0; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Trame « grillage de cage » — la signature visuelle du club */
.trame-cage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(45deg,  transparent 0 26px, rgba(255,255,255,.045) 26px 27px),
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255,255,255,.045) 26px 27px);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 20%, transparent 78%);
}

/* ------------------------------------------------------------- 4. TITRAGE */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--jaune);
}

/* Bandeau « scotch » incliné, repris de la communication print du club */
.scotch {
  display: inline-block;
  background: var(--noir-profond);
  color: var(--craie);
  font-family: var(--f-titre);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.08;
  padding: .35em .7em .3em;
  transform: rotate(-1.6deg);
  box-shadow: 4px 4px 0 rgba(255,205,0,.22);
}
.scotch em { font-style: normal; color: var(--jaune); }

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.005em;
}

.titre-hero { font-size: var(--t-hero); }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; }

.titre-contour {
  color: transparent;
  -webkit-text-stroke: 2px var(--fumee);
}

.chapeau {
  font-size: var(--t-lead);
  color: var(--craie-douce);
  max-width: var(--max-texte);
}

.prose > * + * { margin-top: 1.15rem; }
.prose p, .prose li { color: var(--craie-douce); max-width: var(--max-texte); }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; color: var(--craie); }
.prose strong { color: var(--craie); font-weight: 700; }
.prose a {
  color: var(--jaune);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--jaune-vif); }
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 1.6rem;
}
.prose ul li + li { margin-top: .55rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: .55rem; height: .55rem;
  background: var(--jaune);
  transform: rotate(45deg);
}

/* -------------------------------------------------------------- 5. BOUTONS */
.btn {
  --btn-fond: var(--jaune);
  --btn-texte: var(--noir);
  position: relative;
  /* isolation : confine le ::before en z-index négatif des variantes
     « fantôme », qui se peint alors au-dessus du fond mais sous le texte. */
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 2rem;
  background: var(--btn-fond);
  color: var(--btn-texte);
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background var(--transi), color var(--transi), transform var(--transi);
}
.btn:hover, .btn:focus-visible { transform: translate(-3px, -3px); background: var(--jaune-vif); }
.btn:active { transform: translate(0, 0); }

/* Variante ajourée : le trait est le fond du bouton, et un ::before inséré de
   2px reforme l'intérieur. Une vraie `border` serait rognée par le clip-path
   le long de la diagonale — c'était le contour tronqué à droite. */
.btn--fantome {
  --btn-fond: var(--fumee);
  --btn-texte: var(--craie);
}
.btn--fantome::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  /* --fond-local vaut la couleur de fond de la zone qui accueille le bouton :
     l'intérieur du bouton se fond ainsi dans la section. */
  background: var(--fond-local, var(--noir));
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background var(--transi);
}
.btn--fantome:hover, .btn--fantome:focus-visible {
  background: var(--craie);
  color: var(--noir);
}
.btn--fantome:hover::before, .btn--fantome:focus-visible::before { background: var(--craie); }

.btn--large { width: 100%; }

.groupe-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* Lien fléché discret */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-tech);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--jaune);
}
.lien-fleche span { transition: transform var(--transi); }
.lien-fleche:hover span { transform: translateX(6px); }

/* -------------------------------------------------------------- 6. EN-TÊTE */
.entete {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(8,9,10,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--acier-clair);
  transition: background var(--transi);
}
.entete__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.6rem;
}
.marque {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
}
.marque img { width: 42px; height: 42px; }
.marque__texte { display: flex; flex-direction: column; line-height: 1; }
.marque__nom {
  font-family: var(--f-titre);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.marque__lieu {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-top: .22rem;
}

.nav-principale ul { display: flex; align-items: center; gap: clamp(.7rem, 1.5vw, 1.6rem); }
.nav-principale a {
  position: relative;
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--craie-douce);
  padding: .4rem 0;
  transition: color var(--transi);
}
.nav-principale a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--jaune);
  transition: width var(--transi);
}
.nav-principale a:hover, .nav-principale a:focus-visible { color: var(--craie); }
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { width: 100%; }
.nav-principale a[aria-current="page"] { color: var(--jaune); }

.entete .btn { padding: .7rem 1.3rem; font-size: .8rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--acier-clair);
  cursor: pointer;
  padding: 0;
  /* flex + gap fixe : les barres sont espacées de 7px exactement, ce qui rend
     la croix parfaitement fermée avec les translateY(±7px) ci-dessous. */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--craie);
  transition: transform var(--transi), opacity var(--transi);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tiroir {
  position: fixed;
  inset: 4.6rem 0 auto 0;
  z-index: 890;
  background: var(--noir-profond);
  --fond-local: var(--noir-profond);
  border-bottom: 2px solid var(--jaune);
  padding: 1.5rem var(--gouttiere) 2.5rem;
  transform: translateY(-115%);
  visibility: hidden;
  transition: transform 340ms cubic-bezier(.22,.61,.36,1), visibility 340ms;
  max-height: calc(100dvh - 4.6rem);
  overflow-y: auto;
}
.tiroir[data-ouvert="true"] { transform: translateY(0); visibility: visible; }
.tiroir a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--acier);
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tiroir a[aria-current="page"] { color: var(--jaune); }
.tiroir .btn { margin-top: 1.6rem; }

@media (max-width: 1020px) {
  .nav-principale, .entete > .conteneur .btn { display: none; }
  .burger { display: flex; }
}

/* ---------------------------------------------------------------- 7. HÉROS */
.heros {
  position: relative;
  min-height: min(92dvh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(ellipse 70% 60% at 78% 30%, rgba(255,205,0,.10), transparent 62%),
    linear-gradient(180deg, var(--noir-profond), var(--noir) 60%);
  --fond-local: var(--noir);
  overflow: hidden;
}
/* Le contenu reste dans la gouttière du conteneur ; seule sa largeur de texte
   est bridée, sinon `margin-inline:auto` recentrerait tout le bloc. */
.heros__contenu { position: relative; z-index: 2; }
.heros__contenu > * { max-width: 60ch; }
.heros__contenu > .heros__titre { max-width: 18ch; }
.heros__titre {
  font-family: var(--f-titre);
  font-size: var(--t-hero);
  /* .95 et non .88 : en dessous, l'accent du « À » chevauche la ligne au-dessus */
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.heros__titre .jaune {
  color: var(--jaune);
  text-shadow: 0 0 48px rgba(255,205,0,.2);
}
.heros__titre .contour {
  color: transparent;
  -webkit-text-stroke: 2px #4a505a;
}
.heros .chapeau { margin-top: 1.8rem; }

.heros__blason {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(56vw, 640px);
  opacity: .09;
  z-index: 1;
  pointer-events: none;
  animation: derive 26s ease-in-out infinite alternate;
}
@keyframes derive {
  from { transform: translateY(-50%) rotate(-3deg) scale(1); }
  to   { transform: translateY(-53%) rotate(3deg) scale(1.05); }
}

.badge-essai {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,205,0,.1);
  border: 1px solid rgba(255,205,0,.35);
  color: var(--jaune);
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  margin-bottom: 1.6rem;
}
.badge-essai::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--jaune);
  box-shadow: 0 0 0 0 rgba(255,205,0,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(255,205,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,205,0,0); }
}

/* En-tête de page intérieure */
.entete-page {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 60% 100% at 15% 0%, rgba(255,205,0,.09), transparent 60%),
    linear-gradient(180deg, var(--noir-profond), var(--noir) 70%);
  --fond-local: var(--noir);
  border-bottom: 1px solid var(--acier-clair);
  overflow: hidden;
}
.entete-page__inner { position: relative; z-index: 2; }
.entete-page .chapeau { margin-top: 1.5rem; }

.fil-ariane {
  font-family: var(--f-tech);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fumee);
  margin-bottom: 1.4rem;
}
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.fil-ariane li + li::before { content: "/"; margin-right: .5rem; color: var(--acier-clair); }
.fil-ariane a:hover { color: var(--jaune); }

/* ---------------------------------------------------------- 8. BANDE DÉFILANTE */
.bandeau {
  background: var(--jaune);
  color: var(--noir);
  padding: .9rem 0;
  overflow: hidden;
  border-block: 2px solid var(--noir-profond);
}
.bandeau__piste {
  display: flex;
  width: max-content;
  animation: defile 38s linear infinite;
}
.bandeau ul { display: flex; align-items: center; }
.bandeau li {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  font-family: var(--f-titre);
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bandeau li::after { content: "◆"; font-size: .55rem; }
@keyframes defile { to { transform: translateX(-50%); } }
.bandeau:hover .bandeau__piste { animation-play-state: paused; }

/* ------------------------------------------------------------- 9. GRILLES */
.grille { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.duo {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.entete-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.entete-section__texte { max-width: 46ch; }

/* -------------------------------------------------------------- 10. CARTES */
.carte {
  position: relative;
  background: var(--acier);
  --fond-local: var(--acier);
  border: 1px solid var(--acier-clair);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  transition: border-color var(--transi), transform var(--transi), background var(--transi);
  overflow: hidden;
}
.carte::after {
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--acier-clair) transparent transparent;
  transition: border-color var(--transi);
}
.carte:hover { border-color: rgba(255,205,0,.5); transform: translateY(-5px); background: #1b1e22; --fond-local: #1b1e22; }
.carte:hover::after { border-right-color: var(--jaune); }

.carte__num {
  font-family: var(--f-titre);
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fumee);
  margin-bottom: .9rem;
}
.carte h3 { margin-bottom: .7rem; }
.carte h3 a::after { content: ""; position: absolute; inset: 0; }
.carte p { color: var(--craie-douce); font-size: .96rem; }
.carte .lien-fleche { margin-top: 1.2rem; }

.carte--discipline h3 { color: var(--jaune); }

/* Etiquettes */
.etiquette {
  display: inline-block;
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  background: rgba(255,205,0,.12);
  color: var(--jaune);
  border: 1px solid rgba(255,205,0,.3);
}
.etiquette--neutre { background: var(--acier-clair); color: var(--craie-douce); border-color: var(--fumee); }

/* -------------------------------------------------------------- 10bis. COACHS */
.coachs {
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}

.coach {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--acier);
  --fond-local: var(--acier);
  border: 1px solid var(--acier-clair);
  max-width: 46rem;
  overflow: hidden;
  transition: border-color var(--transi), transform var(--transi);
}
.coach:hover { border-color: rgba(255,205,0,.45); transform: translateY(-4px); }

@media (min-width: 34rem) {
  .coach { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
}

.coach__visuel {
  position: relative;
  background: var(--charbon);
  min-height: 15rem;
}
.coach__visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(.4) contrast(1.06) brightness(.95);
}
/* Voile jaune en diagonale : rattache la photo à l'identité du club */
.coach__visuel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 58%, rgba(255,205,0,.16)),
    linear-gradient(180deg, transparent 62%, rgba(8,9,10,.55));
  pointer-events: none;
}

/* Emplacement en attente de photo */
.coach__visuel--vide {
  display: grid;
  place-items: center;
  align-content: center;
  gap: .8rem;
  padding: 2rem 1.2rem;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.028) 12px 13px),
    var(--charbon);
}
.coach__visuel--vide::after { display: none; }
.coach__initiale {
  font-family: var(--f-titre);
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--fumee);
}
.coach__attente {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fumee);
}

.coach__texte { padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.coach__nom {
  font-family: var(--f-titre);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  text-transform: uppercase;
  line-height: 1.05;
}
.coach__role {
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-top: .5rem;
}
.coach__texte p { color: var(--craie-douce); font-size: .96rem; margin-top: 1rem; }

.coach__faits { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.coach__faits li {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--craie-douce);
  background: var(--charbon);
  border: 1px solid var(--acier-clair);
  padding: .32rem .7rem;
}
.coach__texte .lien-fleche { margin-top: 1.3rem; }

/* ------------------------------------------------------------ 11. CHIFFRES */
.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  border: 1px solid var(--acier-clair);
}
.chiffre {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-right: 1px solid var(--acier-clair);
}
.chiffre:last-child { border-right: none; }
.chiffre__valeur {
  font-family: var(--f-titre);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1;
  color: var(--jaune);
}
.chiffre__label {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--craie-douce);
  margin-top: .6rem;
}
@media (max-width: 640px) {
  .chiffre { border-right: none; border-bottom: 1px solid var(--acier-clair); }
  .chiffre:last-child { border-bottom: none; }
}

/* ------------------------------------------------------------- 12. PLANNING */
/* 11rem : permet aux six jours de tenir sur une seule ligne sur grand écran */
.planning { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }

.jour {
  background: var(--acier);
  border: 1px solid var(--acier-clair);
  display: flex;
  flex-direction: column;
}
.jour__titre {
  background: var(--noir-profond);
  color: var(--craie);
  font-family: var(--f-titre);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-align: center;
  padding: .8rem;
  border-bottom: 2px solid var(--jaune);
}
.jour__creneaux { display: flex; flex-direction: column; gap: .6rem; padding: .85rem; flex: 1; }
.jour__creneaux:empty::after {
  content: "Repos";
  display: block;
  font-family: var(--f-tech);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fumee);
  text-align: center;
  padding: 1.4rem 0;
  font-size: .8rem;
}

.creneau {
  border-left: 4px solid var(--jaune);
  background: var(--charbon);
  padding: .7rem .85rem;
  transition: transform var(--transi), background var(--transi);
}
.creneau:hover { transform: translateX(4px); background: var(--acier-clair); }
.creneau__cours {
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--craie);
}
.creneau__heure {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--craie-douce);
  margin-top: .15rem;
}
.creneau--jeunes { border-left-color: #7c9cff; }
.creneau--boxe   { border-left-color: #5fd68a; }
.creneau--jjb    { border-left-color: #4fd0d6; }
.creneau--libre  { border-left-color: var(--fumee); }

.legende { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.legende li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--craie-douce);
}
.legende i { width: 1rem; height: 4px; background: var(--jaune); }

/* --------------------------------------------------------------- 13. TARIFS */
.tarifs { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

.tarif {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--acier);
  --fond-local: var(--acier);
  border: 1px solid var(--acier-clair);
  padding: clamp(1.7rem, 3vw, 2.3rem);
  transition: transform var(--transi), border-color var(--transi);
}
.tarif:hover { transform: translateY(-6px); border-color: rgba(255,205,0,.45); }
.tarif--vedette {
  border-color: var(--jaune);
  background: linear-gradient(180deg, rgba(255,205,0,.07), var(--acier) 45%);
}
.tarif__ruban {
  position: absolute;
  top: 0; right: 0;
  background: var(--jaune);
  color: var(--noir);
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.tarif__nom {
  font-family: var(--f-titre);
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--jaune);
}
.tarif--vedette .tarif__nom { color: var(--jaune-vif); }
.tarif__sous {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--craie-douce);
  margin-top: .35rem;
  min-height: 2.4em;
}
.tarif__prix {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin: 1.3rem 0 .2rem;
}
.tarif__montant {
  font-family: var(--f-titre);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--craie);
}
.tarif__unite {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--craie-douce);
}
.tarif__alt {
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .05em;
  color: var(--jaune);
  border-top: 1px dashed var(--fumee);
  margin-top: 1rem;
  padding-top: .9rem;
}
.tarif ul { margin-top: 1.1rem; flex: 1; }
.tarif ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .92rem;
  color: var(--craie-douce);
}
.tarif ul li + li { margin-top: .5rem; }
.tarif ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: .5rem; height: .5rem;
  background: var(--jaune);
  transform: rotate(45deg);
}
.tarif .btn { margin-top: 1.6rem; }

.encart {
  border-left: 4px solid var(--jaune);
  background: var(--charbon);
  padding: 1.3rem 1.5rem;
  margin-top: 2rem;
}
.encart p { color: var(--craie-douce); }
.encart strong { color: var(--craie); }
.encart--alerte { border-left-color: var(--sang); }

/* ------------------------------------------------------------ 14. INFOS/CTA */
.ruban-cta {
  position: relative;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(255,205,0,.14), transparent 62%),
    var(--noir-profond);
  --fond-local: var(--noir-profond);
  border-block: 1px solid var(--acier-clair);
  text-align: center;
  overflow: hidden;
}
.ruban-cta__inner { position: relative; z-index: 2; }
.ruban-cta .groupe-btn { justify-content: center; }
.ruban-cta .chapeau { margin-inline: auto; }

.info-bloc {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--acier-clair);
}
.info-bloc:last-child { border-bottom: none; }
.info-bloc__icone {
  flex: 0 0 auto;
  width: 2.6rem; height: 2.6rem;
  display: grid;
  place-items: center;
  background: rgba(255,205,0,.1);
  border: 1px solid rgba(255,205,0,.3);
  color: var(--jaune);
}
.info-bloc dt {
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: .3rem;
}
.info-bloc dd { color: var(--craie-douce); }
.info-bloc dd a {
  color: var(--jaune);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.info-bloc dd a:hover { color: var(--jaune-vif); }

.carte-plan {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--acier-clair);
  /* Passe la carte OSM (fond clair) en sombre sans écraser les routes ni les
     noms de communes : le brightness compense la perte de contraste. */
  filter: grayscale(1) invert(.92) contrast(.78) brightness(1.25);
}

/* Cadre image générique */
.cadre {
  position: relative;
  border: 1px solid var(--acier-clair);
  background: var(--charbon);
  padding: .6rem;
}
.cadre::before, .cadre::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--jaune);
}
.cadre::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cadre::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ------------------------------------------------------------ 15. FAQ / DÉTAILS */
.faq { border-top: 1px solid var(--acier-clair); }
.faq details {
  border-bottom: 1px solid var(--acier-clair);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color var(--transi);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--jaune); }
.faq summary::after {
  content: "+";
  font-family: var(--f-titre);
  font-size: 1.5rem;
  color: var(--jaune);
  line-height: 1;
  transition: transform var(--transi);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 1.4rem; }
.faq details p { color: var(--craie-douce); max-width: var(--max-texte); }
.faq details p + p { margin-top: .9rem; }

/* ------------------------------------------------------------- 16. PIED DE PAGE */
.pied {
  background: var(--noir-profond);
  border-top: 2px solid var(--jaune);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.pied__grille {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.pied__marque { max-width: 34ch; }
.pied__marque p { color: var(--craie-douce); font-size: .93rem; margin-top: 1rem; }
.pied h2, .pied h3 {
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: 1.1rem;
}
.pied li + li { margin-top: .55rem; }
.pied nav a, .pied address a {
  color: var(--craie-douce);
  font-size: .93rem;
  transition: color var(--transi);
}
.pied nav a:hover, .pied address a:hover { color: var(--jaune); }
.pied address { font-style: normal; color: var(--craie-douce); font-size: .93rem; }

.reseaux { display: flex; gap: .7rem; margin-top: 1.4rem; }
.reseaux a {
  width: 2.7rem; height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--acier-clair);
  color: var(--craie-douce);
  transition: all var(--transi);
}
.reseaux a:hover { background: var(--jaune); color: var(--noir); border-color: var(--jaune); transform: translateY(-3px); }

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--acier);
  font-family: var(--f-tech);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fumee);
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.pied__bas a:hover { color: var(--jaune); }

/* ------------------------------------------------------------ 17. FORMULAIRE */
.formulaire { display: grid; gap: 1.1rem; }
.champ { display: flex; flex-direction: column; gap: .45rem; }
.champ label {
  font-family: var(--f-tech);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--craie-douce);
}
.champ input, .champ select, .champ textarea {
  background: var(--charbon);
  border: 1px solid var(--acier-clair);
  padding: .85rem 1rem;
  color: var(--craie);
  font-size: 1rem;
  transition: border-color var(--transi), background var(--transi);
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  border-color: var(--jaune);
  background: var(--acier);
  outline: none;
}
.champ textarea { resize: vertical; min-height: 8rem; }
.champ--duo { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.champ small { color: var(--fumee); font-size: .78rem; }
.consentement {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .87rem;
  color: var(--craie-douce);
}
.consentement input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--jaune); flex: 0 0 auto; }

/* Marqueur d'information à renseigner avant mise en ligne (pages légales) */
.a-completer {
  background: rgba(193,18,31,.18);
  border-bottom: 2px dashed var(--sang);
  color: var(--craie);
  padding: .05em .35em;
  font-family: var(--f-tech);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------------------------------------------------------- 18. ANIMATIONS */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1);
}
[data-reveal].est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- 19. IMPRESSION */
@media print {
  .entete, .tiroir, .bandeau, .ruban-cta, .btn, .reseaux { display: none !important; }
  body { background: #fff; color: #000; }
  .carte, .tarif, .jour { border: 1px solid #999; background: #fff; }
  .creneau__cours, .jour__titre, h1, h2, h3 { color: #000; }
}
