/* ============================================================
   COTRAC - Compagnie des Travaux et Constructions
   CSS Global — Moderne, Professionnel, Rapide
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --bleu:       #1a6bb5;
  --bleu-dark:  #0f4d8a;
  --bleu-light: #e8f1fb;
  --orange:     #f7941d;
  --orange-dark:#d97a0a;
  --blanc:      #ffffff;
  --gris-clair: #f5f7fa;
  --gris:       #6b7280;
  --gris-dark:  #374151;
  --texte:      #1f2937;
  --border:     #e5e7eb;
  --shadow:     0 4px 24px rgba(26,107,181,0.10);
  --shadow-lg:  0 8px 40px rgba(26,107,181,0.15);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utilitaires ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-bleu { color: var(--bleu); }
.text-orange { color: var(--orange); }
.bg-gris { background: var(--gris-clair); }
.bg-bleu { background: var(--bleu); }
.bold { font-weight: 700; }

/* ---- Titres de section ---- */
.section-tag {
  display: inline-block;
  background: var(--bleu-light);
  color: var(--bleu);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-tag.orange { background: #fff3e0; color: var(--orange); }

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--texte);
  line-height: 1.18;
  margin-bottom: 16px;
}
.section-title span { color: var(--bleu); }
.section-title.light { color: var(--blanc); }
.section-title.light span { color: var(--orange); }

.section-sub {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.75;
}
.section-sub.left { margin-left: 0; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--blanc);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,148,29,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--blanc);
  color: var(--bleu);
  border-color: var(--blanc);
  transform: translateY(-2px);
}
.btn-bleu {
  background: var(--bleu);
  color: var(--blanc);
  border-color: var(--bleu);
}
.btn-bleu:hover {
  background: var(--bleu-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,107,181,0.35);
}
.btn-sm { padding: 8px 16px; font-size: 0.82rem; white-space: nowrap; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-wrap: nowrap;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo img {
  height: 52px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bleu);
  line-height: 1;
}
.logo-text .name span { color: var(--orange); }
.logo-text .tagline {
  font-size: 0.62rem;
  color: var(--gris);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  display: none;
}

.nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.nav-link {
  position: relative;
  padding: 8px 10px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--gris-dark);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--bleu);
  background: var(--bleu-light);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gris-dark);
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown a:hover { background: var(--bleu-light); color: var(--bleu); }
.dropdown a .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bleu);
  flex-shrink: 0;
}

.nav-cta { margin-left: 12px; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--texte);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO — layout 2 colonnes
   ============================================================ */
.hero {
  background: var(--bleu-dark);
  position: relative;
  overflow: hidden;
  padding-top: calc(72px + 24px);
  padding-bottom: 40px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  overflow: hidden;
}
.hero-waves svg { width: 100%; height: 100%; }

/* Layout 2 colonnes */
.hero > .container { position: relative; z-index: 3; }
.hero-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}
.hero-layout > * { min-width: 0; }

/* Colonne gauche */
.hero-left {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--orange);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 800;
  color: var(--blanc);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-title span { color: var(--orange); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }

/* Bouton appel direct */
.btn-appel {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; font-weight: 700;
  font-size: .9rem; padding: 13px 22px; border-radius: 50px;
  text-decoration: none; position: relative; overflow: visible;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}
.btn-appel:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.55); color: #fff; }
.btn-appel-pulse {
  position: absolute; inset: -4px; border-radius: 50px;
  border: 2px solid rgba(37,211,102,0.5);
  animation: appel-pulse 1.8s ease-out infinite;
}
@keyframes appel-pulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Agréments hero */
.hero-agrements {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.agrement-label {
  font-size: .78rem; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .08em;
}
.agrement-badge {
  display: inline-flex; align-items: center;
  background: rgba(247,148,29,0.15); border: 1px solid rgba(247,148,29,0.4);
  color: #f7941d; font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px; letter-spacing: .04em;
}

/* Stats sous les boutons */
.hero-stats {
  display: flex;
  gap: 2px;
}
.stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-top: 3px solid var(--orange);
  padding: 14px 20px;
  text-align: center;
  color: var(--blanc);
  transition: background 0.2s;
  flex: 1;
}
.stat-card:hover { background: rgba(255,255,255,0.2); }
.stat-card:first-child { border-radius: 10px 0 0 10px; }
.stat-card:last-child  { border-radius: 0 10px 10px 0; }
.stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Hero layout : 1 colonne pleine largeur ── */
.hero-layout { grid-template-columns: 1fr !important; }
.hero-right  { display: none; }

/* ── Bande photos défilante droite→gauche ── */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  height: 160px;
  width: 100%;
}
.hero-slider::before,
.hero-slider::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-slider::before { left: 0;  background: linear-gradient(to right, var(--bleu-dark), transparent); }
.hero-slider::after  { right: 0; background: linear-gradient(to left,  var(--bleu-dark), transparent); }

.hero-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  height: 160px;
  animation: heroSlide 30s linear infinite;
}

.hero-slider-card {
  width: 220px;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-slider-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes heroSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



.hero-photo-sm img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-title { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .hero-slider { height: 140px; }
  .hero-slider-card { width: 180px; height: 140px; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 6px; }
  .stat-card { flex: 1 1 calc(50% - 6px); border-radius: 10px !important; }
}

/* ============================================================
   PÔLES D'ACTIVITÉS
   ============================================================ */
.poles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}
.poles-grid .pole-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}
@media (max-width: 1024px) {
  .poles-grid .pole-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}
@media (max-width: 640px) {
  .poles-grid .pole-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.pole-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26,107,181,0.06);
}
.pole-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--bleu);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: height 0.2s ease;
}
.pole-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,107,181,0.14);
  border-color: var(--border);
}
.pole-card:hover::before { height: 5px; }
.pole-card.orange::before { background: var(--orange); }
.pole-card.green::before { background: #27ae60; }
.pole-card.purple::before { background: #8e44ad; }
.pole-card.teal::before { background: #0891b2; }

.pole-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--bleu-light);
}
.pole-card.orange .pole-icon { background: #fff3e0; }
.pole-card.green .pole-icon { background: #e8f8f0; }
.pole-card.purple .pole-icon { background: #f3e8fd; }
.pole-card.teal .pole-icon { background: #e0f7fa; }

.pole-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--texte);
}
.pole-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
}
.pole-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tag {
  display: inline-block;
  background: var(--bleu-light);
  color: var(--bleu);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.pole-card.orange .tag { background: #fff3e0; color: #c2610a; }
.pole-card.green  .tag { background: #e8f8f0; color: #1a7c46; }
.pole-card.purple .tag { background: #f3e8fd; color: #6b21a8; }
.pole-card.teal   .tag { background: #e0f7fa; color: #0e7490; }
.pole-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bleu);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.pole-link:hover { gap: 10px; }
.pole-card.orange .pole-link { color: var(--orange); }
.pole-card.green .pole-link { color: #27ae60; }
.pole-card.purple .pole-link { color: #8e44ad; }
.pole-card.teal .pole-link { color: #0891b2; }

/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, #0d1f3c 0%, var(--bleu-dark) 50%, #1a5fa0 100%);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-item .number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-item .plus { color: var(--blanc); }
.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.stat-item .stat-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ============================================================
   RÉALISATIONS PREVIEW
   ============================================================ */
.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .projets-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .projets-grid { grid-template-columns: 1fr; gap: 16px; }
}
.projet-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.projet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.projet-img {
  height: 180px;
  background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.projet-img img { width: 100%; height: 100%; object-fit: cover; }
.projet-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge-termine { background: #d1fae5; color: #065f46; }
.badge-encours { background: #fef3c7; color: #92400e; }
.projet-body { padding: 20px; }
.projet-pole {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bleu);
  margin-bottom: 8px;
}
.projet-titre {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 6px;
  line-height: 1.4;
}
.projet-client {
  font-size: 0.82rem;
  color: var(--gris);
}
.projet-client strong { color: var(--gris-dark); }

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partenaires-track {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}
.partenaires-track::before,
.partenaires-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.partenaires-track::before { left: 0; background: linear-gradient(to right, var(--blanc), transparent); }
.partenaires-track::after { right: 0; background: linear-gradient(to left, var(--blanc), transparent); }
.partenaires-slider {
  display: flex;
  gap: 24px;
  animation: slide 30s linear infinite;
  width: max-content;
}
.partenaires-slider:hover { animation-play-state: paused; }
.partenaire-item {
  background: var(--gris-clair);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gris-dark);
  white-space: nowrap;
  transition: var(--transition);
}
.partenaire-item:hover {
  background: var(--bleu);
  color: var(--blanc);
  border-color: var(--bleu);
}

/* ============================================================
   VALEURS / WHY US
   ============================================================ */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.valeur-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(26,107,181,0.06);
  transition: var(--transition);
}
.valeur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,107,181,0.12);
  border-color: var(--bleu-light);
}
.valeur-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-radius: 16px;
  margin: 0 auto 20px;
}
.valeur-icon .ico {
  width: 2rem;
  height: 2rem;
  background-color: var(--orange);
}
.valeur-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--texte);
  margin-bottom: 10px;
}
.valeur-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ============================================================
   PAGE INTÉRIEURE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d1f3c 0%, var(--bleu-dark) 50%, var(--bleu) 100%);
  padding: calc(72px + 56px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: var(--blanc); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.page-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blanc);
  margin-bottom: 16px;
}
.page-hero-title span { color: var(--orange); }
.page-hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.75;
}

/* ============================================================
   SERVICES DETAIL
   ============================================================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e8f0fb, #cddcf7);
  border-radius: 14px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-icon .ico {
  width: 1.6rem;
  height: 1.6rem;
  background-color: var(--bleu);
}
.service-item {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(26,107,181,0.05);
}
.service-item:hover {
  box-shadow: 0 8px 28px rgba(26,107,181,0.12);
  border-color: var(--bleu);
  transform: translateY(-3px);
}
.service-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-item h3 .icon { font-size: 1.3rem; }
.service-item ul { padding-left: 0; }
.service-item ul li {
  font-size: 0.88rem;
  color: #4b5563;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.service-item ul li:last-child { border-bottom: none; }
.service-item ul li::before {
  content: '→';
  color: var(--bleu);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   FORMULAIRE CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-card .icon {
  width: 48px; height: 48px;
  background: var(--bleu-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 0.78rem; font-weight: 700; color: #6b7280; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card p, .contact-card a { font-size: 0.95rem; font-weight: 600; color: var(--texte); }
.contact-card a:hover { color: var(--bleu); }

.form-box {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gris-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--texte);
  background: var(--blanc);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(26,107,181,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.form-message.success { background: #d1fae5; color: #065f46; display: block; }
.form-message.error { background: #fee2e2; color: #991b1b; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a1628;
  color: rgba(255,255,255,0.78);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text .name { color: var(--blanc); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.4); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.72);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; color: var(--orange); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blanc);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a::before { content: '→'; font-size: 0.75rem; color: var(--orange); }
.footer-col ul li a:hover { color: var(--blanc); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom a { color: var(--orange); }
.footer-legal-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.footer-legal-links a:hover { color: var(--orange); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

/* ---- Animations scroll : fade-up ---- */
.animate-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }
.animate-fade-up.delay-1 { transition-delay: 0.1s; }
.animate-fade-up.delay-2 { transition-delay: 0.2s; }
.animate-fade-up.delay-3 { transition-delay: 0.3s; }
.animate-fade-up.delay-4 { transition-delay: 0.4s; }

/* ---- Animations scroll : fade-left / fade-right ---- */
.animate-fade-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.animate-fade-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.animate-fade-left.visible, .animate-fade-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Animations scroll : zoom-in ---- */
.animate-zoom-in { opacity: 0; transform: scale(0.88); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.animate-zoom-in.visible { opacity: 1; transform: scale(1); }

/* Réduire les animations si préférence système */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .animate-fade-left, .animate-fade-right, .animate-zoom-in, .stagger-item {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-content { animation: fadeUp 0.8s ease forwards; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: #0d1b2a;
  color: var(--blanc);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar .sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar .sidebar-logo .name { color: var(--blanc); font-size: 1.2rem; }
.admin-sidebar .sidebar-logo .tagline { color: rgba(255,255,255,0.4); font-size: 0.6rem; }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  margin-bottom: 4px;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(247,148,29,0.15);
  color: var(--orange);
}
.admin-nav-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-nav-section {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  padding: 16px 16px 8px;
}

.admin-main { flex: 1; background: var(--gris-clair); display: flex; flex-direction: column; }
.admin-topbar {
  background: var(--blanc);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-topbar h1 { font-size: 1.1rem; font-weight: 700; color: var(--texte); }
.admin-content { padding: 32px; flex: 1; }

.admin-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.admin-card h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.admin-stat {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-stat .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--bleu-light);
}
.admin-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--texte); }
.admin-stat .lbl { font-size: 0.8rem; color: var(--gris); }

.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gris);
  background: var(--gris-clair);
  border-bottom: 1px solid var(--border);
}
table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--texte);
  border-bottom: 1px solid var(--border);
}
table tr:hover td { background: var(--gris-clair); }
.action-btns { display: flex; gap: 8px; }
.btn-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-edit { background: var(--bleu-light); color: var(--bleu); }
.btn-edit:hover { background: var(--bleu); color: var(--blanc); }
.btn-delete { background: #fee2e2; color: #dc2626; }
.btn-delete:hover { background: #dc2626; color: var(--blanc); }

/* ============================================================
   ICÔNES SVG — système .ico
   Chaque icône = un span inline-block avec mask SVG sur fond currentColor
   ============================================================ */
.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}

/* Pôles */
.ico-btp {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 22 21 22 21 8 12 2 3 8'/%3E%3Crect x='9' y='13' width='6' height='9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 22 21 22 21 8 12 2 3 8'/%3E%3Crect x='9' y='13' width='6' height='9'/%3E%3C/svg%3E");
}
.ico-energie {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}
.ico-routes {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21L12 3l7 18'/%3E%3Cline x1='8.5' y1='13' x2='15.5' y2='13'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21L12 3l7 18'/%3E%3Cline x1='8.5' y1='13' x2='15.5' y2='13'/%3E%3C/svg%3E");
}
.ico-industrie {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='4' height='14'/%3E%3Cpath d='M6 7l5-5v18H6'/%3E%3Cpath d='M11 7l6 4V7l5-5v18H11'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='4' height='14'/%3E%3Cpath d='M6 7l5-5v18H6'/%3E%3Cpath d='M11 7l6 4V7l5-5v18H11'/%3E%3C/svg%3E");
}
/* Services */
.ico-eclairage {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 2.6-1.4 4.9-3.5 6.2L15 17H9l-.5-1.8A7 7 0 0 1 12 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 2.6-1.4 4.9-3.5 6.2L15 17H9l-.5-1.8A7 7 0 0 1 12 2z'/%3E%3C/svg%3E");
}
.ico-poste {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 9h1v6H9M14 9h1m-1 3h1m-1 3h1'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 9h1v6H9M14 9h1m-1 3h1m-1 3h1'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3C/svg%3E");
}
.ico-solaire {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='10' width='18' height='7' rx='1'/%3E%3Cpath d='M7 10V7m4 3V5m4 5V7M5 17l-2 4m16-4 2 4M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='10' width='18' height='7' rx='1'/%3E%3Cpath d='M7 10V7m4 3V5m4 5V7M5 17l-2 4m16-4 2 4M3 10h18'/%3E%3C/svg%3E");
}
.ico-signalisation {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cline x1='12' y1='22' x2='12' y2='12'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cline x1='12' y1='22' x2='12' y2='12'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3C/svg%3E");
}
.ico-wrench, .ico-maintenance {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}
/* Contact */
.ico-location {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.ico-phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.92 12 19.79 19.79 0 0 1 1.88 3.4 2 2 0 0 1 3.86 1.21h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 8.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.92 12 19.79 19.79 0 0 1 1.88 3.4 2 2 0 0 1 3.86 1.21h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 8.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.ico-mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}
.ico-message {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
/* Valeurs */
.ico-target {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}
.ico-handshake {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11L12 14 22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11L12 14 22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
}
.ico-globe {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}
.ico-shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}
.ico-leaf {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
}
.ico-award, .ico-certificate {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E");
}
.ico-senegal {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cline x1='9' y1='4' x2='9' y2='20'/%3E%3Cline x1='15' y1='4' x2='15' y2='20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cline x1='9' y1='4' x2='9' y2='20'/%3E%3Cline x1='15' y1='4' x2='15' y2='20'/%3E%3C/svg%3E");
}
/* Admin */
.ico-chart {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3Cline x1='2' y1='20' x2='22' y2='20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3Cline x1='2' y1='20' x2='22' y2='20'/%3E%3C/svg%3E");
}
.ico-file {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
}
.ico-lock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.ico-users {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.ico-star {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23000' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23000' points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

/* Tailles et couleurs contextuelles supplémentaires */
.pole-icon .ico                     { width: 2.2rem; height: 2.2rem; background-color: var(--bleu-dark); }
.pole-card.orange .pole-icon .ico   { background-color: var(--orange); }
.pole-card.green  .pole-icon .ico   { background-color: #27ae60; }
.pole-card.purple .pole-icon .ico   { background-color: #8e44ad; }
.pole-card.teal   .pole-icon .ico   { background-color: #0891b2; }
.service-icon .ico                  { width: 1.6rem; height: 1.6rem; background-color: var(--bleu); }
.contact-card-icon .ico,
.contact-card .icon .ico { width: 1.8rem; height: 1.8rem; background-color: var(--orange); }
.hero-badge .ico         { background-color: rgba(255,255,255,0.9); }
.footer-contact-item .icon .ico { width: 1em; height: 1em; background-color: rgba(255,255,255,0.7); }
.section-normes .ico     { background-color: var(--bleu); }

/* ============================================================
   GALERIE PHOTOS
   ============================================================ */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.galerie-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
  box-shadow: var(--shadow);
}
.galerie-item.galerie-large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.galerie-item:hover img { transform: scale(1.05); }
.galerie-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 32px 14px 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galerie-item:hover .galerie-caption { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { margin-top: 40px; border-radius: var(--radius); overflow: hidden; }
  .contact-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-item.galerie-large { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--blanc);
    border-bottom: 2px solid var(--bleu);
    flex-direction: column;
    padding: 12px;
    gap: 6px;
    box-shadow: 0 8px 32px rgba(26,107,181,.13);
  }
  .nav.open { display: flex; }

  /* Liens principaux — style bouton avec bordure */
  .nav-item { width: 100%; }
  .nav-link {
    width: 100%;
    padding: 13px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: #f8fafd;
    font-weight: 600;
    color: var(--texte);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .18s, border-color .18s, color .18s;
  }
  .nav-link:hover, .nav-link.active {
    background: var(--bleu-light);
    border-color: var(--bleu);
    color: var(--bleu);
  }
  /* Lien actif (page courante) */
  .nav-link.active {
    background: var(--bleu);
    color: #fff;
    border-color: var(--bleu);
  }

  /* Dropdown "Nos Pôles" — zone enfants indentée */
  .dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    border: none;
    padding: 6px 0 0 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  /* Items du dropdown — style bouton secondaire */
  .dropdown > a,
  .dropdown-sub-trigger {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 16px !important;
    border-radius: 8px;
    border: 1px solid #e2eaf5 !important;
    background: #f0f6ff !important;
    font-size: .88rem;
    font-weight: 500;
    color: var(--texte) !important;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: background .15s, border-color .15s;
  }
  .dropdown > a:hover,
  .dropdown-sub-trigger:hover {
    background: #dbeafe !important;
    border-color: var(--bleu) !important;
    color: var(--bleu) !important;
  }

  /* Fix alignement Énergie */
  .dropdown-sub-item { width: 100%; }
  .dropdown-sub-trigger { justify-content: flex-start !important; }
  .dropdown-sub-trigger .sub-arrow { display: none !important; }
  .dropdown-sub {
    position: static !important; opacity: 1 !important;
    visibility: visible !important; transform: none !important;
    box-shadow: none !important; border: none !important;
    padding: 5px 0 0 12px !important;
    min-width: unset !important; width: 100% !important;
    background: transparent !important;
    display: flex; flex-direction: column; gap: 4px;
  }
  .dropdown-sub > a {
    padding: 9px 14px !important;
    border-radius: 7px;
    border: 1px dashed #bee3f8 !important;
    background: #f0faff !important;
    font-size: .84rem !important;
    color: #1a6bb5 !important;
  }

  /* Bouton "Nous contacter" — garde son style orange */
  .nav-cta { margin-left: 0; }
  .nav-cta .nav-link {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #fff !important;
    justify-content: center;
    font-weight: 700;
  }
  .nav-cta .nav-link:hover {
    background: #e07d10 !important;
    border-color: #e07d10 !important;
  }

  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 120px; border-radius: var(--radius) !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .poles-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .galerie-grid { grid-template-columns: 1fr; }
  .galerie-item.galerie-large { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ============================================================
   FILTRES RÉALISATIONS
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--gris-dark);
  background: var(--blanc);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--bleu);
  background: var(--bleu);
  color: var(--blanc);
}

/* ============================================================
   CORRECTIONS LISIBILITÉ & COHÉRENCE COMPLÉMENTAIRES
   ============================================================ */

/* Partenaires sur fond gris clair : texte lisible */
.partenaire-item {
  color: var(--gris-dark);
}

/* Projet client : contraste suffisant */
.projet-client {
  color: #4b5563;
}

/* Section bg-gris : s'assurer que les titres sont bien foncés */
.bg-gris .section-title { color: var(--texte); }
.bg-gris .section-sub   { color: #4b5563; }

/* Stat card label in hero : un peu plus lisible */
.stat-label { color: rgba(255,255,255,0.82); }

/* Section-sub centré dans les sections dark */
.stats-section .section-sub { color: rgba(255,255,255,0.85); }

/* Admin : cohérence layout */
.admin-main { overflow-y: auto; }
.admin-content { max-width: 1400px; }

/* Admin stat lbl : pas trop clair */
.admin-stat .lbl { color: #6b7280; font-size: 0.82rem; }

/* Responsive : hero photo sur tablette */
@media (max-width: 1024px) {
  .hero-layout { gap: 40px; }
  .hero-photo-main { height: 260px; }
  .hero-photo-sm   { height: 130px; }
}

/* Responsive : valeur cards sur mobile */
@media (max-width: 640px) {
  .valeurs-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.7rem; }
  .hero-title    { font-size: 1.9rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gris-clair); }
::-webkit-scrollbar-thumb { background: var(--bleu); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bleu-dark); }

/* Selection */
::selection { background: var(--bleu); color: var(--blanc); }

/* ============================================================
   CORRECTIONS FINALES — classes manquantes + polish global
   ============================================================ */

/* Stats section — chiffres clés */
.stat-item-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item-num .counter { color: inherit; }
.stat-item-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.stat-item-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Stats section header */
.stats-section .section-tag.orange { background: rgba(247,148,29,0.2); color: var(--orange); }
.stats-section .section-sub { color: rgba(255,255,255,0.75); }
.stats-section .text-center { margin-bottom: 56px; }

@media (max-width: 900px) {
  .stats-photos-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .stats-photos-layout > div:first-child,
  .stats-photos-layout > div:last-child {
    height: 200px !important;
    transform: none !important;
  }
}

/* Section text-center : marge correcte */
.text-center { margin-bottom: 0; }
.section .text-center,
.section-sm .text-center { margin-bottom: 48px; }
.stats-section .text-center { margin-bottom: 56px; }

/* Poles grid : pas de marge top doublée */
.poles-grid { margin-top: 0; }

/* Valeur card : fond blanc propre, ombre */
.valeur-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26,107,181,0.06);
  transition: var(--transition);
}
.valeur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,107,181,0.12);
  border-color: var(--bleu-light);
}
.valeur-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 12px;
}
.valeur-card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.75;
}

/* Valeur icon : fond bleu-light */
.valeur-icon {
  width: 64px; height: 64px;
  background: var(--bleu-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.valeur-icon .ico { width: 1.8rem; height: 1.8rem; background-color: var(--bleu); }

/* Service items : layout flex horizontal */
.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
  margin-bottom: 16px;
}
.service-item:last-child { margin-bottom: 0; }
.service-item:hover { box-shadow: var(--shadow); border-color: var(--bleu-light); transform: translateX(4px); }
.service-item .service-icon { flex-shrink: 0; margin-bottom: 0; margin-top: 2px; }
.service-item .service-body { flex: 1; }
.service-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 10px;
  display: block;
}
.service-item p { color: #4b5563; line-height: 1.75; font-size: 0.92rem; }
ul.services-list { padding: 0; list-style: none; }

/* Page hero sous-pages */
.page-hero {
  padding: calc(72px + 56px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}
.page-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-hero-title span { color: var(--orange); }
.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  line-height: 1.8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* Section équipes : deux colonnes propres */
.section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.section-2col.reverse { direction: rtl; }
.section-2col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .section-2col { grid-template-columns: 1fr; gap: 32px; }
  .section-2col.reverse { direction: ltr; }
}

@media (max-width: 900px) {
  .page-hero .container[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
@media (max-width: 640px) {
  .page-hero .container[style*="grid-template-columns:1fr 1fr"] > div:last-child {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Partenaires : aucun emoji, style chip propre */
.partenaire-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gris-dark);
  white-space: nowrap;
  transition: var(--transition);
}
.partenaire-item:hover { background: var(--bleu); color: #fff; border-color: var(--bleu); }

/* Footer contact items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.footer-contact-item .icon {
  display: flex;
  align-items: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,0.85); }
.footer-contact-item a:hover { color: var(--orange); }

/* CTA section finale */
.cta-section {
  background: linear-gradient(135deg, var(--bleu-dark) 0%, var(--bleu) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.cta-section .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
.cta-section h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 800; margin: 16px 0; }
.cta-section p  { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 36px; line-height: 1.75; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--bleu); border-color: #fff; font-weight: 700; }
.btn-white:hover { background: var(--bleu-light); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* Projet card placeholder couleurs */
.projet-img.btp      { background: linear-gradient(135deg,#f7941d,#c2610a); }
.projet-img.energie  { background: linear-gradient(135deg,#27ae60,#1a7c46); }
.projet-img.routes   { background: linear-gradient(135deg,#1a6bb5,#0f4d8a); }
.projet-img.industrie{ background: linear-gradient(135deg,#8e44ad,#5b2c6f); }

/* Galerie caption visible au hover */
.galerie-item:hover .galerie-caption { opacity: 1; }

/* Supprimer doubles sections vides */
.section + .section:empty { display: none; }

/* Responsive final */
@media (max-width: 768px) {
  .cta-section { padding: 40px 24px; }
  .valeurs-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .poles-grid { grid-template-columns: 1fr; }
  .service-item { flex-direction: column; gap: 12px; }
  .service-item .service-icon { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .valeurs-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stats { flex-wrap: wrap; }
  .stat-card { flex: 1 1 calc(50% - 4px); border-radius: 10px !important; }
}

/* ============================================================
   ANIMATIONS AVANCÉES
   ============================================================ */

/* ---- 1. Scroll progress bar ---- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--bleu), var(--orange));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ---- 2. Stagger card entrance ---- */
.stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 3. Gradient animé sur boutons primary (désactivé — remplacé par design premium) ---- */

/* ---- 4. Parallax hero : calque de fond qui bouge au scroll ---- */
.hero-parallax-bg {
  position: absolute;
  inset: -60px 0 -60px 0;
  background: linear-gradient(135deg, var(--bleu-dark) 0%, var(--bleu) 55%, #1d8348 100%);
  z-index: 0;
  will-change: transform;
}
/* ---- Floating accent blobs en arrière-plan hero ---- */
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.06); }
  66%       { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
  animation: blob-drift 12s ease-in-out infinite;
  z-index: 0;
}
.hero-blob-1 {
  width: 520px; height: 520px;
  background: var(--orange);
  top: -180px; right: -120px;
  animation-duration: 14s;
}
.hero-blob-2 {
  width: 360px; height: 360px;
  background: #fff;
  bottom: -100px; left: -80px;
  animation-duration: 18s;
  animation-delay: -6s;
}

/* ---- Pole card : entrée cascade déjà couverte par stagger ---- */
.pole-card, .valeur-card, .service-item {
  transition: var(--transition), box-shadow 0.3s;
}
.pole-card:hover {
  transform: translateY(-6px) scale(1.015);
}
.valeur-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,107,181,0.14);
}

/* ============================================================
   MICRO-INTERACTIONS & CURSEUR PERSONNALISÉ
   ============================================================ */

/* ---- Curseur personnalisé ---- */
/* curseur custom supprimé */
.cursor-dot, .cursor-ring { display: none !important; }

/* ---- Ripple effect sur les boutons ---- */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ---- Galerie image zoom ---- */
.galerie-item img { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.galerie-item:hover img { transform: scale(1.08); }

/* ---- Smooth reveal page hero ---- */
.page-hero-title, .page-hero-desc, .breadcrumb {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-reveal 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.page-hero-desc { animation-delay: 0.15s; }
.breadcrumb { animation-delay: 0.05s; }

/* ============================================================
   COTRAC — Design Premium (override layer)
   ============================================================ */

/* ---- 1. Palette affinée ---- */
:root {
  --bleu:       #1558a8;
  --bleu-dark:  #0d3f7a;
  --bleu-light: #e6effa;
  --orange:     #f08014;
  --orange-dark:#c86800;
}

/* ---- 2. Cards premium ---- */
.pole-card {
  border-radius: 18px;
  border: 1px solid rgba(21,88,168,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(21,88,168,0.08);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.pole-card:hover {
  box-shadow: 0 8px 32px rgba(21,88,168,0.18);
  transform: translateY(-8px);
  border-color: rgba(21,88,168,0.2);
}

.valeur-card {
  border-radius: 18px;
  border: 1px solid rgba(21,88,168,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(21,88,168,0.08);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
  position: relative;
}
.valeur-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--bleu);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.valeur-card:hover {
  box-shadow: 0 8px 32px rgba(21,88,168,0.18);
  transform: translateY(-8px);
  border-color: rgba(21,88,168,0.2);
}
.valeur-card:hover::before {
  width: 100%;
}

.service-item {
  border-left: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-item:hover {
  border-left-color: var(--orange);
}

/* ---- 3. Typographie premium ---- */
.section-title {
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section-tag {
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.section-sub {
  line-height: 1.85;
  color: #4a5568;
}
.btn {
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

/* ---- 4. Header premium ---- */
.header {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
}
.nav-link {
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---- 5. Footer premium ---- */
.footer {
  background: #0a1628;
}

/* ---- 6. Bouton primary — fond simple sans shimmer ---- */
.btn-primary {
  background: var(--orange);
  background-image: none;
  background-size: auto;
  animation: none;
}
.btn-primary:hover {
  background: var(--orange-dark);
  background-image: none;
  box-shadow: 0 8px 24px rgba(240,128,20,0.4);
  animation: none;
}
@keyframes hero-reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
  }
}

/* ---- Fix responsive global mobile ---- */
@media (max-width: 768px) {
  * { max-width: 100%; }
  img, video, iframe, table { max-width: 100% !important; }
  .container { padding: 0 16px; }
  .hero-stats { width: 100%; overflow-x: hidden; }
  .stat-card { min-width: 0; }
  .partenaires-track { min-width: 0; }
  .cta-section { padding: 32px 16px; border-radius: var(--radius); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================================
   CORRECTIFS RESPONSIVE GLOBAL — audit 5 agents
   ============================================================ */

/* -- Classes utilitaires grids responsive (remplacent les inline) -- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.cta-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* -- Hero blobs réduits sur mobile -- */
@media (max-width: 768px) {
  .hero-blob-1 { width: 280px; height: 280px; top: -100px; right: -80px; }
  .hero-blob-2 { width: 200px; height: 200px; }
}
@media (max-width: 480px) {
  .hero-blob-1, .hero-blob-2 { display: none; }
}

/* -- Masques sliders réduits sur mobile -- */
@media (max-width: 480px) {
  .hero-slider::before, .hero-slider::after { width: 32px; }
  .partenaires-track::before, .partenaires-track::after { width: 28px; }
}

/* -- Hero title : corriger l'annulation du breakpoint mobile par le premium -- */
@media (max-width: 640px) {
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.2rem) !important; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.5rem, 8vw, 1.9rem) !important; }
}

/* -- Hamburger visible dès 1024px (tablettes) -- */
@media (max-width: 1024px) {
  .hamburger { display: flex !important; }
  .nav { display: none !important; }
  .nav.open { display: flex !important; }
}

/* -- Grids hero 2 colonnes inline → 1 colonne sur mobile -- */
@media (max-width: 768px) {
  .grid-2col,
  .cta-grid-2col,
  /* cibler les grids inline sur les pages */
  .page-hero .container[style*="grid-template-columns"],
  section > .container[style*="1fr 1fr"],
  section > div[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .grid-2col { gap: 24px; }
  .cta-grid-2col { gap: 28px; }
}

/* -- Grids 3 colonnes inline → auto sur mobile -- */
@media (max-width: 768px) {
  div[style*="repeat(3,1fr)"],
  div[style*="repeat(3, 1fr)"] {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  }
}
@media (max-width: 480px) {
  div[style*="repeat(3,1fr)"],
  div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* -- Stats grid overflow fix ≤360px -- */
@media (max-width: 480px) {
  .stats-grid { gap: 16px; }
}
@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* -- Font size stats sur mobile -- */
@media (max-width: 480px) {
  .stat-value { font-size: clamp(1.2rem, 4vw, 1.5rem); }
  .stat-label { white-space: normal; }
}

/* -- Section padding réduit sur mobile -- */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .stats-section { padding: 2.5rem 0; }
}

/* -- CTA min-height auto sur mobile (évite content tronqué avec overflow:hidden) -- */
@media (max-width: 768px) {
  section[style*="min-height:420px"],
  section[style*="min-height: 420px"] {
    min-height: auto !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* -- Tableau : wrapper scroll horizontal -- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 480px) {
  .specs-table th, .specs-table td { padding: 8px 10px; font-size: .8rem; }
}

/* -- Grid actualités : minmax sécurisé -- */
@media (max-width: 380px) {
  div[style*="minmax(340px"],
  div[style*="minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
}

/* -- Lightbox flèches taille réduite mobile -- */
@media (max-width: 560px) {
  .lb-prev, .lb-next { width: 40px !important; height: 40px !important; }
}

/* -- Stats-photos-layout (index chiffres) -- */
@media (max-width: 900px) {
  .stats-photos-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .stats-photos-layout > div { transform: none !important; height: 220px !important; }
}

/* -- Photo hauteurs fixes réduites mobile -- */
@media (max-width: 600px) {
  img[style*="height:420px"],
  img[style*="height: 420px"] { height: 240px !important; }
  img[style*="height:320px"],
  img[style*="height: 320px"] { height: 200px !important; }
}

/* -- CTA carte padding réduit mobile -- */
@media (max-width: 480px) {
  div[style*="padding:36px 32px"],
  div[style*="padding: 36px 32px"],
  div[style*="padding:44px 36px"],
  div[style*="padding: 44px 36px"] {
    padding: 24px 18px !important;
  }
}

/* -- Flex stats dans CTA : wrap sur très petit écran -- */
@media (max-width: 380px) {
  div[style*="justify-content:space-around"] { flex-wrap: wrap; gap: 12px; }
  div[style*="width:1px"] { display: none; }
}

/* -- Header logo réduit mobile -- */
@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .logo img { height: 40px !important; }
  .logo-text .name { font-size: 1rem !important; }
  .hero { padding-top: calc(60px + 20px); }
  .page-hero { padding-top: calc(60px + 40px); }
  .nav { top: 60px; }
}

/* -- Slider cards taille mobile -- */
@media (max-width: 480px) {
  .hero-slider, .hero-slider-track { height: 120px; }
  .hero-slider-card { width: 150px !important; height: 120px !important; }
}

/* -- Section-title taille mobile -- */
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
}
