/* =============================================
   DSF FORMATION — style.css
   Palette : Navy #1A2C5B · Teal #2BBFB0 · White #FFFFFF
   Fonts   : Montserrat
   ============================================= */

:root {
  --navy:       #1A2C5B;
  --navy-dark:  #111E40;
  --navy-mid:   #243570;
  --teal:       #2BBFB0;
  --teal-dark:  #1E9E91;
  --teal-light: #E8F9F7;
  --white:      #FFFFFF;
  --off-white:  #F6F8FC;
  --text:       #1A1A2E;
  --text-muted: #5E6A8A;
  --border:     #DDE3F0;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(26,44,91,0.10);
  --shadow-lg: 0 12px 48px rgba(26,44,91,0.16);
  --transition: 180ms ease-out;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* ── SECURITY HEADERS via meta equivalents handled server-side ── */

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 44, 91, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,191,176,0.15);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(26,44,91,0.25); }
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 72px;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 8px; justify-content: center; }
.nav-link {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--teal);
  background: rgba(43,191,176,0.1);
}
.btn-nav {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--teal);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 200ms ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--teal);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,191,176,0.35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: var(--teal); background: rgba(43,191,176,0.08); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  gap: 48px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43,191,176,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,191,176,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43,191,176,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  flex: 1;
  max-width: 600px;
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--teal);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}
.stat { padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.stat-sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.12);
}

/* Hero visual */
.hero-visual {
  flex-shrink: 0;
  position: relative; z-index: 1;
  padding-right: 24px;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(43,191,176,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 340px;
  backdrop-filter: blur(8px);
}
.hc-line {
  width: 40px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 20px;
}
.hc-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.hc-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.hc-meta {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hc-modules { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.hc-mod {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding-left: 14px;
  position: relative;
}
.hc-mod::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}
.hc-btn {
  display: block;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--teal);
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hc-btn:hover { background: var(--teal-dark); }

/* ── ATOUTS ── */
.section-atouts { padding: 96px 0; background: var(--off-white); }
.section-atouts h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 56px;
  max-width: 540px;
  line-height: 1.2;
}
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.atout {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.atout:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.atout-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.atout h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.atout p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── SECTION FORMATION ── */
.section-formation { padding: 96px 0; }
.formation-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.fs-left h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.fs-intro { color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.fs-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.fs-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text);
}
.check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--teal);
  border-radius: 50%;
  position: relative;
  margin-top: 2px;
}
.check::after {
  content: '';
  position: absolute; left: 50%; top: 47%;
  transform: translate(-50%,-50%) rotate(45deg);
  width: 5px; height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
.fs-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--teal-light);
  border: 1px solid rgba(43,191,176,0.3);
  padding: 5px 12px;
  border-radius: 100px;
}

/* FS Card timeline */
.fs-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.fsc-header {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 20px 28px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fsc-timeline { padding: 8px 0; }
.fsc-item {
  display: flex; gap: 20px;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}
.fsc-item:hover { background: rgba(255,255,255,0.03); }
.fsc-item:last-child { border-bottom: none; }
.fsc-time {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  width: 44px;
  flex-shrink: 0;
  padding-top: 2px;
}
.fsc-title {
  font-weight: 500;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.fsc-desc { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ── SECTION CTA ── */
.section-cta { padding: 80px 0; background: var(--navy); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p { color: rgba(255,255,255,0.6); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--navy-dark);
}
.page-hero--sm { padding: 120px 0 60px; }
.page-hero .section-label { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.6); max-width: 560px; font-size: 1rem; }

/* ── PROGRAMME ── */
.section-prog { padding: 80px 0 96px; }
.prog-header { margin-bottom: 48px; }
.prog-tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.prog-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.prog-intro { color: var(--text-muted); max-width: 640px; line-height: 1.7; }

.prog-infos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 56px;
}
.pi-item {
  padding: 20px 24px;
  background: var(--white);
}
.pi-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pi-val { font-size: 0.9rem; color: var(--text); }
.pi-val a { color: var(--teal); text-decoration: underline; }

.prog-block { margin-bottom: 56px; }
.prog-block h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-light);
}
.obj-list { display: flex; flex-direction: column; gap: 10px; }
.obj-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; padding-left: 12px;
  position: relative; color: var(--text);
}
.obj-list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.module {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.module:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.mod-num {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 4px;
}
.mod-dur {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  padding: 3px 10px;
  border-radius: 100px;
}
.mod-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  padding-right: 40px;
  margin-bottom: 0;
}
.mod-points { display: flex; flex-direction: column; gap: 6px; }
.mod-points li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.mod-points li::before {
  content: '–';
  position: absolute; left: 0;
  color: var(--teal);
}

.eval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eval-item {
  display: flex; gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.eval-icon {
  width: 40px; height: 40px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.eval-title { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 3px; }
.eval-desc { font-size: 0.82rem; color: var(--text-muted); }

.moyens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.moyen {
  padding: 14px 18px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--navy);
  border-left: 3px solid var(--teal);
}

.prog-cta {
  text-align: center;
  padding: 48px;
  background: var(--navy);
  border-radius: var(--radius-lg);
}
.prog-cta p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }

/* ── ABOUT ── */
.section-about { padding: 96px 0; }
.about-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.av-bg {
  width: 280px; height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  opacity: 0.12;
}
.av-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  border: 2px solid rgba(43,191,176,0.3);
}
.av-b-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.av-b-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}
.about-right h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-right p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.about-right p strong { color: var(--navy); }
.about-details {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.ad-item { display: flex; gap: 12px; align-items: flex-start; }
.ad-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 120px;
  padding-top: 2px;
}
.ad-val { font-size: 0.9rem; color: var(--navy); font-weight: 500; }

/* ── APPROCHE ── */
.section-approche { padding: 80px 0; background: var(--off-white); }
.section-approche h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 48px;
}
.approche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.approche-item {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.ai-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.ai-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.approche-item p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.approche-steps { display: flex; flex-direction: column; gap: 0; }
.as-step {
  display: flex; gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.as-step:last-child { border-bottom: none; }
.as-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  width: 40px;
  flex-shrink: 0;
  line-height: 1.3;
}
.as-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.as-content p { font-size: 0.88rem; color: var(--text-muted); }

/* ── CONTACT ── */
.section-contact { padding: 80px 0 96px; }
.contact-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-infos h2, .contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}
.ci-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.ci-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.ci-val { font-size: 0.9rem; color: var(--text); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }

/* Form */
.form-success {
  background: var(--teal-light);
  border: 1px solid rgba(43,191,176,0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--teal-dark);
  font-weight: 500;
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--teal); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%232BBFB0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-legal { font-size: 0.75rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-legal a { color: var(--teal); text-decoration: underline; }

/* ── MENTIONS LÉGALES ── */
.section-legal { padding: 60px 0 96px; }
.legal-block { margin-bottom: 40px; }
.legal-block h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-block p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; }
.legal-block ul { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; }
.legal-block ul li {
  font-size: 0.9rem; color: var(--text-muted);
  list-style: disc; list-style-position: inside;
}
.legal-block a { color: var(--teal); text-decoration: underline; }
.legal-block strong { color: var(--navy); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.5; }
.footer-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom span { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--teal); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding-bottom: 60px; }
  .hero-visual { padding-right: 0; width: 100%; display: flex; justify-content: center; }
  .hero-card { width: 100%; max-width: 440px; }
  .formation-split { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-visual { display: flex; justify-content: center; margin-bottom: 32px; }
  .contact-split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .burger { display: flex; }
  /* Menu mobile ouvert via JS (style.display = flex) */
  @media (max-width: 768px) {
    .main-nav[style*="flex"] {
      position: fixed;
      top: 72px; left: 0; right: 0;
      z-index: 99;
      background: var(--navy-dark);
      border-bottom: 1px solid rgba(43,191,176,0.2);
      padding: 20px 24px 28px;
      flex-direction: column;
      box-shadow: 0 8px 32px rgba(26,44,91,0.3);
      flex: unset;
    }
    .main-nav[style*="flex"] ul { flex-direction: column; gap: 4px; }
    .main-nav[style*="flex"] .nav-link { display: block; font-size: 1rem; padding: 14px 16px; }
  }
  .nav-link { display: block; padding: 12px 16px; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-sep { width: 40px; height: 1px; }
  .stat { padding: 0; }
  .eval-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .approche-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* Separateur entre formations */
.prog-sep {
  border: none;
  border-top: 2px solid var(--border);
  margin: 72px 0;
}

/* Stack de deux cards hero */
.hero-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 340px;
}
.hero-card--sm {
  padding: 24px;
}
.hero-card--sm .hc-title {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ── CARTES FORMATIONS ── */
.section-formations-cards { padding: 72px 0 96px; }

.fcard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.fcard {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  cursor: pointer;
}
.fcard:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(26,44,91,0.12);
  transform: translateY(-4px);
}
.fcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.fcard-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.fcard-arrow {
  width: 36px; height: 36px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  transition: background 200ms ease, transform 200ms ease;
}
.fcard:hover .fcard-arrow {
  background: var(--teal);
  color: var(--white);
  transform: translate(2px, -2px);
}
.fcard-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}
.fcard-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.fcard-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.fcard-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}
.fcard-points {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 28px;
}
.fcard-point {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.fcard-point::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}
.fcard-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 6px;
}
.fcard-cta::after {
  content: '\2192';
  font-size: 1rem;
  transition: transform 200ms ease;
}
.fcard:hover .fcard-cta::after { transform: translateX(4px); }

.formations-contact {
  text-align: center;
  padding: 40px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.formations-contact p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.btn-outline-dark {
  display: inline-flex;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: background 200ms ease, color 200ms ease;
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 768px) {
  .fcard-grid { grid-template-columns: 1fr; }
}

/* Hero card entierement cliquable */
.hero-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  border: 1px solid rgba(43,191,176,0.2);
}
.hero-card--link:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,44,91,0.25);
}
.hero-card--link:hover .hc-btn {
  background: var(--teal-dark);
}

/* Lieu de formation */
.fcard-lieu {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.fcard-lieu::before {
  content: "";
  display: none;
}

/* Accessibilité PSH */
.fcard-psh {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.fcard-psh::before {
  content: "";
  display: none;
}
