/* ============================================
   TERRITORIA Mutuelle — Premium Design System
   Version 2.0 — Refonte complète
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors — Warm palette */
  --primary: #C8102E;
  --primary-dark: #A50D22;
  --primary-darker: #7A0A1B;
  --primary-light: #E8384F;
  --primary-glow: rgba(200, 16, 46, 0.15);

  --accent: #FF6B35;
  --accent-light: #FF9A6C;
  --accent-glow: rgba(255, 107, 53, 0.12);

  --teal: #0D9488;
  --teal-light: #5EEAD4;
  --blue: #2563EB;
  --pink: #DB2777;
  --purple: #7C3AED;
  --orange: #F97316;
  --success: #16A34A;

  --navy: #1A202C;
  --navy-light: #2D3748;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;

  --warm-bg: #FEFCFB;
  --warm-100: #FFF7ED;
  --warm-50: #FFFBF5;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows — Layered for depth */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-red: 0 4px 14px rgba(200,16,46,0.25);
  --shadow-red-lg: 0 10px 30px rgba(200,16,46,0.3);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--duration);
}

.skip-link:focus {
  top: 16px;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

p { line-height: 1.75; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   HEADER — Glassmorphism
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--duration);
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header .logo img {
  height: 60px;
  width: auto;
  transition: transform var(--duration);
}

.header .logo:hover img {
  transform: scale(1.03);
}

.header .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.header .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--duration);
  position: relative;
}

.header .nav-link:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.header .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.header .btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  margin-left: 8px;
  transition: all var(--duration);
  box-shadow: var(--shadow-red);
}

.header .btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red-lg);
}

.header .btn-nav.active {
  background: var(--primary-dark);
}

.header .btn-nav::after {
  display: none !important;
}

/* Sous-menu déroulant "Nos missions" */
.nav-dropdown { position: relative; }

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration), transform var(--duration), visibility var(--duration);
  z-index: 200;
}

.nav-dropdown::after {
  /* zone tampon pour éviter la fermeture au survol */
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(6px);
}

.nav-submenu li { margin: 0; }

.nav-submenu a {
  display: block;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  transition: all var(--duration);
}

.nav-submenu a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* Burger Menu */
.header .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
  z-index: 110;
}

.header .menu-toggle:hover {
  background: var(--gray-50);
}

.header .menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 300ms var(--ease);
  transform-origin: center;
}

.header .menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header .menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header .menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO — Premium with depth
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,32,44,0.94) 0%,
    rgba(122,10,27,0.86) 50%,
    rgba(200,16,46,0.80) 100%);
  z-index: 1;
}

/* Grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-shape-1 {
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  animation: float-slow 8s ease-in-out infinite;
}

.hero-shape-2 {
  bottom: 10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,16,46,0.1) 0%, transparent 70%);
  animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  text-align: center;
  padding: 140px 24px 100px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.8vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* halo de lisibilit&eacute; pour le texte en d&eacute;grad&eacute; sur fond clair */
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.4));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 1.2s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Entry animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS — Premium
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(200,16,46,0.04);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--duration);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================
   SECTIONS — Base
   ============================================ */
.section {
  padding: 100px 0;
}

.section-sm { padding: 72px 0; }
.section-lg { padding: 120px 0; }

.section-white { background: var(--white); }
.section-light { background: var(--gray-50); }
.section-warm { background: var(--warm-50); }
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--gray-800) 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: rgba(200,16,46,0.06);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag-light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title-light { color: var(--white); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.75;
  font-weight: 400;
}

.section-subtitle-light { color: rgba(255,255,255,0.7); }

/* ============================================
   STATS BAR — Animated Counters
   ============================================ */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--gray-200);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================
   FEATURE CARDS — Axes d'action
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 38px 30px 30px;
  transition: transform var(--duration-slow) var(--ease),
              box-shadow var(--duration-slow) var(--ease),
              border-color var(--duration-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Top accent bar (brand red) — grows on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width var(--duration-slow) var(--ease);
  z-index: 2;
}

/* Large editorial index watermark (01–05) */
.feature-card::after {
  content: attr(data-index);
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gray-100);
  transition: color var(--duration-slow);
  pointer-events: none;
  z-index: 0;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200,16,46,0.18);
}

.feature-card:hover::before { width: 100%; }
.feature-card:hover::after { color: rgba(200,16,46,0.07); }

.feature-card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 22px;
  background: rgba(200,16,46,0.08);
  color: var(--primary);
  transition: background var(--duration), color var(--duration), transform var(--duration);
}

.feature-card:hover .feature-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  transition: gap var(--duration), color var(--duration);
}

.feature-card-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ============================================
   ABOUT SECTION — Split Layout
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.02rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--duration), color var(--duration);
}

.about-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(200,16,46,0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating stat card on image */
.about-float-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-float-card .stat-number {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.about-float-card .stat-label {
  font-size: 0.82rem;
}

/* ============================================
   VALUES — Pourquoi nous
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--duration-slow) var(--ease);
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-glow) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-slow);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.value-card:hover::before {
  opacity: 1;
}

.value-card-icon {
  position: relative;
  width: 64px;
  height: 64px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all var(--duration-slow);
}

.value-card:hover .value-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.value-card h3 {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all var(--duration-slow);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #FBBF24;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.partner-logo {
  height: 40px;
  opacity: 0.35;
  filter: grayscale(100%);
  transition: all var(--duration);
}

.partner-logo:hover {
  opacity: 0.7;
  filter: grayscale(0%);
}

/* ============================================
   CTA BANNER — Premium
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 60%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER — Rich Premium
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-group {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: all var(--duration);
}

.footer-social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h2 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.4;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: all var(--duration);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 4px;
}

.footer-newsletter {
  margin-top: 4px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  opacity: 0.6;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--duration);
}

.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer-newsletter-input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.1);
}

.footer-newsletter-btn {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--duration);
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  opacity: 0.7;
  transition: opacity var(--duration);
}

.footer-legal a:hover {
  opacity: 1;
}

/* ============================================
   PAGE HERO — Inner pages
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,16,46,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.03em;
}

.page-hero p,
.page-hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================
   ABOUT / IDENTITY (inner page)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 20px;
  color: var(--gray-600);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.about-card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.about-card-item:last-child { margin-bottom: 0; }

.about-card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}

.about-card-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-card-text p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ============================================
   QUOTE / RAISON D'ETRE
   ============================================ */
.quote-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.quote-box::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 28px;
  font-size: 6rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-box blockquote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
}

.quote-attribution {
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Values grid 3 cols */
.values-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================
   KEY FIGURES (inner pages)
   ============================================ */
.figures-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.figure-item-inner {
  text-align: center;
  padding: 44px 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-slow);
}

.figure-item-inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.figure-number-inner {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.figure-label-inner {
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   ACCORDION — Premium
   ============================================ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--duration);
}

.accordion-item:hover {
  border-color: var(--gray-300);
}

.accordion-item.active,
.accordion-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.accordion-header,
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: background var(--duration);
  user-select: none;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
  text-align: left;
}

.accordion-header:hover,
.accordion-trigger:hover {
  background: var(--gray-50);
}

.accordion-item.active .accordion-header,
.accordion-trigger[aria-expanded="true"] {
  background: rgba(200,16,46,0.03);
}

.accordion-header h3,
.accordion-trigger span {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.accordion-trigger[aria-expanded="true"] span {
  color: var(--primary);
}

.accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-50);
  transition: all var(--duration);
}

.accordion-item.active .accordion-icon,
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--primary);
  transform: rotate(180deg);
}

.accordion-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gray-500);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-item.active .accordion-icon svg,
.accordion-trigger[aria-expanded="true"] .accordion-icon svg {
  stroke: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content {
  padding: 0 24px 24px;
  color: var(--gray-600);
  line-height: 1.85;
  font-size: 0.95rem;
}

.accordion-content p {
  color: var(--gray-600);
  line-height: 1.85;
  font-size: 0.95rem;
  padding-bottom: 16px;
}

/* Accordion: trigger variant — direct child collapse (no .accordion-body wrapper) */
.accordion-item > .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Blog card image — gradient-only display (no <img> inside) */
.blog-card-image {
  background-size: cover;
  background-position: center;
}

/* CTA banner — ensure buttons always visible on dark bg */
.cta-banner .btn:not(.btn-white):not(.btn-primary):not(.btn-outline-white) {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.cta-banner .btn:not(.btn-white):not(.btn-primary):not(.btn-outline-white):hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   MISSION CARDS — Nos missions page
   ============================================ */
.mission-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  border-top: 4px solid var(--primary);
  transition: all var(--duration);
}

.mission-card .accordion { max-width: 100%; }

.mission-card-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
}

.mission-number {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.3;
}

.mission-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.mission-intro {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.mission-block { margin-top: 26px; }
.mission-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.mission-block p {
  color: var(--gray-600);
  line-height: 1.8;
}
.mission-more { margin-top: 32px; }

/* ============================================
   NOS MISSIONS — accès rapide (5 pictos)
   ============================================ */
.mission-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.mission-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 16px 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--gray-800);
  text-decoration: none;
  transition: transform var(--duration), box-shadow var(--duration), border-color var(--duration);
}
.mission-nav-item:hover,
.mission-nav-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}
.mission-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--primary-glow);
  color: var(--primary);
}
.mission-nav-icon svg { width: 26px; height: 26px; }
.mission-nav-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  opacity: 0.55;
}
.mission-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
}
.mission-nav-item:hover .mission-nav-icon,
.mission-nav-item:focus-visible .mission-nav-icon {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   Commissions thématiques (gouvernance)
   ============================================ */
.commission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.commission-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 22px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--duration), box-shadow var(--duration), border-color var(--duration);
}
.commission-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}
.commission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-200);
}
.commission-photo {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.28), var(--shadow-md);
  margin-bottom: 18px;
  transition: box-shadow var(--duration);
}
.commission-card:hover .commission-photo {
  box-shadow: 0 0 0 3px var(--primary), var(--shadow-lg);
}
.commission-card .commission-name {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  margin: 0 0 14px;
  padding-bottom: 14px;
  position: relative;
  letter-spacing: -0.01em;
}
.commission-name::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  opacity: 0.35;
}
.commission-pres {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}
.commission-pres strong { color: var(--primary); font-weight: 700; }
@media (max-width: 760px) {
  .commission-grid { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---- Trombinoscope du Bureau ---- */
.bureau-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
}
.bureau-card {
  position: relative;
  flex: 1 1 212px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 22px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--duration), box-shadow var(--duration), border-color var(--duration);
}
.bureau-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}
.bureau-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-200);
}
.bureau-photo {
  width: 124px;
  height: 124px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.28), var(--shadow-md);
  margin-bottom: 18px;
  transition: box-shadow var(--duration);
}
.bureau-card:hover .bureau-photo {
  box-shadow: 0 0 0 3px var(--primary), var(--shadow-lg);
}
.bureau-card .bureau-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.bureau-card .bureau-role {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 18px;
  padding-bottom: 14px;
  line-height: 1.4;
}
.bureau-role::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  opacity: 0.35;
}
.bureau-bio {
  font-size: 0.84rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 520px) {
  .bureau-card { flex-basis: 100%; max-width: 340px; }
}

@media (max-width: 860px) {
  .mission-nav { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 420px) {
  .mission-nav-item { padding: 20px 10px 18px; }
  .mission-nav-icon { width: 48px; height: 48px; }
  .mission-nav-title { font-size: 0.88rem; }
}

/* ============================================
   PAGES DÉDIÉES — contenu "prose"
   ============================================ */
.prose { max-width: 720px; margin: 0 auto; }
.prose > .lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 8px;
}
.prose-section { margin-top: 52px; }
.prose-section > h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.prose-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 26px 0 10px;
}
.prose-section p { color: var(--gray-600); line-height: 1.8; margin-bottom: 18px; }
.prose-section ul { margin: 4px 0 18px; padding-left: 20px; }
.prose-section li { color: var(--gray-600); line-height: 1.75; margin-bottom: 9px; }
.prose-section a { color: var(--primary); font-weight: 500; }
.prose-section a:hover { color: var(--primary-dark); }

/* Paragraphes « terme : description » -> lignes scannables (au lieu d'un mur) */
.prose-section p:has(> strong:first-child) {
  margin: 0 0 10px;
  padding: 13px 18px;
  background: var(--gray-50);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  line-height: 1.65;
  color: var(--gray-700);
}
.prose-section p:has(> strong:first-child) strong { color: var(--gray-900); }

.prose-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.prose-card h3 { margin-top: 0; }

/* Photo éditoriale intégrée en tête de section (pages missions) */
.section-figure {
  margin: 10px 0 28px;
}
.section-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-sm);
}
.section-figure figcaption {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-style: italic;
}

/* Bandeau d'information (offre en cours) */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--primary-50, #fdf2f4);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.info-banner svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.info-banner p { margin: 0; color: var(--gray-700); line-height: 1.7; }
.info-banner strong { color: var(--primary); }

/* Portraits partenaires */
.partner-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--gray-100);
}
.partner-item .logo-placeholder { width: 130px; height: 80px; font-size: 0.8rem; }
.partner-item h3 { margin-top: 0; }
.partner-logo {
  max-width: 130px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Logo conçu pour fond foncé (ex. ANDCDG, texte blanc) : pastille sombre pour le rendre lisible sur fond blanc */
.partner-logo--dark {
  max-width: 100%;
  max-height: none;
  width: 100%;
  padding: 14px 16px;
  background: #2d313a;
  border-radius: var(--radius-md);
  opacity: 1;
  filter: none;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .partner-item { grid-template-columns: 1fr; gap: 14px; }
  .partner-logo--dark { max-width: 220px; }
}

.section--alt { background: var(--gray-50); }
.section--light { background: var(--gray-50); }

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--gray-600);
}

/* ============================================
   CTA BANNER — Inner variant
   ============================================ */
.cta-banner-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-inner h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-banner-inner .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Filtres Actualités / ressources */
.blog-filters {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-right: 6px;
  min-width: 92px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 7px 15px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration);
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.blog-noresults {
  text-align: center;
  color: var(--gray-500);
  padding: 40px 0;
  font-size: 1.05rem;
}
.blog-card-imglink { display: block; }
.blog-card-title a { color: inherit; text-decoration: none; transition: color var(--duration); }
.blog-card-title a:hover { color: var(--primary); }

/* Page article */
.article-image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
#articleBody p { color: var(--gray-600); line-height: 1.85; margin-bottom: 16px; }
#articleBody h2, #articleBody h3 { margin: 28px 0 12px; color: var(--gray-900); }
#articleBody a:not(.download-link) { color: var(--primary); font-weight: 500; }
#articleBody ul { padding-left: 20px; margin-bottom: 16px; }
#articleBody li { color: var(--gray-600); line-height: 1.75; margin-bottom: 6px; }
#articleBody img { max-width: 100%; height: auto; }
#articleBody .article-figure { margin: 20px 0 28px; }
#articleBody .article-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
#articleBody .article-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}
#articleBody .article-figure figcaption a { color: var(--primary); font-weight: 600; }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(200,16,46,0.06);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap var(--duration);
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

.card.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease);
  cursor: pointer;
}

.card.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-block {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-block h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 12px;
}

.newsletter-block p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--navy);
  transition: all var(--duration);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.newsletter-input::placeholder {
  color: var(--gray-400);
}

.newsletter-btn {
  flex-shrink: 0;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration);
}

.newsletter-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--primary);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-500);
  border-radius: var(--radius-md);
  transition: all var(--duration);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
}

.form-success {
  display: none;
  background: rgba(22,163,74,0.06);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 24px;
  color: #166534;
  font-weight: 600;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

.form-success.show { display: block; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--duration);
}

.contact-info-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-50);
  min-height: 240px;
  border: 1px solid var(--gray-100);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
}

/* Renvoi TERRITORIA prévoyance */
.contact-note {
  margin: 24px 0;
  padding: 24px 28px;
  background: var(--primary-50, #fdf2f4);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
}

.contact-note h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-note p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-note-link {
  font-weight: 600;
  color: var(--primary);
  transition: color var(--duration);
}

.contact-note-link:hover { color: var(--primary-dark); }

/* Encart Groupe APICIL (Qui sommes-nous) */
.apicil-box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.apicil-box-media { display: flex; justify-content: center; }
.apicil-logo { width: 100%; max-width: 210px; height: auto; }

.logo-placeholder {
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  line-height: 1.3;
}

.apicil-box-content h2 { margin: 8px 0 16px; }
.apicil-box-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }

.apicil-box-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.apicil-link {
  font-weight: 600;
  color: var(--primary);
  transition: color var(--duration);
}
.apicil-link:hover { color: var(--primary-dark); }

/* Lien de téléchargement (PDF) */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--primary);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: all var(--duration);
}
.download-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .apicil-box { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .apicil-box-media { justify-content: flex-start; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay for grid items */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-badge, .hero-title, .hero-subtitle, .hero-ctas, .hero-scroll {
    animation: none !important;
    opacity: 1 !important;
  }
  .hero-shape-1, .hero-shape-2 { animation: none !important; }
  .hero-scroll-line { animation: none !important; }
  .hero-badge-dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:nth-child(2)::after { display: none; }

  .cards-grid, .cards-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .mission-card {
    padding: 36px 28px;
  }

  .values-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .figures-grid-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
/* Navigation : burger dès la tablette (≤ 960px) */
@media (max-width: 960px) {
  .header .container { height: 68px; }
  .header .logo img { height: 48px; }

  .header .menu-toggle { display: flex; }

  .header .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 400ms var(--ease);
    z-index: 105;
    padding: 96px 24px 48px;
    overflow-y: auto;
  }

  .header .nav.open { transform: translateX(0); }

  .header .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .header .nav-link {
    display: block;
    font-size: 1.2rem;
    padding: 6px 28px;
    text-align: center;
  }

  .header .nav-link.active::after { display: none; }

  .header .btn-nav {
    display: block;
    margin-left: 0;
    margin-top: 16px;
    padding: 15px 44px;
    font-size: 1rem;
  }

  /* Sous-menu en mode mobile : liste statique indentée */
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0 0;
    margin-top: 6px;
  }

  .nav-submenu a {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-500);
    padding: 7px 12px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .hero-content { padding: 120px 20px 80px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .hero-scroll { display: none; }

  .stats-section { margin-top: -40px; }
  .stats-container { padding: 32px 24px; border-radius: var(--radius-lg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item::after { display: none !important; }

  .cards-grid, .cards-grid-5,
  .values-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .about-split { gap: 32px; }
  .about-image img { height: 300px; }
  .about-features { grid-template-columns: 1fr; }

  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 1.8rem; }

  .values-grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .figures-grid-inner { grid-template-columns: 1fr; gap: 16px; }

  .quote-box { padding: 32px 20px; }
  .quote-box blockquote { font-size: 1.1rem; }

  .mission-card { padding: 28px 20px; }
  .mission-card-header { flex-direction: column; gap: 12px; }
  .mission-number { font-size: 2.5rem; }

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .cta-banner { padding: 64px 0; }
  .cta-banner h2 { font-size: 1.3rem; }
  .cta-banner-inner h2 { font-size: 1.25rem; }

  .newsletter-form { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .partners-row { gap: 28px; }
}

/* ============================================
   RESPONSIVE — Small Mobile
   ============================================ */
@media (max-width: 375px) {
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.5rem; }
}

/* ============================================
   ACCESSIBILITÉ — Focus clavier visible (RGAA 10.7)
   ============================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Contextes sombres / rouges : anneau blanc pour rester perceptible */
.hero :focus-visible,
.page-hero :focus-visible,
.cta-banner :focus-visible,
.cta-banner-inner :focus-visible,
.footer :focus-visible,
.btn-primary:focus-visible,
.btn-nav:focus-visible,
.filter-chip.active:focus-visible {
  outline-color: #ffffff;
  outline-offset: 3px;
}

/* Mention champs obligatoires (formulaire) */
.form-note { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 20px; }
.form-note .required { color: var(--primary); font-weight: 700; }

/* ============================================
   ACCESSIBILITÉ — utilitaires & erreurs de formulaire
   ============================================ */
/* Contenu réservé aux lecteurs d'écran (RGAA 9.1 : titres masqués) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Erreurs de saisie (RGAA 11.10 : ne pas signaler par la seule couleur) */
.form-control[aria-invalid="true"] {
  border-color: var(--primary);
  background: #fff;
}
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-dark);
}
.field-error.show { display: flex; gap: 6px; align-items: center; }
.field-error::before {
  content: "⚠"; font-size: 0.9em;
}

/* RGAA 10.6 : liens identifiables au sein du texte (soulignement) */
.prose-section p a,
.prose-section li a,
#articleBody a:not(.download-link),
.info-banner a,
.mission-block a,
.contact-note p a,
.lead a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Cartes mission avec visuel latéral (page récap Nos missions) ===== */
.mission-card--media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.mission-card--media .mission-card-media { margin: 0; display: block; }
.mission-card--media .mission-card-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}
.mission-card--media .mission-card-main { padding: 44px 44px; }
.mission-card--media.reverse .mission-card-media { order: 2; }
@media (max-width: 860px) {
  .mission-card--media { grid-template-columns: 1fr; padding: 0; }
  .mission-card--media.reverse .mission-card-media { order: 0; }
  .mission-card--media .mission-card-media img { min-height: 200px; max-height: 280px; }
  .mission-card--media .mission-card-main { padding: 30px 26px; }
}
