/* Le Transporteur Montois — Styles (pattern AELYX adapté) */
/* Outfit auto-hébergé (latin + latin-ext, variable woff2) */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

:root {
  --font-display: "Outfit", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-elegant: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  /* Gamme fraîche : eau / teal / slate */
  --header-bg: #0f766e;
  --bg-darkest: #1e293b;
  --bg-dark: #334155;
  --bg-medium: #475569;
  --bg-light: #5b6b7a;
  --accent: #14b8a6;
  --accent-light: #5eead4;
  --accent-rgb: 20, 184, 166;
  --accent-light-rgb: 94, 234, 212;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --surface-light: #f0f9f8;
  --surface-card: #f4fbfa;
  /* Fonds de section : doux, professionnel, transporteur (route / ciel / confiance) */
  --section-bg: linear-gradient(
    165deg,
    #fafbfc 0%,
    #f4f7fa 25%,
    #eef5f3 55%,
    #e5f0ee 100%
  );
  --section-card-bg: rgba(255, 255, 255, 0.92);
  /* Image de fond : Nos Services → Contact (autoroute nuit, lumières, trafic — même genre que ta ref). Pour la tienne : assets/bg-transport.jpg puis décommenter la ligne locale. */
  --bg-transport-url: url("https://images.pexels.com/photos/315938/pexels-photo-315938.jpeg?auto=compress&cs=tinysrgb&w=1920");
  /* Même visuel, fichier plus léger pour mobiles (évite surcharge décodage) */
  --bg-transport-url-sm: url("https://images.pexels.com/photos/315938/pexels-photo-315938.jpeg?auto=compress&cs=tinysrgb&w=960");
  /* --bg-transport-url: url("assets/bg-transport.jpg"); */
  /* --bg-transport-url-sm: url("assets/bg-transport.jpg"); */
  --bg-transport-overlay: rgba(15, 23, 42, 0.6);
  --section-text: #0f766e;
  --section-text-body: #134e4a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg:
    0 12px 40px -12px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: rgba(26, 35, 50, 0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --section-padding-top: 4rem;
  --section-padding-bottom: 6rem;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: 2px solid rgba(255, 255, 255, 0.85);
  --glass-blur: 28px;
  --glass-shadow:
    0 8px 32px rgba(26, 35, 50, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  --glass-shadow-hover:
    0 24px 56px rgba(26, 35, 50, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-12deg);
    opacity: 0;
  }
  40% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(150%) skewX(-12deg);
    opacity: 0;
  }
}

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

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

/* Icônes SVG (sprite assets/icons.svg, remplace Font Awesome) */
.icon-svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.service-icon .icon-svg {
  width: 1.75rem;
  height: 1.75rem;
}
.vehicules-arrow .icon-svg {
  width: 1.25rem;
  height: 1.25rem;
}
.floating-contact-btn .icon-svg {
  width: 1.35rem;
  height: 1.35rem;
}
.notification-content .icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.pack-card-remove .icon-svg {
  width: 1rem;
  height: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(
    160deg,
    var(--bg-medium) 0%,
    var(--bg-dark) 50%,
    var(--bg-darkest) 100%
  );
  z-index: 1000;
  padding: 0.85rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.nav-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  font-family: var(--font-display);
  text-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.3),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-logo-text {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

/* Contraste renforcé sur fond header (--header-bg) pour accessibilité */
.nav-menu a {
  text-decoration: none;
  color: #ecfdf5;
  font-weight: 500;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.nav-menu a:hover {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(var(--accent-light-rgb), 0.9),
    0 0 20px rgba(var(--accent-rgb), 0.5);
}

.nav-menu a.nav-phone {
  font-weight: 600;
  color: #ffffff;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

.nav-menu a.nav-phone:hover {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(var(--accent-light-rgb), 0.9),
    0 0 20px rgba(var(--accent-rgb), 0.5);
}

.nav-menu a.nav-phone .icon-svg {
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.35rem;
}

.legal-back .btn .icon-svg {
  margin-right: 0.4rem;
  vertical-align: -0.15em;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #f8fafc;
  margin: 3px 0;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
  border-radius: 2px;
}

.hamburger:hover span {
  background: rgba(var(--accent-light-rgb), 1);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.35);
}

/* ——— Accueil : image pleine section, titre en haut au centre, encadré texte en dessous ——— */
.accueil {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.accueil-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0f172a;
  width: 100%;
}

.accueil-bg-img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.accueil-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5.5rem 1.5rem 2rem;
  box-sizing: border-box;
  background: transparent;
}

/* Bloc texte en haut, pleine largeur, pas de scroll (contenu visible en entier) */
.accueil-hero {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 0.5rem;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    transparent 100%
  );
}

.accueil-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
  width: 100%;
}

/* Animations d'entrée accueil : depuis les bords extrêmes de la page (gauche / droite) */
.accueil-overlay [data-anim] {
  opacity: 0;
  transform: translateY(20px);
  animation: accueilReveal 0.8s var(--ease-elegant) forwards;
}

.accueil-hero[data-anim] {
  animation: none;
  opacity: 1;
  transform: none;
}

/* Titre + tagline : depuis l'extrême droite (même temps que les autres) */
.accueil-hero .accueil-header {
  opacity: 0;
  transform: translateX(100vw);
  animation: accueilFromRight 0.9s var(--ease-elegant) 0s forwards;
}

/* Boutons en bas de section : depuis l'extrême droite (même temps que les autres) */
.accueil-actions[data-anim] {
  opacity: 0;
  transform: translateX(100vw);
  animation: accueilFromRight 0.9s var(--ease-elegant) 0s forwards;
}

/* Petits écrans : entrées courtes (LCP / thread principal) au lieu de glissades plein écran */
@media (max-width: 768px) {
  .accueil-hero .accueil-header {
    transform: translateY(18px);
    animation-name: accueilReveal;
    animation-duration: 0.55s;
  }

  .accueil-actions[data-anim] {
    transform: translateY(22px);
    animation-name: accueilReveal;
    animation-duration: 0.55s;
  }

  .accueil-text .accueil-intro-lead[data-anim-text] {
    transform: translateY(14px);
    animation-name: accueilTextReveal;
    animation-duration: 0.55s;
    animation-delay: 0s;
  }
}

/* Bandeau bas d’accueil : boutons en bas de l’écran (section pleine hauteur) */
.accueil-bottom {
  width: 100%;
  margin-top: auto;
  padding: 0.75rem 1rem 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    transparent 100%
  );
}

@keyframes accueilFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes accueilFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.accueil-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.4),
    0 2px 16px rgba(0, 0, 0, 0.25);
}

.accueil-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.35);
}

.accueil-tagline {
  display: block;
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0.4em 0 0;
  padding-top: 0.45em;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 2px 10px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.accueil-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin: 0.75rem 0 0;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* Carte de bienvenue — très transparente, image bien visible, reflets type verre */
.accueil-card {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 28px;
  padding: 2.5rem 2rem 2rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    6px 6px 18px 0 rgba(255, 255, 255, 0.1) inset,
    -3px -3px 12px 0 rgba(255, 255, 255, 0.05) inset,
    0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Zone texte pleine largeur (lisibilité préservée sur grand écran) */
.accueil-text {
  width: 100%;
  max-width: 52em;
  margin: 0 auto;
  text-align: center;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

/* Fond léger derrière le texte pour le détacher de l’image */
.accueil-card-content::before {
  display: none;
}

/* Animation d’entrée en cascade du texte */
.accueil-text [data-anim-text] {
  opacity: 0;
  transform: translateY(14px);
  animation: accueilTextReveal 0.7s var(--ease-elegant) forwards;
}

/* Paragraphe du milieu (Implanté au cœur de Mons...) : depuis l'extrême gauche (même temps que les autres) */
.accueil-text .accueil-intro-lead[data-anim-text] {
  transform: translateX(-100vw);
  animation: accueilFromLeft 0.9s var(--ease-elegant) 0s forwards;
}

.accueil-text .accueil-intro-last[data-anim-text] {
  animation-delay: 0.6s;
}

.accueil-text .accueil-intro-end[data-anim-text] {
  animation-delay: 0.75s;
}

.accueil-text .accueil-intro-tagline[data-anim-text] {
  animation-delay: 0.9s;
}

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

/* Texte accueil — bien détaché de l’image, très lisible */
.accueil-intro {
  font-size: 1.06rem;
  line-height: 1.9;
  color: #ffffff;
  margin: 0 0 1.25rem;
  letter-spacing: 0.045em;
  font-weight: 500;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 0 4px rgba(0, 0, 0, 0.95),
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 4px 24px rgba(0, 0, 0, 0.5);
}

.accueil-intro-lead {
  font-size: clamp(1.08rem, 1.1vw + 0.84rem, 1.28rem);
  line-height: 1.8;
  margin-bottom: 0;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: #ffffff;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  padding: 0.85rem 0 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 0 6px rgba(0, 0, 0, 0.95),
    0 1px 5px rgba(0, 0, 0, 0.9),
    0 3px 14px rgba(0, 0, 0, 0.7),
    0 6px 28px rgba(0, 0, 0, 0.5);
}

/* Strong conservé pour le référencement, rendu identique au reste du texte */
.accueil-intro-lead strong {
  font-weight: 500;
  letter-spacing: 0.04em;
  color: inherit;
}

.accueil-intro-last {
  margin-bottom: 0;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 0 4px rgba(0, 0, 0, 0.95),
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 4px 24px rgba(0, 0, 0, 0.5);
}

.accueil-intro-end {
  margin-bottom: 0;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 0 4px rgba(0, 0, 0, 0.95),
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 4px 24px rgba(0, 0, 0, 0.5);
}

.accueil-intro-tagline {
  display: inline;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  border-top: none;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  font-family: var(--font-display);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 0 4px rgba(0, 0, 0, 0.95),
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 4px 24px rgba(0, 0, 0, 0.5);
}

.accueil-intro strong {
  font-size: inherit;
  font-weight: 500;
  color: inherit;
}

.accueil-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.accueil-bottom .accueil-actions {
  margin-top: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.accueil-actions .service-card-cta {
  width: auto;
  margin-top: 0;
}

.accueil-actions .btn-accueil {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-display);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.accueil-actions .btn-accueil.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
}

.accueil-actions .btn-accueil.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.45);
}

.accueil-actions .btn-accueil.btn-primary .icon-svg {
  width: 0.75em;
  height: 0.75em;
  transition: transform 0.25s ease;
}

.accueil-actions .btn-accueil.btn-primary:hover .icon-svg {
  transform: translateX(4px);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(
    180deg,
    var(--primary-light) 0%,
    var(--primary) 50%,
    var(--primary-dark) 100%
  );
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--primary-dark);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-hover);
}

/* Style néon identique au bouton Réserver (Nos services, Nous contacter, etc.) — lueur adoucie */
.btn.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #000000;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 9999px;
  box-shadow:
    0 0 8px rgba(var(--accent-rgb), 0.28),
    0 0 24px rgba(var(--accent-rgb), 0.15),
    0 0 48px rgba(var(--accent-rgb), 0.08);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.btn.btn-neon:hover {
  background: #000000;
  color: #ffffff;
  border-color: rgba(var(--accent-light-rgb), 0.85);
  transform: translateY(-2px);
  box-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.4),
    0 0 32px rgba(var(--accent-rgb), 0.22),
    0 0 64px rgba(var(--accent-rgb), 0.12);
}

@media (max-width: 900px) {
  .accueil-overlay {
    padding: 5rem 1rem 2rem;
  }
  .accueil-hero {
    padding: 0 0.5rem;
  }
  .accueil-header {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 768px) {
  .accueil-overlay {
    padding: 4.5rem 1rem 2rem;
  }
  .accueil-hero {
    padding: 0 0.5rem;
  }
  .accueil-header {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
  }
  .accueil-title {
    font-size: 1.6rem;
  }
  .accueil-text .accueil-intro {
    font-size: 0.95rem;
  }
  .accueil-intro-lead {
    font-size: 1.08rem;
  }
  .accueil-tagline {
    font-size: 0.75rem;
    white-space: normal;
  }
  .accueil-intro-tagline {
    font-size: 0.85rem;
  }
  .accueil-actions {
    flex-direction: column;
    margin-top: 1.5rem;
  }
  .accueil-actions .btn-accueil,
  .accueil-actions .service-card-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Services → Contact : image fixe plein viewport, les sections défilent par-dessus (effet parallaxe). */
.transport-sections-stack {
  position: relative;
  z-index: 1;
}

/* Couche plein écran, hors flux — reste visible pendant le scroll des sections.
   iPhone / Safari : position:fixed OK (contrairement à background-attachment:fixed).
   svh/dvh = hauteur viewport stable ou dynamique selon barres UI. */
.transport-bg-fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  z-index: 0;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-color: #0f172a;
  background-image: var(--bg-transport-url);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.transport-bg-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-transport-overlay);
}

.transport-sections-stack > .services,
.transport-sections-stack > .vehicules,
.transport-sections-stack > .contact {
  position: relative;
  z-index: 1;
  background: transparent;
  background-image: none;
}

@media (prefers-reduced-motion: reduce) {
  .transport-bg-fixed {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100%;
    height: auto;
  }
}

/* ——— Nos véhicules : fond clair menthe/teal (même padding top/bottom que Services et Contact) ——— */
.vehicules {
  min-height: 100vh;
  padding: var(--section-padding-top) 20px var(--section-padding-bottom);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.vehicules > .container,
.vehicules > .vehicules-card {
  position: relative;
  z-index: 1;
}

.vehicules-card {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.vehicules-card-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-right: 0;
}

/* Barre du haut dans la fiche — intro (fond opaque, même couleur que la fiche) */
.vehicules-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 5rem 1rem 2rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.vehicules-intro {
  font-size: 0.9rem;
  color: var(--section-text-body);
  margin: 0;
  max-width: none;
  line-height: 1.45;
  white-space: nowrap;
  font-weight: 500;
  opacity: 1;
}

/* Barre verticale droite (01 / FICHE VÉHICULE) */
.vehicules-sidebar-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(var(--accent-rgb), 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2rem;
  z-index: 5;
}

.vehicules-sidebar-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--section-text-body);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 0.1em;
}

.vehicules-sidebar-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--section-text);
  margin-top: 1rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Cacher sidebar + flèche quand on affiche le verso (Caractéristiques) */
.vehicules-card-inner:has(.vehicules-fiche.is-active.is-flipped)
  .vehicules-sidebar-right,
.vehicules-card-inner:has(.vehicules-fiche.is-active.is-flipped)
  .vehicules-arrow {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Au verso : la barre du haut s’intègre au bloc verso (même fond, bordure et rayons) */
.vehicules-card-inner:has(.vehicules-fiche.is-active.is-flipped)
  .vehicules-top-bar {
  background: #ffffff;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.06) inset;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    border-width 0.3s ease,
    border-radius 0.3s ease,
    box-shadow 0.3s ease;
}

.vehicules-card-inner:has(.vehicules-fiche.is-active.is-flipped)
  .vehicules-intro {
  visibility: hidden;
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    height 0.3s ease;
}

/* Flèche — teal pour cohérence fond clair */
.vehicules-arrow {
  position: absolute;
  top: 50%;
  right: 4.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow:
    0 0 10px rgba(var(--accent-rgb), 0.28),
    0 0 24px rgba(var(--accent-rgb), 0.18),
    0 0 48px rgba(var(--accent-rgb), 0.1);
  transition:
    box-shadow 0.25s ease,
    transform 0.3s ease,
    border-color 0.25s ease;
  z-index: 10;
  will-change: transform;
  animation: vehiculesArrowPulse 4.2s ease-in-out infinite;
}

.vehicules-arrow:hover {
  border-color: rgba(var(--accent-light-rgb), 0.85);
  box-shadow:
    0 0 14px rgba(var(--accent-rgb), 0.4),
    0 0 32px rgba(var(--accent-rgb), 0.22),
    0 0 64px rgba(var(--accent-rgb), 0.12);
  animation-play-state: paused;
  transform: translateY(-50%) scale(1.12);
}

@keyframes vehiculesArrowPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(0.92);
  }
  50% {
    transform: translateY(-50%) scale(1.14);
  }
}

.vehicules-slider {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.vehicules-fiche {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
  perspective: 1200px;
  overflow: hidden;
}

.vehicules-fiche.is-active {
  display: flex;
  flex: 1;
  min-height: 560px;
}

/* Conteneur 3D pour le flip */
.vehicules-fiche-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicules-fiche.is-flipped .vehicules-fiche-inner {
  transform: rotateY(180deg);
}

/* Quand la fiche est sur le verso : masquer completement le recto (titre, Fourgon, Caracteristiques, Reserver) */
.vehicules-fiche.is-flipped .vehicules-fiche-face {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Recto : contenu actuel — fond opaque pour ne rien laisser voir au verso */
.vehicules-fiche-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  background: #f8faf9;
}

/* Verso : caractéristiques — fond blanc opaque (pas de reflet du recto) */
.vehicules-fiche-dos {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.06) inset;
  transition:
    border-radius 0.3s ease,
    border-width 0.3s ease;
}

/* Au verso : le bloc verso se raccorde à la barre du haut (un seul bloc visuel) */
.vehicules-fiche.is-flipped .vehicules-fiche-dos {
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.vehicules-fiche-dos-content {
  width: 100%;
  max-width: 420px;
  text-align: left;
}

/* Titre et sous-titre du verso masques : au verso on n'affiche que les specs et le bouton Retour */
.vehicules-fiche-dos-title,
.vehicules-fiche-dos-subtitle {
  display: none;
}

.vehicules-fiche-dos-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--section-text-body);
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem 0;
}

.vehicules-fiche-dos-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--section-text);
  margin: 0 0 1.5rem 0;
}

.vehicules-fiche-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: var(--section-text-body);
  line-height: 1.7;
}

.vehicules-fiche-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
}

.vehicules-fiche-specs li:last-child {
  border-bottom: none;
}

.vehicules-fiche-specs strong {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--section-text);
  font-weight: 600;
}

.vehicules-fiche-specs .vehicules-fiche-spec-val {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.vehicules-btn-retour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f1419;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.vehicules-btn-retour:hover {
  background: #f0f4f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Bouton Caractéristiques */
.vehicules-btn-caracteristiques {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.vehicules-btn-caracteristiques:hover {
  color: var(--accent);
}

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

/* Tarif affiché au-dessus de la photo (recto) */
.vehicules-fiche-prix {
  flex-shrink: 0;
  margin: 0;
  padding: 0.6rem 5rem 0.65rem 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
  position: relative;
  z-index: 2;
}

/* Zone centrale : bouton FICHE à gauche + image véhicule */
.vehicules-fiche-main {
  flex: 1;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 4.5rem 1rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Cadre identique pour tous les véhicules : mêmes dimensions et ratio, fond uniforme dans l’image */
.vehicules-fiche-visual {
  width: 100%;
  max-width: 75%;
  aspect-ratio: 16 / 11.5;
  flex: none;
  height: auto;
  min-height: 340px;
  max-height: 440px;
  overflow: hidden;
  background: #e5e5e5;
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.vehicules-fiche-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Mercedes : cadrage sur le fourgon (gauche de l'image) */
.vehicules-fiche[data-vehicule="0"] .vehicules-fiche-visual img {
  object-position: 32% center;
}

/* Iveco : cadrage sur la camionnette (droite de l'image) */
.vehicules-fiche[data-vehicule="1"] .vehicules-fiche-visual img {
  object-position: 68% center;
}

/* Iveco : même cadre que les autres (dimensions et style déjà hérités) */

/* Barre du bas (nom véhicule + liens) — ne doit pas être recouverte par l'image */
.vehicules-fiche-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.25rem 5rem 1.25rem 2rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.25);
  flex-shrink: 0;
  flex-grow: 0;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
}

.vehicules-fiche-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--section-text-body);
  letter-spacing: -0.02em;
  margin: 0;
}

.vehicules-fiche-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--section-text);
  margin: 0;
}

.vehicules-fiche-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.vehicules-fiche-links span {
  font-size: 0.85rem;
  color: var(--section-text-body);
  opacity: 0.9;
}

.vehicules-fiche-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vehicules-fiche-links a:hover {
  color: var(--accent);
}

.vehicules-fiche-links a.vehicules-btn-reserver {
  color: #ffffff;
}
.vehicules-fiche-links a.vehicules-btn-reserver:hover {
  color: #ffffff;
}

.vehicules-btn-reserver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  border-radius: 9999px;
  text-decoration: none;
  box-shadow:
    0 0 8px rgba(var(--accent-rgb), 0.28),
    0 0 24px rgba(var(--accent-rgb), 0.15),
    0 0 48px rgba(var(--accent-rgb), 0.08);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.vehicules-btn-reserver:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
}

@media (max-width: 900px) {
  .vehicules-fiche.is-active {
    min-height: 480px;
  }
  .vehicules-top-bar {
    padding: 1.25rem 4rem 1rem 1.5rem;
  }
  .vehicules-sidebar-right {
    width: 48px;
    padding-top: 1.5rem;
  }
  .vehicules-arrow {
    right: 3.75rem;
  }
  .vehicules-fiche-main {
    padding: 1rem 4rem 1rem 1.5rem;
    min-height: 320px;
  }
  .vehicules-fiche-prix {
    padding: 0.55rem 4rem 0.6rem 1.5rem;
  }
  .vehicules-fiche-visual {
    max-width: 85%;
    aspect-ratio: 16 / 11.5;
    min-height: 285px;
    max-height: 375px;
  }
  .vehicules-fiche-visual img {
    min-height: 0;
    object-fit: contain;
    object-position: center center;
  }
  .vehicules-fiche-footer {
    padding: 1rem 4rem 1rem 1.5rem;
  }
  .vehicules-fiche-links {
    margin-left: 0;
  }
  .vehicules-arrow {
    width: 50px;
    height: 50px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .vehicules-fiche.is-active {
    min-height: 540px;
  }
  .services,
  .vehicules,
  .contact {
    padding-top: 3rem;
  }
  .vehicules {
    padding: 3rem 12px 4rem;
  }
  .vehicules-top-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 3rem 1rem 0.75rem;
  }
  .vehicules-intro {
    font-size: 0.85rem;
    white-space: normal;
  }
  .vehicules-sidebar-right {
    width: 40px;
  }
  .vehicules-arrow {
    right: 2.5rem;
  }
  .vehicules-fiche-main {
    padding: 0.5rem 3rem 0.5rem 0.75rem;
    flex: 1 1 0;
    min-height: 0;
  }
  .vehicules-fiche-prix {
    padding: 0.5rem 3rem 0.55rem 0.75rem;
    font-size: 0.9rem;
  }
  .vehicules-arrow {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }
  .vehicules-fiche-visual {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 11.5;
    min-height: 0;
    max-height: none;
    height: auto;
  }
  .vehicules-fiche-visual img {
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .vehicules-fiche[data-vehicule="0"] .vehicules-fiche-visual img,
  .vehicules-fiche[data-vehicule="1"] .vehicules-fiche-visual img {
    object-position: center center;
  }
  .vehicules-fiche-footer {
    padding: 0.75rem 3rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .vehicules-fiche-links {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
  }
  .vehicules-fiche-title {
    font-size: 1.45rem;
  }
}

@media (max-width: 430px) {
  .vehicules-fiche-prix {
    padding: 0.45rem 2.75rem 0.5rem 0.5rem;
    font-size: 0.88rem;
  }
  .vehicules-fiche-main {
    padding: 0.5rem 2.75rem 0.5rem 0.5rem;
    flex: 1 1 0;
    min-height: 0;
  }
  .vehicules-arrow {
    right: 2rem;
  }
  .vehicules-fiche-visual {
    aspect-ratio: 4 / 3;
  }
  .vehicules-fiche-visual img {
    object-fit: contain;
    object-position: center center;
  }
  .vehicules-fiche-footer {
    padding: 0.75rem 2.75rem 0.75rem 0.5rem;
  }
  .vehicules-fiche.is-active {
    min-height: 500px;
  }
}

@media (max-width: 380px) {
  .vehicules-fiche-prix {
    padding: 0.4rem 2.5rem 0.45rem 0.4rem;
    font-size: 0.85rem;
  }
  .vehicules-fiche-main {
    padding: 0.4rem 2.5rem 0.4rem 0.4rem;
    flex: 1 1 0;
    min-height: 0;
  }
  .vehicules-arrow {
    right: 1.5rem;
  }
  .vehicules-fiche-visual img {
    object-fit: contain;
    object-position: center center;
  }
  .vehicules-fiche.is-active {
    min-height: 480px;
  }
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 200px;
  height: 12px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  border-radius: 6px;
  margin: 1.5rem auto 0;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

.section-header p {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

/* ——— Services ——— */
.services {
  padding: var(--section-padding-top) 0 var(--section-padding-bottom);
  position: relative;
}

.services > .container,
.services > .services-carousel {
  position: relative;
  z-index: 1;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Header Services : même design que Accueil (Transport & livraison / Le Transporteur Montois) */
.services-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.services-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.services-header h2::after {
  display: none;
}

.services-header .services-intro,
.services-intro {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto;
  max-width: 640px;
  letter-spacing: 0.02em;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Carrousel horizontal — défilement et carte centrale mise en avant */
.services-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto; /* défilement auto au pas : pas d’animation smooth */
  -webkit-overflow-scrolling: touch;
  /* pan-x seul bloque le scroll vertical de la page sur iOS quand le doigt part du carrousel */
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  padding: 1.5rem 0 3rem;
  margin: 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.5) transparent;
}

.services-carousel::-webkit-scrollbar {
  height: 8px;
}

.services-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.services-carousel::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.4);
  border-radius: 4px;
}

.services-carousel::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 148, 136, 0.6);
}

.services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: stretch;
  padding-left: 1rem;
  padding-right: 1rem;
  min-width: min-content;
  touch-action: pan-x pan-y;
}

.service-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  min-height: 280px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.25rem;
  border-radius: 16px;
  text-align: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Carte au centre du carrousel — légèrement agrandie et ombre marquée */
.service-card.active {
  transform: scale(1.04);
  box-shadow:
    0 20px 56px rgba(13, 148, 136, 0.22),
    0 0 0 1px rgba(var(--accent-rgb), 0.3);
  border-color: rgba(var(--accent-rgb), 0.55);
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--accent-rgb), 0.25),
    transparent
  );
  pointer-events: none;
}

.service-card:not(.active) {
  transform: scale(0.97);
}

.service-card:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow:
    0 16px 48px rgba(13, 148, 136, 0.2),
    0 0 0 1px rgba(var(--accent-rgb), 0.25);
}

.service-card:not(.active):hover {
  transform: scale(0.99) translateY(-2px);
}

.service-card.active:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 24px 64px rgba(13, 148, 136, 0.28),
    0 0 0 1px rgba(var(--accent-rgb), 0.35);
}

.service-card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--accent-light-rgb), 0.08),
    transparent
  );
  animation: shimmer 1.2s ease-out;
  pointer-events: none;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    145deg,
    #ccfbf1 0%,
    #99f6e4 50%,
    var(--accent-light) 100%
  );
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.service-card:hover .service-icon {
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.3);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 0.75rem;
  color: var(--section-text-body);
}

.service-card-text {
  flex: 1;
  text-align: left;
  margin-bottom: 1.25rem;
  min-width: 0;
}

.service-card-text p {
  color: var(--section-text-body);
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.92;
}

.service-card-text p:last-child {
  margin-bottom: 0;
}

.service-card-text p em {
  font-size: 0.85rem;
  color: var(--section-text);
}

/* Liste Réseau : même typo que .service-card-text p (Outfit, corps de texte) */
.service-card-bullets {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card-bullets--icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: var(--section-text-body);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 400;
  opacity: 0.92;
  text-align: left;
}

.service-card-bullets--icons li:last-child {
  margin-bottom: 0;
}

.service-bullet-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.18em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.service-bullet-icon .icon-svg {
  width: 1.05rem;
  height: 1.05rem;
}

.service-bullet-text {
  flex: 1;
  min-width: 0;
}

.service-card .btn {
  margin-top: auto;
}

.service-card .btn-outline {
  color: var(--primary-dark);
  border-color: rgba(var(--accent-rgb), 0.6);
  background: transparent;
}

.service-card .btn-outline:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.3);
}

/* CTA « Nous contacter » dans la carte Autres marchandises — mise en avant */
.service-card .service-card-cta {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  gap: 0.75rem;
  margin-top: auto;
  border-width: 1.5px;
  box-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.35),
    0 0 28px rgba(var(--accent-rgb), 0.18),
    0 0 56px rgba(var(--accent-rgb), 0.1);
}

.service-card .service-card-cta:hover {
  box-shadow:
    0 0 16px rgba(var(--accent-rgb), 0.5),
    0 0 40px rgba(var(--accent-rgb), 0.28),
    0 0 72px rgba(var(--accent-rgb), 0.15);
}

.service-card-cta .icon-svg {
  width: 0.8em;
  height: 0.8em;
  transition: transform 0.25s var(--ease-out);
}

.service-card-cta:hover .icon-svg {
  transform: translateX(4px);
}

/* ——— Contact ——— */
.contact {
  padding: var(--section-padding-top) 0 var(--section-padding-bottom);
  position: relative;
}

.contact > .container {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Cadrage / fichier léger sur la couche fixe */
@media (max-width: 768px) {
  .transport-bg-fixed {
    background-image: var(--bg-transport-url-sm);
    background-size: cover;
    background-position: center 28%;
    -webkit-background-size: cover;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .transport-bg-fixed {
    background-position: center 35%;
  }
}

@media (min-width: 1400px) {
  .transport-bg-fixed {
    background-position: center 42%;
  }
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-content > * {
  flex: 1 1 280px;
  min-width: 0;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1 1 280px;
  min-width: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Zone d'intervention : bloc compact sous les infos contact, ne dépasse pas en hauteur */
.contact-territorialites-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  width: 100%;
}

.contact-territorialites {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-top: 0;
  padding-top: 2.5rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-territorialites-intro,
.contact-territorialites-communes {
  color: rgba(255, 255, 255, 0.92);
}

.contact-territorialites-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
  max-width: min(46rem, 100%);
  margin: 0 auto;
  order: 1;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-synthesis: none;
}

.contact-territorialites-intro {
  margin: 0;
  max-width: 36ch;
  text-align: center;
  text-wrap: balance;
}

.contact-territorialites-communes {
  margin: 0;
  padding: 0;
  text-align: center;
  text-wrap: balance;
  max-width: 100%;
}

.contact-territorialites-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: 100%;
}

.contact-territorialites-map {
  display: block;
  width: 100%;
  max-width: min(320px, 88vw);
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  order: 2;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item > .icon-svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 10px;
  box-sizing: border-box;
  background: linear-gradient(145deg, #ccfbf1 0%, #99f6e4 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.contact-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.98);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  opacity: 1;
}

.contact-item a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #ffffff;
}

.contact-trust-block {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.contact-trust-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem 0;
}

.contact-trust-intro {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--section-text-body);
  margin: 0;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

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

.contact .form-group input,
.contact .form-group select,
.contact .form-group textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  color: var(--section-text-body);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder {
  color: var(--section-text-body);
  opacity: 0.75;
}

.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

.contact .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact .form-label-inline {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--section-text-body);
  margin-bottom: 0.5rem;
}

.contact .form-select {
  cursor: pointer;
  appearance: auto;
}

.contact .form-group-urgent .form-label-inline {
  margin-bottom: 0.6rem;
}

.contact .form-radio-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact .form-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--section-text-body);
  cursor: pointer;
}

.contact .form-radio-label input {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.contact .form-group-dimensions .form-label-inline,
.contact .form-group-poids .form-label-inline {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.contact .form-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.5rem 0;
}

.contact .form-dimensions-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact .form-dimension-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  cursor: default;
}

.contact .form-dimension-label > span:first-of-type {
  font-weight: 500;
}

.contact .form-dimension-label .form-dimension-max {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-top: -0.15rem;
}

.contact .form-dimension-label input {
  width: 100%;
}

@media (max-width: 480px) {
  .contact .form-dimensions-inputs {
    grid-template-columns: 1fr;
  }
}

/* ——— Même affichage qu'ACTIVITE NUMERIQUE : pack-cards (services + véhicule) ——— */
.contact .form-group-pack .form-pack-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.35rem;
}

.contact .pack-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact .pack-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact .pack-card-name {
  flex: 1;
  min-width: 0;
}

.contact .pack-card-remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}

.contact .pack-card-remove:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

/* ——— Préférence date et heure : bloc design ——— */
.contact .form-group-date-time {
  padding: 0;
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
}

.contact .form-label-date-time {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.contact .form-label-date-time .icon-svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent-light);
  opacity: 0.95;
}

/* Grille avec minmax(0,1fr) : sans ça, le min-content des input date/time WebKit élargit la piste et dépasse le parent */
.contact .date-time-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 601px) {
  .contact .date-time-inputs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
  }
}

.contact .date-time-inputs .input-date,
.contact .date-time-inputs .input-time {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-inline-size: 100%;
  inline-size: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--section-text-body);
  background: rgba(255, 255, 255, 0.95);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact .date-time-inputs .input-date:focus,
.contact .date-time-inputs .input-time:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

/* Style des pickers natifs date/time (Chrome, Safari, Firefox) */
.contact .date-time-inputs .input-date::-webkit-calendar-picker-indicator,
.contact .date-time-inputs .input-time::-webkit-datetime-edit {
  opacity: 0.7;
  cursor: pointer;
}

.contact .date-time-inputs .input-date::-webkit-calendar-picker-indicator:hover,
.contact
  .date-time-inputs
  .input-time::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* iPhone / ≤768px : date & heure ne peuvent pas dépasser le formulaire (WebKit natif) */
@media (max-width: 768px) {
  .contact .form-group-date-time {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    contain: inline-size;
  }

  .contact .date-time-inputs {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
    min-width: 0;
  }

  .contact .date-time-inputs .input-date,
  .contact .date-time-inputs .input-time {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-inline-size: 100%;
    inline-size: 100%;
    box-sizing: border-box;
  }
}

.contact-form button.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.3);
}

.contact-form button.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
}

/* ——— Footer : même design que le reste du site (fond sombre, cyan) ——— */
.footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    160deg,
    var(--bg-medium) 0%,
    var(--bg-dark) 50%,
    var(--bg-darkest) 100%
  );
  color: #ffffff;
  padding: 4rem 0 1.5rem;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-content > * {
  flex: 1 1 250px;
  min-width: 0;
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.3),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(var(--accent-light-rgb), 0.95);
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

.footer-section a:hover {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(var(--accent-light-rgb), 0.9),
    0 0 20px rgba(var(--accent-rgb), 0.5);
}

.footer-section li .icon-svg {
  margin-right: 0.5rem;
  color: rgba(var(--accent-rgb), 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(var(--accent-rgb), 0.25);
  padding-top: 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(var(--accent-light-rgb), 0.95);
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}

/* Legal pages */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 2.5rem;
}
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.legal-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 720px;
}
.legal-date {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.legal-section {
  margin: 1.5rem 0;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--header-bg);
  margin-bottom: 0.75rem;
}
.legal-section p {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.legal-section a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.legal-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.legal-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}
.legal-back {
  margin-top: 3rem;
  margin-bottom: 0;
}
.legal-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.25rem 0 0.5rem;
}
.legal-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
  color: var(--color-text);
}
.legal-list li {
  margin-bottom: 0.35rem;
}

/* Scroll & animations */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive — carrousel services */
@media (max-width: 1020px) {
  .services-carousel {
    margin: 0 0.75rem;
    padding: 1rem 0 2.5rem;
  }
  .services-grid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 1.25rem;
  }
  .service-card {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    min-height: 260px;
    padding: 1.75rem;
  }
  .service-card.active {
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .services-grid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .service-card {
    flex: 0 0 260px;
    width: 260px;
    max-width: 260px;
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-logo-text {
    font-size: 1.1rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 4.5rem;
    flex-direction: column;
    background: linear-gradient(
      160deg,
      var(--bg-medium) 0%,
      var(--bg-dark) 50%,
      var(--bg-darkest) 100%
    );
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    padding: 1rem 2rem;
    width: 100%;
    justify-content: center;
  }

  .contact-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .contact-left {
    align-items: center;
    width: 100%;
  }
  .contact-territorialites {
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-top: 2.25rem;
  }
  .contact-info {
    align-items: center;
    text-align: center;
  }
  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .contact-form {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .accueil-title {
    font-size: 1.75rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
}

/* JS UI helpers */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.35);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.is-visible {
  transform: translateX(0);
}

.notification-success {
  background: #0d9488;
}

.notification-info {
  background: #14b8a6;
}

.notification-error {
  background: #0f766e;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.9;
}

.floating-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(20, 184, 166, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .accueil-overlay [data-anim],
  .accueil-hero .accueil-header,
  .accueil-actions[data-anim],
  .accueil-text [data-anim-text] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .vehicules-arrow {
    animation: none;
  }

  .floating-contact-btn {
    transition: none;
  }

  .floating-contact-btn:hover {
    transform: none;
  }
}
