/* ============================================================
   DroXpert — style.css
   Design system + styles complets, mobile-first
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
  /* Palette — identique au site original DroXpert */
  --navy-950: #07111f;  /* --dark original */
  --navy-900: #0e1e30;
  --navy-800: #112842;
  --navy-700: #1a3a5c;
  --navy-600: #1e4976;
  --navy-500: #235a96;
  --navy-400: #3a75b8;
  --navy-200: #a8c4e0;
  --navy-100: #d4e2f0;
  --navy-50:  #eef4fb;

  /* Couleur primaire originale : or/jaune DroXpert */
  --primary-gold:    #d6c02a;  /* --primary original */
  --primary-gold-dk: #b79f12;  /* --primary-dark original */
  --gold-100: #fdf6c3;
  --gold-50:  #fefdf0;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --green-600: #059669;
  --red-600:   #dc2626;

  /* Semantique */
  --bg:          #eff3f8;
  --bg-alt:      #e5edf5;
  --surface:     #ffffff;
  --border:      #dde5ef;
  --border-2:    #c8d5e4;

  --text:        var(--slate-900);
  --text-2:      var(--slate-700);
  --text-muted:  var(--slate-500);
  --text-light:  var(--slate-400);

  --primary:       var(--navy-700);
  --primary-hover: var(--navy-800);
  --accent:        #d6c02a;   /* Couleur signature DroXpert */
  --accent-hover:  #b79f12;

  /* Ombres */
  --s-xs: 0 1px 2px rgba(12,30,53,0.06);
  --s-sm: 0 2px 6px rgba(12,30,53,0.08);
  --s-md: 0 4px 16px rgba(12,30,53,0.10), 0 1px 4px rgba(12,30,53,0.04);
  --s-lg: 0 8px 28px rgba(12,30,53,0.12), 0 3px 8px rgba(12,30,53,0.05);
  --s-xl: 0 16px 48px rgba(12,30,53,0.14), 0 6px 16px rgba(12,30,53,0.06);
  --s-card: 0 2px 8px rgba(12,30,53,0.07), 0 0 0 1px rgba(12,30,53,0.04);

  /* Rayon */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Typo */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Transitions */
  --t: 200ms ease;
  --t-slow: 360ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
  --hh: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
svg { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAPHIE
   ───────────────────────────────────────────────────────────── */
.t-display {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.t-h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.t-h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
}
.t-large { font-size: 1.125rem; line-height: 1.7; }
.t-small { font-size: 0.875rem; }
.t-xs    { font-size: 0.75rem; }

/* ─────────────────────────────────────────────────────────────
   4. LAYOUT
   ───────────────────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-intro {
  max-width: 600px;
}
.section-intro p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--navy-950);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(214,192,42,0.35);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(214,192,42,0.48);
  transform: translateY(-1px);
}

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

.btn-outline-navy {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-navy:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
  box-shadow: var(--s-xs);
}
.btn-ghost:hover {
  border-color: var(--border-2);
  background: var(--surface);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

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

/* ─────────────────────────────────────────────────────────────
   6. BADGE
   ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-navy {
  background: rgba(26,58,92,0.12);
  color: var(--navy-700);
}
.badge-orange {
  background: var(--gold-100, #fdf6c3);
  color: var(--accent-hover);
}
.badge-white {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.20);
}
.badge-green {
  background: #d1fae5;
  color: #065f46;
}

/* ─────────────────────────────────────────────────────────────
   7. HEADER
   ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--hh);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.scrolled {
  box-shadow: var(--s-md);
  background: rgba(255,255,255,0.98);
}

.nav-wrap {
  height: var(--hh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--navy-700);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1;
}
.brand-name span {
  color: var(--accent);
}
.brand-logo {
  height: 62px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.footer-brand .brand-logo {
  height: 80px !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--t);
}
.main-nav a:hover {
  background: var(--navy-50);
  color: var(--navy-700);
}
.main-nav a.active {
  color: var(--navy-700);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-700);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: background var(--t);
}
.nav-phone:hover { background: var(--navy-50); }

.menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--r-sm);
  transition: background var(--t);
}
.menu-btn:hover { background: var(--slate-100); }
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────
   8. MENU MOBILE
   ───────────────────────────────────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,12,24,0.55);
  backdrop-filter: blur(3px);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}
.mobile-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

#mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100dvh;
  background: var(--surface);
  z-index: 901;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
}
#mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  transition: background var(--t);
}
.mobile-close:hover { background: var(--slate-100); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-nav-links a {
  padding: 13px 14px;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--t);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav-links a:hover {
  background: var(--navy-50);
  color: var(--navy-700);
}
.mobile-nav-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-contact {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}
.mobile-nav-contact a {
  color: var(--navy-700);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   9. HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 80px;
  min-height: calc(100svh - var(--hh));
  display: flex;
  align-items: center;
  /* Photo citadelle de Besançon — identique au site original */
  background: #07111f url('../images/hero-bg.jpg') center 40% / cover no-repeat;
}

/* Overlay sombre sur la photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.55);
  z-index: 0;
}

/* Grille technique légère par-dessus la photo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(214,192,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,192,42,0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

/* Lueur accent doré bas-droite */
.hero-glow {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  z-index: 1;
  background: radial-gradient(circle, rgba(214,192,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-content { max-width: 640px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  margin-bottom: 20px;
}
.hero-label-dot {
  width: 6px;
  height: 6px;
  background: #d6c02a;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: #d6c02a;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.hero-badge svg { opacity: 0.65; }

/* Visuel droite : scanner radar */
.hero-visual {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scanner {
  position: relative;
  width: 380px;
  height: 380px;
}

.scanner-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(214,192,42,0.20);
  transform: translate(-50%, -50%);
  animation: scanner-expand 3s ease-out infinite;
}
.scanner-ring:nth-child(1) { width: 120px; height: 120px; animation-delay: 0s; }
.scanner-ring:nth-child(2) { width: 220px; height: 220px; animation-delay: 0.6s; }
.scanner-ring:nth-child(3) { width: 320px; height: 320px; animation-delay: 1.2s; }
.scanner-ring:nth-child(4) { width: 380px; height: 380px; animation-delay: 1.8s; border-color: rgba(214,192,42,0.08); }

@keyframes scanner-expand {
  0%   { opacity: 0.8; transform: translate(-50%, -50%) scale(0.95); }
  60%  { opacity: 0.4; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}

.scanner-cross {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.scanner-cross::before,
.scanner-cross::after {
  content: '';
  position: absolute;
  background: rgba(214,192,42,0.20);
}
.scanner-cross::before {
  width: 360px; height: 1px;
  top: 0; left: -180px;
}
.scanner-cross::after {
  width: 1px; height: 360px;
  top: -180px; left: 0;
}

.scanner-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 130px; height: 130px;
  background: rgba(7,17,31,0.75);
  border: 2px solid rgba(214,192,42,0.60);
  border-radius: var(--r-xl);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 36px rgba(214,192,42,0.35), inset 0 0 20px rgba(214,192,42,0.05);
  backdrop-filter: blur(4px);
}
.scanner-logo {
  width: 110px;
  height: auto;
  /* Drone en or #d6c02a naturel, texte noir → invisible sur fond sombre = OK */
  filter: drop-shadow(0 0 8px rgba(214,192,42,0.6));
  opacity: 1;
}

.scanner-beam {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%;
  height: 1px;
  transform-origin: left center;
  animation: scanner-rotate 4s linear infinite;
}
.scanner-beam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(214,192,42,0.70), transparent);
  height: 2px;
  top: -1px;
}
@keyframes scanner-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.scanner-data {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}
.scan-stat {
  text-align: center;
  padding: 8px 14px;
  background: rgba(17,40,66,0.90);
  border: 1px solid rgba(214,192,42,0.20);
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
}
.scan-stat strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #d6c02a;
  line-height: 1;
  margin-bottom: 3px;
}
.scan-stat span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────────────────
   10. BANDEAU CONFIANCE
   ───────────────────────────────────────────────────────────── */
.trust-band {
  background: var(--navy-800);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.70);
  white-space: nowrap;
}
.trust-item svg { color: #d6c02a; flex-shrink: 0; }
.trust-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   11. SECTION FORMULAIRE DEVIS
   ───────────────────────────────────────────────────────────── */
.devis-section {
  background: var(--bg);
  padding: 80px 0;
}
.devis-section .container {
  max-width: 820px;
}

.devis-header {
  text-align: center;
  margin-bottom: 40px;
}
.devis-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.devis-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Barre progression */
.form-progress {
  margin-bottom: 36px;
}
.progress-track {
  height: 4px;
  background: var(--slate-200);
  border-radius: var(--r-full);
  margin-bottom: 16px;
  overflow: hidden;
}
#progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-700), var(--accent));
  border-radius: var(--r-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}
.step-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  transition: all var(--t);
  position: relative;
  z-index: 1;
}
.step-dot.active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--navy-100);
}
.step-dot.done {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
}
.step-dot.done::after {
  content: '';
  position: absolute;
  width: 10px; height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(0px, -1px);
}
.step-dot.done span { display: none; }
#step-count {
  text-align: right;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
}

/* Carte du formulaire */
.devis-form-wrap {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--s-xl);
  padding: 40px;
  border: 1px solid var(--border);
}

/* Steps */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: step-in 0.3s ease;
}
@keyframes step-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.step-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Cartes de sélection */
.choices-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
.choice-card:hover {
  border-color: var(--navy-400);
  box-shadow: var(--s-sm);
  transform: translateY(-2px);
  color: var(--navy-700);
}
.choice-card.selected {
  border-color: var(--navy-700);
  background: var(--navy-50);
  color: var(--navy-700);
}
.choice-card.selected::after {
  content: '';
  position: absolute;
  top: 8px; right: 8px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' viewBox='0 0 10 8'%3E%3Cpath stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m1 4 2.5 2.5L9 1'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.choice-card svg {
  color: var(--accent);
  opacity: 0.75;
  transition: opacity var(--t), color var(--t);
}
.choice-card:hover svg,
.choice-card.selected svg {
  opacity: 1;
  color: var(--primary-gold-dk);
}

/* Champs formulaire */
.form-fields {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-group.field-full { grid-column: 1 / -1; }

.field-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}
.field-group label .opt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--text-light); }

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px var(--navy-100);
}
.field-group input.is-error,
.field-group textarea.is-error {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.10);
}
.field-group textarea { resize: vertical; min-height: 100px; }

/* Select custom */
.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Navigation steps */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}
.step-nav > :first-child:empty + * { margin-left: auto; }

.btn-prev {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: all var(--t);
  background: var(--surface);
}
.btn-prev:hover { border-color: var(--border-2); color: var(--text); }

.btn-next, .btn-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--navy-700);
  color: var(--white);
  transition: all var(--t);
  border: 2px solid var(--navy-700);
  box-shadow: 0 4px 14px rgba(26,58,92,0.22);
  margin-left: auto;
}
.btn-next:hover, .btn-submit:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 6px 20px rgba(26,58,92,0.30);
  transform: translateY(-1px);
}
.btn-submit {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(214,192,42,0.30);
  padding: 14px 32px;
  font-size: 1rem;
}
.btn-submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 22px rgba(214,192,42,0.42);
}
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Erreur step */
.form-step-error {
  display: none;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: var(--red-600);
  margin-bottom: 16px;
}
.form-step-error:not([hidden]) {
  display: block;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border-2);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  background: var(--slate-50);
  transition: border-color var(--t), background var(--t);
  cursor: pointer;
  position: relative;
}
.upload-zone:hover {
  border-color: var(--navy-400);
  background: var(--navy-50);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone svg { color: var(--text-muted); margin: 0 auto 12px; }
.upload-zone p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.upload-zone p strong { color: var(--navy-700); }
.upload-tip {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 8px;
}
.file-list {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  width: 100%;
}
.file-list li {
  font-size: 0.8125rem;
  color: var(--text-2);
  padding: 5px 10px;
  background: var(--navy-50);
  border-radius: var(--r-sm);
  word-break: break-all;
}

/* Microcopy */
.form-trust {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.form-trust svg { color: var(--green-600); flex-shrink: 0; }

/* Confirmation */
#devis-confirm {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--s-xl);
  border: 1px solid var(--border);
  padding: 64px 40px;
  text-align: center;
}
.confirm-check {
  width: 72px; height: 72px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--green-600);
}
#devis-confirm h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 12px;
}
#devis-confirm p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.confirm-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   12. SECTION ARGUMENTS / BÉNÉFICES
   ───────────────────────────────────────────────────────────── */
.benefits-section {
  background: var(--surface);
  padding: 72px 0;
}
.benefits-grid {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}
.benefit-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.benefit-card:hover {
  box-shadow: var(--s-md);
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 44px; height: 44px;
  background: rgba(214,192,42,0.12);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Chiffres clés */
.stats-row {
  display: grid;
  gap: 24px;
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-700);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────
   13. SECTION SERVICES
   ───────────────────────────────────────────────────────────── */
.services-section {
  background: var(--bg);
  padding: 80px 0;
}
.services-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--s-card);
  transition: all var(--t-slow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--accent));
  opacity: 0;
  transition: opacity var(--t);
}
.service-card:hover {
  box-shadow: var(--s-lg);
  border-color: var(--navy-200);
  transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 50px; height: 50px;
  background: rgba(214,192,42,0.12);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.service-tag {
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--navy-50);
  color: var(--navy-600);
  border: 1px solid var(--navy-100);
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-top: auto;
  transition: gap var(--t);
}
.service-cta:hover { gap: 10px; }
.service-cta svg { transition: transform var(--t); }
.service-cta:hover svg { transform: translateX(3px); }

/* ─────────────────────────────────────────────────────────────
   14. SECTION SECTEURS
   ───────────────────────────────────────────────────────────── */
.sectors-section {
  background: var(--surface);
  padding: 80px 0;
}
.sectors-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 32px;
}
.sector-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1.5px solid var(--border);
  background: var(--surface);
  transition: all var(--t);
  cursor: pointer;
}
.sector-tab:hover {
  border-color: var(--navy-400);
  color: var(--navy-700);
  background: var(--navy-50);
}
.sector-tab.active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,58,92,0.22);
}

.sector-panel {
  display: none;
  animation: step-in 0.25s ease;
}
.sector-panel.active { display: grid; }

.sector-content {
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.sector-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 14px;
}
.sector-text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.sector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.sector-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.sector-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.sector-visual {
  background: var(--navy-50);
  border-radius: var(--r-xl);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--navy-100);
  overflow: hidden;
  position: relative;
}
.sector-visual-placeholder {
  text-align: center;
  color: var(--text-light);
}
.sector-visual-placeholder svg { margin: 0 auto 8px; opacity: 0.4; }
.sector-visual-placeholder p { font-size: 0.8125rem; }

/* ─────────────────────────────────────────────────────────────
   15. SECTION MÉTHODE
   ───────────────────────────────────────────────────────────── */
.methode-section {
  background: var(--navy-900);
  padding: 80px 0;
  color: var(--white);
}
.methode-section .section-label { color: #d6c02a; }
.methode-section .section-label::before { background: #d6c02a; }
.methode-section .t-h2 { color: var(--white); }
.methode-section .section-intro p { color: rgba(255,255,255,0.60); }

.methode-grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.methode-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  transition: background var(--t);
}
.methode-step:hover { background: rgba(255,255,255,0.07); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.methode-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  margin-bottom: 6px;
}
.methode-step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   16. SECTION RÉALISATIONS
   ───────────────────────────────────────────────────────────── */
.realisations-section {
  background: var(--bg);
  padding: 80px 0;
}
.gallery-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-50);
  border: 2px dashed var(--navy-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: default;
  transition: border-color var(--t);
  position: relative;
}
.gallery-item:hover { border-color: var(--navy-200); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item-placeholder {
  text-align: center;
  color: var(--text-light);
}
.gallery-item-placeholder svg { margin: 0 auto 6px; opacity: 0.45; }
.gallery-item-placeholder p {
  font-size: 0.75rem;
  font-weight: 500;
}
.gallery-item-label {
  position: absolute;
  bottom: 10px; left: 10px;
  padding: 4px 10px;
  background: var(--navy-700);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--r-full);
}
.gallery-cta {
  text-align: center;
  margin-top: 40px;
}
.gallery-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ─────────────────────────────────────────────────────────────
   17. SECTION ENTREPRISE
   ───────────────────────────────────────────────────────────── */
.entreprise-section {
  background: var(--surface);
  padding: 80px 0;
}
.entreprise-wrap {
  display: grid;
  gap: 48px;
  align-items: start;
}
.entreprise-visual {
  order: -1;
}
.photo-placeholder {
  background: var(--navy-50);
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--navy-100);
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}
.photo-placeholder svg { opacity: 0.4; }
.photo-placeholder p { font-size: 0.8125rem; }
.entreprise-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-xl);
  display: block;
}

.entreprise-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.entreprise-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.certif-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.certif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.certif-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-950);
  flex-shrink: 0;
}
.certif-item h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 3px;
}
.certif-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.tools-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 10px;
}
.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-tag {
  padding: 5px 12px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-700);
}

/* ─────────────────────────────────────────────────────────────
   18. SECTION FAQ
   ───────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--bg);
  padding: 80px 0;
}
.faq-wrap {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open {
  border-color: var(--navy-200);
  box-shadow: var(--s-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  background: none;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: background var(--t), color var(--t);
}
.faq-q:hover { background: var(--navy-50); }
.faq-item.open .faq-q { color: var(--navy-700); }
.faq-chevron {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron {
  background: var(--navy-100);
  color: var(--navy-700);
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
  padding: 0 20px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-cta-block {
  background: var(--navy-700);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  text-align: center;
}
.faq-cta-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.faq-cta-block p {
  color: rgba(255,255,255,0.70);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

/* ─────────────────────────────────────────────────────────────
   19. SECTION CONTACT
   ───────────────────────────────────────────────────────────── */
.contact-section {
  background: var(--surface);
  padding: 80px 0;
}
.contact-wrap {
  display: grid;
  gap: 48px;
}
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.contact-info > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-row-icon {
  width: 40px; height: 40px;
  background: var(--navy-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  flex-shrink: 0;
}
.contact-row-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 3px;
}
.contact-row-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.contact-row-value a { transition: color var(--t); }
.contact-row-value a:hover { color: var(--navy-700); }
.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.zone-chip {
  padding: 5px 12px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy-700);
}

/* Formulaire contact */
.contact-form-wrap {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 24px;
}
.form-sent {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #d1fae5;
  border-radius: var(--r-lg);
  color: #065f46;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-sent svg { flex-shrink: 0; }
.field-error {
  font-size: 0.8125rem;
  color: var(--red-600);
  margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────
   20. FOOTER
   ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-icon { background: var(--accent); }
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.50);
  margin-top: 14px;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.90);
  margin-bottom: 16px;
}
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-nav-list a:hover { color: rgba(255,255,255,0.90); }
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}
.footer-contact-item svg { color: #d6c02a; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.70); transition: color var(--t); }
.footer-contact-item a:hover { color: var(--white); }
.footer-contact-item span { color: rgba(255,255,255,0.55); line-height: 1.5; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.40);
  transition: color var(--t);
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.80); }

/* ─────────────────────────────────────────────────────────────
   21. MENTIONS LÉGALES
   ───────────────────────────────────────────────────────────── */
.mentions-section {
  background: var(--bg);
  padding: 72px 0;
  display: none;
}
.mentions-section.active { display: block; }
.mentions-content {
  max-width: 720px;
  margin: 0 auto;
}
.mentions-content h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.mentions-content .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--t);
  cursor: pointer;
}
.mentions-content .back-btn:hover { color: var(--navy-700); }
.mentions-block {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.mentions-block h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mentions-block p, .mentions-block ul {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.mentions-block + .mentions-block { margin-top: 16px; }

/* ─────────────────────────────────────────────────────────────
   22. ANIMATIONS SCROLL-REVEAL
   ───────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="150"] { transition-delay: 0.15s; }
[data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal-delay="250"] { transition-delay: 0.25s; }
[data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal-delay="350"] { transition-delay: 0.35s; }
[data-reveal-delay="400"] { transition-delay: 0.40s; }

/* ─────────────────────────────────────────────────────────────
   23. RESPONSIVE — TABLETTE ≥ 640px
   ───────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .choices-group { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .methode-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .certif-grid { grid-template-columns: 1fr 1fr; }
  .sector-content { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   24. RESPONSIVE — DESKTOP ≥ 900px
   ───────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-phone { display: flex; }
  .menu-btn { display: none; }

  .hero-wrap { grid-template-columns: 1fr auto; gap: 40px; }
  .hero-visual { display: flex; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .methode-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .entreprise-wrap { grid-template-columns: 300px 1fr; gap: 56px; }
  .entreprise-visual { order: 0; }

  .contact-wrap { grid-template-columns: 1fr 1fr; gap: 56px; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }

  .faq-wrap { grid-template-columns: 1fr 340px; }
}

/* ─────────────────────────────────────────────────────────────
   25. RESPONSIVE — LARGE ≥ 1100px
   ───────────────────────────────────────────────────────────── */
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }

  /* 7ème carte services : centrée sur la ligne du bas */
  .service-card:last-child:nth-child(4n+1) {
    grid-column: span 4;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ─────────────────────────────────────────────────────────────
   26. UTILITAIRES
   ───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.gap-8 { gap: 32px; }
.w-full { width: 100%; }
.d-flex { display: flex; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }

/* ─────────────────────────────────────────────────────────────
   27. MOBILE FINISH — finition responsive ≤ 639px
   Corrections ciblées sans impact desktop
   ───────────────────────────────────────────────────────────── */
@media (max-width: 639px) {

  /* ── Espacement vertical des sections ───────────────────── */
  /* Desktop : 72–80px. Mobile : 52–56px pour un scroll confortable */
  .hero { padding: 48px 0 56px; }
  .devis-section,
  .benefits-section,
  .services-section,
  .sectors-section,
  .methode-section,
  .realisations-section,
  .entreprise-section,
  .faq-section,
  .contact-section { padding: 52px 0; }

  /* Marges internes des grilles */
  .benefits-grid,
  .services-grid,
  .gallery-grid  { margin-top: 32px; }
  .methode-grid  { margin-top: 36px; }
  .faq-wrap      { margin-top: 28px; gap: 28px; }
  .sectors-tabs  { margin-top: 24px; margin-bottom: 20px; }
  .stats-row     { margin-top: 36px; padding-top: 36px; }

  /* ── Hero : CTA empilés et pleine largeur ───────────────── */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn { justify-content: center; }

  /* ── Header logo : légèrement réduit sur mobile ─────────── */
  .brand-logo { height: 50px !important; }
  .mobile-nav-header .brand-logo { height: 46px !important; }

  /* ── Formulaire devis : padding réduit ──────────────────── */
  /* 40px desktop → 16px mobile pour gagner de la place */
  .devis-form-wrap { padding: 20px 16px; }
  #devis-confirm   { padding: 36px 20px; }

  /* ── FIX iOS : anti-zoom sur les champs de formulaire ───── */
  /* iOS Safari zoome automatiquement si font-size < 16px     */
  .field-group input,
  .field-group textarea,
  .field-group select { font-size: 1rem; }

  /* ── Cartes de choix : 2 colonnes fixes sur mobile ──────── */
  /* auto-fill minmax(150px) → 1 colonne sur 375px → 2 cols forcées */
  .choices-group { grid-template-columns: repeat(2, 1fr); }
  .choice-card   { padding: 14px 10px; font-size: 0.8125rem; }
  .choice-card svg { width: 24px; height: 24px; }

  /* ── Boutons navigation formulaire : cibles tactiles ────── */
  .btn-next, .btn-prev { min-height: 44px; }
  .btn-submit { min-height: 48px; width: 100%; justify-content: center; }

  /* ── Upload zone : padding réduit ───────────────────────── */
  .upload-zone { padding: 20px 14px; }

  /* ── Bandeau confiance : masquer séparateurs ────────────── */
  /* Les séparateurs verticaux n'ont pas de sens quand les items wrappent */
  .trust-sep { display: none; }
  .trust-band-inner { gap: 6px 16px; }

  /* ── Onglets secteurs : défilement horizontal ────────────── */
  /* Mieux qu'un wrap de pilules sur 2-3 lignes */
  .sectors-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
  }
  .sectors-tabs::-webkit-scrollbar { display: none; }
  .sector-tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  /* ── Photo entreprise : proportions naturelles sur mobile ── */
  /* On retire le ratio forcé pour voir Alexis en entier       */
  .entreprise-photo {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    object-fit: initial;
    border-radius: var(--r-xl);
  }

  /* ── Formulaire contact : padding réduit ────────────────── */
  .contact-form-wrap { padding: 20px; }

  /* ── FAQ CTA block ──────────────────────────────────────── */
  .faq-cta-block { padding: 24px 20px; }

  /* ── Step dots : label étape centré ─────────────────────── */
  #step-count { text-align: center; }
}
