/**
 * main.css — G&M Agence Publicitaire
 * CSS principal du thème WordPress sur mesure.
 *
 * Organisation :
 *  0. Variables & Reset
 *  1. Utilitaires (container, reveal, boutons)
 *  2. Header sticky
 *  3. Hero (accueil)
 *  4. Section "Ils nous font confiance" (marquee)
 *  5. Section Services (3 piliers)
 *  6. Section Statistiques
 *  7. Section Portfolio / Réalisations
 *  8. Section Phrase d'impact
 *  9. Section Processus
 * 10. Section Pourquoi nous
 * 11. Section Témoignages
 * 12. Section CTA final
 * 13. Section Éco-responsabilité
 * 14. Section Partenaires
 * 15. Coup de pinceau (SVG brush stroke)
 * 16. Footer
 * 17. Pages internes (hero de page)
 * 18. Footer — styles WordPress (nav menus)
 * 19. Responsive
 *
 * @package gmagence
 * @version 1.0.0
 */

/* ============================================================
   0. VARIABLES & RESET
============================================================ */
:root {
  /* Palette principale */
  --navy:    #1a2e4f;
  --navy2:   #243a6a;
  --dark:    #0d1b2e;
  --orange:  #ff573c;
  --orange2: #e03d25;
  --white:   #ffffff;
  --light:   #f4f6f9;
  --light2:  #e8edf4;
  --text:    #1a2e4f;
  --muted:   #6b7f99;
  --border:  #dde4ef;

  /*
   * COUP DE PINCEAU — rappel graphique du logo G&M
   * SVG reconstruit d'après le fichier exporté du logo.
   * Forme parallélogramme : deux bords droits parallèles,
   * effilé aux extrémités, diagonal montant gauche→droite.
   * Dégradé orange-brique pour évoquer le coup de pinceau réel.
   */
  --brush-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 52'%3E%3Cpath d='M8,48 C18,44 32,39 62,35 C105,29 165,22 230,16 C290,11 345,7 385,5 C400,4 410,4 415,4 L415,12 C410,12 400,12 385,13 C345,15 290,19 230,24 C165,30 105,38 62,43 C32,46 18,48 8,49 Z' fill='url(%23g)' opacity='0.96'/%3E%3Cpath d='M50,39 C120,30 210,22 300,16 C345,13 380,10 408,8' stroke='url(%23g)' stroke-width='2' fill='none' opacity='0.2' stroke-linecap='round'/%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='420' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23ff8060'/%3E%3Cstop offset='40%25' stop-color='%23ff573c'/%3E%3Cstop offset='100%25' stop-color='%23be2e10'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");

  /* Version courte pour les étiquettes de section */
  --brush-short: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 24'%3E%3Cpath d='M3,20 C8,17 22,12 48,8 C82,4 125,3 168,5 C192,6 208,8 222,9 L222,15 C208,14 192,12 168,11 C125,10 82,11 48,15 C22,17 8,19 3,21 Z' fill='url(%23g)' opacity='0.88'/%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='230' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23ff8060'/%3E%3Cstop offset='100%25' stop-color='%23be2e10'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ============================================================
   1. UTILITAIRES
============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Animation reveal au scroll — gérée par main.js (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Délais en cascade pour les grilles */
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

/* Utilitaires typographiques partagés */
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 3px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
}
.section-title .accent { color: var(--orange); }
.section-title.on-dark { color: white; }
.section-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.section-desc.on-dark { color: rgba(255,255,255,0.5); }

/* Boutons */
.btn-primary {
  background: var(--orange);
  color: white;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.2s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-navy {
  background: var(--navy);
  color: white;
  padding: 15px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-navy:hover { background: var(--navy2); transform: translateY(-2px); }

.btn-white {
  background: white;
  color: var(--navy);
  padding: 15px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); }

/* ============================================================
   2. HEADER STICKY
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
/* Fond opaque navy après scroll — classe ajoutée par main.js */
.header.scrolled {
  background: var(--navy);
  padding: 12px 40px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.header-logo a { display: block; }
.header-logo img,
.header-logo .custom-logo {
  /* Doublé : 58px → 116px (×2 max demandé) */
  height: 116px;
  width: auto;
  transition: height 0.3s ease;
}
.header.scrolled .header-logo img,
.header.scrolled .custom-logo {
  /* Doublé proportionnellement : 42px → 84px */
  height: 84px;
}

/* WordPress injecte un <a> autour du logo — on retire les styles par défaut */
.custom-logo-link { display: block; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
/* WordPress génère des <li><a> — on les stylise proprement */
.header-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.header-nav .nav-menu li { display: flex; align-items: center; }
.header-nav .nav-menu a,
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
  text-decoration: none;
}
.header-nav .nav-menu a:hover,
.nav-link:hover { color: var(--orange); }

.header-cta {
  background: var(--orange);
  color: white;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.header-cta:hover { background: var(--orange2); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

/* ============================================================
   3. HERO — PAGE D'ACCUEIL
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  /* padding-top = hauteur approximative du header (logo 116px + padding 24px×2).
     box-sizing:border-box inclut ce padding dans la hauteur totale.
     Résultat : le centrage flex se fait SOUS le header, même sur une fenêtre
     très courte — empêche le chevauchement texte/header. */
  padding-top: 164px;
  box-sizing: border-box;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,27,46,0.92) 0%, rgba(26,46,79,0.75) 50%, rgba(13,27,46,0.88) 100%),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,87,60,0.03) 40px, rgba(255,87,60,0.03) 41px);
}
.hero-shape {
  position: absolute;
  bottom: 0; right: 0;
  width: 45%; height: 70%;
  background: linear-gradient(135deg, rgba(255,87,60,0.08), rgba(255,87,60,0.02));
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.hero-line {
  position: absolute;
  left: 40px; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  opacity: 0.4;
  transform-origin: top;
  animation: lineGrow 1.2s ease 0.3s both;
}
@keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Vidéo hero — cadre parallélogramme côté droit */
.hero-video {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 41%;
  height: 74%;
  object-fit: cover;
  object-position: center center;
  clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}
/* Fondu gauche pour blend avec le fond */
.hero-video-fade {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 41%;
  height: 74%;
  background: linear-gradient(to right, var(--dark) 0%, rgba(13,27,46,0.65) 14%, transparent 32%);
  z-index: 1;
  pointer-events: none;
  clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  /* Le décalage header est maintenant géré par padding-top sur .hero.
     On garde uniquement le padding latéral ici. */
  padding: 0 80px;
  max-width: 760px;
}
.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.8s ease 0.2s both;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: 3px;
  color: white;
  line-height: 0.95;
  /* padding-bottom = espace pour le brush sous "DE TOUT." (dernière ligne).
     Le brush (top:100% du span inline-block) se place juste sous le mot.
     Ce padding crée ensuite le gap avant .hero-sub — identique au canvas. */
  padding-bottom: 62px;
  animation: slideUp 0.8s ease 0.4s both;
}
.hero-title .accent { color: var(--orange); }
.hero-title .light-word { color: rgba(255,255,255,0.4); font-size: 0.85em; }
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
  animation: slideUp 0.8s ease 0.6s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease 0.8s both;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}
.scroll-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 1px;
  background: var(--orange);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine { to { left: 100%; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   4. SECTION "ILS NOUS FONT CONFIANCE" — Marquee
============================================================ */
.logos-section {
  background: var(--navy);
  padding: 52px 0;
  overflow: hidden;
}
.logos-header {
  text-align: center;
  margin-bottom: 28px;
}
.logos-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: white;
  display: block;
  margin-bottom: 6px;
}
.logos-sublabel {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.logos-divider {
  width: 48px; height: 2px;
  background: var(--orange);
  margin: 10px auto 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.logo-item {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  transition: color 0.25s ease;
  padding: 10px 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.logo-item:hover { color: white; }
.logo-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.8;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   5. SECTION SERVICES — 3 PILIERS
============================================================ */
.services-section {
  background: var(--white);
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card.c1::before { background: var(--orange); }
.service-card.c2::before { background: #3d9ecc; }
.service-card.c3::before { background: #5cc96e; }
.service-card:hover { background: var(--light); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: rgba(26,46,79,0.05);
  position: absolute;
  top: -8px; right: 24px;
  line-height: 1;
  user-select: none;
}
.service-icon { font-size: 40px; margin-bottom: 20px; }
.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-list { list-style: none; display: grid; gap: 6px; }
.service-list li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card.c2 .service-list li::before { background: #3d9ecc; }
.service-card.c3 .service-list li::before { background: #5cc96e; }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 20px;
  transition: gap 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.service-card:hover .service-cta { gap: 14px; }
.service-card.c2 .service-cta { color: #3d9ecc; }
.service-card.c3 .service-cta { color: #5cc96e; }

/* ============================================================
   6. STATISTIQUES — Fond navy
============================================================ */
.stats-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255,87,60,0.025) 60px, rgba(255,87,60,0.025) 61px);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============================================================
   7. PORTFOLIO / RÉALISATIONS
============================================================ */
.portfolio-section {
  background: var(--white);
  padding: 100px 0;
}
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.filter-btn:hover:not(.active) { border-color: var(--navy); color: var(--navy); }

/* Grille asymétrique — 12 colonnes */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 220px);
  gap: 8px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--light2);
}
.portfolio-item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 3; }
.portfolio-item:nth-child(2) { grid-column: 6 / 9;  grid-row: 1 / 2; }
.portfolio-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.portfolio-item:nth-child(4) { grid-column: 6 / 9;  grid-row: 2 / 3; }
.portfolio-item:nth-child(5) { grid-column: 9 / 13; grid-row: 2 / 3; }
.portfolio-item:nth-child(6) { grid-column: 1 / 5;  grid-row: 3 / 4; }
.portfolio-item:nth-child(7) { grid-column: 5 / 9;  grid-row: 3 / 4; }
.portfolio-item:nth-child(8) { grid-column: 9 / 13; grid-row: 3 / 4; }

/* Image du portfolio — remplace les fonds dégradés en production */
.pf-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover .pf-img { transform: scale(1.05); }

/* Overlay hover */
.pf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,87,60,0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.portfolio-item:hover .pf-overlay { opacity: 1; }
.pf-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.pf-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 12px;
}
.pf-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
.pf-tag {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
}
.portfolio-cta-wrap { text-align: center; margin-top: 48px; }

/* ============================================================
   8. PHRASE D'IMPACT
============================================================ */
.impact-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 50%, #2a1f3d 100%);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.impact-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,87,60,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.impact-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.impact-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px; display: block;
}
.impact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: 3px; color: white;
  line-height: 1; margin-bottom: 24px;
  position: relative;
}
.impact-sub {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.impact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.phone-cta {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-cta strong { color: white; }

/* ============================================================
   9. PROCESSUS
============================================================ */
.process-section {
  background: var(--light);
  padding: 100px 0;
  position: relative;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
/* Ligne de connexion entre étapes */
.process-track::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), #3d9ecc, #5cc96e, var(--orange));
  opacity: 0.25;
  z-index: 0;
}
.process-step {
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.process-step:hover .step-circle {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255,87,60,0.25);
}
.step-num-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 2px;
  color: var(--orange); margin-bottom: 8px;
}
.step-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 1px; color: var(--navy); margin-bottom: 8px;
}
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   10. POURQUOI NOUS
============================================================ */
.why-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,87,60,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 56px;
}
.why-item {
  background: rgba(13,27,46,0.5);
  padding: 36px 32px;
  transition: background 0.3s ease;
}
.why-item:hover { background: rgba(26,46,79,0.8); }
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700;
  letter-spacing: 1px; color: white; margin-bottom: 10px;
}
.why-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; }
.why-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid rgba(255,87,60,0.3);
  padding-bottom: 2px;
}

/* ============================================================
   11. TÉMOIGNAGES
============================================================ */
.testimonials-section {
  background: var(--white);
  padding: 100px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 12px; left: 20px;
  line-height: 1;
  user-select: none;
}
.stars { color: var(--orange); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 14px; color: var(--muted);
  line-height: 1.75; font-style: italic;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; color: white;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-company { font-size: 12px; color: var(--muted); }

/* ============================================================
   12. CTA FINAL
============================================================ */
.cta-section {
  background: var(--dark);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--orange);
}
.cta-geo-1 {
  position: absolute;
  top: -60px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,87,60,0.04);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}
.cta-geo-2 {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255,87,60,0.04);
  clip-path: polygon(50% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 3px; color: white; line-height: 1;
  /*
   * padding-bottom = espace pour le brush sous le dernier mot.
   * Le brush (top:100% du span inline-block) se place juste sous
   * "ENTREPRISE ?". Ce padding-bottom crée ensuite le gap avant .cta-sub.
   * Logique identique au canvas homepage-prototype.html.
   */
  padding-bottom: 62px;
  position: relative;
}
.cta-title .accent { color: var(--orange); }
.cta-sub {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-phone {
  font-size: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-top: 20px;
}
.cta-phone strong { color: white; }

/* ============================================================
   13. ÉCO-RESPONSABILITÉ
============================================================ */
.eco-section { background: var(--light); padding: 80px 0; }
.eco-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,142,60,0.08);
  border: 1px solid rgba(56,142,60,0.22);
  color: #2e7d32;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; margin-bottom: 14px;
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.eco-item {
  background: white;
  padding: 32px 20px;
  text-align: center;
  transition: background 0.3s ease;
}
.eco-item:hover { background: var(--light); }
.eco-icon { font-size: 30px; margin-bottom: 14px; }
.eco-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 1px; color: var(--navy); margin-bottom: 8px;
}
.eco-item-desc { font-size: 12px; color: var(--muted); line-height: 1.65; }
.eco-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.5px;
}
.eco-note strong { color: #388e3c; }

/* ============================================================
   14. PARTENAIRES — 3 partenaires institutionnels
============================================================ */
.partners-section {
  background: var(--dark);
  padding: 80px 0;
  border-top: 3px solid var(--orange);
  /* IMPORTANT : position:relative + overflow:hidden nécessaires pour
     contenir le .bg-icons-layer (position:absolute; inset:0).
     Sans eux, les icônes débordent sur toute la page. */
  position: relative;
  overflow: hidden;
}
.partners-header { text-align: center; margin-bottom: 56px; }
.partners-sup {
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange);
  display: flex; align-items: center;
  justify-content: center; gap: 12px; margin-bottom: 12px;
}
.partners-sup::before, .partners-sup::after {
  content: ''; display: block;
  width: 32px; height: 1px;
  background: var(--orange); opacity: 0.5;
}
.partners-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px; letter-spacing: 4px;
  color: white; margin-bottom: 10px;
}
.partners-desc { font-size: 14px; color: rgba(255,255,255,0.35); }
.partners-flex {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
}
.partner-item {
  flex: 1;
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  transition: background 0.3s ease;
  position: relative;
}
.partner-item:last-child { border-right: none; }
.partner-item:hover { background: rgba(255,87,60,0.06); }
.partner-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.partner-item:hover::after { transform: scaleX(1); }
.partner-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  display: block;
  transition: color 0.2s ease;
  line-height: 1; margin-bottom: 10px;
}
.partner-item:hover .partner-name { color: white; }
.partner-role {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; color: var(--orange);
  text-transform: uppercase;
  display: block; opacity: 0.7;
  transition: opacity 0.2s ease;
}
.partner-item:hover .partner-role { opacity: 1; }
.partner-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  transition: color 0.2s ease;
  text-decoration: none;
}
.partner-item:hover .partner-link { color: rgba(255,255,255,0.5); }

/* ============================================================
   15. COUP DE PINCEAU — brush stroke SVG
============================================================ */
.brush-under {
  position: relative;
  display: inline-block;
}
.brush-under::after {
  content: '';
  position: absolute;
  left: 0; bottom: -24px;
  width: 100%; height: 48px;
  background: var(--brush-stroke) no-repeat center / 100% 100%;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.reveal.visible .brush-under::after,
.brush-under.drawn::after { transform: scaleX(1); }

.brush-divider {
  display: block;
  width: 300px; height: 48px;
  background: var(--brush-stroke) no-repeat center / 100% 100%;
  margin: 6px 0 28px 0;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.reveal.visible .brush-divider { transform: scaleX(1); }
.brush-divider.centered { margin: 12px auto 0; }

.brush-hero {
  display: block;
  position: absolute;
  left: -6%; top: 100%;
  margin-top: 2px;
  width: 115%; height: 48px;
  background: var(--brush-stroke) no-repeat left / 100% 100%;
  animation: brushDraw 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
  transform-origin: left center;
}
@keyframes brushDraw {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ============================================================
   16. FOOTER
============================================================ */
.footer {
  background: #060e18;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* WordPress custom-logo dans le footer */
.footer .custom-logo-link img,
.footer-logo-img {
  height: 70px;
  width: auto;
  margin-bottom: 20px;
}
.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px;
  color: white; display: block; margin-bottom: 20px;
}
.footer-about {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-social { display: flex; gap: 8px; }
.social-link, .social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.4);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}
.social-link:hover, .social-btn:hover {
  background: var(--orange); border-color: var(--orange); color: white;
}
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
}
/* Menus WordPress générés dans le footer */
.footer-nav-list { list-style: none; }
.footer-nav-list li { display: block; }
.footer-contact-list { list-style: none; }
.footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer-link:hover { color: rgba(255,255,255,0.8); }
.footer-link--legal {
  font-size: 11px;
  color: rgba(255,255,255,0.18) !important;
  cursor: default;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer-bottom-link:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   17. PAGES INTERNES — Hero de page
============================================================ */
.page-hero {
  background: var(--dark);
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.page-hero-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.page-hero-tag::before {
  content: ''; display: block;
  width: 32px; height: 2px;
  background: var(--orange); flex-shrink: 0;
}
/* Limite la largeur du contenu texte dans les hero de pages internes */
.page-hero-content { max-width: 680px; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 3px; color: white; line-height: 1; margin-bottom: 20px;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero p {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 580px; line-height: 1.7;
}

/* ============================================================
   19. RESPONSIVE
============================================================ */
/* ============================================================
   20. ICÔNES FLOTTANTES — background décoratif sections sombres
   Technique : CSS keyframes pure, GPU-accelerated (transform + opacity).
   pointer-events:none → ne gêne pas les interactions.
   z-index:0, texte à z-index:1 → icônes toujours derrière.
   Opacité : 0.11–0.65 pour être visibles sans dominer.
============================================================ */
@keyframes bgIconFloat {
  0%, 100% { transform: translateY(0px)   rotate(0deg);    opacity: 0.65; }
  30%       { transform: translateY(-16px) rotate(2deg);    opacity: 0.65; }
  60%       { transform: translateY(8px)   rotate(-1.5deg); opacity: 0.65; }
}
.bg-icons-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bg-icon {
  position: absolute;
  animation: bgIconFloat ease-in-out infinite;
  /* Taille, délai et durée définis inline sur chaque icône */
}
/* Garantit que le contenu des sections reste au-dessus des icônes */
.stats-section > *:not(.bg-icons-layer) { position: relative; z-index: 1; }
.impact-section > *:not(.bg-icons-layer) { position: relative; z-index: 1; }
.why-section > *:not(.bg-icons-layer) { position: relative; z-index: 1; }
.partners-section > *:not(.bg-icons-layer) { position: relative; z-index: 1; }
.cta-section > *:not(.bg-icons-layer):not(.cta-geo-1):not(.cta-geo-2) { position: relative; z-index: 1; }
/* page-hero : icônes derrière le texte de titre */
.page-hero > *:not(.bg-icons-layer) { position: relative; z-index: 1; }

/* ============================================================
   21. CTA BANDE ORANGE — Page À propos (canvas a-propos.html)
   Section simple fond orange, utilisée à la place de la section
   sombre .cta-section sur la page À propos uniquement.
============================================================ */
.cta-band {
  background: var(--orange);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 3px;
  color: white;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
}
.btn-white {
  background: white;
  color: var(--orange);
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
}

/* ============================================================
   21. PAGE À PROPOS — Sections spécifiques
   Ces styles reproduisent fidèlement le rendu du canvas a-propos.html
============================================================ */

/* Histoire — layout 2 colonnes (image + texte) */
.history-section { padding: 100px 0; background: var(--white); }
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.history-img-block { position: relative; }
.history-img-block img { width: 100%; object-fit: cover; height: 480px; display: block; }
.history-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--orange);
  color: white;
  padding: 24px;
  text-align: center;
}
.history-img-badge .big-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; line-height: 1; letter-spacing: 2px;
}
.history-img-badge .badge-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.history-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: 3px; color: var(--navy); line-height: 1; margin-bottom: 24px;
}
.history-title .accent { color: var(--orange); }
.history-body p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.history-body p strong { color: var(--navy); }
.history-highlight {
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  background: var(--light);
  margin: 24px 0;
  font-size: 15px; font-style: italic; color: var(--navy); line-height: 1.7;
}
.history-highlight cite {
  display: block; font-size: 12px; font-style: normal;
  font-weight: 700; color: var(--orange);
  margin-top: 8px; letter-spacing: 1px; text-transform: uppercase;
}

/* Stats — bande sombre 4 colonnes (À propos) */
.stats-mini { background: var(--navy); padding: 60px 0; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
/* Chaque .stat-item réutilisé, mais dans stats-row ils ont une séparation verticale */
.stats-row .stat-item {
  padding: 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats-row .stat-item:last-child { border-right: none; }
.stats-row .stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px; color: var(--orange); line-height: 1; letter-spacing: 2px;
}
.stats-row .stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}

/* Équipe — section fond clair */
.team-section { background: var(--light); padding: 100px 0; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  padding: 36px 32px;
  position: relative; overflow: hidden;
}
.team-card:nth-child(2) { border-top-color: var(--navy); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: white;
  margin-bottom: 20px; flex-shrink: 0;
}
.team-card:nth-child(2) .team-avatar { background: var(--orange); }
.team-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 2px; color: var(--navy); margin-bottom: 4px;
}
.team-role {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.team-card:nth-child(2) .team-role { color: var(--navy); }
.team-bio { font-size: 14px; color: var(--muted); line-height: 1.75; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.team-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--navy);
  border: 1px solid var(--border); padding: 4px 10px;
}

/* Valeurs — fond sombre, grille 3×2 */
.values-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.values-section::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 60px,
    rgba(255,87,60,0.025) 60px, rgba(255,87,60,0.025) 61px
  );
  pointer-events: none;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 56px;
}
.value-item {
  background: rgba(13,27,46,0.5);
  padding: 36px 28px;
  transition: background 0.3s;
}
.value-item:hover { background: rgba(26,46,79,0.8); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  color: white; margin-bottom: 8px;
}
.value-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* Partenaires grille — version page À propos (fond blanc).
   On utilise .partners-section--grid pour ne pas écraser le fond sombre
   de la section homepage (.partners-section avec background: var(--dark)).
   Sans ce modificateur, le fond blanc de l'À propos rendait les textes
   blancs invisibles sur la page d'accueil. */
.partners-section--grid {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.partner-card {
  border: 1px solid var(--border);
  padding: 28px 24px;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: default;
}
.partner-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.partner-card-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px; color: var(--navy); margin-bottom: 4px;
}
.partner-card-role {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.partner-card-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }
.partner-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--orange); margin-top: 14px;
}

/* Responsif À propos */
@media (max-width: 960px) {
  .history-layout { grid-template-columns: 1fr; gap: 40px; }
  .history-img-block img { height: 300px; }
  .history-img-badge { right: 0; bottom: -10px; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  /* Menu mobile ouvert — classe ajoutée par main.js */
  .header-nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .header-nav.open .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .header-nav.open .nav-menu a {
    font-size: 28px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
  }
  /* Vidéo hero mobile — bande pleine largeur en bas du hero.
     Pas de parallélogramme : format plein écran propre.
     Un fondu haut→bas masque la jonction avec le fond sombre. */
  .hero-video {
    display: block;          /* réaffiche la vidéo */
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 42%;             /* occupe le bas du hero */
    clip-path: none;         /* plus de parallélogramme sur mobile */
    object-fit: cover;
    object-position: center center;
  }
  /* Fondu vertical haut→bas : fond sombre en haut, transparent en bas.
     La vidéo "émerge" progressivement du fond sans coupure nette. */
  .hero-video-fade {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 42%;
    clip-path: none;
    background: linear-gradient(
      to bottom,
      var(--dark) 0%,
      rgba(13,27,46,0.75) 35%,
      rgba(13,27,46,0.25) 70%,
      transparent 100%
    );
  }
  /* Masquer la ligne verticale orange sur mobile : à left:40px fixe, elle
     couperait le texte du hero sur les petits écrans. */
  .hero-line { display: none; }
  /* Le hero passe en colonne : texte en haut, vidéo en bas.
     align-items:flex-start aligne le texte à gauche.
     padding-top hérité du desktop (164px) suffit à dégager le header sur mobile. */
  .hero {
    align-items: flex-start;
    justify-content: flex-start;
  }
  /* Petit espace de respiration seulement — le padding-top de .hero gère le header */
  .hero-content { padding: 20px 24px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .portfolio-item { grid-column: auto !important; grid-row: auto !important; height: 200px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-track::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-flex { flex-wrap: wrap; }
  .partner-item { min-width: 200px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  /* padding-top géré par .hero (164px global) — juste l'espace latéral */
  .hero-content { padding: 0 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .impact-section, .cta-section { padding: 80px 24px; }
  .header { padding: 16px 24px; }
  .header.scrolled { padding: 12px 24px; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { height: 240px; }
}
