/* ============================================================
   PH DÉPANNAGE — Feuille de style v2 (Dynamique & Sans Blanc)
   Palette inspirée du logo : Navy + Bleu vif + Orange flamme + Bleu eau
   ============================================================ */

:root {
  /* === BLEUS (logo) === */
  --navy-950: #061427;
  --navy-900: #0a1d3a;
  --navy-800: #102f54;
  --navy-700: #1a4480;
  --blue-600: #1d5fc7;     /* couleur du H du logo */
  --blue-500: #2e7ae0;
  --blue-400: #4ba2ff;     /* goutte d'eau */
  --blue-300: #7cc4ff;
  --blue-100: #d6e9ff;
  --blue-50:  #eaf2fc;

  /* === ORANGE (flamme du logo) === */
  --orange-700: #d94a00;
  --orange-600: #ff5400;
  --orange-500: #ff6b1a;    /* flamme principale */
  --orange-400: #ff8a3d;
  --orange-300: #ffae74;
  --orange-200: #ffd0a8;
  --orange-100: #ffe7d2;

  /* === FONDS TEINTÉS (jamais blanc pur) === */
  --bg-cream:  #fdf6ea;    /* fond principal — crème chaud */
  --bg-warm:   #faeedb;    /* nuance plus chaude */
  --bg-sky:    #eaf2fc;    /* bleu très clair */
  --bg-paper:  #fbf2e4;    /* papier crème */
  --bg-ivory:  #fff4dd;    /* ivoire orangé */
  --card-bg:   #fffaf0;    /* fond de carte (teinté) */
  --card-bg-2: #f4f0e7;    /* alternative cartes */

  /* === NEUTRES (chauds) === */
  --gray-50:  #f5efe4;
  --gray-100: #ebe4d6;
  --gray-200: #d9cfbb;
  --gray-300: #b9ad95;
  --gray-500: #6b6358;
  --gray-700: #3a352d;
  --gray-900: #1a1813;

  /* === SÉMANTIQUE === */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger:  #dc2626;

  /* === GRADIENTS ANIMÉS === */
  --grad-fire: linear-gradient(135deg, var(--orange-500), var(--orange-400), var(--orange-600));
  --grad-water: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  --grad-deep: linear-gradient(135deg, var(--navy-900), var(--navy-700), var(--blue-600));
  --grad-warm: linear-gradient(135deg, var(--bg-cream), var(--bg-warm), var(--bg-ivory));
  --grad-cta: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);

  /* === TYPOGRAPHIE === */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* === ESPACEMENTS === */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* === OMBRES === */
  --shadow-sm: 0 2px 6px rgba(10, 29, 58, 0.08);
  --shadow: 0 8px 22px rgba(10, 29, 58, 0.10);
  --shadow-md: 0 18px 40px rgba(10, 29, 58, 0.14);
  --shadow-lg: 0 32px 80px rgba(10, 29, 58, 0.22);
  --shadow-orange: 0 14px 38px rgba(255, 107, 26, 0.4);
  --shadow-blue: 0 14px 38px rgba(29, 95, 199, 0.3);

  /* === TRANSITIONS === */
  --t-fast: 0.18s ease;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-900);
  background: var(--bg-cream);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 138, 61, 0.10) 0%, transparent 30%),
    radial-gradient(circle at 88% 75%, rgba(75, 162, 255, 0.12) 0%, transparent 30%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--navy-700); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--orange-500); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--gray-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) { section { padding: 70px 0; } }

/* Sections alternées de couleurs (jamais blanc) */
.bg-cream { background: var(--bg-cream); }
.bg-warm  { background: var(--bg-warm); }
.bg-sky   { background: var(--bg-sky); }
.bg-paper { background: var(--bg-paper); }
.bg-ivory { background: var(--bg-ivory); }

/* Décorations de fond (blobs animés) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: float 16s ease-in-out infinite;
}
.blob-orange { background: var(--orange-300); }
.blob-blue { background: var(--blue-300); }
.blob-navy { background: var(--navy-700); opacity: 0.18; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.94); }
}

/* ====== EMBLÈME LOGO HERO + PARTICULES ====== */
.hero-emblem {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 26vw, 360px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 25px 60px rgba(255, 138, 61, 0.35))
          drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
  animation: emblemFloat 6s ease-in-out infinite;
  opacity: 0.92;
}
.hero-emblem::after {
  content: '';
  position: absolute;
  inset: -20% -15%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.35) 0%, transparent 60%);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(calc(-50% - 20px)) rotate(2deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

@media (max-width: 900px) {
  .hero-emblem { display: none; }
}

/* Petites particules — gouttes & flammes */
.particle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: rise 8s linear infinite;
}
.particle.drop {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 30%, var(--blue-400), var(--blue-600));
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(75, 162, 255, 0.6);
}
.particle.flame {
  width: 12px;
  height: 18px;
  background: radial-gradient(circle at 50% 70%, var(--orange-400), var(--orange-600));
  border-radius: 50% 50% 50% 50% / 80% 80% 30% 30%;
  box-shadow: 0 0 18px rgba(255, 138, 61, 0.7);
}

@keyframes rise {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  10% { opacity: 0.85; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-300px) scale(1.1); opacity: 0; }
}

/* Compteur xl pour stats hero */
.stat-counter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  display: block;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 7px 16px;
  background: var(--orange-100);
  border-radius: 30px;
  border: 1px solid var(--orange-200);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.18);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.eyebrow-blue {
  color: var(--blue-600);
  background: var(--blue-50);
  border-color: var(--blue-100);
}
.eyebrow-blue::before { background: var(--blue-500); box-shadow: 0 0 0 4px rgba(29, 95, 199, 0.18); }

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}

.section-head h2 {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  font-size: 1.12rem;
  color: var(--gray-700);
}

.text-orange { color: var(--orange-500); }
.text-blue { color: var(--blue-600); }
.text-center { text-align: center; }

/* ============================================================
   BOUTONS
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 50px rgba(255, 84, 0, 0.5);
}

.btn-secondary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 29, 58, 0.3);
}
.btn-secondary:hover {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
}

.btn-blue {
  background: var(--grad-water);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { color: #fff; transform: translateY(-3px) scale(1.02); }

.btn-ghost {
  background: rgba(253, 246, 234, 0.12);
  color: #fff;
  border-color: rgba(253, 246, 234, 0.4);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(253, 246, 234, 0.22);
  color: #fff;
  border-color: var(--orange-400);
}

.btn-outline {
  background: var(--card-bg);
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-3px);
}

.btn svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 246, 234, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}

.site-header.scrolled {
  background: rgba(253, 246, 234, 0.96);
  border-bottom-color: var(--orange-100);
  box-shadow: 0 6px 30px rgba(10, 29, 58, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
}
.logo:hover { color: var(--navy-900); }
.logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(10, 29, 58, 0.15));
  transition: transform var(--t-bounce);
}
.logo:hover img { transform: scale(1.08) rotate(-3deg); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-text small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  border-radius: 10px;
  transition: all var(--t-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 3px;
  background: var(--grad-cta);
  border-radius: 3px;
  transition: all var(--t);
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--orange-600); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 24px; }
.nav-links a.active { color: var(--orange-600); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
  padding: 8px 14px;
  background: var(--orange-100);
  border-radius: 30px;
  border: 1px solid var(--orange-200);
  transition: all var(--t);
}
.nav-phone:hover {
  background: var(--orange-200);
  color: var(--navy-900);
  transform: translateY(-2px);
}
.nav-phone svg { width: 18px; height: 18px; color: var(--orange-600); animation: ring 2.4s ease-in-out infinite; }

@keyframes ring {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
}

.nav-toggle {
  display: none;
  background: var(--orange-100);
  border: 1px solid var(--orange-200);
  width: 46px; height: 46px;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  color: var(--navy-900);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: grid; place-items: center; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: var(--bg-cream);
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--orange-100);
  }
  .nav-links.open a { padding: 14px 18px; font-size: 1rem; }
  .logo-text small { display: none; }
  .logo img { height: 56px; }
}

/* ============================================================
   HERO / CARROUSEL — Dynamique avec effets
   ============================================================ */

.hero {
  position: relative;
  margin-top: 88px;
  overflow: hidden;
  background: var(--navy-950);
}

.carousel {
  position: relative;
  height: clamp(580px, 85vh, 780px);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 9s linear;
}
.slide.active .slide-bg { transform: scale(1); }

.slide-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg,
      rgba(6, 20, 39, 0.88) 0%,
      rgba(10, 29, 58, 0.75) 35%,
      rgba(26, 68, 128, 0.55) 70%,
      rgba(255, 107, 26, 0.25) 100%
    );
}

/* Particules animées dans le hero */
.slide-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 138, 61, 0.18) 0%, transparent 8%),
    radial-gradient(circle at 80% 60%, rgba(75, 162, 255, 0.22) 0%, transparent 12%),
    radial-gradient(circle at 50% 80%, rgba(255, 107, 26, 0.15) 0%, transparent 10%);
  animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}

.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 980px;
  padding: 0 24px;
  animation: fadeInUp 1.2s ease 0.3s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-content .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--orange-300);
  border-color: rgba(255, 138, 61, 0.4);
  backdrop-filter: blur(10px);
}
.slide-content .eyebrow::before { background: var(--orange-400); box-shadow: 0 0 0 5px rgba(255, 138, 61, 0.3); }

.slide-content h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  font-weight: 800;
}
.slide-content h1 .accent {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300), var(--orange-500));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGradient 3s ease-in-out infinite;
  position: relative;
}
.slide-content h1 .accent-blue {
  background: linear-gradient(135deg, var(--blue-300), var(--blue-400), var(--blue-500));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGradient 3s ease-in-out infinite 0.4s;
}
@keyframes shineGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.slide-content p {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 40px;
}

.slide-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contrôles carrousel */
.carousel-controls {
  position: absolute;
  bottom: 50px; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dot {
  width: 44px; height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--t);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.carousel-dot.active {
  background: rgba(255, 255, 255, 0.25);
  width: 80px;
}
.carousel-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-cta);
  animation: progressBar 6s linear;
  transform-origin: left;
}
@keyframes progressBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all var(--t);
  backdrop-filter: blur(12px);
}
.carousel-arrow:hover {
  background: var(--grad-cta);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}
.carousel-arrow.prev { left: 30px; }
.carousel-arrow.next { right: 30px; }
.carousel-arrow svg { width: 24px; height: 24px; }

@media (max-width: 768px) { .carousel-arrow { display: none; } }

/* Bandeau urgence sous le hero */
.urgency-bar {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}
.urgency-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400), var(--blue-500), var(--orange-500));
  background-size: 200% 100%;
  animation: shineGradient 4s linear infinite;
}
.urgency-bar::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: var(--orange-500);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.urgency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
}
.urgency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--t);
}
.urgency-item:hover { transform: scale(1.05); }
.urgency-item svg {
  width: 26px; height: 26px;
  color: var(--orange-400);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 138, 61, 0.5));
}

/* ============================================================
   SERVICES (CARTES) — Plus dynamiques
   ============================================================ */

.services-section { background: var(--bg-cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.service-card {
  position: relative;
  padding: 38px 32px;
  background: var(--card-bg);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--t);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-100), var(--blue-50));
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--navy-800);
  transition: all var(--t-bounce);
  position: relative;
}
.service-card:hover .service-icon {
  background: var(--grad-cta);
  color: #fff;
  transform: rotate(-8deg) scale(1.1);
  box-shadow: var(--shadow-orange);
}
.service-icon svg { width: 34px; height: 34px; transition: transform var(--t); }

.service-card h3 {
  margin-bottom: 12px;
  transition: color var(--t);
}
.service-card:hover h3 { color: var(--orange-600); }

.service-card p {
  font-size: 0.97rem;
  color: var(--gray-700);
  margin-bottom: 22px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-weight: 700;
  font-size: 0.92rem;
  position: relative;
}
.service-card:hover .service-link { color: var(--orange-600); }
.service-link svg {
  width: 16px; height: 16px;
  transition: transform var(--t);
}
.service-link:hover svg, .service-card:hover .service-link svg { transform: translateX(6px); }

/* ============================================================
   POURQUOI NOUS
   ============================================================ */

.why-section {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--orange-200) 0%, transparent 70%);
  top: -250px; right: -250px;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 18s ease-in-out infinite;
}
.why-section::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue-200, var(--blue-100)) 0%, transparent 70%);
  bottom: -200px; left: -200px;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 20s ease-in-out infinite reverse;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: var(--card-bg);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--t);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--orange-100), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.why-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--orange-300);
  box-shadow: var(--shadow-md);
}
.why-card:hover::before { opacity: 0.4; }

.why-card > * { position: relative; }

.why-number {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
}

.why-card:nth-child(2) .why-number { background: var(--grad-water); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.why-card:nth-child(3) .why-number { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.why-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why-card p { font-size: 0.93rem; margin: 0; color: var(--gray-700); }

/* ============================================================
   À PROPOS / INTRO IMAGE+TEXTE
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } }

.split-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow);
}
.split-image:hover { transform: scale(1.02) rotate(0.5deg); }
.split-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.split-image:hover img { transform: scale(1.08); }

.split-image-deco {
  position: absolute;
  width: 100%; height: 100%;
  border: 3px solid var(--orange-500);
  border-radius: var(--radius-xl);
  top: 24px; left: 24px;
  z-index: -1;
  transition: all var(--t-slow);
}
.split-image-wrap { position: relative; padding: 0 24px 24px 0; }
.split-image-wrap:hover .split-image-deco { top: 16px; left: 16px; }

/* Badge flottant sur l'image */
.split-image-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--card-bg);
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: bounce 3s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.split-image-badge svg { width: 36px; height: 36px; color: var(--orange-500); }
.split-image-badge strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900); line-height: 1; }
.split-image-badge span { font-size: 0.78rem; color: var(--gray-700); font-weight: 500; }

.split-content ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
}
.split-content li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--gray-700);
}
.split-content li::before {
  content: '';
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--grad-cta);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 16px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 16px;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   CTA BANDE — Très dynamique
   ============================================================ */

.cta-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--blue-600) 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.35) 0%, transparent 70%);
  top: -300px; right: -200px;
  border-radius: 50%;
  animation: float 14s ease-in-out infinite;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(75, 162, 255, 0.3) 0%, transparent 70%);
  bottom: -200px; left: -100px;
  border-radius: 50%;
  animation: float 16s ease-in-out infinite reverse;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   RÉALISATIONS (GALERIE) — Effets dynamiques
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 26px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--t);
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gallery-item:hover img { transform: scale(1.12); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(6, 20, 39, 0.96) 0%,
    rgba(10, 29, 58, 0.5) 50%,
    rgba(255, 107, 26, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
  transition: opacity var(--t);
}
.gallery-overlay .tag {
  display: inline-block;
  background: var(--grad-cta);
  color: #fff;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 107, 26, 0.5);
}
.gallery-overlay h4 { color: #fff; margin: 0 0 6px; font-size: 1.25rem; }
.gallery-overlay p { color: rgba(255, 255, 255, 0.88); margin: 0; font-size: 0.9rem; }

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  background: var(--card-bg);
  border: 1.5px solid var(--gray-200);
  padding: 11px 24px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-orange);
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */

.testimonials { background: var(--bg-sky); position: relative; overflow: hidden; }
.testimonials::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue-100) 0%, transparent 70%);
  top: -200px; left: -100px;
  border-radius: 50%;
  animation: float 22s ease-in-out infinite;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 2;
}
.testimonial {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--t);
  border: 1.5px solid transparent;
  overflow: hidden;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-200);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px; right: 26px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--orange-100);
  z-index: 0;
}
.testimonial-stars {
  display: flex; gap: 4px;
  color: var(--orange-500);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.testimonial-stars svg { width: 20px; height: 20px; filter: drop-shadow(0 2px 4px rgba(255, 107, 26, 0.3)); }
.testimonial p {
  font-style: italic;
  color: var(--gray-700);
  position: relative; z-index: 1;
  margin-bottom: 22px;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative; z-index: 1;
}
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-deep);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  border: 3px solid var(--orange-300);
}
.author-info strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.97rem;
}
.author-info span {
  font-size: 0.83rem;
  color: var(--gray-700);
}

/* ============================================================
   PAGE-HEADER (pour pages internes)
   ============================================================ */

.page-header {
  background:
    linear-gradient(135deg, rgba(6, 20, 39, 0.95) 0%, rgba(10, 29, 58, 0.85) 60%, rgba(29, 95, 199, 0.6) 100%),
    radial-gradient(circle at 80% 30%, var(--orange-500) 0%, transparent 50%);
  color: #fff;
  padding: 160px 0 100px;
  margin-top: 88px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 107, 26, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(75, 162, 255, 0.18) 0%, transparent 40%);
  animation: drift 14s ease-in-out infinite alternate;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-header h1 .accent {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--orange-300); font-weight: 600; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   PAGE SERVICES — Détaillé
   ============================================================ */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 120px;
}
.service-detail:nth-child(even) .service-detail-img { order: 2; }
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .service-detail:nth-child(even) .service-detail-img { order: 0; }
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  position: relative;
  transition: transform var(--t-slow);
}
.service-detail-img:hover { transform: scale(1.02); }
.service-detail-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.service-detail-img:hover img { transform: scale(1.1); }
.service-detail-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 60%, rgba(255, 107, 26, 0.15));
  pointer-events: none;
}

.service-detail h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }

.service-features {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) { .service-features { grid-template-columns: 1fr; } }
.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--gray-700);
  padding: 8px 12px;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--gray-100);
  transition: all var(--t);
}
.service-features li:hover {
  border-color: var(--orange-300);
  transform: translateX(4px);
  background: var(--orange-100);
}
.service-features li::before {
  content: '';
  width: 22px; height: 22px;
  background: var(--grad-cta);
  border-radius: 50%;
  flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 14px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 14px;
  background-color: var(--orange-500);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 55px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-card {
  display: flex;
  gap: 20px;
  padding: 26px;
  background: var(--card-bg);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all var(--t);
}
.contact-card:hover {
  border-color: var(--orange-400);
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all var(--t-bounce);
}
.contact-card:hover .contact-card-icon {
  background: var(--grad-cta);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}
.contact-card-icon svg { width: 26px; height: 26px; }
.contact-card h4 { margin: 0 0 8px; font-size: 1.08rem; }
.contact-card p { margin: 0; color: var(--gray-700); font-size: 0.95rem; }
.contact-card a { color: var(--gray-700); font-weight: 500; }
.contact-card a:hover { color: var(--orange-600); }

.contact-form {
  background: var(--card-bg);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: var(--orange-100);
  border-radius: 50%;
  top: -100px; right: -100px;
  filter: blur(40px);
  opacity: 0.6;
}
.contact-form > * { position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1.5px solid var(--gray-200);
  background: var(--bg-cream);
  border-radius: 12px;
  transition: all var(--t);
  color: var(--navy-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  background: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 22px;
}
.form-checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--orange-500); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--blue-500), var(--orange-500));
  background-size: 200% 100%;
  animation: shineGradient 5s linear infinite;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--grad-cta);
  border-radius: 3px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t);
}
.footer-col a:hover { color: var(--orange-400); transform: translateX(4px); }

.footer-logo .logo { color: #fff; margin-bottom: 18px; }
.footer-logo .logo img { filter: drop-shadow(0 4px 12px rgba(255, 138, 61, 0.3)); }
.footer-logo .logo-text strong {
  background: linear-gradient(90deg, #fff, var(--orange-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-logo .logo-text small { color: var(--orange-300); }
.footer-about {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  transition: all var(--t);
}
.footer-social a:hover {
  background: var(--grad-cta);
  transform: translateY(-3px) rotate(-5deg);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   BOUTON FLOTTANT URGENCE — Pulsant et attractif
   ============================================================ */

.floating-call {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 16px 20px;
  background: var(--grad-cta);
  color: #fff;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(255, 107, 26, 0.5);
  animation: pulse-shadow 2.4s infinite, bounce 3s ease-in-out infinite;
  transition: transform var(--t);
  font-size: 0.95rem;
}
.floating-call:hover {
  transform: scale(1.08);
  color: #fff;
}
.floating-call svg { width: 24px; height: 24px; animation: ring 2.4s ease-in-out infinite; }

@keyframes pulse-shadow {
  0%, 100% { box-shadow: 0 16px 40px rgba(255, 107, 26, 0.5); }
  50% {
    box-shadow:
      0 16px 40px rgba(255, 107, 26, 0.7),
      0 0 0 12px rgba(255, 107, 26, 0.15),
      0 0 0 24px rgba(255, 107, 26, 0.08);
  }
}

@media (max-width: 540px) {
  .floating-call { padding: 16px; }
  .floating-call .label { display: none; }
}

/* ============================================================
   ANIMATIONS D'APPARITION (scroll-reveal)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left { transform: translateX(-50px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(50px); }
.reveal-right.visible { transform: translateX(0); }

/* Délais en cascade */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SÉLECTION TEXTE
   ============================================================ */
::selection { background: var(--orange-500); color: #fff; }
::-moz-selection { background: var(--orange-500); color: #fff; }

/* ============================================================
   RESPONSIVE MOBILE — Renforcement compatibilité téléphone
   ============================================================ */

/* Évite tout débordement horizontal sur mobile */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Tablette */
@media (max-width: 900px) {
  :root { --container: 100%; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.15; }
  h2 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); line-height: 1.2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .urgency-content { flex-wrap: wrap; gap: 18px; justify-content: center; }
  .cta-band { padding: 50px 0; }
  .cta-band > .container { flex-direction: column; text-align: center; gap: 24px; }
  .cta-band-actions { justify-content: center; flex-wrap: wrap; }
  .slide-content { padding: 0 22px; text-align: center; }
  .slide-actions { justify-content: center; }
  .page-header { padding: 110px 0 60px; }
  .blob { filter: blur(60px); opacity: 0.4; }
}

/* Téléphone */
@media (max-width: 600px) {
  section { padding: 50px 0; }
  .container { padding: 0 16px; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.45rem, 6vw, 1.85rem); }
  h3 { font-size: 1.15rem; }
  .logo img { height: 48px; }
  .logo-text strong { font-size: 1rem; }
  .site-header { height: 76px; }
  .hero { margin-top: 76px; }
  .carousel { height: clamp(540px, 85vh, 680px); }
  .nav-links.open { top: 76px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.92rem; }
  .slide-content h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .slide-content p { font-size: 0.98rem; }
  .slide-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .slide-actions .btn { justify-content: center; width: 100%; min-height: 50px; }
  .btn { font-size: 0.95rem; padding: 13px 22px; min-height: 48px; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 28px 22px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .urgency-item { font-size: 0.92rem; flex-basis: calc(50% - 9px); }
  .urgency-item svg { width: 22px; height: 22px; }
  .testimonial { padding: 26px 22px; }
  .service-card { padding: 28px 24px; }
  .service-icon { width: 58px; height: 58px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .breadcrumb { font-size: 0.85rem; flex-wrap: wrap; }
  .gallery-filter { gap: 8px; }
  .filter-btn { font-size: 0.85rem; padding: 8px 14px; }
  .contact-card { padding: 22px; gap: 16px; }
  .contact-card-icon { width: 46px; height: 46px; flex-shrink: 0; }
  /* Désactive le tilt 3D sur mobile (déjà désactivé en JS, mais sécurité) */
  .service-card:hover { transform: translateY(-4px) !important; }
  /* Floating call : agrandi pour zone tactile */
  .floating-call { bottom: 18px; right: 18px; padding: 16px; }
  .floating-call svg { width: 26px; height: 26px; }
  /* Particules + emblème : on cache pour gagner en perf */
  .particle { display: none; }
  /* Réduit l'intensité des blobs */
  .blob { filter: blur(50px); opacity: 0.35; }
}

/* Très petit (≤ 380px) */
@media (max-width: 380px) {
  .urgency-item { flex-basis: 100%; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .logo-text strong { font-size: 0.95rem; }
  .floating-call .label { display: none; }
}

/* Touch-friendly : taille minimale 44x44 pour tous les liens cliquables */
@media (pointer: coarse) {
  .btn, .nav-toggle, .filter-btn, .carousel-dot, .floating-call,
  .nav-links a, .footer-col a, .service-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .carousel-dot { width: 14px; height: 14px; }
}

/* Barre de défilement */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-paper); }
::-webkit-scrollbar-thumb { background: var(--orange-400); border-radius: 6px; border: 2px solid var(--bg-paper); }
::-webkit-scrollbar-thumb:hover { background: var(--orange-500); }
