/* =========================================================================
   TMV - SARL | Tafoutien Métallique et Vitrages (Bamako, Mali)
   Design System Architectural Haut de Gamme — Métallerie d'Art & Vitrage
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. VARIABLES & CHARTE OFFICIELLE TMV
   ------------------------------------------------------------------------- */
:root {
  /* Nuances TMV : Bleu Institutionnel & Bleu Profond */
  --tmv-primary: #0E6FA6;
  --tmv-primary-hover: #0B5782;
  --tmv-primary-light: #1A8FD1;
  --tmv-sky: #38BDF8;
  --tmv-sky-soft: #F0F7FC;
  --tmv-sky-border: #D0E3F0;
  --tmv-dark: #0A1C2E;
  --tmv-dark-surface: #0E253C;
  --tmv-slate: #1E3A52;

  /* Typographie & Couleurs de texte */
  --text-dark: #0A1E30;
  --text-body: #3B5368;
  --text-muted: #647E94;
  --white: #FFFFFF;

  /* Neutres */
  --grey-50: #F8FAFD;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-400: #94A3B8;

  /* Couleurs d'action */
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --gold: #D4AF37;
  --success: #10B981;
  --error: #EF4444;

  /* Typographies */
  --font-head: "Space Grotesk", "Segoe UI", -apple-system, sans-serif;
  --font-body: "Work Sans", "Segoe UI", -apple-system, sans-serif;

  /* Espacements & Métriques */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container: 1220px;
  --header-h: 82px;

  /* Ombres réalistes */
  --shadow-sm: 0 2px 8px rgba(10, 28, 46, 0.05);
  --shadow-md: 0 6px 20px rgba(10, 28, 46, 0.07);
  --shadow-lg: 0 16px 36px rgba(10, 28, 46, 0.12);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* -------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--tmv-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   3. TYPOGRAPHIE
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--tmv-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 62ch;
}
.section-head {
  max-width: 700px;
  margin-bottom: var(--space-6);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

/* -------------------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
section { padding-block: var(--space-7); position: relative; }
.section-tight { padding-block: var(--space-5); }

.bg-white { background: var(--white); }
.bg-soft { background: var(--grey-50); }
.bg-blue-soft { background: var(--tmv-sky-soft); }
.bg-dark { background: var(--tmv-dark); color: var(--white); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark .lede { color: var(--grey-300); }

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

/* -------------------------------------------------------------------------
   5. TOP BAR & HEADER (Rendu Corporate / BTP Professionnel)
   ------------------------------------------------------------------------- */
.top-bar {
  background: var(--tmv-dark);
  color: var(--grey-300);
  font-size: 0.8rem;
  padding-block: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.top-bar-item i { color: var(--tmv-sky); }
.top-bar-item a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.site-header.is-scrolled {
  height: 72px;
  box-shadow: var(--shadow-md);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
}
.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.brand-text { line-height: 1.15; }
.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: var(--tmv-dark);
}
.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--tmv-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-primary { display: flex; align-items: center; gap: var(--space-4); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-body);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0px;
  height: 2px;
  background: var(--tmv-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover {
  color: var(--tmv-primary);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-links a[aria-current="page"] {
  color: var(--tmv-primary);
  font-weight: 600;
}

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tmv-dark);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-phone i {
  color: var(--tmv-primary);
  font-size: 1rem;
}
.nav-phone:hover {
  color: var(--tmv-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--tmv-dark);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   6. BOUTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--tmv-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(14, 111, 166, 0.25);
}
.btn-primary:hover {
  background: var(--tmv-primary-hover);
  box-shadow: 0 6px 18px rgba(14, 111, 166, 0.35);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--tmv-primary);
  border-color: var(--tmv-primary);
}
.btn-outline:hover {
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary-hover);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--tmv-dark);
  border-color: var(--grey-300);
}
.btn-outline-dark:hover {
  border-color: var(--tmv-dark);
  background: var(--grey-50);
}

.btn-block { width: 100%; }

/* -------------------------------------------------------------------------
   7. HERO SECTION (Ambiance Architecturale & Profondeur)
   ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
   7. HERO SECTION (Ambiance Bleue Institutionnelle TMV & Trame Blueprint)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(14, 111, 166, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, #072742 0%, #0B466E 40%, #0E6FA6 100%);
  color: var(--white);
  padding-block: var(--space-6) var(--space-7);
  border-bottom: 2px solid #09375C;
}
/* Trame architecturale blueprint blanche subtile sur fond bleu TMV */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
/* Repère technique discret (grille de points CAD) */
.hero::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
}
.hero-inner { max-width: 640px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: #BAE6FD;
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.hero-pill i { color: var(--whatsapp); font-size: 0.95rem; }

.hero .eyebrow {
  color: #7DD3FC;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-3);
  letter-spacing: -0.025em;
  font-weight: 700;
}
.hero h1 .highlight {
  display: block;
  color: #38BDF8;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.hero p.lede {
  color: #E0F2FE;
  margin-bottom: var(--space-4);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
}

/* Points clés de réassurance dans le hero */
.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-5);
  font-size: 0.925rem;
  color: var(--white);
}
.hero-checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-checklist-item i {
  color: #38BDF8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--space-6);
}

.hero-cta .btn-primary {
  background: var(--white);
  color: #072742;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-cta .btn-primary:hover {
  background: #E0F2FE;
  color: #072742;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Chiffres clés du hero en cartes architecturales bleues semi-transparentes */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid #38BDF8;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border-left-color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}
.hero-stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
}
.hero-stat-card span {
  font-size: 0.75rem;
  color: #BAE6FD;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Mise en scène de l'image Hero */
.hero-media {
  position: relative;
  z-index: 1;
}
.hero-showcase {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #072742;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.hero-showcase img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hero-showcase:hover img {
  transform: scale(1.02);
}
.hero-showcase-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(7, 39, 66, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.hero-showcase-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero-showcase-badge span {
  font-size: 0.75rem;
  color: #38BDF8;
}

/* Deux vignettes de compétences sous le hero */
.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-mini-card img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex: 0 0 auto;
}
.hero-mini-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
}
.hero-mini-card span {
  display: block;
  font-size: 0.725rem;
  color: #BAE6FD;
}

/* -------------------------------------------------------------------------
   8. BANDEAU DE CONFIANCE (4 Piliers d'Excellence)
   ------------------------------------------------------------------------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding-block: var(--space-4);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   9. SERVICES & PRESTATIONS
   ------------------------------------------------------------------------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--tmv-sky-border);
  box-shadow: var(--shadow-lg);
}
.service-thumb {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--grey-100);
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-thumb img {
  transform: scale(1.05);
}
.service-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 28, 46, 0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.service-card .card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: var(--space-2);
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
}
.service-card p {
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.55;
}
.card-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tmv-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: var(--space-2);
}
.card-link:hover {
  color: var(--tmv-primary-hover);
  gap: 9px;
}

/* -------------------------------------------------------------------------
   10. PROCESSUS DE RÉALISATION
   ------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.process-step {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.process-step:hover {
  border-color: var(--tmv-primary);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tmv-primary);
  margin-bottom: var(--space-2);
  display: inline-block;
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}
.process-step p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* -------------------------------------------------------------------------
   11. GALERIE & LIGHTBOX MODAL
   ------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--tmv-primary);
  color: var(--tmv-primary);
}
.filter-btn.active {
  background: var(--tmv-primary);
  border-color: var(--tmv-primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.gallery-item {
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
}
.gallery-item .ph-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item .gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(10, 28, 46, 0.92) 0%, rgba(10, 28, 46, 0.3) 50%, transparent 80%);
  color: var(--white);
  padding: var(--space-3);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption strong { font-family: var(--font-head); font-size: 0.95rem; }
.gallery-caption span { font-size: 0.75rem; color: var(--tmv-sky); text-transform: uppercase; }
.gallery-caption .zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.gallery-item[hidden] { display: none; }

/* Modal Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 46, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  backdrop-filter: blur(6px);
}
.modal-backdrop.is-open { display: flex; }
.modal-box {
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-dark);
}
.modal-box .ph-image {
  aspect-ratio: 16/10;
  max-height: 65vh;
  background: #000;
}
.modal-box .ph-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-info {
  padding: var(--space-4);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-top: 1px solid var(--grey-200);
}
.modal-info strong { display: block; font-size: 1.05rem; color: var(--text-dark); }
.modal-info span { color: var(--tmv-primary); font-size: 0.85rem; font-weight: 600; }

.modal-close, .modal-nav {
  position: absolute;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 28, 46, 0.75);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close:hover, .modal-nav:hover {
  background: var(--tmv-primary);
}
.modal-close { top: 12px; right: 12px; }
.modal-prev { left: 12px; top: 45%; }
.modal-next { right: 12px; top: 45%; }

/* -------------------------------------------------------------------------
   12. FORMULAIRES & CONTACT
   ------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-3);
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}
.field label .req { color: var(--tmv-primary); font-weight: 700; }
.field input, .field select, .field textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--tmv-primary);
  box-shadow: 0 0 0 3px var(--tmv-sky-soft);
  outline: none;
}
.field textarea { resize: vertical; min-height: 100px; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--error);
}
.field .error-msg {
  display: none;
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 2px;
}
.field.has-error .error-msg { display: block; }

.contact-info-card {
  background: var(--tmv-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-md);
}
.info-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.info-row .ico {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tmv-sky);
  font-size: 1.15rem;
}
.info-row strong { display: block; font-size: 0.75rem; color: var(--grey-300); text-transform: uppercase; letter-spacing: 0.05em; }
.info-row p, .info-row a { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); }

/* Cartes comparatives "La différence TMV" */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.diff-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

/* Témoignages */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  margin: 0;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
}
.client-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--grey-100);
}
.client-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tmv-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}
.client-info strong { display: block; font-size: 0.875rem; color: var(--text-dark); }
.client-info span { font-size: 0.75rem; color: var(--text-muted); }

/* -------------------------------------------------------------------------
   13. CTA BANNER
   ------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--tmv-dark) 0%, var(--tmv-primary) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: var(--white); margin-bottom: 4px; }

/* -------------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--tmv-dark);
  color: var(--grey-300);
  padding-block: var(--space-7) var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}
.footer-grid h4 {
  color: var(--white);
  margin-bottom: var(--space-3);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a { color: var(--grey-300); font-size: 0.875rem; }
.footer-links a:hover { color: var(--white); padding-left: 3px; }
.social-row { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s ease;
}
.social-row a:hover {
  background: var(--tmv-primary);
  border-color: var(--tmv-primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--grey-400);
}

/* -------------------------------------------------------------------------
   15. BOUTON FLOTTANT & ACTION MOBILE
   ------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.06);
}

.back-to-top {
  position: fixed;
  right: var(--space-4);
  bottom: calc(var(--space-4) + 68px);
  z-index: 1500;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--tmv-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary);
}

.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  padding: 8px 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.mobile-action-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
}
.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-btn.call {
  background: var(--grey-100);
  color: var(--tmv-dark);
  border: 1px solid var(--grey-300);
}
.mobile-btn.wa {
  background: var(--whatsapp);
  color: var(--white);
}

/* -------------------------------------------------------------------------
   16. ANIMATIONS
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
   17. RESPONSIVE ULTRA-OPTIMISÉ (Mobile & Tablette de Haute Qualité)
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .top-bar { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-media { max-width: 640px; margin-inline: auto; width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Tiroir mobile complet avec navigation et actions rapides */
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-3) var(--space-4) var(--space-5);
    border-top: 1px solid var(--grey-200);
    box-shadow: 0 16px 36px rgba(10, 28, 46, 0.16);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.menu-open .nav-links a {
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--grey-100);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--tmv-dark);
  }
  .site-header.menu-open .nav-links a::after {
    display: none;
  }
  .site-header.menu-open .nav-links a[aria-current="page"] {
    color: var(--tmv-primary);
  }
  .site-header.menu-open .nav-drawer-cta {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 2px dashed var(--grey-200);
  }

  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  
  .mobile-action-bar { display: block; }
  body { padding-bottom: 68px; }
  .whatsapp-float { bottom: calc(var(--space-4) + 60px); }
  .back-to-top { bottom: calc(var(--space-4) + 124px); }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  section { padding-block: var(--space-5); }
  
  /* Marque et logo compacts sur petits écrans */
  .brand-logo { height: 40px; }
  .brand-text strong { font-size: 0.95rem; }
  .brand-text span { font-size: 0.68rem; }
  
  /* Hero compact et fluide */
  .hero { padding-block: var(--space-4) var(--space-5); }
  .hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.35rem); }
  .hero h1 .highlight { font-size: 1.15rem; }
  .hero p.lede { font-size: 0.95rem; }
  .hero-pill { font-size: 0.75rem; padding: 5px 12px; }
  
  /* Boutons hero pleine largeur pour un appui facile au pouce */
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 0.85rem 1rem; }
  
  /* Chiffres clés en grille propre 3 colonnes compacte */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: var(--space-3);
  }
  .hero-stat-card {
    padding: 8px 10px;
    border-left-width: 2px;
  }
  .hero-stat-card strong { font-size: 1.35rem; }
  .hero-stat-card span { font-size: 0.65rem; }
  
  /* Image Hero adaptée */
  .hero-showcase img { height: 280px; }
  .hero-showcase-badge {
    padding: 8px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero-showcase-badge strong { font-size: 0.8rem; }
  
  /* Mini vignettes hero 2 colonnes */
  .hero-mini-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-mini-card {
    padding: 6px 8px;
    gap: 8px;
  }
  .hero-mini-card img { width: 40px; height: 40px; }
  .hero-mini-card strong { font-size: 0.75rem; }
  .hero-mini-card span { font-size: 0.65rem; }
  
  /* Bandeau réassurance en grille 2x2 propre */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-item { gap: 8px; }
  .trust-icon { width: 34px; height: 34px; font-size: 1.1rem; }
  .trust-item strong { font-size: 0.8rem; }
  .trust-item span { font-size: 0.68rem; }

  /* Formulaire et footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .gallery-grid { grid-template-columns: 1fr; }
  
  /* Bouton flottant WhatsApp */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    right: 12px;
    bottom: calc(var(--space-3) + 54px);
  }
  .back-to-top {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    right: 12px;
    bottom: calc(var(--space-3) + 112px);
  }
}

/* =========================================================================
   PAGE BANNERS & CORPORATE SUBPAGES (À PROPOS & ÉQUIPE)
   ========================================================================= */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #072742 0%, #0B466E 45%, #0E6FA6 100%);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--white);
  overflow: hidden;
  border-bottom: 3px solid rgba(56, 189, 248, 0.3);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7DD3FC;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  backdrop-filter: blur(4px);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--space-2);
  line-height: 1.15;
}

.page-banner .lede {
  color: #E0F2FE;
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #93C5FD;
  margin-bottom: var(--space-3);
}
.breadcrumb a {
  color: #BAE6FD;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}
.breadcrumb span.current {
  color: var(--white);
  font-weight: 600;
}

/* Grille de stats d'entreprise (4 cartes) */
.stat-grid-corporate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-block: var(--space-5);
}
.stat-card-corporate {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 4px solid var(--tmv-primary);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.stat-card-corporate:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: #38BDF8;
}
.stat-card-corporate .stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  color: var(--tmv-primary-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card-corporate strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.stat-card-corporate p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Timeline corporate */
.timeline-corporate {
  position: relative;
  max-width: 840px;
  margin: var(--space-6) auto 0;
  padding-left: 32px;
}
.timeline-corporate::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--tmv-primary) 0%, #38BDF8 100%);
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  margin-bottom: var(--space-5);
}
.timeline-node:last-child {
  margin-bottom: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--tmv-primary);
  box-shadow: 0 0 0 3px rgba(14, 111, 166, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.timeline-node:hover::before {
  transform: scale(1.2);
  border-color: #38BDF8;
}
.timeline-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tmv-primary);
}
.timeline-date-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  margin-bottom: 8px;
}
.timeline-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Carte de la Direction (DG Executive Profile) */
.executive-profile {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: stretch;
}
.executive-media {
  position: relative;
  background: #072742;
  overflow: hidden;
}
.executive-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.executive-badge-float {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 39, 66, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  backdrop-filter: blur(8px);
}
.executive-badge-float strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}
.executive-badge-float span {
  font-size: 0.75rem;
  color: #38BDF8;
  font-weight: 600;
}
.executive-content {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.executive-quote {
  position: relative;
  padding: var(--space-3) var(--space-4);
  background: var(--tmv-sky-soft);
  border-left: 4px solid var(--tmv-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: var(--space-4);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--tmv-primary-dark);
  line-height: 1.6;
}
.executive-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-block: var(--space-4);
  border-top: 1px solid var(--grey-200);
  padding-top: var(--space-3);
}
.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pillar-item strong {
  font-size: 0.85rem;
  color: var(--text-dark);
}
.pillar-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Pôles d'expertise & Skill Pills */
.pole-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.pole-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tmv-primary);
}
.pole-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-4);
}
.skill-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tmv-primary-dark);
  background: #EAF4FB;
  border: 1px solid #C8E3F5;
  padding: 3px 9px;
  border-radius: 999px;
}

/* Workshop Showcase Panoramic */
.workshop-showcase-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-6);
}
.workshop-showcase-img {
  position: relative;
  background: #072742;
}
.workshop-showcase-img img {
  width: 100%;
  height: clamp(300px, 40vw, 480px);
  object-fit: cover;
  display: block;
}
.workshop-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border-top: 1px solid var(--grey-200);
}
.workshop-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Manifesto Box */
.manifesto-box {
  background: linear-gradient(135deg, #072742 0%, #0E6FA6 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.manifesto-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.manifesto-box h2 {
  color: var(--white);
  margin-bottom: var(--space-3);
}
.manifesto-box p {
  color: #E0F2FE;
  line-height: 1.7;
}

/* =========================================================================
   MEDIA QUERIES FOR CORPORATE SUBPAGES
   ========================================================================= */
@media (max-width: 992px) {
  .stat-grid-corporate { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .executive-profile { grid-template-columns: 1fr; }
  .executive-media img { height: 380px; min-height: unset; }
  .executive-pillars { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
}

@media (max-width: 768px) {
  .stat-grid-corporate { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card-corporate { padding: 12px; }
  .stat-card-corporate .stat-num { font-size: 1.6rem; }
  .stat-card-corporate strong { font-size: 0.85rem; }
  .stat-card-corporate p { font-size: 0.72rem; }
  .timeline-corporate { padding-left: 20px; }
  .timeline-corporate::before { left: 4px; }
  .timeline-node::before { left: -22px; width: 14px; height: 14px; top: 12px; }
  .timeline-card { padding: 14px 16px; }
  .executive-pillars { grid-template-columns: 1fr; }
  .workshop-showcase-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =========================================================================
   FAQ & ACCORDION (FOIRE AUX QUESTIONS)
   ========================================================================= */
.faq-grid {
  max-width: 860px;
  margin: var(--space-5) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: #BAE6FD;
  box-shadow: var(--shadow-md);
}

.faq-item.is-open {
  border-color: var(--tmv-primary);
  box-shadow: 0 6px 20px rgba(14, 111, 166, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.faq-question:hover {
  color: var(--tmv-primary);
  background: #F8FAFC;
}

.faq-item.is-open .faq-question {
  color: var(--tmv-primary-dark);
  background: #F0F7FC;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tmv-sky-soft);
  color: var(--tmv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--tmv-primary);
  color: var(--white);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 var(--space-5) var(--space-4);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.faq-answer-inner strong {
  color: var(--text-dark);
}

.faq-extra-help {
  text-align: center;
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--white);
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-md);
  max-width: 680px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .faq-answer-inner p {
    padding: 0 16px 14px;
    font-size: 0.88rem;
  }
  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}