/* ==========================================================
   Code pour tous — Design system professionnel v2
   Google Fonts Inter · WCAG AA · Google Ad Grants ready
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Variables ------------------------------------------- */
:root {
  /* Couleurs */
  --navy:           #0d2147;
  --navy-mid:       #1a3a6e;
  --navy-light:     #2457b3;
  --orange:         #f05a23;
  --orange-dark:    #d14a17;
  --orange-light:   #ff7b45;
  --cyan:           #0ea5e9;
  --green:          #10b981;
  --green-dark:     #059669;
  --gold:           #f59e0b;

  --bg:             #f0f4fa;
  --bg-white:       #ffffff;
  --bg-light:       #f8fafc;
  --text:           #0d1b2e;
  --text-muted:     #4b6080;
  --border:         #dde4ef;
  --border-light:   #eef2f9;

  --error:          #dc2626;
  --success:        var(--green);

  /* Ombres */
  --shadow-xs: 0 1px 3px rgba(13,33,71,.08);
  --shadow-sm: 0 4px 16px rgba(13,33,71,.10);
  --shadow-md: 0 8px 32px rgba(13,33,71,.15);
  --shadow-lg: 0 20px 60px rgba(13,33,71,.18);

  /* Espacements & formes */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* --- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--navy-light); text-decoration: underline; transition: color var(--transition); }
a:hover, a:focus { color: var(--orange); }
a:focus-visible  { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
ul   { list-style: none; }

h1, h2, h3, h4, h5 {
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem);   font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
h4 { font-size: 1rem; font-weight: 600; }
p  { max-width: 70ch; }

address { font-style: normal; }

/* --- Utilitaires ---------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 5.5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }

/* --- Skip link ------------------------------------------ */
.skip-link {
  position: absolute; top: -80px; left: 1rem;
  background: var(--navy); color: #fff;
  padding: .65rem 1.3rem; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; font-size: .9rem; text-decoration: none;
  z-index: 9999; transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* =========================================================
   BANDEAU PRÉ-HEADER (intérêt général / non lucratif)
========================================================= */
.pre-header {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pre-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.pre-header-left {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.pre-header-item {
  display: flex; align-items: center; gap: .35rem;
  font-size: .76rem;
}
.pre-header-item svg { width: 12px; height: 12px; opacity: .7; flex-shrink: 0; }
.pre-header-item strong { color: #fff; }
.pre-header-sep { color: rgba(255,255,255,.2); }

.pre-header-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--orange);
  color: #fff;
  border-radius: 50px;
  padding: .2rem .75rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.pre-header-badge svg { width: 11px; height: 11px; }

@media (max-width: 640px) {
  .pre-header { display: none; }
}

/* =========================================================
   HEADER & NAVIGATION
========================================================= */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

/* Logo */
.logo-link {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(13,33,71,.30);
  flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); letter-spacing: -.02em;
}
.logo-tagline {
  font-size: .68rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: .02em;
}

/* Navigation */
.nav-primary ul {
  display: flex; align-items: center; gap: .2rem;
}
.nav-primary a {
  position: relative;
  display: block;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.nav-primary a::after {
  content: '';
  position: absolute; bottom: 2px; left: .85rem; right: .85rem;
  height: 2px; border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav-primary a:hover { color: var(--navy); background: var(--bg-light); }
.nav-primary a:hover::after,
.nav-primary a.active::after { transform: scaleX(1); }
.nav-primary a.active { color: var(--navy); }

.nav-cta a {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: .5rem 1.3rem !important;
  box-shadow: 0 4px 14px rgba(240,90,35,.35);
}
.nav-cta a::after { display: none !important; }
.nav-cta a:hover { background: linear-gradient(135deg, var(--orange-light), var(--orange)) !important; box-shadow: 0 6px 20px rgba(240,90,35,.45); }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: 2px solid var(--border);
  border-radius: var(--radius-sm); padding: .4rem .55rem;
  cursor: pointer; flex-direction: column; gap: 5px;
  transition: border-color var(--transition);
}
.hamburger:hover { border-color: var(--navy-light); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   FOOTER
========================================================= */
.footer-wave {
  display: block; width: 100%;
  color: var(--navy);
  line-height: 0;
}

#site-footer {
  background: var(--navy);
  color: #c0cfe8;
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.8rem;
}
.footer-col h3 {
  color: #fff; font-size: .95rem; font-weight: 700;
  margin-bottom: 1rem; letter-spacing: .02em;
}
.footer-col p, .footer-col a, .footer-col li {
  font-size: .88rem; color: #8faac8; line-height: 1.85;
}
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-col li + li { margin-top: .2rem; }

.footer-logo-col p { max-width: none; margin-top: .6rem; }

.footer-badge-loi {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px; padding: .35rem 1rem;
  font-size: .78rem; font-weight: 600; color: #c0cfe8;
  margin-bottom: .9rem;
}

.footer-ids {
  margin-top: .8rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.footer-id-row {
  display: flex; gap: .6rem; align-items: baseline;
  font-size: .8rem;
}
.footer-id-label { color: #7a94bb; font-weight: 600; min-width: 52px; }
.footer-id-value { font-family: 'Courier New', monospace; color: #d0dff2; font-size: .82rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  font-size: .8rem; color: #5a7499;
}
.footer-bottom a { color: #7a9dc4; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* =========================================================
   BOUTONS
========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1.2;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(240,90,35,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  box-shadow: 0 8px 24px rgba(240,90,35,.45); color: #fff;
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy); color: #fff; border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(13,33,71,.25);
}
.btn-navy:hover { background: var(--navy-mid); color: #fff; box-shadow: 0 8px 24px rgba(13,33,71,.35); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.btn-white {
  background: #fff; color: var(--navy); border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-white:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-1px); }

.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, #163570 55%, var(--navy-mid) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(14,165,233,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(240,90,35,.10) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(16,185,129,.08) 0%, transparent 35%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {}

.hero-trust-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.6rem;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .3rem .85rem;
  font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.trust-badge svg { width: 13px; height: 13px; opacity: .85; }

.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--orange-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.05rem; color: rgba(255,255,255,.82);
  margin-bottom: 2.2rem; max-width: 52ch;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Illustration décorative côté droit du hero */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%; max-width: 380px;
}
.hero-main-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-main-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(240,90,35,.4);
}
.hero-main-card-icon svg { width: 28px; height: 28px; color: #fff; }
.hero-main-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .4rem; }
.hero-main-card p  { color: rgba(255,255,255,.75); font-size: .88rem; max-width: none; }

.hero-mini-cards {
  position: absolute;
  right: -1.5rem; bottom: -1.2rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.hero-mini-card {
  background: #fff;
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: var(--shadow-md);
  min-width: 190px;
}
.hero-mini-card-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}
.hero-mini-card-dot.orange { background: var(--orange); box-shadow: 0 0 8px rgba(240,90,35,.4); }
.hero-mini-card-dot.green  { background: var(--green);  box-shadow: 0 0 8px rgba(16,185,129,.4); }
.hero-mini-card p { font-size: .82rem; font-weight: 600; color: var(--navy); max-width: none; margin: 0; }

/* =========================================================
   SECTION HEADERS
========================================================= */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .kicker {
  display: inline-block;
  background: rgba(13,33,71,.08);
  color: var(--navy-light);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: .75rem; letter-spacing: -.025em; }
.section-header p  { color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* =========================================================
   STATS BAND
========================================================= */
.stats-band {
  background: linear-gradient(135deg, var(--navy) 0%, #163570 100%);
  padding: 4rem 0;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,.15), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  margin: 0 auto .8rem;
}
.stat-icon svg { width: 24px; height: 24px; color: var(--orange-light); }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -.03em;
  display: block; margin-bottom: .35rem;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.6); font-weight: 500; }

/* =========================================================
   CARDS
========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-light), var(--cyan));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon-blue   { background: rgba(26,58,110,.1);  color: var(--navy-light); }
.card-icon-orange { background: rgba(240,90,35,.1);  color: var(--orange); }
.card-icon-green  { background: rgba(16,185,129,.1); color: var(--green-dark); }
.card-icon-cyan   { background: rgba(14,165,233,.1); color: var(--cyan); }

.card h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.card p  { color: var(--text-muted); font-size: .93rem; max-width: none; }
.card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 700; font-size: .88rem;
  text-decoration: none; margin-top: 1.2rem;
  color: var(--navy-light);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: .6rem; color: var(--orange); }
.card-link svg { width: 15px; height: 15px; transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(2px); }

/* Programme card (colored border) */
.prog-card { border-top: 4px solid transparent; }
.prog-card-blue   { border-top-color: var(--navy-light); }
.prog-card-orange { border-top-color: var(--orange); }
.prog-card-green  { border-top-color: var(--green); }

/* =========================================================
   SECTION ETAPES ("Comment ça fonctionne")
========================================================= */
.steps-section { background: var(--bg-white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(16.66% + 1.5rem); right: calc(16.66% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--navy-light), var(--orange));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 2rem;
  position: relative; z-index: 1;
}
.step-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(13,33,71,.25);
  border: 4px solid var(--bg-white);
  position: relative;
}
.step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  box-shadow: 0 8px 24px rgba(240,90,35,.3);
}
.step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 8px 24px rgba(16,185,129,.3);
}
.step h3 { margin-bottom: .6rem; }
.step p  { color: var(--text-muted); font-size: .92rem; max-width: 26ch; margin: 0 auto; }

/* =========================================================
   SECTION MISSION (two-col)
========================================================= */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mission-text .kicker {
  display: inline-block;
  background: rgba(13,33,71,.08); color: var(--navy-light);
  border-radius: 50px; padding: .3rem 1rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.mission-text h2 { margin-bottom: 1rem; }
.mission-text p  { color: var(--text-muted); margin-bottom: .9rem; }
.mission-text-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

.mini-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mini-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .8rem;
}
.mini-card-icon svg { width: 22px; height: 22px; }
.mini-card h4 { font-size: .9rem; margin-bottom: .3rem; }
.mini-card p  { font-size: .82rem; color: var(--text-muted); max-width: none; }

/* =========================================================
   TÉMOIGNAGE
========================================================= */
.testimonial-section {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.testimonial-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.testimonial-quote-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote-icon svg { width: 26px; height: 26px; color: #fff; }
blockquote {
  font-size: 1.2rem; font-style: italic; line-height: 1.7;
  color: var(--navy); font-weight: 500;
  max-width: none; margin-bottom: 1.5rem;
}
blockquote::before { content: '\201C'; }
blockquote::after  { content: '\201D'; }
.testimonial-author {
  font-size: .9rem; color: var(--text-muted); font-weight: 600;
}
.testimonial-author strong { color: var(--navy); }

/* =========================================================
   PARTENAIRES (crédibilité)
========================================================= */
.partners-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}
.partners-label {
  text-align: center;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.partner-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem 1.3rem;
  font-size: .83rem; font-weight: 700; color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.partner-chip:hover { border-color: var(--navy-light); color: var(--navy); box-shadow: var(--shadow-xs); }
.partner-chip svg { width: 18px; height: 18px; opacity: .6; }

/* =========================================================
   REJOINDRE (engagement cards)
========================================================= */
.engagement-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.engagement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.engagement-card-top {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.2rem;
}
.engagement-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.engagement-card-icon svg { width: 26px; height: 26px; }
.engagement-card h3 { font-size: 1.15rem; }
.engagement-card p  { color: var(--text-muted); font-size: .92rem; max-width: none; flex: 1; }
.engagement-card .btn { margin-top: 1.5rem; align-self: flex-start; }

/* =========================================================
   CTA BAND
========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 50%, var(--orange-light) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-band-inner { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p  { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2.2rem; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   PAGE HERO (pages internes)
========================================================= */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, #163570 60%, var(--navy-mid) 100%);
  padding: 4rem 0 3rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(240,90,35,.12), transparent 55%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero .kicker {
  display: inline-block;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: .3rem .9rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-bottom: .9rem;
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1rem; max-width: 580px; }

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .3rem; align-items: center;
  padding: .75rem 0;
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: .8rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-sep { opacity: .5; font-size: .9rem; }

/* =========================================================
   INFO BOX (transparency page)
========================================================= */
.info-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}
.info-box h3 {
  font-size: 1.05rem; margin-bottom: 1.2rem;
  padding-bottom: .8rem; border-bottom: 2px solid var(--border-light);
}
.info-row {
  display: flex; gap: 1rem; padding: .65rem 0;
  border-bottom: 1px solid var(--bg); font-size: .93rem;
}
.info-row:last-child { border-bottom: none; }
.info-row dt { font-weight: 700; min-width: 170px; color: var(--navy); flex-shrink: 0; }
.info-row dd { color: var(--text-muted); }

/* Membres du bureau */
.membres-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem; margin-bottom: 3rem;
}
.membre-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.membre-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem; color: #fff; font-weight: 800;
  box-shadow: 0 8px 24px rgba(13,33,71,.25);
}
.membre-role {
  display: inline-block; background: rgba(13,33,71,.08); color: var(--navy-light);
  border-radius: 50px; padding: .2rem .8rem;
  font-size: .78rem; font-weight: 700; margin-bottom: .8rem;
}
.membre-card h3 { font-size: 1.1rem; }

/* Programme block (mission page) */
.programme-block {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-xs);
  border-left: 5px solid var(--navy-light); margin-bottom: 2rem;
}
.programme-block.orange { border-left-color: var(--orange); }
.programme-block.green  { border-left-color: var(--green); }
.programme-block h3 { margin-bottom: .8rem; }
.programme-block ul { margin-top: .8rem; }
.programme-block ul li {
  padding: .4rem 0 .4rem 1.6rem; position: relative;
  color: var(--text-muted); font-size: .93rem;
}
.programme-block ul li::before {
  content: ''; position: absolute; left: 0; top: .9rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}

/* =========================================================
   FORMULAIRE DE CONTACT
========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem; align-items: start;
}
.contact-info-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  display: flex; gap: 1rem; align-items: flex-start;
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(13,33,71,.08);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 20px; height: 20px; color: var(--navy-light); }
.contact-card-text h4 { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin-bottom: .2rem; }
.contact-card-text p, .contact-card-text a { font-size: .93rem; color: var(--text); text-decoration: none; max-width: none; }
.contact-card-text a:hover { color: var(--orange); text-decoration: underline; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); }
.map-wrap iframe { display: block; width: 100%; height: 230px; border: none; }

.form-box {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.form-box h2 { margin-bottom: 1.8rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-weight: 600; font-size: .9rem;
  margin-bottom: .4rem; color: var(--navy);
}
.form-group label .req { color: var(--orange); margin-left: .2rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg-light); line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy-light);
  box-shadow: 0 0 0 4px rgba(36,87,179,.12);
  background: var(--bg-white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-honeypot { display: none; }
.form-submit { margin-top: 1.8rem; }
.form-submit .btn { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

.alert {
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  margin-bottom: 1.5rem; font-size: .9rem; border-left: 4px solid;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: var(--green); }
.alert-error   { background: #fef2f2; color: #7f1d1d; border-color: var(--error); }
.field-error   { color: var(--error); font-size: .8rem; margin-top: .3rem; display: block; }

/* =========================================================
   MENTIONS LÉGALES
========================================================= */
.legal-content {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 3rem; box-shadow: var(--shadow-xs); max-width: 860px; margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.15rem; margin: 2.2rem 0 .8rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--border-light);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal-content p, .legal-content li { font-size: .93rem; color: var(--text-muted); margin-bottom: .6rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; }

/* =========================================================
   VALEURS
========================================================= */
.valeurs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.valeur-item {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; text-align: center;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-xs);
}
.valeur-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .9rem;
}
.valeur-icon svg { width: 26px; height: 26px; }
.valeur-item h4 { margin-bottom: .4rem; }
.valeur-item p  { font-size: .87rem; color: var(--text-muted); max-width: none; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .steps-grid::before { display: none; }
  .steps-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .step          { padding: 0; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .mission-grid  { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item::before { display: none; }
}

@media (max-width: 768px) {
  html { font-size: 17px; }
  .hamburger { display: flex; }
  .nav-primary {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-white);
    border-bottom: 2px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav-primary.open    { display: block; }
  .nav-primary ul      { flex-direction: column; gap: .2rem; }
  .nav-primary a       { padding: .7rem 1rem; }
  .nav-primary a::after { display: none; }
  .header-inner        { position: relative; }
  .hero                { padding: 4rem 0 3rem; }
  .hero-ctas           { flex-direction: column; }
  .hero-ctas .btn      { text-align: center; justify-content: center; }
  .form-row            { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .mini-cards-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .section-pad { padding: 3.5rem 0; }
  .section-pad-sm { padding: 2.5rem 0; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .info-row    { flex-direction: column; gap: .2rem; }
  .info-row dt { min-width: auto; }
  .legal-content { padding: 1.5rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .cta-band { padding: 3.5rem 0; }
  .mini-cards-grid { grid-template-columns: 1fr; }
}

@media print {
  #site-header, #site-footer, .cta-band, .hero-visual { display: none; }
  body { font-size: 11pt; color: #000; }
}
