/* ========================================
   FR SERVICES - STYLE MODERNISÉ
   Nettoyage professionnel à Strasbourg
======================================== */

/* ========================================
   1. VARIABLES CSS & DESIGN SYSTEM
======================================== */
:root {
  /* Couleurs principales */
  --color-primary: #007bff;
  --color-primary-dark: #0069d9;
  --color-primary-light: #3395ff;
  --color-secondary: #10b981;
  --color-dark: #111827;
  --color-anthracite: #333;
  --color-text: #444;
  --color-text-light: #6b7280;
  --color-white: #ffffff;
  --color-light: #f9fafb;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f5f8fb;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Bordures */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-light: rgba(0, 0, 0, 0.04);

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-primary: 0 14px 24px rgba(0, 123, 255, 0.18);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --radius-round: 999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-width: 1120px;
  --container-padding: clamp(18px, 4vw, 72px);
  --logo-height: 76px;

  /* Espacements */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 80px;
  --spacing-xxl: 120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Fond animé avec gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

/* Couche animée avec gradient qui bouge */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 123, 255, 0.35), transparent 40%),
    radial-gradient(1200px 700px at 14% 8%, rgba(0, 123, 255, 0.25), rgba(255, 255, 255, 0) 62%),
    radial-gradient(1000px 600px at 86% 0%, rgba(0, 123, 255, 0.22), rgba(255, 255, 255, 0) 58%),
    radial-gradient(900px 650px at 50% 92%, rgba(0, 123, 255, 0.18), rgba(255, 255, 255, 0) 60%);
  animation: gradient-shift 15s ease infinite;
  opacity: 1;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%, 14% 8%, 86% 0%, 50% 92%;
  }
  25% {
    background-position: 100% 50%, 20% 15%, 80% 10%, 45% 85%;
  }
  50% {
    background-position: 50% 100%, 10% 20%, 90% 5%, 55% 95%;
  }
  75% {
    background-position: 0% 0%, 18% 10%, 82% 8%, 48% 88%;
  }
}

/* Particules flottantes décoratives */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(0, 123, 255, 0.5);
  border-radius: 50%;
  animation: float-up var(--duration, 15s) linear infinite;
  opacity: 0;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.particle:nth-child(odd) {
  background: rgba(0, 123, 255, 0.4);
  width: 6px;
  height: 6px;
}

.particle:nth-child(3n) {
  background: rgba(16, 185, 129, 0.45);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--float-x, 50px)) scale(1.5);
    opacity: 0;
  }
}

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

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

/* ========================================
   3. TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-anthracite);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  max-width: 70ch;
  color: var(--color-text-light);
}

/* ========================================
   4. LAYOUT & UTILITIES
======================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-alt {
  background: transparent;
}

.section-head {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin-bottom: var(--spacing-xs);
}

.section-head p {
  color: var(--color-text-light);
  margin: 0;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.muted {
  color: var(--color-text-light);
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--color-white);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

/* ========================================
   5. HEADER & NAVIGATION
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color-light);
  transition: all var(--transition-medium);
  will-change: transform, box-shadow;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.96);
}

.site-header.is-scrolled .brand-logo {
  height: calc(var(--logo-height) * 0.9);
  transition: height var(--transition-medium);
}

.header-grid {
  display: grid;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 16px 0;
  grid-template-columns: auto 1fr;
  transition: padding var(--transition-medium);
}

.site-header.is-scrolled .header-grid {
  padding: 12px 0;
}

.header-spacer {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  justify-content: flex-end;
  width: 100%;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.brand:hover {
  background: rgba(0, 123, 255, 0.07);
  transform: translateY(-1px);
}

.brand-logo {
  height: var(--logo-height);
  width: auto;
  max-width: min(560px, 56vw);
  display: block;
  transition: height var(--transition-medium);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: rgba(51, 51, 51, 0.94);
  position: relative;
  transition: all var(--transition-fast);
}

/* Effet underline animé */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.nav-link:hover {
  background: rgba(0, 123, 255, 0.09);
  color: var(--color-anthracite);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: calc(100% - 28px);
}

.nav-link.is-active {
  background: rgba(0, 123, 255, 0.13);
  color: var(--color-anthracite);
}

.nav-link.is-active::after {
  width: calc(100% - 28px);
}

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

/* Menu Toggle (Burger) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-anthracite);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-medium);
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-anthracite);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

/* Animation burger → X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========================================
   6. BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-round);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  will-change: transform;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--color-primary-dark);
  box-shadow: 0 18px 32px rgba(0, 123, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-anthracite);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.btn-white:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--color-white);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  border-width: 2px;
}

.btn-outline:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}

/* Effet ripple (géré par JS) */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ========================================
   7. HERO SECTION
======================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a3259 0%, #1a6bb5 50%, #0f4c81 100%);
}

/* Conteneur de bulles */
.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Styles de base pour les bulles */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(100, 200, 255, 0.1) 60%,
    transparent 100%
  );
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.3),
    inset 10px -10px 30px rgba(100, 200, 255, 0.2);
  will-change: transform;
}

/* Reflets avec pseudo-éléments */
.bubble::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 60%);
  animation: float-bubble 8s ease-in-out infinite;
}

.bubble::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 20%;
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 50%);
  animation: float-bubble 8s ease-in-out infinite reverse;
}

/* Positions et tailles des bulles */
.bubble:nth-child(1) {
  width: 120px;
  height: 120px;
  left: 10%;
  top: 20%;
}

.bubble:nth-child(1)::before,
.bubble:nth-child(1)::after {
  animation-duration: 7s;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 80px;
  height: 80px;
  left: 25%;
  top: 60%;
}

.bubble:nth-child(2)::before,
.bubble:nth-child(2)::after {
  animation-duration: 9s;
  animation-delay: 1s;
}

.bubble:nth-child(3) {
  width: 150px;
  height: 150px;
  left: 45%;
  top: 15%;
}

.bubble:nth-child(3)::before,
.bubble:nth-child(3)::after {
  animation-duration: 10s;
  animation-delay: 2s;
}

.bubble:nth-child(4) {
  width: 60px;
  height: 60px;
  left: 60%;
  top: 70%;
}

.bubble:nth-child(4)::before,
.bubble:nth-child(4)::after {
  animation-duration: 6s;
  animation-delay: 0.5s;
}

.bubble:nth-child(5) {
  width: 100px;
  height: 100px;
  left: 75%;
  top: 30%;
}

.bubble:nth-child(5)::before,
.bubble:nth-child(5)::after {
  animation-duration: 8s;
  animation-delay: 1.5s;
}

.bubble:nth-child(6) {
  width: 90px;
  height: 90px;
  left: 85%;
  top: 55%;
}

.bubble:nth-child(6)::before,
.bubble:nth-child(6)::after {
  animation-duration: 7.5s;
  animation-delay: 3s;
}

.bubble:nth-child(7) {
  width: 70px;
  height: 70px;
  left: 5%;
  top: 75%;
}

.bubble:nth-child(7)::before,
.bubble:nth-child(7)::after {
  animation-duration: 6.5s;
  animation-delay: 0.8s;
}

.bubble:nth-child(8) {
  width: 110px;
  height: 110px;
  left: 35%;
  top: 40%;
}

.bubble:nth-child(8)::before,
.bubble:nth-child(8)::after {
  animation-duration: 9.5s;
  animation-delay: 2.5s;
}

.bubble:nth-child(9) {
  width: 85px;
  height: 85px;
  left: 50%;
  top: 80%;
}

.bubble:nth-child(9)::before,
.bubble:nth-child(9)::after {
  animation-duration: 8.5s;
  animation-delay: 1.2s;
}

.bubble:nth-child(10) {
  width: 95px;
  height: 95px;
  left: 70%;
  top: 10%;
}

.bubble:nth-child(10)::before,
.bubble:nth-child(10)::after {
  animation-duration: 7.8s;
  animation-delay: 0.3s;
}

.bubble:nth-child(11) {
  width: 75px;
  height: 75px;
  left: 15%;
  top: 45%;
}

.bubble:nth-child(11)::before,
.bubble:nth-child(11)::after {
  animation-duration: 6.8s;
  animation-delay: 1.8s;
}

.bubble:nth-child(12) {
  width: 65px;
  height: 65px;
  left: 90%;
  top: 85%;
}

.bubble:nth-child(12)::before,
.bubble:nth-child(12)::after {
  animation-duration: 7.2s;
  animation-delay: 2.2s;
}

/* Animation de flottement (reflets seulement) */
@keyframes float-bubble {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Bulles iridescentes avec changement de teinte */
.bubble.iridescent {
  animation: hue-shift 6s ease-in-out infinite;
}

.bubble.iridescent::before,
.bubble.iridescent::after {
  animation: float-bubble 8s ease-in-out infinite, hue-shift 6s ease-in-out infinite;
}

@keyframes hue-shift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(60deg);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.12), rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
  animation: hero-glow 14s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 100px 0 80px;
  text-align: center;
  color: var(--color-white);
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up-fade-in 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
  font-weight: 600;
  display: block;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up-fade-in 0.8s ease-out 0.4s forwards;
}

.hero-lead {
  margin: 0 auto 24px;
  max-width: 70ch;
  opacity: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(30px);
  animation: slide-up-fade-in 0.8s ease-out 0.6s forwards;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up-fade-in 0.8s ease-out 0.8s forwards;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: slide-up-fade-in 0.8s ease-out 1s forwards;
}

.trust-pill {
  padding: 10px 16px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-medium);
  animation: trust-pill-appear 0.6s ease-out backwards;
}

.trust-pill:nth-child(1) { animation-delay: 1.1s; }
.trust-pill:nth-child(2) { animation-delay: 1.2s; }
.trust-pill:nth-child(3) { animation-delay: 1.3s; }

.trust-pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   8. CARDS & GLASS EFFECT
======================================== */
.panel,
.feature-card,
.service-card,
.testimonial,
.service-box,
.contact-card,
.info-box,
.map-box,
.value-card {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-medium);
  will-change: transform;
}

.panel:hover,
.feature-card:hover,
.testimonial:hover,
.service-box:hover,
.contact-card:hover,
.info-box:hover,
.map-box:hover,
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 123, 255, 0.15);
}

/* ========================================
   9. FEATURE CARDS (Pourquoi nous choisir)
======================================== */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3 {
  margin: 12px 0 8px;
  color: var(--color-anthracite);
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

.feature-card:hover h3 {
  color: var(--color-primary);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: rgba(0, 123, 255, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.22);
  font-size: 1.4rem;
  transition: all var(--transition-medium);
}

.feature-card:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
  background: rgba(0, 123, 255, 0.18);
  border-color: rgba(0, 123, 255, 0.35);
  animation: icon-pulse 0.6s ease-out;
}

/* ========================================
   10. SERVICE CARDS
======================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: var(--spacing-md);
}

.service-card {
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  cursor: pointer;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  min-height: 260px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  will-change: transform;
}

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

.service-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.95) 100%);
}

.service-card-body h2 {
  margin: 0 0 16px;
  color: var(--color-anthracite);
  transition: color var(--transition-fast);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-card:hover h2 {
  color: var(--color-primary);
}

.service-card-body h3 {
  margin: 0 0 8px;
  color: var(--color-anthracite);
  transition: color var(--transition-fast);
}

.service-card:hover h3 {
  color: var(--color-primary);
}

.service-card-body p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.75;
  font-size: 1.02rem;
}

.card-link {
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.card-link::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition-fast);
}

.service-card:hover .card-link::after {
  transform: translateX(6px);
}

/* ========================================
   11. TESTIMONIALS (Carrousel)
======================================== */
.testimonials-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}

.testimonials {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 calc(33.333% - 12px);
  min-width: 300px;
  scroll-snap-align: start;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  display: inline-block;
}

.stars.animate {
  animation: stars-fill 0.8s ease-out;
}

.testimonial p {
  margin: 0 0 12px;
  font-style: italic;
  color: var(--color-text);
}

.who {
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.92rem;
}

.hint {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Navigation carrousel */
.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonials-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--color-white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.testimonials-nav button:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.testimonials-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ========================================
   12. CTA SECTION
======================================== */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0b1b2d 100%);
  padding: 70px 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: cta-glow 8s ease-in-out infinite alternate;
}

.cta-slim {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.cta p {
  margin: 0;
  opacity: 0.92;
  max-width: 70ch;
}

/* ========================================
   13. PAGE HERO
======================================== */
.page-hero {
  padding: 60px 0 20px;
}

.page-hero h1 {
  margin: 0 0 12px;
  color: var(--color-anthracite);
}

/* ========================================
   14. SERVICE LIST (services.html)
======================================== */
.service-list {
  display: grid;
  gap: 24px;
}

.service-box {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.service-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-slow);
  animation: image-pan 10s ease-in-out infinite;
}

.service-box:hover img {
  transform: scale(1.05) rotate(1deg);
  animation-play-state: paused;
}

@keyframes image-pan {
  0%, 100% {
    transform: scale(1.05) translate(0, 0);
  }
  33% {
    transform: scale(1.08) translate(-2%, 2%);
  }
  66% {
    transform: scale(1.06) translate(2%, -2%);
  }
}

.service-box-content h2 {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 1.75rem;
}

.service-box-content p {
  margin: 0 0 14px;
  color: var(--color-text);
}

.service-box-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
  list-style: none;
}

.service-box-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.service-box-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ========================================
   15. ABOUT (apropos.html)
======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.about-media img {
  border-radius: var(--radius-lg);
  height: 100%;
  max-height: 440px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
  animation: image-breathe 6s ease-in-out infinite;
}

.about-media img:hover {
  transform: scale(1.02) rotate(-1deg);
  animation-play-state: paused;
}

@keyframes image-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.about-content h2 {
  margin: 0 0 12px;
}

.about-panels {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.panel {
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  margin: 0 0 8px;
  color: var(--color-anthracite);
}

.panel p {
  margin: 0;
  color: var(--color-text-light);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
}

.value-card p {
  margin: 0;
  color: var(--color-text-light);
}

.value-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
  animation: value-dot-pulse 2s ease-in-out infinite;
}

/* ========================================
   16. CONTACT (contact.html)
======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-card,
.info-box,
.map-box {
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-card h2,
.info-box h2,
.map-box h2 {
  margin: 0 0 12px;
  color: var(--color-anthracite);
}

/* FORMULAIRE MODERNISÉ */
.form {
  margin-top: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  position: relative;
  display: grid;
  gap: 6px;
}

/* Labels flottants */
.field.has-value label,
.field.is-focused label {
  transform: translateY(-24px) scale(0.85);
  color: var(--color-primary);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: all var(--transition-fast);
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--border-color);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
  color: var(--color-text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
  background: var(--color-white);
}

/* États de validation */
input.is-valid,
select.is-valid,
textarea.is-valid {
  border-color: var(--color-secondary);
  background: rgba(16, 185, 129, 0.05);
}

input.is-error,
select.is-error,
textarea.is-error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.field-error {
  font-size: 0.85rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
  animation: slide-down 0.3s ease-out;
}

.field.has-error .field-error {
  display: block;
}

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

.form-actions {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  animation: slide-down 0.4s ease-out;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-list strong {
  font-weight: 600;
  color: var(--color-anthracite);
}

.info-list a {
  color: var(--color-primary);
  font-weight: 500;
}

.info-list a:hover {
  text-decoration: underline;
}

.info-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 12px;
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

/* ========================================
   17. FOOTER
======================================== */
.site-footer {
  padding: 50px 0 28px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  margin-top: var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-anthracite);
  margin-bottom: 8px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
}

.footer-links a::after,
.footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer-links a:hover::after,
.footer-contact a:hover::after {
  width: 100%;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* ========================================
   18. ANIMATIONS & KEYFRAMES
======================================== */

/* Animations d'entrée Hero */
@keyframes slide-up-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trust-pill-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes hero-glow {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

@keyframes cta-glow {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  to {
    transform: translate(-30px, 30px) scale(1.2);
    opacity: 0.5;
  }
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1.1) rotate(5deg);
  }
  50% {
    transform: scale(1.2) rotate(5deg);
  }
}

@keyframes value-dot-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.25);
  }
}

@keyframes stars-fill {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal animations (Intersection Observer) */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect pour les cartes */
.js .reveal:nth-child(1) { transition-delay: 0.1s; }
.js .reveal:nth-child(2) { transition-delay: 0.2s; }
.js .reveal:nth-child(3) { transition-delay: 0.3s; }
.js .reveal:nth-child(4) { transition-delay: 0.4s; }
.js .reveal:nth-child(5) { transition-delay: 0.5s; }
.js .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   19. RESPONSIVE DESIGN
======================================== */

/* Tablette */
@media (max-width: 980px) {
  :root {
    --logo-height: 66px;
    --container-padding: clamp(18px, 3.6vw, 48px);
    --spacing-xl: 60px;
  }

  .header-grid {
    grid-template-columns: auto 1fr;
  }

  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-card {
    grid-template-columns: 300px 1fr;
    gap: 0;
    min-height: 220px;
  }

  .service-card-body {
    padding: 24px 28px;
  }

  .service-card-body h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .service-card-body p {
    font-size: 0.98rem;
  }

  /* Adapter les bulles sur tablette */
  .hero {
    background: linear-gradient(135deg, #0d4a7a 0%, #2a8fd8 50%, #1565a8 100%);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
  }

  /* Réduire la taille de certaines bulles sur tablette */
  .bubble:nth-child(7),
  .bubble:nth-child(11),
  .bubble:nth-child(12) {
    transform: scale(0.6);
  }

  .bubble:nth-child(1),
  .bubble:nth-child(3),
  .bubble:nth-child(5) {
    transform: scale(0.8);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-box {
    grid-template-columns: 1fr;
  }

  .service-box img {
    height: 220px;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonial {
    flex: 0 0 calc(50% - 9px);
    min-width: 280px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --logo-height: 58px;
    --container-padding: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
  }

  .header-grid {
    grid-template-columns: auto auto;
    padding: 12px 0;
    gap: 12px;
  }

  .header-spacer {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .header-right {
    justify-content: flex-end;
    margin-left: auto;
  }

  /* Adapter les bulles sur mobile */
  .hero {
    background: linear-gradient(135deg, #1565a8 0%, #3fa5e8 50%, #1e7fc1 100%);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.12));
  }

  /* Garder seulement quelques bulles visibles et réduites sur mobile */
  .bubble:nth-child(4),
  .bubble:nth-child(6),
  .bubble:nth-child(7),
  .bubble:nth-child(8),
  .bubble:nth-child(9),
  .bubble:nth-child(10),
  .bubble:nth-child(11),
  .bubble:nth-child(12) {
    transform: scale(0.5);
    opacity: 0.7;
  }

  .bubble:nth-child(1),
  .bubble:nth-child(2),
  .bubble:nth-child(3),
  .bubble:nth-child(5) {
    transform: scale(0.65);
  }

  /* Menu burger mobile */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(380px, calc(100vw - 32px));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 2000;
    backdrop-filter: blur(12px);
    animation: slide-down 0.3s ease-out;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    text-align: center;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .grid-5 {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-card img {
    min-height: 200px;
    height: 200px;
  }

  .service-card-body {
    padding: 24px;
  }

  .service-card-body h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }

  .service-card-body p {
    font-size: 0.96rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-content {
    padding: 80px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .section {
    padding: var(--spacing-lg) 0;
  }

  .testimonial {
    flex: 0 0 90%;
    min-width: 280px;
  }

  .service-box {
    padding: 16px;
  }
}

/* ========================================
   20. PREFERS REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-overlay,
  .bubble,
  .bubble::before,
  .bubble::after {
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   21. MENU DÉROULANT SERVICES
======================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: rgba(51, 51, 51, 0.94);
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: normal;
}

/* Effet underline identique aux nav-link */
.nav-dropdown-toggle::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.nav-dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  transition: transform var(--transition-fast);
  margin-left: -2px;
}

.nav-dropdown-toggle:hover {
  color: var(--color-anthracite);
  transform: translateY(-1px);
}

.nav-dropdown-toggle:hover::before {
  width: calc(100% - 28px);
}

.nav-dropdown-toggle.is-active {
  color: var(--color-anthracite);
}

.nav-dropdown-toggle.is-active::before {
  width: calc(100% - 28px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 2000;
  backdrop-filter: blur(12px);
  animation: slide-down 0.3s ease-out;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-toggle:focus + .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  display: flex;
}

/* Délai de fermeture du menu pour meilleure UX */
.nav-dropdown-menu {
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  transition-delay: 0s;
}

.nav-dropdown:not(:hover) .nav-dropdown-menu {
  transition-delay: 0.3s;
}

.nav-dropdown-menu a {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: rgba(51, 51, 51, 0.94);
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.94rem;
}

.nav-dropdown-menu a:hover {
  background: rgba(0, 123, 255, 0.09);
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ========================================
   22. PRELOADER / LOADER
======================================== */
/* Overlay de chargement qui couvre tout l'écran */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height 1s cubic-bezier(0.87, 0, 0.13, 1);
}

/* Conteneur du logo et de la barre */
.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Classe pour faire disparaître le contenu */
.loader-content.fade-out {
  opacity: 0;
  transform: scale(0.95) translateY(-20px);
}

/* Logo FR Services dans le preloader */
.loader-logo {
  max-width: 280px;
  height: auto;
  opacity: 0;
  transform: scale(0.9);
  animation: logoFadeIn 0.8s ease-out 0.2s forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Conteneur de la barre de chargement */
.loader-line-container {
  width: 300px;
  height: 3px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

/* La barre de chargement elle-même (effet "wide") */
.loader-line {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #007bff, #3395ff);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
  border-radius: 999px;
  position: relative;
}

/* Effet de brillance sur la barre (effet "load") */
.loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(100px);
  }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .loader-logo {
    max-width: 200px;
  }

  .loader-line-container {
    width: 240px;
  }
}

/* ========================================
   23. PRINT STYLES
======================================== */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .nav-toggle,
  .skip-link {
    display: none;
  }

  body {
    background: white;
  }

  .hero-content {
    color: black;
  }
}
