
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg:#0b0c10; --bg2:#12131a; --bg3:#1a1b26; --surface:#1e2030;
  --border:rgba(255,255,255,0.07); --border2:rgba(255,255,255,0.12);
  --text:#e8e9f0; --text-muted:#7a7c96; --text-soft:#b0b2cc;
  --teal:#00e5c0; --teal-dim:rgba(0,229,192,0.12);
  --blue:#6e7bff; --blue-dim:rgba(110,123,255,0.12);
  --orange:#ff6b35; --orange-dim:rgba(255,107,53,0.12);
  --gold:#f5c842; --red:#ff4d6d; --red-dim:rgba(255,77,109,0.12);
  --green:#00e5c0; --font:'Space Grotesk',sans-serif; --mono:'Space Mono',monospace;
}
html { scroll-behavior:smooth; }
body { font-family:var(--font); background:var(--bg); color:var(--text); overflow-x:hidden; line-height:1.6; }

/* ── NAV ── */
nav { position:fixed; top:0; left:0; right:0; z-index:100; display:flex; align-items:center; justify-content:space-between; padding:1rem 3rem; background:rgba(11,12,16,0.85); backdrop-filter:blur(16px); border-bottom:1px solid var(--border); }
.logo { font-family:var(--mono); font-size:1.1rem; font-weight:700; color:var(--text); text-decoration:none; display:flex; align-items:center; gap:0.6rem; }
.nav-logo { flex-shrink:0; width:32px; height:32px; background:#fff; border-radius:8px; padding:.3rem; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,.25); }
.nav-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.logo-chip { background:var(--teal); color:var(--bg); font-size:0.6rem; font-weight:700; letter-spacing:0.1em; padding:0.2rem 0.5rem; border-radius:3px; }
.nav-links { display:flex; align-items:center; gap:2rem; list-style:none; }
.nav-links a { font-size:0.875rem; color:var(--text-muted); text-decoration:none; transition:color .2s; }
.nav-links a:hover { color:var(--text); }
.nav-cta { background:var(--teal)!important; color:var(--bg)!important; font-weight:600!important; padding:0.5rem 1.3rem; border-radius:6px; }
.nav-logo2 { display:none; flex-shrink:0; width:32px; height:32px; background:#fff; border-radius:8px; padding:.3rem; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,.25); }
.nav-logo2 img { max-width:100%; max-height:100%; object-fit:contain; }
.nav-toggle { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:40px; height:40px; background:transparent; border:1px solid var(--border2); border-radius:8px; cursor:pointer; padding:0; flex-shrink:0; transition:border-color .2s,background .2s; }
.nav-toggle:hover { border-color:var(--teal); }
.nav-toggle span { display:block; width:18px; height:2px; background:var(--text); border-radius:2px; transition:transform .25s ease,opacity .2s ease; }
.nav-toggle.active { background:var(--teal-dim); border-color:var(--teal); }
.nav-toggle.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity:0; }
.nav-toggle.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.nav-backdrop { position:fixed; inset:0; background:rgba(5,6,10,.6); backdrop-filter:blur(2px); z-index:98; opacity:0; pointer-events:none; transition:opacity .3s ease; }
.nav-backdrop.open { opacity:1; pointer-events:auto; }
body.nav-open { overflow:hidden; }

/* ── HERO ── */
.hero { min-height:100vh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:8rem 3rem 5rem; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:72px 72px; pointer-events:none; }
.orb { position:absolute; border-radius:50%; filter:blur(90px); pointer-events:none; }
.orb1 { width:500px; height:500px; background:rgba(0,229,192,.13); top:-120px; right:-60px; }
.orb2 { width:380px; height:380px; background:rgba(110,123,255,.1); bottom:-60px; left:200px; }
.hero-row { position:relative; z-index:1; display:grid; grid-template-columns:auto minmax(0,860px) auto; grid-template-areas:"left text right"; align-items:center; justify-content:center; gap:3rem; max-width:1200px; margin:0 auto; }
.hero-logo { grid-area:left; width:180px; height:180px; background:#fff; border-radius:18px; padding:1.65rem; display:flex; align-items:center; justify-content:center; box-shadow:0 14px 34px rgba(0,0,0,.28); align-self:start; margin-top:-7rem; opacity: 60%; }
.hero-logo-right { grid-area:right; }
.hero-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.hero-inner { grid-area:text; position:relative; z-index:1; max-width:860px; }

/* ── DISCREET SECTION CORNER LOGOS (reusable) ── */
.section-logo { position:absolute; top:6.5rem; width:70px; height:70px; background:#fff; border-radius:14px; padding:.65rem; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(0,0,0,.25); z-index:2; }
.section-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.section-logo-left { left:2rem; }
.section-logo-right { right:2rem; }
.eyebrow { font-family:var(--mono); font-size:.72rem; color:var(--teal); letter-spacing:.15em; text-transform:uppercase; display:flex; align-items:center; justify-content:center; gap:.6rem; margin-bottom:1.75rem; }
.eyebrow::before { content:''; width:28px; height:1px; background:var(--teal); }
.hero h1 { font-size:clamp(2.8rem,5vw,4.2rem); font-weight:700; line-height:1.06; letter-spacing:-.03em; }
.hero h1 .accent-teal { color:var(--teal); }
.hero h1 .accent-blue { color:var(--blue); }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; margin-top:2.5rem; }
.btn-primary { background:var(--teal); color:var(--bg); font-family:var(--font); font-size:.95rem; font-weight:600; padding:.85rem 2rem; border-radius:6px; border:none; text-decoration:none; cursor:pointer; transition:transform .15s,box-shadow .2s; display:inline-block; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,229,192,.3); }
.btn-outline { background:transparent; color:var(--text-soft); font-family:var(--font); font-size:.95rem; font-weight:500; padding:.85rem 2rem; border-radius:6px; border:1px solid var(--border2); text-decoration:none; cursor:pointer; transition:border-color .2s,color .2s,transform .15s; display:inline-block; }
.btn-outline:hover { border-color:var(--text-soft); color:var(--text); transform:translateY(-1px); }

/* ── SECTIONS ── */
section { padding:6rem 3rem; }
.s-label { font-family:var(--mono); font-size:.7rem; color:var(--teal); letter-spacing:.15em; text-transform:uppercase; margin-bottom:.9rem; display:flex; align-items:center; gap:.5rem; }
.s-label::after { content:''; flex:1; height:1px; background:var(--border); max-width:80px; }
.s-title { font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:700; letter-spacing:-.025em; line-height:1.15; color:var(--text); max-width:640px; }
.s-sub { font-size:1rem; font-weight:300; color:var(--text-soft); max-width:540px; margin-top:.9rem; line-height:1.8; }

/* ── ABOUT ── */
.about { background:var(--bg2); display:grid; grid-template-columns:1.1fr 1fr; gap:5rem; align-items:center; }
.about-pills { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:2.5rem; }
.pill { font-size:.82rem; color:var(--text-soft); padding:.4rem 1rem; border-radius:40px; border:1px solid var(--border2); display:flex; align-items:center; gap:.4rem; }
.pill-dot { width:6px; height:6px; border-radius:50%; }
.about-card { background:var(--bg3); border:1px solid var(--border); border-radius:14px; padding:2.5rem; position:relative; overflow:hidden; }
.about-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--blue)); }
.about-card-label { font-family:var(--mono); font-size:.7rem; color:var(--teal); letter-spacing:.12em; text-transform:uppercase; margin-bottom:1.25rem; }
.comp-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:.9rem; }
.comp-name { font-size:.88rem; color:var(--text-soft); }
.comp-bar-wrap { flex:1; margin:0 1rem; height:5px; background:rgba(255,255,255,.05); border-radius:5px; overflow:hidden; }
.comp-bar { height:100%; border-radius:5px; }
.comp-pct { font-family:var(--mono); font-size:.72rem; color:var(--text-muted); }

/* ── MODULES ── */
.modules-preview { background:var(--bg); }
.modules-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-top:3rem; }
.mod-card { background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:1.75rem; position:relative; overflow:hidden; transition:border-color .25s,transform .25s; }
.mod-card:hover { border-color:var(--border2); transform:translateY(-3px); }
.mod-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; border-radius:3px; }
.mc-teal::before { background:var(--teal); }
.mc-blue::before { background:var(--blue); }
.mc-orange::before { background:var(--orange); }
.mc-gold::before { background:var(--gold); }
.mc-purple::before { background:#a78bfa; }
.mc-pink::before { background:#f472b6; }
.mc-green::before { background:#4ade80; }
.mod-num { font-family:var(--mono); font-size:.65rem; color:var(--text-muted); letter-spacing:.12em; text-transform:uppercase; margin-bottom:.8rem; }
.mod-icon { font-size:1.5rem; margin-bottom:.75rem; }
.mod-name { font-size:.95rem; font-weight:600; color:var(--text); line-height:1.35; margin-bottom:.6rem; }
.mod-desc { font-size:.82rem; color:var(--text-muted); line-height:1.65; }
.mod-hours { margin-top:1.2rem; font-family:var(--mono); font-size:.75rem; color:var(--text-muted); }
.mod-hours strong { color:var(--teal); }

/* ── EQUIPE ── */
.equipe { background:var(--bg2); }
.equipe > .s-label { justify-content:center; }
.equipe > .s-label::after { display:none; }
.equipe > .s-title,
.equipe > .s-sub { text-align:center; margin-left:auto; margin-right:auto; }
.equipe > .s-sub { max-width:none; white-space:nowrap; }
.equipe-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; margin-top:3rem; }
.prof-card { background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:1.5rem 1rem; text-align:center; transition:transform .25s,border-color .25s; }
.prof-card:hover { transform:translateY(-3px); border-color:var(--border2); }
.prof-av { width:56px; height:56px; border-radius:50%; margin:0 auto .9rem; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1rem; color:var(--bg); }
.prof-name { font-size:.8rem; font-weight:600; color:var(--text); line-height:1.3; }
.prof-dept { font-size:.7rem; color:var(--text-muted); margin-top:.2rem; }
.prof-mod { font-size:.68rem; color:var(--text-muted); margin-top:.7rem; line-height:1.5; }

/* ── METHODOLOGIE ── */
.methodo { background:var(--bg); }
.methodo > .s-label { justify-content:center; }
.methodo > .s-label::after { display:none; }
.methodo > .s-title,
.methodo > .s-sub { text-align:center; margin-left:auto; margin-right:auto; }
.methodo-inner { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; margin-top:3rem; }
.methodo-inner > div:first-child { background:var(--bg2); border:1px solid var(--border2); border-radius:14px; padding:2rem; }
.steps { display:flex; flex-direction:column; }
.step { display:grid; grid-template-columns:44px 1fr; gap:1.25rem; align-items:flex-start; padding:1.5rem 0; border-bottom:1px solid var(--border); }
.step:last-child { border-bottom:none; }
.step-n { width:44px; height:44px; border-radius:8px; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:.85rem; font-weight:700; color:var(--text-muted); flex-shrink:0; }
.step-t { font-size:.95rem; font-weight:600; color:var(--text); margin-bottom:.3rem; }
.step-d { font-size:.83rem; color:var(--text-muted); line-height:1.65; }
.stack-panel { background:var(--bg2); border:1px solid var(--border2); border-radius:14px; padding:2rem; position:sticky; top:6rem; }
.tool-item { display:flex; align-items:center; gap:.85rem; padding:.75rem 0; border-bottom:1px solid var(--border); }
.tool-item:last-child { border-bottom:none; }
.tool-ico { font-size:1.2rem; }
.tool-n { font-size:.83rem; font-weight:500; color:var(--text); }
.tool-type { font-size:.72rem; color:var(--text-muted); }
.tbadge { margin-left:auto; font-size:.65rem; font-weight:700; letter-spacing:.07em; padding:.15rem .5rem; border-radius:4px; }
.badge-t { background:var(--teal-dim); color:var(--teal); }
.badge-b { background:var(--blue-dim); color:var(--blue); }
.badge-o { background:var(--orange-dim); color:var(--orange); }

/* ── ADMISSION ── */
.admission { background:var(--bg2); }
.admission > .s-label { justify-content:center; }
.admission > .s-label::after { display:none; }
.admission > .s-title,
.admission > .s-sub { text-align:center; margin-left:auto; margin-right:auto; }
.admission > .s-sub { max-width:none; white-space:nowrap; }
.admission-inner { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; margin-top:3.5rem; }
.criteria { display:flex; flex-direction:column; gap:.75rem; }
.crit { display:flex; align-items:flex-start; gap:1rem; background:var(--bg3); border:1px solid var(--border); border-radius:10px; padding:1.1rem 1.25rem; transition:border-color .2s; }
.crit:hover { border-color:var(--border2); }
.crit-check { width:26px; height:26px; border-radius:6px; background:var(--teal-dim); color:var(--teal); display:flex; align-items:center; justify-content:center; font-size:.8rem; flex-shrink:0; }
.crit-main { font-size:.9rem; font-weight:500; color:var(--text); }
.crit-sub { font-size:.78rem; color:var(--text-muted); margin-top:.2rem; line-height:1.5; }
.calendar-box { background:var(--teal-dim); border:1px solid rgba(0,229,192,.2); border-radius:10px; padding:1.25rem 1.5rem; margin-top:1.5rem; }
.cal-label { font-family:var(--mono); font-size:.7rem; color:var(--teal); letter-spacing:.12em; text-transform:uppercase; margin-bottom:.75rem; }
.cal-row { font-size:.83rem; color:var(--text-soft); margin-bottom:.4rem; }
.cal-row strong { color:var(--text); }

/* ── FORMULAIRES ── */
.form-box { background:var(--bg3); border:1px solid var(--border2); border-radius:14px; padding:2.5rem; }
.form-box-title { font-size:1.3rem; font-weight:700; color:var(--text); margin-bottom:.3rem; }
.form-box-sub { font-size:.82rem; color:var(--text-muted); margin-bottom:2rem; }
.fg { margin-bottom:1rem; }
.fl { display:block; font-size:.75rem; color:var(--text-muted); margin-bottom:.4rem; letter-spacing:.03em; }
.fi { width:100%; background:var(--surface); border:1px solid var(--border); border-radius:7px; padding:.7rem 1rem; font-family:var(--font); font-size:.88rem; color:var(--text); outline:none; transition:border-color .2s; }
.fi::placeholder { color:var(--text-muted); }
.fi:focus { border-color:var(--teal); }
.fs { width:100%; background:var(--surface); border:1px solid var(--border); border-radius:7px; padding:.7rem 1rem; font-family:var(--font); font-size:.88rem; color:var(--text); outline:none; appearance:none; cursor:pointer; }
.fs option { background:var(--bg3); }
.btn-submit { width:100%; background:var(--teal); color:var(--bg); font-family:var(--font); font-size:.95rem; font-weight:700; padding:.9rem; border:none; border-radius:7px; cursor:pointer; margin-top:.5rem; transition:transform .15s,box-shadow .2s; }
.btn-submit:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,229,192,.3); }

/* ── ALERTES ── */
.alert { padding:.85rem 1.1rem; border-radius:8px; font-size:.87rem; margin-bottom:1.2rem; font-weight:500; line-height:1.6; }
.alert-success { background:var(--teal-dim); border:1px solid rgba(0,229,192,.3); color:var(--teal); }
.alert-error   { background:var(--red-dim);  border:1px solid rgba(255,77,109,.3);  color:var(--red); }
.alert::before { margin-right:.5rem; }
.alert-success::before { content:'✓'; }
.alert-error::before   { content:'⚠'; }

/* ── DB ERROR BANNER ── */
.db-banner { background:rgba(255,107,53,.12); border:1px solid rgba(255,107,53,.3); color:#ff6b35; font-size:.83rem; text-align:center; padding:.7rem; }

/* ── TARIFS ── */
.tarifs { background:var(--bg); }
.tarif-card { max-width:420px; background:var(--bg2); border:1px solid var(--border2); border-radius:16px; padding:2.5rem; margin-top:3rem; }
.tarif-price { font-family:var(--mono); font-size:3rem; font-weight:700; color:var(--text); line-height:1; }
.tarif-price span { font-size:1.2rem; color:var(--text-muted); font-weight:400; }
.tarif-desc { font-size:.85rem; color:var(--text-muted); margin:.75rem 0 1.75rem; }

/* ── FAQ / INFOS PRATIQUES ── */
.faq { background:var(--bg2); text-align:center; }
.faq .s-title, .faq .s-sub { margin-left:auto; margin-right:auto; }
.faq .s-label { justify-content:center; }
.faq .s-label::after { display:none; }
.faq-list { display:flex; flex-direction:column; margin:3rem auto 0; max-width:820px; border:1px solid var(--border2); border-radius:12px; overflow:hidden; background:var(--bg3); text-align:left; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:last-child { border-bottom:none; }
.faq-item.open { background:rgba(0,229,192,.04); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem; background:none; border:none; cursor:pointer; padding:1.25rem 1.5rem; text-align:left; font-family:var(--font); }
.faq-q-text { font-size:.95rem; font-weight:600; color:var(--text); line-height:1.4; }
.faq-icon { flex-shrink:0; width:28px; height:28px; border-radius:7px; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:1rem; color:var(--text-muted); transition:transform .25s,background .25s,color .25s,border-color .25s; }
.faq-item.open .faq-icon { background:var(--teal); border-color:var(--teal); color:var(--bg); transform:rotate(45deg); }
.faq-a { display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s ease; }
.faq-a-inner { overflow:hidden; min-height:0; }
.faq-a-inner>div { padding:0 1.5rem 1.5rem; font-size:.85rem; color:var(--text-muted); line-height:1.75; }
.faq-item.open .faq-a { grid-template-rows:1fr; }
.faq-a-inner ul { list-style:none; display:flex; flex-direction:column; gap:.5rem; margin-top:.75rem; }
.faq-a-inner li { position:relative; padding-left:1.1rem; }
.faq-a-inner li::before { content:'—'; position:absolute; left:0; color:var(--teal); }
.faq-a-inner strong { color:var(--text-soft); }

/* ── CONTACT ── */
.contact { background:var(--bg2); }
.contact-inner { display:flex; flex-direction:column; align-items:center; gap:2rem; margin:3rem auto 0; }
.contact-inner > * { width:100%; max-width:480px; }
.contact-info { background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:2rem; display:flex; flex-direction:column; gap:1rem; }
.contact-row { display:flex; align-items:center; gap:.75rem; font-size:.88rem; color:var(--text-soft); }
.contact-row a { color:var(--teal); text-decoration:none; }
.session-box { background:var(--teal-dim); border:1px solid rgba(0,229,192,.18); border-radius:12px; padding:1.5rem; }
.sess-label { font-family:var(--mono); font-size:.7rem; color:var(--teal); letter-spacing:.12em; text-transform:uppercase; margin-bottom:.75rem; }
.sess-row { font-size:.83rem; color:var(--text-soft); margin-bottom:.4rem; }
.sess-row strong { color:var(--text); }

/* ── PARTENAIRES ── */
.partners { background:var(--bg2); text-align:center; }
.partners .s-title, .partners .s-sub { margin-left:auto; margin-right:auto; }
.partners-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:1.5rem;
  margin-top:3rem;
}
.partner-logo {
  background:#fff;
  border:1px solid var(--border2);
  border-radius:12px;
  height:110px;
  padding:1.25rem;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.partner-logo:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}
.partner-logo img {
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.8;
  transition:filter .25s ease, opacity .25s ease;
}
.partner-logo:hover img { filter:grayscale(0%); opacity:1; }
@media (max-width:900px) { .partners-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px) { .partners-grid { grid-template-columns:repeat(2,1fr); gap:1rem; } .partner-logo { height:90px; padding:1rem; } }

/* ── CTA FINAL ── */
.cta-final { background:linear-gradient(135deg,#0e1117 0%,#111523 100%); border-top:1px solid var(--border); padding:8rem 3rem; text-align:center; position:relative; overflow:hidden; }
.cta-final::before { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:600px; height:300px; background:radial-gradient(ellipse,rgba(0,229,192,.1) 0%,transparent 70%); pointer-events:none; }
.cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; position:relative; z-index:1; }
.cta-note { margin-top:2rem; font-size:.78rem; color:var(--text-muted); font-family:var(--mono); }

/* ── FOOTER ── */
footer { background:var(--bg); border-top:1px solid var(--border); padding:3.5rem 3rem; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:3rem; }
.footer-desc { font-size:.82rem; color:var(--text-muted); margin-top:.75rem; line-height:1.7; max-width:220px; }
.footer-col-title { font-family:var(--mono); font-size:.68rem; color:var(--text-muted); letter-spacing:.12em; text-transform:uppercase; margin-bottom:1rem; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:.55rem; }
.footer-links a { font-size:.83rem; color:var(--text-muted); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--teal); }
.footer-bottom { background:var(--bg); border-top:1px solid var(--border); padding:1.25rem 3rem; display:flex; justify-content:space-between; font-size:.75rem; color:var(--text-muted); font-family:var(--mono); }

@keyframes fadeUp { from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)} }
.hero-inner>*{animation:fadeUp .6s ease both}
.hero-inner>*:nth-child(1){animation-delay:0s}
.hero-inner>*:nth-child(2){animation-delay:.1s}
.hero-inner>*:nth-child(3){animation-delay:.2s}
.hero-inner>*:nth-child(4){animation-delay:.35s}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablettes (≤ 1024px) ── */
@media (max-width:1024px) {
  .modules-grid { grid-template-columns:repeat(2,1fr); }
  .mod-card[style*="span 3"] { grid-column:span 2 !important; }
  .equipe-grid { grid-template-columns:repeat(3,1fr); }
  .about, .methodo-inner, .admission-inner { gap:3rem; }
  .partners-grid { grid-template-columns:repeat(4,1fr); }
}

/* ── Petites tablettes / grands mobiles (≤ 860px) ── */
@media (max-width:860px) {
  nav { padding:.9rem 1.5rem; }
  .nav-logo2 { display:flex; margin-left:auto; margin-right:.7rem; }
  .nav-toggle { display:flex; }
  .nav-links {
    position:fixed; top:0; right:0; height:100vh; width:min(80vw,320px);
    background:var(--bg2); border-left:1px solid var(--border);
    box-shadow:-20px 0 50px rgba(0,0,0,.4);
    flex-direction:column; align-items:flex-start; justify-content:flex-start;
    gap:0; padding:6rem 2rem 2rem;
    transform:translateX(100%); transition:transform .3s ease;
    z-index:99; overflow-y:auto;
  }
  .nav-links.open { transform:translateX(0); }
  .nav-links li { width:100%; }
  .nav-links a { display:block; width:100%; padding:1rem 0; border-bottom:1px solid var(--border); font-size:1.05rem; }
  .nav-cta { display:inline-block; margin-top:1.25rem; text-align:center; }

  section { padding:4.5rem 1.5rem; }
  .hero { padding:7rem 1.5rem 4rem; min-height:auto; }
  .hero-row { grid-template-columns:1fr; grid-template-areas:"text"; gap:1.25rem 1.5rem; }
  .hero-logo { display:none; }

  .section-logo { width:52px; height:52px; padding:.5rem; top:5.5rem; border-radius:11px; }
  .section-logo-left { left:1rem; }
  .section-logo-right { right:1rem; }

  .about { grid-template-columns:1fr; }
  .methodo-inner { grid-template-columns:1fr; gap:2.5rem; }
  .stack-panel { position:static; margin-top:0; }
  .admission-inner { grid-template-columns:1fr; gap:2.5rem; }

  .modules-grid { grid-template-columns:1fr; }
  .mod-card[style*="span 3"] { grid-column:span 1 !important; }
  .equipe-grid { grid-template-columns:repeat(2,1fr); }
  .equipe > .s-sub, .admission > .s-sub { white-space:normal; }

  .partners-grid { grid-template-columns:repeat(3,1fr); }

  footer { grid-template-columns:1fr 1fr; gap:2rem; padding:3rem 1.5rem; }
  .footer-bottom { flex-direction:column; gap:.4rem; text-align:center; padding:1.25rem 1.5rem; }
}

/* ── Mobiles (≤ 560px) ── */
@media (max-width:560px) {
  nav { padding:.8rem 1.1rem; }
  .logo { font-size:.95rem; gap:.4rem; }
  .logo-chip { font-size:.55rem; padding:.15rem .4rem; }
  .nav-logo { width:26px; height:26px; padding:.22rem; border-radius:6px; }

  .section-logo { width:40px; height:40px; padding:.35rem; top:5rem; border-radius:9px; }
  .section-logo-left { left:.75rem; }
  .section-logo-right { right:.75rem; }

  .hero h1 { font-size:clamp(2rem,9vw,2.6rem); }
  .eyebrow { font-size:.66rem; text-align:center; }
  .hero-actions { flex-direction:column; width:100%; }
  .btn-primary, .btn-outline { width:100%; text-align:center; }

  .s-title { font-size:clamp(1.5rem,6vw,2rem); }
  .s-sub { font-size:.92rem; white-space:normal; }

  .equipe-grid { grid-template-columns:repeat(2,1fr); gap:.75rem; }
  .prof-card { padding:1.1rem .6rem; }

  .form-box { padding:1.5rem; }
  .about-card { padding:1.75rem; }
  .stack-panel { padding:1.5rem; }
  .tarif-card { padding:1.75rem; width:100%; max-width:none; }

  .partners-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
  .partner-logo { height:90px; padding:1rem; }

  footer { grid-template-columns:1fr 1fr; text-align:left; gap:1.5rem 1.25rem; padding:2.25rem 1.25rem 1.5rem; }
  footer > div:first-child { grid-column:1 / -1; }
  .footer-desc { max-width:none; margin-top:.5rem; }
  .footer-links { gap:.4rem; }
  .footer-bottom { padding:.9rem 1.25rem; font-size:.68rem; }
  .cta-final { padding:5rem 1.5rem; }
  .cta-actions { flex-direction:column; }
  .cta-actions a { width:100%; text-align:center; }

  .faq-q-text { font-size:.88rem; }
  .faq-q { padding:1.1rem 1.25rem; }
  .faq-a-inner>div { padding:0 1.25rem 1.25rem; }
}

/* Prevent horizontal scroll from oversized decorative elements on mobile */
@media (max-width:640px) {
  .orb1, .orb2 { width:260px; height:260px; filter:blur(60px); }
}
