/*
 * academie.css : JB EMERIC
 * Page hub de l'Académie · refonte complète
 */

/* ═══════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { font-family: 'Outfit', sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: clip }
a { text-decoration: none; color: inherit }
img { display: block; max-width: 100% }

/* Le défilement aimanté a été retiré le 6 novembre 2026 (D-212) : les
   sections de la page sont plus hautes que l'écran. */

/* ═══════════════════════════════════════════════════════
   THÈME : Variables page Académie
   ═══════════════════════════════════════════════════════ */
:root {
  --accent:      #0A3D91;
  --accent-dark: #040a1e;
  --accent-em:   #FFCF00;
  --bg-base:     #f4f6fb;
  --bg-white:    #ffffff;
  --ink:         #0d0d0d;
  --ink-soft:    rgba(13,13,13,.5);
  --sep:         rgba(10,61,145,.09);
  --hero-overlay: linear-gradient(90deg, rgba(7,31,92,.92) 0%, rgba(7,31,92,.7) 45%, rgba(7,31,92,.15) 80%, rgba(7,31,92,0) 100%);
}
body { background: var(--bg-base) }

/* ═══════════════════════════════════════════════════════
   UTILITAIRES COMMUNS
   ═══════════════════════════════════════════════════════ */
.rubrik {
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 3.5px;
  text-transform: uppercase; opacity: .65;
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.rubrik::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .2; max-width: 80px }

.sh { font-family: 'Bebas Neue'; font-size: clamp(38px,5.5vw,68px); line-height: .88; margin-bottom: 16px }
.sh em { font-style: normal; color: var(--accent) }

.sb { font-size: 15px; line-height: 1.8; opacity: .65; max-width: 640px }
.sb strong { font-weight: 500; opacity: 1 }

/* ═══════════════════════════════════════════════════════
   HERO : Plein écran photo
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: calc(100svh - 56px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
@media(max-width:699px) { .hero { min-height: 88svh } }

.hero-bg { position: absolute; inset: 0; z-index: 0 }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35% }
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: var(--hero-overlay);
}
@media(max-width:699px) {
  .hero-bg::after { background: linear-gradient(to bottom, rgba(7,31,92,0) 18%, rgba(7,31,92,.97) 62%) }
}
.hero-num {
  position: absolute; top: 50%; right: 3vw; transform: translateY(-50%);
  font-family: 'Bebas Neue'; font-size: clamp(160px,26vw,340px);
  line-height: 1; color: rgba(255,255,255,.03); z-index: 2;
  pointer-events: none; user-select: none;
}
.hero-content {
  position: relative; z-index: 3;
  padding: clamp(40px,6vw,80px) clamp(20px,5vw,72px) clamp(36px,5vw,64px);
  max-width: 760px;
}
.hero-eyebrow {
  font-family: 'DM Mono'; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: #FFCF00;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 2px; background: #FFCF00; flex-shrink: 0 }
.hero-title {
  font-family: 'Bebas Neue'; font-size: clamp(52px,10vw,120px);
  line-height: .82; letter-spacing: .5px; color: #fff; margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: #FFCF00; display: inline }
.hero-rule { width: 64px; height: 3px; background: linear-gradient(135deg,#F5D061,#C8860A); margin-bottom: 20px }
.hero-lead {
  font-size: clamp(14px,1.8vw,17px); line-height: 1.75;
  max-width: 500px; color: rgba(255,255,255,.75); margin-bottom: 28px;
}
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap }
.chip {
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.85);
}
.chip-solid { background: #FFCF00; border-color: #FFCF00; color: #000; opacity: 1; font-weight: 500 }

/* ═══════════════════════════════════════════════════════
   ACCROCHE : Intro post-hero fond blanc
   ═══════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════
   JB-PAL WRAP : Formateur + Palmarès côte à côte, full screen
   ═══════════════════════════════════════════════════════ */
.jb-pal-wrap {
  display: flex; flex-direction: column;
  min-height: 100svh;
}
@media(min-width:1100px) {
  .jb-pal-wrap { flex-direction: row }
  .jb-pal-wrap .jb-split { flex: 0 0 65%; min-height: unset }
  .jb-pal-wrap .ac-pal {
    flex: 1;
    padding: clamp(28px,3vw,44px) clamp(20px,3vw,40px);
    display: flex; flex-direction: column;
    overflow: hidden;
  }
  .jb-pal-wrap .ac-pal-head { margin-bottom: clamp(16px,2vw,24px) }
  .jb-pal-wrap .ac-pal-list { flex: 1; min-height: 0; justify-content: space-between }
  .jb-pal-wrap .ac-pal-item { padding: clamp(8px,1.2vw,12px) 0; gap: clamp(14px,2vw,24px) }
  .jb-pal-wrap .ac-pal-yr { font-size: clamp(22px,2.4vw,30px); min-width: 56px }
  .jb-pal-wrap .ac-pal-titre { font-size: clamp(14px,1.3vw,17px) }
  .jb-pal-wrap .ac-pal-detail { font-size: 11px; line-height: 1.5; margin-top: 2px }
  .jb-pal-wrap .ac-pal-cat { font-size: 7px; margin-bottom: 1px }
  .jb-pal-wrap .ac-pal-cta { margin-top: clamp(14px,2vw,22px); padding: 10px 22px; font-size: 9px; align-self: flex-start }
  .jb-pal-wrap .ac-pal .sh { font-size: clamp(28px,3.2vw,42px) }
  .jb-pal-wrap .ac-pal .sb { font-size: 12px; line-height: 1.55 }
}

/* ═══════════════════════════════════════════════════════
   JB SPLIT : Portrait formateur plein écran
   ═══════════════════════════════════════════════════════ */
.jb-split {
  position: relative;
  overflow: hidden;
  min-height: 60svh;
  border-top: 4px solid;
  border-image: linear-gradient(90deg,#F5D061,#C8860A) 1;
}

/* Image plein cadre */
.jb-img {
  position: absolute; inset: 0; z-index: 0;
  background: #040a1e;
}
.jb-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .8s; z-index: 1;
}
.jb-split:hover .jb-img img { transform: scale(1.03) }

/* Vignette bas-gauche pour lisibilité du bloc texte */
.jb-img::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(4,10,30,.72) 0%, rgba(4,10,30,.28) 45%, transparent 75%);
}

/* Bloc texte : nuage bas-gauche collé aux bords */
.jb-body {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  max-width: 560px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 120px 140px 44px 44px;
  display: flex; flex-direction: column; gap: 0;
  /* Fondu uniquement dans la zone de padding haut/droit */
  -webkit-mask:
    linear-gradient(to top,  black 62%, transparent 100%),
    linear-gradient(to right, black 65%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask:
    linear-gradient(to top,  black 62%, transparent 100%),
    linear-gradient(to right, black 65%, transparent 100%);
  mask-composite: intersect;
}

.jb-kicker {
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: #946200;
  border: 1px solid rgba(245,208,97,.5);
  display: inline-block; padding: 5px 14px;
  border-radius: 2px; margin-bottom: 16px; align-self: flex-start;
}
.jb-name {
  font-family: 'Bebas Neue'; font-size: clamp(32px,3.5vw,52px);
  color: #A86F00; line-height: .88; margin-bottom: 8px;
}
.jb-sub {
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(4,10,30,.6); margin-bottom: 18px;
}
.jb-quote {
  font-size: clamp(13px,1.3vw,15px); color: rgba(4,10,30,.78);
  line-height: 1.70; font-weight: 300; font-style: italic;
  border-left: 2px solid rgba(200,134,10,.5);
  padding-left: 14px; margin: 0; max-width: 100%;
}

/* Mobile : bloc texte en statique sous l'image */
@media(max-width:699px) {
  .jb-split { min-height: 320px; display: flex; flex-direction: column; overflow: visible; height: auto }
  .jb-img { position: relative; flex: 0 0 320px }
  .jb-img::after { display: none }
  .jb-body {
    position: static;
    max-width: 100%;
    background: #f0f4ff;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    -webkit-mask: none; mask: none;
    padding: 28px 20px;
    border-left: 3px solid;
    border-image: linear-gradient(180deg,#F5D061,#C8860A) 1;
  }
}

/* ═══════════════════════════════════════════════════════
   PARCOURS : Timeline 5 étapes
   ═══════════════════════════════════════════════════════ */
.parcours {
  background: #fff;
  padding: clamp(72px,9vw,112px) clamp(20px,5vw,72px);
  border-top: 4px solid;
  border-image: linear-gradient(90deg,#F5D061,#C8860A) 1;
}
.parcours-head { max-width: 680px; margin-bottom: clamp(48px,6vw,80px) }

.pc-kicker {
  font-family: 'DM Mono'; font-size: 11px; letter-spacing: 5px;
  text-transform: uppercase; color: #040a1e;
  display: inline-flex; align-items: center; gap: 12px;
  background: #FFCF00; padding: 8px 16px;
  margin-bottom: 28px; align-self: flex-start;
}
.pc-kicker::before { content: ''; width: 20px; height: 2px; background: #040a1e }
.pc-title { font-family: 'Bebas Neue'; font-size: clamp(36px,3.5vw,52px); color: #040a1e; line-height: .9; margin-bottom: 14px }
.pc-title em { font-style: normal; color: var(--accent); display: block }
.pc-lead { font-size: 13px; color: rgba(4,10,30,.6); line-height: 1.70; max-width: 100% }

/* ─── Grille des 5 étapes ─── */
.timeline { display: grid; grid-template-columns: 1fr; gap: 2px; counter-reset: step }
@media(min-width:700px) { .timeline { grid-template-columns: repeat(5,1fr) } }

.tl-step {
  background: linear-gradient(160deg, #0d1f4a 0%, #060d25 100%);
  border-top: 4px solid rgba(255,207,0,.25);
  padding: clamp(32px,3.5vw,44px) clamp(20px,2.5vw,30px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  counter-increment: step;
  transition: border-top-color .25s, background .25s, transform .25s, box-shadow .25s;
  min-height: 340px;
}
/* Watermark géant en fond */
.tl-step::before {
  content: counter(step);
  font-family: 'Bebas Neue'; font-size: 200px; line-height: 1;
  color: rgba(255,207,0,.07);
  position: absolute; bottom: -20px; right: -8px;
  pointer-events: none; user-select: none; z-index: 0;
}
.tl-step > * { position: relative; z-index: 1 }

.tl-step:hover {
  border-top-color: #FFCF00;
  background: linear-gradient(160deg, #122570 0%, #080e30 100%);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.4), 0 4px 16px rgba(255,207,0,.12);
}

/* Dot numéroté */
.tl-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg,#FFCF00,#E6BB00);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,207,0,.20), 0 4px 16px rgba(255,207,0,.30);
  transition: box-shadow .22s, transform .22s;
}
.tl-step:hover .tl-dot {
  box-shadow: 0 0 0 4px rgba(255,207,0,.50), 0 6px 24px rgba(255,207,0,.50);
  transform: scale(1.1);
}
.tl-num { font-family: 'Bebas Neue'; font-size: 24px; color: #040a1e; line-height: 1 }

/* Badge catégorie : ligne basse */
.tl-badge {
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,207,0,.75);
  border-bottom: 1px solid rgba(255,207,0,.18);
  padding-bottom: 6px; align-self: flex-start; width: 100%;
}

.tl-name { font-family: 'Bebas Neue'; font-size: clamp(20px,2vw,26px); color: #fff; line-height: .92 }
.tl-desc { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.72; flex: 1 }
.tl-link {
  font-family: 'DM Mono'; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: #FFCF00;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .2s, color .2s; margin-top: auto; align-self: flex-start;
}
.tl-link:hover { gap: 14px; color: #fff }
.tl-link::after { content: '→'; font-size: 12px }

/* ─── Step 5 : BMW HTCC, inversée or/nuit ─── */
.tl-step--finale {
  background: linear-gradient(160deg, #FFCF00 0%, #E6BB00 100%);
  border-top: 4px solid #040a1e;
}
.tl-step--finale::before { color: rgba(4,10,30,.08) }
.tl-step--finale .tl-dot {
  background: linear-gradient(135deg, #040a1e, #0A3D91);
  box-shadow: 0 0 0 3px rgba(4,10,30,.15), 0 4px 16px rgba(4,10,30,.25);
}
.tl-step--finale:hover .tl-dot {
  box-shadow: 0 0 0 4px rgba(4,10,30,.35), 0 6px 24px rgba(4,10,30,.40);
}
.tl-step--finale .tl-num { color: #FFCF00 }
.tl-step--finale .tl-badge { color: rgba(4,10,30,.60); border-color: rgba(4,10,30,.15) }
.tl-step--finale .tl-name { color: #040a1e }
.tl-step--finale .tl-desc { color: rgba(4,10,30,.65) }
.tl-step--finale .tl-link { color: #040a1e }
.tl-step--finale .tl-link:hover { color: #0A3D91; gap: 14px }
.tl-step--finale:hover {
  background: linear-gradient(160deg, #FFD700 0%, #FFCF00 100%);
  border-top-color: #040a1e;
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(255,207,0,.30), 0 4px 16px rgba(255,207,0,.20);
}

@media(max-width:699px) {
  .tl-step { min-height: auto; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px }
  .tl-dot { flex-shrink: 0; margin-top: 2px }
  .tl-badge, .tl-name, .tl-desc, .tl-link { width: 100% }
}

/* ═══════════════════════════════════════════════════════
   PORTES : 2 entrées (cartes photo plein format)
   ═══════════════════════════════════════════════════════ */
/* Trois portes depuis le 6 aout 2026 : enfant, adulte, competition. En deux
   colonnes la troisieme restait seule avec un vide a cote, d'ou le passage a
   trois colonnes des que la largeur le permet. */
.portes { display: grid; grid-template-columns: 1fr }
@media(min-width:700px)  { .portes { grid-template-columns: repeat(2,1fr) } }
@media(min-width:1000px) { .portes { grid-template-columns: repeat(3,1fr) } }

.porte {
  position: relative; overflow: hidden;
  min-height: clamp(400px,50vw,580px);
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer;
}
@media(max-width:699px) { .porte { min-height: 340px } }

.porte-bg { position: absolute; inset: 0; z-index: 0 }
.porte-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .65s;
}
.porte:hover .porte-bg img { transform: scale(1.07) }

.porte-overlay {
  position: absolute; inset: 0; z-index: 1;
  transition: background .35s;
}

/* Enfant : navy profond (couleur karting.css) */
.porte.enfant .porte-overlay        { background: linear-gradient(to top, rgba(10,26,74,.92) 30%, rgba(10,26,74,.06) 100%) }
.porte.enfant:hover .porte-overlay  { background: linear-gradient(to top, rgba(10,26,74,.97) 30%, rgba(10,26,74,.22) 100%) }

/* Adulte : bleu royal (couleur adulte.css) */
.porte.adulte .porte-overlay        { background: linear-gradient(to top, rgba(7,31,92,.92) 30%, rgba(7,31,92,.06) 100%) }
.porte.adulte:hover .porte-overlay  { background: linear-gradient(to top, rgba(7,31,92,.97) 30%, rgba(7,31,92,.22) 100%) }

/* Challenge : nuit avec touche dorée (couleur challenge.css) */
.porte.competition .porte-overlay       { background: linear-gradient(to top, rgba(4,10,30,.94) 30%, rgba(200,160,0,.14) 100%) }
.porte.competition:hover .porte-overlay { background: linear-gradient(to top, rgba(4,10,30,.98) 30%, rgba(200,160,0,.32) 100%) }
.porte-content {
  position: relative; z-index: 2;
  padding: clamp(36px,5vw,72px) clamp(32px,5vw,72px);
  display: flex; flex-direction: column; gap: 16px;
  max-width: 640px;
}
.porte-tag {
  font-family: 'DM Mono'; font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: #FFCF00; opacity: .9;
}
.porte-title { font-family: 'Bebas Neue'; font-size: clamp(52px,7vw,96px); color: #fff; line-height: .86; letter-spacing: .5px }
.porte-body { font-size: clamp(14px,1.2vw,16px); color: rgba(255,255,255,.7); line-height: 1.7; max-width: 480px }
.porte-cta {
  font-family: 'DM Mono'; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 14px 26px; border-radius: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  transition: background .22s, border-color .22s, gap .22s;
  align-self: flex-start;
}
.porte:hover .porte-cta {
  background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); gap: 12px;
}
.porte.competition .porte-cta { background: rgba(200,160,0,.18); border-color: rgba(200,160,0,.5); color: #FFCF00 }
.porte.competition:hover .porte-cta { background: rgba(200,160,0,.32); border-color: rgba(200,160,0,.8) }

/* ═══════════════════════════════════════════════════════
   PORTES + CITATION : wrapper full screen
   ═══════════════════════════════════════════════════════ */
.portes-citation-wrap {
  display: flex; flex-direction: column;
  height: 100svh;
}
.portes-citation-wrap .portes {
  flex: 1; min-height: 0;
  /* Le nombre de colonnes n'est plus fixe ici. Cette regle, plus specifique
     que les media queries de .portes, les ecrasait toutes : la troisieme porte
     restait seule sur une deuxieme ligne, a cote d'un vide. */
  grid-auto-rows: 1fr;
}
.portes-citation-wrap .porte { min-height: 0 }
.portes-citation-wrap .citation-finale {
  flex-shrink: 0;
  padding: clamp(16px,2.5vw,28px) clamp(20px,5vw,72px);
}
.portes-citation-wrap .cf-mark { font-size: clamp(36px,4vw,52px); margin-bottom: -4px }

/* ═══════════════════════════════════════════════════════
   CITATION FINALE
   ═══════════════════════════════════════════════════════ */
.citation-finale {
  background: #040a1e;
  padding: clamp(72px,10vw,128px) clamp(20px,5vw,72px);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; overflow: hidden;
}
.citation-finale::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,207,0,.25),transparent);
}
.cf-mark {
  font-family: 'Bebas Neue'; font-size: clamp(80px,14vw,160px);
  color: #FFCF00; opacity: .12; line-height: .7; margin-bottom: -16px;
  align-self: flex-start; user-select: none;
}
.cf-text {
  font-family: 'Outfit'; font-size: clamp(22px,3.2vw,42px); font-weight: 300;
  font-style: oblique 16deg; color: #fff; line-height: 1.35; max-width: 780px; margin-bottom: 32px;
}
.cf-text::before { content: '\201C' }
.cf-text::after  { content: '\201D' }
.cf-text em { font-style: oblique 16deg; color: #fff; display: inline }
.cf-source {
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.28);
}

/* ═══════════════════════════════════════════════════════
   PALMARÈS HIGHLIGHTS
   ═══════════════════════════════════════════════════════ */
.ac-pal { background: #040a1e; padding: clamp(64px,8vw,100px) clamp(20px,5vw,72px) }
.ac-pal .rubrik { color: rgba(255,207,0,.85); opacity: 1 }
.ac-pal .rubrik::after { background: rgba(255,207,0,.4); opacity: 1 }
.ac-pal .sh { color: #fff }
.ac-pal .sh em { color: #FFCF00 }
.ac-pal .sb { color: rgba(255,255,255,.7); opacity: 1 }
.ac-pal-head { margin-bottom: clamp(36px,5vw,56px) }
.ac-pal-list { display: flex; flex-direction: column; max-width: 760px }
.ac-pal-item {
  display: flex; gap: clamp(20px,3vw,40px);
  padding: clamp(20px,2.5vw,28px) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ac-pal-item:first-child { border-top: 1px solid rgba(255,255,255,.07) }
.ac-pal-yr {
  font-family: 'Bebas Neue'; font-size: clamp(28px,4vw,44px);
  background: linear-gradient(135deg,#FFCF00 0%,#C8860A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; flex-shrink: 0; min-width: 80px;
}
.ac-pal-body { display: flex; flex-direction: column; gap: 4px }
.ac-pal-cat {
  font-family: 'DM Mono'; font-size: 8px; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,207,0,.7); margin-bottom: 2px;
}
.ac-pal-titre { font-family: 'Bebas Neue'; font-size: clamp(18px,2.5vw,26px); color: #fff; line-height: .92 }
.ac-pal-detail { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-top: 4px }
.ac-pal-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(32px,4vw,48px);
  font-family: 'DM Mono'; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: #FFCF00;
  padding: 13px 28px; border: 1px solid rgba(255,207,0,.35);
  border-radius: 4px; transition: all .22s; background: rgba(255,207,0,.05);
}
.ac-pal-cta:hover { background: rgba(255,207,0,.12); border-color: rgba(255,207,0,.7) }

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */
/* La FAQ vit dans faq.css. L'Académie posait ici son propre fond et sa
   propre largeur, ce qui rendait la page differente des cinq autres sans
   raison. Si elle doit redevenir sombre, un attribut suffit :
   data-faq-fond="sombre" sur le bloc, et pas une ligne de CSS ici. */

/* ═══════════════════════════════════════════════════════
   BOUTIQUE CTA
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   SECTION VIDÉOS YOUTUBE
   ═══════════════════════════════════════════════════════ */
.ac-videos {
  background: var(--bg-white);
  padding: clamp(64px,8vw,100px) clamp(20px,5vw,72px);
}
.ac-vid-head {
  margin-bottom: clamp(36px,5vw,52px);
}
.ac-vid-head .sb { margin-bottom: 18px }
.ac-vid-chan {
  display: inline-block;
  font-family: 'DM Mono'; font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  color: var(--accent); border-bottom: 1px solid var(--accent);
  padding-bottom: 2px; transition: opacity .15s;
}
.ac-vid-chan:hover { opacity: .65 }

/* Grille YouTube : assets/css/videos.css, commune à toutes les pages. */

/* ════ ACADÉMIE DE VENTE (D-212, 6 novembre 2026) ═════════════════════════
   Ordre : haut de page, les deux journées, le déroulé, les dates, le
   formateur et son palmarès, les vidéos, la FAQ. Défilement libre : le
   défilement aimanté sautait les sections plus hautes que l'écran. */

/* Hero : deux boutons */
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }
.hero-btn {
  font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; font-weight: 500; padding: 17px 26px; border-radius: 4px;
  transition: transform .2s;
}
.hero-btn:hover { transform: translateY(-2px) }
.hero-btn--y { background: #FFCF00; color: #040a1e }
.hero-btn--w { background: #fff; color: #040a1e; box-shadow: 0 8px 24px rgba(0,0,0,.35) }
.hero-btn[hidden] { display: none }

/* Les deux journées */
.parcours { background: #f0f4ff }
.parcours .pc-title { font-size: clamp(44px,5.5vw,72px) }
.parcours .pc-lead { font-size: clamp(16px,1.4vw,18px) }
.voies { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; position: relative }
/* Ancres #enfant et #adulte (30 novembre 2026) : posées à côté des cartes, pas
   sur elles, pour ne pas changer les clés des textes saisis par JB. Hors de la
   grille, elles ne prennent aucune case. */
.voies > .ancre { position: absolute; top: 0; width: 0; height: 0; scroll-margin-top: 90px }
.voies .tl-step.voie {
  padding: 0; min-height: 0; gap: 0; border-top: 0; border-radius: 10px;
  background: #0a1a4a; box-shadow: 0 24px 60px rgba(4,10,30,.25);
}
.voies .tl-step.voie::before { content: none }
.voies .tl-step.voie:hover { transform: none; background: #0a1a4a }
.voie-photo { width: 100%; height: clamp(220px, 24vw, 300px); object-fit: cover; display: block }
.voie-corps { padding: clamp(22px,3vw,36px); display: flex; flex-direction: column; gap: 16px; color: #fff }
.voie .tl-badge { align-self: flex-start }
.voie .tl-name { margin: 0; font-size: clamp(40px,4vw,56px); line-height: .9; font-weight: 400 }
.voie .tl-desc { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); flex: none }
.voie-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px }
.voie-points li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9) }
.voie-points li::before { content: '✓'; color: #FFCF00; flex-shrink: 0 }
.voie-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12) }
.voie-montant { font-family: 'Bebas Neue', sans-serif; font-size: 48px; line-height: 1; color: #FFCF00 }
.voie-note { font-size: 15px; color: rgba(255,255,255,.7) }
.voie-btns { display: flex; flex-wrap: wrap; gap: 12px }
.voie-btn {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; padding: 15px 20px; border-radius: 4px; font-weight: 500;
}
.voie-btn--y { background: #FFCF00; color: #040a1e }
.voie-btn--contour { border: 1px solid rgba(255,255,255,.5); color: #fff }
.voie-btn.tl-link::after { content: none }
.voie-btn.tl-link:hover { gap: 0 }

/* Les cinq niveaux : un escalier de progression, le dernier en jaune */
.progression {
  margin-top: 32px; background: #040a1e; color: #fff; border-radius: 10px;
  padding: clamp(24px,3vw,36px); display: flex; flex-direction: column; gap: 24px;
  box-shadow: 0 24px 60px rgba(4,10,30,.25);
}
.prog-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px }
.prog-kicker { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #FFCF00 }
.prog-titre { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px,3vw,36px); line-height: 1 }
.prog-titre em { font-style: normal; color: #FFCF00 }
.niveaux { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px }
.niv { display: flex; flex-direction: column; gap: 14px }
.niv-barre {
  height: calc(10px + var(--n) * 26px); margin-top: calc(140px - (10px + var(--n) * 26px));
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(18,82,192,.95), rgba(10,61,145,.6));
}
.niv-ligne { display: flex; align-items: center; gap: 10px }
.niv-ligne::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.18) }
.niv-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: #040a1e; background: #fff;
}
.niv-nom { font-family: 'Bebas Neue', sans-serif; font-size: 30px; line-height: 1 }
.niv-txt { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72) }
.niv--final .niv-barre, .niv--final .niv-num { background: #FFCF00 }
.niv--final .niv-nom { color: #FFCF00 }
.niv-porte {
  align-self: flex-start; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: #040a1e; background: #FFCF00; padding: 5px 9px; border-radius: 3px;
}
/* Téléphone : l'escalier se couche, la barre grandit vers la droite */
@media(max-width:760px) {
  .niveaux { grid-template-columns: 1fr; gap: 20px }
  .niv { display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; align-items: center }
  .niv-barre { grid-column: 1 / -1; margin-top: 0; height: 8px; width: calc(var(--n) * 20%); border-radius: 0 4px 4px 0;
               background: linear-gradient(90deg, rgba(10,61,145,.6), rgba(18,82,192,.95)) }
  .niv-ligne::after { content: none }
  .niv-txt, .niv-porte { grid-column: 2 }
}

/* Le déroulé et les dates : même en-tête */
.deroule, .ac-dates { padding: clamp(64px,8vw,96px) clamp(20px,5vw,72px); display: flex; flex-direction: column; gap: 36px }
.deroule { background: #040a1e; color: #fff }
.ac-dates { background: #fff }
.dr-tete { display: flex; flex-direction: column; gap: 12px }
.dr-kicker { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #FFCF00 }
.dr-titre { margin: 0; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(44px,5.5vw,72px); line-height: .9 }
.dr-titre em { font-style: normal; color: #FFCF00 }
.ac-dates .dr-kicker { color: #0A3D91 }
.ac-dates .dr-titre { color: #040a1e }
.ac-dates .dr-titre em { color: #0A3D91 }
.dr-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 16px }
.dr-etapes li { border-top: 3px solid #FFCF00; padding-top: 18px; display: flex; flex-direction: column; gap: 8px }
.dr-heure { font-family: 'Bebas Neue', sans-serif; font-size: 36px; line-height: 1; color: #FFCF00 }
.dr-nom { font-size: 17px; font-weight: 600 }
.dr-txt { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.75) }
.dr-inclus { margin: 0; font-size: 15px; color: rgba(255,255,255,.6) }

/* Le formateur et les vidéos : hauteur libre */
.jb-pal-wrap { height: auto }
.ac-videos { height: auto }

/* Barre de réservation, collée en bas de l'écran */
.resa-barre {
  position: sticky; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(16px,4vw,72px);
  background: rgba(4,10,30,.96); border-top: 2px solid #FFCF00; color: #fff;
}
.resa-txt { font-size: 15px; color: rgba(255,255,255,.85) }
.resa-txt strong { color: #FFCF00; font-weight: 600 }
.resa-btns { display: flex; gap: 8px; flex-shrink: 0 }
.resa-btn {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; padding: 13px 20px; border-radius: 4px; font-weight: 500;
}
.resa-btn--y { background: #FFCF00; color: #040a1e }
.resa-btn--contour { border: 1px solid rgba(255,255,255,.5); color: #fff }
@media(max-width:560px) {
  .resa-txt { display: none }
  .resa-btns { flex: 1 }
  .resa-btn { flex: 1; text-align: center }
}

/* Vidéos : salle sombre, une grande vidéo et trois à côté (7 novembre 2026) */
.ac-videos { background: #040a1e; color: #fff }
.ac-videos .rubrik { color: #FFCF00 }
.ac-videos .sh { color: #fff }
.ac-videos .sh em { color: #FFCF00 }
.ac-videos .sb { color: rgba(255,255,255,.7) }
.ac-videos .ac-vid-chan { color: #FFCF00; border-color: #FFCF00 }
.ac-videos .yt-pl { background: #FFCF00; color: #040a1e }
.ac-videos .yt-pl--exemple { background: transparent; color: #FFCF00; border-color: rgba(255,207,0,.6) }
.ac-videos .yt-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1) }
.ac-videos .yt-card:hover { border-color: #FFCF00; box-shadow: 0 16px 40px rgba(0,0,0,.45) }
.ac-videos .yt-title { color: #fff }
.ac-videos .yt-meta { color: rgba(255,255,255,.55) }
.ac-videos .yt-grid--une { grid-template-columns: 1fr }
@media(min-width:960px) {
  .ac-videos .yt-grid--une { grid-template-columns: 1.7fr 1fr; grid-auto-rows: auto; gap: 14px }
  .ac-videos .yt-grid--une .yt-card:first-child { grid-row: 1 / span 3 }
  .ac-videos .yt-grid--une .yt-card:first-child .yt-title { font-size: 18px }
  .ac-videos .yt-grid--une .yt-card:not(:first-child) { flex-direction: row; align-items: center }
  .ac-videos .yt-grid--une .yt-card:not(:first-child) .yt-thumb { width: 48%; flex-shrink: 0; padding-bottom: 0; height: auto; aspect-ratio: 16 / 9 }
}

/* Boutique : bouton « Offrir une journée » et paiement en 4 fois (boutique.js) */
.hero-btn--contour { border: 1px solid rgba(255,255,255,.6); color: #fff }
.hero-btn[hidden] { display: none }
.voie-4x:empty { display: none }
.voie-4x { margin-top: -8px; background: #fff; border-radius: 4px; padding: 6px 10px; align-self: flex-start }
