/*
 * SELCH Électricité — Design Senior — Toulouse 2026
 * Palette : Navy #1E3A5F · Amber #F59E0B · System sans-serif
 */

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --c-navy:      #1E3A5F;   /* Bleu principal — autorité */
  --c-navy-d:    #0F2540;   /* Plus foncé — footer */
  --c-navy-l:    #2D5282;   /* Plus clair — hover */
  --c-amber:     #F59E0B;   /* Accent CTA */
  --c-amber-d:   #D97706;   /* Hover amber */
  --c-amber-bg:  #FFFBEB;   /* Fond très léger amber */

  --c-text:      #0F172A;   /* Titre — quasi noir */
  --c-body:      #475569;   /* Corps de texte */
  --c-muted:     #94A3B8;   /* Texte secondaire */

  --c-white:     #FFFFFF;
  --c-gray-50:   #F8FAFC;   /* Fond alterné très léger */
  --c-gray-100:  #F1F5F9;   /* Fond alterné visible */
  --c-gray-200:  #E2E8F0;   /* Bordures */
  --c-gray-300:  #CBD5E1;   /* Bordures secondaires */

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.08);
  --sh-md: 0 8px 24px rgba(0,0,0,.10);
  --sh-lg: 0 16px 48px rgba(0,0,0,.12);
  --sh-xl: 0 24px 64px rgba(0,0,0,.14);

  /* Rayons */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Transitions */
  --t: .2s cubic-bezier(.4,0,.2,1);
  --t-slow: .35s cubic-bezier(.4,0,.2,1);
}

/* ─────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--c-body);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHIE
   ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--c-text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
h4 { font-size: .9rem; font-weight: 600; }

p { margin-bottom: .875rem; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-navy-l); }

/* ─────────────────────────────────────────────────────────────
   ACCESSIBILITÉ
   ───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -50px; left: 0;
  background: var(--c-navy); color: #fff;
  padding: .5rem 1rem; font-size: .85rem; font-weight: 600;
  z-index: 9999; border-radius: 0 0 4px 0;
  transition: top .15s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 3px; border-radius: 3px; }

/* ─────────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-gray-200);
  box-shadow: var(--sh-xs);
}

/* Bandeau supérieur info */
.header-top {
  background: var(--c-navy);
  padding: .5rem 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.contact-info {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.contact-info a,
.contact-info span {
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: color var(--t);
}
.contact-info a:hover { color: #fff; }

.header-urgence {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--c-amber);
  color: var(--c-text);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .75rem;
  border-radius: 100px;
}
.header-urgence::before {
  content: '';
  width: 5px; height: 5px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}

/* Navigation */
.nav-main { padding: .875rem 0; }
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Logo — clean text-only */
.logo a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.04em;
}
.logo a:hover { color: var(--c-navy); }
.logo-bolt {
  width: 28px; height: 28px;
  background: var(--c-amber);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; line-height: 1;
  flex-shrink: 0;
}
.logo-text-main { color: var(--c-navy); }
.logo-text-sub { color: var(--c-body); font-weight: 500; font-size: 1.25rem; }

nav ul { display: flex; align-items: center; gap: .15rem; }
nav a {
  display: block;
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-body);
  transition: all var(--t);
}
nav a:hover { background: var(--c-gray-50); color: var(--c-navy); }
nav a.active { background: var(--c-gray-100); color: var(--c-navy); font-weight: 600; }

.nav-cta {
  background: var(--c-amber) !important;
  color: var(--c-text) !important;
  font-weight: 700 !important;
  padding: .5rem 1.1rem !important;
}
.nav-cta:hover {
  background: var(--c-amber-d) !important;
  color: var(--c-text) !important;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--c-gray-200);
  padding: .45rem;
  border-radius: var(--r-sm);
  color: var(--c-text);
  cursor: pointer;
  transition: all var(--t);
}
.mobile-menu-toggle:hover { border-color: var(--c-navy); color: var(--c-navy); }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  background: var(--c-navy);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  /* Image d'ambiance subtile */
  background-image:
    linear-gradient(135deg, rgba(30,58,95,.97) 0%, rgba(15,37,64,.98) 100%),
    url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=1400&q=40&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
}

/* Grid 2 colonnes */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: center;
}

/* Colonne texte */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--c-amber);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--c-amber);
  border-radius: 1px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.hero h1 .word-accent { color: var(--c-amber); }

.hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-desc strong { color: rgba(255,255,255,.9); font-weight: 600; }

/* CTA hero */
.hero-ctas {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Barre de confiance */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  font-weight: 500;
}
.hero-trust-icon { color: var(--c-amber); }

/* Colonne carte contact */
.hero-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 1.875rem;
  box-shadow: var(--sh-xl);
}
.hero-card-header {
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-gray-200);
}
.hero-card-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-muted);
  margin-bottom: .625rem;
}
.hero-card-phone {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.04em;
  text-align: center;
  transition: color var(--t);
}
.hero-card-phone:hover { color: var(--c-amber-d); }
.hero-card-avail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  font-size: .78rem;
  color: var(--c-muted);
  margin: .375rem 0 0;
}
.hero-card-avail::before {
  content: '';
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-card-sep {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem 0;
  color: var(--c-muted);
  font-size: .78rem;
}
.hero-card-sep::before,
.hero-card-sep::after {
  content: ''; flex: 1;
  height: 1px; background: var(--c-gray-200);
}

.hero-card-form-group { margin-bottom: .75rem; }
.hero-card-form-group label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: .3rem;
}
.hero-card-form-group input {
  width: 100%;
  padding: .65rem .875rem;
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--r-sm);
  font-size: .9rem;
  color: var(--c-text);
  background: var(--c-gray-50);
  transition: border-color var(--t), background var(--t);
}
.hero-card-form-group input:focus {
  outline: none;
  border-color: var(--c-navy);
  background: #fff;
}
.hero-card-form-group input::placeholder { color: var(--c-muted); }

.hero-card-submit {
  width: 100%;
  background: var(--c-navy);
  color: #fff;
  border: none;
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: .25rem;
  transition: all var(--t);
}
.hero-card-submit:hover {
  background: var(--c-navy-l);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.hero-card-perks {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-gray-200);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.hero-card-perks span {
  font-size: .73rem;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-card-perks span::before {
  content: '✓';
  width: 14px; height: 14px;
  background: #DCFCE7;
  color: #166534;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   BOUTONS
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
}

/* Primaire — amber sur fond sombre */
.btn-primary {
  background: var(--c-amber);
  color: var(--c-text);
  border-color: var(--c-amber);
}
.btn-primary:hover {
  background: var(--c-amber-d);
  border-color: var(--c-amber-d);
  color: var(--c-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.35);
}

/* Secondaire — contour blanc sur fond sombre */
.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* Blanc — sur fond navy */
.btn-white {
  background: #fff;
  color: var(--c-navy);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--c-amber);
  border-color: var(--c-amber);
  color: var(--c-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.3);
}

/* Navy — sur fond blanc */
.btn-navy {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}
.btn-navy:hover {
  background: var(--c-navy-l);
  border-color: var(--c-navy-l);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* Contour navy */
.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
  font-size: .85rem;
  padding: .625rem 1.25rem;
}
.btn-outline:hover {
  background: var(--c-navy);
  color: #fff;
}

.btn-lg { padding: 1rem 2rem; font-size: .975rem; }
.btn-sm { padding: .5rem 1rem; font-size: .8rem; }

.cta-buttons { display: flex; gap: .875rem; flex-wrap: wrap; }
.cta-center { justify-content: center; }

/* ─────────────────────────────────────────────────────────────
   STATS — fond blanc, chiffres navy
   ───────────────────────────────────────────────────────────── */
.stats-strip {
  background: #fff;
  border-top: 3px solid var(--c-amber);
  border-bottom: 1px solid var(--c-gray-200);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--c-gray-200);
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item {
  border-left: 1px solid var(--c-gray-200);
}
.stat-icon {
  width: 40px; height: 40px;
  background: var(--c-amber-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .875rem;
  color: var(--c-amber-d);
}
.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: .25rem;
}
.stat-suffix {
  font-size: 1.75rem;
  color: var(--c-amber);
  font-weight: 800;
}
.stat-label {
  font-size: .8rem;
  color: var(--c-muted);
  font-weight: 500;
  line-height: 1.4;
  max-width: 120px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────
   GARANTIES — fond gris très clair, cartes blanches
   ───────────────────────────────────────────────────────────── */
.guarantees-strip {
  background: var(--c-gray-100);
  padding: 4rem 0;
}
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.guarantee-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--sh-xs);
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.guarantee-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--c-gray-300);
}
.guarantee-icon {
  width: 44px; height: 44px;
  background: var(--c-amber-bg);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-amber-d);
  transition: all var(--t);
}
.guarantee-card:hover .guarantee-icon {
  background: var(--c-amber);
  color: #fff;
}
.guarantee-card h3 {
  color: var(--c-navy);
  font-size: .975rem;
  margin: 0;
}
.guarantee-card p {
  color: var(--c-body);
  font-size: .85rem;
  line-height: 1.6;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   SECTIONS — espacement et alternance
   ───────────────────────────────────────────────────────────── */
section { padding: 5rem 0; }
.bg-gray  { background: var(--c-gray-50); }
.bg-navy  { background: var(--c-navy); }

/* En-têtes de section */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-navy);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--c-amber);
  border-radius: 1px;
  flex-shrink: 0;
}

/* version centrée */
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-label {
  display: block;
  justify-content: center;
  text-align: center;
}
.section-head.center .section-label::before {
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}
.section-head h2 { margin-bottom: .625rem; }
.section-head p { font-size: 1rem; color: var(--c-body); }
.section-head.center p { max-width: 540px; margin-left: auto; margin-right: auto; }

/* Compatibilité anciens HTML */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: .75rem; }
.section-title h2::after {
  content: ''; display: block;
  width: 40px; height: 3px;
  background: var(--c-amber); border-radius: 2px;
  margin: .875rem auto 0;
}
.section-title p { font-size: 1rem; color: var(--c-body); }
.section-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-navy); margin-bottom: .75rem;
}
.section-tag::before {
  content: ''; display: block;
  width: 16px; height: 2px;
  background: var(--c-amber); border-radius: 1px; flex-shrink: 0;
}
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-tag { display: block; text-align: center; }
.section-header.centered .section-tag::before { display: inline-block; margin-right: .5rem; vertical-align: middle; }
.section-header h2 { margin-bottom: .625rem; }
.section-header p { font-size: 1rem; color: var(--c-body); }
.section-header.centered p { max-width: 540px; margin: 0 auto; }

.bg-light { background: var(--c-gray-50); }

/* ─────────────────────────────────────────────────────────────
   GRILLES
   ───────────────────────────────────────────────────────────── */
.grid   { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

/* ─────────────────────────────────────────────────────────────
   CARTES — design épuré et cohérent
   ───────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--sh-xs);
  transition: all var(--t);
}
.card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--c-gray-300);
}

/* Carte service avec image */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.service-card-img {
  height: 175px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Icône dans carte */
.card-icon {
  width: 44px; height: 44px;
  background: var(--c-gray-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-navy);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: all var(--t);
}
.card:hover .card-icon,
.service-card:hover .card-icon {
  background: var(--c-navy);
  color: #fff;
}
.service-card-body h3 { color: var(--c-text); font-size: 1rem; margin-bottom: .4rem; }
.service-card-body p { flex: 1; font-size: .875rem; color: var(--c-body); line-height: 1.6; }
.service-card-body .btn { margin-top: 1.25rem; align-self: flex-start; }

/* ─────────────────────────────────────────────────────────────
   SERVICES COMPACTS (grille 3 col)
   ───────────────────────────────────────────────────────────── */
.services-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.service-item {
  background: #fff;
  padding: 1.375rem 1.25rem;
  display: flex;
  gap: 1rem;
  text-decoration: none;
  transition: background var(--t);
  position: relative;
}
.service-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-amber);
  transform: scaleX(0);
  transition: transform var(--t);
}
.service-item:hover { background: var(--c-gray-50); }
.service-item:hover::after { transform: scaleX(1); }

.service-item-icon {
  width: 38px; height: 38px;
  background: var(--c-gray-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-navy);
  flex-shrink: 0;
  transition: all var(--t);
}
.service-item:hover .service-item-icon {
  background: var(--c-navy);
  color: #fff;
}
.service-item-body { flex: 1; }
.service-item-body h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.service-item-body p {
  font-size: .78rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}
.service-item-arrow {
  display: flex; align-items: center; gap: .25rem;
  font-size: .75rem; font-weight: 600; color: var(--c-navy);
  margin-top: .375rem;
  transition: gap var(--t);
}
.service-item:hover .service-item-arrow { gap: .5rem; }

/* ─────────────────────────────────────────────────────────────
   POURQUOI NOUS
   ───────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why-features { display: flex; flex-direction: column; gap: .75rem; }
.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 1.125rem;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--c-gray-200);
  transition: all var(--t);
}
.why-feature-item:hover {
  border-color: var(--c-gray-300);
  box-shadow: var(--sh-sm);
}
.why-check {
  width: 22px; height: 22px;
  background: #22C55E;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-feature-item strong {
  display: block;
  font-size: .875rem;
  color: var(--c-text);
  font-weight: 600;
  margin-bottom: .175rem;
}
.why-feature-item span { font-size: .8rem; color: var(--c-body); }

/* Carte chiffres à droite */
.why-stats-card {
  background: var(--c-navy);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: 5rem;
}
.why-stats-photo {
  height: 195px;
  overflow: hidden;
}
.why-stats-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.7);
}
.why-stats-content { padding: 2rem; }
.why-stats-content h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.why-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.why-stat-row:last-child { border-bottom: none; }
.why-stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--c-amber);
  letter-spacing: -0.04em;
  line-height: 1;
}
.why-stat-desc { font-size: .8rem; color: rgba(255,255,255,.6); text-align: right; max-width: 160px; }
.why-stats-cta { padding: 0 2rem 2rem; }
.why-stats-cta .btn { width: 100%; }

/* Compatibilité anciens .features-list */
.features-list { display: flex; flex-direction: column; gap: .625rem; }
.features-list li {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: .875rem 1rem;
  background: #fff; border-radius: var(--r-md);
  border: 1px solid var(--c-gray-200);
  font-size: .875rem; color: var(--c-text);
  transition: all var(--t);
}
.features-list li:hover { border-color: var(--c-gray-300); box-shadow: var(--sh-xs); }
.features-list li::before {
  content: '✓'; width: 20px; height: 20px;
  background: var(--c-navy); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; flex-shrink: 0;
}
.features-list li strong { color: var(--c-text); }

/* ─────────────────────────────────────────────────────────────
   VILLES
   ───────────────────────────────────────────────────────────── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px,1fr));
  gap: .625rem;
}
.city-link {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .75rem 1rem;
  background: #fff; border: 1px solid var(--c-gray-200);
  border-radius: var(--r-md);
  font-size: .85rem; font-weight: 600; color: var(--c-text);
  box-shadow: var(--sh-xs);
  transition: all var(--t);
}
.city-link::before {
  content: '›'; color: var(--c-amber); font-weight: 800; font-size: 1.1rem;
}
.city-link:hover {
  background: var(--c-navy); color: #fff;
  border-color: var(--c-navy);
  transform: translateY(-2px); box-shadow: var(--sh-md);
}
.city-link:hover::before { color: var(--c-amber); }

/* ─────────────────────────────────────────────────────────────
   TÉMOIGNAGES
   ───────────────────────────────────────────────────────────── */
.reviews-header { text-align: center; margin-bottom: 2.5rem; }
.reviews-score {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  flex-wrap: wrap; margin-top: .75rem;
}
.stars-row { color: #F59E0B; font-size: 1.1rem; letter-spacing: .1em; }
.score-big { font-size: 1.875rem; font-weight: 800; color: var(--c-text); letter-spacing: -0.03em; }
.score-label { font-size: .85rem; color: var(--c-muted); }

/* Compatibilité */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: .75rem; }
.stars-display, .stars { color: #F59E0B; font-size: 1.1rem; }
.rating-number, .rating-score { font-size: 1.875rem; font-weight: 800; color: var(--c-text); }
.rating-info, .rating-count { font-size: .85rem; color: var(--c-muted); }

.testimonial {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.625rem;
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--sh-xs);
  display: flex; flex-direction: column;
  transition: all var(--t);
}
.testimonial:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--c-gray-300);
}
.testimonial::before { display: none; } /* Supprime le vieux guillemet */

.testimonial-stars {
  display: flex; gap: .1rem;
  color: #F59E0B; font-size: .9rem;
  margin-bottom: .875rem;
}
.rating { color: #F59E0B; font-size: .9rem; margin-bottom: .875rem; }

.testimonial-body {
  font-size: .875rem; color: var(--c-body);
  line-height: 1.7; flex: 1;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-content p { font-size: .875rem; line-height: 1.7; }

.testimonial-footer {
  display: flex; align-items: center; gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-gray-200);
  margin-top: auto;
}
.testimonial-avatar {
  width: 34px; height: 34px;
  background: var(--c-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: #fff;
  flex-shrink: 0; letter-spacing: .02em;
}
.testimonial-author-info strong {
  display: block; font-size: .82rem;
  color: var(--c-text); font-weight: 600;
}
.testimonial-author-info span { font-size: .75rem; color: var(--c-muted); }
.testimonial-author { font-weight: 600; color: var(--c-navy); font-size: .82rem; }

/* ─────────────────────────────────────────────────────────────
   RÉALISATIONS
   ───────────────────────────────────────────────────────────── */
.realizations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.25rem;
}
.realization-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--sh-xs);
  transition: all var(--t);
}
.realization-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: transparent; }
.realization-img-wrapper { height: 210px; overflow: hidden; position: relative; }
.realization-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.realization-card:hover .realization-img-wrapper img { transform: scale(1.06); }
.realization-badge {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--c-amber); color: var(--c-text);
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .2rem .65rem; border-radius: 100px; z-index: 1;
}
.realization-body { padding: 1.375rem; }
.realization-type {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--c-navy); margin-bottom: .5rem;
}
.realization-type::before { content: ''; width: 12px; height: 2px; background: var(--c-amber); border-radius: 1px; }
.realization-card h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--c-text); line-height: 1.3; }
.realization-card p { font-size: .82rem; color: var(--c-body); line-height: 1.6; margin-bottom: .875rem; }
.realization-meta {
  display: flex; gap: .875rem;
  padding-top: .875rem; border-top: 1px solid var(--c-gray-200);
}
.realization-meta span { font-size: .75rem; color: var(--c-muted); display: flex; align-items: center; gap: .25rem; }

/* ─────────────────────────────────────────────────────────────
   FAQ ACCORDION
   ───────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: .5rem;
}
.faq-item {
  background: #fff;
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open { border-color: var(--c-navy); box-shadow: var(--sh-sm); }

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.125rem 1.375rem;
  cursor: pointer; gap: 1rem;
  font-weight: 600; font-size: .9rem; color: var(--c-text);
  user-select: none; background: none; border: none; width: 100%; text-align: left;
  transition: color var(--t), background var(--t);
}
.faq-question:hover { color: var(--c-navy); background: var(--c-gray-50); }
.faq-item.open .faq-question { color: var(--c-navy); background: #EEF2FF; }

.faq-icon { display: none; } /* Remplacé par chevron */
.faq-chevron {
  color: var(--c-muted); flex-shrink: 0;
  transition: transform var(--t), color var(--t);
}
.faq-question:hover .faq-chevron { color: var(--c-navy); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--c-navy); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) ease; }
.faq-item.open .faq-answer { max-height: 350px; }
.faq-answer-inner {
  padding: 1rem 1.375rem 1.25rem;
  border-top: 1px solid var(--c-gray-200);
  color: var(--c-body); font-size: .875rem; line-height: 1.75;
}
.faq-answer-inner a { color: var(--c-navy); text-decoration: underline; }
.faq-answer-inner strong { color: var(--c-text); }

/* ─────────────────────────────────────────────────────────────
   CTA SECTION — Navy avec boutons
   ───────────────────────────────────────────────────────────── */
.contact-cta {
  background: var(--c-navy);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  /* Le floating CTA à z-index:9000 passe toujours au-dessus */
  isolation: auto;
}
.contact-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,158,11,.08) 0%, transparent 60%);
  pointer-events: none;
}
.contact-cta h2 { color: #fff; position: relative; z-index: 1; margin-bottom: .625rem; }
.contact-cta > .container > p { color: rgba(255,255,255,.65); position: relative; z-index: 1; }
.phone-number {
  font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em;
  color: #fff; position: relative; z-index: 1; margin: 1.25rem 0; line-height: 1;
}
.phone-number a { color: #fff; }
.phone-number a:hover { color: var(--c-amber); }
.contact-cta .cta-buttons { justify-content: center; position: relative; z-index: 1; margin-top: 2rem; }

/* ─────────────────────────────────────────────────────────────
   INFO CARD — SEO
   ───────────────────────────────────────────────────────────── */
.info-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2.25rem;
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--sh-xs);
}
.info-card h3 {
  color: var(--c-navy); font-size: 1.05rem;
  margin-top: 1.625rem; margin-bottom: .625rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--c-gray-100);
}
.info-card h3:first-child { margin-top: 0; }
.info-card h4 { color: var(--c-navy); margin-top: 1.25rem; margin-bottom: .5rem; font-size: .925rem; }
.info-card ul { columns: 2; list-style: disc; padding-left: 1.25rem; margin: .625rem 0; color: var(--c-body); font-size: .875rem; line-height: 1.7; }
.info-card li { margin-bottom: .3rem; break-inside: avoid; }
.location-info { display: flex; align-items: center; gap: .75rem; margin: .625rem 0; font-size: .875rem; color: var(--c-body); }
.location-info::before { content: '📍'; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
footer {
  background: var(--c-navy-d);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
  border-top: 3px solid var(--c-amber);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.375rem; font-weight: 800; color: #fff; margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.footer-logo .logo-bolt { background: var(--c-amber); }
.footer-section h3 {
  color: #fff; font-size: .85rem; font-weight: 600;
  margin-bottom: 1.125rem; padding-bottom: .625rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-desc { font-size: .825rem; line-height: 1.75; margin-bottom: 1rem; }
.footer-phone { font-size: 1.1rem; font-weight: 700; color: var(--c-amber); display: block; margin-bottom: .25rem; }
.footer-phone:hover { color: var(--c-amber-d); }
.footer-section ul li { margin-bottom: .5rem; }
.footer-section a { color: rgba(255,255,255,.55); font-size: .825rem; transition: color var(--t), padding-left var(--t); }
.footer-section a:hover { color: #fff; padding-left: .2rem; }
.footer-section p { color: rgba(255,255,255,.55); font-size: .825rem; }
.footer-section strong { color: rgba(255,255,255,.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0; text-align: center;
  font-size: .775rem; color: rgba(255,255,255,.35);
}
.footer-bottom p { color: rgba(255,255,255,.35); margin: .175rem 0; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--c-amber); }

/* ─────────────────────────────────────────────────────────────
   BREADCRUMB
   ───────────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--c-gray-50);
  border-bottom: 1px solid var(--c-gray-200);
  padding: .75rem 0;
}
.breadcrumb ul { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .78rem; }
.breadcrumb li { display: flex; align-items: center; gap: .35rem; color: var(--c-muted); }
.breadcrumb li::after { content: '›'; color: var(--c-gray-300); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li:last-child { color: var(--c-text); font-weight: 500; }
.breadcrumb a { color: var(--c-navy); font-weight: 500; }

/* ─────────────────────────────────────────────────────────────
   FLOATING CTA — mobile
   ───────────────────────────────────────────────────────────── */
.floating-cta {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  background: var(--c-amber); color: var(--c-text);
  border-radius: 100px;
  padding: .8rem 1.5rem;
  font-weight: 700; font-size: .875rem;
  display: none; align-items: center; gap: .5rem;
  box-shadow: 0 4px 20px rgba(245,158,11,.45);
  z-index: 9000;   /* toujours au-dessus de tout le contenu */
  transition: all var(--t);
  animation: slideUp .35s cubic-bezier(.4,0,.2,1);
}
.floating-cta:hover { background: var(--c-amber-d); color: var(--c-text); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,.5); }
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.fade-in-up { animation: fadeUp .55s cubic-bezier(.4,0,.2,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--t), transform .5s var(--t); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   UTILITAIRES
   ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy  { color: var(--c-navy); }
.text-amber { color: var(--c-amber); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }

/* Badges trust (hero) */
.trust-badges { display: flex; justify-content: center; gap: .625rem; flex-wrap: wrap; margin-top: 1.75rem; }
.badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); padding: .35rem .875rem;
  border-radius: 100px; font-size: .78rem; font-weight: 500;
}

/* Garanties (anciens selectors) */
.guarantees-section { background: var(--c-gray-100); padding: 4rem 0; }
.guarantees-section-title { text-align: center; margin-bottom: 2.5rem; }
.guarantees-section-title h2 { margin-bottom: .5rem; }
.guarantees-section-title p { color: var(--c-body); font-size: .9rem; }

/* Stats — design géré dans le bloc REDESIGN PREMIUM en bas de fichier */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }

/* ─────────────────────────────────────────────────────────────
   IMAGES DANS CARTES (ajoutées lors des sessions précédentes)
   ───────────────────────────────────────────────────────────── */
.service-card-img { margin: 0; }
.guarantees-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 400px; }
  .why-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid, .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--c-gray-200); }
  .guarantees-grid { grid-template-columns: repeat(2,1fr); }
  .services-compact { grid-template-columns: repeat(2,1fr); }
  .why-stats-card { position: static; }
}

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

  .mobile-menu-toggle { display: flex; }
  nav ul {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--c-gray-200);
    box-shadow: var(--sh-lg); padding: .875rem; gap: .15rem; z-index: 99;
  }
  nav ul.active { display: flex; }
  nav a { width: 100%; padding: .625rem .875rem; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-aside { display: none; }

  .stats-grid, .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item { padding: 1.5rem 1rem; }

  .guarantees-grid { grid-template-columns: 1fr; gap: 1rem; }
  .services-compact { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .floating-cta { display: flex; }

  .contact-cta { padding: 3.5rem 1.5rem; }
  .phone-number { font-size: 1.875rem; }
  .info-card ul { columns: 1; }
  .contact-info span, .contact-info a:last-of-type { display: none; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-trust { gap: .75rem; }
  .trust-badges { display: none; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .realizations-grid { grid-template-columns: 1fr; }
  .why-features { gap: .5rem; }
}

/* ─────────────────────────────────────────────────────────────
   PRINT
   ───────────────────────────────────────────────────────────── */
@media print {
  header, footer, .floating-cta, .contact-cta, .hero-ctas,
  .guarantees-strip, .guarantees-section, nav { display: none !important; }
  body { color: #000; }
}

/* ─────────────────────────────────────────────────────────────
   RÉTROCOMPATIBILITÉ — anciens noms de classes & variables
   ───────────────────────────────────────────────────────────── */

/* Anciens boutons */
.btn-large { padding: 1rem 2rem; font-size: .975rem; }
.btn-outline-primary {
    background: transparent;
    color: var(--c-navy);
    border: 2px solid var(--c-navy);
    font-size: .85rem; padding: .625rem 1.25rem;
}
.btn-outline-primary:hover { background: var(--c-navy); color: #fff; }
.btn-primary.btn-large,
.btn-secondary.btn-large,
.btn-white.btn-large { padding: 1rem 2rem; font-size: .975rem; }

/* Anciens sélecteurs hero */
.hero-card-separator { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: #94A3B8; font-size: .78rem; }
.hero-card-separator::before, .hero-card-separator::after { content: ''; flex: 1; height: 1px; background: #E2E8F0; }
.hero-card-reassurance { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #E2E8F0; display: flex; flex-direction: column; gap: .35rem; }
.hero-card-reassurance span { font-size: .73rem; color: #94A3B8; display: flex; align-items: center; gap: .4rem; }
.hero-card-reassurance span::before { content: '✓'; width: 14px; height: 14px; background: #DCFCE7; color: #166534; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 800; flex-shrink: 0; }

/* Ancienne palette CSS comme variables (compatibilité inline styles) */
/* Variables CSS — voir :root principal en début de fichier */

/* ═══════════════════════════════════════════════════════════
   STATS SECTION — REDESIGN PREMIUM
   Fond navy foncé · Grands chiffres · Icônes circulaires
   ═══════════════════════════════════════════════════════════ */

/* Section complète */
.stats-section {
  background: linear-gradient(135deg, #0A1929 0%, #1E3A5F 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  position: relative;
}

/* Ligne amber dégradée tout en bas */
.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(245,158,11,0) 0%,
    rgba(245,158,11,.9) 30%,
    rgba(245,158,11,.9) 70%,
    rgba(245,158,11,0) 100%
  );
}

/* Grille 4 colonnes */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
}

/* Chaque item */
.stat-item {
  padding: 2.75rem 1.5rem !important;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  transition: background .22s ease;
}
.stat-item:hover {
  background: rgba(255, 255, 255, .03);
}

/* Séparateur vertical entre les items */
.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,.08) !important;
  border-top: none !important;
}

/* Icône — cercle avec halo amber */
.stat-icon {
  width: 48px !important;
  height: 48px !important;
  background: rgba(245, 158, 11, .12) !important;
  border: 1px solid rgba(245, 158, 11, .25) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0 !important;
  color: #F59E0B !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, .15);
  transition: all .25s ease;
}
.stat-item:hover .stat-icon {
  background: rgba(245, 158, 11, .2) !important;
  box-shadow: 0 0 28px rgba(245, 158, 11, .3);
  transform: scale(1.08);
}

/* Grand chiffre blanc */
.stat-number {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  letter-spacing: -0.05em !important;
  margin-bottom: 0 !important;
  font-variant-numeric: tabular-nums;
}

/* Suffixe amber (+, ★, h) */
.stat-suffix {
  font-size: 2rem !important;
  color: #F59E0B !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Étiquette sous le chiffre */
.stat-label {
  font-size: .775rem !important;
  color: rgba(255, 255, 255, .45) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  max-width: 130px !important;
  margin: 0 auto !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── MOBILE responsive ── */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .stat-item:nth-child(2) {
    border-left: 1px solid rgba(255,255,255,.08) !important;
  }
  .stat-item:nth-child(3) {
    border-left: none !important;
  }
  .stat-item:nth-child(4) {
    border-left: 1px solid rgba(255,255,255,.08) !important;
  }
}

@media (max-width: 560px) {
  .stat-item { padding: 2rem 1rem !important; }
  .stat-number { font-size: 2.75rem !important; }
  .stat-suffix { font-size: 1.65rem !important; }
  .stat-icon { width: 40px !important; height: 40px !important; }
}

/* ─── LOGO IMAGE (remplacement emoji ⚡) ─── */
.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
/* Supprime le fond ambre du logo-bolt si encore présent */
.logo-bolt {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   CORRECTIF PAGES SECONDAIRES — hero-content centré
   (city pages, services, contact, villes)
   ═══════════════════════════════════════════════════════════ */
.hero .hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero .hero-content h1 {
    color: #ffffff !important;
    margin-bottom: 1.25rem;
}
.hero .hero-content p {
    color: rgba(255,255,255,.75) !important;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero .hero-content .cta-buttons {
    justify-content: center;
    margin-bottom: 1.75rem;
}
.hero .hero-content .trust-badges {
    justify-content: center;
}
/* Texte hero-badge (ancien) */
.hero .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.3);
    color: var(--c-amber);
    padding: .35rem 1rem;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
/* Emoji → remplacement visuel card-icon */
.card-icon:not(:has(svg)) {
    background: var(--c-gray-100);
    color: var(--c-navy);
    font-size: 1.25rem;
}
/* Bouton btn-large = alias btn-lg */
.btn.btn-large { padding: 1rem 2rem; font-size: .975rem; }
/* Section-title h2 — hérite du nouveau style */
.section-title h2 { color: var(--c-text); }
/* Logo span — hérite la couleur du parent (navy en nav, blanc en footer) */
.logo a span { color: inherit; }

/* ═══════════════════════════════════════════════════════════
   PREMIUM SERVICE CARDS — page services
   Photo plein format · gradient overlay · design éditorial
   ═══════════════════════════════════════════════════════════ */

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Carte standard */
.svc-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 300px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

/* Carte vedette — prend 2 colonnes, plus haute */
.svc-card--featured {
    grid-column: span 2;
    height: 400px;
}

/* Photo */
.svc-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.svc-card:hover .svc-card-photo { transform: scale(1.07); }

/* Gradient overlay — léger en haut, dense en bas */
.svc-card::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        to top,
        rgba(10,22,45,.97) 0%,
        rgba(10,22,45,.6) 40%,
        rgba(10,22,45,.08) 100%
    );
    transition: background .3s ease;
}
.svc-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(10,22,45,1) 0%,
        rgba(10,22,45,.75) 50%,
        rgba(10,22,45,.15) 100%
    );
}

/* Badge catégorie (coin haut gauche) */
.svc-card-badge {
    position: absolute;
    top: 1.25rem; left: 1.25rem;
    z-index: 2;
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--c-amber);
    color: var(--c-text);
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    padding: .28rem .75rem;
    border-radius: 100px;
}

/* Contenu au bas de la carte */
.svc-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.svc-card--featured .svc-card-body { padding: 2rem; }

.svc-card-body h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    line-height: 1.25;
}
.svc-card--featured .svc-card-body h3 { font-size: 1.6rem; }

.svc-card-body p {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.svc-card--featured .svc-card-body p {
    font-size: .9rem;
    -webkit-line-clamp: 3;
}

/* Lien avec flèche amber */
.svc-card-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--c-amber);
    font-size: .8rem; font-weight: 700;
    transition: gap .2s ease;
}
.svc-card:hover .svc-card-link { gap: .8rem; }
.svc-card-link svg { flex-shrink: 0; transition: transform .2s ease; }
.svc-card:hover .svc-card-link svg { transform: translateX(3px); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .services-grid-premium { grid-template-columns: repeat(2, 1fr); }
    .svc-card--featured { grid-column: span 2; height: 360px; }
    .svc-card { height: 260px; }
}
@media (max-width: 640px) {
    .services-grid-premium { grid-template-columns: 1fr; }
    .svc-card--featured { grid-column: span 1; height: 300px; }
    .svc-card { height: 260px; }
}

/* ═══════════════════════════════════════════════════════════
   FIX MOBILE — Floating CTA z-index + Audit complet mobile
   ═══════════════════════════════════════════════════════════ */

/* floating CTA z-index géré dans la règle principale */

/* ── 2. Padding bas du body sur mobile (évite que contenu 
        soit masqué par le floating CTA) ─────────────────── */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
  footer {
    margin-bottom: 0;
  }

  /* ── 3. Hero mobile ──────────────────────────────────── */
  .hero {
    padding: 2.75rem 0 2.5rem;
  }
  .hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.25rem);
    line-height: 1.2;
  }
  .hero-text-side {
    text-align: center;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-desc {
    font-size: .95rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
  }
  .hero-trust {
    justify-content: center;
  }

  /* ── 4. Stats mobile ─────────────────────────────────── */
  .stats-grid,
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  /* ── 5. Section-title mobile ────────────────────────── */
  .section-title h2,
  .section-head h2 {
    font-size: clamp(1.4rem, 5vw, 1.75rem);
  }

  /* ── 6. Cards mobile ─────────────────────────────────── */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.375rem;
  }
  .services-compact {
    grid-template-columns: 1fr;
  }

  /* ── 7. FAQ mobile ───────────────────────────────────── */
  .faq-question {
    padding: 1rem 1.1rem;
    font-size: .875rem;
  }
  .faq-answer-inner {
    font-size: .85rem;
    padding: .875rem 1.1rem 1rem;
  }

  /* ── 8. Contact CTA mobile ───────────────────────────── */
  .contact-cta {
    padding: 3rem 1.25rem;
    /* Retire overflow:hidden qui peut masquer le floating CTA */
  }
  .contact-cta .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-cta .cta-buttons .btn {
    justify-content: center;
    width: 100%;
  }
  .phone-number {
    font-size: 1.6rem;
  }

  /* ── 9. Why-grid mobile ─────────────────────────────── */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .why-stats-card {
    position: static;
  }

  /* ── 10. Footer mobile ───────────────────────────────── */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    text-align: center;
  }

  /* ── 11. Boutons touch-friendly ─────────────────────── */
  .btn {
    min-height: 44px;
    padding: .875rem 1.5rem;
  }
  .btn-sm {
    min-height: 36px;
  }
  nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* ── 12. Images mobile ────────────────────────────────── */
  .service-card-img { height: 160px; }
  .realization-img-wrapper { height: 180px; }
  .svc-card { height: 240px; }
  .svc-card--featured { height: 300px; }

  /* ── 13. Header-top mobile ───────────────────────────── */
  .header-top .container {
    justify-content: center;
    gap: .5rem;
  }
  .contact-info {
    gap: 1rem;
  }

  /* ── 14. Info-card listes ────────────────────────────── */
  .info-card ul {
    columns: 1;
    padding-left: 1rem;
  }

  /* ── 15. Breadcrumb mobile ───────────────────────────── */
  .breadcrumb { display: none; }

  /* ── 16. Cities grid mobile ──────────────────────────── */
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
  }
  .city-link {
    padding: .625rem .75rem;
    font-size: .8rem;
  }

  /* ── 17. Testimonials mobile ─────────────────────────── */
  .grid.grid-3 {
    grid-template-columns: 1fr;
  }

  /* ── 18. Services premium mobile ────────────────────── */
  .services-grid-premium {
    grid-template-columns: 1fr;
  }
  .svc-card-body h3 { font-size: 1rem; }
  .svc-card--featured .svc-card-body h3 { font-size: 1.15rem; }
  .svc-card-body p { -webkit-line-clamp: 2; }
}

/* Très petit écran */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.65rem; }
  .stat-number { font-size: 2.25rem; }
  .floating-cta {
    bottom: 1rem; right: .875rem;
    padding: .75rem 1.25rem;
    font-size: .85rem;
  }
}

/* ── Numéro de téléphone dans la navbar (plus de bouton) ── */
.nav-phone-item { list-style: none; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-navy);
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  background: var(--c-gray-100);
  letter-spacing: 0;
  user-select: text; /* permet de copier le numéro */
  cursor: default;
}
.nav-phone svg { color: var(--c-amber); flex-shrink: 0; }

@media (max-width: 768px) {
  .nav-phone {
    width: 100%;
    justify-content: center;
    background: var(--c-gray-50);
    border: 1px solid var(--c-gray-200);
  }
}
