/* ============================================================
   AcadeNice home design system
   Extracted verbatim from claude_design_v2/index.html <style>
   Home-specific sections only. Navbar, mega-menu, tweaks panel
   and the candidature modal are intentionally excluded:
   the navbar/contact-modal come from acadenice-navbar.css and
   the ClaudeNavbar component, the tweaks/candidature modal are
   editor-only mockup tooling. Loaded only by the home route.
   ============================================================ */

/* ---- Compatibility token aliases + home-only tokens ---- */
:root, [data-theme] {
  --black:  var(--bg-page);
  --dark:   var(--bg-dark);
  --dark-2: var(--bg-dark-2);
  --light:  var(--bg-light);
  --mid:    var(--bg-mid);
  --text-dark:  var(--text-primary);
  --text-light: var(--text-body);
  --muted-dark:  var(--muted-on-dark);
  --muted-light: var(--muted-on-light);
}
:root {
  --amber-light: #FFF8E6;
  --amber-dark:  #C46A00;
  --hero-bg:     #080F0E;
  --stats-num-color: #ffffff;
}
[data-theme="light"] {
  --hero-bg:     #F2FFFE;
  --stats-num-color: #080F0E;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.display { font-family: 'Josefin Sans', sans-serif; font-size: clamp(40px, 6vw, 80px); font-weight: 700; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.h2 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.h3 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.01em; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.body-lg { font-size: 17px; line-height: 1.75; }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap; padding: 14px 28px;
}
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: var(--black); box-shadow: 0 0 0 0 rgba(76,204,184,0); }
.btn--teal:hover { box-shadow: 0 8px 32px rgba(76,204,184,.4); }
.btn--amber { background: var(--amber); color: #fff; box-shadow: 0 0 0 0 rgba(253,161,0,0); }
.btn--amber:hover { box-shadow: 0 8px 32px rgba(253,161,0,.45); background: #FF9A00; }
.btn--ghost-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); padding: 13px 28px; }
.btn--ghost-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn--ghost-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); padding: 13px 28px; }
.btn--ghost-teal:hover { background: rgba(76,204,184,.08); }
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; transition: all var(--transition); cursor: pointer; background: transparent; flex-shrink: 0; }


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--hero-bg);
  padding-top: 72px;
  padding-bottom: 0;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 30% 60%, rgba(76,204,184,.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(253,161,0,.05) 0%, transparent 50%),
    var(--hero-bg);
  pointer-events: none;
}
[data-theme="light"] .hero__bg {
  background:
    radial-gradient(ellipse 50% 80% at 30% 60%, rgba(76,204,184,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(253,161,0,.07) 0%, transparent 50%),
    var(--hero-bg);
}
[data-theme="light"] .hero__title { color: var(--text-body); }
[data-theme="light"] .hero__sub { color: var(--muted-on-light); }
[data-theme="light"] .hero__sub strong { color: var(--text-body); }
[data-theme="light"] .hero__badge { color: var(--muted-on-light); }
[data-theme="light"] .hero__badge-check { background: rgba(76,204,184,.2); }
[data-theme="light"] .btn--ghost-white { color: var(--text-body); border-color: rgba(26,40,39,.3); }
[data-theme="light"] .btn--ghost-white:hover { background: rgba(26,40,39,.06); border-color: rgba(26,40,39,.5); }
[data-theme="light"] .hero__badges { border-top-color: var(--border-light); }

/* Hero 2-col layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: calc(100vh - 72px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative; z-index: 2;
}
.hero__left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 60px 80px 48px;
}
.hero--claude-home .hero__left {
  padding: 45px 60px 45px 48px;
}
.hero--claude-home .hero__inner {
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}
.hero--claude-home .hero__tag {
  width: 298px;
  max-width: 100%;
}
.hero--claude-home .hero__title {
  font-size: 35px;
}
.hero__right {
  position: relative; overflow: hidden;
}
.hero__right img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
/* Fade left edge of photo into bg */
.hero__right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, var(--hero-bg) 0%, transparent 25%);
  pointer-events: none;
}
/* Responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .hero__left { padding: 80px 32px; }
  .hero--claude-home .hero__left { padding: 80px 32px; }
}
.hero__grid-overlay {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(var(--teal) 1px, transparent 1px), linear-gradient(90deg, var(--teal) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero__decor-text {
  position: absolute; top: 50%; right: -2%; transform: translateY(-50%);
  font-family: 'Josefin Sans', sans-serif; font-size: clamp(200px, 25vw, 380px);
  font-weight: 700; text-transform: uppercase; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(76,204,184,.1);
  line-height: 1; pointer-events: none; user-select: none;
  white-space: nowrap;
}
.hero__img-zone {
  position: absolute; right: 6%; bottom: 0; top: 72px;
  width: 42%; display: flex; align-items: flex-end;
}
.hero__img-placeholder {
  width: 100%; height: 85%; border-radius: 24px 24px 0 0;
  overflow: hidden; position: relative;
}
.hero__img-placeholder img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}

.hero__content { position: relative; z-index: 2; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,204,184,.12); border: 1px solid rgba(76,204,184,.25);
  border-radius: var(--r-pill); padding: 7px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 32px;
}
.hero__tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(.7); } }

.hero__title { margin-bottom: 28px; max-width: 640px; }
.hero__title span { color: var(--teal); }
.hero__title em { color: var(--amber); font-style: normal; }

.hero__sub { color: var(--muted-dark); font-size: 17px; max-width: 500px; line-height: 1.75; margin-bottom: 40px; }
.hero__sub strong { color: #fff; font-weight: 600; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

.hero__badges { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid var(--border-dark); }
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.hero__badge-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(76,204,184,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__badge-check svg { color: var(--teal); }

/* ═══════════════════════════════════════
   STATS
═══════════════════════════════════════ */
.stats { background: var(--teal); padding: 0; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 32px; text-align: center;
  border-right: 1px solid rgba(0,0,0,.12);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,0,0,.05); }
.stat-item__num {
  font-family: 'Josefin Sans', sans-serif; font-size: 48px; font-weight: 700;
  color: var(--black); line-height: 1; margin-bottom: 4px; letter-spacing: -.03em;
}
.stat-item__label { font-size: 13px; font-weight: 600; color: rgba(0,0,0,.65); letter-spacing: .03em; }

/* ═══════════════════════════════════════
   FORMATIONS
═══════════════════════════════════════ */
.formations { background: var(--light); padding: 100px 0; }

/* ── POLE CARDS (home grid) ── */
.poles-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}
[data-theme="dark"] .poles-grid { background: var(--border-dark); border-color: var(--border-dark); }
.pole-card {
  grid-column: span 2;
  background: #fff;
  padding: 40px 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: background var(--transition);
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.pole-card--featured {
  grid-column: span 3;
  min-height: 340px;
  padding: 52px 44px 40px;
}
[data-theme="dark"] .pole-card { background: var(--bg-dark); }
.pole-card[data-pole="tech"]  { --pole: var(--pole-tech); }
.pole-card[data-pole="graph"] { --pole: var(--pole-graph); }
.pole-card[data-pole="sport"] { --pole: var(--pole-sport); }
.pole-card[data-pole="com"]   { --pole: var(--pole-com); }
.pole-card[data-pole="elec"]  { --pole: var(--pole-elec); }

/* Top strip in pole color */
.pole-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--pole, var(--teal));
  z-index: 2;
}
/* Big diffuse colored backdrop on hover */
.pole-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 10%, color-mix(in oklab, var(--pole, var(--teal)) 18%, transparent) 0%, transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none; z-index: 0;
}
.pole-card:hover::after { opacity: 1; }
.pole-card > * { position: relative; z-index: 1; }

.pole-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.pole-card__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--pole, var(--teal));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--pole, var(--teal)) 18%, transparent);
}
.pole-card__num {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .14em;
  color: var(--muted-on-light);
}
[data-theme="dark"] .pole-card__num { color: var(--muted-on-dark); }
.pole-card__kicker {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pole, var(--teal-dark));
  margin-bottom: -8px;
}
.pole-card__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 700; line-height: 1; letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0;
  transition: color var(--transition);
}
.pole-card--featured .pole-card__title {
  font-size: 38px;
  line-height: .95;
}
.pole-card--featured .pole-card__body {
  font-size: 15px;
  max-width: 560px;
}
[data-theme="dark"] .pole-card__title { color: var(--text-primary); }
.pole-card:hover .pole-card__title { color: var(--pole, var(--teal-dark)); }
.pole-card__body {
  font-size: 14px; line-height: 1.6;
  color: var(--muted-on-light);
  margin: 0;
  flex: 1;
}
[data-theme="dark"] .pole-card__body { color: var(--muted-on-dark); }
.pole-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}
[data-theme="dark"] .pole-card__meta { border-color: var(--border-dark); }
.pole-card__count {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--pole, var(--teal-dark));
}
.pole-card__arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--pole, var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--pole, var(--teal-dark));
  transition: all var(--transition);
}
.pole-card:hover .pole-card__arrow {
  background: var(--pole, var(--teal-dark));
  color: #fff;
  transform: translateX(4px);
}
.pole-card--soon .pole-card__count {
  color: var(--amber);
}
.pole-card--soon::after {
  background: repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in oklab, var(--pole, var(--teal)) 4%, transparent) 8px 9px);
  opacity: 1;
}
.pole-card--soon:hover::after { opacity: 1; }

/* CTA card variant */
.pole-card--cta {
  grid-column: span 6;
  background: var(--bg-page); color: var(--text-primary);
  border-top: none;
}
[data-theme="light"] .pole-card--cta { background: #1A2827; color: #fff; }
.pole-card--cta::before {
  background: linear-gradient(90deg, var(--pole-tech), var(--pole-graph), var(--pole-sport), var(--pole-com), var(--pole-elec));
}
.pole-card--cta .pole-card__title { color: #fff; }
[data-theme="dark"] .pole-card--cta .pole-card__title { color: #fff; }
.pole-card--cta .pole-card__body { color: rgba(255,255,255,.7); }
[data-theme="dark"] .pole-card--cta .pole-card__body { color: rgba(255,255,255,.7); }
.pole-card--cta .pole-card__meta { border-color: rgba(255,255,255,.15); }
.pole-card--cta .pole-card__count { color: var(--amber); font-size: 22px; letter-spacing: .04em; }
.pole-card--cta::after { background: radial-gradient(circle at 80% 10%, rgba(76,204,184,.2) 0%, transparent 60%); }

@media (max-width: 980px) {
  .poles-grid { grid-template-columns: repeat(2, 1fr); }
  .pole-card,
  .pole-card--featured,
  .pole-card--cta {
    grid-column: span 1;
  }
  .pole-card--featured {
    min-height: 300px;
    padding: 42px 36px 34px;
  }
  .pole-card--featured .pole-card__title { font-size: 32px; }
}
@media (max-width: 640px) {
  .poles-grid { grid-template-columns: 1fr; }
  .pole-card,
  .pole-card--featured,
  .pole-card--cta {
    grid-column: 1;
  }
  .pole-card--featured {
    min-height: 280px;
    padding: 40px 32px 32px;
  }
}


/* ── FAQ CTA — COLONNE LATÉRALE ── */
.faq { padding-bottom: 100px !important; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
}
.faq-grid .faq-list { max-width: 100%; }

.faq-cta {
  position: sticky; top: 96px;
  padding: 40px 32px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(76,204,184,.4) 0%, transparent 55%),
    radial-gradient(ellipse 60% 90% at 0% 100%, rgba(253,161,0,.18) 0%, transparent 55%),
    linear-gradient(135deg, #082522 0%, #0F4540 35%, #1C7269 75%, #2E9988 100%);
  overflow: hidden;
}
.faq-cta__bg { display: none; }
.faq-cta__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  gap: 28px;
}
.faq-cta__text { min-width: 0; }
.faq-cta__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.faq-cta__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.faq-cta__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700; line-height: 1;
  letter-spacing: -.02em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px;
  text-wrap: balance;
}
.faq-cta__title em { font-style: normal; color: var(--amber); }
.faq-cta__sub {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.faq-cta__actions {
  display: flex; flex-direction: column; align-items: stretch; gap: 14px;
}
.faq-cta__actions .btn { justify-content: center; }
.faq-cta__phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Josefin Sans', sans-serif;
  min-height: 50px;
  border-radius: var(--r-pill);
  padding: 14px 22px 12px;
  border: 1.5px solid rgba(76,204,184,.45);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(76,204,184,.22);
  color: var(--black);
  font-size: 16px; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.faq-cta__phone svg { width: 18px; height: 18px; flex: 0 0 auto; }
.faq-cta__phone:hover {
  background: #6FE2D0;
  border-color: rgba(255,255,255,.4);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(76,204,184,.3);
}
html[data-theme] .faq-cta .faq-cta__phone,
html[data-theme] .faq-cta .faq-cta__phone:hover,
html[data-theme] .faq-cta .faq-cta__phone svg {
  color: var(--black);
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-cta { position: static; padding: 32px 28px; }
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.section-head__left {}
.section-head__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.section-head__title { color: var(--text-light); }
.section-head__right { }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border-light); background: #fff;
  color: var(--muted-light); cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--teal-dark); background: var(--teal-dark); color: #fff;
}

.formations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-light); margin-bottom: 2px; }
.formation-card {
  --formation-hover-text: #0A2E2A;
  --formation-hover-border: rgba(10,46,42,.24);
  --formation-hover-chip-bg: rgba(255,255,255,.34);
  --formation-hover-arrow-bg: rgba(10,46,42,.08);
  background: #fff; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  transition: background var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.formation-card__img {
  width: 100%; height: 160px; overflow: hidden; flex-shrink: 0;
  position: relative;
}
.formation-card__img svg { width: 100%; height: 100%; display: block; }
.formation-card__body {
  padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; flex: 1;
}
.formation-card__img { transition: opacity var(--transition); }
.formation-card:hover .formation-card__img { opacity: 0.6; }
.formation-card__body {
  position: relative; z-index: 1;
}
.formation-card__body::before {
  content: ''; position: absolute; inset: 0;
  background: var(--teal-dark); transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.formation-card:hover .formation-card__body::before { transform: translateY(0); }
.formation-card__body > * { position: relative; z-index: 1; }
.formation-card:hover .formation-card__domain,
.formation-card:hover .formation-card__title,
.formation-card:hover .formation-card__meta-tag,
.formation-card:hover .formation-card__cta {
  color: var(--formation-hover-text);
  border-color: var(--formation-hover-border);
}
.formation-card:hover .formation-card__body .formation-card__badge,
.formation-card:hover .formation-card__body .badge-b2,
.formation-card:hover .formation-card__body .badge-b3,
.formation-card:hover .formation-card__body .badge-b5 {
  background: var(--formation-hover-chip-bg) !important;
  color: var(--formation-hover-text) !important;
  border-color: var(--formation-hover-border) !important;
}
.formation-card:hover .formation-card__arrow {
  border-color: var(--formation-hover-text);
  color: var(--formation-hover-text);
  background: var(--formation-hover-arrow-bg);
}

.formation-card__top { display: flex; align-items: center; justify-content: space-between; }
.formation-card__badge {
  font-family: 'Josefin Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
  transition: all var(--transition);
}
/* Uniform badge colors */
.badge-b2 { background: #D0F5F0; color: #1C7269; }
.badge-b3 { background: #D0F5F0; color: #1C7269; }
.badge-b5 { background: #D0F5F0; color: #1C7269; }

/* ── PÔLES — couleurs par domaine sur cartes formation ── */
.formation-card[data-domain="dev"]    { --pole: var(--pole-tech);  --pole-soft: var(--pole-tech-soft); }
.formation-card[data-domain="design"] { --pole: var(--pole-graph); --pole-soft: var(--pole-graph-soft); }
.formation-card[data-domain="sport"]  { --pole: var(--pole-sport); --pole-soft: var(--pole-sport-soft); }
.formation-card[data-domain="com"]    {
  --pole: var(--pole-com);
  --pole-soft: var(--pole-com-soft);
  --formation-hover-text: #fff;
  --formation-hover-border: rgba(255,255,255,.3);
  --formation-hover-chip-bg: rgba(0,0,0,.3);
  --formation-hover-arrow-bg: rgba(255,255,255,.1);
}
.formation-card[data-domain="elec"] {
  --pole: var(--pole-elec);
  --pole-soft: var(--pole-elec-soft);
  --formation-hover-text: #fff;
  --formation-hover-border: rgba(255,255,255,.3);
  --formation-hover-chip-bg: rgba(0,0,0,.3);
  --formation-hover-arrow-bg: rgba(255,255,255,.1);
}

/* Liseré couleur en haut de l'image */
.formation-card[data-domain]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--pole, var(--teal)); z-index: 2;
}
/* Badge teinte par metier */
.formation-card[data-domain] .formation-card__badge {
  background: var(--pole-soft, #D0F5F0);
  color: var(--pole, #1C7269);
}
/* Domaine en couleur de metier */
.formation-card[data-domain] .formation-card__domain { color: var(--pole, var(--muted-light)); }
/* CTA & arrow */
.formation-card[data-domain] .formation-card__cta { color: var(--pole, var(--teal-dark)); }
.formation-card[data-domain] .formation-card__arrow { border-color: var(--pole, var(--teal-dark)); color: var(--pole, var(--teal-dark)); }
/* Hover : remplir avec la couleur du metier */
.formation-card[data-domain]:hover .formation-card__body::before { background: var(--pole, var(--teal-dark)); }

.formation-card__domain { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); transition: color var(--transition); }
.formation-card__title { font-family: 'Josefin Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-light); line-height: 1.2; letter-spacing: -.01em; transition: color var(--transition); }
.formation-card__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.formation-card__meta-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--pole, var(--teal-dark));
  background: var(--pole-soft, #D0F5F0);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in oklab, var(--pole, var(--teal-dark)) 18%, transparent);
  transition: all var(--transition);
}
.formation-card__cta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--teal-dark); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; font-family: 'Josefin Sans', sans-serif; transition: color var(--transition); }
.formation-card__arrow { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--teal-dark); display: flex; align-items: center; justify-content: center; color: var(--teal-dark); transition: all var(--transition); }


/* ═══════════════════════════════════════
   ÉCOLE / VALEURS
═══════════════════════════════════════ */
/* École section dark/light */
.ecole { background: var(--bg-dark); padding: 100px 0 0; }
[data-theme="light"] .ecole { background: #F7FAFA; }
.ecole__intro { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.ecole__intro-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.ecole__intro-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.1; color: var(--text-primary); margin-bottom: 14px; }
.ecole__intro-sub { font-size: 16px; color: var(--muted-on-dark); line-height: 1.75; }
[data-theme="light"] .ecole__intro-sub { color: var(--muted-on-light); }

/* Top 5 pillars */
.ecole__pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--border-dark); margin-bottom: 2px; }
[data-theme="light"] .ecole__pillars { background: var(--border-light); }
.pillar-card {
  background: var(--bg-dark); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background var(--transition);
}
[data-theme="light"] .pillar-card { background: #fff; }
.pillar-card:hover { background: var(--bg-dark-2); }
[data-theme="light"] .pillar-card:hover { background: var(--bg-light); }
.pillar-card__icon { font-size: 28px; line-height: 1; color: var(--teal); display: inline-flex; }
.pillar-card__title { font-family: 'Josefin Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: -.01em; line-height: 1.2; }
.pillar-card__body { font-size: 13px; color: var(--muted-on-dark); line-height: 1.65; }
[data-theme="light"] .pillar-card__body { color: var(--muted-on-light); }

/* Bottom 5 values grid */
.ecole__values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--border-dark); }
[data-theme="light"] .ecole__values { background: var(--border-light); }
.value-card {
  background: var(--bg-dark-2); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
[data-theme="light"] .value-card { background: var(--bg-mid); }
.value-card:hover { border-top-color: var(--teal); }
.value-card__icon { font-size: 22px; line-height: 1; color: var(--teal); display: inline-flex; }
.value-card__title { font-family: 'Josefin Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--text-primary); letter-spacing: -.01em; line-height: 1.2; }
.value-card__body { font-size: 12px; color: var(--muted-on-dark); line-height: 1.6; }
[data-theme="light"] .value-card__body { color: var(--muted-on-light); }

@media (max-width: 1024px) {
  .ecole__pillars { grid-template-columns: repeat(3, 1fr); }
  .ecole__values  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .ecole__pillars { grid-template-columns: 1fr 1fr; }
  .ecole__values  { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════════
   TÉMOIGNAGES VIDÉO
═══════════════════════════════════════ */
.video-testi { background: var(--bg-dark); padding: 100px 0; overflow: visible; }
[data-theme="light"] .video-testi { background: #F2F8F7; }
.video-testi .section-head__title { color: var(--text-primary); }
.video-testi .section-head__eyebrow { color: var(--teal); }

.vt-carousel {
  --vt-card-width: 300px;
  --vt-card-height: 533px;
  --vt-card-gap: 28px;
  --vt-fade-size: 100px;
  --vt-x: 0px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: clip;
  overflow-y: visible;
}

.vt-track-wrap {
  position: relative;
  min-height: calc(var(--vt-card-height) + 112px);
  overflow-x: clip;
  overflow-y: visible;
  padding: 56px 0;
  margin: -56px 0;
  overscroll-behavior: contain;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.vt-track-wrap.is-dragging { cursor: grabbing; }

.vt-track-wrap[mask] {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--vt-fade-size),
    #000 calc(100% - var(--vt-fade-size)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--vt-fade-size),
    #000 calc(100% - var(--vt-fade-size)),
    transparent 100%
  );
}

.vt-track {
  display: flex;
  width: max-content;
  gap: var(--vt-card-gap);
  padding-inline: var(--vt-fade-size);
  transform: translateX(calc(var(--vt-x) * -1));
  will-change: transform;
}

.vt-card {
  position: relative;
  --vt-card-tilt-x: 0deg;
  --vt-card-tilt-y: 0deg;
  --vt-card-scale: 1;
  --vt-lift: 0px;
  --vt-glare-x: 50%;
  --vt-glare-y: 28%;
  flex: 0 0 var(--vt-card-width);
  width: var(--vt-card-width);
  height: var(--vt-card-height);
  aspect-ratio: 9 / 16;
  display: block;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
  cursor: pointer;
  perspective: 920px;
  transform:
    translateY(var(--vt-lift))
    rotateX(var(--vt-card-tilt-x))
    rotateY(var(--vt-card-tilt-y))
    scale(var(--vt-card-scale));
  transform-style: preserve-3d;
  transition: transform .28s cubic-bezier(.03,.98,.52,.99), border-color var(--transition), box-shadow var(--transition);
}

.vt-card.is-playing { cursor: default; }

[data-theme="light"] .vt-card {
  background: #fff;
  border-color: rgba(26,40,39,.12);
  box-shadow: 0 12px 34px rgba(16,41,38,.1);
}

.vt-card:hover,
.vt-card:focus-within {
  --vt-lift: -6px;
  border-color: rgba(76,204,184,.65);
  box-shadow: 0 22px 58px rgba(0,0,0,.3);
}

.vt-card[data-tilt-card="true"]:hover,
.vt-card[data-tilt-card="true"]:focus-within {
  --vt-card-scale: 1.05;
}

.vt-card.is-playing,
.vt-card.is-playing:hover,
.vt-card.is-playing:focus-within {
  --vt-lift: 0px;
  --vt-card-scale: 1;
}

[data-theme="light"] .vt-card:hover,
[data-theme="light"] .vt-card:focus-within { box-shadow: 0 20px 48px rgba(16,41,38,.16); }

.vt-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #8e9693;
  transform-style: preserve-3d;
}

.vt-card[data-tilt-card="true"] .vt-card__media {
  overflow: hidden;
}

.vt-card:not(.is-playing) .vt-card__media,
.vt-card:not(.is-playing) .vt-card__body {
  pointer-events: none;
}

.vt-card__cover {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--vt-thumb, #8e9693);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
}

[data-theme="light"] .vt-card__cover {
  background: var(--vt-thumb, #a0a7a4);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.vt-card:hover .vt-card__cover,
.vt-card:focus-within .vt-card__cover { transform: scale(1.08); filter: saturate(1.08); }

.vt-card__ghost {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 900;
  font-style: italic;
  line-height: .82;
  letter-spacing: -.02em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform-style: preserve-3d;
  transition: opacity .5s ease, transform .5s ease;
}

.vt-card__ghost--top {
  top: 28px;
  font-size: 56px;
  transform: translate3d(0, -18px, 42px);
}

.vt-card__ghost--bottom {
  right: 14px;
  bottom: 130px;
  text-align: right;
  font-size: 44px;
  transform: translate3d(0, 18px, 38px);
}

.vt-card[data-tilt-card="true"]:hover .vt-card__ghost,
.vt-card[data-tilt-card="true"]:focus-within .vt-card__ghost {
  opacity: .08;
  transform: translate3d(0, 0, 75px);
}

.vt-card[data-tilt-card="true"].is-playing:hover .vt-card__ghost,
.vt-card[data-tilt-card="true"].is-playing:focus-within .vt-card__ghost,
.vt-card.is-playing .vt-card__ghost {
  opacity: 0;
  transform: none;
}

[data-theme="light"] .vt-card__ghost {
  color: #102522;
}

.vt-card__scene {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform .18s ease, opacity .3s ease, filter .3s ease;
  will-change: transform;
}

.vt-card__scene::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  background: radial-gradient(circle at var(--vt-glare-x) var(--vt-glare-y), rgba(255,255,255,.2), transparent 30%);
  mix-blend-mode: screen;
  opacity: .42;
  transform: translateZ(110px);
}

.vt-card:not([data-tilt-card="true"]) .vt-card__scene {
  display: none;
}

.vt-card.is-playing:not(.is-video-paused) .vt-card__scene {
  opacity: 0;
  transform: rotateX(0deg) rotateY(0deg) scale(.98);
  filter: blur(6px);
}

.vt-card.is-playing.is-video-paused .vt-card__scene {
  opacity: 0;
  transform: none;
  filter: none;
}

.vt-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.1), transparent 34%),
    linear-gradient(180deg, rgba(10,22,21,.08), rgba(10,22,21,.42));
  pointer-events: none;
  transition: opacity var(--transition);
}

[data-theme="light"] .vt-card__media::after {
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.1), transparent 34%),
    linear-gradient(180deg, rgba(10,22,21,.04), rgba(10,22,21,.34));
}

.vt-card__iframe {
  position: absolute;
  z-index: 6;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  transform-origin: center;
  animation: vt-crt-on .72s cubic-bezier(.16,.86,.22,1) forwards;
}

.vt-card__iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vt-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.vt-card__tap {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  right: 0;
  bottom: 58px;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vt-card__tap:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -6px;
}

.vt-card.is-video-paused .vt-card__iframe {
  opacity: 1;
  transform: none;
  filter: saturate(.72) brightness(.68);
  animation: none;
}

.vt-card.is-crt-pausing .vt-card__iframe {
  animation: vt-crt-off .72s cubic-bezier(.16,.86,.22,1) forwards;
}

.vt-card.is-crt-pausing .vt-card__media,
.vt-card.is-pause-revealing .vt-card__media {
  background: #000;
}

.vt-card.is-pause-revealing .vt-card__iframe {
  opacity: 0;
  animation: none;
  filter: saturate(.72) brightness(.52);
  transition: opacity 2s ease, filter 2s ease;
}

.vt-card.is-pause-revealing.is-pause-visible .vt-card__iframe {
  opacity: 1;
  filter: saturate(.72) brightness(.68);
}

.vt-card__close {
  position: absolute;
  z-index: 10;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9,22,20,.82);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.vt-card__close:hover,
.vt-card__close:focus-visible {
  transform: scale(1.08);
  background: var(--teal);
  border-color: var(--teal);
  color: #102522;
  outline: none;
}

.vt-card.is-playing .vt-card__cover { opacity: 0; pointer-events: none; }
.vt-card.is-playing .vt-card__media::after { opacity: 0; }
.vt-card.is-video-revealing .vt-card__cover {
  opacity: 1;
  transition:
    opacity 5s ease,
    transform .45s ease,
    filter .45s ease;
}
.vt-card.is-video-revealing .vt-card__media::after {
  opacity: 1;
  transition: opacity 5s ease;
}
.vt-card.is-video-revealing.is-video-reveal-out .vt-card__cover,
.vt-card.is-video-revealing.is-video-reveal-out .vt-card__media::after {
  opacity: 0;
}
.vt-card__matrix-overlay {
  position: absolute;
  z-index: 8;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 1;
  border-radius: inherit;
  clip-path: inset(0 round 14px);
  mix-blend-mode: screen;
  filter: saturate(1.18);
  transform-origin: center;
  transition: opacity 5s ease, filter 5s ease;
}
[data-theme="light"] .vt-card__matrix-overlay {
  mix-blend-mode: normal;
}
.vt-card__matrix-overlay--hover {
  z-index: 2;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  opacity: 0;
  filter: saturate(1.35);
  clip-path: inset(6px round 14px);
  transform: scale(1.02);
  transition: opacity .24s ease, filter .24s ease, transform .24s ease;
}
.vt-card.is-video-paused .vt-card__matrix-overlay--hover {
  z-index: 7;
}
.vt-card__matrix-overlay--hover.is-visible {
  opacity: .78;
}
.vt-card__matrix-overlay--hover.is-leaving {
  opacity: 0;
  filter: saturate(1.8) blur(.4px);
  transform: scale(1.03);
  transition: opacity 2.5s ease, filter 2.5s ease, transform 2.5s ease;
}
[data-theme="light"] .vt-card__matrix-overlay--hover {
  mix-blend-mode: normal;
}
[data-theme="light"] .vt-card__matrix-overlay--hover.is-visible {
  opacity: .72;
}
.vt-card__matrix-overlay.is-fading {
  opacity: 0;
  filter: saturate(1.8) blur(.8px);
}
.vt-card.is-playing .vt-card__body {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.985);
  filter: blur(4px);
}

.vt-card.is-playing.is-video-paused .vt-card__body {
  z-index: 8;
  left: 16px;
  right: 16px;
  top: 50%;
  bottom: auto;
  opacity: 1;
  pointer-events: none;
  transform: translate3d(0, -50%, 0);
  filter: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: default;
  background: transparent;
}

.vt-card__body {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  top: 50%;
  bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform-style: preserve-3d;
  transform: translate3d(0, -50%, 105px);
  will-change: transform;
  transition:
    opacity .28s ease,
    transform .34s ease,
    filter .34s ease,
    background var(--transition),
    border-color var(--transition);
}

.vt-card[data-tilt-card="true"]:hover .vt-card__body,
.vt-card[data-tilt-card="true"]:focus-within .vt-card__body {
  transform: translate3d(0, calc(-50% - 18px), 155px);
  box-shadow: none;
}

.vt-card[data-tilt-card="true"].is-playing.is-video-paused:hover .vt-card__body,
.vt-card[data-tilt-card="true"].is-playing.is-video-paused:focus-within .vt-card__body {
  transform: translate3d(0, -50%, 0);
}

[data-theme="light"] .vt-card__body {
  background: transparent;
}

.vt-card__badge {
  width: fit-content;
  padding: 5px 9px 4px;
  border-radius: 999px;
  background: rgba(76,204,184,.14);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

[data-theme="light"] .vt-card__badge {
  background: rgba(76,204,184,.16);
  color: var(--teal-dark);
  box-shadow: inset 0 0 0 1px rgba(76,204,184,.14);
}

.vt-card__student {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.vt-card__avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  color: var(--teal-dark);
  box-shadow: 0 0 0 6px rgba(255,255,255,.16), 0 12px 26px rgba(0,0,0,.22);
}

.vt-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vt-card__identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.vt-card__name {
  margin: 0;
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

[data-theme="light"] .vt-card__name { color: #fff; }
[data-theme="light"] .vt-card__name,
[data-theme="light"] .vt-card__formation,
[data-theme="light"] .vt-card__quote {
  text-shadow: 0 2px 18px rgba(0,0,0,.38);
}

.vt-card__formation {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0,0,0,.48);
}

[data-theme="light"] .vt-card__formation { color: var(--teal); }

.vt-card__quote {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 13px;
  line-height: 1.55;
}

[data-theme="light"] .vt-card__quote { color: rgba(255,255,255,.78); }

.vt-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vt-card__meta span {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.vt-card__meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes vt-crt-on {
  0% {
    opacity: 0;
    transform: scaleX(.84) scaleY(.028);
    filter: brightness(2.9) blur(3.4px);
  }
  34% {
    opacity: 1;
    transform: scaleX(1.06) scaleY(.08);
    filter: brightness(2.2) blur(1.5px);
  }
  68% {
    opacity: 1;
    transform: scaleX(.985) scaleY(1.035);
    filter: brightness(1.28) blur(.4px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes vt-crt-off {
  0% {
    opacity: 1;
    transform: none;
    filter: none;
  }
  34% {
    opacity: 1;
    transform: scaleX(1.04) scaleY(.9);
    filter: brightness(1.35) blur(.35px);
  }
  68% {
    opacity: 1;
    transform: scaleX(1.08) scaleY(.075);
    filter: brightness(2.1) blur(1.5px);
  }
  100% {
    opacity: 0;
    transform: scaleX(.82) scaleY(.026);
    filter: brightness(2.8) blur(3.2px);
  }
}

.vt-controls {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.vt-toggle {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(76,204,184,.38);
  border-radius: 999px;
  background: rgba(76,204,184,.1);
  color: var(--teal);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

[data-theme="light"] .vt-toggle {
  background: #fff;
  border-color: rgba(76,204,184,.34);
  color: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(16,41,38,.08);
}

.vt-toggle:hover,
.vt-toggle:focus-visible {
  border-color: var(--teal);
  background: var(--teal);
  color: #102522;
  outline: none;
  transform: translateY(-2px);
}

.vt-toggle__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: currentColor;
}

.vt-toggle__icon svg { color: #102522; }
.vt-toggle__icon--play { display: none; }
.vt-carousel.is-paused .vt-toggle__icon--pause { display: none; }
.vt-carousel.is-paused .vt-toggle__icon--play { display: inline-flex; }

[data-theme="light"] .vt-toggle {
  background: rgba(76,204,184,.13);
  border-color: rgba(76,204,184,.42);
}

@media (prefers-reduced-motion: reduce) {
  .vt-track { flex-wrap: wrap; width: 100%; }
}

@media (max-width: 640px) {
  .vt-carousel {
    --vt-card-width: min(76vw, 300px);
    --vt-card-height: min(135vw, 533px);
    --vt-card-gap: 18px;
    --vt-fade-size: 56px;
  }
}


/* ═══════════════════════════════════════
   LIGHT MODE — section overrides
═══════════════════════════════════════ */
[data-theme="light"] .faq { background: #F2F8F7; }
[data-theme="light"] .faq-question { color: var(--text-body); }
[data-theme="light"] .faq-question:hover { color: var(--teal-dark); }
[data-theme="light"] .faq-icon { border-color: rgba(26,40,39,.2); color: rgba(26,40,39,.4); }
[data-theme="light"] .faq-item { border-color: var(--border-light); }
[data-theme="light"] .faq-item:first-child { border-color: var(--border-light); }
[data-theme="light"] .faq-answer__inner { color: var(--muted-on-light); }

[data-theme="light"] .immersion__right { background: #E8F3F1; }
[data-theme="light"] .immersion__right-title { color: var(--text-body); }
[data-theme="light"] .immersion__right-sub { color: var(--muted-on-light); }
[data-theme="light"] .form-input { background: #fff; border-color: var(--border-light); color: var(--text-body); }
[data-theme="light"] .form-input::placeholder { color: rgba(26,40,39,.35); }
[data-theme="light"] .form-input:focus { border-color: var(--teal); background: #fff; }

[data-theme="light"] .alternance { background: #F2F8F7; }
[data-theme="light"] .alternance .section-head__title { color: var(--text-body); }
[data-theme="light"] .alt-card { background: #fff; border: 1px solid var(--border-light); }
[data-theme="light"] .alt-card:hover { background: #F7FAFA; }
[data-theme="light"] .alt-card__title { color: var(--text-body); }
[data-theme="light"] .alt-card__body { color: var(--muted-on-light); }
[data-theme="light"] .alt-grid { background: var(--border-light); }

[data-theme="light"] .footer { background: #1A2827; }
[data-theme="light"] .footer-cta { background: var(--teal); }

[data-theme="light"] .modal { background: #fff; border-color: var(--border-light); }
[data-theme="light"] .modal__title { color: var(--text-body); }
[data-theme="light"] .modal__sub { color: var(--muted-on-light); }
[data-theme="light"] .modal__close { background: rgba(0,0,0,.04); border-color: var(--border-light); color: var(--muted-on-light); }
[data-theme="light"] .modal-overlay { background: rgba(0,0,0,.4); }

[data-theme="light"] .stat-item__num { color: var(--stats-num-color); }
.faq { background: var(--dark); padding: 100px 0; }
.faq .section-head__title, .faq .section-head__eyebrow { color: inherit; }
.faq .section-head__eyebrow { color: var(--teal); }
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border-dark);
}
.faq-item:first-child { border-top: 1px solid var(--border-dark); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; cursor: pointer; gap: 24px; background: none; border: none; width: 100%; text-align: left;
  font-family: 'Josefin Sans', sans-serif; font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: -.01em;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--transition); color: rgba(255,255,255,.5);
}
.faq-item.open .faq-icon { border-color: var(--teal); background: var(--teal); color: var(--black); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.faq-answer__inner { padding: 0 0 28px; color: var(--muted-dark); font-size: 15px; line-height: 1.8; max-width: 640px; }
.faq-answer__inner a { color: var(--teal); font-weight: 600; }


/* ═══════════════════════════════════════
   IMMERSION
═══════════════════════════════════════ */
.immersion { background: var(--black); padding: 0; position: relative; overflow: hidden; }
.immersion__inner {
  display: grid; grid-template-columns: minmax(340px, 1fr) 3fr; min-height: 600px;
}
.immersion__left {
  background: var(--teal); padding: 72px 48px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.immersion__left-decor {
  position: absolute; bottom: -40px; right: -40px;
  font-family: 'Josefin Sans', sans-serif; font-size: 220px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,.1);
  line-height: 1; user-select: none; pointer-events: none;
}
.immersion__tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(0,0,0,.5); margin-bottom: 20px; }
.immersion__title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(30px, 2.4vw, 46px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; color: var(--black); line-height: 1.05; margin-bottom: 20px; }
.immersion__body { font-size: 16px; color: rgba(0,0,0,.65); line-height: 1.75; margin-bottom: 36px; max-width: 360px; }
.immersion__steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.immersion__step { display: flex; align-items: flex-start; gap: 14px; }
.immersion__step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center;
  font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--black); flex-shrink: 0; margin-top: 2px;
}
.immersion__step-text { font-size: 14px; font-weight: 600; color: rgba(0,0,0,.75); line-height: 1.5; }

.immersion__right {
  background: var(--dark-2); padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.immersion__media {
  min-height: 600px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--dark-2);
}
.immersion__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center;
}
.immersion__right-eyebrow { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.immersion__right-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(28px, 3vw, 44px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.immersion__right-sub { color: var(--muted-dark); font-size: 15px; line-height: 1.75; margin-bottom: 36px; }
.immersion__form { display: flex; flex-direction: column; gap: 12px; }
.form-input {
  padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--border-dark);
  background: rgba(255,255,255,.04); font-family: 'Inter', sans-serif; font-size: 15px;
  color: #fff; transition: border-color var(--transition), background var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus { outline: none; border-color: var(--teal); background: rgba(76,204,184,.04); }
.form-select {
  padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--border-dark);
  background: rgba(255,255,255,.04); font-family: 'Inter', sans-serif; font-size: 15px;
  color: rgba(255,255,255,.6); cursor: pointer; appearance: none;
}
.form-select option { background: var(--dark); color: #fff; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-legal { font-size: 12px; color: rgba(255,255,255,.3); text-align: center; margin-top: 8px; }


/* ═══════════════════════════════════════
   TÉMOIGNAGES
═══════════════════════════════════════ */
.testimonials { background: var(--light); padding: 100px 0; }
.testimonials .section-head__title, .testimonials .section-head__eyebrow { color: var(--text-light); }
.testimonials .section-head__eyebrow { color: var(--teal-dark); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-light); }
.testi-card {
  background: #fff; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card__stars { color: var(--amber); font-size: 16px; letter-spacing: 3px; }
.testi-card__quote { font-size: 16px; line-height: 1.75; color: var(--text-light); flex: 1; }
.testi-card__quote::before { content: open-quote; font-family: Georgia, serif; font-size: 48px; line-height: 0; color: var(--teal); vertical-align: -20px; margin-right: 4px; }
.testi-card__author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.testi-card__avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 16px; color: var(--black); flex-shrink: 0;
}
.testi-card__name { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--text-light); }
.testi-card__formation { font-size: 12px; color: var(--muted-light); margin-top: 2px; }


/* ═══════════════════════════════════════
   ALTERNANCE
═══════════════════════════════════════ */
.alternance { background: var(--dark); padding: 100px 0; }
.alternance .section-head__title { color: #fff; }
.alternance .section-head__eyebrow { color: var(--teal); }
.alt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-dark); margin-bottom: 2px; }
.alt-card {
  background: var(--dark-2); padding: 48px 40px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.alt-card:hover { background: #1F2E2D; }
.alt-card__num {
  font-family: 'Josefin Sans', sans-serif; font-size: 80px; font-weight: 700;
  color: rgba(76,204,184,.22); line-height: 1;
  position: absolute; top: 24px; right: 28px; pointer-events: none; user-select: none;
  letter-spacing: -.05em;
}
.alt-card__icon { font-size: 32px; }
.alt-card__title { font-family: 'Josefin Sans', sans-serif; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.01em; line-height: 1.2; }
.alt-card__body { font-size: 14px; color: var(--muted-dark); line-height: 1.7; }


/* ═══════════════════════════════════════
   FOOTER CTA
═══════════════════════════════════════ */
.footer-cta {
  background: var(--teal); padding: 80px 0;
  position: relative; overflow: hidden;
}
.footer-cta__decor {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  font-family: 'Josefin Sans', sans-serif; font-size: 280px; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,.07);
  pointer-events: none; user-select: none; line-height: 1;
}
.footer-cta__inner { text-align: center; position: relative; z-index: 1; }
.footer-cta__eyebrow { color: rgba(0,0,0,.5); margin-bottom: 16px; }
.footer-cta__title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(36px, 5vw, 72px); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; color: var(--black); line-height: 1.05; margin-bottom: 12px; }
.footer-cta__sub { font-size: 17px; color: rgba(0,0,0,.6); margin-bottom: 36px; }


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background: var(--black); padding: 80px 0 40px; border-top: 1px solid var(--border-dark); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer__logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--teal); display: flex; align-items: center; justify-content: center; color: var(--black); font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 16px; }
.footer__logo-text { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.footer__desc { font-size: 14px; color: var(--muted-dark); line-height: 1.75; margin-bottom: 24px; max-width: 320px; }
.footer__social { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-dark); font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 700;
  transition: all var(--transition);
}
.social-link:hover { background: var(--teal); color: var(--black); border-color: var(--teal); }
.footer__col-title { font-family: 'Josefin Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links li { margin: 0; padding: 0; }
.footer__links a,
.footer__links span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted-dark);
}
.footer__links a { transition: color var(--transition); }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--border-dark); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__bottom-text { font-size: 13px; color: rgba(255,255,255,.25); }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { font-size: 13px; color: rgba(255,255,255,.25); transition: color var(--transition); }
.footer__bottom-links a:hover { color: rgba(255,255,255,.6); }
html[data-theme] body[data-screen-label] .footer {
  color: #fff;
}
html[data-theme] body[data-screen-label] .footer__desc,
html[data-theme] body[data-screen-label] .footer__bottom-text {
  color: rgba(255,255,255,.64);
}
html[data-theme] body[data-screen-label] .footer__links a,
html[data-theme] body[data-screen-label] .footer__bottom-links a,
html[data-theme] body[data-screen-label] .social-link {
  color: rgba(255,255,255,.74);
}
html[data-theme] body[data-screen-label] .footer__links a:hover,
html[data-theme] body[data-screen-label] .footer__bottom-links a:hover {
  color: #fff;
}
html[data-theme] body[data-screen-label] .social-link:hover {
  color: var(--black);
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .immersion__inner { grid-template-columns: 1fr; }
  .immersion__media,
  .immersion__media img {
    min-height: 420px;
  }
}
@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .navbar__actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero__badges { gap: 12px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,.12); }
  .stat-item:nth-child(2n) { border-left: 1px solid rgba(0,0,0,.12); }
  .formations-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .alt-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .immersion__left, .immersion__right { padding: 56px 32px; }
  .immersion__media,
  .immersion__media img {
    min-height: 320px;
  }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .modal { padding: 32px 24px; }
  .modal .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero--claude-home .hero__left { padding: 72px 24px 48px; }
  .hero--claude-home .hero__title { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
