/* Layout — header, footer, sections spécifiques */

/* ====== HEADER ====== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-white);
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

@media (min-width: 1024px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    justify-content: initial;
  }
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  color: var(--color-blue-dark);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.site-header__logo:hover {
  color: var(--color-blue-dark);
}

.site-header__logo-mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-header__logo-mark img,
.site-header__logo-mark svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Variante : logo complet (image seule, sans wordmark texte) */
.site-header__logo--image {
  display: inline-flex;
  align-items: center;
  padding-block: var(--space-1);
}

.site-header__logo--image img {
  display: block;
  height: 56px;
  width: auto;
}

@media (min-width: 1024px) {
  .site-header__logo--image img {
    height: 70px;
  }
}

.site-header__nav {
  display: none;
}

.site-header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    justify-self: center;
  }

  .site-header__nav > a,
  .site-header__nav .nav-dropdown__trigger {
    color: var(--color-text);
    font-size: var(--fs-small);
    font-weight: 500;
    position: relative;
    padding-block: var(--space-2);
    transition: color var(--duration-base) var(--ease-out);
  }

  .site-header__nav > a:hover,
  .site-header__nav .nav-dropdown__trigger:hover {
    color: var(--color-blue);
  }

  .site-header__nav > a[aria-current="page"] {
    color: var(--color-blue);
  }

  .site-header__nav > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--color-blue);
    border-radius: 1px;
  }

  .site-header__cta {
    display: inline-flex;
    justify-self: end;
  }
}

/* ====== HEADER TRANSPARENT SUR HERO SOMBRE ======
   Pages avec hero bleu foncé : le header est fixé, transparent en haut de page
   (logo, liens et burger en blanc), puis redevient blanc dès que l'on défile
   (data-scrolled posé par scripts.php). Le hero compense la hauteur du header. */

.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  transition:
    background-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.site-header--overlay:not([data-scrolled="true"]) {
  background-color: transparent;
}

.site-header--overlay .site-header__logo--image img {
  transition: filter var(--duration-base) var(--ease-out);
}

/* Logo passé en blanc pur, sans second fichier */
.site-header--overlay:not([data-scrolled="true"]) .site-header__logo--image img {
  filter: brightness(0) invert(1);
}

.site-header--overlay:not([data-scrolled="true"]) .burger {
  color: var(--color-white);
}

.site-header--overlay:not([data-scrolled="true"]) .burger:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 1024px) {
  .site-header--overlay:not([data-scrolled="true"]) .site-header__nav > a,
  .site-header--overlay:not([data-scrolled="true"]) .site-header__nav .nav-dropdown__trigger {
    color: rgba(255, 255, 255, 0.85);
  }

  .site-header--overlay:not([data-scrolled="true"]) .site-header__nav > a:hover,
  .site-header--overlay:not([data-scrolled="true"]) .site-header__nav .nav-dropdown__trigger:hover,
  .site-header--overlay:not([data-scrolled="true"]) .site-header__nav > a[aria-current="page"] {
    color: var(--color-white);
  }

  .site-header--overlay:not([data-scrolled="true"]) .site-header__nav > a[aria-current="page"]::after {
    background-color: var(--color-white);
  }

  /* CTA : même rendu que .btn--on-dark tant que le header est transparent */
  .site-header--overlay:not([data-scrolled="true"]) .site-header__cta {
    background-color: var(--color-white);
    color: var(--color-blue-dark);
  }

  .site-header--overlay:not([data-scrolled="true"]) .site-header__cta:hover {
    background-color: var(--color-bg-soft);
    color: var(--color-blue-dark);
  }
}

/* Le hero remonte sous le header : on ajoute sa hauteur au padding haut */
.site-header--overlay ~ main > .hero:first-child {
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  padding-top: calc(var(--space-7) + var(--header-h));
}

.site-header--overlay ~ main > .hero--service:first-child {
  min-height: auto;
  padding-top: calc(var(--space-8) + var(--header-h));
}

@media (min-width: 1024px) {
  .site-header--overlay ~ main > .hero:first-child,
  .site-header--overlay ~ main > .hero--service:first-child {
    padding-top: calc(var(--space-9) + var(--header-h));
  }
}

/* ====== DROPDOWN SERVICES (desktop) ====== */

.nav-dropdown {
  position: relative;
  /* Compense la largeur du chevron + son gap interne pour que l'écart
     entre « Services » et l'item suivant paraisse identique aux autres */
  margin-right: -14px;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.nav-dropdown__chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 320px;
  padding: var(--space-3);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(11, 36, 76, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--duration-base) var(--ease-out),
    visibility var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
  z-index: 60;
}

/* Petite zone-tampon invisible pour éviter la coupure hover entre trigger et menu */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

/* Ouverture : hover (souris) + focus-within (clavier) + état click (JS) */
@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown:hover .nav-dropdown__chevron,
  .nav-dropdown:focus-within .nav-dropdown__chevron {
    transform: rotate(180deg);
  }
}

.nav-dropdown__trigger[aria-expanded="true"] + .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--color-blue-dark);
  text-decoration: none;
  transition: background-color var(--duration-base) var(--ease-out);
}

.nav-dropdown__menu a:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-blue-dark);
}

.nav-dropdown__title {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-blue-dark);
}

.nav-dropdown__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Sur mobile, le wrapper desktop est masqué */
.nav-dropdown {
  display: none;
}

@media (min-width: 1024px) {
  .nav-dropdown {
    display: inline-block;
  }
}

/* Burger mobile */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  color: var(--color-blue-dark);
}

.burger svg {
  width: 32px;
  height: 32px;
}

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

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

/* Menu mobile : panneau full-height */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 100vw);
  max-width: 100vw;
  background-color: var(--color-blue-dark);
  color: var(--color-white);
  padding: var(--space-6) var(--space-5);
  transform: translate3d(100%, 0, 0);
  transition: transform var(--duration-base) var(--ease-out);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu[data-open="true"] {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--color-white);
  border-radius: var(--radius-md);
}

.mobile-menu__close svg {
  width: 32px;
  height: 32px;
}

.mobile-menu__close:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu nav > a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu nav > a:hover {
  color: var(--color-white);
  opacity: 0.85;
}

/* Accordéon Services mobile via <details> */
.mobile-nav__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.mobile-nav__group > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
}

.mobile-nav__group[open] > summary .mobile-nav__chevron {
  transform: rotate(180deg);
}

.mobile-nav__sublist {
  display: flex;
  flex-direction: column;
  padding: var(--space-2) 0 var(--space-3) var(--space-4);
}

.mobile-nav__sublist li a {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 400;
}

.mobile-nav__sublist li a:hover {
  color: var(--color-white);
}

.mobile-menu__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 36, 76, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
  z-index: 55;
}

.mobile-menu-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none;
  }
}

/* ====== MOTION REVEAL ====== */

html.js [data-reveal] {
  --reveal-delay: 0ms;
  --reveal-duration: 720ms;
  --reveal-ease: var(--ease-out);
  --reveal-x: 0px;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate: 0deg;
  --reveal-blur: 0px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale)) rotate(var(--reveal-rotate));
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--reveal-duration) var(--reveal-ease) var(--reveal-delay),
    transform var(--reveal-duration) var(--reveal-ease) var(--reveal-delay),
    filter var(--reveal-duration) var(--reveal-ease) var(--reveal-delay);
  will-change: opacity, transform, filter;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0);
  will-change: auto;
}

html.js [data-reveal="fade-up"] {
  --reveal-y: 26px;
}

html.js [data-reveal="fade-right"] {
  --reveal-x: -34px;
}

html.js [data-reveal="fade-left"] {
  --reveal-x: 34px;
}

html.js [data-reveal="scale-in"] {
  --reveal-y: 18px;
  --reveal-scale: 0.96;
}

html.js [data-reveal="zoom-in"] {
  --reveal-scale: 0.92;
  --reveal-blur: 10px;
}

html.js [data-reveal="soften"] {
  --reveal-y: 18px;
  --reveal-blur: 12px;
}

html.js [data-reveal="fade"] {
  --reveal-duration: 560ms;
}

html.js [data-reveal="clip-up"] {
  --reveal-duration: 820ms;
  transform: none;
  filter: none;
  clip-path: inset(14% 0 0 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out) var(--reveal-delay),
    clip-path var(--reveal-duration) var(--ease-out) var(--reveal-delay);
  will-change: opacity, clip-path;
}

html.js [data-reveal="clip-up"].is-revealed {
  clip-path: inset(0 0 0 0);
}

html.js [data-reveal="hero-tag"] {
  --reveal-y: 16px;
  --reveal-scale: 0.96;
  --reveal-blur: 4px;
  --reveal-duration: 700ms;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.js [data-reveal="hero-title"] {
  --reveal-y: 34px;
  --reveal-scale: 0.985;
  --reveal-blur: 18px;
  --reveal-duration: 1080ms;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html.js [data-reveal="hero-copy"] {
  --reveal-y: 24px;
  --reveal-scale: 0.98;
  --reveal-blur: 10px;
  --reveal-duration: 860ms;
  --reveal-ease: cubic-bezier(0.2, 0.9, 0.24, 1);
}

html.js [data-reveal="hero-meta"] {
  --reveal-y: 18px;
  --reveal-scale: 0.97;
  --reveal-blur: 6px;
  --reveal-duration: 760ms;
}

html.js [data-reveal="hero-visual"] {
  --reveal-y: 34px;
  --reveal-scale: 0.92;
  --reveal-rotate: 2.2deg;
  --reveal-blur: 18px;
  --reveal-duration: 1160ms;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html.js [data-reveal="hero-badge-left"] {
  --reveal-x: -28px;
  --reveal-y: 10px;
  --reveal-scale: 0.94;
  --reveal-rotate: -3deg;
  --reveal-duration: 900ms;
  --reveal-ease: cubic-bezier(0.2, 0.95, 0.24, 1);
}

html.js [data-reveal="hero-badge-right"] {
  --reveal-x: 28px;
  --reveal-y: 10px;
  --reveal-scale: 0.94;
  --reveal-rotate: 3deg;
  --reveal-duration: 900ms;
  --reveal-ease: cubic-bezier(0.2, 0.95, 0.24, 1);
}

html.js [data-reveal="hero-photo"] {
  --reveal-y: 40px;
  --reveal-scale: 0.965;
  --reveal-blur: 12px;
  --reveal-duration: 1100ms;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
    will-change: auto;
  }
}

/* Logo en footer (fond sombre) — pictogramme + wordmark blanc */
.site-footer .site-header__logo {
  color: var(--color-white);
}

.site-footer .site-header__logo-mark {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 2px;
}

/* Logo en menu mobile (fond sombre) */
.mobile-menu .site-header__logo {
  color: var(--color-white);
}

.mobile-menu .site-header__logo-mark {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 2px;
}

/* ====== HERO ====== */

.hero {
  position: relative;
  background-color: var(--color-blue-dark);
  color: var(--color-white);
  /* Plafonné à 1000px pour les très grands écrans */
  min-height: min(calc(100vh - var(--header-h)), 1000px);
  min-height: min(calc(100svh - var(--header-h)), 1000px);
  display: flex;
  align-items: center;
  padding-block: var(--space-7);
  overflow: hidden;
  isolation: isolate;
}

/* Image plein écran : version mobile / tablette uniquement */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 36, 76, 0.65) 0%, rgba(11, 36, 76, 0.85) 100%);
  pointer-events: none;
}

/* Décor desktop : gradient + grille de points + halo bleu */
.hero__deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: none;
}

/* Colonnes de points décoratives, façon carte Belgique */
.hero__deco-dots {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  background-repeat: repeat;
}

.hero__deco-dots--left {
  left: clamp(8px, 2vw, 32px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.hero__deco-dots--right {
  right: clamp(8px, 2vw, 32px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

@media (min-width: 1024px) {
  .hero { padding-block: var(--space-9); }

  /* Variante split : fond bleu uni, image dans la colonne droite */
  .hero--split { background-color: var(--color-blue-dark); }
  .hero--split .hero__bg,
  .hero--split::after { display: none; }
  .hero--split .hero__deco { display: block; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 640px;
}

@media (min-width: 1024px) {
  .hero__content {
    gap: var(--space-5);
    max-width: 640px;
  }
}

.hero .eyebrow {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-small);
  font-weight: 500;
  width: fit-content;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hero__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: hero-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
  50%      { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0.04); }
}

.hero h1 {
  color: var(--color-white);
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__accent {
  display: inline;
  background: linear-gradient(135deg, #8EBDE6 0%, #4F8FD0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
}

@media (min-width: 1024px) {
  .hero__sub {
    font-size: 1.1875rem;
  }
}

/* Partie de la description réservée au desktop : texte plus court sur mobile */
.hero__sub-more {
  display: none;
}

@media (min-width: 1024px) {
  .hero__sub-more {
    display: inline;
  }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (min-width: 720px) {
  .hero__ctas {
    flex-direction: row;
    align-items: center;
  }
}

.hero__meta {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.75);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__meta svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

/* ====== HERO — colonne visuelle (desktop) ====== */

.hero__visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero__visual {
    display: block;
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
  }
}

.hero__visual-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.03);
}

.hero__visual-frame::before {
  content: "";
  position: absolute;
  inset: -18% auto auto -12%;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 189, 230, 0.28) 0%, rgba(142, 189, 230, 0) 72%);
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
  animation: hero-glow-drift 9s ease-in-out infinite;
}

.hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 36, 76, 0.55) 100%);
  pointer-events: none;
}

.hero__visual-frame picture,
.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(11, 36, 76, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.45);
  max-width: 260px;
  animation: hero-float 6s ease-in-out infinite;
}

.hero__badge--top {
  top: 6%;
  left: -12%;
  animation-delay: 0s;
}

.hero__badge--mid {
  top: 44%;
  right: -14%;
  animation-delay: 1.6s;
}

.hero__badge--bottom {
  bottom: 8%;
  left: -8%;
  animation-delay: 3.2s;
}

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

@keyframes hero-glow-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(18px, 14px, 0) scale(1.08);
    opacity: 1;
  }
}

.hero__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-blue);
  color: #fff;
  flex-shrink: 0;
}

.hero__badge-icon svg {
  width: 20px;
  height: 20px;
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.hero__badge-text strong {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero__badge-text span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
}

@media (min-width: 1024px) {
  /* sur desktop, les badges remplacent la meta-list — on évite la redondance */
  .hero--split .hero__meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__pill-dot,
  .hero__badge,
  .hero__visual-frame::before { animation: none; }
}

/* ====== GRILLE SERVICES ====== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
  }
}

/* Variante 5 cartes : 3 en haut, 2 centrées en bas (pyramide inversée) */
@media (min-width: 720px) {
  .services-grid--five {
    grid-template-columns: repeat(6, 1fr);
  }

  .services-grid--five > .card:nth-child(1) { grid-column: 1 / 3; }
  .services-grid--five > .card:nth-child(2) { grid-column: 3 / 5; }
  .services-grid--five > .card:nth-child(3) { grid-column: 5 / 7; }
  .services-grid--five > .card:nth-child(4) { grid-column: 2 / 4; }
  .services-grid--five > .card:nth-child(5) { grid-column: 4 / 6; }
}

/* ====== SERVICES — lien autres prestations ====== */

.services-more {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.services-more .link-arrow {
  font-size: var(--fs-body);
}

/* ====== MARQUEE RÉALISATIONS ====== */

.marquee {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block: var(--space-6) var(--space-7);
  overflow: hidden;
}

.marquee__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.marquee__row--reverse .marquee__track {
  animation-direction: reverse;
}

/* Le ralentissement au hover est géré en JS via la Web Animations API
   (playbackRate) pour éviter tout saut de position. */

.marquee__track li {
  flex-shrink: 0;
  width: 220px;
  margin-right: var(--space-3);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-blue-dark);
}

.marquee__track picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    transform: translateX(0);
  }
}

@media (min-width: 720px) {
  .marquee__track li {
    width: 280px;
    margin-right: var(--space-4);
  }
  .marquee__track {
    animation-duration: 45s;
  }
}

@media (min-width: 1024px) {
  .marquee__track li {
    width: 320px;
  }
  .marquee__track {
    animation-duration: 58s;
  }
}

.marquee__cta {
  text-align: center;
}

/* Le libellé Facebook est long : on autorise le retour à la ligne
   pour éviter le débordement sur petits écrans. */
.marquee__cta .btn {
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
}

/* Bouton-image dans la marquee */
.marquee__item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  border-radius: inherit;
  overflow: hidden;
}

.marquee__item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-base) var(--ease-out);
}

.marquee__item:hover img,
.marquee__item:focus-visible img {
  transform: scale(1.06);
}

.marquee__item:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: -3px;
}

/* ====== BANDEAU MARQUES (logos) ====== */

.brand-strip-section {
  padding-block: var(--space-5);
}

.brand-strip-section--soft {
  background-color: var(--color-bg-soft);
}

.brand-strip__caption {
  margin: 0 0 var(--space-4);
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
}

.brand-strip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.brand-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
  animation: marquee-scroll 60s linear infinite;
  will-change: transform;
}

/* Au survol : ralentissement (pas d'arrêt) géré en JS via playbackRate,
   comme le marquee photos — voir includes/scripts.php. */

.brand-strip__track li {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-strip__track img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  margin-inline: clamp(1.5rem, 4.5vw, 3.25rem);
  object-fit: contain;
}

@media (min-width: 720px) {
  .brand-strip__track img {
    height: 46px;
  }
  .brand-strip__track {
    animation-duration: 80s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-strip__track {
    animation: none;
    transform: translateX(0);
  }
  .brand-strip {
    overflow-x: auto;
  }
}

/* ====== GALERIE RÉALISATIONS ====== */

.gallery {
  position: relative;
  margin-block: var(--space-6) var(--space-7);
}

.gallery__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.gallery__grid > li {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-blue-dark);
}

.gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  border-radius: inherit;
  overflow: hidden;
  /* Tuiles carrées uniformes : les photos paysage/portrait sont recadrées
     pour remplir le même format, d'où une grille régulière. */
  aspect-ratio: 1 / 1;
}

.gallery__item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

.gallery__item:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: -3px;
}

/* Galerie « documents » (plans, schémas) : ces visuels sont larges et quasi
   blancs. Un recadrage carré couperait le plan et le rendrait illisible. On
   garde donc le document entier (object-fit: contain) sur fond blanc encadré. */
.gallery--docs .gallery__item {
  aspect-ratio: 4 / 3;
}

.gallery--docs .gallery__grid > li {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
}

.gallery--docs .gallery__item img {
  object-fit: contain;
  background-color: var(--color-white);
}

/* Wrapper « clippé » : limite la hauteur et fait apparaître un fade vers le fond
   pour inciter à cliquer le CTA Facebook. */
.gallery--clipped {
  position: relative;
  max-height: 760px;
  overflow: hidden;
  /* Espace bas masqué par le fade — on évite que le CTA soit trop collé. */
  padding-bottom: var(--space-4);
}

.gallery--clipped::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(244, 247, 251, 0) 0%,
    rgba(244, 247, 251, 0.85) 55%,
    var(--color-bg-soft) 100%
  );
}

/* Sur fond blanc plutôt que --color-bg-soft, on bascule la couleur du fade. */
.section:not(.section--soft) .gallery--clipped::after {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 55%,
    var(--color-white) 100%
  );
}

.gallery__cta {
  text-align: center;
  /* On remonte légèrement le bouton dans le fade pour qu'il devienne le point
     d'arrivée naturel du regard. */
  margin-top: calc(-1 * var(--space-6));
  position: relative;
  z-index: 1;
}

@media (min-width: 720px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
  .gallery--clipped {
    max-height: 900px;
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery--clipped {
    max-height: 960px;
  }
}

/* ====== LIGHTBOX ====== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background-color: rgba(11, 36, 76, 0.92);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: min(900px, 84vh);
  margin: 0;
}

.lightbox__figure picture {
  display: block;
}

.lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  margin-top: var(--space-3);
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.lightbox__close:active,
.lightbox__nav:active {
  transform: scale(0.95);
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 24px;
  height: 24px;
}

.lightbox__close {
  top: var(--space-5);
  right: var(--space-5);
}

.lightbox__nav--prev {
  left: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox__nav--next:active {
  transform: translateY(-50%) scale(0.95);
}

@media (min-width: 720px) {
  .lightbox__close,
  .lightbox__nav {
    width: 56px;
    height: 56px;
  }
  .lightbox__close svg,
  .lightbox__nav svg {
    width: 28px;
    height: 28px;
  }
}

/* ====== SECTION ZONE ====== */

.zone-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

.zone-block__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.zone-block__intro .lead {
  margin-top: var(--space-1);
}

.zone-block__intro .link-arrow {
  margin-top: var(--space-3);
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .zone-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
    align-items: center;
  }
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.zone-list li {
  padding: 6px 12px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  color: var(--color-blue-dark);
}

/* Carte dotted Wallonie */
.zone-map {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.zone-map img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto;
}

.zone-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.zone-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.zone-map__swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.zone-map__swatch--active {
  background-color: var(--color-blue);
}

.zone-map__swatch--inactive {
  background-color: #CBD6E2;
}

/* Stats */
.zone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin: var(--space-4) 0 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--color-border);
}

.zone-stats__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.zone-stats__value {
  font-size: clamp(1.75rem, 1vw + 1.25rem, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue-dark);
  letter-spacing: -0.02em;
}

.zone-stats__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
}

@media (min-width: 1024px) {
  .zone-map img {
    max-width: 100%;
  }
}

/* ====== SECTION CONFIANCE ====== */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.trust-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(39, 93, 154, 0.45);
}

.trust-item__icon svg {
  width: 22px;
  height: 22px;
}

/* Variante 5 items : 3 en haut, 2 centrés en bas */
@media (min-width: 720px) {
  .trust-grid--five {
    grid-template-columns: repeat(6, 1fr);
  }

  .trust-grid--five .trust-item:nth-child(1) {
    grid-column: 1 / 3;
  }

  .trust-grid--five .trust-item:nth-child(2) {
    grid-column: 3 / 5;
  }

  .trust-grid--five .trust-item:nth-child(3) {
    grid-column: 5 / 7;
  }

  .trust-grid--five .trust-item:nth-child(4) {
    grid-column: 2 / 4;
  }

  .trust-grid--five .trust-item:nth-child(5) {
    grid-column: 4 / 6;
  }
}

/* ====== CARROUSEL EXPERTISES ====== */

.carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.carousel__viewport {
  position: relative;
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Padding pour permettre aux ombres au hover de respirer */
  padding: var(--space-2) var(--space-1);
  margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-1));
}

.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (min-width: 720px) {
  .carousel__slide {
    flex-basis: calc((100% - var(--space-5)) / 2);
  }
}

@media (min-width: 1024px) {
  .carousel__slide {
    flex-basis: calc((100% - 2 * var(--space-5)) / 3);
  }
}

/* Variante : carrousel infini (transform-based, défilement sans rewind) */
.carousel--loop .carousel__viewport {
  display: block;
  overflow-x: hidden;
  overflow-y: visible;
  scroll-snap-type: none;
  gap: 0;
  touch-action: pan-y;
  cursor: grab;
}

.carousel--loop .carousel__viewport[data-dragging="true"] {
  cursor: grabbing;
}

.carousel--loop .carousel__track {
  display: flex;
  gap: var(--space-5);
  will-change: transform;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel--loop .carousel__track[data-no-transition="true"] {
  transition: none;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.carousel__btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.carousel__btn:hover:not(:disabled) {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.carousel__btn:active:not(:disabled) {
  transform: scale(0.96);
}

.carousel__btn:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

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

.carousel__dots {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.carousel__dot:hover {
  background-color: var(--color-text-muted);
}

.carousel__dot[aria-current="true"] {
  background-color: var(--color-blue);
  transform: scale(1.2);
}

.carousel__dot:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

/* ====== À PROPOS — INTRO (texte + image) ====== */

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

.about-intro__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-intro__content .lead {
  margin-top: var(--space-2);
}

.about-intro__content > p:not(.lead) {
  color: var(--color-text-muted);
}

.about-intro__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-soft);
}

.about-intro__media picture,
.about-intro__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-intro__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about-intro {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-9);
  }

  .about-intro__media img {
    aspect-ratio: 4 / 5;
  }
}

/* Stats compactes sous l'intro */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--color-border);
}

.about-stats__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.about-stats__value {
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue-dark);
  letter-spacing: -0.02em;
}

.about-stats__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
}

/* ====== PROCESS — ÉTAPES AVEC FLÈCHES ====== */

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: process;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

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

.process-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.process-step__num {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.process-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-bg-soft);
  color: var(--color-blue);
  flex-shrink: 0;
}

.process-step__icon svg {
  width: 22px;
  height: 22px;
}

.process-step__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-blue-dark);
  margin: 0;
}

.process-step__text {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  line-height: 1.55;
  margin: 0;
}

/* Flèche entre les étapes — mobile : verticale */
.process-step__arrow {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  opacity: 0.55;
  height: 28px;
}

.process-step__arrow svg {
  width: 28px;
  height: 28px;
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: var(--space-3);
    align-items: stretch;
  }

  .process-step {
    padding: var(--space-5);
  }

  .process-step__arrow {
    height: auto;
    align-self: center;
  }

  .process-step__arrow svg {
    transform: none;
    width: 32px;
    height: 32px;
  }
}

/* ====== PROCESS — VARIANTE 6 ÉTAPES "TIMELINE ZIGZAG" ====== */

.process-steps--six {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Les flèches du HTML sont remplacées par la ligne verticale */
.process-steps--six .process-step__arrow {
  display: none;
}

/* Axe vertical : à gauche en mobile, centré en desktop */
.process-steps--six::before {
  content: '';
  position: absolute;
  top: var(--space-5);
  bottom: var(--space-5);
  left: 22px;
  width: 2px;
  background: var(--color-border);
  z-index: 0;
}

.process-steps--six .process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon label"
    "title title"
    "text text";
  column-gap: var(--space-3);
  row-gap: var(--space-3);
  padding: var(--space-5);
  margin: 0 0 var(--space-4) 56px;
  z-index: 1;
}

.process-steps--six .process-step:last-of-type {
  margin-bottom: 0;
}

/* Marqueur sur la ligne (point bleu avec halo blanc) */
.process-steps--six .process-step::before {
  content: '';
  position: absolute;
  top: 40px;
  left: -42px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 4px var(--color-white), 0 0 0 5px var(--color-border);
  z-index: 2;
}

.process-steps--six .process-step__icon {
  grid-area: icon;
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(39, 93, 154, 0.45);
}

.process-steps--six .process-step__icon svg {
  width: 22px;
  height: 22px;
}

.process-steps--six .process-step__label {
  grid-area: label;
  align-self: center;
  justify-self: start;
  padding: 3px 9px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.process-steps--six .process-step__title {
  grid-area: title;
}

.process-steps--six .process-step__text {
  grid-area: text;
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  /* Axe vertical au centre */
  .process-steps--six::before {
    left: 50%;
    transform: translateX(-1px);
  }

  /* Cartes à gauche : 1, 3, 5 (= nth-child 1, 5, 9) */
  .process-steps--six .process-step:nth-child(4n+1) {
    margin: 0 calc(50% + 32px) var(--space-5) 0;
  }

  .process-steps--six .process-step:nth-child(4n+1)::before {
    left: auto;
    right: -40px;
  }

  /* Cartes à droite : 2, 4, 6 (= nth-child 3, 7, 11) */
  .process-steps--six .process-step:nth-child(4n+3) {
    margin: 0 0 var(--space-5) calc(50% + 32px);
  }

  .process-steps--six .process-step:nth-child(4n+3)::before {
    left: -40px;
  }
}

/* ====== COMMUNES — carte + tags ====== */

.communes-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  margin-top: var(--space-6);
}

@media (min-width: 1024px) {
  .communes-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-9);
  }
}

.zone-list--about {
  justify-content: flex-start;
  margin: 0;
}

.zone-list--about li {
  padding: 8px 14px;
  font-size: var(--fs-small);
  transition: border-color var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out);
}

.zone-list--about li:first-child {
  border-color: var(--color-blue);
  background-color: rgba(39, 93, 154, 0.06);
  color: var(--color-blue);
  font-weight: 600;
}

/* ====== BANDE CTA FINAL ====== */

.cta-band {
  position: relative;
  background-color: var(--color-blue-dark);
  color: var(--color-white);
  padding-block: var(--space-8);
  overflow: hidden;
  isolation: isolate;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(11, 36, 76, 0.88) 0%, rgba(11, 36, 76, 0.72) 100%);
}

.cta-band__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .cta-band__deco { display: block; }
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}

/* Variante split : contenu à gauche, carte processus à droite */
.cta-band--split .cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: stretch;
}

@media (min-width: 1024px) {
  .cta-band--split .cta-band__inner {
    /* Carte "Le processus" masquée → 1 seule colonne.
       Pour la réafficher : repasser à `minmax(0, 1.05fr) minmax(0, 1fr)`
       ET retirer la règle `.cta-band__card { display: none !important; }` plus bas. */
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
  }
}

.cta-band__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}

.cta-band h2 {
  color: var(--color-white);
  max-width: 640px;
}

.cta-band__accent {
  background: linear-gradient(135deg, #8EBDE6 0%, #4F8FD0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

/* Carte processus — glassmorphique pour rester lisible par-dessus l'image.
   MASQUÉE GLOBALEMENT (décision design) : pour la réafficher, retirer la
   règle ci-dessous ET remettre `grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr)`
   dans `.cta-band--split .cta-band__inner` (cf. plus haut). */
.cta-band__card {
  display: none !important;
  position: relative;
  padding: var(--space-6);
  background: rgba(11, 36, 76, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  flex-direction: column;
  gap: var(--space-5);
}

.cta-band__card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band__card-title {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.cta-band__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cta-step;
}

.cta-band__steps > li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.cta-band__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--color-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(39, 93, 154, 0.55);
}

.cta-band__steps strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

/* Sélecteur précis : seulement le <span> de description, pas le step-num */
.cta-band__steps > li > div > span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.45;
  margin-top: 4px;
}

.cta-band .eyebrow {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.cta-band__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

@media (min-width: 720px) {
  .cta-band__ctas {
    flex-direction: row;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .cta-band {
    padding-block: var(--space-9);
  }
}

/* ====== PAGES SERVICES — composants partagés ====== */

/* Hero des pages services : fond bleu uni, contenu centré, photo large en bas */
.hero--service {
  min-height: auto;
  padding-block: var(--space-8) 0;
  background-color: var(--color-blue-dark);
  display: block;
  overflow: visible;
  align-items: initial;
  text-align: left;
}

.hero--service .hero__bg,
.hero--service::after {
  display: none;
}

.hero--service .hero__deco {
  display: block;
}

.hero--service .hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.hero--service .hero__content {
  max-width: 760px;
}

.hero__content--centered {
  text-align: center;
  align-items: center;
  margin-inline: auto;
}

.hero__content--centered h1 {
  text-align: center;
}

.hero__content--centered .hero__meta {
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero--service {
    padding-block: var(--space-9) 0;
  }
}

/* Image large façon carte qui déborde sur la section suivante.
   Sans bordure : seule l'ombre marque le détachement. */
.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
  margin-bottom: calc(-1 * var(--space-5));
  z-index: 1;
}

@media (min-width: 720px) {
  .hero__photo {
    aspect-ratio: 21 / 9;
    border-radius: 22px;
    margin-bottom: calc(-1 * var(--space-6));
  }
}

@media (min-width: 1024px) {
  .hero__photo {
    aspect-ratio: 21 / 8;
    border-radius: 24px;
    margin-bottom: calc(-1 * var(--space-7));
  }
}

/* Espace supplémentaire sur la section qui suit le hero service
   pour que l'ombre de la photo n'empiète pas sur le contenu */
.hero--service + .section,
.hero--service + section {
  padding-top: calc(var(--space-8) + var(--space-6));
}

@media (min-width: 1024px) {
  .hero--service + .section,
  .hero--service + section {
    padding-top: calc(var(--space-9) + var(--space-7));
  }
}

.hero__photo picture,
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Variante : photo affichée en entier, dans son ratio naturel (pas de recadrage) — page à propos */
.hero__photo--full {
  aspect-ratio: auto;
}

.hero__photo--full picture,
.hero__photo--full img {
  height: auto;
  object-fit: contain;
}

/* Hero compact (pages services sans CTA) : plus ramassé */
.hero--compact {
  padding-block: var(--space-7) 0;
}

@media (min-width: 1024px) {
  .hero--compact {
    padding-block: var(--space-8) 0;
  }

  .hero--compact .hero__content {
    gap: var(--space-4);
  }
}

.hero--compact .hero__meta {
  margin-top: var(--space-4);
}

/* Section split : texte d'un côté, image de l'autre */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .split--reverse .split__media {
    order: -1;
  }
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.split__content > h2 {
  margin: 0;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-blue-dark);
  aspect-ratio: 4 / 3;
}

.split__media picture,
.split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bloc "Pour qui / Pas pour" : 2 colonnes */
.fit-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 720px) {
  .fit-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }
}

.fit-block__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.fit-block__col h3 {
  margin: 0;
}

/* Galerie réalisations (4 photos cliquables) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-blue-dark);
  aspect-ratio: 4 / 5;
}

.gallery-item picture,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* Section formulaire devis (en page service) */
.devis {
  background-color: var(--color-bg-soft);
}

.devis__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 1024px) {
  .devis__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-8);
  }
  /* Desktop : le formulaire (gauche) est plus large que le bloc infos (droite). */
  .devis__form {
    order: 0;
  }
}

.devis__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.devis__intro h2 {
  margin: 0;
}

.devis__contact {
  margin-top: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--fs-small);
}

.devis__contact strong {
  color: var(--color-blue-dark);
}

.devis__form {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  /* Mobile (1 colonne) : le formulaire passe au-dessus des infos
     (téléphone, horaires, carte). Réinitialisé en desktop ci-dessous. */
  order: -1;
}

@media (min-width: 720px) {
  .devis__form {
    padding: var(--space-7);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid__full {
    grid-column: 1 / -1;
  }
}

/* Téléphone mis en avant dans la section devis */
.devis__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-blue-dark);
  text-decoration: none;
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.devis__phone:hover {
  border-color: var(--color-blue);
  box-shadow: 0 4px 16px rgba(39, 93, 154, 0.1);
  color: var(--color-blue-dark);
}

.devis__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: rgba(39, 93, 154, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-blue);
}

.devis__phone-icon svg {
  width: 24px;
  height: 24px;
}

.devis__phone-number {
  font-size: var(--fs-body);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Zone d'intervention avec carte */
.devis__zone {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.devis__zone-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-blue-dark);
  margin: 0;
}

.devis__zone-title svg {
  width: 20px;
  height: 20px;
  color: var(--color-blue);
  flex-shrink: 0;
}

.devis__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-border);
  line-height: 0;
}

.devis__map iframe {
  display: block;
  width: 100%;
}

/* Repli affiché tant que les cookies « contenus externes » ne sont pas acceptés. */
.devis__map-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  min-height: 220px;
  padding: var(--space-5);
  background-color: var(--color-bg-soft);
  line-height: 1.5;
}

.devis__map-fallback-text {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.devis__map-fallback-btn {
  align-self: flex-start;
}

/* L'attribut `hidden` (posé en JS selon le consentement) doit l'emporter sur les
   `display` ci-dessus, sinon le repli/l'iframe restent visibles. La spécificité
   d'attribut+classe (0,2,0) bat la classe seule (0,1,0). */
.devis__map iframe[hidden],
.devis__map-fallback[hidden] {
  display: none;
}

.devis__zone-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
}

/* Horaires d'ouverture (page contact + footer) — voir bootstrap.php opening_hours_html */
.hours {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  font-size: var(--fs-small);
}

.hours__day {
  margin: 0;
  font-weight: 500;
  color: var(--color-text);
}

.hours__time {
  margin: 0;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.hours__row.is-closed .hours__day,
.hours__row.is-closed .hours__time {
  color: var(--color-text-muted);
}


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

.site-footer {
  position: relative;
  background-color: var(--color-blue-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-9) var(--space-5);
  font-size: var(--fs-small);
}

/* fin trait dégradé en haut, transition douce depuis la bande CTA */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 32px, 1200px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 20%,
    rgba(255, 255, 255, 0.18) 80%,
    transparent 100%
  );
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-base) var(--ease-out);
}

.site-footer a:hover {
  color: var(--color-white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: var(--space-7);
  }
}

/* Ces titres sont des <h2> (le footer est un landmark frère de <main> : un h4 y
   sautait un niveau de hiérarchie). La règle déclare donc tout explicitement,
   line-height comprise, pour ne rien hériter des styles h2 de base.css. */
.site-footer .footer-col-title {
  position: relative;
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  padding-bottom: 8px;
}

.site-footer .footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-blue);
  border-radius: 2px;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-footer ul a::before {
  content: "";
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--duration-base) var(--ease-out);
}

.site-footer ul a:hover::before {
  width: 14px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.site-footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 340px;
  margin: 0;
}

/* Pill « Disponible » dans le footer (même grammaire que le hero) */
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

/* Contact — items avec petit badge icône */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.footer-contact li > :last-child {
  min-width: 0;
}

.footer-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(39, 93, 154, 0.22);
  color: #8EBDE6;
  flex-shrink: 0;
}

.footer-contact__icon svg {
  width: 16px;
  height: 16px;
}

.footer-contact__sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}

.footer-contact a {
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact a::before { display: none; }

.social-list {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: background-color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.social-list a::before { display: none; }

.social-list a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--color-white);
}

.site-footer__bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

.footer-legal a::before {
  display: none;
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-legal__manage {
  padding: 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.footer-legal__manage:hover {
  color: var(--color-white);
}

@media (min-width: 720px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

/* ====== FAQ ====== */



.faq-list {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  line-height: 1.4;
}

.faq-item__trigger:hover {
  color: var(--color-blue);
}

.faq-item__trigger:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--duration-base) var(--ease-out);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms var(--ease-out), padding 300ms var(--ease-out);
  padding: 0 0 0 0;
}

.faq-item__answer[aria-hidden="false"] {
  max-height: 300px;
  padding-bottom: var(--space-5);
}

.faq-item__answer p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
  padding-right: var(--space-7);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon {
    transition: none;
  }
  .faq-item__answer {
    transition: none;
  }
}


/* ====== BARRE COOKIES (simple, arrondie, bas de page) ====== */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: var(--space-5);
  z-index: 70;
  width: min(680px, calc(100% - var(--space-5) * 2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(11, 36, 76, 0.12);
  transform: translate(-50%, calc(100% + var(--space-5)));
  transition: transform var(--duration-base) var(--ease-out);
}

.cookie-bar[data-open='true'] {
  transform: translate(-50%, 0);
}

.cookie-bar__text {
  flex: 1 1 240px;
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.cookie-bar__text a {
  color: var(--color-blue);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cookie-bar__btn {
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 999px;
}

@media (max-width: 559px) {
  .cookie-bar {
    border-radius: var(--radius-lg);
  }
  .cookie-bar__actions {
    width: 100%;
  }
  .cookie-bar__btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-bar {
    transition: none;
  }
}
