/*
 * index.css : JB EMERIC
 * Feuille de la page d'accueil.
 *
 * Allegee le 4 aout 2026, de 998 a 683 lignes, 149 regles retirees.
 * Aucune difference a l'ecran, verifie par comparaison de captures.
 *
 * Ne pas y remettre de regles generiques : theme.css pour le commun,
 * nav.css pour la navigation.
 */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#040a1e;color:#111;font-family:'Outfit',sans-serif;font-weight:300;-webkit-font-smoothing:antialiased;overflow-x:clip}

@keyframes line-grow{from{width:0}to{width:100%}}
@keyframes glow-pulse{0%,100%{text-shadow:0 0 20px rgba(255,207,0,.3)}50%{text-shadow:0 0 50px rgba(255,207,0,.8),0 0 100px rgba(255,207,0,.35)}}
a{text-decoration:none;color:inherit}
:root{
  --bg:#F3F2EF;--bg2:#ECEAE6;--w:#fff;--ink:#111;--k2:#444;--k3:#888;
  --Y:#FFCF00;--Yd:#C8A000;--B:#0A3D91;--B2:#1252C0;--B3:#0D2F6E;
  --bd:rgba(0,0,0,.08);
}

/* HERO */
.hero{position:relative;overflow:hidden;min-height:calc(100svh - 56px);background:var(--B3)}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.35) saturate(.8)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(4,10,30,.98) 0%,rgba(4,10,30,.55) 50%,rgba(4,10,30,.15) 100%)}
.hero-top-line{position:absolute;top:0;left:0;height:2px;background:#FFCF00;animation:line-grow 1.2s ease .3s both;z-index:4;pointer-events:none}
.hero-content{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:clamp(20px,4vw,48px) clamp(16px,4vw,52px) clamp(120px,18vw,200px)}
/* La bande des chiffres grandit sur petit écran : le bouton passait dessous (iPhone SE). */
@media(max-width:600px){.hero-content{padding-bottom:140px}}
@media(max-width:380px){.hero-content{padding-bottom:196px}}
.hero-kicker{font-family:'DM Mono';font-size:11px;letter-spacing:3px;color:rgba(255,255,255,.5);text-transform:uppercase;margin-bottom:12px;display:flex;align-items:center;gap:10px}
.hero-kicker::before{content:'';width:20px;height:1px;background:var(--Y);flex-shrink:0}
.hero-title{font-family:'Bebas Neue';font-size:clamp(52px,10vw,110px);line-height:.88;color:#fff;margin-bottom:14px}
.hero-title em{color:var(--Y);font-style:normal;animation:glow-pulse 4s ease-in-out 1.5s infinite}
.hero-sub{font-size:clamp(13px,2vw,15px);color:rgba(255,255,255,.6);line-height:1.7;max-width:520px;margin-bottom:22px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:7px;font-family:'DM Mono';font-size:11px;letter-spacing:1.5px;text-transform:uppercase;padding:12px 22px;border-radius:8px;font-weight:500;transition:all .2s;white-space:nowrap}
.btn-y{background:var(--Y);color:var(--ink)}.btn-y:hover{background:var(--Yd);transform:translateY(-2px)}
.btn-g{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.22)}.btn-g:hover{background:rgba(255,255,255,.2)}
/* Tags, charte contraste : blanc sur noir / jaune sur bleu */

.ov-cards { display:grid; gap:2px; grid-template-columns:repeat(3,1fr) }
.ov-cards-3 { grid-template-columns:repeat(3,1fr) }
@media(max-width:700px){
  .ov-cards,.ov-cards-3 { grid-template-columns:1fr 1fr }
}

@media(max-width:480px){
  .ov-cards,.ov-cards-3 { grid-template-columns:1fr }
}

/* Card : image plein format, texte en overlay bas */
.ov-card {
  position:relative; overflow:hidden;
  aspect-ratio:3/2;
  background:#0a0a12;
  cursor:pointer;
  display:block; text-decoration:none;
}
.ov-card:hover .ov-card-img img { transform:scale(1.06); filter:brightness(.85) }

.ov-card-img {
  position:absolute; inset:0; overflow:hidden;
}
.ov-card-img img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s ease, filter .4s ease;
  filter:brightness(.65);
}

/* Gradient overlay bas */
.ov-card::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.2) 45%, transparent 100%);
  z-index:1;
}

.ov-card-badge {
  position:absolute; top:14px; left:14px; z-index:3;
  font-family:'DM Mono',monospace;
  font-size:7px; letter-spacing:2px; text-transform:uppercase;
  padding:4px 10px;
  background:rgba(0,0,0,.55); backdrop-filter:blur(4px);
  color:rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.12);
}
.ov-card-badge-y { background:#FFCF00; color:#000; border-color:#FFCF00 }

.ov-card-body {
  position:absolute; bottom:0; left:0; right:0; z-index:2;
  padding:18px 20px;
}
.ov-card-num {
  font-family:'DM Mono',monospace;
  font-size:8px; letter-spacing:2px; text-transform:uppercase;
  color:rgba(255,207,0,.8); margin-bottom:4px;
}
.ov-card-name {
  font-family:'Bebas Neue',sans-serif;
  font-size:22px; color:#fff; line-height:1; letter-spacing:.5px;
}
.ov-card-sub {
  font-family:'DM Mono',monospace;
  font-size:8px; color:rgba(255,255,255,.45); margin-top:4px;
}
.ov-card-price {
  font-family:'Bebas Neue',sans-serif;
  font-size:18px; color:#FFCF00; margin-top:6px;
}

.rv{opacity:1;transform:none}
.d1,.d2,.d3{}

/* ── PADDOCK NEWSLETTER GRID (nl-*) ──────────────────────── */
.nl-wrap{width:100%;max-width:100%;padding:clamp(16px,2vw,28px) clamp(16px,3vw,40px);display:flex;flex-direction:column;gap:0;flex:1;box-sizing:border-box}
.nl-masthead{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:8px;border-bottom:2px solid transparent;border-image:linear-gradient(90deg,#F5D061,#C8860A,rgba(200,134,10,0)) 1;margin-bottom:12px;flex-shrink:0}
.nl-masthead-title{font-family:'Bebas Neue';font-size:28px;letter-spacing:2px;color:#fff}
.nl-masthead-sub{font-family:'DM Mono';font-size:8px;letter-spacing:3px;text-transform:uppercase;color:rgba(255,207,0,.5)}
.nl-masthead-date{font-family:'DM Mono';font-size:9px;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.3);text-align:right}
.nl-grid{display:grid;grid-template-columns:1.2fr 1fr 0.8fr;grid-template-rows:1fr 1fr;gap:1px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.06);border-radius:10px;overflow:hidden;flex:1;min-height:0}
.nl-cell{background:#0b1120;padding:clamp(12px,1.5vw,20px);display:flex;flex-direction:column;gap:8px;overflow:hidden}
.nl-cell-label{font-family:'DM Mono';font-size:8px;letter-spacing:3px;text-transform:uppercase;color:rgba(255,207,0,.55);padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.07)}
.nl-cell-event{grid-column:1;grid-row:1/3;position:relative;padding:0;overflow:hidden;min-height:0}
.nl-event-bg{position:absolute;inset:0}
.nl-event-bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.nl-event-ov{position:absolute;inset:0;background:linear-gradient(160deg,rgba(4,10,30,.5) 0%,rgba(4,10,30,.92) 60%)}
.nl-event-body{position:relative;z-index:1;padding:24px;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;gap:6px}
.nl-event-badge{font-family:'DM Mono';font-size:8px;letter-spacing:3px;text-transform:uppercase;color:#FFCF00;background:rgba(245,208,97,.12);border:1px solid rgba(245,208,97,.2);padding:3px 8px;border-radius:3px;display:inline-block;align-self:flex-start;margin-bottom:6px}
.nl-event-date{font-family:'Bebas Neue';font-size:52px;color:#fff;line-height:.9;letter-spacing:1px}
.nl-event-date span{font-size:22px;color:rgba(255,255,255,.55);margin-left:6px}
.nl-event-title{font-family:'Bebas Neue';font-size:20px;color:#fff;letter-spacing:1px}
.nl-event-sub{font-family:'DM Mono';font-size:9px;color:rgba(255,255,255,.45)}
.nl-event-cta{margin-top:12px;padding:8px 14px;background:#FFCF00;color:#000;font-family:'DM Mono';font-size:9px;letter-spacing:1.5px;text-transform:uppercase;text-decoration:none;font-weight:700;border-radius:4px;align-self:flex-start;transition:filter .15s}
.nl-event-cta:hover{filter:brightness(1.1)}
.nl-cell-forum{grid-column:2;grid-row:1}
.nl-forum-row{display:flex;flex-direction:column;gap:3px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.05);text-decoration:none;transition:background .15s}
.nl-forum-row:last-child{border-bottom:none}
.nl-forum-row:hover{background:rgba(255,255,255,.03);margin:0 -20px;padding:8px 20px}
.nl-forum-tag{font-family:'DM Mono';font-size:7px;letter-spacing:2px;text-transform:uppercase;padding:2px 6px;border-radius:2px;align-self:flex-start}
.nl-forum-title{font-family:'DM Mono';font-size:10px;color:rgba(255,255,255,.8);line-height:1.4}
.nl-forum-meta{font-family:'DM Mono';font-size:8px;color:rgba(255,255,255,.3)}
.nl-cell-yt{grid-column:2;grid-row:2}
.nl-yt-row{display:flex;gap:10px;text-decoration:none;align-items:center}
.nl-yt-thumb{width:80px;height:52px;flex-shrink:0;background:#000;border-radius:4px;overflow:hidden;position:relative}
.nl-yt-thumb img{width:100%;height:100%;object-fit:cover}
.nl-yt-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;background:rgba(0,0,0,.35)}
.nl-yt-info{flex:1}
.nl-yt-title{font-family:'DM Mono';font-size:10px;color:rgba(255,255,255,.8);line-height:1.4;margin-bottom:3px}
.nl-yt-sub{font-family:'DM Mono';font-size:8px;color:rgba(255,255,255,.3)}
.nl-cell-cal{grid-column:3;grid-row:1}
.nl-cal-row{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.nl-cal-row:last-child{border-bottom:none}
.nl-cal-date{font-family:'Bebas Neue';font-size:28px;color:#FFCF00;line-height:1;flex-shrink:0;width:36px;text-align:center}
.nl-cal-date span{display:block;font-family:'DM Mono';font-size:7px;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,.35);font-weight:normal}
.nl-cal-info{flex:1}
.nl-cal-title{font-family:'DM Mono';font-size:10px;color:rgba(255,255,255,.8);line-height:1.3}
.nl-cal-sub{font-family:'DM Mono';font-size:8px;color:rgba(255,255,255,.3);margin-top:2px}
.nl-cell-stats{grid-column:3;grid-row:2}
.nl-stat-row{display:flex;justify-content:space-between;align-items:baseline;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.nl-stat-row:last-child{border-bottom:none}
.nl-stat-label{font-family:'DM Mono';font-size:9px;color:rgba(255,255,255,.4)}
.nl-stat-val{font-family:'Bebas Neue';font-size:22px;color:#FFCF00}
.nl-anchors{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0 0;border-top:1px solid rgba(255,255,255,.07);margin-top:10px;flex-shrink:0}
.nl-anchor{font-family:'DM Mono';font-size:8px;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.45);text-decoration:none;padding:5px 10px;border:1px solid rgba(255,255,255,.1);border-radius:3px;transition:all .15s}
.nl-anchor:hover{color:#FFCF00;border-color:rgba(255,207,0,.3)}
@media(max-width:800px){
  .nl-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto;flex:none}
  .nl-cell-event{grid-column:1/3;grid-row:1;min-height:220px}
  .nl-cell-forum{grid-column:1;grid-row:2}
  .nl-cell-yt{grid-column:2;grid-row:2}
  .nl-cell-cal{grid-column:1/3;grid-row:3}
  .nl-cell-stats{grid-column:1/3;grid-row:4;flex-direction:row;flex-wrap:wrap;gap:12px}
  .nl-stat-row{flex:1;min-width:80px}
}

@media(max-width:520px){
  .nl-grid{grid-template-columns:1fr;flex:none}
  .nl-cell-event,.nl-cell-forum,.nl-cell-yt,.nl-cell-cal,.nl-cell-stats{grid-column:1}
  .nl-cell-event{grid-row:1}
  .nl-cell-cal{grid-row:2}
  .nl-cell-forum{grid-row:3}
  .nl-cell-yt{grid-row:4}
  .nl-cell-stats{grid-row:5}
}

.snap-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: rgba(255,207,0,.7);
  line-height: 1;
}
.snap-name {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
/* Position absolue : la snap-label ne prend pas de hauteur dans le flux,
   snap-content obtient ainsi 100% de la section sans debordement */
.snap-label {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  left: clamp(16px, 3vw, 36px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}

/* ── CTA bas droite ──────────────────────────────── */
.snap-cta {
  position: absolute;
  bottom: clamp(20px,3vw,36px);
  right: clamp(16px,3vw,36px);
  z-index: 20;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  background: #FFCF00;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 3px;
  font-weight: 700;
  transition: filter .2s;
}
.snap-cta:hover { filter: brightness(1.1) }

/* ── Zone contenu : remplit la section ──────────── */
.snap-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Footer : snap point terminal */
#footer-root {
  scroll-snap-align: start;
}

/* acad-layout prend toute la hauteur de snap-content */
.snap-content .acad-layout {
  height: 100%;
}
.snap-content > .porte {
  height: 100%;
  min-height: 0;
}
@media(max-width:700px){
  .snap-content > .porte { height: 33.33svh }
}

/* ════ COACHING : panels plein écran ════════════════ */
.snap-section#section-coaching { background: #040a1e }

.snap-content .idx-coaching-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 1px;
}

.snap-content .offer-card {
  height: 100%;
  min-height: 0;
}
@media(max-width:700px){
  .snap-content .idx-coaching-panels { grid-template-columns: 1fr }
  .snap-content .offer-card { height: 50svh }
}

/* ════ TRACK : hero statique ═════════════════════════ */
.snap-section-track { background: #07101f }

.snap-track-hero {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.snap-track-bg { position: absolute; inset: 0 }
.snap-track-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(.5) saturate(.9);
}
.snap-track-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,10,30,.97) 0%, rgba(4,10,30,.4) 55%, rgba(4,10,30,.1) 100%);
}
.snap-track-body {
  position: relative;
  z-index: 2;
  padding: clamp(32px,5vw,64px) clamp(20px,4vw,56px);
  padding-right: 200px;
}
.snap-track-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,207,0,.5);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.snap-track-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: #FFCF00;
  opacity: .4;
}
.snap-track-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px,9vw,110px);
  color: #fff;
  line-height: .85;
  margin-bottom: 18px;
}
.snap-track-title em { font-style: normal; color: #FFCF00 }
.snap-track-sub {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.snap-track-circuits {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,.3);
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.snap-track-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.snap-track-chip{font-family:'DM Mono',monospace;font-size:9px;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.75);border:1px solid rgba(255,255,255,.22);padding:7px 16px;transition:border-color .2s,color .2s}
.snap-track-cta {
  display: inline-flex;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 24px;
  background: #FFCF00;
  color: #000;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 700;
  transition: filter .15s;
}
.snap-track-cta:hover { filter: brightness(1.1) }
.snap-track-num {
  position: absolute;
  right: clamp(20px,4vw,56px);
  bottom: clamp(20px,4vw,40px);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(120px,18vw,220px);
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ════ PADDOCK : grille magazine ════════════════════ */
.snap-section-paddock { background: #07101f }
.porte-bg{position:absolute;inset:0;z-index:0}
.porte-bg img{width:100%;height:100%;object-fit:cover;transition:transform .65s ease}
.porte:hover .porte-bg img{transform:scale(1.06)}
.porte-overlay{position:absolute;inset:0;z-index:1;transition:opacity .4s}
.porte.enfant .porte-overlay{background:linear-gradient(to top,rgba(10,26,74,.96) 0%,rgba(10,26,74,.6) 50%,rgba(10,26,74,0) 100%)}
.porte.competition .porte-overlay{background:linear-gradient(to top,rgba(100,80,0,.97) 0%,rgba(160,120,0,.55) 50%,rgba(180,140,0,0) 100%)}
.porte:hover .porte-overlay{opacity:.85}
.porte-content{position:relative;z-index:2;padding:clamp(28px,4vw,48px)}
.porte-tag{font-family:'DM Mono';font-size:8px;letter-spacing:2.5px;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:12px}
.porte-title{font-family:'Bebas Neue';font-size:clamp(32px,5vw,52px);color:#fff;line-height:.9;margin-bottom:14px}
.porte.competition .porte-title{color:var(--accent-em,#FFCF00)}
.porte-body{font-size:13px;color:rgba(255,255,255,.55);line-height:1.7;max-width:280px;margin-bottom:24px;opacity:0;transform:translateY(8px);transition:all .35s}
.porte:hover .porte-body{opacity:1;transform:translateY(0)}
/* Sans survol (téléphone, tablette), la description restait invisible. */
@media(hover:none){.porte-body{opacity:1;transform:none}}
.porte-cta{display:inline-block;font-family:'DM Mono';font-size:10px;letter-spacing:2px;text-transform:uppercase;padding:13px 24px;border-radius:3px;transition:all .2s;transform:translateY(4px);opacity:.85}
.porte:hover .porte-cta{transform:translateY(0);opacity:1}
.porte.enfant .porte-cta,.porte.adulte .porte-cta{background:#fff;color:#0a1a4a}
.porte.competition .porte-cta{background:#FFCF00;color:#000}
/* Carte offre : structure de base, completee par --light / --dark ci-dessous */
.offer-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px);
}
.offer-card > * { position: relative; z-index: 1 }
.offer-card::after {
  position: absolute;
  bottom: -40px; right: -10px;
  font-family: 'Bebas Neue';
  font-size: clamp(180px,26vw,320px);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.offer-card--light {
  background: #fff;
  border-top-color: #0A3D91;
  border-right: 1px solid rgba(10,61,145,.1);
}
.offer-card--light::after { content: 'A'; color: rgba(10,61,145,.04) }
.offer-card--dark  {
  background: #040a1e;
  border-top-color: #FFCF00;
}
.offer-card--dark::after  { content: 'P'; color: rgba(255,207,0,.04) }

.oc-header { display:flex; align-items:center; gap:12px; margin-bottom:20px }
.oc-badge {
  font-family:'DM Mono'; font-size:8px; letter-spacing:3px; text-transform:uppercase;
  padding:4px 12px; border-radius:2px; flex-shrink:0;
}
.offer-card--light .oc-badge { background:#0A3D91; color:#fff }
.offer-card--dark  .oc-badge { background:#FFCF00; color:#000 }

.oc-eyebrow { font-family:'DM Mono'; font-size:10px; letter-spacing:2px; text-transform:uppercase }
.offer-card--light .oc-eyebrow { color:rgba(10,61,145,.5) }
.offer-card--dark  .oc-eyebrow { color:rgba(255,207,0,.5) }

.oc-title { font-family:'Bebas Neue'; font-size:clamp(60px,8vw,100px); line-height:.86; letter-spacing:-1px; margin-bottom:8px }
.offer-card--light .oc-title { color:#0d0d0d }
.offer-card--dark  .oc-title { color:#fff }
.oc-title em { font-style:normal; display:block }
.offer-card--light .oc-title em { color:#0A3D91 }
.offer-card--dark  .oc-title em { color:#FFCF00 }

.oc-rule { width:48px; height:3px; margin:0 0 24px; border:none; flex-shrink:0; align-self:flex-start }
.offer-card--light .oc-rule { background:#0A3D91 }
.offer-card--dark  .oc-rule { background:#FFCF00 }

.oc-hook { font-size:clamp(13px,1.4vw,15px); line-height:1.75; max-width:380px; margin-bottom:28px }
.offer-card--light .oc-hook { color:rgba(13,13,13,.6) }
.offer-card--dark  .oc-hook { color:rgba(255,255,255,.5) }

.oc-features { display:flex; flex-direction:column; flex:1; margin-bottom:24px }
.oc-feat { display:grid; grid-template-columns:44px 1fr; gap:0 14px; padding:13px 0; align-items:flex-start }
.offer-card--light .oc-feat { border-bottom:1px solid rgba(10,61,145,.08) }
.offer-card--dark  .oc-feat { border-bottom:1px solid rgba(255,255,255,.06) }
.oc-feat:last-child { border-bottom:none }
.oc-num { font-family:'DM Mono'; font-size:9px; letter-spacing:1px; padding-top:3px }
.offer-card--light .oc-num { color:rgba(10,61,145,.35) }
.offer-card--dark  .oc-num { color:rgba(255,207,0,.45) }
.oc-feat-name { font-size:13px; font-weight:700; margin-bottom:3px; line-height:1.2 }
.offer-card--light .oc-feat-name { color:#0d0d0d }
.offer-card--dark  .oc-feat-name { color:#fff }
.oc-feat-desc { font-size:11.5px; line-height:1.65 }
.offer-card--light .oc-feat-desc { color:rgba(13,13,13,.5) }
.offer-card--dark  .oc-feat-desc { color:rgba(255,255,255,.35) }

.oc-prix { display:flex; gap:20px; padding:14px 18px; border-radius:5px; margin-bottom:18px }
.offer-card--light .oc-prix { background:rgba(10,61,145,.05); border:1px solid rgba(10,61,145,.12) }
.offer-card--dark  .oc-prix { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08) }
.oc-prix-item { display:flex; flex-direction:column; gap:2px }
.oc-prix-label { font-family:'DM Mono'; font-size:8px; letter-spacing:2px; text-transform:uppercase }
.offer-card--light .oc-prix-label { color:rgba(10,61,145,.5) }
.offer-card--dark  .oc-prix-label { color:rgba(255,255,255,.35) }
.oc-prix-val { font-family:'Bebas Neue'; font-size:26px; line-height:1.1 }
.offer-card--light .oc-prix-val { color:#0A3D91 }
.offer-card--dark  .oc-prix-val { color:#FFCF00 }

.oc-cta {
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 24px; font-family:'DM Mono'; font-size:10px; letter-spacing:2px;
  text-transform:uppercase; text-decoration:none; border-radius:3px;
  transition:all .2s; font-weight:500; margin-bottom:22px;
}
.offer-card--light .oc-cta { background:#0A3D91; color:#fff }
.offer-card--light .oc-cta:hover { background:#0D2F6E }
.offer-card--dark  .oc-cta { background:#FFCF00; color:#000 }
.offer-card--dark  .oc-cta:hover { background:#C8A000 }

.oc-levels { display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.oc-level { font-family:'DM Mono'; font-size:9px; letter-spacing:1.5px; text-transform:uppercase }
.offer-card--light .oc-level        { color:rgba(13,13,13,.3) }
.offer-card--light .oc-level.active { color:#0A3D91; font-weight:500 }
.offer-card--dark  .oc-level        { color:rgba(255,255,255,.2) }
.offer-card--dark  .oc-level.active { color:rgba(255,207,0,.75) }
.oc-sep { font-size:9px }
.offer-card--light .oc-sep { color:rgba(13,13,13,.2) }
.offer-card--dark  .oc-sep { color:rgba(255,255,255,.15) }

/* ════════════════════════════════════════════════════
   ACADÉMIE : Layout B + bandeau parcours
   ════════════════════════════════════════════════════ */

/* Conteneur principal : les portes en haut, le bandeau du parcours en bas */
.acad-layout {
  display: grid;
  /* minmax(0,1fr) : avec 1fr, la colonne prenait la largeur du bandeau du
     parcours (566 px) et les portes débordaient d'un écran de 390 px. */
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: 1fr auto;
  height: 100%;
  gap: 1px;
  background: rgba(255,255,255,.04);
}

/* Les portes se partagent la largeur à parts égales. Une voie masquée
   (theme.css section 5) sort du flux et les autres s'élargissent : deux
   voies, deux moitiés ; trois voies, trois tiers. Jusqu'au 9 octobre
   2026, une grande porte et deux vignettes : le masquage de la
   Compétition laissait le Karting adulte en vignette. */
.acad-portes {
  grid-row: 1;
  display: flex;
  gap: 1px;
  min-height: 0;
}
.acad-portes > .acad-main { flex: 1 1 0; min-width: 0 }

/* Grande porte gauche */
.acad-main {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
}
.acad-main .porte-bg { position: absolute; inset: 0; z-index: 0 }
.acad-main .porte-bg img { width:100%; height:100%; object-fit:cover; transition: transform .65s ease }
.acad-main:hover .porte-bg img { transform: scale(1.04) }
.acad-main .porte-overlay { position:absolute; inset:0; z-index:1; transition: opacity .4s }
.acad-main.porte.enfant .porte-overlay { background: linear-gradient(to top, rgba(10,26,74,.97) 0%, rgba(10,26,74,.55) 55%, rgba(10,26,74,.05) 100%) }
.acad-main.porte.adulte .porte-overlay { background: linear-gradient(to top, rgba(7,31,92,.95) 0%, rgba(7,31,92,.5) 60%, rgba(7,31,92,.05) 100%) }
.acad-main.porte.competition .porte-overlay { background: linear-gradient(to top, rgba(100,74,0,.97) 0%, rgba(140,100,0,.5) 60%, rgba(160,120,0,.05) 100%) }
.acad-main.porte.competition .porte-title { color: #FFCF00 }
.acad-main .porte-content { position:relative; z-index:2; padding: clamp(28px,4vw,52px) }
.acad-main .porte-tag { font-family:'DM Mono'; font-size:9px; letter-spacing:2.5px; text-transform:uppercase; color:rgba(255,255,255,.6); margin-bottom:10px }
.acad-main .porte-title { font-family:'Bebas Neue'; font-size:clamp(48px,7vw,88px); color:#fff; line-height:.85; margin-bottom:16px }
.acad-main .porte-body { font-size:13px; color:rgba(255,255,255,.55); line-height:1.7; max-width:320px; margin-bottom:24px }
.acad-main .porte-cta { display:inline-block; font-family:'DM Mono'; font-size:10px; letter-spacing:2px; text-transform:uppercase; padding:13px 24px; background:#fff; color:#0a1a4a; border-radius:3px; transition: all .2s }
.acad-main:hover .porte-cta { background:#FFCF00; color:#000 }

/* Bandeau parcours en bas : toute la largeur */
.acad-parcours {
  grid-column: 1 / -1;
  grid-row: 2;
  background: rgba(4,10,30,.97);
  border-top: 2px solid rgba(255,207,0,.15);
  display: flex;
  align-items: center;
  padding: 0 clamp(12px,2vw,28px);
  gap: 0;
  flex-shrink: 0;
  min-height: 0;
}
.acad-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 14px;
  flex: 1;
  min-width: 0;
  cursor: default;
  transition: background .2s;
}
.acad-step:hover { background: rgba(255,255,255,.03) }
.acad-step-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(255,207,0,.25);
  line-height: 1;
  flex-shrink: 0;
}
.acad-step-star {
  color: rgba(255,207,0,.7) !important;
  font-size: 28px;
}
.acad-step-info { min-width: 0 }
.acad-step-name {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acad-step-champion .acad-step-name { color: rgba(255,207,0,.8) }
.acad-step-sub {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acad-arrow {
  color: rgba(255,207,0,.2);
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 2px;
}
.acad-parcours-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  background: #FFCF00;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter .2s;
}
.acad-parcours-cta:hover { filter: brightness(1.1) }

/* Responsive */
@media(max-width:800px) {
  .acad-portes { flex-direction: column }
  .acad-step-sub { display:none }
  .acad-step { padding:10px 8px; gap:8px }
}
/* Sur téléphone, les étapes du bandeau tombaient à deux lettres (« KA… ») :
   les portes juste au-dessus disent déjà la même chose. Le bouton reste. */
@media(max-width:600px) {
  .acad-step, .acad-arrow { display:none }
  .acad-parcours { justify-content:center; padding:12px 16px }
  .acad-parcours-cta { margin-left:0 }
}

/* ═══ SECTION ACADÉMIE : trois cartes et le formateur (D-211) ═══
   Construite par sync-mirror.js (buildAcademieCards). La section grandit
   avec son contenu, comme la dernière section d'une page aimantée. */
#section-academie { height:auto; min-height:calc(100svh - 56px); overflow:visible; background:#f0f4ff }
#section-academie .snap-label { display:none }
#section-academie .snap-content { height:auto }
.acad-bloc { max-width:1280px; margin:0 auto; padding:clamp(48px,7vw,96px) clamp(16px,4vw,56px); display:flex; flex-direction:column; gap:36px }
.acad-cartes-tete { display:flex; flex-direction:column; gap:12px; max-width:720px }
.acad-kicker { margin:0; font-family:'DM Mono',monospace; font-size:12px; letter-spacing:3px; text-transform:uppercase; color:#0A3D91 }
.acad-titre { margin:0; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:clamp(40px,5vw,64px); line-height:.92; color:#040a1e }
.acad-cartes { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:24px }
.acad-carte { display:flex; flex-direction:column; background:#fff; border-radius:6px; overflow:hidden; text-decoration:none; color:#0d0d0d; box-shadow:0 1px 0 rgba(10,61,145,.12); transition:transform .2s, box-shadow .2s }
.acad-carte:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(10,61,145,.15) }
.acad-carte:focus-visible { outline:3px solid #0A3D91; outline-offset:3px }
.acad-carte img { width:100%; height:220px; object-fit:cover; display:block }
.acad-carte-corps { padding:24px; display:flex; flex-direction:column; gap:10px; flex:1 }
.acad-carte-tag { font-family:'DM Mono',monospace; font-size:12px; letter-spacing:2px; text-transform:uppercase; color:#0A3D91 }
.acad-carte-titre { margin:0; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:36px; line-height:1; color:#040a1e }
.acad-carte-texte { margin:0; font-size:16px; line-height:1.6; color:rgba(13,13,13,.75) }
.acad-carte-cta { margin-top:auto; padding-top:8px; font-family:'DM Mono',monospace; font-size:12px; letter-spacing:2px; text-transform:uppercase; color:#0A3D91 }
.acad-carte--sombre { background:#040a1e; color:#fff }
.acad-carte--sombre .acad-carte-tag, .acad-carte--sombre .acad-carte-cta { color:#FFCF00 }
.acad-carte--sombre .acad-carte-titre { color:#fff }
.acad-carte--sombre .acad-carte-texte { color:rgba(255,255,255,.8) }
.acad-formateur { background:#040a1e; color:#fff; padding:clamp(48px,7vw,96px) clamp(16px,4vw,56px); display:flex; flex-wrap:wrap; gap:40px; align-items:center; justify-content:center }
.acad-formateur-photo { width:220px; height:220px; object-fit:cover; border-radius:50%; border:3px solid #FFCF00; flex:0 0 auto }
.acad-formateur-corps { flex:0 1 760px; min-width:0; display:flex; flex-direction:column; gap:16px }
.acad-formateur .acad-kicker { color:#FFCF00 }
.acad-formateur .acad-titre { color:#fff }
.acad-formateur-citation { margin:0; font-size:clamp(18px,2vw,22px); line-height:1.5; font-style:italic; color:rgba(255,255,255,.9) }
.acad-formateur-titres { margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px }
.acad-formateur-titres li { font-family:'DM Mono',monospace; font-size:12px; letter-spacing:1px; text-transform:uppercase; border:1px solid rgba(255,255,255,.3); border-radius:20px; padding:8px 14px }
.acad-formateur-lien { align-self:flex-start; font-family:'DM Mono',monospace; font-size:13px; letter-spacing:2px; text-transform:uppercase; color:#FFCF00; text-decoration:none; padding:12px 0 }
.acad-formateur-lien:hover { color:#ffe066 }
@media (prefers-reduced-motion: reduce) { .acad-carte:hover { transform:none } }

/* ════ ACCUEIL VITRINE (D-212, 6 novembre 2026) ═══════════════════════════
   L'accueil présente JB et ses activités, l'Académie vend le karting.
   Page à défilement libre : le défilement aimanté (snap.css) sautait les
   blocs plus hauts que l'écran. Les anciennes sections 02 à 04, masquées,
   gardent leurs classes snap-* sans effet tant qu'elles restent masquées. */

/* Hero : la vidéo se voit, le texte reste lisible */
.hero{min-height:calc(100svh - 56px);display:block}
.hero-video{filter:brightness(.62) saturate(.95)}
.hero-overlay{background:linear-gradient(90deg,rgba(4,10,30,.88) 0%,rgba(4,10,30,.55) 45%,rgba(4,10,30,.1) 100%),linear-gradient(to top,rgba(4,10,30,.85) 0%,rgba(4,10,30,0) 45%)}
.hero-content{padding:clamp(20px,4vw,48px) clamp(16px,4vw,56px) clamp(48px,8vw,96px);max-width:1100px}
@media(max-width:600px){.hero-content{padding-bottom:48px}}
@media(max-width:380px){.hero-content{padding-bottom:40px}}
.hero-kicker{color:var(--Y)}
.hero-title{font-size:clamp(54px,8.5vw,116px)}
.hero-title em{display:block}
.hero-sub{font-size:clamp(15px,1.6vw,19px);color:rgba(255,255,255,.88);max-width:580px}
.hero .btn{font-size:13px;padding:16px 26px;border-radius:4px}
.btn-w{background:#fff;color:#040a1e;box-shadow:0 8px 24px rgba(0,0,0,.35)}.btn-w:hover{transform:translateY(-2px)}
.btn-noir{background:#040a1e;color:#fff}.btn-noir:hover{background:#0A3D91}
.btn-contour{border:1px solid rgba(4,10,30,.6);color:#040a1e}.btn-contour:hover{background:rgba(4,10,30,.08)}

/* Bande des preuves : une ligne, discrète */
.preuves{background:#0a1a4a;border-top:2px solid var(--Y)}
.preuves-liste{list-style:none;margin:0 auto;max-width:1280px;padding:16px clamp(16px,4vw,56px);box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px}
.preuves-liste li{display:flex;align-items:baseline;gap:10px;white-space:nowrap}
.preuve-val{font-family:'Bebas Neue',sans-serif;font-size:24px;line-height:1;color:var(--Y)}
.preuve-txt{font-size:14px;color:rgba(255,255,255,.75)}

/* Gabarit commun des sections */
.vit-in{max-width:1280px;margin:0 auto;padding:clamp(56px,8vw,96px) clamp(16px,4vw,56px);box-sizing:border-box;display:flex;flex-direction:column;gap:28px}
.vit-tete{display:flex;flex-direction:column;gap:10px}
.vit-kicker{font-family:'DM Mono',monospace;font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--Y)}
.vit-titre{margin:0;font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:clamp(44px,6vw,80px);line-height:.9;color:#fff;text-wrap:balance}
.vit-titre em{font-style:normal;color:var(--Y)}
.vit-lien{align-self:flex-start;font-family:'DM Mono',monospace;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#0A3D91;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}

/* Activités : grandes cartes photo, sur fond sombre éclairé */
.activites{background-color:#040a1e;background-image:radial-gradient(ellipse 70% 60% at 15% 0%,rgba(18,82,192,.45) 0%,rgba(4,10,30,0) 70%),radial-gradient(ellipse 50% 50% at 90% 100%,rgba(255,207,0,.12) 0%,rgba(4,10,30,0) 70%)}
.act-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.act-carte{position:relative;min-height:clamp(340px,40vw,460px);border-radius:10px;overflow:hidden;display:flex;align-items:flex-end;text-decoration:none;color:#fff;box-shadow:0 24px 60px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08)}
.act-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.act-carte::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,10,30,0) 30%,rgba(4,10,30,.92) 100%)}
.act-carte:hover .act-photo{transform:scale(1.04)}
.act-corps{position:relative;z-index:1;padding:clamp(22px,3vw,36px);display:flex;flex-direction:column;gap:10px}
.act-nom{margin:0;font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:clamp(48px,5vw,72px);line-height:.9}
.act-texte{margin:0;font-size:17px;line-height:1.5;color:rgba(255,255,255,.9);max-width:420px}
.act-bouton{align-self:flex-start;margin-top:6px;font-size:15px;font-weight:500;color:#040a1e;background:var(--Y);padding:12px 20px;border-radius:999px}
.act-bouton--blanc{background:#fff}
.act-carte:focus-visible{outline:3px solid var(--Y);outline-offset:3px}

/* Dates : fond clair, cartes de dates.css */
.vit-dates{background:#f0f4ff}
.vit-dates .vit-kicker{color:#0A3D91}
.vit-dates .vit-titre{color:#040a1e}
.vit-dates .vit-titre em{color:#0A3D91}

/* Avis : fond bleu nuit */
.vit-avis{background:#0a1a4a}

/* FAQ : faq.css, fond blanc. Le gabarit .vit-in porte déjà les marges. */
.vit-faq.jbe-faq{padding:0}
.vit-faq .faq-tete{margin-bottom:0}

/* Appel : bandeau jaune */
.vit-appel{background:var(--Y);color:#040a1e}
.vit-appel-in{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding-top:clamp(40px,6vw,72px);padding-bottom:clamp(40px,6vw,72px)}
.vit-appel-titre{margin:0;font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:clamp(36px,4.5vw,56px);line-height:.95}
.vit-appel-btns{display:flex;flex-wrap:wrap;gap:12px}
.vit-appel .btn{font-size:13px;padding:16px 24px;border-radius:4px}
.hero-title em{font-size:.72em;line-height:.95;margin-top:6px}
.vit-avis.jbe-avis{padding:0;--avis-fond:#0a1a4a}
.vit-avis .jbe-avis-in{max-width:1280px}
.vit-avis .avis-list{margin-top:0}
