/* ═══════════════════════════════════════════════════════════
   FORPRODE 40 IA — Landing Page CSS v3 (stable)
═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --deep:    #1F6F3A;
  --mid:     #4FA646;
  --light:   #8BC53F;
  --grad90:  linear-gradient(90deg, #1F6F3A, #4FA646, #8BC53F);
  --grad135: linear-gradient(135deg, #1F6F3A 0%, #4FA646 55%, #8BC53F 100%);

  /* Dark (défaut) */
  --bg:       #0d1f14;
  --bg2:      #152b1c;
  --bg3:      #0f2417;
  --card:     #172d1f;
  --border:   rgba(79,166,70,0.18);
  --border2:  rgba(255,255,255,0.07);
  --text:     #e8f5e9;
  --text2:    #9dbf9d;
  --text3:    #5a8a5a;
  --shadow:   0 8px 40px rgba(0,0,0,0.5);

  --font-h: 'Sora', sans-serif;
  --font-b: 'Inter', sans-serif;
  --r:  14px;
  --rs: 8px;
  --t:  0.28s cubic-bezier(.4,0,.2,1);
}
[data-theme="light"] {
  --bg:      #f6faf6;
  --bg2:     #ecf5ec;
  --bg3:     #e4f0e4;
  --card:    #ffffff;
  --border:  rgba(79,166,70,0.2);
  --border2: rgba(0,0,0,0.08);
  --text:    #111d14;
  --text2:   #3a5a3c;
  --text3:   #6a9a6a;
  --shadow:  0 8px 40px rgba(0,0,0,0.08);
}

/* ── RESET ─────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; scroll-padding-top:72px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { font-family:inherit; cursor:pointer; }

/* ── LOGOS : masqués par défaut, on affiche seulement le bon ── */
.logo-dark-bg,
.logo-light-bg { display: none; }

[data-theme="dark"]  .logo-dark-bg  { display: block; }
[data-theme="light"] .logo-light-bg { display: block; }

/* ── GRADIENT TEXT ─────────────────────────────────────── */
.grad-text {
  background: var(--grad90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width:1180px; margin:0 auto; padding:0 24px; }
.section { padding:96px 0; }
.section-alt { background: var(--bg2); }

.section-header { text-align:center; margin-bottom:52px; }
.section-header .section-sub { margin:0 auto; }

/* ── TYPE ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  padding: 5px 14px;
  background: rgba(79,166,70,.1);
  border: 1px solid rgba(79,166,70,.22);
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}
.section-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  background: var(--grad135);
  color: #fff;
  border: none;
  border-radius: var(--rs);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 18px rgba(79,166,70,.35);
}
.btn-primary:hover { opacity:.9; transform:translateY(-2px); box-shadow:0 8px 28px rgba(79,166,70,.45); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--rs);
  background: rgba(255,255,255,.04);
  transition: background var(--t), border-color var(--t);
}
.btn-ghost:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.35); }
[data-theme="light"] .btn-ghost { color:var(--text); border-color:var(--border2); background:rgba(0,0,0,.04); }
[data-theme="light"] .btn-ghost:hover { background:rgba(0,0,0,.07); border-color:var(--border); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--rs);
  background: transparent;
  transition: background var(--t);
}
.btn-outline:hover { background:rgba(255,255,255,.12); }
.btn-lg { padding:15px 32px; font-size:15px; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(13,31,20,.96);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(246,250,246,.96);
}

/* Light mode — navbar transparente (non-scrolled) : textes visibles */
[data-theme="light"] .navbar:not(.scrolled) .navbar__links a { color: var(--text); }
[data-theme="light"] .navbar:not(.scrolled) .navbar__links a:hover { color: var(--mid); }
[data-theme="light"] .navbar:not(.scrolled) .theme-toggle {
  border-color: rgba(0,0,0,.18);
  background: rgba(0,0,0,.07);
  color: var(--text2);
}
[data-theme="light"] .navbar:not(.scrolled) .navbar__hamburger span { background: var(--text); }

.navbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar__logo img { height:30px; width:auto; }

.navbar__badge {
  font-family: var(--font-h);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  background: var(--grad135);
  color: #fff;
  border-radius: 100px;
  white-space: nowrap;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.navbar__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--t);
}
.navbar__links a:hover,
.navbar.scrolled .navbar__links a:hover { color: var(--light); }
[data-theme="light"] .navbar.scrolled .navbar__links a { color: var(--text2); }
[data-theme="light"] .navbar.scrolled .navbar__links a:hover { color: var(--mid); }

.navbar__actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }

.theme-toggle {
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.75);
  display:flex; align-items:center; justify-content:center;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.theme-toggle:hover { border-color:var(--light); color:var(--light); }
[data-theme="light"] .navbar.scrolled .theme-toggle {
  border-color:var(--border2); background:var(--card); color:var(--text2);
}

[data-theme="dark"]  .icon-sun  { display:block; }
[data-theme="dark"]  .icon-moon { display:none;  }
[data-theme="light"] .icon-sun  { display:none;  }
[data-theme="light"] .icon-moon { display:block; }

.navbar__cta { padding:9px 18px; font-size:13px; }

.navbar__hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; padding:4px; cursor:pointer;
}
.navbar__hamburger span {
  display:block; width:22px; height:2px;
  background:rgba(255,255,255,.8);
  border-radius:2px;
}

.navbar__mobile {
  display:none;
  flex-direction:column;
  padding:16px 24px 24px;
  background:rgba(15,36,23,.97);
  border-top:1px solid var(--border2);
  gap:2px;
  backdrop-filter:blur(18px);
}
[data-theme="light"] .navbar__mobile { background:rgba(246,250,246,.97); }
.navbar__mobile.open { display:flex; }
.mobile-link {
  font-size:15px; font-weight:500;
  color:var(--text2); padding:10px 0;
  border-bottom:1px solid var(--border2);
  transition:color var(--t);
}
.mobile-link:hover { color:var(--mid); }
.mobile-cta { margin-top:12px; justify-content:center; }

/* ── HERO — image absolute sur la droite ────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg3);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Grille décorative */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,166,70,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,166,70,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
/* Lueur verte gauche */
.hero__glow {
  position: absolute;
  width: 480px; height: 480px;
  top: -80px; left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,58,.4) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Contenu à gauche — largeur 50% */
.hero__left {
  position: relative;
  z-index: 1;
  width: 50%;
  padding: 110px 52px 80px;
  flex-shrink: 0;
  background: var(--bg3); /* masque le chevauchement avec l'image */
}

/* Image à droite — position absolue pleine hauteur */
.hero__img {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Eyebrow dans le hero */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(232,245,233,.7);
  margin-bottom: 16px;
}
[data-theme="light"] .hero-eyebrow { color: var(--text2); }

.pulse-dot {
  width:8px; height:8px; border-radius:50%; flex-shrink:0;
  background: var(--light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow:0 0 0 0 rgba(139,197,63,.6); }
  70%  { box-shadow:0 0 0 8px rgba(139,197,63,0); }
  100% { box-shadow:0 0 0 0 rgba(139,197,63,0); }
}

.hero__program {
  font-family: var(--font-h);
  font-size: clamp(11px,1.1vw,13px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--font-h);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title-top {
  display: block;
  font-size: clamp(18px,1.8vw,24px);
  color: var(--text2);
  font-weight: 500;
  margin-bottom: 4px;
}
.hero__title-main {
  display: block;
  font-size: clamp(28px,3.5vw,50px);
}

.hero__desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 460px;
}
.hero__desc strong { color:var(--text); }

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

/* Countdown compact */
.hero__countdown {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 16px 20px;
  margin-bottom: 24px;
  max-width: 460px;
}
[data-theme="light"] .hero__countdown { background:rgba(0,0,0,.03); }

.hero__cd-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}
.hero__cd-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.hero__cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 52px;
}
.hero__cd-num {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hero__cd-sub {
  font-size: 9px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}
.hero__cd-sep {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: var(--text3);
  align-self: flex-start;
  margin-top: 6px;
}
.hero__cd-dates {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: var(--text3);
  padding-top: 10px;
  border-top: 1px solid var(--border2);
}
.hero__cd-date-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero__cd-date-item svg { flex-shrink: 0; }

/* Stats */
.hero__stats { display:flex; align-items:center; flex-wrap:wrap; }
.hero__stat { display:flex; flex-direction:column; align-items:center; padding:0 14px; }
.hero__stat-val { font-family:var(--font-h); font-size:24px; font-weight:800; line-height:1; }
.hero__stat-lbl { font-size:11px; color:var(--text3); margin-top:3px; }
.hero__stat-sep { width:1px; height:28px; background:var(--border2); }

/* ── ABOUT ─────────────────────────────────────────────── */
.fp-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.fp-about__img-wrap {
  position: relative;
}
.fp-about__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.fp-about__badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 14px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.fp-about__badge-val { font-family:var(--font-h); font-size:30px; font-weight:800; line-height:1; }
.fp-about__badge-lbl { font-size:12px; color:var(--text2); margin-top:4px; line-height:1.4; }

.check-list { display:flex; flex-direction:column; gap:10px; }
.check-list li {
  display:flex; align-items:center; gap:10px;
  font-size:14.5px; color:var(--text2);
}
.check-list li::before {
  content:'';
  display:inline-block; width:16px; height:16px; flex-shrink:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234FA646' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── CURRICULUM ────────────────────────────────────────── */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.curriculum-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 26px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.curriculum-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--grad90); transform:scaleX(0); transform-origin:left;
  transition:transform var(--t);
}
.curriculum-card:hover { border-color:var(--border); transform:translateY(-4px); box-shadow:var(--shadow); }
.curriculum-card:hover::before { transform:scaleX(1); }
.curriculum-card__week { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--mid); margin-bottom:6px; }
.curriculum-card__num { font-family:var(--font-h); font-size:42px; font-weight:800; background:var(--grad90); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; opacity:.25; margin-bottom:10px; line-height:1; }
.curriculum-card__title { font-family:var(--font-h); font-size:14px; font-weight:700; color:var(--text); margin-bottom:12px; line-height:1.35; }
.curriculum-card__list { display:flex; flex-direction:column; gap:6px; }
.curriculum-card__list li { font-size:13px; color:var(--text2); display:flex; align-items:flex-start; gap:6px; line-height:1.4; }
.curriculum-card__list li::before { content:'→'; color:var(--mid); flex-shrink:0; font-size:12px; }

/* ── TIMELINE ──────────────────────────────────────────── */
.timeline { max-width:680px; margin:0 auto; position:relative; }
.timeline::before {
  content:''; position:absolute;
  left:11px; top:24px; bottom:24px;
  width:2px;
  background:linear-gradient(to bottom, var(--mid), var(--border));
}
.timeline__item { display:grid; grid-template-columns:24px 1fr; gap:22px; align-items:flex-start; margin-bottom:22px; }
.timeline__item:last-child { margin-bottom:0; }

.timeline__dot {
  width:16px; height:16px; border-radius:50%;
  background:var(--bg2); border:3px solid var(--border);
  position:relative; z-index:1; margin-top:16px; justify-self:center;
}
.timeline__dot--active { background:var(--grad90); border-color:var(--mid); box-shadow:0 0 0 4px rgba(79,166,70,.2); }
.timeline__dot--launch { background:var(--grad90); border-color:var(--light); box-shadow:0 0 0 6px rgba(139,197,63,.2); width:20px; height:20px; margin-top:14px; }

.timeline__card { background:var(--card); border:1px solid var(--border2); border-radius:var(--r); padding:18px 22px; transition:border-color var(--t); }
.timeline__card:hover { border-color:var(--border); }
.timeline__card--launch { border-color:var(--border); }

.timeline__header { display:flex; align-items:flex-start; gap:12px; margin-bottom:8px; }
.timeline__icon {
  width:34px; height:34px; border-radius:var(--rs); flex-shrink:0;
  background:rgba(79,166,70,.1); color:var(--mid);
  display:flex; align-items:center; justify-content:center;
}
.timeline__icon--launch { background:rgba(139,197,63,.12); color:var(--light); }

/* Date sur UNE SEULE ligne */
.timeline__date {
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;          /* ← une seule ligne */
  margin-bottom: 3px;
}
.timeline__card h3 { font-family:var(--font-h); font-size:15px; font-weight:700; color:var(--text); }
.timeline__card p { font-size:13.5px; color:var(--text2); line-height:1.65; }
.timeline__link { display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:700; color:var(--mid); margin-top:10px; transition:color var(--t); }
.timeline__link:hover { color:var(--light); }

/* ── PROCESSUS ─────────────────────────────────────────── */
.processus-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.processus-card {
  background:var(--card); border:1px solid var(--border2); border-radius:var(--r);
  padding:26px 20px; text-align:center;
  transition:border-color var(--t), transform var(--t), box-shadow var(--t);
}
.processus-card:hover { border-color:var(--border); transform:translateY(-4px); box-shadow:var(--shadow); }
.processus-card__step { font-family:var(--font-h); font-size:34px; font-weight:800; margin-bottom:10px; }
.processus-card__icon {
  width:46px; height:46px; border-radius:12px; margin:0 auto 14px;
  background:rgba(79,166,70,.1); color:var(--mid);
  display:flex; align-items:center; justify-content:center;
}
.processus-card h3 { font-family:var(--font-h); font-size:14px; font-weight:700; color:var(--text); margin-bottom:8px; }
.processus-card p { font-size:13px; color:var(--text2); line-height:1.6; }

/* ── PARTNERS ──────────────────────────────────────────── */
.partners-text { max-width:740px; margin:0 auto 44px; text-align:center; }
.partners-text p { font-size:15.5px; color:var(--text2); line-height:1.8; margin-bottom:14px; }
.partners-text p:last-child { margin-bottom:0; }
.partners-text strong { color:var(--text); font-weight:700; }

.partners-banner { border-radius:var(--r); overflow:hidden; box-shadow:0 4px 24px rgba(0,0,0,.2); }
.partners-banner img { width:100%; height:auto; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:8px; }
.faq-item { background:var(--card); border:1px solid var(--border2); border-radius:var(--rs); overflow:hidden; transition:border-color var(--t); }
.faq-item.open { border-color:var(--border); }
.faq-q {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  width:100%; padding:17px 20px; background:none; border:none;
  color:var(--text); font-size:14.5px; font-weight:600; text-align:left; cursor:pointer;
  transition:color var(--t);
}
.faq-q:hover, .faq-item.open .faq-q { color:var(--mid); }
.faq-chevron { flex-shrink:0; color:var(--text3); transition:transform var(--t); }
.faq-item.open .faq-chevron { transform:rotate(180deg); color:var(--mid); }
.faq-a { display:none; padding:0 20px 16px; font-size:14px; color:var(--text2); line-height:1.7; }
.faq-item.open .faq-a { display:block; }

/* ── CONTACT ───────────────────────────────────────────── */
.fp-contact { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.fp-contact__right img {
  width:100%; height:520px;
  object-fit:cover;
  object-position: top center;    /* ← tête visible */
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding-top: 50px;
}

.contact-info { display:flex; flex-direction:column; gap:11px; margin:18px 0 26px; }
.contact-info__item { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--text2); }

.contact-form { display:flex; flex-direction:column; gap:13px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-group label { font-size:12.5px; font-weight:600; color:var(--text2); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family:var(--font-b); font-size:14px;
  color:var(--text); background:var(--card);
  border:1px solid var(--border2); border-radius:var(--rs);
  padding:10px 14px; outline:none; -webkit-appearance:none;
  transition:border-color var(--t), box-shadow var(--t);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--text3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--mid); box-shadow:0 0 0 3px rgba(79,166,70,.15); }
.form-group textarea { resize:vertical; min-height:96px; }
.form-group select option { background:var(--card); color:var(--text); }

.form-success { display:flex; align-items:center; gap:14px; background:rgba(79,166,70,.1); border:1px solid var(--border); border-radius:var(--rs); padding:18px; margin-bottom:18px; }
.form-success strong { font-size:15px; color:var(--text); display:block; margin-bottom:3px; }
.form-success p { font-size:13px; color:var(--text2); }
.form-error { font-size:13px; color:#e57373; padding:10px 14px; background:rgba(229,115,115,.1); border-radius:var(--rs); border:1px solid rgba(229,115,115,.3); }

/* ── CTA SECTION ───────────────────────────────────────── */
.cta-section { position:relative; padding:96px 0; background:var(--grad135); overflow:hidden; text-align:center; }
.cta-section__glow { position:absolute; inset:0; background:radial-gradient(ellipse at center, rgba(255,255,255,.12) 0%, transparent 70%); pointer-events:none; }
.cta-section__inner { position:relative; z-index:1; }
.cta-section__title { font-family:var(--font-h); font-size:clamp(26px,4vw,48px); font-weight:800; color:rgba(255,255,255,.9); margin-bottom:14px; line-height:1.15; }
.cta-section__title--white { color:#fff; }
.cta-section__sub { font-size:16px; color:rgba(255,255,255,.8); margin-bottom:36px; max-width:500px; margin-left:auto; margin-right:auto; line-height:1.65; }
.cta-section__actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta-primary-btn { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.4); box-shadow:none !important; }
.cta-primary-btn:hover { background:rgba(255,255,255,.26) !important; }

/* ── FOOTER ────────────────────────────────────────────── */
.footer { background:var(--bg3); border-top:1px solid var(--border2); padding:56px 0 0; }
.footer__inner { display:grid; grid-template-columns:1.5fr 1fr; gap:56px; padding-bottom:44px; }
.footer__logo { height:32px; width:auto; margin-bottom:12px; }
.footer__brand p { font-size:14px; color:var(--text2); max-width:280px; line-height:1.65; }
.footer__links { display:flex; gap:44px; }
.footer__col { display:flex; flex-direction:column; gap:10px; }
.footer__col-title { font-family:var(--font-h); font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--mid); margin-bottom:4px; }
.footer__col a { font-size:14px; color:var(--text2); transition:color var(--t); }
.footer__col a:hover { color:var(--mid); }
.footer__bottom { border-top:1px solid var(--border2); padding:16px 0; }
.footer__bottom .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer__bottom span { font-size:13px; color:var(--text3); }
.footer__bottom-links { display:flex; gap:18px; }
.footer__bottom-links a { font-size:13px; color:var(--text3); transition:color var(--t); }
.footer__bottom-links a:hover { color:var(--mid); }

/* ── REVEAL ANIMATIONS ─────────────────────────────────── */
.reveal-up, .reveal-right { opacity:0; transform:translateY(36px); transition:opacity .65s ease, transform .65s ease; }
.reveal-right { transform:translateX(36px); }
.reveal-up.visible, .reveal-right.visible { opacity:1; transform:translate(0,0); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.4s} .d5{transition-delay:.5s}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width:1400px) {
  .hero__img { width: 62%; }
}

@media (max-width:1100px) {
  .curriculum-grid { grid-template-columns:repeat(2,1fr); }
  .processus-grid  { grid-template-columns:repeat(2,1fr); }
  .hero__left      { padding:110px 36px 80px; }
  .hero__img       { width: 65%; }
}

@media (max-width:900px) {
  .fp-about { grid-template-columns:1fr; gap:40px; }
  .fp-about__img-wrap { order:-1; }
  .fp-about__img { height:280px; }
  .fp-about__badge { right:12px; bottom:-14px; }
  .fp-contact { grid-template-columns:1fr; gap:40px; }
  .fp-contact__right { display:none; }
  .footer__inner { grid-template-columns:1fr; gap:36px; }
  .hero__img { width: 70%; }
}

@media (max-width:768px) {
  .navbar__links { display:none; }
  .navbar__cta   { display:none; }
  .navbar__hamburger { display:flex; }

  /* Hero mobile : image en haut (40vh), contenu dessous */
  .hero { flex-direction:column; align-items:stretch; min-height:auto; }
  .hero__img {
    position:relative; top:auto; right:auto;
    width:100%; height:42vw; min-height:220px;
    order:-1;
  }
  .hero__left { width:100%; padding:40px 20px 60px; }
  .hero__glow, .hero__grid { display:none; }

  .section { padding:64px 0; }
  .timeline__item { grid-template-columns:20px 1fr; gap:14px; }
  .curriculum-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero__stats { justify-content:center; }
}

@media (max-width:480px) {
  .processus-grid { grid-template-columns:1fr; }
  .footer__links  { flex-direction:column; gap:20px; }
  .footer__bottom .container { flex-direction:column; text-align:center; }
  .hero__cd-dates { font-size:11px; }
}
