/**
 * RASOLONJATOVO.FR — Site Institutionnel Principal
 * Deux expertises. Une même exigence.
 * Pure Vanilla CSS3 Architecture — Style Premium Inspiré de JD-Services Véhicule
 */

/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM (Audi / Porsche / Apple / Linear Inspired)
   ========================================================================== */
:root {
  /* Colors - Light Theme Dominant & Dark Cinematic Accents */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark: #0D1117;
  --bg-dark-surface: #161B22;
  --bg-dark-card: #0A0F1D;
  --bg-dark-overlay: rgba(13, 17, 23, 0.75);

  /* Text & Foreground */
  --text-primary: #090D16;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.15);
  --border-strong: rgba(15, 23, 42, 0.25);
  --border-glass: rgba(255, 255, 255, 0.18);
  --border-glass-strong: rgba(255, 255, 255, 0.35);

  /* Accents */
  --accent-blue: #2563EB;
  --accent-blue-hover: #1D4ED8;
  --accent-cyan: #0284C7;
  --accent-cyan-light: #38BDF8;
  --accent-status: #10B981;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.07), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(0, 0, 0, 0.08), 0 6px 16px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.16), 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.28);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;

  /* Layout Spacing */
  --container-max: 1320px;
  --container-wide: 1440px;
  --container-narrow: 920px;
  --header-height: 84px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.01em;
}

body.menu-open {
  overflow: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: rgba(37, 99, 235, 0.2);
  color: var(--text-primary);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--text-primary);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
  outline: 2px solid var(--accent-blue);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ==========================================================================
   3. TYPOGRAPHY & BADGES
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.section-badge.badge-accent {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  border-color: rgba(37, 99, 235, 0.2);
}

.section-badge.badge-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.section-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.section-badge.badge-pulse .badge-dot {
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.section-title-wrapper {
  margin-bottom: 3.5rem;
}

.section-title-wrapper.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
}

.section-title-wrapper.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(9, 13, 22, 0.15);
}

.btn-primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 13, 22, 0.25);
  color: var(--text-white);
}

.btn-accent {
  background: var(--accent-blue);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-accent:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #E2E8F0;
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: #0D1117;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color: #0D1117;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn .btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   5. HEADER & NAVIGATION (AVEC LOGO-WHITE / LOGO-DARK COMME SUR JDVEHICULE)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal),
              backdrop-filter var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal),
              height var(--transition-normal);
}

/* Header transparent par défaut sur la page d'accueil avec vidéo hero */
.site-header.header-transparent:not(.header-scrolled) {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Header après quelques pixels de scroll ou sur les pages secondaires */
.site-header.header-scrolled,
.site-header:not(.header-transparent) {
  height: 74px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1002;
}

.header-logo-img {
  height: 42px;
  width: auto;
  transition: opacity var(--transition-fast);
}

/* Basculement du logo blanc / noir selon l'état du header */
.logo-white {
  display: none;
}

.logo-dark {
  display: block;
}

.site-header.header-transparent:not(.header-scrolled) .logo-white {
  display: block;
}

.site-header.header-transparent:not(.header-scrolled) .logo-dark {
  display: none;
}

/* Nav Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.site-header.header-transparent:not(.header-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

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

.site-header.header-transparent:not(.header-scrolled) .nav-link::after {
  background-color: #FFFFFF;
}

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

.site-header.header-transparent:not(.header-scrolled) .nav-link:hover {
  color: #FFFFFF;
}

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

.nav-link.has-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-ext-icon {
  font-size: 0.72rem;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.nav-link:hover .nav-ext-icon {
  transform: translate(2px, -2px);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.site-header.header-transparent:not(.header-scrolled) .btn-header {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.site-header.header-transparent:not(.header-scrolled) .btn-header:hover {
  background: #FFFFFF;
  color: #0D1117;
  border-color: #FFFFFF;
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  z-index: 1002;
  transition: background-color var(--transition-fast);
}

.site-header.header-transparent:not(.header-scrolled) .menu-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
}

.site-header.header-transparent:not(.header-scrolled) .menu-toggle span {
  background-color: #FFFFFF;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--text-primary) !important;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--text-primary) !important;
}

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 6vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.nav-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--accent-blue);
  transform: translateX(8px);
}

.mobile-nav-footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   6. HERO SECTION CINÉMATIQUE (PLEIN ÉCRAN TRÈS ATTIRANT COMME JDVEHICULE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

/* Vidéo de fond cinématique HD */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.62) contrast(1.08);
  transform: scale(1.04);
}

/* Overlay sombre progressif et cinématique */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.6) 0%,
    rgba(13, 17, 23, 0.45) 40%,
    rgba(13, 17, 23, 0.88) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-title .title-accent-glow {
  background: linear-gradient(135deg, #FFFFFF 20%, #93C5FD 70%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(147, 197, 253, 0.35);
}

.hero-description {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Reassurance Badges in Hero */
.hero-reassurance-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-reassurance-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dual Gateway Cards inside Hero (Visuel très attirant des deux univers) */
.hero-gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.hero-gateway-card {
  position: relative;
  background: rgba(22, 27, 34, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  color: #FFFFFF;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.hero-gateway-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 99, 235, 0.2);
}

.hero-gateway-card:hover::before {
  opacity: 1;
}

.gateway-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gateway-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gateway-icon {
  font-size: 1.6rem;
}

.gateway-title {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.gateway-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.gateway-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
  transition: all var(--transition-fast);
}

.hero-gateway-card:hover .gateway-action {
  border-bottom-color: #FFFFFF;
  gap: 12px;
  color: #93C5FD;
}

/* ==========================================================================
   7. INTRODUCTION SECTION
   ========================================================================== */
.section-intro {
  padding: 120px 0 100px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.intro-headline-col h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.intro-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.intro-lead {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.6;
}

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 1rem;
}

.pillar-card {
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
}

.pillar-icon {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   8. DUAL EXPERTISES SECTION (SECTION 12)
   ========================================================================== */
.section-expertises {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

.expertises-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.expertise-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-medium);
}

.expertise-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #0F172A;
}

.expertise-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

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

.expertise-img-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.expertise-body {
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.expertise-badge-small {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.expertise-title {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.expertise-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.expertise-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
  margin-top: auto;
}

.expertise-service-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.expertise-btn-wrap {
  margin-top: 1rem;
}

/* ==========================================================================
   9. TRANSITION VISUELLE / DUALITY BRIDGE (SECTION 13)
   ========================================================================== */
.section-bridge {
  padding: 100px 0;
  background: #0A0F1D;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.bridge-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22) 0%, rgba(10, 15, 29, 0) 70%);
  pointer-events: none;
}

.bridge-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.bridge-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.bridge-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 620px;
  margin: 0 auto 3rem auto;
}

.bridge-visual-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.flow-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  flex: 1;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.flow-node:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
}

.flow-node-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.flow-node-label {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.flow-node-desc {
  font-size: 0.85rem;
  color: #94A3B8;
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  min-width: 140px;
}

.flow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6 0%, #38BDF8 100%);
  position: relative;
}

.flow-line::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #38BDF8;
  animation: flowPulse 2.8s infinite linear;
}

@keyframes flowPulse {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.flow-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   10. NOTRE APPROCHE (SECTION 14)
   ========================================================================== */
.section-approach {
  padding: 120px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.approach-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  background: #FFFFFF;
}

.approach-step-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.approach-step-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.approach-step-lead {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.approach-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   11. IMMERSIVE SECTIONS (AUTOMOBILE & RÉSEAU)
   ========================================================================== */
.section-immersive {
  position: relative;
  min-height: 640px;
  padding: 120px 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
  overflow: hidden;
}

.section-immersive-auto {
  background-image: url('../images/automobile/immersive-automobile.jpg');
}

.section-immersive-reseau {
  background-image: url('../images/reseau/immersive-reseau.jpg');
}

.immersive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 15, 29, 0.88) 0%, rgba(10, 15, 29, 0.72) 100%);
  z-index: 1;
}

.immersive-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.immersive-title {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.immersive-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.immersive-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   12. SECTION CHOISISSEZ VOTRE UNIVERS (PORTAIL DE CONVERSION)
   ========================================================================== */
.section-choose-portal {
  padding: 120px 0;
  background: var(--bg-tertiary);
  position: relative;
}

.portal-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.portal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  padding: clamp(36px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.portal-card-auto:hover {
  border-color: #0F172A;
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portal-card-reseau:hover {
  border-color: var(--accent-blue);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portal-icon-header {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.portal-title {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.portal-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
}

.portal-card-auto .portal-sub {
  color: #334155;
}

.portal-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.portal-btn-wrap {
  margin-top: auto;
}

.btn-portal {
  width: 100%;
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 700;
}

/* ==========================================================================
   13. SECTION À PROPOS (SOBRE & INSTITUTIONNELLE)
   ========================================================================== */
.section-about {
  padding: 120px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.about-img-wrap:hover .about-img {
  transform: scale(1.04);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-body-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-values-box {
  margin-top: 1rem;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.about-value-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* ==========================================================================
   14. SECTION CONTACT & FORMULAIRE CONNECTABLE
   ========================================================================== */
.section-contact {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

.contact-quick-links-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px clamp(24px, 4vw, 48px);
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}

.contact-quick-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-quick-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-quick-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-direct-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-direct-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.contact-direct-btn:hover {
  background: #FFFFFF;
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--accent-blue);
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.form-feedback {
  display: none;
  margin-top: 1.5rem;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   15. FOOTER PREMIUM (AVEC LOGO-WHITE ET INFOS JD-SERVICES)
   ========================================================================== */
.site-footer {
  background: #0D1117;
  color: #FFFFFF;
  padding: 90px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.01em;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

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

.footer-link {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-back-to-top:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   16. COOKIE BANNER (COMME SUR LES AUTRES PROJETS JD-SERVICES)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: slideUpCookie 0.4s var(--ease-smooth);
}

.cookie-banner.active {
  display: flex;
}

@keyframes slideUpCookie {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.cookie-desc {
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cookie-actions .btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.cookie-link {
  font-size: 0.78rem;
  color: #94A3B8;
  text-decoration: underline;
  margin-left: auto;
}

.cookie-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   17. LEGAL & STATIC INNER PAGES STYLING
   ========================================================================== */
.legal-page-header {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 50px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content-wrap {
  padding: 80px 0;
  max-width: 880px;
  margin: 0 auto;
}

.legal-card-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-article {
  margin-bottom: 2.5rem;
}

.legal-article h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.legal-article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-article ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.25rem;
}

.legal-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-info-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-info-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   18. 404 PAGE SPECIFIC
   ========================================================================== */
.error-page-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 40px) 20px 80px 20px;
}

.error-code {
  font-size: clamp(6rem, 15vw, 11rem);
  font-weight: 900;
  line-height: 1;
  color: #E2E8F0;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  user-select: none;
}

/* ==========================================================================
   19. SCROLL REVEAL & ANIMATIONS (CSS Vanilla)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-video-bg {
    display: none;
  }
}

/* ==========================================================================
   BOUTONS D'APPEL RAPIDE & TÉLÉPHONE DIRECT (06.25.98.67.23)
   ========================================================================== */
.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  text-decoration: none;
}

.site-header.header-transparent:not(.header-scrolled) .btn-phone-header {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.5);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.site-header.header-transparent:not(.header-scrolled) .btn-phone-header:hover {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.site-header.header-scrolled .btn-phone-header {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--accent-blue);
}

.site-header.header-scrolled .btn-phone-header:hover {
  background: var(--accent-blue);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Bouton flottant d'appel rapide (Click-to-call direct) */
.quick-call-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.45), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.quick-call-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
}

.quick-call-fab .fab-icon {
  font-size: 1.1rem;
  display: inline-block;
  animation: pulse-phone 2s infinite ease-in-out;
}

@keyframes pulse-phone {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(-10deg); }
}

@media (max-width: 768px) {
  .btn-phone-header {
    display: none;
  }
}

@media (max-width: 480px) {
  .quick-call-fab {
    bottom: 18px;
    left: 18px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

