:root {
  /* Colors - Luxe Palette */
  --color-primary: #D14900;
  /* Richer, more vibrant Terra Cotta */
  --color-primary-dark: #A33600;
  /* Deeper Terra Cotta for contrast */
  --color-secondary: #0A0F1A;
  /* Darker Slate for a more premium contrast */
  --color-accent: #F4F6F8;
  /* Soft pearl white accent */
  --color-bg-light: #FAFAFC;
  /* Extra clean, slightly warm light grey */
  --color-text: #2B3544;
  /* Darker text for better legibility and premium feel */
  --color-text-light: #5A697E;
  /* Sophisticated muted text */
  --color-white: #FFFFFF;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  /* Modern Friendly */
  --font-body: 'Inter', sans-serif;
  /* Clean Modern */

  /* Shadows - Premium Softness */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 16px -2px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 32px -8px rgba(0, 0, 0, 0.12), 0 12px 16px -4px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 8px 16px -2px rgba(0, 0, 0, 0.06), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 24px -4px rgba(10, 15, 26, 0.08), 0 6px 12px -2px rgba(10, 15, 26, 0.04);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

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

.bg-white {
  background-color: var(--color-white);
}

.bg-light {
  background-color: var(--color-bg-light);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-slow);
  cursor: pointer;
  letter-spacing: 0.02em;
  gap: 0.6rem;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
  box-shadow: 0 6px 12px -2px rgba(209, 73, 0, 0.25), 0 3px 6px -1px rgba(209, 73, 0, 0.15);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 20px -4px rgba(209, 73, 0, 0.4), 0 6px 10px -2px rgba(209, 73, 0, 0.2);
}

.btn-secondary {
  background: white;
  color: var(--color-secondary);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: white;
  color: var(--color-secondary);
  border-color: white;
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  border: 1px solid transparent;
  transform-origin: top center;
  will-change: transform, width, top, padding, border-radius, background, box-shadow, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    width 240ms cubic-bezier(0.16, 1, 0.3, 1),
    max-width 240ms cubic-bezier(0.16, 1, 0.3, 1),
    left 240ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background 200ms ease,
    padding 240ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 240ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms ease,
    box-shadow 200ms ease,
    top 240ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 200ms ease,
    filter 150ms ease;
}

/* ===== SVG Gooey Bridge — Pont liquide Dynamic Island ===== */
.gooey-bridge {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 40px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}

.gooey-bridge.visible {
  opacity: 1;
}

/* ===== Phase 1 : Préparation — la navbar se contracte en bulle mais reste collée en haut ===== */
header.di-phase-prepare {
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  padding: 0.25rem 0.75rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.55);
  top: 0;
  filter: blur(0.4px);
}

/* ===== Phase 2 : Détachement — la bulle se décroche du haut (pendant le pont liquide SVG) ===== */
header.di-phase-detach {
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  padding: 0.25rem 0.75rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.55);
  top: 14px;
  filter: blur(0.6px);
}

/* ===== État final stable : bulle flottante scrolled ===== */
header.scrolled {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  padding: 0.25rem 0.75rem;
  /* Comfy padding */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.55);
  filter: none;
}

/* Micro-rebond d'arrivée */
header.di-settle {
  animation: diSettle 320ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: none;
}

@keyframes diSettle {
  0% {
    transform: translateX(-50%) scale(0.985);
    filter: blur(0.3px);
  }

  50% {
    transform: translateX(-50%) scale(1.008);
    filter: blur(0px);
  }

  100% {
    transform: translateX(-50%) scale(1);
    filter: blur(0px);
  }
}

/* ===== Retour — la bulle remonte et se recolle ===== */
header.di-phase-return {
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  top: 0;
  filter: blur(0.5px);
}

/* ===== Retour Phase 2 — la bulle s'expand en barre pleine ===== */
header.di-phase-expand {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.75rem 0;
  /* Reset to initial padding */
  border-radius: 0;
  border: 1px solid transparent;
  box-shadow: none;
  filter: blur(0.3px);
}

/* Lueur subtile derrière la bulle */
header.scrolled::before,
header.di-phase-prepare::before,
header.di-phase-detach::before,
header.di-phase-return::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.08), rgba(255, 255, 255, 0.1), rgba(194, 65, 12, 0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

header.scrolled:hover::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  header,
  header.di-phase-prepare,
  header.di-phase-detach,
  header.scrolled,
  header.di-phase-return,
  header.di-phase-expand {
    transition: none !important;
    animation: none !important;
  }

  .gooey-bridge {
    display: none !important;
  }
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  min-height: 40px;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s ease;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

header.scrolled .logo {
  color: var(--color-secondary);
  font-size: 1rem;
}

.logo span {
  color: var(--color-primary);
}

.logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  display: block;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
  transform: scale(1.03);
}

header.scrolled .logo-img {
  height: 75px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

header.scrolled .logo:hover .logo-img {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding: 0 0.9rem;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

header.scrolled .nav-link {
  color: var(--color-text);
  font-size: 0.88rem;
  padding: 0 0.75rem;
  height: 36px;
}

header.scrolled .nav-link:hover {
  color: var(--color-primary);
  background: rgba(194, 65, 12, 0.07);
  transform: none;
}

.nav-link.active {
  color: white;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav-link.active {
  color: var(--color-primary);
  background: rgba(194, 65, 12, 0.12);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(194, 65, 12, 0.1);
}

.nav-cta.btn.btn-primary {
  padding: 0 1.4rem;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  margin-left: 0.25rem;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  height: 40px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* CTA scrolled — s'adapte à la bulle compacte */
header.scrolled .nav-cta.btn.btn-primary {
  height: 36px;
  padding: 0 1.25rem;
  font-size: 0.82rem;
  margin-right: 0.25rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: none;
  cursor: pointer;
  color: white;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
}

.mobile-toggle.active {
  color: var(--color-secondary);
}

.navbar .mobile-toggle.active,
header.scrolled .mobile-toggle {
  color: var(--color-secondary);
}

.mobile-toggle .icon {
  width: 28px;
  height: 28px;
  pointer-events: none;
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100px;
  /* Increased top padding to account for taller header */
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.hero h1 {
  color: white;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

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

/* Urgency Strip — Style bulle glassmorphism */
.urgency-strip {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  margin-top: -1.75rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.55);
  flex-wrap: nowrap;
  gap: 0.5rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: urgencyGlideIn 0.7s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Lueur subtile derrière la bulle — identique navbar */
.urgency-strip::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(255, 255, 255, 0.1), rgba(220, 38, 38, 0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.urgency-strip:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

.urgency-strip:hover::before {
  opacity: 1;
}

/* Animation d'apparition — glissement identique navbar */
@keyframes urgencyGlideIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.08),
      0 2px 8px rgba(0, 0, 0, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Fond pilule intérieur — identique au nav-menu scrolled */
.urgency-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  background: rgba(0, 0, 0, 0.04);
  padding: 0.35rem 0.9rem 0.35rem 0.5rem;
  border-radius: var(--radius-full);
}

.urgency-icon {
  width: 36px;
  height: 36px;
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  animation: urgencyPulse 3s ease-in-out infinite;
}

.urgency-icon .icon {
  width: 18px;
  height: 18px;
}

@keyframes urgencyPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.15);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
  }
}

.urgency-text {
  min-width: 0;
}

.urgency-text h3 {
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.3;
  white-space: nowrap;
}

.urgency-text p {
  margin-bottom: 0;
  font-size: 0.72rem;
  color: var(--color-text-light);
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.urgency-action {
  flex-shrink: 0;
}

/* CTA identique au nav-cta — pilule vibrante avec pulse */
.urgency-action .btn {
  padding: 0 1.2rem;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  height: 34px;
  background: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
  box-shadow: 0 3px 14px rgba(194, 65, 12, 0.25);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: ctaPulseSubtle 3s ease-in-out infinite;
}

.urgency-action .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
  border-radius: inherit;
}

.urgency-action .btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px rgba(194, 65, 12, 0.45);
  animation: none;
}

/* Feature Cards */
.feature-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: white;
}

/* Service Cards */
.service-item {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-slow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.05);
}

.service-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.service-content {
  padding: 2rem;
  position: relative;
}

.service-icon-floating {
  position: absolute;
  top: -30px;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 1rem;
}

.service-link:hover {
  gap: 0.8rem;
  color: var(--color-primary-dark);
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.split-image:hover img {
  transform: scale(1.02);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.check-icon {
  color: var(--color-primary);
  background: rgba(194, 65, 12, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Testimonials */
.reviews-section {
  background: linear-gradient(to bottom, var(--color-bg-light), white);
}

.review-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.stars {
  color: #F59E0B;
  /* Amber 500 */
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--color-secondary);
}

.review-location {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Contact Section */
#contact {
  position: relative;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: var(--color-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  padding: 4rem;
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: white;
  padding: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.form-input,
.form-textarea,
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: var(--transition-fast);
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
}

/* Footer */
footer {
  background: var(--color-secondary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94A3B8;
  /* Slate 400 */
  max-width: 300px;
}

.footer-col h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  /* Slate 400 */
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #64748B;
  /* Slate 500 */
  font-size: 0.9rem;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  transform: none;
  background: var(--color-primary);
  color: white;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(194, 65, 12, 0.45);
  z-index: 999;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  max-width: none;
  gap: 0;
  animation: ctaPulseSubtle 3s ease-in-out infinite;
}

.sticky-mobile-cta:hover {
  background: var(--color-primary-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(194, 65, 12, 0.55);
}

.sticky-mobile-cta .icon {
  width: 22px;
  height: 22px;
}

/* Ajouter un padding-bottom au body pour le sticky CTA */
body {
  padding-bottom: 0;
}

@keyframes ctaPulseSubtle {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.45);
  }

  50% {
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.45), 0 0 0 8px rgba(194, 65, 12, 0.12);
  }
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   About Page — Specific Styles
   ========================================= */

/* Lead text */
.about-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* Blockquote */
.about-quote {
  position: relative;
  margin: 2rem 0 0 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var (--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-secondary);
  line-height: 1.7;
}

.about-quote-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  color: var(--color-primary);
  opacity: 0.3;
  width: 28px;
  height: 28px;
}

/* Process Steps */
.about-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.about-process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
  position: relative;
}

.about-process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-process-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.about-process-step:hover .about-process-number {
  opacity: 0.5;
}

.about-process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.about-process-step p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Certifications */
.about-certifications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.about-cert-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
}

.about-cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-cert-card img {
  height: 70px;
  object-fit: contain;
  margin: 0 auto 1.5rem auto;
  background: white;
  padding: 5px;
  border-radius: var(--radius-sm);
}

.about-cert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-cert-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Footer Badges */
.footer-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-badges img {
  height: 70px;
  object-fit: contain;
  background: white;
  padding: 5px;
  border-radius: 4px;
}

/* Contact Page Grid — layout 2 colonnes desktop */
.contact-page-grid {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* ---- Responsive About ---- */
/* ---- TABLETTE (max-width: 992px) ---- */
@media (max-width: 992px) {
  .container {
    width: 94%;
    padding: 0 0.75rem;
  }

  .section-padding {
    padding: 4rem 0;
  }

  h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }

  /* Split section en colonne sur tablette */
  .split-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-image {
    order: -1;
  }

  .split-image img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
  }

  /* Footer 2 colonnes sur tablette */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* About process */
  .about-process {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .about-certifications {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact layout */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 2.5rem;
  }

  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

/* ---- MOBILE (max-width: 768px) ---- */
@media (max-width: 768px) {

  /* ====== RESET GLOBAL MOBILE ====== */
  html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  body {
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
  }

  h1 {
    font-size: 2rem;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 0.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* ====== BOUTONS MOBILE ====== */
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-outline-white:hover {
    transform: none;
  }

  /* ====== HEADER / NAVBAR MOBILE ====== */
  header {
    padding: 0.75rem 0;
    overflow: visible;
  }

  header.scrolled {
    width: calc(100% - 1.5rem);
    max-width: none;
    top: 8px;
    padding: 0.4rem 0.75rem;
    border-radius: 28px;
    overflow: visible;
  }

  /* Phases DI mobile */
  header.di-phase-prepare,
  header.di-phase-detach,
  header.di-phase-return {
    width: calc(100% - 1.5rem);
    max-width: none;
    border-radius: 28px;
    padding: 0.4rem 0.75rem;
    overflow: visible;
  }

  .navbar {
    min-height: 40px;
  }

  .logo {
    font-size: 1.1rem;
    padding-left: 0.25rem;
  }

  header.scrolled .logo {
    font-size: 0.9rem;
    padding-left: 0.4rem;
  }

  /* Toggle hamburger visible */
  .mobile-toggle {
    display: flex;
    z-index: 1002;
    width: 40px;
    height: 40px;
    position: relative;
  }

  .mobile-toggle.active {
    color: white;
  }

  header.scrolled .mobile-toggle.active {
    color: white;
  }

  /* ====== MENU MOBILE — ELEGANT GLASSMORPHISM ====== */
  .navbar .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem 2rem 6rem 3rem;
    gap: 1rem;
    box-shadow: none;
    border: none;
    border-radius: 0;
    z-index: 1001;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Neutraliser le fond pilule scrolled sur le panneau mobile */
  header.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 0;
    width: 100%;
    max-width: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }

  .navbar .nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  /* Liens mobile — style éditorial élégant */
  .navbar .nav-menu .nav-link {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    padding: 0.2rem 0;
    border-radius: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    transition: all 0.3s ease;
    height: auto;
    width: auto;
    justify-content: flex-start;
    background: none;
    text-transform: uppercase;
  }

  .navbar .nav-menu .nav-link:hover,
  .navbar .nav-menu .nav-link.active {
    background: none;
    color: var(--color-primary);
    transform: none;
    opacity: 1;
  }

  /* Liens mobile — neutraliser aussi les styles scrolled */
  header.scrolled .nav-menu .nav-link {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    padding: 0.2rem 0;
    border-radius: 0;
    height: auto;
    background: none;
    text-transform: uppercase;
  }

  header.scrolled .nav-menu .nav-link:hover,
  header.scrolled .nav-menu .nav-link.active {
    background: none;
    color: var(--color-primary);
    transform: none;
    box-shadow: none;
  }

  /* CTA dans le menu — discret mais présent en bas */
  .navbar .nav-menu .nav-cta.btn.btn-primary {
    margin-left: 0;
    margin-top: 1.5rem;
    padding: 0;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    width: auto;
    text-align: left;
    border-radius: 0;
    animation: none;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .navbar .nav-menu .nav-cta.btn.btn-primary:hover {
    background: none;
    transform: none;
    box-shadow: none;
    color: white;
  }

  /* CTA mobile — neutraliser les styles scrolled */
  header.scrolled .nav-menu .nav-cta.btn.btn-primary {
    height: auto;
    padding: 0;
    font-size: 2.5rem;
    margin-right: 0;
    margin-left: 0;
    width: auto;
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
    color: var(--color-primary);
    text-transform: uppercase;
  }

  /* Overlay masqué — le menu lui-même est le plein écran */
  .nav-overlay {
    display: none !important;
  }

  /* ====== STICKY CTA — masquer quand menu ouvert ====== */
  body.menu-open .sticky-mobile-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* ====== HERO MOBILE ====== */
  .hero {
    min-height: 85vh;
    padding-top: 70px;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding: 0 0.75rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  /* ====== URGENCY STRIP MOBILE ====== */
  .urgency-strip {
    flex-direction: row;
    text-align: left;
    border-radius: var(--radius-xl);
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    max-width: 100%;
    margin-top: -1rem;
    align-items: center;
    justify-content: space-between;
  }

  .urgency-strip:hover {
    transform: none;
  }

  .urgency-content {
    justify-content: flex-start;
    border-radius: 0;
    padding: 0;
    width: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    flex: 1;
  }

  .urgency-text h3 {
    white-space: nowrap;
    font-size: 0.75rem;
    text-align: left;
    margin: 0;
    line-height: 1.2;
  }

  /* Cache le paragraphe sur mobile pour tenir sur une ligne */
  .urgency-text p {
    display: none;
  }

  .urgency-action {
    width: auto;
    flex-shrink: 0;
  }

  .urgency-action .btn {
    width: auto;
    border-radius: var(--radius-full);
    height: 32px;
    font-size: 0.75rem;
    padding: 0 0.75rem;
    white-space: nowrap;
  }

  /* ====== FEATURE GRID MOBILE ====== */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin-bottom: 0;
    border-radius: var(--radius-md);
  }

  .feature-icon .icon {
    width: 22px;
    height: 22px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.55;
  }

  /* ====== SERVICES GRID MOBILE ====== */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .service-item {
    border-radius: var(--radius-lg);
  }

  .service-item:hover {
    transform: none;
  }

  .service-img {
    height: 200px;
  }

  .service-content {
    padding: 1.5rem;
  }

  .service-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .service-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .service-icon-floating {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 1.5rem;
  }

  .service-link {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }

  /* ====== SPLIT SECTION MOBILE ====== */
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-image {
    order: -1;
  }

  .split-image img {
    border-radius: var(--radius-lg);
    max-height: 280px;
    object-fit: cover;
    width: 100%;
  }

  .split-content h2 {
    font-size: 1.5rem;
  }

  .split-content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .check-list li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    gap: 0.6rem;
  }

  .check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .split-content .btn {
    width: 100%;
  }

  /* ====== REVIEWS / TESTIMONIALS MOBILE ====== */
  .feature-grid.review-grid,
  .reviews-section .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .review-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .review-author {
    font-size: 0.9rem;
  }

  .review-location {
    font-size: 0.8rem;
  }

  .stars svg {
    width: 16px;
    height: 16px;
  }

  /* ====== CONTACT SECTION MOBILE ====== */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
  }

  .contact-info {
    padding: 2rem 1.5rem;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-input,
  .form-textarea,
  .form-control {
    padding: 0.8rem 0.9rem;
    font-size: 16px;
    /* Empêche le zoom iOS */
    border-radius: var(--radius-md);
  }

  /* ====== FOOTER MOBILE ====== */
  footer {
    padding: 3rem 0 1.5rem;
  }

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

  .footer-brand {
    text-align: center;
  }

  .footer-brand h2 {
    font-size: 1.4rem;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
  }

  .footer-links a:hover {
    padding-left: 0;
    /* Pas de décalage en mobile */
  }

  .footer-badges {
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .footer-badges img {
    height: 55px;
  }

  .copyright {
    padding-top: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.6;
  }

  /* ====== STICKY CTA MOBILE ====== */
  .sticky-mobile-cta {
    display: flex;
    bottom: 20px;
    right: 16px;
    left: auto;
    transform: none;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.45);
    z-index: 998;
    max-width: none;
    gap: 0;
  }

  .sticky-mobile-cta .icon {
    width: 22px;
    height: 22px;
  }

  /* Ajouter un padding-bottom au body pour le sticky CTA */
  body {
    padding-bottom: 0;
  }

  /* ====== ABOUT PAGE MOBILE ====== */
  .about-process {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .about-process-step {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
  }

  .about-process-step:hover {
    transform: none;
  }

  .about-process-number {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .about-process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .about-process-step p {
    font-size: 0.82rem;
  }

  .about-certifications {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-cert-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
  }

  .about-cert-card:hover {
    transform: none;
  }

  .about-cert-card img {
    height: 55px;
    margin: 0;
    flex-shrink: 0;
  }

  .about-cert-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .about-cert-card p {
    font-size: 0.85rem;
  }

  .about-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-quote {
    padding: 1.25rem;
    font-size: 0.95rem;
  }

  /* ====== FAQ MOBILE ====== */
  .faq-item {
    border-radius: var(--radius-md);
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
  }

  /* ====== PHOTOS / GALLERY MOBILE ====== */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .gallery-grid img {
    border-radius: var (--radius-sm);
    height: 150px;
    object-fit: cover;
  }
}

/* ---- PETIT MOBILE (max-width: 480px) ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 0.875rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  /* Hero très petit écran */
  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  /* Feature cards empilées */
  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
  }

  .feature-icon {
    margin-bottom: 0.75rem;
  }

  /* Services petit écran */
  .service-img {
    height: 170px;
  }

  .service-content {
    padding: 1.25rem;
  }

  /* Split section petit écran */
  .split-image img {
    max-height: 220px;
  }

  /* About process 1 colonne */
  .about-process {
    grid-template-columns: 1fr;
  }

  /* Footer petit écran */
  .footer-brand h2 {
    font-size: 1.2rem;
  }

  /* Gallery 1 colonne */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 200px;
  }

  /* Review card petit écran */
  .review-card {
    padding: 1.25rem;
  }

  .review-text {
    font-size: 0.9rem;
  }

  /* Urgency strip compact */
  .urgency-icon {
    width: 32px;
    height: 32px;
  }

  .urgency-icon .icon {
    width: 16px;
    height: 16px;
  }
}

/* ---- TRÈS PETIT MOBILE (max-width: 360px) ---- */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .logo {
    font-size: 0.95rem;
  }

  header.scrolled .logo {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .sticky-mobile-cta {
    width: 48px;
    height: 48px;
    padding: 0;
  }
}

/* ====== AMÉLIRATIONS TOUCH / ACCESSIBILITÉ MOBILE ====== */
@media (hover: none) and (pointer: coarse) {

  /* Supprimer les effets hover sur écrans tactiles */
  .feature-card:hover,
  .service-item:hover,
  .review-card:hover,
  .about-process-step:hover,
  .about-cert-card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  /* Taille minimale des éléments cliquables pour le tactile */
  a,
  button,
  .btn,
  .nav-link,
  .service-link,
  .faq-question {
    min-height: 44px;
  }

  /* État actif plus visible que hover */
  .btn-primary:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  .btn-secondary:active {
    transform: scale(0.97);
  }

  .feature-card:active {
    transform: scale(0.98);
  }

  .service-item:active {
    transform: scale(0.99);
  }

  .nav-link:active {
    opacity: 0.7;
  }
}

/* ====== ORIENTATION PAYSAGE MOBILE ====== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-buttons .btn {
    width: auto;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .navbar .nav-menu {
    width: 50%;
    max-width: 300px;
    padding-top: 3.5rem;
  }
}

/* ====== SAFE AREA (iPhone X+, encoche) ====== */
@supports (padding: env(safe-area-inset-bottom)) {
  .sticky-mobile-cta {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}


/* =========================================
   Snake Timeline Process
   ========================================= */

.snake-timeline {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 4rem auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
}

.snake-timeline::before {
  content: none;
  /* Only used on mobile */
}

.snake-step {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 240px;
  width: 100%;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.snake-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.snake-curve {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.snake-curve path {
  stroke: var(--color-primary);
  stroke-width: 4px;
  stroke-dasharray: 8 8;
  fill: none;
  opacity: 0.6;
}

.snake-node {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: white;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(209, 73, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.snake-step:hover .snake-node {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--color-primary);
  color: white;
}

.snake-node .icon {
  width: 28px;
  height: 28px;
}

.snake-card {
  width: 45%;
  background: white;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s;
}

.snake-step.is-visible .snake-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(209, 73, 0, 0.15);
}

.snake-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.snake-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.snake-card p {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ODD (Step 1, 3, 5): Node Left (30%), Card Right */
.snake-step.odd .snake-node {
  left: 30%;
}

.snake-step.odd .snake-card {
  margin-left: auto;
  margin-right: 5%;
}

/* EVEN (Step 2, 4, 6): Node Right (70%), Card Left */
.snake-step.even .snake-node {
  left: 70%;
}

.snake-step.even .snake-card {
  margin-left: 5%;
  margin-right: auto;
}

.snake-step:last-child .snake-curve {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .snake-card {
    width: 60%;
  }

  .snake-step.odd .snake-node {
    left: 15%;
  }

  .snake-step.odd .snake-card {
    margin-right: 5%;
    margin-left: auto;
    width: 70%;
  }

  .snake-step.even .snake-node {
    left: 85%;
  }

  .snake-step.even .snake-card {
    margin-left: 5%;
    margin-right: auto;
    width: 70%;
  }

  .snake-curve {
    display: none;
  }

  /* Fallback zig-zag mobile lines */
  .snake-timeline::before {
    content: '';
    position: absolute;
    top: 120px;
    bottom: 120px;
    left: 50%;
    width: 3px;
    background-image: repeating-linear-gradient(to bottom, var(--color-primary) 0, var(--color-primary) 8px, transparent 8px, transparent 18px);
    transform: translateX(-50%);
    opacity: 0.6;
    z-index: 1;
  }
}

@media (max-width: 768px) {
  .snake-step {
    min-height: 180px;
  }

  /* All nodes on left */
  .snake-step.odd .snake-node,
  .snake-step.even .snake-node {
    left: 15%;
  }

  .snake-step.odd .snake-card,
  .snake-step.even .snake-card {
    width: 70%;
    margin-left: auto;
    margin-right: 1rem;
    padding: 1.5rem;
  }

  /* Central line moved to left */
  .snake-timeline::before {
    left: 15%;
    top: 90px;
    bottom: 90px;
  }
}