/* ── Auto-École Beausite — Style Premium 2026 ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --red: #E8302A;
  --red-dark: #C41F1A;
  --red-light: #FF4D47;
  --orange: #FF6B35;
  --gold: #FFB800;
  --dark: #1A1A2E;
  --body: #4A4A6A;
  --light: #F8F9FC;
  --white: #FFFFFF;
  --border: #E8EAF0;
  --shadow-red: rgba(232,48,42,.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --grad: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  --grad-soft: linear-gradient(135deg, #fff5f5 0%, #fff8f4 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(232,48,42,.08); color: var(--red);
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: block; }
.section-title {
  font-family: var(--font-head); font-size: clamp(1.75rem,3.5vw,2.6rem);
  font-weight: 800; color: var(--dark); line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.section-sub { font-size: 1rem; color: var(--body); line-height: 1.7; max-width: 560px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  transition: all .25s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: var(--white);
  box-shadow: 0 8px 24px var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--shadow-red); }
.btn-outline {
  border: 2px solid var(--red); color: var(--red); background: transparent;
}
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--red); font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,48,42,.08);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.nav-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--dark); line-height: 1.1; }
.nav-logo-text span { color: var(--red); display: block; font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .88rem; font-weight: 500; color: var(--body);
  transition: all .2s;
}
.nav-links a:hover { color: var(--red); background: rgba(232,48,42,.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--dark); }
.nav-phone svg { color: var(--red); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #fff5f5 0%, #fff8f4 50%, #fff 100%);
  padding-top: 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 700px; height: 700px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,48,42,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 80px 0;
}
.hero-tag { margin-bottom: 20px; }
.hero-title {
  font-family: var(--font-head); font-size: clamp(2.2rem,4.5vw,3.6rem);
  font-weight: 900; color: var(--dark); line-height: 1.08; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--red); }
.hero-sub { font-size: 1.05rem; color: var(--body); line-height: 1.75; margin-bottom: 36px; max-width: 460px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 50px;
  background: var(--white); border: 1.5px solid var(--border);
  font-size: .8rem; font-weight: 600; color: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.hero-badge svg { color: var(--red); flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-stars { display: flex; gap: 3px; }
.hero-star { color: #FFB800; font-size: 1rem; }
.hero-trust-text { font-size: .83rem; color: var(--body); }
.hero-trust-text strong { color: var(--dark); }
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-card-main {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 24px 80px rgba(232,48,42,.12), 0 8px 24px rgba(0,0,0,.06);
  padding: 32px; text-align: center; position: relative; z-index: 2;
  width: 100%; max-width: 380px;
}
.hero-mascot { width: 180px; height: 180px; margin: 0 auto 20px; object-fit: contain; }
.hero-card-main h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.hero-card-main p { font-size: .85rem; color: var(--body); }
.hero-float {
  position: absolute; background: var(--white); border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,.1); padding: 12px 18px;
  display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600;
  white-space: nowrap; z-index: 4;
}
.hero-float-1 { bottom: 28%; left: -12%; }
.hero-float-2 { bottom: 6%; right: -10%; }
.hero-float-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: white; font-size: .9rem; flex-shrink: 0; }

/* ── STATS ── */
.stats { background: var(--grad); }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.stat-item {
  text-align: center; padding: 40px 20px; color: var(--white);
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: .82rem; opacity: .85; font-weight: 500; letter-spacing: .04em; }

/* ── FORMATIONS ── */
.formations { background: var(--light); }
.formations-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.formation-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1.5px solid var(--border); position: relative; overflow: hidden;
  transition: all .3s; display: flex; flex-direction: column;
}
.formation-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px var(--shadow-red); border-color: rgba(232,48,42,.2); }
.formation-card.featured { border-color: var(--red); box-shadow: 0 8px 40px var(--shadow-red); }
.formation-featured-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--grad); color: white;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}
.formation-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1.5px solid rgba(232,48,42,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.formation-card.featured .formation-icon { background: var(--grad); }
.formation-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.formation-price {
  font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--red);
  line-height: 1; margin: 16px 0 4px;
}
.formation-price-sub { font-size: .78rem; color: var(--body); margin-bottom: 20px; }
.formation-includes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; flex: 1; }
.formation-include {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--body);
}
.formation-include svg { color: var(--red); flex-shrink: 0; }
.formation-payment {
  background: var(--light); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 24px;
  font-size: .78rem; color: var(--body); line-height: 1.6;
}
.formation-payment strong { color: var(--dark); }

/* ── TARIFS ── */
.tarifs-table { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }
.tarifs-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 18px 28px; border-bottom: 1px solid var(--border);
  align-items: center; transition: background .2s;
}
.tarifs-row:hover { background: var(--light); }
.tarifs-row:last-child { border-bottom: none; }
.tarifs-row.header { background: var(--dark); color: white; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.tarifs-label { font-size: .92rem; color: var(--body); }
.tarifs-price { font-family: var(--font-head); font-weight: 700; color: var(--red); white-space: nowrap; }
.tarifs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* ── AAC ── */
.aac { background: var(--light); }
.aac-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.aac-steps { display: flex; flex-direction: column; gap: 20px; }
.aac-step {
  display: flex; gap: 16px; padding: 20px;
  background: var(--white); border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); transition: all .3s;
}
.aac-step:hover { border-color: rgba(232,48,42,.2); box-shadow: 0 4px 20px var(--shadow-red); }
.aac-step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad);
  color: white; font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.aac-step-title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.aac-step-desc { font-size: .83rem; color: var(--body); line-height: 1.6; }
.aac-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: 0 16px 56px rgba(0,0,0,.07); border: 1.5px solid var(--border);
}
.aac-card h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; }
.aac-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.aac-detail-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(232,48,42,.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.aac-detail-title { font-weight: 600; font-size: .9rem; margin-bottom: 3px; }
.aac-detail-desc { font-size: .82rem; color: var(--body); line-height: 1.55; }

/* ── PROCESSUS ── */
.processus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.processus-grid::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%);
  z-index: 0;
}
.process-card {
  text-align: center; position: relative; z-index: 1;
  background: var(--white); border-radius: var(--radius); padding: 28px 20px;
  border: 1.5px solid var(--border); transition: all .3s;
}
.process-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-red); }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad);
  color: white; font-family: var(--font-head); font-weight: 900; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  box-shadow: 0 4px 20px var(--shadow-red);
}
.process-title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.process-desc { font-size: .82rem; color: var(--body); line-height: 1.6; }

/* ── DISPONIBILITES ── */
.dispos { background: var(--dark); color: var(--white); }
.dispos .section-title { color: var(--white); }
.dispos .section-sub { color: rgba(255,255,255,.6); }
.dispos .tag { background: rgba(232,48,42,.2); color: #FF8080; }
.dispos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dispo-card {
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; transition: all .3s;
}
.dispo-card:hover { background: rgba(255,255,255,.08); border-color: rgba(232,48,42,.4); }
.dispo-card.available { border-color: rgba(72,199,142,.3); }
.dispo-card.soon { border-color: rgba(255,184,0,.3); }
.dispo-date { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.dispo-time { font-size: .82rem; color: rgba(255,255,255,.6); }
.dispo-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 50px; font-size: .72rem; font-weight: 600;
  width: fit-content;
}
.dispo-badge.green { background: rgba(72,199,142,.15); color: #48C78E; }
.dispo-badge.yellow { background: rgba(255,184,0,.15); color: #FFB800; }
.dispo-note {
  margin-top: 32px; padding: 20px 28px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); border-left: 3px solid var(--red);
  font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.6;
}
.dispo-note strong { color: var(--white); }

/* ── AVANTAGES ── */
.avantages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.avantage-card {
  padding: 28px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius); transition: all .3s;
}
.avantage-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-red); border-color: rgba(232,48,42,.15); }
.avantage-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.avantage-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.avantage-desc { font-size: .85rem; color: var(--body); line-height: 1.65; }

/* ── CODE ── */
.code-section { background: var(--grad); color: white; }
.code-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.code-section .section-title { color: white; }
.code-section .section-sub { color: rgba(255,255,255,.8); }
.code-section .tag { background: rgba(255,255,255,.15); color: white; }
.code-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.code-feature {
  background: rgba(255,255,255,.1); border-radius: var(--radius-sm);
  padding: 18px; border: 1px solid rgba(255,255,255,.15);
}
.code-feature-title { font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.code-feature-desc { font-size: .8rem; opacity: .8; }

/* ── TEMOIGNAGES ── */
.temoignages { background: var(--light); }
.temoignages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.temoignage-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1.5px solid var(--border); transition: all .3s;
}
.temoignage-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); transform: translateY(-3px); }
.temoignage-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.temoignage-text { font-size: .9rem; color: var(--body); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.temoignage-author { display: flex; align-items: center; gap: 12px; }
.temoignage-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: white;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.temoignage-name { font-weight: 700; font-size: .88rem; }
.temoignage-date { font-size: .75rem; color: var(--body); }
.temoignage-source { margin-left: auto; font-size: .7rem; color: var(--body); display: flex; align-items: center; gap: 4px; }
.avis-certified {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: rgba(5,150,105,.06); border: 1px solid rgba(5,150,105,.25);
  border-radius: 50px; padding: 10px 22px; margin: 0 auto 40px;
  width: fit-content; font-size: .85rem; color: #065F46;
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: .92rem;
  gap: 16px; transition: color .2s; user-select: none;
}
.faq-q:hover { color: var(--red); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--red); transition: all .3s;
}
.faq-item.open .faq-icon { background: var(--red); color: white; transform: rotate(45deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .35s; font-size: .88rem; color: var(--body); line-height: 1.7; }
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 300px; }

/* ── PREINSCRIPTION ── */
.preinscription { background: var(--light); }
.preinscription-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.preinscription-info { position: sticky; top: 96px; }
.preinscription-info h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.preinscription-info p { font-size: .88rem; color: var(--body); line-height: 1.7; margin-bottom: 24px; }
.preinscription-perks { display: flex; flex-direction: column; gap: 12px; }
.preinscription-perk { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.preinscription-perk svg { color: var(--red); flex-shrink: 0; margin-top: 1px; }
.form-box { background: var(--white); border-radius: var(--radius); padding: 40px; border: 1.5px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,.05); }

/* Steps */
.form-steps { display: flex; gap: 8px; margin-bottom: 36px; overflow: hidden; border-radius: 50px; background: var(--light); padding: 4px; }
.form-step-btn {
  flex: 1; padding: 10px 8px; border-radius: 50px; font-size: .75rem; font-weight: 600; text-align: center;
  color: var(--body); transition: all .3s; cursor: pointer;
}
.form-step-btn.active { background: var(--grad); color: white; box-shadow: 0 4px 16px var(--shadow-red); }
.form-step-btn.done { background: rgba(232,48,42,.08); color: var(--red); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 24px; }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--dark); }
.form-label .req { color: var(--red); }
.form-control {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9rem; color: var(--dark);
  transition: border-color .2s, box-shadow .2s; background: var(--white); width: 100%;
}
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,48,42,.08); }
select.form-control { cursor: pointer; }
.form-radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.form-radio {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 50px;
  cursor: pointer; font-size: .83rem; font-weight: 500; transition: all .2s;
  user-select: none;
}
.form-radio input { display: none; }
.form-radio:has(input:checked) { border-color: var(--red); background: rgba(232,48,42,.06); color: var(--red); }
.form-check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-check {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; font-size: .83rem; transition: all .2s; user-select: none;
}
.form-check:has(input:checked) { border-color: var(--red); background: rgba(232,48,42,.06); }
.form-check input { accent-color: var(--red); }
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-sm); padding: 28px;
  text-align: center; cursor: pointer; transition: all .3s;
  background: var(--light);
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--red); background: rgba(232,48,42,.03); }
.upload-zone-icon { font-size: 2rem; margin-bottom: 8px; }
.upload-zone p { font-size: .85rem; color: var(--body); margin-bottom: 8px; }
.upload-zone span { font-size: .75rem; color: var(--body); opacity: .7; }
.upload-files { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.upload-file-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: white; border: 1px solid var(--border); border-radius: 8px; font-size: .8rem;
}
.upload-file-item svg { color: var(--red); flex-shrink: 0; }
.form-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.form-success {
  display: none; text-align: center; padding: 48px 24px;
}
.form-success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.form-success p { font-size: .9rem; color: var(--body); line-height: 1.7; }

/* ── CONTACT ── */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--body); margin-bottom: 4px; }
.contact-detail-value { font-weight: 600; font-size: .95rem; }
.contact-detail-sub { font-size: .82rem; color: var(--body); margin-top: 2px; }
.contact-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.map-container {
  border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border);
  height: 220px; background: var(--light); margin-top: 8px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }
.contact-form { background: var(--light); border-radius: var(--radius); padding: 36px; border: 1.5px solid var(--border); }
.contact-form h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 24px; }
.form-success-inline { display: none; text-align: center; padding: 24px; }
.form-success-inline.show { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin: 16px 0 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: all .2s;
}
.footer-social:hover { background: var(--red); border-color: var(--red); color: white; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: white; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .8rem;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-float { display: none; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .formations-grid { grid-template-columns: repeat(2,1fr); }
  .processus-grid { grid-template-columns: repeat(2,1fr); }
  .processus-grid::before { display: none; }
  .aac-inner { grid-template-columns: 1fr; }
  .code-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .preinscription-inner { grid-template-columns: 1fr; }
  .preinscription-info { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .formations-grid { grid-template-columns: 1fr; }
  .avantages-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .dispos-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; }
  .form-check-group { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-box { padding: 24px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .contact-ctas { flex-direction: column; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease forwards; }
.fade-up-1 { animation-delay: .1s; opacity: 0; }
.fade-up-2 { animation-delay: .2s; opacity: 0; }
.fade-up-3 { animation-delay: .3s; opacity: 0; }
.fade-up-4 { animation-delay: .4s; opacity: 0; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
