/* ============================================================
   ASB Auto-Moto École — Design System
   Direction : Premium / Confiance — Noir & Jaune signalétique
   ============================================================ */

:root {
  /* --- Couleurs --- */
  --bg:        #0B0B0C;
  --bg-2:      #111113;
  --bg-3:      #16161A;
  --card:      #141417;
  --card-2:    #1A1A1F;
  --line:      rgba(255,255,255,0.09);
  --line-2:    rgba(255,255,255,0.16);
  --text:      #F3F2EC;
  --text-2:    #B6B6AF;
  --muted:     #8A8A84;

  /* accent (tweakable) */
  --accent:        #FFD60A;
  --accent-deep:   #E8B800;
  --accent-soft:   rgba(255,214,10,0.14);
  --on-accent:     #0B0B0C;

  /* --- Typo (tweakable) --- */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Hanken Grotesk', sans-serif;

  /* --- Rayons --- */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* --- Layout --- */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --nav-h: 76px;

  /* --- Ombres --- */
  --shadow: 0 24px 60px -24px rgba(0,0,0,0.7);
  --shadow-accent: 0 18px 50px -16px rgba(255,214,10,0.35);
}

/* corner style tweak */
.sharp {
  --r-sm: 0px; --r: 0px; --r-lg: 0px; --r-pill: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--on-accent); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-size: clamp(46px, 8.2vw, 116px);
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section-title {
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 56ch;
}
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section {
  padding-block: clamp(72px, 11vw, 150px);
  position: relative;
}
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, box-shadow .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: #FFE14A;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark {
  background: var(--card-2);
  color: var(--text);
  border-color: var(--line);
}
.btn--dark:hover { border-color: var(--line-2); transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translate(3px,-3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,12,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 15px;
  border-radius: var(--r-pill);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  position: relative;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: auto 6px 5px 6px;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--on-accent) 0 5px, transparent 5px 10px);
  opacity: .65;
}
.logo-text { font-size: 19px; line-height: 1; }
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(36px, 7vw, 84px));
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; color: var(--text-2); font-size: 15px;
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }

.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.hero-visual image-slot { width: 100%; height: 100%; }
.hero-badge {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 3;
  background: rgba(11,11,12,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
}
.hero-badge .big {
  font-family: var(--font-display);
  font-weight: 800; font-size: 30px; line-height: 1;
  color: var(--accent);
}
.hero-badge small { display:block; color: var(--text-2); font-size: 12.5px; line-height:1.3; max-width: 16ch;}

/* ---------- Marquee / labels ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scrollx 32s linear infinite;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; color: var(--text-2);
  white-space: nowrap;
}
.marquee-item svg { color: var(--accent); flex: none; }
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.stat.reveal-in::before { transform: scaleY(1); }
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.stat .num .suffix { color: var(--accent); }
.stat .lbl { margin-top: 12px; color: var(--text-2); font-size: 15px; line-height: 1.35; }

/* ---------- Section heading block ---------- */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}
.head-row .lead { margin-top: 18px; }

/* ---------- Formations cards ---------- */
.formations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.fcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  background: var(--card);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.fcard:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  background: var(--card-2);
}
.fcard-tag {
  font-family: var(--font-body);
  font-weight: 700; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.fcard-ico {
  width: 56px; height: 56px;
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.fcard h3 { font-size: 27px; margin-bottom: 10px; }
.fcard p { color: var(--text-2); font-size: 15.5px; margin: 0 0 20px; flex: 1; }
.fcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.fcard-price { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.fcard-price small { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--muted); }
.fcard-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 14.5px; color: var(--accent);
}
.fcard-num {
  position: absolute; top: 28px; right: 32px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; color: var(--muted);
}

/* ---------- Split / why ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.feat-list { display: grid; gap: 18px; margin-top: 30px; }
.feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.feat-ico {
  width: 40px; height: 40px; flex: none;
  border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
}
.feat h4 { font-size: 18px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0;}
.feat p { margin: 0; color: var(--text-2); font-size: 15px; }
.split-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5/6;
  border: 1px solid var(--line);
}
.split-visual image-slot { width: 100%; height: 100%; }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
.review {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  background: var(--card);
  display: flex; flex-direction: column;
}
.review .stars { margin-bottom: 16px; }
.review p { font-size: 16.5px; color: var(--text); line-height: 1.5; margin: 0 0 22px; flex: 1; }
.review-who { display: flex; align-items: center; gap: 13px; }
.review-av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.review-who b { display: block; font-size: 15px; }
.review-who span { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(255,214,10,0.16), transparent 55%),
    var(--bg-3);
  border: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px);
}
.cta-band h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; max-width: 18ch; }
.cta-band .lead { margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact / footer ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  background: var(--card);
}
.contact-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico {
  width: 42px; height: 42px; flex: none;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--accent);
}
.contact-row b { display:block; font-size: 16px; margin-bottom: 2px;}
.contact-row span { color: var(--text-2); font-size: 15px; }
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 340px;
  position: relative;
  background: var(--bg-3);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.hours-list { display: grid; gap: 0; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row.today { color: var(--accent); font-weight: 700; }
.hours-row span:last-child { color: var(--text-2); }
.hours-row.today span:last-child { color: var(--accent); }

footer.site {
  border-top: 1px solid var(--line);
  padding-block: 64px 36px;
  background: var(--bg-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-col h5 {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 18px;
}
.foot-col a { display: block; color: var(--text-2); padding: 6px 0; font-size: 15px; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-about p { color: var(--text-2); font-size: 15px; max-width: 34ch; margin: 18px 0 22px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--text-2); transition: all .2s;
}
.social:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 12px;
}

/* ---------- Page hero (sous-pages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(50px, 8vw, 96px));
  padding-bottom: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-glow { top: -40%; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 20px; display:flex; gap:8px; align-items:center;}
.crumbs a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(44px, 7vw, 92px); }
.page-hero .lead { margin-top: 22px; }

/* ---------- Pills / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.chip svg { color: var(--accent); }

/* ---------- Steps (inscription) ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; }
.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  background: var(--card);
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--line-2); transform: translateX(4px); }
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 42px; line-height: 1; color: var(--accent);
}
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* ---------- Pricing table ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,22px); }
.price {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  background: var(--card);
  display: flex; flex-direction: column;
  position: relative;
}
.price.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,214,10,0.06), var(--card)); }
.price-flag {
  position: absolute; top: -12px; left: 34px;
  background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.price h3 { font-size: 22px; margin-bottom: 6px; }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: 50px; line-height: 1; margin: 14px 0 4px; }
.price .amt small { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.price li svg { color: var(--accent); flex: none; margin-top: 3px; }
.price .btn { width: 100%; margin-top: auto; }

/* ---------- Form ---------- */
.form-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px); background: var(--card);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 14px 16px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.qa {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); overflow: hidden;
}
.qa summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px; font-family: var(--font-display); font-weight: 700; font-size: 19px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { color: var(--accent); transition: transform .25s; flex: none; font-size: 24px; line-height: 1; }
.qa[open] summary .pm { transform: rotate(45deg); }
.qa .qa-body { padding: 0 26px 24px; color: var(--text-2); font-size: 16px; line-height: 1.6; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.reveal-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/11; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .formations { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,11,12,0.97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: 24px var(--gut);
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); }
.mobile-menu nav { display: grid; gap: 4px; margin-top: 30px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 30px; }
