/* JN Infos — vitrine (inspiration type dépannage informatique, dominante gris foncé) */
:root {
  color-scheme: dark;
  --bg: #0f1218;
  --surface: #181c24;
  --surface-alt: #1e232d;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f1f5f9;
  --muted: #94a3b8;
  /* Accents clairs sur fond sombre (lisibilité, esprit “pro / technique”) */
  --accent: #e2e8f0;
  --accent-dim: #cbd5e1;
  --accent-contrast: #0f1218;
  --radius: 10px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1100px;
  --leading-tight: 1.2;
  --leading-snug: 1.4;
  --leading-body: 1.65;
  --leading-relaxed: 1.75;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: var(--leading-body);
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Header fixe : réserve la hauteur pour éviter que le contenu passe dessous */
  padding-top: 5.25rem;
}

body.nav-open {
  overflow: hidden;
}

/* Empêche tout enfant de forcer un scroll horizontal (tests mobile « contenu trop large ») */
main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  main {
    overflow-x: hidden;
  }
}

/* Ordre des rubriques aligné sur le menu */
main > #accueil { order: 1; }
main > .section-jump-nav { order: 2; }
main > #prestations { order: 3; }
main > #entreprises { order: 4; }
main > #deploiement { order: 5; }
main > #postes-reseaux { order: 6; }
main > #maintenance-reseau { order: 7; }
main > #depannage-domicile { order: 8; }
main > #mac-assistance { order: 9; }
main > #formation { order: 10; }
main > #tarifs { order: 11; }
main > #faq { order: 12; }
main > #confiance { order: 13; }
main > #temoignages { order: 14; }
main > #blog { order: 15; }
main > #contact { order: 16; }
main > #fibre-optique { order: 17; }

/* Espace pour la bannière fixe coordonnées (évite que le pied de page soit masqué) */
body.has-sticky-info-bar {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

/* Mobile : barre fixe basse masquée — plus de marge réservée */
@media (max-width: 768px) {
  body.has-sticky-info-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
  background: rgba(15, 18, 24, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  body {
    padding-top: 4.6rem;
  }
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  row-gap: 0.65rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.header-inner .logo {
  justify-self: start;
}

.header-inner .nav {
  justify-self: center;
}

.header-trailing {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-tools__icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.header-tool:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.header-tool__icon {
  width: 1.15rem;
  height: 1.15rem;
}

.header-tool--phone {
  width: auto;
  min-width: 2.25rem;
  padding: 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.header-phone-badge {
  display: none;
}

.nav-cta--header {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  box-sizing: border-box;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: #fff;
}

.site-logo-img {
  display: block;
  max-height: clamp(48px, 7vw, 64px);
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
}

.site-logo-img.is-hidden {
  display: none !important;
}

#site-logo-text {
  display: none !important;
}

.is-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 1.8vw, 1.5rem);
}

.nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-more {
  position: relative;
}

.nav-more__toggle {
  list-style: none;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.nav-more__toggle::-webkit-details-marker {
  display: none;
}

.nav-more[open] .nav-more__toggle {
  color: #fff;
}

.nav-more__menu {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 0.45rem);
  min-width: 11rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(20, 26, 36, 0.98);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.5);
  z-index: 260;
}

.nav-more__menu a {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-more__menu a:last-child {
  border-bottom: none;
}

.nav-more__back {
  display: none;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* Lien mis un peu plus en avant (équivalent « actif »), sans copier la ref. */
.nav .nav-link--emph {
  color: #cbd5e1;
  font-weight: 600;
}

.nav .nav-link--emph:hover {
  color: #fff;
}

.nav-cta {
  background: var(--accent);
  color: var(--accent-contrast) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  margin-left: 0.15rem;
}

.nav-cta:hover {
  background: #fff;
  color: var(--accent-contrast) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  /* Une seule ligne : logo | tel + e-mail | menu (le <nav> est fixed, hors flux flex) */
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
    justify-content: space-between;
  }

  .header-trailing {
    display: contents;
  }

  .header-inner .logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(42%, 10rem);
  }

  .logo {
    font-size: 0.95rem;
    gap: 0.35rem;
  }

  .site-logo-img {
    max-height: 36px;
    max-width: min(148px, 38vw);
  }

  .nav-toggle {
    display: none;
    flex: 0 0 auto;
    padding: 0.35rem 0.5rem;
    position: relative;
    z-index: 62;
  }

  body.js-enabled .nav-toggle {
    display: block !important;
  }

  .header-actions {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.3rem;
    padding-top: 0;
  }

  /* Mobile : affichage des réseaux + téléphone à côté du bouton contact */
  .header-tools {
    display: flex !important;
  }

  /* Mobile : icônes retirées de l'en-tête (elles passent en pied de page) */
  .header-tools__icons {
    display: none !important;
  }

  .nav-cta--header {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: 0;
    min-height: 2.2rem;
    padding: 0.35rem 0.82rem;
    font-size: 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.22);
    white-space: nowrap;
  }

  .header-tool--phone {
    min-height: 2.2rem;
    padding: 0.35rem 0.78rem;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.42);
    background: linear-gradient(180deg, rgba(17, 51, 74, 0.98), rgba(14, 34, 56, 0.98));
    color: #bae6fd !important;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 5px 14px rgba(2, 132, 199, 0.24);
  }

  .header-tool--phone:hover {
    color: #e0f2fe !important;
    border-color: rgba(125, 211, 252, 0.52);
  }

  .header-phone-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(110, 231, 183, 0.5);
    background: rgba(6, 78, 59, 0.38);
    color: #bbf7d0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-toggle {
    min-width: 2.2rem;
    min-height: 2.2rem;
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.36);
    background: rgba(15, 23, 35, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .nav {
    display: none;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    gap: 0.25rem 0.75rem;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  body.js-enabled .nav {
    display: flex;
    position: fixed;
    left: 0.55rem;
    right: 0.55rem;
    width: calc(100vw - 1.1rem);
    max-width: none;
    top: calc(clamp(2.85rem, 10vw, 4rem) + 0.15rem);
    z-index: 1200;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: calc(100dvh - clamp(2.85rem, 10vw, 4rem) - 0.02rem);
    max-height: calc(100dvh - clamp(2.85rem, 10vw, 4rem) - 0.02rem);
    overflow: hidden;
    overflow-x: hidden;
    padding: 0.45rem 0.7rem 0.55rem;
    background: rgba(20, 26, 36, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 12px;
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.56);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  body.js-enabled .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s;
  }

  body.js-enabled .nav > a {
    display: block;
    min-height: 0;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text);
    background: transparent;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
  }

  body.js-enabled .nav > a:last-child {
    border-bottom: none;
  }

  body.js-enabled .nav .nav-more {
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: transparent;
    position: relative;
  }

  body.js-enabled .nav .nav-more:last-of-type {
    border-bottom: none;
  }

  body.js-enabled .nav .nav-more__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
  }

  body.js-enabled .nav .nav-more__toggle::after {
    content: "▾";
    font-size: 0.8rem;
    color: var(--muted);
    transition: transform 0.15s ease;
  }

  body.js-enabled .nav .nav-more[open] .nav-more__toggle::after {
    transform: rotate(180deg);
  }

  body.js-enabled .nav .nav-more__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 0.2rem;
    min-width: 0;
    margin-top: 0;
    padding: 0.25rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    background: rgba(15, 18, 24, 0.99);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.58);
    z-index: 25;
    max-height: none;
    overflow: hidden;
  }

  body.js-enabled .nav .nav-more:last-of-type .nav-more__menu {
    top: auto;
    bottom: calc(100% + 0.2rem);
  }

  body.js-enabled .nav .nav-more__menu a {
    display: block;
    padding: 0.46rem 0 0.46rem 0.75rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    white-space: normal;
    word-break: break-word;
    text-decoration: none;
  }

  body.js-enabled .nav .nav-more__menu a:last-child {
    border-bottom: none;
  }

  body.js-enabled .nav .nav-more__back {
    display: block;
    padding: 0.42rem 0.75rem;
    font-size: 0.82rem;
  }

  .section-jump-nav {
    display: none !important;
  }

  @media (max-width: 420px) {
    .header-inner .logo {
      max-width: min(34%, 8rem);
    }

    .site-logo-img {
      max-height: 32px;
      max-width: min(120px, 32vw);
    }

    .nav-cta--header {
      min-height: 2.08rem;
      padding: 0.26rem 0.52rem;
      font-size: 0.72rem;
    }

    .header-tool--phone {
      min-height: 2.08rem;
      padding: 0.24rem 0.48rem;
      font-size: 0.72rem;
    }

    .header-phone-badge {
      min-height: 2.08rem;
      padding: 0.2rem 0.36rem;
      font-size: 0.64rem;
    }

  }

}

/* Hero */
.hero {
  padding: 0 0 clamp(3rem, 10vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Bannière haut : carrousel pleine largeur */
.hero-banner-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow-x: hidden;
}

.hero-banner-carousel.is-hidden {
  display: none !important;
}

/*
 * Hauteur du bandeau : fixée en JS (hero-banner-carousel.js) pour toutes les photos,
 * à partir de la largeur + hauteur min/max admin. Évite les conflits aspect-ratio / min / max.
 */
.hero-banner-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 120px;
}

.hero-banner-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.hero-banner-slide {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-banner-slide-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--surface);
}

.hero-banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.hero-banner-btn:hover {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-banner-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-banner-btn--prev {
  left: clamp(0.5rem, 2vw, 1rem);
}

.hero-banner-btn--next {
  right: clamp(0.5rem, 2vw, 1rem);
}

.hero-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
  padding: 0 2.75rem;
}

.hero-banner-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-banner-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-banner-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-banner-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile : zone tactile ≥ 48×48 px (Lighthouse / bonnes pratiques), visuel inchangé via ::after */
@media (max-width: 768px) {
  .hero-banner-dots {
    gap: 0.5rem;
    padding: 0 2.75rem 0.55rem;
  }

  .hero-banner-dot {
    position: relative;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    background: transparent;
  }

  /* Annule .hero-banner-dot.is-active / :hover desktop (fond blanc + scale) sur la grande zone tactile */
  .hero-banner-dot:hover,
  .hero-banner-dot.is-active {
    background: transparent;
    transform: none;
  }

  .hero-banner-dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%);
    transition:
      background 0.2s ease,
      transform 0.2s ease;
    pointer-events: none;
  }

  .hero-banner-dot:hover::after {
    background: rgba(255, 255, 255, 0.55);
  }

  .hero-banner-dot.is-active::after {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.15);
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-banner-dot.is-active::after {
      transform: translate(-50%, -50%);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-track {
    transition: none;
  }
}

.hero-body {
  padding-top: clamp(2rem, 6vw, 4rem);
}

.hero:has(.hero-banner-carousel:not(.is-hidden)) .hero-body {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(148, 163, 184, 0.08), transparent 58%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
}

.hero-copy {
  text-align: center;
  width: 100%;
  max-width: min(100%, 52rem);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: clamp(0.8125rem, 2.1vw, 0.9375rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dim);
  margin-bottom: 0.875rem;
}

.hero h1 {
  margin: 0 auto 1.125rem;
  font-size: clamp(2.125rem, 4.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: var(--leading-tight);
}

.hero-lead {
  margin: 0 auto 1.875rem;
  color: var(--muted);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: var(--leading-relaxed);
  letter-spacing: -0.008em;
  max-width: min(100%, 68ch);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Photo optionnelle + encadré sous le bloc principal */
.hero-lower {
  width: 100%;
  max-width: min(100%, 52rem);
  margin-inline: auto;
}

.hero-lower-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-lower--has-image .hero-lower-row {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-lower--has-image .hero-image:not(.is-hidden) {
    flex: 0 1 42%;
    max-width: 42%;
    max-height: 320px;
    align-self: center;
  }

  .hero-lower--has-image .hero-card {
    flex: 1;
    min-width: 0;
  }

  .hero-lower-row--img-right .hero-image {
    order: 1;
  }

  .hero-lower-row--img-right .hero-card {
    order: 2;
  }

  .hero-lower-row--img-left .hero-card {
    order: 1;
  }

  .hero-lower-row--img-left .hero-image {
    order: 2;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  background: #fff;
  color: var(--accent-contrast);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  border-color: var(--accent-dim);
  color: #fff;
  text-decoration: none;
}

.hero-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-card h2 {
  margin: 0 0 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: var(--leading-snug);
}

.hero-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: pre-line;
}

.hero-seo-text {
  white-space: pre-line;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 280px;
  background: var(--surface);
}

.hero-image.is-hidden {
  display: none !important;
}

/* Sections */
section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

section:nth-child(even) {
  background: var(--surface-alt);
}

/* Alternance forcée à partir d'Infogérance */
#entreprises,
#postes-reseaux,
#depannage-domicile,
#formation,
#faq,
#temoignages,
#contact,
#confiance,
#blog {
  background: var(--surface);
}

#deploiement,
#maintenance-reseau,
#mac-assistance,
#tarifs,
#confiance,
#blog {
  background: var(--surface-alt);
}

/* Bloc titre + accroche (Services, Contact) */
.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-title {
  position: relative;
  margin: 0 0 0.75rem;
  padding-bottom: 0.875rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: var(--leading-tight);
  color: var(--text);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #f8fafc 0%,
    var(--accent) 42%,
    rgba(148, 163, 184, 0.55) 100%
  );
}

.section-intro {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: var(--leading-body);
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 52ch;
}

.section-head .section-intro:last-child {
  margin-bottom: 0;
}

.section-head--wide {
  max-width: min(100%, 48rem);
}

.section-head--wide .section-intro {
  max-width: 60ch;
}

.deploiement-p2 {
  margin-bottom: 0 !important;
}

/* Pages « menu » : corps de texte multiligne (admin) */
.page-rich {
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: var(--leading-body);
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: pre-line;
  max-width: 62ch;
}

.section-head--wide .page-rich {
  max-width: min(100%, 62ch);
}

.prestations-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
  max-width: 100%;
}

.prestations-col {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 35, 0.35);
  padding: 0.9rem 1rem;
}

.prestations-col__title {
  margin: 0 0 0.55rem;
  display: inline-block;
  min-width: 10.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: rgba(15, 23, 35, 0.45);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

#prestations .page-rich {
  margin-top: 0;
}

@media (min-width: 860px) {
  .prestations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* Sections « menu » : texte + photo optionnelle (gauche / droite) */
.section-page-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.section-page-layout__main {
  min-width: 0;
}

.section-page-layout__media {
  min-width: 0;
  max-width: 100%;
}

.section-page-layout__media.is-hidden {
  display: none !important;
}

.section-page-menu-img.is-hidden {
  display: none !important;
}

.section-page-menu-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 360px;
  background: var(--surface);
}

/* Mobile / tablette étroite : visuels pleine largeur du conteneur (évite tout débordement, aère les blocs texte+image) */
@media (max-width: 799px) {
  .section-page-layout__media {
    width: 100%;
    max-width: 100%;
  }

  /* > img : pas les visuels dans .tarifs-galaxy (hauteur fixe ≤900px) */
  .section-page-layout__media > img,
  img.section-page-menu-img,
  img.hero-image,
  img.about-image,
  img.about-gallery__image,
  img.trust-section__img,
  img.contact-shell__media-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .blog-card__media {
    aspect-ratio: 16 / 10;
    max-height: 12rem;
  }

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

/* Mobile : aération verticale (paragraphes, sections, listes) */
@media (max-width: 768px) {
  section {
    padding: clamp(3.35rem, 9vw, 4.25rem) 0;
  }

  .section-head {
    margin-bottom: 2.125rem;
  }

  .section-title {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .section-intro {
    margin-bottom: 1.5rem;
  }

  .section-head .section-intro:last-child {
    margin-bottom: 0;
  }

  .page-rich {
    margin-top: 0.65rem;
    line-height: 1.72;
  }

  .section-page-layout {
    gap: 2.35rem;
  }

  .hero-lead {
    margin-bottom: 2.125rem;
  }

  .hero-seo-text {
    margin-top: 0.5rem;
    line-height: 1.72;
    font-size: 0.9375rem;
    white-space: pre-line;
  }

  .hero-lower-row {
    gap: 1.5rem;
  }

  .hero-actions {
    gap: 0.875rem;
  }

  .hero-card p + p {
    margin-top: 0.75rem;
  }

  .faq-item__body {
    padding: 0 1.15rem 1.35rem;
  }

  .faq-item__body p {
    margin-bottom: 1.125rem;
  }

  .faq-item__cta {
    margin-top: 1rem !important;
    padding-top: 0.85rem;
  }

  .blog-card__body {
    gap: 0.85rem;
    padding: 1.35rem 1.2rem 1.5rem;
  }

  .cards {
    gap: 1.4rem;
  }

  .card {
    padding: 1.65rem 1.35rem;
  }

  .card p + p {
    margin-top: 0.65rem;
  }

  .about-layout {
    gap: 2.35rem;
  }

  /* Listes (contenu HTML possible ou pages légales / blog inline) */
  .page-rich ul,
  .page-rich ol,
  .section-head--wide ul,
  .section-head--wide ol,
  .about-rich ul,
  .about-rich ol {
    margin: 1.125rem 0 1.25rem;
    padding-left: 1.4rem;
  }

  .page-rich li,
  .section-head--wide li,
  .about-rich li {
    margin-bottom: 0.7rem;
    line-height: 1.65;
  }

  .page-rich li:last-child,
  .section-head--wide li:last-child,
  .about-rich li:last-child {
    margin-bottom: 0;
  }

  .contact-form {
    padding: 2rem 1.35rem 1.65rem;
  }

  .form-row {
    margin-bottom: 1.4rem;
  }

  /* Chaînes longues (liens, texte admin) : ne pas dépasser la largeur d’écran */
  p,
  li,
  summary,
  .page-rich,
  .hero-seo-text,
  .section-intro,
  .faq-item__body,
  .blog-card__excerpt,
  .testimonial-card__quote {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (min-width: 800px) {
  .section-page-layout--has-image {
    grid-template-columns: 1fr minmax(200px, 38%);
    align-items: center;
  }

  .section-page-layout--has-image.section-page-layout--img-left {
    grid-template-columns: minmax(200px, 38%) 1fr;
  }

  .section-page-layout--has-image.section-page-layout--img-left .section-page-layout__text,
  .section-page-layout--has-image.section-page-layout--img-left .section-page-layout__main {
    grid-column: 2;
  }

  .section-page-layout--has-image.section-page-layout--img-left .section-page-layout__media {
    grid-column: 1;
    grid-row: 1;
  }
}

.tarifs-cta,
.domicile-cta {
  margin-top: 1.75rem;
  text-align: center;
}

#accueil,
#postes-reseaux,
#maintenance-reseau,
#depannage-domicile,
#mac-assistance,
#formation,
#entreprises,
#deploiement,
#tarifs,
#faq,
#blog,
#contact,
#temoignages {
  scroll-margin-top: 5.5rem;
}

/* Raccourcis de section (mobile) : moins de scroll pour atteindre FAQ, Blog, Contact, etc. */
.section-jump-nav {
  display: none;
}

@media (max-width: 768px) {
  .section-jump-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    top: 3.05rem;
    z-index: 48;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 18, 24, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.45rem 0;
  }

  main {
    padding-top: 3.15rem;
  }

  .section-jump-nav__inner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    min-width: 0;
  }

  .section-jump-nav__label {
    flex-shrink: 0;
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
  }

  .section-jump-nav__scroll {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  }

  .section-jump-nav__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0.1rem 0;
  }

  .section-jump-nav__list a {
    display: block;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-dim);
    text-decoration: none;
    white-space: nowrap;
  }

  .section-jump-nav__list a:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text);
  }
}

/* FAQ */
.faq-section .section-head {
  max-width: 48rem;
}

/* Bandeau titre + intro + photo ; les questions restent centrées en dessous */
.faq-layout__header-row {
  margin-bottom: 1.75rem;
}

.faq-layout__header-row.section-page-layout--has-image {
  align-items: start;
}

.faq-layout__header-row .faq-layout__photo {
  max-height: min(220px, 32vw);
}

.testimonials-layout__header-row {
  margin-bottom: 1.75rem;
}

.testimonials-layout__header-row.section-page-layout--has-image {
  align-items: start;
}

.testimonials-layout__header-row .section-page-menu-img {
  max-height: min(220px, 32vw);
}

.faq-list {
  max-width: 46rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: var(--leading-snug);
  color: var(--text);
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__body p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: var(--leading-relaxed);
  color: var(--muted);
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

.faq-item__body a {
  color: var(--accent-dim);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-item__body a:hover {
  color: #fff;
}

.faq-item__cta {
  margin-top: 0.85rem !important;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item__cta .btn {
  font-size: 0.8125rem;
  padding: 0.45rem 0.9rem;
}

/* Blog */
.blog-section .section-head {
  max-width: 48rem;
}

.blog-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

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

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

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.blog-card__media {
  display: block;
  aspect-ratio: 11 / 7;
  max-height: 9.5rem;
  overflow: hidden;
  background: var(--surface);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.blog-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
  color: var(--text);
}

.blog-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: var(--leading-relaxed);
  color: var(--muted);
}

.blog-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-dim);
  text-decoration: none;
}

.blog-card__link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* À propos : titre seul, sans filet du bloc .section-head */
.about-copy .section-title {
  margin-bottom: 1rem;
}

.about-copy .section-intro {
  max-width: 58ch;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

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

.cards--service-3d {
  perspective: 1400px;
  perspective-origin: 50% 35%;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(226, 232, 240, 0.28);
}

/* Services : cartes photo + effet 3D */
.card-service-3d {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s ease;
}

.card-service-3d--has-photo {
  min-height: 300px;
  padding: 0;
  border: none !important;
  background: var(--surface);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.card-service-3d--has-photo:hover {
  transform: rotateX(5deg) rotateY(-6deg) translateZ(16px) scale(1.03);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 12px 32px rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .card-service-3d {
    transition: none;
  }

  .card-service-3d--has-photo:hover {
    transform: none;
  }

  .card-service-3d__bg {
    transition: none !important;
  }
}

.card-service-3d__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateZ(-12px) scale(1.06);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-service-3d--has-photo:hover .card-service-3d__bg {
  transform: translateZ(-6px) scale(1.1);
}

.card-service-3d__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.45) 40%,
    rgba(15, 23, 42, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.card-service-3d__content {
  position: relative;
  z-index: 2;
  transform: translateZ(28px);
}

.card-service-3d--has-photo .card-service-3d__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 1.5rem;
}

.card-service-3d:not(.card-service-3d--has-photo) {
  justify-content: flex-start;
}

.card-service-3d:not(.card-service-3d--has-photo) .card-service-3d__content {
  transform: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-service-3d--has-photo .card-icon {
  flex-shrink: 0;
  margin-bottom: 0.875rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.card-service-3d--has-photo h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: var(--leading-snug);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.card-service-3d--has-photo p {
  font-size: 0.9375rem;
  line-height: var(--leading-body);
  letter-spacing: -0.006em;
  color: rgba(248, 250, 252, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-dim);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: var(--leading-snug);
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: var(--leading-body);
  letter-spacing: -0.008em;
  color: var(--muted);
}


.about-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-rich {
  margin-bottom: 0;
}

.about-media {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

@media (min-width: 800px) {
  .about-has-image .about-layout {
    grid-template-columns: 1fr minmax(200px, 38%);
    gap: 2.5rem;
    align-items: center;
  }

  .about-has-image.about-img-side-left .about-layout {
    grid-template-columns: minmax(200px, 38%) 1fr;
  }

  .about-has-image.about-img-side-left .about-copy {
    grid-column: 2;
  }

  .about-has-image.about-img-side-left .about-media {
    grid-column: 1;
    grid-row: 1;
  }
}

.about-p2 {
  margin-bottom: 0 !important;
}

.about-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 320px;
  background: var(--surface);
}

.about-image.is-hidden {
  display: none !important;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.about-gallery__item {
  margin: 0;
}

.about-gallery__image {
  display: block;
  width: 100%;
  height: 106px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.about-gallery__image.is-hidden {
  display: none !important;
}

.about-gallery__caption {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.9);
}

.tarifs-galaxy {
  position: relative;
  min-height: 520px;
  perspective: 900px;
  overflow: hidden;
}

.tarifs-galaxy__main,
.tarifs-galaxy__orbit {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.36);
  will-change: transform;
}

.tarifs-galaxy__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.tarifs-galaxy__main {
  position: absolute;
  inset: 94px 74px 94px 56px;
  z-index: 2;
}

.tarifs-galaxy__main-img,
.tarifs-galaxy__orbit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}

.tarifs-galaxy__main,
.tarifs-galaxy__orbit {
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.tarifs-galaxy__main:hover,
.tarifs-galaxy__orbit:hover {
  transform: translateY(-6px) scale(1.055) rotate(0deg) !important;
  z-index: 14;
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow:
    0 24px 42px rgba(2, 6, 23, 0.55),
    0 0 0 1px rgba(125, 211, 252, 0.35);
}

.tarifs-galaxy__main:hover .tarifs-galaxy__main-img,
.tarifs-galaxy__orbit:hover .tarifs-galaxy__orbit-img {
  transform: scale(1.06);
}

.tarifs-galaxy__main-cap,
.tarifs-galaxy__orbit-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.45rem 0.65rem 0.55rem;
  font-size: 0.74rem;
  line-height: 1.3;
  color: #dbe7f5;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.82));
  transition: background 220ms ease;
}

.tarifs-galaxy__main:hover .tarifs-galaxy__main-cap,
.tarifs-galaxy__orbit:hover .tarifs-galaxy__orbit-cap {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.9));
}

.tarifs-galaxy__main-cap {
  font-size: 0.8rem;
}

.tarifs-galaxy__orbit {
  position: absolute;
  animation: tarifsGalaxyFloat 6.4s ease-in-out infinite;
}

.tarifs-galaxy__orbit--1 {
  width: 36%;
  height: 28%;
  top: 8px;
  right: -2px;
  z-index: 3;
  animation-delay: 0s;
  transform: rotate(2deg);
}

.tarifs-galaxy__orbit--2 {
  width: 32%;
  height: 26%;
  left: -4px;
  bottom: 14px;
  z-index: 3;
  animation-delay: 0.8s;
  transform: rotate(-2deg);
}

.tarifs-galaxy__orbit--3 {
  width: 30%;
  height: 24%;
  right: 2px;
  bottom: 2px;
  z-index: 1;
  animation-delay: 1.5s;
  transform: rotate(1.4deg);
}

.tarifs-galaxy__orbit--4 {
  width: 24%;
  height: 20%;
  left: 8%;
  top: 10px;
  z-index: 4;
  animation-delay: 2.1s;
  transform: rotate(-3deg);
}

.tarifs-galaxy__orbit--5 {
  width: 23%;
  height: 19%;
  right: 14%;
  top: 42%;
  z-index: 5;
  animation-delay: 2.8s;
  transform: rotate(3.2deg);
}

.tarifs-galaxy__orbit--6 {
  width: 22%;
  height: 18%;
  left: 30%;
  bottom: 0;
  z-index: 5;
  animation-delay: 3.5s;
  transform: rotate(-1.8deg);
}

@keyframes tarifsGalaxyFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tarifs-rot, 0deg));
  }
  50% {
    transform: translateY(-7px) rotate(var(--tarifs-rot, 0deg));
  }
}

.tarifs-galaxy__orbit--1 {
  --tarifs-rot: 2deg;
}

.tarifs-galaxy__orbit--2 {
  --tarifs-rot: -2deg;
}

.tarifs-galaxy__orbit--3 {
  --tarifs-rot: 1.4deg;
}

.tarifs-galaxy__orbit--4 {
  --tarifs-rot: -3deg;
}

.tarifs-galaxy__orbit--5 {
  --tarifs-rot: 3.2deg;
}

.tarifs-galaxy__orbit--6 {
  --tarifs-rot: -1.8deg;
}

@media (prefers-reduced-motion: reduce) {
  .tarifs-galaxy__orbit {
    animation: none;
  }
}

@media (max-width: 900px) {
  .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Galaxy « absolue » : orbites en px négatifs → débordement horizontal sur tablette ;
     empiler comme sur mobile dès ≤900px (aligné avec la grille section une colonne <800px). */
  .tarifs-galaxy {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    overflow: visible;
  }

  .tarifs-galaxy__orbit {
    animation: none;
  }

  .tarifs-galaxy__main,
  .tarifs-galaxy__orbit {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .tarifs-galaxy__main-img,
  .tarifs-galaxy__orbit-img {
    height: 168px;
  }
}

@media (max-width: 540px) {
  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-gallery__image {
    height: 148px;
  }
}

/* Contact : panneau + photo optionnelle en colonne latérale (gauche / droite) sur grand écran */
.contact-shell {
  width: 100%;
  max-width: min(100%, 48rem);
  margin-inline: auto;
}

.contact-shell.contact-shell--has-media {
  max-width: min(100%, 58rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.contact-shell--has-media .contact-shell__media {
  order: -1;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3.5vw, 1.85rem);
  padding: clamp(1.35rem, 4vw, 2.1rem);
  background: linear-gradient(165deg, rgba(30, 35, 45, 0.92), rgba(22, 26, 34, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-panel__main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3.5vw, 1.85rem);
  min-width: 0;
}

@media (min-width: 960px) {
  .contact-shell.contact-shell--has-media {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 34%);
    gap: 1.5rem 1.75rem;
    align-items: start;
  }

  .contact-shell--has-media .contact-shell__media {
    order: 0;
  }

  .contact-shell--has-media.contact-shell--media-left {
    grid-template-columns: minmax(240px, 34%) 1fr;
  }

  .contact-shell--media-right .contact-panel {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-shell--media-right .contact-shell__media {
    grid-column: 2;
    grid-row: 1;
  }

  .contact-shell--media-left .contact-shell__media {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-shell--media-left .contact-panel {
    grid-column: 2;
    grid-row: 1;
  }
}

.contact-panel__head {
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0.25rem;
}

.contact-panel__head .section-intro {
  margin-bottom: 0;
  max-width: 46ch;
  margin-inline: auto;
}

#contact .section-head .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-channels {
  padding: 1rem 0 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-channels__grid {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .contact-channels__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-channel {
  text-align: center;
}

.contact-channel p {
  margin: 0;
}

.contact-channels__note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}

.contact-channels__note:empty {
  display: none;
}

.contact-channel strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dim);
}

.contact-channel a {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.contact-channel a:hover {
  color: #fff;
}

/* Étiquettes bombées — téléphone & e-mail (contact, en-tête, barre fixe) */
a.site-contact-phone,
a.site-contact-phone--secondary,
a.site-contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.45rem 1.05rem;
  margin-top: 0.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration: none !important;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: linear-gradient(
    180deg,
    rgba(71, 85, 105, 0.5) 0%,
    rgba(41, 53, 72, 0.88) 45%,
    rgba(15, 23, 42, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.3);
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  word-break: break-word;
}

a.site-contact-phone,
a.site-contact-phone--secondary {
  color: #bae6fd !important;
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.28) 0%,
    rgba(12, 74, 110, 0.42) 42%,
    rgba(15, 23, 42, 0.96) 100%
  );
}

a.site-contact-email {
  color: #f1f5f9 !important;
}

a.site-contact-phone:hover,
a.site-contact-phone--secondary:hover,
a.site-contact-email:hover {
  color: #fff !important;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 5px 18px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

a.site-contact-phone:hover,
a.site-contact-phone--secondary:hover {
  border-color: rgba(125, 211, 252, 0.6);
}

a.site-contact-phone--secondary {
  margin-left: 0.45rem;
  opacity: 0.95;
}

a.site-contact-email:hover {
  border-color: rgba(203, 213, 225, 0.55);
}

.contact-channel__text {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: var(--leading-snug);
  color: #e2e8f0;
  white-space: pre-line;
}

.contact-shell__media {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: none;
  background: transparent;
  align-self: stretch;
}

.contact-shell__media.is-hidden {
  display: none !important;
}

.contact-shell__media-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: min(42vh, 300px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

@media (min-width: 960px) {
  .contact-shell--has-media .contact-shell__media-img {
    min-height: 260px;
    max-height: min(72vh, 480px);
  }

  .contact-shell--has-media .contact-shell__media {
    position: sticky;
    top: 5.5rem;
  }
}

.contact-shell__media-img.is-hidden {
  display: none !important;
}

.contact-form-shell {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.15rem;
}

.contact-form {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  background: #1c212c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

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

.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(226, 232, 240, 0.45);
  box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.12);
}

.contact-form .form-row input,
.contact-form .form-row textarea {
  background: rgba(10, 12, 18, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.ok {
  color: #4ade80;
}

.form-status.err {
  color: #f87171;
}

.form-hint {
  margin: -0.25rem 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(241, 245, 249, 0.88);
  line-height: 1.45;
  text-align: left;
}

.form-row--honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-row__hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

.contact-privacy {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}

.contact-privacy:empty {
  display: none;
}

/* Bannière bas de page : fond coloré (optionnel), photos sur le fond, texte dessous (admin) */
.footer-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.footer-strip.is-hidden {
  display: none !important;
}

.footer-strip:not(.is-hidden) + .site-footer {
  border-top: none;
}

.footer-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}

.footer-strip__inner--valign-top {
  justify-content: flex-start;
}

.footer-strip__inner--valign-bottom {
  justify-content: flex-end;
}

.footer-strip__photos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1rem);
  width: 100%;
  justify-content: center;
}

.footer-strip__photos.is-hidden {
  display: none !important;
}

.footer-strip__img {
  display: block;
  flex: 1 1 140px;
  width: auto;
  max-width: min(100%, 280px);
  height: auto;
  max-height: min(50vh, 420px);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.footer-strip__img.is-hidden {
  display: none !important;
}

.footer-strip__text {
  flex: 0 0 auto;
  margin: 0;
  width: 100%;
  font-size: 0.9375rem;
  line-height: var(--leading-body);
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: pre-line;
}

.footer-strip__text.is-hidden {
  display: none !important;
}

.footer-stats.is-hidden {
  display: none !important;
}

.footer-stats {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 1.85rem 0 1.35rem;
  text-align: center;
  background-color: #0f1218;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.72), rgba(8, 11, 16, 0.8));
  pointer-events: none;
}

.footer-stats__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.footer-stats__item {
  padding: 1rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 18, 24, 0.25);
}

.footer-stats__value {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.footer-stats__label {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--muted);
  white-space: pre-line;
}

@media (max-width: 520px) {
  .footer-stats__inner {
    grid-template-columns: 1fr;
  }
}

.footer-stats:not(.is-hidden) + .site-footer {
  border-top: 0;
  padding-top: 1.3rem;
}

.footer-strip__inner--text-only .footer-strip__text {
  max-width: none;
}

@media (max-width: 640px) {
  .footer-strip__img {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: var(--leading-snug);
  letter-spacing: 0.01em;
}

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

.site-footer a:hover {
  color: #fff;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}

.site-footer__copy {
  margin: 0;
}

.site-footer__social {
  display: none;
}

@media (max-width: 768px) {
  .site-footer__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
  }
}

/* Bannière fixe bas d’écran : société, adresse, horaires, téléphone */
.sticky-info-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  border-top: 1px solid var(--border);
  background: rgba(15, 18, 24, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-bottom, 0px));
}

.sticky-info-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}

.sticky-info-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.sticky-info-bar__brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.sticky-info-bar__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.sticky-info-bar__logo.is-hidden {
  display: none !important;
}

.sticky-info-bar__company {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 12rem;
}

.sticky-info-bar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1.5rem;
  flex: 1 1 200px;
  min-width: 0;
  justify-content: center;
}

.sticky-info-bar__block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  max-width: 22rem;
}

.sticky-info-bar__label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sticky-info-bar__value {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(248, 250, 252, 0.88);
  white-space: pre-line;
}

.sticky-info-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  flex-shrink: 0;
}

.sticky-info-bar .site-contact-phone,
.sticky-info-bar .site-contact-email {
  margin-top: 0;
  white-space: nowrap;
  max-width: min(100%, 16rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-info-bar__contact {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--muted) !important;
  text-decoration: none !important;
}

.sticky-info-bar__contact:hover {
  color: #fff !important;
  border-color: rgba(148, 163, 184, 0.55);
  text-decoration: none !important;
}

/* Mobile : pas de barre fixe en bas (coordonnées déjà dans l’en-tête) */
@media (max-width: 768px) {
  .sticky-info-bar {
    display: none !important;
  }
}

.header-tool--whatsapp {
  color: #25d366;
}

.header-tool--whatsapp:hover {
  color: #1ebe57;
}

.trust-section {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.trust-section__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .trust-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .trust-section__inner--solo {
    grid-template-columns: 1fr;
  }
}

.trust-section__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.trust-section__lead {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

.testimonials-section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 960px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.testimonial-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.55rem 0.28rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.testimonial-card__badge-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.testimonial-card__badge-text {
  line-height: 1;
}

.testimonial-card__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

.testimonial-card__meta {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.contact-channels__grid .contact-channel--span {
  grid-column: 1 / -1;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

body.has-sticky-info-bar .whatsapp-float {
  bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  body.has-sticky-info-bar .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 0.75rem;
    width: 3rem;
    height: 3rem;
  }
}

/* Pages légales (mentions, confidentialité, plan, 404) */
.legal-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.legal-page__pre-line {
  white-space: pre-line;
}

.legal-page__header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-page__header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-page__back {
  color: var(--accent, #7dd3fc);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-page__back:hover {
  text-decoration: underline;
}

.legal-page__main {
  padding: 2rem 0 4rem;
  max-width: 42rem;
}

.legal-page__main h1 {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
}

.legal-page__main h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.1rem;
}

.legal-page__main p,
.legal-page__main li {
  line-height: 1.65;
  color: var(--muted);
}

.legal-page__main ul {
  padding-left: 1.2rem;
}

.notfound-page {
  text-align: center;
  padding: 4rem 1rem;
}

.notfound-page__intro {
  max-width: 28rem;
  margin: 0 auto;
}

.notfound-page__actions {
  margin-top: 1.5rem;
}

.notfound-page h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-list li {
  margin: 0.5rem 0;
}

.plan-list a {
  color: var(--accent, #7dd3fc);
}

/* Carte départements (contact) */
.contact-dept-map {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: var(--radius, 12px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.35);
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.contact-dept-map__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-dept-map__hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted, #94a3b8);
}

.contact-dept-map__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 100%;
  min-width: 0;
}

.france-map-root {
  flex: 0 0 auto;
}

.france-map-svg {
  display: block;
  width: 100%;
  max-width: min(100%, 380px);
  height: auto;
}

.france-map-bg {
  fill: rgba(15, 23, 42, 0.6);
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 2;
}

.france-map-land {
  fill: rgba(51, 65, 85, 0.95);
  stroke: rgba(148, 163, 184, 0.55);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.france-map-dot {
  fill: #22d3ee;
  stroke: #0f172a;
  stroke-width: 2.5;
}

.contact-dept-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #94a3b8);
  flex: 1 1 200px;
  max-width: 28rem;
}

/* Articles blog (pages dédiées) */
.blog-article-page .legal-page__main {
  max-width: 40rem;
}

.blog-article-page .blog-article__meta {
  font-size: 0.875rem;
  color: var(--muted, #94a3b8);
  margin: 0 0 1.25rem;
}

.blog-article-page .blog-article__hero {
  margin: 0 0 1.5rem;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.blog-article-page .blog-article__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-article-page .blog-article__body {
  line-height: 1.65;
}

.blog-article-page .blog-article__body h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.blog-article-page .blog-article__body p {
  margin: 0 0 1rem;
}

.blog-article-page .blog-article__body ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}

.blog-article-page .blog-article__cta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
