/* ════════════════════════════════════════════════════════════════
   ETS DINE TECHNOLOGIE — V3 ULTRA PREMIUM CSS
   Mobile-First | Responsive | Glassmorphism | Scroll Animations
   ════════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS FALLBACK ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Merriweather:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES (VARIABLES)
══════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --blue-deep:    #1E3A8A;
  --blue-mid:     #2563EB;
  --blue-light:   #3B82F6;
  --blue-pale:    #DBEAFE;
  --blue-xpale:   #EFF6FF;
  --gold:         #F59E0B;
  --gold-light:   #FCD34D;
  --whatsapp:     #25D366;
  --whatsapp-dk:  #128C7E;
  --success:      #10B981;
  --danger:       #EF4444;

  /* Neutral Scale */
  --slate-950:  #020617;
  --slate-900:  #0F172A;
  --slate-800:  #1E293B;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748B;
  --slate-400:  #94A3B8;
  --slate-300:  #CBD5E1;
  --slate-200:  #E2E8F0;
  --slate-100:  #F1F5F9;
  --slate-50:   #F8FAFC;
  --white:      #FFFFFF;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-serif:   'Merriweather', serif;
  --font-body:    'IBM Plex Sans', sans-serif;

  /* Spacing */
  --container:    1240px;
  --section-pad:  6rem;
  --section-pad-sm: 3.5rem;

  /* Radii */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  40px;
  --r-full: 9999px;

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-back:  cubic-bezier(.34,1.56,.64,1);
  --t-fast:     all .2s var(--ease);
  --t:          all .35s var(--ease);
  --t-slow:     all .6s var(--ease);

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(15,23,42,.06);
  --shadow-md:  0 4px 20px rgba(30,58,138,.10);
  --shadow-lg:  0 10px 40px rgba(30,58,138,.15);
  --shadow-xl:  0 20px 64px rgba(30,58,138,.20);
  --shadow-glow: 0 0 40px rgba(37,99,235,.25);

  /* Light Theme (default) */
  --bg:          var(--white);
  --bg-alt:      var(--slate-50);
  --bg-card:     var(--white);
  --text:        var(--slate-900);
  --text-b:      var(--slate-600);
  --text-m:      var(--slate-400);
  --border:      var(--slate-200);
  --border-focus: var(--blue-mid);
  --hdr-bg:      rgba(255,255,255,.92);

  /* Header height */
  --hdr-h: 68px;
}

[data-theme="dark"] {
  --bg:       #0A0F1E;
  --bg-alt:   #111827;
  --bg-card:  #111827;
  --text:     #F0F4FF;
  --text-b:   #94A3B8;
  --text-m:   #64748B;
  --border:   #1F2937;
  --hdr-bg:   rgba(10,15,30,.95);
  --shadow-md: 0 4px 20px rgba(0,0,0,.40);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.50);
  --shadow-xl: 0 20px 64px rgba(0,0,0,.60);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Prevent horizontal scroll */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
  transition: background .35s, color .35s;
}

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

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

ul { list-style: none; }

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

/* ══════════════════════════════════════════
   3. UTILITY CLASSES
══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-tag {
  display: inline-block;
  background: var(--blue-xpale);
  color: var(--blue-mid);
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
  border: 1px solid var(--blue-pale);
}

[data-theme="dark"] .section-tag {
  background: rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.3);
  color: #93C5FD;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-b);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   4. BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: white !important;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 24px rgba(37,99,235,.35);
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(37,99,235,.45);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-arrow { transition: transform .3s var(--ease-back); }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: white !important;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: var(--t);
  white-space: nowrap;
}

.btn-glass:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   5. PRELOADER
══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--blue-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s, visibility .6s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner { text-align: center; }

.preloader-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: preloaderPulse 1.2s ease infinite;
}

.preloader-icon-wrap i {
  font-size: 1.8rem;
  color: white;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 28px;
  flex-direction: column;
}

.preloader-logo em {
  font-style: normal;
  color: rgba(255,255,255,.55);
}

.preloader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, #93C5FD, white);
  border-radius: var(--r-full);
  animation: loadFill 2s ease forwards;
}

.preloader-label {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  margin-top: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .8; }
}
@keyframes loadFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ══════════════════════════════════════════
   6. HEADER
══════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--hdr-bg);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--border);
  transition: var(--t);
  width: 100%;
}

#header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow: visible; /* évite que le burger soit coupé */
  min-width: 0;      /* permet aux enfants flex de rétrécir correctement */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .5px;
  color: var(--text);
  transition: var(--t);
  flex-shrink: 0;
  min-width: 0;
}

.logo:hover { opacity: .85; }

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .85rem;
  box-shadow: 0 2px 10px rgba(37,99,235,.3);
  flex-shrink: 0;
}

.logo-accent { color: var(--blue-mid); }

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

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

.nav-desktop a {
  padding: 7px 13px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-b);
  border-radius: var(--r-sm);
  transition: var(--t);
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--blue-mid);
  background: var(--blue-xpale);
}

[data-theme="dark"] .nav-desktop a:hover,
[data-theme="dark"] .nav-desktop a.active {
  background: rgba(37,99,235,.12);
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 0;
}

.lang-switcher {
  display: none;
  align-items: center;
  gap: 2px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
}

/* Desktop: afficher les boutons, cacher le select */
@media (min-width: 768px) {
  .lang-switcher--desktop { display: flex; }
  .lang-switcher--mobile  { display: none; }
}

/* Mobile: cacher les boutons, afficher le select */
@media (max-width: 767px) {
  .lang-switcher--desktop { display: none; }
  .lang-switcher--mobile  { display: flex; }
}

/* Wrapper du select mobile */
.lang-select-wrap {
  position: relative;
  align-items: center;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-b);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  padding: 6px 28px 6px 12px;
  cursor: pointer;
  transition: var(--t);
  outline: none;
  height: 36px;
}

.lang-select:focus,
.lang-select:hover {
  border-color: var(--blue-mid);
  color: var(--blue-mid);
  background: var(--blue-xpale);
}

[data-theme="dark"] .lang-select {
  background: var(--bg-alt);
  color: var(--text-b);
}

.lang-select-arrow {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .6rem;
  color: var(--text-m);
  pointer-events: none;
}

.lang-btn {
  padding: 4px 9px;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: var(--r-full);
  color: var(--text-m);
  transition: var(--t);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--blue-mid);
  color: white;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-b);
  font-size: .88rem;
  transition: var(--t);
}

.theme-toggle:hover {
  background: var(--blue-xpale);
  color: var(--blue-mid);
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;        /* plus grand = plus facile à toucher */
  height: 44px;       /* taille min recommandée WCAG pour le touch */
  min-width: 44px;    /* empêche le rétrécissement */
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: var(--t);
  flex-shrink: 0;
  touch-action: manipulation; /* évite le délai 300ms sur iOS */
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .burger { display: none; }
}

.burger:hover { background: var(--bg-alt); }

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--hdr-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  gap: 2px;
  width: 100%;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-b);
  border-radius: var(--r-sm);
  transition: var(--t);
}

.mobile-menu a:hover {
  background: var(--blue-xpale);
  color: var(--blue-mid);
}

[data-theme="dark"] .mobile-menu a:hover {
  background: rgba(37,99,235,.12);
}

.mobile-menu a i { font-size: .85rem; width: 18px; text-align: center; }

.mobile-whatsapp {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--whatsapp) !important;
  color: white !important;
  margin-top: 8px;
  border-radius: var(--r-full) !important;
  padding: 13px 20px !important;
  font-weight: 700 !important;
}

/* ══════════════════════════════════════════
   7. HERO SECTION — Plein écran, texte sur image
══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--hdr-h);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s ease, transform 9s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Dégradé léger — l'image reste visible, le texte est lisible */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(5,10,28,.55) 0%,
    rgba(8,18,50,.45) 40%,
    rgba(5,10,28,.70) 100%
  );
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hsd {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: var(--t);
  border: none;
  padding: 0;
}

.hsd.active {
  background: white;
  width: 28px;
  border-radius: var(--r-xs);
}

/* ── Wrapper du contenu ── */
.hero-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--hdr-h));
}

/* ── Contenu centré, sans fond ── */
.hero-inner {
  width: 100%;
  max-width: 860px;
  text-align: center;
}

/* Animation staggerée des enfants */
.hero-inner > * {
  animation: heroFadeUp .85s var(--ease) both;
}
.hero-trust-badges { animation-delay: .05s; }
.hero-headline     { animation-delay: .18s; }
.hero-description  { animation-delay: .30s; }
.hero-ctas         { animation-delay: .42s; }
.hero-stats        { animation-delay: .55s; }

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

/* ── Trust Badges ── */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.24);
  padding: 5px 13px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: rgba(255,255,255,.9);
}

.trust-badge i { font-size: .75rem; color: rgba(255,255,255,.65); }
.trust-badge.verified { border-color: rgba(74,222,128,.5); color: #4ADE80; }
.trust-badge.verified i { color: #4ADE80; }

/* ── Headline ── */
.hero-headline { margin-bottom: 1.25rem; }

.hero-pre {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(.75rem, 2vw, .88rem);
  font-weight: 600;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}

.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

.hero-title-accent {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 5.5vw, 4.2rem);
  color: #93C5FD;
  line-height: 1.18;
  letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.28);
}

/* ── Description ── */
.hero-description {
  font-size: clamp(.92rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.84);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  line-height: 1.78;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* ── CTAs ── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 2.75rem;
}

/* ── Stats bar — sobre, visible sur l'image ── */
.hero-stats {
  display: inline-flex;
  flex-wrap: nowrap;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-full);
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
}

.stat-pill + .stat-pill {
  border-left: 1px solid rgba(255,255,255,.14);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #93C5FD;
  margin-right: 2px;
}

.stat-sep { display: none; }

.stat-label {
  font-size: .68rem;
  color: rgba(255,255,255,.62);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.3;
  max-width: 80px;
  text-align: left;
}

/* ── Scroll Hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: heroScroll 2.5s ease infinite;
}

.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.38);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(255,255,255,.45);
  border-radius: 2px;
  animation: scrollW 1.8s ease infinite;
}

@keyframes scrollW {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .2; transform: translateY(6px); }
}

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════
   8. PROBLEMS SECTION
══════════════════════════════════════════ */
.section-problems {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

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

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

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--t);
  display: flex;
  flex-direction: column;
}

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

.problem-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.problem-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.problem-card:hover .problem-img-wrap img { transform: scale(1.07); }

.problem-img-badge {
  position: absolute;
  bottom: -1px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--r-md) var(--r-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.problem-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-content h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.problem-content p {
  font-size: .85rem;
  color: var(--text-b);
  line-height: 1.65;
  flex: 1;
}

.problem-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-top: 4px;
  transition: var(--t);
  letter-spacing: .02em;
}

.problem-link i { font-size: .7rem; transition: transform .3s; }
.problem-link:hover { color: var(--blue-deep); }
.problem-link:hover i { transform: translateX(4px); }

/* ══════════════════════════════════════════
   9. KEY NUMBERS SECTION
══════════════════════════════════════════ */
.section-numbers {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--blue-deep), #1d4ed8);
  position: relative;
  overflow: hidden;
}

.section-numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

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

.number-item {
  text-align: center;
  color: white;
}

.number-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
}

.number-val {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.number-val span:last-child {
  font-size: 1.5rem;
  opacity: .7;
}

.number-item p {
  font-size: .8rem;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   10. SERVICES SECTION
══════════════════════════════════════════ */
.section-services {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

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

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

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,99,235,.3);
}

.service-card--featured {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 2px rgba(37,99,235,.12), var(--shadow-lg);
}

.service-card--featured:hover {
  box-shadow: 0 0 0 2px rgba(37,99,235,.3), var(--shadow-xl);
}

.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: var(--gold);
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

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

.service-num {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.15);
  line-height: 1;
  pointer-events: none;
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--blue-xpale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--blue-mid);
  transition: var(--t);
}

.service-card:hover .service-icon-wrap,
.service-card--featured .service-icon-wrap {
  background: var(--blue-mid);
  color: white;
}

[data-theme="dark"] .service-icon-wrap {
  background: rgba(37,99,235,.15);
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.service-body p {
  font-size: .87rem;
  color: var(--text-b);
  line-height: 1.65;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--text-b);
}

.service-features li i {
  color: var(--success);
  font-size: .75rem;
  flex-shrink: 0;
  width: 14px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--blue-xpale);
  color: var(--blue-mid) !important;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  transition: var(--t);
  margin-top: auto;
}

.service-cta:hover {
  background: var(--blue-mid);
  color: white !important;
}

.service-cta i { font-size: 1rem; }

[data-theme="dark"] .service-cta {
  background: rgba(37,99,235,.12);
  color: #93C5FD !important;
}

[data-theme="dark"] .service-cta:hover {
  background: var(--blue-mid);
  color: white !important;
}

/* ══════════════════════════════════════════
   11. WHY US SECTION
══════════════════════════════════════════ */
.section-why {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-layout { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.why-img-side {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.why-img-side img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}

@media (max-width: 1023px) {
  .why-img-side img { height: 320px; }
}

.why-img-badge,
.why-img-card {
  position: absolute;
  background: white;
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .why-img-badge,
[data-theme="dark"] .why-img-card {
  background: var(--bg-card);
}

.why-img-badge {
  bottom: 24px;
  left: 24px;
}

.why-img-badge i {
  font-size: 1.4rem;
  color: var(--gold);
}

.why-img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.why-img-badge span { font-size: .78rem; color: var(--text-b); }

.why-img-card {
  top: 24px;
  right: 24px;
}

.why-img-card i { font-size: 1.2rem; }

.why-img-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.why-img-card span { font-size: .78rem; color: var(--text-b); }

.why-content { padding: 0; }

.why-content .section-tag { display: inline-block; }

.why-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 16px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.why-content > p {
  font-size: 1rem;
  color: var(--text-b);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--t);
}

.why-item:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.why-item-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-xpale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue-mid);
  flex-shrink: 0;
  transition: var(--t);
}

.why-item:hover .why-item-icon {
  background: var(--blue-mid);
  color: white;
}

[data-theme="dark"] .why-item-icon {
  background: rgba(37,99,235,.15);
}

.why-item-text h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.why-item-text p {
  font-size: .85rem;
  color: var(--text-b);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   12. PROCESS SECTION
══════════════════════════════════════════ */
.section-process {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.process-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-xpale);
  line-height: 1;
  margin-bottom: -1rem;
  position: relative;
  z-index: 0;
}

[data-theme="dark"] .process-num {
  color: rgba(37,99,235,.12);
}

.process-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
  position: relative;
  z-index: 1;
  transition: var(--t);
}

.process-step:hover .process-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 36px rgba(37,99,235,.4);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.process-step p {
  font-size: .85rem;
  color: var(--text-b);
  line-height: 1.65;
  max-width: 200px;
  margin: 0 auto;
}

.process-connector {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 5.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-connector { display: block; }
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--border);
}

/* ══════════════════════════════════════════
   13. TESTIMONIALS SECTION
══════════════════════════════════════════ */
.section-testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  overflow: hidden;
}

.testi-slider-wrap { position: relative; }

.testi-track-outer {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s var(--ease);
  will-change: transform;
}

.testi-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .testi-card {
    flex: 0 0 calc(50% - .75rem);
  }
}

@media (min-width: 1024px) {
  .testi-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.testi-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-pale);
  transform: translateY(-4px);
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: .9rem;
}

.testi-text {
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.testi-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}

.testi-info span {
  font-size: .78rem;
  color: var(--text-m);
}

/* Testimonial Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 2rem;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-b);
  font-size: .9rem;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
}

.testi-btn:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: white;
  transform: scale(1.05);
}

.testi-dots {
  display: flex;
  gap: 6px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--t);
  border: none;
  padding: 0;
}

.testi-dot.active {
  background: var(--blue-mid);
  width: 24px;
  border-radius: var(--r-xs);
}

/* ══════════════════════════════════════════
   14. PORTFOLIO / RÉALISATIONS
══════════════════════════════════════════ */
.section-portfolio {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}

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

  .portfolio-item--wide { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px;
  }

  .portfolio-item--wide { grid-column: span 2; }
  .portfolio-item--tall { grid-row: span 2; }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .7s var(--ease);
  display: block;
}

@media (min-width: 1024px) {
  .portfolio-item img { height: 100%; }
  .portfolio-item--tall img { height: 100%; }
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.92) 0%, rgba(10,15,30,.35) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transition: var(--t);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #93C5FD;
}

.portfolio-overlay h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.portfolio-overlay span {
  font-size: .8rem;
  opacity: .7;
}

/* ══════════════════════════════════════════
   15. FAQ SECTION
══════════════════════════════════════════ */
.section-faq {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t);
}

.faq-item:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 2px rgba(37,99,235,.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--t);
}

.faq-question:hover { color: var(--blue-mid); }
.faq-item.open .faq-question { color: var(--blue-mid); }

.faq-icon {
  font-size: .75rem;
  flex-shrink: 0;
  transition: transform .35s var(--ease);
  color: var(--text-m);
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue-mid); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  display: block;
  overflow: hidden;
}

.faq-answer[hidden] { display: none; }

.faq-answer p {
  font-size: .9rem;
  color: var(--text-b);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ══════════════════════════════════════════
   16. LOCATION SECTION
══════════════════════════════════════════ */
.section-location {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .location-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
  }
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--t);
}

.location-detail:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-md);
}

.loc-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-xpale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-mid);
  flex-shrink: 0;
}

[data-theme="dark"] .loc-icon {
  background: rgba(37,99,235,.15);
}

.loc-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: .02em;
}

.loc-text p,
.loc-text a {
  font-size: .87rem;
  color: var(--text-b);
  line-height: 1.65;
  display: block;
}

.loc-text a {
  color: var(--blue-mid);
  transition: var(--t);
}

.loc-text a:hover { color: var(--blue-deep); }

.location-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.btn-map-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--text) !important;
  padding: 14px 24px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--t);
  white-space: nowrap;
}

.btn-map-go:hover {
  background: var(--blue-xpale);
  border-color: var(--blue-mid);
  color: var(--blue-mid) !important;
  transform: translateY(-2px);
}

/* Map Container */
.location-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (min-width: 1024px) {
  .map-container { height: 100%; min-height: 420px; }
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  border-radius: var(--r-xl);
}

/* "Y aller maintenant" button on map */
.map-go-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: white !important;
  padding: 16px 24px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 4px 24px rgba(37,99,235,.35);
  transition: var(--t);
  text-align: center;
  letter-spacing: .02em;
}

.map-go-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(37,99,235,.45);
}

.map-go-btn i:last-child { font-size: .75rem; }

/* ══════════════════════════════════════════
   17. FINAL CTA SECTION
══════════════════════════════════════════ */
.section-final-cta {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.section-final-cta:hover .cta-bg-img { transform: scale(1.0); }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,15,30,.90) 0%,
    rgba(30,58,138,.82) 100%
  );
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-tag {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.9) !important;
}

.section-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin: 0 auto 16px;
  line-height: 1.15;
  max-width: 680px;
  letter-spacing: -.02em;
}

.section-final-cta > .container > .final-cta-content > p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 20px;
  border-radius: var(--r-full);
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.urgency-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: udot 1.8s ease infinite;
  flex-shrink: 0;
}

@keyframes udot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-cta-main,
.btn-cta-secondary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: var(--r-lg);
  transition: var(--t);
  min-width: 200px;
}

.btn-cta-main {
  background: var(--whatsapp);
  color: white !important;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
}

.btn-cta-main:hover {
  background: var(--whatsapp-dk);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(37,211,102,.45);
}

.btn-cta-secondary {
  background: rgba(255,255,255,.10);
  color: white !important;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-3px);
}

.btn-cta-main i,
.btn-cta-secondary i { font-size: 1.5rem; flex-shrink: 0; }

.btn-cta-text { text-align: left; }

.btn-cta-label {
  display: block;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 600;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .3px;
}

/* ══════════════════════════════════════════
   18. FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--slate-950);
  color: white;
  padding: 5rem 0 0;
}

[data-theme="dark"] footer { background: #030712; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.footer-logo i { color: var(--blue-light); font-size: 1.3rem; }
.footer-logo em { font-style: normal; color: var(--blue-light); }

.footer-brand > p {
  font-size: .87rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: var(--t);
}

.footer-social a:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: white;
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3,
.footer-legal h3 {
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,.3);
  margin-bottom: 1rem;
}

.footer-links ul li { margin-bottom: 8px; }

.footer-links ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}

.footer-links ul li a:hover { color: var(--blue-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: var(--blue-light);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  word-break: break-all;
}

.footer-contact-item a:hover { color: var(--blue-light); }

.footer-legal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-legal-item i { color: var(--blue-light); flex-shrink: 0; }

.footer-legal-item div span {
  display: block;
  font-size: .65rem;
  color: rgba(255,255,255,.25);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-legal-item div strong {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
}

.footer-legal-note {
  font-size: .75rem;
  color: rgba(255,255,255,.22);
  line-height: 1.6;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 8px;
}

/* ══════════════════════════════════════════
   19. FLOATING ELEMENTS
══════════════════════════════════════════ */
/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 88px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  z-index: 900;
  transition: var(--t);
  animation: fabPulse 3s ease infinite;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.3); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

.whatsapp-fab:hover {
  background: var(--whatsapp-dk);
  transform: scale(1.1);
  animation: none;
}

.fab-tooltip {
  position: absolute;
  right: 70px;
  background: var(--slate-900);
  color: white;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  box-shadow: var(--shadow-md);
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--slate-900);
  border-right: none;
}

.whatsapp-fab:hover .fab-tooltip { opacity: 1; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--blue-mid);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--t);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-deep);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   20. RIPPLE ANIMATION
══════════════════════════════════════════ */
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ══════════════════════════════════════════
   21. DARK THEME OVERRIDES
══════════════════════════════════════════ */
[data-theme="dark"] .service-cta {
  background: rgba(37,99,235,.12);
  color: #93C5FD !important;
}

[data-theme="dark"] .service-cta:hover {
  background: var(--blue-mid);
  color: white !important;
}

[data-theme="dark"] .why-img-badge,
[data-theme="dark"] .why-img-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

[data-theme="dark"] .problem-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testi-card,
[data-theme="dark"] .why-item,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .location-detail {
  background: var(--bg-card);
  border-color: var(--border);
}

/* ══════════════════════════════════════════
   22. FOCUS / ACCESSIBILITY
══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   23. PRINT STYLES
══════════════════════════════════════════ */
@media print {
  #header, .whatsapp-fab, .back-to-top, #preloader { display: none !important; }
  body { padding-top: 0; }
}

/* ══════════════════════════════════════════
   24. RESPONSIVE — TABLET (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  html, body { overflow-x: hidden; width: 100%; }

  #hero {
    min-height: 100svh;
    padding-top: var(--hdr-h);
  }

  .hero-content-wrap {
    padding: 2rem 1.25rem 5rem;
    align-items: center;
  }

  .hero-inner { max-width: 100%; }

  .hero-title-main  { font-size: clamp(1.9rem, 8.5vw, 3rem); }
  .hero-title-accent{ font-size: clamp(1.6rem, 7.5vw, 2.5rem); }

  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-glass { justify-content: center; min-width: 260px; }

  /* Stats bar — wrap sur mobile sans casser l'inline-flex */
  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--r-xl);
    width: auto;
    max-width: 100%;
  }

  .stat-pill {
    flex: 1 1 calc(33% - 2px);
    padding: 12px 14px;
    justify-content: center;
  }

  .stat-pill + .stat-pill { border-left: 1px solid rgba(255,255,255,.14); }

  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: .62rem; max-width: 60px; }

  .hero-trust-badges { gap: 6px; }
  .trust-badge { font-size: .63rem; padding: 4px 10px; }

  /* Why us */
  .why-img-badge, .why-img-card { display: none; }

  /* CTA buttons */
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .btn-cta-main, .btn-cta-secondary { min-width: 280px; max-width: 340px; justify-content: center; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }

  /* FAB */
  .whatsapp-fab { bottom: 80px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
  .back-to-top  { bottom: 20px; right: 16px; }
}

/* ══════════════════════════════════════════
   25. RESPONSIVE — MOBILE SMALL (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-pad-sm: 3rem; }

  .container { padding: 0 1rem; }

  /* Hero very small */
  .hero-content-wrap { padding: 1.5rem 1rem 4.5rem; }
  .hero-title-main   { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .hero-title-accent { font-size: clamp(1.45rem, 8vw, 2rem); }
  .hero-trust-badges { gap: 5px; }
  .trust-badge { font-size: .6rem; padding: 4px 8px; }
  .hero-stats { width: 100%; border-radius: var(--r-lg); }
  .stat-pill  { padding: 10px 10px; }
  .stat-num   { font-size: 1.25rem; }
  .stat-label { display: none; }
  .btn-primary, .btn-glass { min-width: 0; width: 100%; }

  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: clamp(1.4rem, 7vw, 1.9rem); }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item img { height: 220px; }

  .location-ctas { flex-direction: column; }
  .btn-map-go, .btn-primary { width: 100%; justify-content: center; }

  .map-container { height: 280px; }

  .process-connector { display: none; }
  .numbers-grid { gap: 1rem; }
  .number-val { font-size: 2rem; }
}

/* ══ BURGER & HEADER — Compatibilité mobile universelle ══ */
/* Garantit que le burger reste visible sur TOUS les mobiles */
@media (max-width: 1023px) {
  .burger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .header-container {
    padding: 0 0.75rem;
  }
}

@media (max-width: 360px) {
  .logo-text { font-size: .85rem; letter-spacing: 0; }
  .logo-icon { width: 30px; height: 30px; font-size: .75rem; }
  .lang-select { font-size: .65rem; padding: 4px 22px 4px 8px; }
  .theme-toggle { width: 32px; height: 32px; font-size: .8rem; }
}

/* ══════════════════════════════════════════
   SECTION RÉPARATION TÉLÉPHONE
══════════════════════════════════════════ */
.section-phone-repair {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

/* Intro bicolonne */
.phone-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .phone-intro { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

.phone-intro-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.phone-intro-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--r-xl);
}

@media (max-width: 767px) {
  .phone-intro-img img { height: 240px; }
}

.phone-intro-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  border-radius: var(--r-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .phone-intro-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.phone-intro-badge i {
  font-size: 1.8rem;
  color: var(--blue-mid);
}

.phone-intro-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.phone-intro-badge span {
  font-size: .78rem;
  color: var(--text-b);
}

.phone-intro-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.phone-intro-text p {
  font-size: 1rem;
  color: var(--text-b);
  line-height: 1.78;
  margin-bottom: 1.75rem;
}

/* Grille des types de pannes */
.phone-repairs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

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

.phone-repair-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-repair-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-pale);
}

.phone-repair-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.phone-repair-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.phone-repair-card:hover .phone-repair-img img { transform: scale(1.06); }

.phone-repair-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  position: absolute;
  top: calc(180px - 23px); /* centré sur la séparation image/texte */
  right: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.phone-repair-body {
  padding: 1.25rem 1.25rem 1.25rem;
  padding-top: 1.75rem;
  flex: 1;
}

.phone-repair-body h4 {
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.phone-repair-body p {
  font-size: .87rem;
  color: var(--text-b);
  line-height: 1.65;
}

/* Marques */
.phone-brands {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.phone-brands-label {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-b);
  margin-right: 4px;
  white-space: nowrap;
}

.phone-brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 5px 13px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-b);
  transition: var(--t);
}

.brand-pill:hover {
  background: var(--blue-xpale);
  border-color: var(--blue-pale);
  color: var(--blue-mid);
}

.brand-pill i { font-size: .8rem; }

/* CTA bar */
.phone-cta-bar {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--r-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.phone-cta-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: white;
  flex: 1;
  min-width: 200px;
}

.phone-cta-text > i {
  font-size: 1.8rem;
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
  margin-top: 2px;
}

.phone-cta-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.phone-cta-text span {
  font-size: .87rem;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .phone-cta-bar {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .phone-cta-bar .btn-primary { width: 100%; justify-content: center; }
}
