/* =========================================================
   AEHPI Design System
   ========================================================= */

:root {
  /* Brand colors */
  --navy-950: #0a1d36;
  --navy-900: #0f2744;
  --navy-800: #162f52;
  --navy-700: #1e4876;
  --navy-500: #3b6ba5;
  --navy-300: #93b5d6;
  --navy-100: #dae8f6;
  --navy-50:  #eef4fb;

  --coral-700: #b84e2e;
  --coral-600: #cd5f3e;
  --coral-500: #e07856;
  --coral-400: #eb9376;
  --coral-100: #fce8dc;
  --coral-50:  #fdf3ed;

  --amber-500: #f59e0b;
  --amber-100: #fef3c7;

  --success: #16a34a;
  --warning: #d97706;

  /* Neutrals */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;
  --cream:   #fbf8f3;

  /* Typography */
  --font-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 39, 68, 0.06);
  --shadow-sm: 0 2px 6px rgba(15, 39, 68, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 39, 68, 0.10);
  --shadow-lg: 0 18px 48px rgba(15, 39, 68, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--coral-500); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.25rem, 4.5vw + 1rem, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem); }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; color: var(--navy-900); }
p  { margin: 0 0 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--coral-600);
  margin-bottom: 1rem;
  display: inline-block;
}

/* =========================================================
   Layout
   ========================================================= */

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 7rem 0; }

.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy-900); color: var(--navy-100); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-soft  { background: var(--ink-50); }
.bg-coral { background: var(--coral-50); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-md); }

.btn-coral {
  background: var(--coral-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-coral:hover { background: var(--coral-600); color: var(--white); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--ink-300);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.btn-light {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}
.btn-light:hover { background: var(--coral-50); border-color: var(--coral-50); color: var(--navy-900); }

.btn-link {
  padding: 0;
  background: none;
  color: var(--navy-900);
  font-weight: 600;
}
.btn-link:hover { color: var(--coral-500); }
.btn-link svg { transition: transform .2s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* =========================================================
   Header / Nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  color: var(--navy-900);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-sm);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy-900); font-weight: 600; }
.brand-text span { font-size: .72rem; color: var(--ink-500); font-weight: 500; letter-spacing: .02em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.nav-menu > li { position: relative; }
.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .55rem .6rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--navy-900); background: var(--navy-50); }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-200);
  padding: .6rem;
  padding-top: 1rem;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: .6rem;
  background: transparent;
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: .65rem .8rem;
  border-radius: 8px;
}
.dropdown-panel a strong { display: block; color: var(--navy-900); font-weight: 600; font-size: .95rem; }
.dropdown-panel a span { color: var(--ink-500); font-size: .82rem; }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: .55rem .65rem;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; min-width: 22px; color: var(--navy-900); flex-shrink: 0; }

@media (max-width: 1180px) {
  .nav-menu, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: block; }
  .nav-cta .btn-coral { padding: .6rem 1rem; font-size: .85rem; }
}

/* Mobile: make header more compact, hide brand subtitle to save space */
@media (max-width: 720px) {
  .nav { gap: .5rem; padding: .65rem 0; }
  .brand { gap: .55rem; }
  .brand-mark { width: 36px; height: 36px; font-size: 1rem; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { display: none; } /* hide "par l'AEHPI · Montpellier" on small screens */
  .nav-cta { gap: .4rem; }
  .nav-cta .btn-coral { padding: .5rem .75rem; font-size: .78rem; }
  .nav-cta .btn-coral svg { display: none; } /* hide heart icon on small screens */
  .nav-toggle { padding: .45rem .55rem; }
  .nav-toggle svg { width: 20px; height: 20px; }
}

@media (max-width: 400px) {
  .nav-cta .btn-coral { display: none; } /* hide donate button only on very small screens */
}

/* ── Mobile menu (slide-down panel) ──────────────────── */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--ink-200);
  padding: .75rem 0 1.25rem;
  margin-top: .65rem;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: slide-down .25s ease-out;
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu .mobile-nav > li { margin: 0; border-bottom: 1px solid var(--ink-100); }
.mobile-menu .mobile-nav > li:last-child { border-bottom: none; }

/* Top-level direct links (Accueil, Contact) */
.mobile-menu .mobile-nav > li > a {
  display: block;
  padding: .9rem .25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
  text-decoration: none;
}
.mobile-menu .mobile-nav > li > a:hover,
.mobile-menu .mobile-nav > li > a:focus {
  color: var(--coral-600);
  background: var(--coral-50);
  padding-left: .75rem;
}

/* Accordion (details/summary) for sub-menus */
.mobile-menu details { border: none; }
.mobile-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem .25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg {
  flex-shrink: 0;
  color: var(--coral-500);
  transition: transform .25s ease;
}
.mobile-menu details[open] summary {
  color: var(--coral-700);
  background: var(--coral-50);
  padding-left: .75rem;
  border-bottom: 1px solid var(--coral-200);
}
.mobile-menu details[open] summary svg {
  transform: rotate(180deg);
}

/* Sub-menu items (inside details) */
.mobile-menu details ul {
  background: var(--ink-50);
  padding: .25rem 0;
}
.mobile-menu details ul li {
  border-bottom: 1px solid rgba(15, 39, 68, 0.05);
}
.mobile-menu details ul li:last-child { border-bottom: none; }
.mobile-menu details ul a {
  display: block;
  padding: .7rem 1.25rem .7rem 2rem;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink-700);
  text-decoration: none;
  position: relative;
}
.mobile-menu details ul a::before {
  content: "→";
  position: absolute;
  left: .85rem;
  color: var(--coral-400);
  font-size: .85rem;
}
.mobile-menu details ul a:hover,
.mobile-menu details ul a:focus {
  color: var(--coral-700);
  background: var(--coral-50);
  padding-left: 2.25rem;
}

/* Mobile CTA buttons */
.mobile-menu .mobile-cta {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink-100);
}
.mobile-menu .mobile-cta .btn {
  flex: 1;
  justify-content: center;
  padding: .75rem 1rem;
  font-size: .9rem;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background:
    radial-gradient(1200px 400px at 80% 20%, rgba(224, 120, 86, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(59, 107, 165, 0.22), transparent 60%),
    linear-gradient(to bottom, var(--navy-50), var(--white));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 39, 68, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  opacity: .55;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 4rem 0 3rem; }
}

.hero h1 { margin-top: 1rem; }
.hero h1 em { font-style: italic; color: var(--coral-500); font-weight: 400; }
.hero-lead {
  font-size: 1.18rem;
  color: var(--ink-700);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-accreditation {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  padding: .55rem .95rem .55rem .55rem;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  font-size: .85rem;
  color: var(--ink-700);
}
.hero-accreditation .dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--coral-500);
  display: grid; place-items: center;
  color: white; font-size: .7rem; font-weight: 700;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(224, 120, 86, 0.35), transparent 50%);
}
.hero-visual .hero-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: .9rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.hero-visual .hero-card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-400), var(--coral-600));
  flex-shrink: 0;
}
.hero-visual .hero-card .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--navy-900);
  line-height: 1.45;
}

.hero-visual .floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .85rem 1.1rem;
  z-index: 3;
  font-size: .88rem;
  color: var(--navy-900);
  font-weight: 600;
  display: flex; align-items: center; gap: .6rem;
}
.hero-visual .f1 { top: 1.5rem; right: -1rem; }
.hero-visual .f2 { top: 42%; left: -1.5rem; }

.hero-visual .floating .icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--navy-50); color: var(--navy-700);
  display: grid; place-items: center;
}
.hero-visual .floating .icon.coral { background: var(--coral-100); color: var(--coral-600); }

/* Decorative shape inside hero visual */
.hero-shape {
  position: absolute;
  width: 65%;
  height: 65%;
  top: 20%;
  left: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), transparent);
  filter: blur(20px);
}

/* =========================================================
   Bar: trust / accreditation / stats
   ========================================================= */

.trust-bar {
  padding: 1.2rem 0;
  background: var(--navy-900);
  color: var(--navy-100);
}
.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .88rem;
}
.trust-bar-inner span { display: flex; align-items: center; gap: .5rem; }
.trust-bar-inner svg { width: 18px; height: 18px; color: var(--coral-400); }

/* =========================================================
   User paths / cards
   ========================================================= */

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .path-grid { grid-template-columns: 1fr; } }

.path-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--ink-200);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-50), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.path-card:hover::before { opacity: 1; }
.path-card > * { position: relative; }

.path-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--navy-50);
  color: var(--navy-700);
}
.path-card:nth-child(1) .icon-wrap { background: var(--coral-100); color: var(--coral-700); }
.path-card:nth-child(2) .icon-wrap { background: var(--navy-50); color: var(--navy-700); }
.path-card:nth-child(3) .icon-wrap { background: var(--amber-100); color: #92400e; }
.path-card:nth-child(4) .icon-wrap { background: #e0f2fe; color: #075985; }

.path-card h3 { margin: 0; font-size: 1.4rem; color: var(--navy-900); }
.path-card p { color: var(--ink-500); font-size: .95rem; margin: 0; flex-grow: 1; }
.path-card .arrow {
  align-self: flex-start;
  font-weight: 600;
  color: var(--navy-900);
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .9rem;
}
.path-card:hover .arrow { color: var(--coral-500); }

/* =========================================================
   Service cards (big, list-style)
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 820px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all .25s var(--ease);
  min-width: 0;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy-300);
}
.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.service-card .tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-600);
  margin-bottom: .35rem;
}
.service-card h3 { margin-bottom: .3rem; }
.service-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: .5rem;
}
.service-card ul li {
  display: flex; gap: .6rem;
  align-items: flex-start;
  font-size: .95rem;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.service-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral-500);
  margin-top: .55rem;
  flex-shrink: 0;
}

/* =========================================================
   Stats
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }

.stat {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 0 .5rem;
  border-right: 1px solid var(--ink-200);
}
.stat:last-child { border-right: none; }
@media (max-width: 780px) {
  .stat { border-right: none; border-bottom: 1px solid var(--ink-200); padding-bottom: 1rem; }
  .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-num em { color: var(--coral-500); font-style: normal; }
.stat-label { font-size: .88rem; color: var(--ink-500); }

/* =========================================================
   Feature (EHPICENTRIA spotlight)
   ========================================================= */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 2.5rem; } }

.feature-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--coral-400), var(--coral-600));
  box-shadow: var(--shadow-lg);
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(15, 39, 68, 0.3), transparent 55%);
}
.feature-visual .visual-number {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  line-height: 1;
}
.feature-visual .visual-label {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  color: white;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
}
.feature-visual .visual-badge {
  position: absolute;
  top: 2rem; right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}

.feature ul.check-list {
  list-style: none;
  padding: 0; margin: 1rem 0;
  display: grid; gap: .65rem;
}
.feature ul.check-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.feature ul.check-list svg {
  color: var(--coral-500);
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* =========================================================
   Resource cards
   ========================================================= */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .resource-grid { grid-template-columns: 1fr; } }

.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
  overflow: hidden;
}
.resource-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(224, 120, 86, 0.4), transparent 60%);
}
.resource-thumb .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid; place-items: center;
  color: var(--navy-900);
  z-index: 2;
}
.resource-thumb .duration {
  position: absolute;
  bottom: .7rem; right: .7rem;
  background: rgba(15, 39, 68, 0.85);
  color: white;
  font-size: .75rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  z-index: 2;
}
.resource-content { padding: 1.35rem 1.5rem 1.5rem; }
.resource-meta {
  display: flex; gap: .6rem; align-items: center;
  font-size: .78rem; color: var(--ink-500);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.resource-meta .dot { width: 4px; height: 4px; background: var(--ink-300); border-radius: 50%; }
.resource-content h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.resource-content p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* =========================================================
   Testimonials
   ========================================================= */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--ink-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial .stars { color: var(--amber-500); display: flex; gap: 2px; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--navy-900);
  font-style: italic;
}
.testimonial .author {
  display: flex; align-items: center; gap: .75rem;
  margin-top: auto;
}
.testimonial .author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  display: grid; place-items: center;
  color: white; font-weight: 600; font-size: .9rem;
}
.testimonial .author strong { color: var(--navy-900); font-size: .95rem; font-weight: 600; display: block; }
.testimonial .author span { color: var(--ink-500); font-size: .85rem; }

/* =========================================================
   CTA banner
   ========================================================= */

.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: white;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(224, 120, 86, 0.3), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(59, 107, 165, 0.4), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: white; margin-bottom: 1rem; max-width: 30ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--navy-100); max-width: 48ch; margin: 0 auto 1.75rem; font-size: 1.08rem; }
.cta-band .btn-group { display: inline-flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 640px) { .cta-band { padding: 3rem 1.5rem; } }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--navy-950);
  color: var(--navy-100);
  padding: 4.5rem 0 2rem;
  margin-top: 5rem;
}
.site-footer a { color: var(--navy-100); }
.site-footer a:hover { color: var(--coral-400); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { color: var(--white); }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: var(--navy-300); }
.footer-brand p { color: var(--navy-300); font-size: .92rem; max-width: 32ch; margin-top: 1rem; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: .6rem;
}
.footer-col li a {
  color: var(--navy-300);
  font-size: .93rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .84rem;
  color: var(--navy-300);
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: background .2s;
}
.social a:hover { background: var(--coral-500); color: white; }
.social svg { width: 18px; height: 18px; }

/* =========================================================
   Page heads (inner pages)
   ========================================================= */

.page-head {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(224, 120, 86, 0.15), transparent 60%),
    linear-gradient(to bottom, var(--navy-50), var(--white));
  border-bottom: 1px solid var(--ink-200);
}
.breadcrumbs {
  font-size: .85rem;
  color: var(--ink-500);
  margin-bottom: 1.25rem;
  display: flex; gap: .4rem; align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--coral-500); }
.breadcrumbs .sep { color: var(--ink-300); }

.page-head h1 { max-width: 22ch; }
.page-head p.lead {
  font-size: 1.18rem;
  color: var(--ink-700);
  max-width: 60ch;
  margin-top: 1rem;
}

/* =========================================================
   Prose (article body)
   ========================================================= */

.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 { margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.75; color: var(--ink-700); }
.prose blockquote {
  border-left: 4px solid var(--coral-500);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--coral-50);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy-900);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose ul li::marker { color: var(--coral-500); }
.prose hr { border: none; border-top: 1px solid var(--ink-200); margin: 3rem 0; }
.prose strong { color: var(--navy-900); }

/* Info callouts */
.callout {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--coral-500);
  background: var(--coral-50);
  margin: 1.5rem 0;
}
.callout h4 { margin-top: 0; color: var(--navy-900); }
.callout.navy { border-color: var(--navy-700); background: var(--navy-50); }

/* =========================================================
   Tariffs / price cards
   ========================================================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all .25s var(--ease);
}
.price-card.featured {
  border: 2px solid var(--coral-500);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card.featured::before {
  content: "Recommandé";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--coral-500);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .35rem .75rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy-300); }
.price-card h3 { margin-bottom: .25rem; }
.price-card .price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy-900);
  line-height: 1;
}
.price-card .price small {
  font-size: .95rem;
  color: var(--ink-500);
  font-family: var(--font-sans);
  font-weight: 400;
}
.price-card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .55rem;
  flex-grow: 1;
}
.price-card ul li {
  display: flex; gap: .55rem;
  font-size: .95rem;
  align-items: flex-start;
}
.price-card ul li svg {
  width: 18px; height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: .15rem;
}

/* =========================================================
   Form
   ========================================================= */

form.contact-form {
  display: grid;
  gap: 1.25rem;
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
}
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { form .row { grid-template-columns: 1fr; } }

form label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: .4rem;
}
form input, form select, form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--ink-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(59, 107, 165, 0.2);
}
form textarea { min-height: 140px; resize: vertical; }
form .consent {
  font-size: .85rem;
  color: var(--ink-500);
  display: flex; gap: .55rem; align-items: flex-start;
}
form .consent input { width: auto; margin-top: .25rem; }

/* =========================================================
   Tabs / segmented
   ========================================================= */

.tabs {
  display: inline-flex;
  background: var(--ink-100);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 2rem;
}
.tabs button {
  border: none;
  background: transparent;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink-500);
  cursor: pointer;
  transition: all .2s;
}
.tabs button.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-xs);
}

/* =========================================================
   Regional grid
   ========================================================= */

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 820px) { .region-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .region-grid { grid-template-columns: 1fr; } }

.region-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.region-card .dept { font-size: .78rem; color: var(--coral-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.region-card h3 { margin: 0; font-size: 1.25rem; color: var(--navy-900); }
.region-card .lead-name { color: var(--ink-700); font-size: .95rem; margin-top: .3rem; }
.region-card .coord { display: flex; flex-direction: column; gap: .2rem; margin-top: .6rem; font-size: .88rem; }
.region-card .coord a { color: var(--navy-700); }

/* =========================================================
   Chips / filters
   ========================================================= */

.chip-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--white);
  border: 1px solid var(--ink-300);
  color: var(--ink-700);
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--navy-700); color: var(--navy-900); }
.chip.active { background: var(--navy-900); border-color: var(--navy-900); color: white; }

/* =========================================================
   Utils
   ========================================================= */

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 62ch; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .flex-col { flex-direction: column; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; }

/* Fade in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: white;
  padding: .5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; color: white; }

/* Mission grid - responsive */
.mission-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
@media (max-width: 720px) { .mission-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Global mobile overflow guard */
@media (max-width: 640px) {
  .section > .container > [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  img, video, iframe { max-width: 100% !important; }
}
