/* ============================================================
   ERM RDC — Style Global Premium
   Protection Individuelle des Véhicules
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --green-primary: #1a7a4a;
  --green-light: #22c55e;
  --green-glow: #16a34a;
  --green-deep: #0f5132;
  --green-pale: #dcfce7;
  --green-mid: #166534;

  --dark-bg: #ffffff;
  --dark-card: #f8fafc;
  --dark-border: #e5e7eb;

  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gold: #d4a853;

  --bg-hero: #0d1f14;
  --bg-section-alt: #f0fdf4;

  --shadow-sm: 0 2px 8px rgba(26,122,74,0.08);
  --shadow-md: 0 8px 30px rgba(26,122,74,0.12);
  --shadow-lg: 0 20px 60px rgba(26,122,74,0.16);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.15);

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --transition-fast: 200ms ease;
  --transition-normal: 350ms ease;
  --transition-slow: 600ms ease;

  --header-h: 80px;
  --container-max: 1280px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Mail icon styling */
img[src*="mail.webp"] {
  border-radius: 4px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,122,74,0.08);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(26,122,74,0.13);
  border-bottom-color: rgba(26,122,74,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.header-logo-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Navigation principale */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--green-light);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--green-primary);
  background: rgba(26,122,74,0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--green-primary);
  font-weight: 600;
}

/* CTA Header */
.btn-header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(26,122,74,0.35);
  white-space: nowrap;
  text-decoration: none;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,122,74,0.45);
  background: linear-gradient(135deg, var(--green-glow), var(--green-primary));
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 18px;
  cursor: pointer;
  padding: 2px;
  z-index: 1100;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), width var(--transition-fast);
  transform-origin: center;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-menu.active {
  transform: translateX(0);
  display: flex;
}

.mobile-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--green-primary);
  background: rgba(26,122,74,0.06);
  border-left-color: var(--green-light);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.mobile-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  color: var(--green-primary);
}

.mobile-nav-icon svg {
  width: 100%;
  height: 100%;
}

.mobile-menu-cta {
  margin-top: 1.5rem;
}

/* ============================================================
   BOUTONS GLOBAUX
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
  color: #fff;
  box-shadow: 0 6px 20px rgba(26,122,74,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,122,74,0.45);
  background: linear-gradient(135deg, var(--green-glow), var(--green-deep));
}

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

.btn-outline:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,122,74,0.25);
}

.btn-white {
  background: #fff;
  color: var(--green-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

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

/* ============================================================
   SECTIONS GÉNÉRALES
   ============================================================ */
section {
  padding: 5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-glow);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-label {
  display: inline-flex;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Alternance sections */
.section-alt {
  background: var(--bg-section-alt);
}

/* ============================================================
   HERO — PAGE D'ACCUEIL
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 0.5rem);
}

/* Gradient fond hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 65% 40%, rgba(26,122,74,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(34,197,94,0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0d1f14 0%, #071408 60%, #0a1a0d 100%);
  z-index: 0;
}

/* Motif grille subtil */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0 0;
}

.hero-left {}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text-line {
  display: inline-block;
  opacity: 0;
  animation: textFadeIn 0.8s ease-out forwards;
}

.hero-text-line:nth-child(1) { animation-delay: 0.2s; }
.hero-text-line:nth-child(2) { animation-delay: 0.4s; }
.hero-text-line:nth-child(3) { animation-delay: 0.6s; }
.hero-text-line:nth-child(4) { animation-delay: 0.8s; }

.hero-text-drop {
  position: relative;
  display: inline-block;
}

.hero-text-priority {
  position: relative;
  display: inline-block;
  animation: pixarDrop 1.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s forwards;
  transform-origin: center top;
  background: linear-gradient(135deg, var(--green-light), #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title span {
  background: linear-gradient(135deg, var(--green-light), #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Features chips hero */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-feature-icon {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  flex-shrink: 0;
}

/* Visuel héro droit — Dashboard GPS */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Carte principale glassmorphism */
.hero-card-main {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

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

.hero-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.hero-card-badge {
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--green-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-card-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green-light);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Map GPS simulée */
.hero-map {
  background: rgba(26,122,74,0.08);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-md);
  height: 180px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.hero-map-bg {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(34,197,94,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.05) 1px, transparent 1px);
  background-size: 25px 25px;
  position: absolute;
}

.hero-map-route {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-glow), var(--green-light));
  transform: translateY(-50%);
  border-radius: 2px;
}

.hero-map-route::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green-light);
  animation: pulse-map 2s infinite;
}

@keyframes pulse-map {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero-map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  top: 30%;
  left: 30%;
  box-shadow: 0 4px 12px rgba(26,122,74,0.5);
}

.hero-map-pin-2 {
  top: 55%;
  left: 60%;
  background: linear-gradient(135deg, #d4a853, #f0c070);
}

/* Stats mini */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hero-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Éléments flottants */
.hero-floating {
  position: absolute;
  pointer-events: none;
}

.hero-float-shield {
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(26,122,74,0.3), rgba(34,197,94,0.15));
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: float-1 4s ease-in-out infinite;
}

.hero-float-gps {
  bottom: -15px;
  left: -25px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  animation: float-2 5s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-gps-dot {
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   HERO — PAGES INTERNES
   ============================================================ */
.hero-inner {
  position: relative;
  background: linear-gradient(155deg, #0d1f14 0%, #071408 50%, #091a0c 100%);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(26,122,74,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(34,197,94,0.08) 0%, transparent 60%);
  z-index: 0;
}

.hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-inner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-inner .hero-label {
  margin-bottom: 1.25rem;
}

.hero-inner .hero-title {
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-inner .hero-text {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Fil d'Ariane */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.breadcrumb-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--green-light);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--green-light);
}

/* ============================================================
   SECTION STORY / NOTRE HISTOIRE
   ============================================================ */
.story-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-left {
  position: relative;
}

.story-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
}

.story-right {}

.story-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.story-services {
  margin-top: 2rem;
}

.story-services {
  margin-top: 2rem;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.story-services-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.story-services-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--green-primary);
  border-radius: 2px;
}

.story-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.story-services-list li {
  padding: 1rem;
  border-left: 4px solid var(--green-primary);
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));
  font-size: 0.9rem;
  color: var(--text-primary);
  border-radius: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(34,197,94,0.08);
}

.story-services-list li:hover {
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));
  border-left-color: var(--green-light);
  box-shadow: 0 4px 16px rgba(34,197,94,0.12);
  transform: translateX(8px);
}

.story-services-list li strong {
  color: var(--green-primary);
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.story-services-list li p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 0.85rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-left {}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(26,122,74,0.1), rgba(34,197,94,0.08));
  border: 1px solid rgba(26,122,74,0.25);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 1.5rem;
}

.intro-badge-icon {
  font-size: 1rem;
}

.intro-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26,122,74,0.07);
  border: 1px solid rgba(26,122,74,0.2);
  color: var(--green-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(26,122,74,0.14);
  border-color: var(--green-primary);
  transform: translateY(-2px);
}

.chip-icon {
  font-size: 0.85rem;
}

/* Visuel droite */
.intro-right {}

.intro-visual-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  height: 400px;
}

.intro-visual-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.intro-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
}

.intro-visual-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.intro-visual-cert {
  background: linear-gradient(135deg, var(--gold), #f0c070);
  color: #2d1a00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.intro-visual-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ============================================================
   SECTION CONFIANCE / "UN GROUPE DE CONFIANCE"
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.trust-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.trust-salutation {
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
}

.trust-aside {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.trust-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--green-primary), var(--green-light));
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   SECTION AVANTAGES / POURQUOI NOUS CHOISIR
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,122,74,0.2);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26,122,74,0.1), rgba(34,197,94,0.08));
  border: 1px solid rgba(26,122,74,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
  border-color: var(--green-primary);
}

.benefit-icon span {
  transition: filter var(--transition-fast);
}

.benefit-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- SVG Icons Styling ---- */
.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--green-primary);
  transition: color var(--transition-fast);
}

.benefit-card:hover .benefit-icon svg {
  color: #ffffff;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-primary);
  transition: color var(--transition-fast);
}

.contact-card:hover .contact-card-icon svg {
  color: #ffffff;
}

.agent-avatar svg {
  width: 36px;
  height: 36px;
  color: var(--green-primary);
}

.leader-avatar svg {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-link-icon svg {
  width: 32px;
  height: 32px;
  color: var(--green-primary);
}

/* ---- Images Avatar Styling ---- */
.agent-avatar img,
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-avatar img {
  border-radius: 50%;
}

.contact-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SECTION CTA FINALE
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-deep), var(--green-primary));
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE ABOUT — Valeurs
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  border-radius: 3px;
  transition: transform var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,122,74,0.18);
}

.value-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.value-icon {
  font-size: 1rem; /* Ajusté pour une taille légèrement plus visible */
  margin-bottom: 1rem;
  display: block;
}

.value-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.value-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.value-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding: 2rem 0 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1rem;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-primary), var(--green-light), var(--green-primary));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-content-right {
  grid-column: 3;
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-empty {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(26, 122, 74, 0.12), 0 8px 24px rgba(26, 122, 74, 0.25);
  justify-self: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-dot svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--white);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(26, 122, 74, 0.15), 0 10px 28px rgba(26, 122, 74, 0.28);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.timeline-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.timeline-empty {
  display: block;
}

/* ============================================================
   SECTION GPS VISUEL (about)
   ============================================================ */
.gps-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.gps-visual-wrap {
  position: relative;
}

.gps-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  height: 380px;
}

.gps-overlay-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--gold), #f0c070);
  color: #2d1a00;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(212,168,83,0.4);
}

.gps-overlay-pins {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gps-pin-dot {
  width: 10px;
  height: 10px;
  background: var(--green-light);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-map 2s infinite;
}

.gps-pin-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ============================================================
   PAGE SERVICES — Narration vols
   ============================================================ */
.theft-section {
  background: linear-gradient(160deg, #0d1f14, #071408);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.theft-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.theft-content {
  position: relative;
  z-index: 1;
}

.theft-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.theft-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  max-width: 780px;
  margin-bottom: 3rem;
}

.theft-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.theft-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.theft-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter var(--transition-normal);
}

.theft-img-wrap:hover .theft-img {
  filter: brightness(0.9);
}

.theft-img-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Intro solutions */
.solutions-intro {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  position: relative;
  padding: 2rem;
  background: rgba(26,122,74,0.04);
  border: 1px solid rgba(26,122,74,0.12);
  border-radius: var(--radius-xl);
}

.solutions-intro::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--green-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1;
  opacity: 0.5;
}

/* Cards forfaits */
.forfaits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.forfait-card {
  background: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.forfait-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(26,122,74,0.25);
}

.forfait-card.featured {
  border: 2px solid var(--green-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.forfait-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  z-index: 1;
}

.forfait-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.forfait-card:hover .forfait-img {
  transform: scale(1.04);
}

.forfait-img-wrap {
  overflow: hidden;
}

.forfait-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.forfait-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-glow);
  margin-bottom: 0.5rem;
}

.forfait-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.forfait-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
}

.forfait-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.forfait-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.forfait-feature-check {
  width: 18px;
  height: 18px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-glow);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ============================================================
   PAGE AGENTS
   ============================================================ */
.agents-leader {
  margin-bottom: 3rem;
}

.leader-card {
  background: linear-gradient(135deg, var(--green-deep), var(--green-primary));
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.leader-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.leader-avatar {
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.leader-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--gold), #f0c070);
  color: #2d1a00;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.leader-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.leader-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.leader-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 1rem;
}

.leader-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.leader-email:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}

/* Agents grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.agent-card {
  background: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--green-primary), var(--green-light));
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,122,74,0.2);
}

.agent-card:hover::before {
  opacity: 1;
}

.agent-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.agent-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(26,122,74,0.12), rgba(34,197,94,0.08));
  border: 1.5px solid rgba(26,122,74,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.agent-info {}

.agent-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.agent-role {
  font-size: 0.8rem;
  color: var(--green-glow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agent-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.agent-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.agent-service-tag {
  background: rgba(26,122,74,0.07);
  border: 1px solid rgba(26,122,74,0.18);
  color: var(--green-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.agent-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  background: rgba(26,122,74,0.05);
  border: 1px solid rgba(26,122,74,0.15);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.agent-email:hover {
  color: var(--green-deep);
  background: rgba(26,122,74,0.12);
}

/* Note annexe agents */
.agents-note {
  background: rgba(26,122,74,0.04);
  border: 1px solid rgba(26,122,74,0.12);
  border-left: 4px solid var(--green-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 3rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.agents-note strong {
  color: var(--green-primary);
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,122,74,0.2);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(26,122,74,0.1), rgba(34,197,94,0.08));
  border: 1px solid rgba(26,122,74,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-card:hover .contact-card-icon {
  background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
}

.contact-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-glow);
  margin-bottom: 0.35rem;
}

.contact-card-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.65;
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: pre-line;
}

a.contact-card-value:hover {
  color: var(--green-primary);
}

.contact-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: inherit;
  margin-top: 0.2rem;
}

/* Côté droit contact : liens */
.contact-links-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-links-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.contact-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,122,74,0.25);
}

.contact-link-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(26,122,74,0.3);
}

.contact-link-info {}

.contact-link-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.contact-link-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-link-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--green-primary);
  transition: transform var(--transition-fast);
}

.contact-link-card:hover .contact-link-arrow {
  transform: translateX(6px);
}

/* Legal info block */
.legal-block {
  background: rgba(26,122,74,0.04);
  border: 1px solid rgba(26,122,74,0.12);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.legal-block-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-block-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #ffffff;
  color: #000000;
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-light), var(--green-deep));
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Colonne brand */
.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #000000;
}

.footer-tagline {
  font-size: 0.88rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-legal-block {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.45);
  line-height: 1.6;
  font-family: 'JetBrains Mono', monospace;
}

.footer-legal-block strong {
  color: rgba(0,0,0,0.7);
  font-weight: 600;
}

/* Colonnes footer */
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.footer-link {
  font-size: 0.88rem;
  color: #000000;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link::before {
  content: '›';
  color: var(--green-light);
  font-size: 1rem;
  line-height: 1;
}

.footer-link:hover {
  color: var(--green-light);
  transform: translateX(4px);
}

/* Contact footer */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact-icon {
  font-size: 0.9rem;
  color: var(--green-light);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.footer-contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-contact-text {
  font-size: 0.82rem;
  color: #000000;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.footer-contact-text:hover {
  color: var(--green-light);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  font-size: 0.8rem;
  color: #000000;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-link {
  font-size: 0.8rem;
  color: #000000;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--green-light);
}

.footer-bottom-sep {
  color: rgba(0,0,0,0.15);
}

.footer-rccm {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.25);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-green { color: var(--green-primary); }
.text-green-light { color: var(--green-light); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-white { color: #fff; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }

.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }

.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }

.divider {
  height: 1px;
  background: var(--dark-border);
  margin: 2rem 0;
}

/* Grid utilitaires */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* SEO hidden */
.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   ANIMATIONS PIXAR HERO
   ============================================================ */
@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pixarDrop {
  0% {
    transform: translateY(-300px) scale(0.8);
    opacity: 0;
  }
  /* Chute rapide */
  25% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  /* 1er rebond fort */
  35% {
    transform: translateY(-80px) scale(1.05);
    opacity: 1;
  }
  40% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  /* 2e rebond moyen */
  50% {
    transform: translateY(-40px) scale(1.02);
    opacity: 1;
  }
  55% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  /* 3e rebond léger */
  65% {
    transform: translateY(-15px) scale(1.01);
    opacity: 1;
  }
  70% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  /* Position finale stable */
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ============================================================
   RESPONSIVE — TABLETTE (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --container-max: 960px; }

  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { order: 0; max-width: 500px; margin: 0 auto; width: 100%; }
  .hero-visual { max-width: 100%; }

  .intro-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-left { order: 2; }
  .story-right { order: 1; }
  .story-services-container { order: 3; }
  .gps-section-grid { grid-template-columns: 1fr; gap: 3rem; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .forfaits-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 44px 1fr; gap: 1rem; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
  }
  .timeline-item .timeline-empty { display: none; }
  .timeline-dot { justify-self: start; display: none; }
  .timeline-content { padding: 1.4rem 1.2rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .agents-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; text-align: center; }
  .leader-avatar { margin: 0 auto; }

  .nav { display: none; }
  .hamburger { display: flex; }
  .btn-header-cta { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  section { padding: 3.5rem 0; }

  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-subtitle { font-size: 0.95rem; }

  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .hero-card-main {
    padding: 1.2rem;
  }
  .hero-card-header { margin-bottom: 1rem; }
  .hero-map { height: 140px; margin-bottom: 1rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .hero-stat { padding: 0.6rem; }
  .hero-stat-num { font-size: 1rem; }
  .hero-stat-label { font-size: 0.65rem; }

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

  .theft-images { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }

  .timeline-item { gap: 1rem; }
  .timeline-dot {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .timeline-dot {
    display: none;
  }

  .leader-card { padding: 2rem 1.5rem; }
  .leader-name { font-size: 1.3rem; }

  .contact-link-card { flex-wrap: wrap; }

  .hero-float-gps { display: none; }
  .story-img {
    height: 300px;
  }

  .hero-right {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-visual {
    max-width: 360px;
    width: 100%;
  }

  .hero-card-main {
    padding: 1.5rem;
  }

  .intro-visual-card {
    height: 260px;
  }

  .btn { font-size: 0.88rem; padding: 0.75rem 1.5rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-features { flex-direction: column; }
  .agent-card-header { flex-direction: column; }
}

/* ============================================================
   ANIMATIONS D'APPARITION PROFESSIONNELLES
   ============================================================ */

/* Animation de base pour les apparitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Classes d'animation pour les apparitions */
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
  opacity: 0;
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.8s ease-out forwards;
}

.animate-slide-in-up {
  opacity: 0;
  animation: slideInUp 1s ease-out forwards;
}

.animate-slide-in-down {
  opacity: 0;
  animation: slideInDown 1s ease-out forwards;
}

.animate-slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}

.animate-slide-in-right {
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
}

/* Délais d'animation progressifs */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }
.animate-delay-7 { animation-delay: 0.7s; }
.animate-delay-8 { animation-delay: 0.8s; }
.animate-delay-9 { animation-delay: 0.9s; }
.animate-delay-10 { animation-delay: 1s; }

/* Animation au scroll - Intersection Observer */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variations d'animation au scroll */
.animate-on-scroll-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll-up {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll-up.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll-scale.animate-visible {
  opacity: 1;
  transform: scale(1);
}

/* Classes utilitaires pour les animations groupées */
.animate-group > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-group > *:nth-child(1) { animation-delay: 0.1s; }
.animate-group > *:nth-child(2) { animation-delay: 0.2s; }
.animate-group > *:nth-child(3) { animation-delay: 0.3s; }
.animate-group > *:nth-child(4) { animation-delay: 0.4s; }
.animate-group > *:nth-child(5) { animation-delay: 0.5s; }
.animate-group > *:nth-child(6) { animation-delay: 0.6s; }
.animate-group > *:nth-child(7) { animation-delay: 0.7s; }
.animate-group > *:nth-child(8) { animation-delay: 0.8s; }
.animate-group > *:nth-child(9) { animation-delay: 0.9s; }
.animate-group > *:nth-child(10) { animation-delay: 1s; }

/* Animation alternée gauche-droite */
.animate-alternate > *:nth-child(odd) {
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-alternate > *:nth-child(even) {
  opacity: 0;
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-alternate > *:nth-child(1) { animation-delay: 0.1s; }
.animate-alternate > *:nth-child(2) { animation-delay: 0.2s; }
.animate-alternate > *:nth-child(3) { animation-delay: 0.3s; }
.animate-alternate > *:nth-child(4) { animation-delay: 0.4s; }
.animate-alternate > *:nth-child(5) { animation-delay: 0.5s; }
.animate-alternate > *:nth-child(6) { animation-delay: 0.6s; }
.animate-alternate > *:nth-child(7) { animation-delay: 0.7s; }
.animate-alternate > *:nth-child(8) { animation-delay: 0.8s; }

/* Animation en cascade */
.animate-cascade {
  opacity: 0;
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-cascade:nth-child(1) { animation-delay: 0.1s; }
.animate-cascade:nth-child(2) { animation-delay: 0.2s; }
.animate-cascade:nth-child(3) { animation-delay: 0.3s; }
.animate-cascade:nth-child(4) { animation-delay: 0.4s; }
.animate-cascade:nth-child(5) { animation-delay: 0.5s; }
.animate-cascade:nth-child(6) { animation-delay: 0.6s; }
.animate-cascade:nth-child(7) { animation-delay: 0.7s; }
.animate-cascade:nth-child(8) { animation-delay: 0.8s; }
.appareils-section {
  padding: 5rem 0;
  background: var(--bg-section-alt);
  overflow: hidden;
}

.appareils-content {
  max-width: 1200px;
  margin: 0 auto;
}

.appareils-header {
  text-align: center;
  margin-bottom: 4rem;
}

.appareils-header .section-label {
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.appareils-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.appareils-header .section-title span {
  color: var(--green-primary);
}

.appareils-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.appareils-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  width: calc(200px * 24); /* 12 images * 2 pour l'effet infini */
  animation: scrollCarousel 30s linear infinite;
}

.carousel-slide {
  flex: 0 0 200px;
  height: 200px;
  margin: 0 0.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.carousel-slide:hover {
  transform: scale(1.05);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.carousel-slide:hover img {
  transform: scale(1.1);
}

/* Animation du carousel */
@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 12)); /* Défilement de la moitié des images */
  }
}

/* Pause au survol pour une meilleure UX */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
  .appareils-header .section-title {
    font-size: 2.2rem;
  }

  .carousel-slide {
    flex: 0 0 180px;
    height: 180px;
  }

  .carousel-track {
    width: calc(180px * 24);
    animation: scrollCarouselTablet 25s linear infinite;
  }

  @keyframes scrollCarouselTablet {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-180px * 12));
    }
  }
}

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

  .appareils-header {
    margin-bottom: 3rem;
  }

  .appareils-header .section-title {
    font-size: 1.8rem;
  }

  .appareils-description {
    font-size: 1rem;
  }

  .carousel-slide {
    flex: 0 0 150px;
    height: 150px;
    margin: 0 0.25rem;
  }

  .carousel-track {
    width: calc(150px * 24);
    animation: scrollCarouselMobile 20s linear infinite;
  }

  @keyframes scrollCarouselMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 12));
    }
  }
}

@media (max-width: 480px) {
  .appareils-header .section-title {
    font-size: 1.5rem;
  }

  .carousel-slide {
    flex: 0 0 120px;
    height: 120px;
  }

  .carousel-track {
    width: calc(120px * 24);
    animation: scrollCarouselSmall 15s linear infinite;
  }

  @keyframes scrollCarouselSmall {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 12));
    }
  }
}
