/* ==========================================================================
   BELUS SERVICES — Design System V4.2 (Production CSS)
   Optimisé Core Web Vitals / Lighthouse 100 — Zéro dépendance externe
   Support natif Thème Clair / Sombre / Système (auto)
   ========================================================================== */

:root {
  --primary: #157685;
  --primary-light: #1e96a8;
  --primary-dark: #0e525d;
  --primary-soft: rgba(21, 118, 133, 0.1);
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --dark: #0f172a;
  --dark-card: #1e293b;
  --dark-border: #334155;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg-light: #f8fafc;
  --bg-warm: #f5f4ec;
  --white: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.94);
  --hero-grad-start: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 12px 30px -6px rgba(21, 118, 133, 0.35);
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --primary: #22acc1;
  --primary-light: #38bdf8;
  --primary-dark: #157685;
  --primary-soft: rgba(34, 172, 193, 0.16);
  --accent: #f59e0b;
  --accent-dark: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.18);
  --dark: #070b14;
  --dark-card: #111827;
  --dark-border: #26334d;
  --slate-900: #f8fafc;
  --slate-800: #e2e8f0;
  --slate-700: #cbd5e1;
  --slate-600: #94a3b8;
  --slate-500: #94a3b8;
  --slate-400: #94a3b8;
  --slate-200: #26334d;
  --slate-100: #162033;
  --bg-light: #0b1120;
  --bg-warm: #0f172a;
  --white: #151f32;
  --header-bg: rgba(11, 17, 32, 0.92);
  --hero-grad-start: #0f172a;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px -5px rgba(0, 0, 0, 0.45), 0 4px 14px -2px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 22px 50px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 12px 30px -6px rgba(34, 172, 193, 0.35);
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   TOP BAR & STICKY NAVIGATION (CORRIGÉE — ZÉRO TEXTE ÉCRASÉ & COMPACTE MOBILE)
   ========================================================================== */
.topbar {
  background-color: #0b1120;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  max-width: 1380px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.topbar-item strong {
  color: #ffffff;
}

.topbar-item svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-mobile-short {
  display: none;
}

@media (max-width: 767px) {
  .topbar {
    padding: 0.32rem 0;
    font-size: 0.72rem;
  }

  .topbar-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .topbar-left, .topbar-right {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .topbar-hide-mobile {
    display: none !important;
  }

  .topbar-desktop-long {
    display: none;
  }

  .topbar-mobile-short {
    display: inline;
  }

  .topbar-item {
    gap: 0.3rem;
    white-space: nowrap;
  }

  .topbar-item svg {
    width: 0.82rem;
    height: 0.82rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .nav-inner {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

@media (min-width: 1100px) {
  .brand-logo {
    flex: 0 0 auto;
  }
}

.brand-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.14));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo:hover .brand-icon {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 8px 16px rgba(21, 118, 133, 0.28));
}

.brand-icon img,
.brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-top: 0.18rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-header .nav-inner {
    height: 4.15rem;
    gap: 0.5rem;
  }

  .brand-logo {
    gap: 0.55rem;
  }

  .brand-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.51rem;
    letter-spacing: 0.015em;
    white-space: normal;
    line-height: 1.2;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .nav-links {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .nav-links {
    gap: 1.75rem;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }
}

.nav-back-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .nav-back-actions .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* Sélecteur de Thème Flottant Rétractable (Icône seule au repos, déploiement au survol/clic) */
.theme-dock {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0;
  box-shadow: var(--shadow-lg);
  transition: padding 0.25s ease, gap 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 767px) {
  body:has(.mobile-sticky-bar) .theme-dock,
  body.has-sticky-bar .theme-dock {
    bottom: 4.35rem;
    left: 0.75rem;
  }
}

.theme-dock:hover,
.theme-dock.is-open {
  gap: 0.2rem;
  padding: 0.28rem;
  border-color: var(--primary);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 2.25rem;
  width: 0;
  max-width: 0;
  opacity: 0;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--slate-500);
  cursor: pointer;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  transition: max-width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              padding 0.25s ease,
              gap 0.25s ease,
              background-color 0.2s ease,
              color 0.2s ease;
}

.theme-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.theme-btn-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, opacity 0.2s ease;
}

/* Au repos : seule l'icône du thème actif est visible */
.theme-btn.active {
  width: 2.25rem;
  max-width: 2.25rem;
  opacity: 1;
  pointer-events: auto;
  background: var(--primary-soft);
  color: var(--primary);
}

/* Au survol (desktop) ou à l'ouverture (clic) : déploiement complet des 3 options */
@media (hover: hover) {
  .theme-dock:hover .theme-btn {
    width: auto;
    max-width: 6.5rem;
    opacity: 1;
    padding: 0 0.65rem;
    gap: 0.35rem;
    pointer-events: auto;
  }

  .theme-dock:hover .theme-btn-label {
    max-width: 4.5rem;
    opacity: 1;
  }
}

.theme-dock.is-open .theme-btn {
  width: auto;
  max-width: 6.5rem;
  opacity: 1;
  padding: 0 0.65rem;
  gap: 0.35rem;
  pointer-events: auto;
}

.theme-dock.is-open .theme-btn-label {
  max-width: 4.5rem;
  opacity: 1;
}

.theme-btn:hover {
  color: var(--slate-900);
  background: var(--slate-100);
}

.theme-btn.active:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #157685 0%, #0e525d 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(21, 118, 133, 0.48);
}

.btn-accent {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-dark {
  background: #1e293b;
  color: #ffffff;
  border-color: #334155;
}

.btn-dark:hover {
  background: #334155;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-800);
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--slate-700);
}

.mobile-nav-list a svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--primary);
  flex-shrink: 0;
}

.mobile-nav-list a:hover {
  background: var(--slate-100);
  color: var(--primary);
}

.mobile-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 2rem 0 3rem;
  background:
    radial-gradient(circle at 12% 15%, rgba(21, 118, 133, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(245, 158, 11, 0.10) 0%, transparent 45%),
    linear-gradient(180deg, var(--hero-grad-start) 0%, var(--bg-light) 100%);
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero {
    padding: 3.25rem 0 4.25rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 4.75rem 0 5.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(21, 118, 133, 0.22);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.hero-badge-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 118, 133, 0.2);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.75rem, 6.2vw, 3.4rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1.15rem;
  line-height: 1.12;
  overflow-wrap: break-word;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 65%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  max-width: 620px;
}

@media (max-width: 640px) {
  .hero-badge {
    font-size: 0.74rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
}

.hero-lead strong {
  color: var(--slate-900);
  font-weight: 600;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
}

.hero-pill svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 640px) {
  .hero-pills {
    gap: 0.4rem;
    margin-bottom: 1.35rem;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

.hero-quick-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.85rem;
  color: var(--slate-600);
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--slate-700);
}

.hero-quick-link svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-quick-link:hover {
  color: var(--primary);
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  background: var(--dark-card);
  aspect-ratio: 16 / 10;
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-main-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 480px) {
  .hero-main-caption {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.65rem 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

.hero-main-caption strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.hero-main-caption span {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.hero-sub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .hero-sub-grid {
    gap: 0.65rem;
    margin-top: 0.65rem;
  }
}

.hero-sub-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: var(--dark-card);
}

.hero-sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-sub-card:hover img {
  transform: scale(1.05);
}

.hero-sub-label {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, transparent 100%);
  color: #ffffff;
  padding: 1.25rem 0.75rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-floating-badge {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-900);
}

.hero-floating-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
}

@media (max-width: 640px) {
  .hero-floating-badge {
    position: static;
    margin-top: 0;
    margin-bottom: 0.85rem;
    justify-content: center;
  }
}

.hero-floating-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   TRUST / STATS BAR
   ========================================================================== */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}

@media (min-width: 520px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.trust-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.trust-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--slate-900);
}

.trust-desc {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-white {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin: 0 auto 3.5rem;
  }
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-dark .section-eyebrow {
  color: var(--accent);
  background: var(--accent-soft);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.section-dark .section-subtitle {
  color: var(--slate-400);
}

/* ==========================================================================
   MENUISERIE EXTERIEURE & SERVICES CARDS
   ========================================================================== */
.poles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .poles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pole-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pole-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pole-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--slate-900);
}

.pole-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pole-card:hover .pole-card-media img {
  transform: scale(1.05);
}

.pole-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pole-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pole-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--slate-900);
}

.pole-card-desc {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.check-list li svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pole-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  margin-top: auto;
}

.pole-card-link:hover {
  color: var(--primary-dark);
  gap: 0.65rem;
}

/* Interior & Multiservices 3-column grid */
.interior-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .interior-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.service-box-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-box-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

/* ==========================================================================
   FILTERABLE PORTFOLIO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(21, 118, 133, 0.28);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--slate-900);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 35%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
  color: var(--white);
}

.gallery-cat {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.gallery-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.gallery-zoom-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s ease;
}

.gallery-item:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.lightbox-img-wrap img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--white);
}

.lightbox-caption strong {
  display: block;
  font-size: 1.1rem;
}

.lightbox-caption span {
  font-size: 0.875rem;
  color: var(--slate-400);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   B2B RENFORT ARTISANS & SOUS-TRAITANCE SECTION
   ========================================================================== */
.b2b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .b2b-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.b2b-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.b2b-feature {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.b2b-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.b2b-feature h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.b2b-feature p {
  color: var(--slate-400);
  font-size: 0.875rem;
}

.b2b-panel {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

@media (min-width: 640px) {
  .b2b-panel {
    padding: 2.25rem;
  }
}

.b2b-panel h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.b2b-panel p {
  color: var(--slate-400);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.b2b-trades {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 480px) {
  .b2b-trades {
    grid-template-columns: minmax(0, 1fr);
  }
}

.b2b-trade-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-200);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.b2b-trade-pill span {
  color: var(--accent);
  font-weight: 800;
}

/* ==========================================================================
   LOCAL SEO / ZONE D'INTERVENTION (BRULLIOLES 69690 & OUEST LYONNAIS)
   ========================================================================== */
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .zone-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.zone-sectors {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .zone-sectors {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.sector-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sector-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.map-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.map-card iframe {
  width: 100%;
  flex-grow: 1;
  min-height: 300px;
  border: 0;
}

.map-card-footer {
  padding: 1rem 1.35rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--slate-200);
}

.map-card-footer strong {
  color: var(--slate-900);
}

.map-card-footer span {
  display: block;
  color: var(--slate-500);
  font-size: 0.78rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT, FORM & GOOGLE CALENDAR BOOKING
   ========================================================================== */
.contact-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  }
}

.contact-sidebar {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.contact-sidebar h3 {
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-sidebar p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact-method-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--white);
}

.contact-method small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-method strong {
  font-size: 1.02rem;
  color: var(--white);
}

.calendar-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.calendar-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.calendar-card p {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.contact-main {
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .contact-sidebar, .contact-main {
    padding: 1.75rem 1.25rem;
  }
}

.profile-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  background: var(--slate-100);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .profile-switch {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  background: transparent;
  padding: 0.7rem 0.75rem;
  border-radius: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.profile-tab svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.profile-tab.active-b2c {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.profile-tab.active-pro {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.profile-tab.active-b2b {
  background: var(--accent);
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.15rem;
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--bg-light);
  color: var(--slate-900);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 118, 133, 0.15);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--success);
  color: #065f46;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--danger);
  color: #991b1b;
}

/* Google Calendar Modal */
.calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.calendar-modal.open {
  display: flex;
}

.calendar-modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.calendar-modal-header {
  padding: 1.15rem 1.5rem;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-modal-body {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 560px;
}

.calendar-modal-body iframe {
  width: 100%;
  height: 600px;
  border: 0;
}

/* ==========================================================================
   FOOTER & FLOATING MOBILE BAR
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #0b1120;
  color: var(--slate-400);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links li svg,
.footer-links a svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
}

.sector-card h3 svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.calendar-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calendar-card h4 svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   OVERRIDES THÈME SOMBRE (DARK MODE) — CONTRASTE & SURFACES
   ========================================================================== */
html[data-theme="dark"] .hero-badge {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

html[data-theme="dark"] .hero-main-caption,
html[data-theme="dark"] .hero-main-caption strong,
html[data-theme="dark"] .hero-sub-label,
html[data-theme="dark"] .section-dark,
html[data-theme="dark"] .section-dark .section-title,
html[data-theme="dark"] .pole-card-tag,
html[data-theme="dark"] .filter-btn.active,
html[data-theme="dark"] .gallery-overlay,
html[data-theme="dark"] .gallery-title,
html[data-theme="dark"] .gallery-zoom-badge,
html[data-theme="dark"] .lightbox-caption,
html[data-theme="dark"] .lightbox-close,
html[data-theme="dark"] .lightbox-prev,
html[data-theme="dark"] .lightbox-next,
html[data-theme="dark"] .b2b-feature h3,
html[data-theme="dark"] .b2b-panel h3,
html[data-theme="dark"] .contact-sidebar,
html[data-theme="dark"] .contact-sidebar h3,
html[data-theme="dark"] .contact-method-icon svg,
html[data-theme="dark"] .contact-method strong,
html[data-theme="dark"] .calendar-card h4,
html[data-theme="dark"] .calendar-modal-header {
  color: #ffffff;
}

html[data-theme="dark"] .b2b-trade-pill {
  color: #e2e8f0;
}

html[data-theme="dark"] .sector-card h3 {
  color: #38bdf8;
}

html[data-theme="dark"] .form-feedback.success {
  color: #6ee7b7;
}

html[data-theme="dark"] .form-feedback.error {
  color: #fca5a5;
}

/* Mobile Floating Call/Devis Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  body:has(.mobile-sticky-bar) .site-footer,
  body.has-sticky-bar .site-footer {
    padding-bottom: 5.25rem;
  }
}
