/* ==========================================================================
   Entreprise AR — Feuille de style principale.

   Design system « éditorial institutionnel » (inspiré de design.md) :
   - Une seule couleur d'action : l'or de la marque (--primary). Utilisée
     avec parcimonie — CTA, lien de marque, accents. Jamais deux accents.
   - Display Inter 400 avec interlettrage négatif — calme, jamais de gras
     sur les titres display.
   - JetBrains Mono sur toutes les valeurs chiffrées (téléphone, notes,
     numéros d'étapes, chiffres clés).
   - Géométrie : pilule (100px) pour tout l'interactif, 24px pour les
     cartes, cercle parfait pour les pastilles. Aucun angle vif.
   - Rythme de page : toile blanche → bande douce (papier) → bande sombre
     (marine profond) pour le hero et le bandeau pré-footer. 96px entre
     les bandes.
   - Une seule ombre : 0 4px 12px rgba(0,0,0,.06). Le reste est plat ou
     fileté (hairline 1px).

   Les couleurs de marque (--gold, --navy, --paper…) sont injectées par le
   back-office après cette feuille ; tous les tokens en dérivent via var().
   ========================================================================== */

:root {
  /* Couleurs de marque (surchargées par le back-office) */
  --gold: #e3a322;
  --gold-dark: #a87410;
  --navy: #1d3a5c;
  --navy-deep: #15293f;
  --paper: #faf8f3;
  --paper-alt: #f3efe6;

  /* Tokens — couleur */
  --primary: var(--gold);
  --primary-active: var(--gold-dark);
  --on-primary: #181203;
  --canvas: #ffffff;
  --surface-soft: var(--paper);
  --surface-strong: var(--paper-alt);
  --surface-dark: var(--navy-deep);
  --surface-dark-elevated: var(--navy);
  --hairline: #e6e3dc;
  --hairline-soft: #f0eee8;
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --ink: #14181f;
  --body: #5b616e;
  --muted: #7c828a;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.66);
  --success: #2e7d4f;
  --danger: #b03a3a;

  /* Tokens — typographie */
  --font-display: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

  /* Tokens — géométrie */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --pill: 100px;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.06);

  /* Tokens — rythme */
  --container: 1200px;
  --section: clamp(64px, 9vw, 96px);

  /* Compatibilité avec l'existant (CSS personnalisé, admin) */
  --white: #ffffff;
  --slate: var(--body);
  --line: var(--hairline);
  --line-dark: var(--hairline-dark);
  --radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
}

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

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0;
}

h4 { font-size: 1rem; font-weight: 600; }

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

a { color: var(--ink); }

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

figure { margin: 0; }

figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-top: 0.65rem;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

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

.section--alt {
  background: var(--surface-soft);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Sur-titre : pilule badge (étiquette de section) */
.overline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface-strong);
  border-radius: var(--pill);
  padding: 0.35rem 0.9rem;
  margin: 0 0 1.1rem;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Boutons — tout l'interactif est en pilule
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover,
.btn--primary:active {
  background: var(--primary-active);
  border-color: var(--primary-active);
  color: #fff;
}

/* Secondaire sur fond clair : pilule grise douce */
.btn--outline {
  background: var(--surface-strong);
  border-color: var(--surface-strong);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--hairline);
  border-color: var(--hairline);
}

/* Sur bande sombre : pilule transparente filetée blanc */
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--on-dark);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* CTA « fier » du hero (56px) */
.btn--hero {
  min-height: 56px;
  padding: 1rem 2rem;
}

.link-more {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-active);
  text-decoration: none;
}

.link-more:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Barre supérieure + en-tête (nav 64px)
   -------------------------------------------------------------------------- */

.alert-banner {
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}

.topbar {
  background: var(--surface-dark);
  color: var(--on-dark-soft);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

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

.topbar a {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
}

.topbar a:hover { color: var(--primary); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9999px;
}

.brand__name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand__tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
}

.main-nav a:hover { color: var(--primary-active); }

.main-nav a[aria-current="page"] {
  color: var(--primary-active);
  font-weight: 600;
}

.header-cta { flex: none; min-height: 40px; padding: 0.55rem 1.25rem; }

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--canvas);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero sombre signature : titre display + visuel à cartes flottantes
   -------------------------------------------------------------------------- */

.hero {
  background: var(--surface-dark);
  color: var(--on-dark);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: var(--section) calc(var(--section) + 32px);
}

.hero h1 { color: var(--on-dark); margin-bottom: 0.45em; }

.hero .lead { color: var(--on-dark-soft); }

.hero__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: var(--surface-dark-elevated);
  border-radius: var(--pill);
  padding: 0.4rem 1rem;
  margin: 0 0 1.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero__points {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}

.hero__points li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.45rem;
}

/* Visuel : photo en carte 24px + mini-cartes flottantes superposées */
.hero__visual {
  position: relative;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero__figure figcaption { color: var(--on-dark-soft); }

.hero__card {
  position: absolute;
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__card--note {
  top: 7%;
  left: -2.5rem;
  transform: rotate(-2deg);
}

.hero__card--tel {
  bottom: 12%;
  right: -1.5rem;
  transform: rotate(1.5deg);
}

.hero__card strong {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
}

.hero__card .hero__card-detail {
  display: grid;
  gap: 0.1rem;
  font-size: 0.78rem;
  color: var(--on-dark-soft);
  line-height: 1.3;
}

.hero__card a {
  color: var(--on-dark);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   En-tête des pages internes (hero clair éditorial)
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.page-hero--services {
  background: var(--surface-dark);
  padding: clamp(3.4rem, 7vw, 5.6rem) 0 clamp(3.1rem, 6vw, 4.8rem);
}

.page-hero--company {
  background: var(--surface-dark);
  padding: clamp(3.5rem, 7vw, 5.4rem) 0;
}

.page-hero--reviews,
.page-hero--contact {
  background: var(--surface-dark);
  padding: clamp(3.4rem, 7vw, 5.4rem) 0 clamp(3rem, 6vw, 4.6rem);
}

.page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.64fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.page-hero__layout--company {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.58fr);
  align-items: center;
}

.page-hero__layout--reviews {
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.22fr);
  gap: clamp(1.4rem, 3vw, 2.5rem);
  align-items: center;
}

.page-hero__layout--contact {
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  align-items: center;
}

.page-hero__content {
  max-width: 720px;
}

.page-hero h1 {
  color: var(--on-dark);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}

.page-hero p {
  color: var(--on-dark-soft);
  max-width: 640px;
  margin: 0;
  font-size: 1.0625rem;
}

.page-hero__lead {
  white-space: pre-line;
  line-height: 1.65;
}

.page-hero--reviews .page-hero__content {
  max-width: 900px;
}

.page-hero--reviews .page-hero__lead {
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--on-dark-soft);
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
  line-height: 1;
}

.breadcrumb a {
  color: var(--on-dark-soft);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--on-dark); }

.page-hero__nav {
  margin-top: 1.6rem;
  font-size: 0.875rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.page-hero__layout .page-hero__nav {
  margin-top: 0;
}

.page-hero__nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 46px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--pill);
  padding: 0.48rem 0.95rem 0.48rem 0.65rem;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.04);
}

.page-hero__nav a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.1rem;
  height: 1.75rem;
  border-radius: var(--pill);
  background: var(--surface-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
}

.page-hero__nav a:hover {
  background: var(--canvas);
  border-color: var(--primary);
}

.company-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.company-figure {
  min-height: 108px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
  display: grid;
  align-content: center;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.04);
}

.company-figure strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.company-figure span {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--body);
}

.reviews-hero__mark {
  justify-self: end;
  width: clamp(118px, 12vw, 158px);
  aspect-ratio: 1;
  border-radius: 9999px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.google-bubble-mark,
.review__google-mark {
  display: inline-grid;
  place-items: center;
  border-radius: 9999px;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
}

.google-bubble-mark {
  width: clamp(72px, 7vw, 94px);
  height: clamp(72px, 7vw, 94px);
}

.google-bubble-mark span,
.review__google-mark span {
  display: inline-grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--canvas);
  color: #4285f4;
  font-family: var(--font-display);
  font-weight: 700;
}

.google-bubble-mark span {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.google-bubble-mark--brand .google-bubble-mark__inner {
  width: calc(100% - 7px);
  height: calc(100% - 7px);
  padding: 0;
  overflow: hidden;
}

.google-bubble-mark--brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 9999px;
  transform: scale(1.1);
}

.contact-hero__panel {
  justify-self: end;
  width: min(100%, 360px);
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 0.65rem;
  box-shadow: var(--shadow-soft);
}

.contact-hero__panel span {
  color: var(--on-dark-soft);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero__panel strong {
  color: var(--on-dark);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.contact-hero__panel p {
  max-width: 25ch;
  margin: 0;
  color: var(--on-dark-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Carte urgence : flotte à cheval sur le bas du hero sombre
   -------------------------------------------------------------------------- */

.urgence-flottante {
  position: relative;
  z-index: 5;
  margin-top: -56px;
}

.urgence-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 32px rgba(10, 14, 19, 0.18);
  padding: clamp(1.5rem, 3.5vw, 2.1rem) clamp(1.5rem, 3.5vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2rem;
}

.urgence-card__eclair {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--surface-strong);
  color: var(--primary-active);
}

.urgence-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.urgence-card__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--primary);
  animation: urgence-pulse 1.8s ease-in-out infinite;
}

@keyframes urgence-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .urgence-card__badge .dot { animation: none; }
}

.urgence-card h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.2em;
}

.urgence-card__texte {
  flex: 1;
  min-width: 260px;
}

.urgence-card__texte p {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
}

.urgence-card__action {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.urgence-card__tel {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.urgence-card__note {
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
  max-width: 280px;
}

/* --------------------------------------------------------------------------
   Repères (réassurance)
   -------------------------------------------------------------------------- */

/* Barre de confiance segmentée */
/* Barre segmentée : une colonne par repère, quel qu'en soit le nombre. */
.facts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--surface-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.fact {
  padding: 1.7rem 1.8rem;
  border-left: 1px solid var(--hairline);
}

.fact:first-child { border-left: 0; }

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.fact span {
  font-size: 0.85rem;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Services (accueil) : rangées éditoriales
   -------------------------------------------------------------------------- */

.services-rows {
  border-top: 1px solid var(--hairline);
}

.service-row {
  display: grid;
  grid-template-columns: 64px 2.6rem minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.25rem 0.4rem;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: background 0.15s ease;
}

.service-row:hover { background: var(--surface-soft); }

.service-row__num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.service-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 9999px;
  order: -1;
  margin-left: 0.4rem;
}

.service-row h3 {
  margin: 0 0 0.2em;
  font-size: 1.125rem;
  font-weight: 600;
}

.service-row:hover h3 { color: var(--primary-active); }

.service-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

.service-row__more {
  font-size: 1.25rem;
  color: var(--ink);
  background: var(--surface-strong);
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.service-row:hover .service-row__more {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Comment ça marche : parcours relié par un fil électrique
   -------------------------------------------------------------------------- */

/* Une colonne par étape, quel qu'en soit le nombre (contenu géré en admin). */
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2rem;
}

.step h3 { margin-bottom: 0.35em; }

.step p { margin: 0; font-size: 0.9375rem; color: var(--body); }

.circuit { position: relative; }

.circuit__wire {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 104px;
  pointer-events: none;
  overflow: hidden;
}

/* Câblage réaliste : phase rouge, neutre bleu, terre rayée vert/jaune.
   vector-effect="non-scaling-stroke" garantit des traits nets quelle que
   soit la largeur de l'écran. */
.circuit__wire .circuit__bundle {
  filter:
    drop-shadow(0 2px 1.1px rgba(18, 24, 33, 0.18))
    drop-shadow(0 -0.8px 0 rgba(255, 255, 255, 0.68));
}

.circuit__wire .fil {
  fill: none;
  stroke-width: 3.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.circuit__wire .fil-bleu { stroke: #2d6cc7; }

.circuit__wire .fil-rouge { stroke: #c94a3e; }

.circuit__wire .fil-terre { stroke: #2f8e55; }

.circuit__wire .fil-terre-jaune {
  stroke: #e6b82f;
  stroke-width: 2.15;
  stroke-dasharray: 8 10;
  stroke-dashoffset: 3;
}

/* Impulsion de courant sur la phase, uniquement quand la section est
   visible (classe posée par main.js via IntersectionObserver). */
.circuit__wire .fil-pulse {
  stroke: #f1b84b;
  stroke-width: 4;
  stroke-dasharray: 22 420;
  opacity: 0;
}

.circuit--actif .fil-pulse {
  opacity: 0.95;
  animation: circuit-courant 2.6s linear infinite;
}

@keyframes circuit-courant {
  to { stroke-dashoffset: -442; }
}

@media (prefers-reduced-motion: reduce) {
  .circuit--actif .fil-pulse { animation: none; opacity: 0; }
}

.circuit .steps { position: relative; }

.circuit .step {
  text-align: center;
}

.circuit .step__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--canvas);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.1rem;
  box-shadow: none;
}

.circuit .step__badge-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  background: var(--canvas);
  line-height: 1;
}

.circuit .step h3 { margin-bottom: 0.35em; }

.circuit .step p {
  max-width: 300px;
  margin-inline: auto;
}

/* Sur bande douce, les pastilles épousent le fond */
.section--alt .circuit .step__badge {
  background: var(--surface-soft);
  box-shadow: none;
}

.section--alt .circuit .step__badge-num {
  background: var(--surface-soft);
}

/* --------------------------------------------------------------------------
   Engagements
   -------------------------------------------------------------------------- */

.engagements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.engagement {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.7rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: box-shadow 0.15s ease;
}

.engagement:hover { box-shadow: var(--shadow-soft); }

.engagement__icone {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  background: var(--surface-strong);
  color: var(--primary-active);
}

.engagement h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}

.engagement p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Galerie de réalisations
   -------------------------------------------------------------------------- */

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

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* --------------------------------------------------------------------------
   Zone d'intervention
   -------------------------------------------------------------------------- */

.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.zone-map {
  position: relative;
  min-height: 500px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.04);
}

.zone-map::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 34%, rgba(227, 163, 34, 0.12), transparent 31%),
    linear-gradient(180deg, rgba(250, 248, 243, 0.78), rgba(250, 248, 243, 0));
}

.zone-map__shape {
  position: absolute;
  inset: 1rem auto auto 50%;
  width: min(58%, 300px);
  transform: translateX(-50%);
  color: var(--primary);
}

.zone-map__shadow {
  fill: rgba(20, 24, 31, 0.08);
  transform: translate(8px, 12px);
}

.zone-map__land {
  fill: var(--surface-soft);
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
}

.zone-map__river {
  fill: none;
  stroke: rgba(29, 58, 92, 0.22);
  stroke-width: 2;
  stroke-linecap: round;
}

.zone-map__base {
  fill: var(--primary);
  stroke: var(--canvas);
  stroke-width: 3;
}

.zone-map__regions {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zone-map__regions li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 28px;
  background: var(--canvas);
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  box-shadow: 0 6px 14px rgba(20, 24, 31, 0.12);
  color: var(--body);
}

.zone-map__regions li span {
  color: var(--primary-active);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.zone-map__legend {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0.8rem;
  border-top: 1px solid var(--hairline-soft);
}

.zone-map__legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--body);
  font-size: 0.76rem;
  line-height: 1.25;
}

.zone-map__legend span {
  flex: none;
  min-width: 2rem;
  color: var(--primary-active);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
}

.zone-map__caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.75rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.zone-map.zone-map--image {
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.zone-map.zone-map--image::before {
  content: none;
}

.zone-map.zone-map--image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.zone-map.zone-map--image img.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Avis Google (codes visuels Google conservés)
   -------------------------------------------------------------------------- */

.gavis {
  font-family: Roboto, var(--font-body);
}

.gavis-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.6rem;
  margin-bottom: 1.8rem;
}

.gavis-summary__logo { flex: none; }

.gavis-summary__note {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: #202124;
  line-height: 1;
}

.gavis-summary__detail { display: grid; gap: 0.15rem; }

.gavis-summary__total {
  font-size: 0.875rem;
  color: #5f6368;
}

.gavis-summary .btn { margin-left: auto; }

.gavis-stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.gavis-stars .off { color: #dadce0; }

.gavis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gavis-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.15s ease;
}

.gavis-card:hover { box-shadow: var(--shadow-soft); }

.gavis-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gavis-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
}

.gavis-card__id { display: grid; min-width: 0; }

.gavis-card__name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gavis-card__meta {
  font-size: 0.8rem;
  color: #5f6368;
}

.gavis-card__g {
  margin-left: auto;
  flex: none;
  opacity: 0.9;
}

.gavis-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #3c4043;
}

.gavis-more { margin: 1.6rem 0 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.faq {
  border-top: 1px solid var(--hairline);
}

/* Carte d'aide à droite de la FAQ */
.faq-aide {
  position: sticky;
  top: 96px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.faq-aide h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

.faq-aide > p {
  font-size: 0.9rem;
  color: var(--body);
  margin-bottom: 1.4rem;
}

.faq-aide__actions {
  display: grid;
  gap: 0.6rem;
}

.faq-aide__actions .btn--primary {
  font-family: var(--font-mono);
}

.faq-aide__infos {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--ink);
}

.faq-aide__infos li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--hairline-soft);
}

.faq-aide__infos span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.faq-aide__infos a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.faq-aide__infos a:hover { color: var(--primary-active); }

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

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 1.15rem 0.2rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-item__q::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--surface-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

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

.faq-item__a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 250ms cubic-bezier(0.16, 1, 0.3, 1), padding 250ms cubic-bezier(0.16, 1, 0.3, 1), opacity 250ms ease;
  padding: 0 0.2rem 1.25rem;
  overflow: hidden;
  opacity: 1;
  font-size: 0.9375rem;
  color: var(--body);
  max-width: 640px;
}

.faq-item__a[hidden] {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 0.2rem 0;
  opacity: 0;
  pointer-events: none;
}

.faq-item__a p {
  margin: 0;
  min-height: 0;
}

/* --------------------------------------------------------------------------
   Bandeau CTA sombre (pré-footer) — centré
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--surface-dark);
  color: var(--on-dark-soft);
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  padding-block: var(--section);
}

.cta-band h2 {
  color: var(--on-dark);
  margin-bottom: 0.3em;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.cta-band p { margin: 0; font-size: 1.0625rem; color: var(--on-dark-soft); }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.cta-band .btn--ghost {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Footer clair
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  color: var(--body);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--body);
  text-decoration: none;
}

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

.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}

.site-footer h4 {
  color: var(--ink);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer .brand__name { color: var(--ink); }

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

.site-footer__about p { margin-top: 1rem; font-size: 0.84rem; color: var(--muted); }

.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0;
  margin: 0.8rem 0 0;
}

.footer-social a {
  color: var(--primary-active);
  font-size: 0.875rem;
  font-weight: 500;
}

.site-footer__legal {
  border-top: 1px solid var(--hairline-soft);
  padding-block: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Cartes génériques (valeurs de la page Entreprise)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Page entreprise : narration, valeurs, garanties
   -------------------------------------------------------------------------- */

.company-story__grid,
.company-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: clamp(2.4rem, 6vw, 4.5rem);
  align-items: center;
}

.company-story__text,
.company-proof__text {
  max-width: 720px;
}

.company-story__text h2,
.company-proof__text h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
}

.company-story__aside {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-self: stretch;
  min-height: 260px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0)),
    var(--surface-soft);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: grid;
  align-content: end;
  gap: 1rem;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.company-story__aside::before {
  content: "";
  position: absolute;
  inset: auto 12% 12% auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(227, 163, 34, 0.18), transparent 66%);
  opacity: 0;
  transform: scale(0.82);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  z-index: 0;
}

.company-story__aside:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 163, 34, 0.42);
  box-shadow: 0 14px 36px rgba(20, 24, 31, 0.08);
}

.company-story__aside:hover::before {
  opacity: 1;
  transform: scale(1);
}

.company-story__year {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--primary-active);
}

.company-story__aside strong {
  position: relative;
  z-index: 2;
  max-width: 12rem;
  font-size: 1.15rem;
  line-height: 1.22;
  color: var(--ink);
}

.ar-confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 48;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .company-story__aside,
  .company-story__aside::before {
    transition: none;
  }

  .company-story__aside:hover {
    transform: none;
  }
}

.company-values .section__head {
  max-width: 580px;
}

.company-values__grid {
  align-items: stretch;
}

.company-value {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.company-value::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  width: 74px;
  height: 1px;
  background: var(--hairline);
}

.company-value__num {
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.company-value .card__body {
  padding-top: 3.1rem;
}

.company-proof__figure {
  position: relative;
  margin: 0;
}

.company-proof__figure::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}

.company-proof__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

.company-proof__figure figcaption {
  max-width: 32rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.card:hover { box-shadow: var(--shadow-soft); }

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card__body {
  padding: 1.7rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card__body h3 { margin: 0; }

.card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
  flex: 1;
}

/* --------------------------------------------------------------------------
   Chiffres clés
   -------------------------------------------------------------------------- */

.key-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.key-figure {
  background: var(--surface-soft);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
}

.key-figure strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.key-figure span { font-size: 0.84rem; color: var(--body); }

/* --------------------------------------------------------------------------
   Page services : sections détaillées
   -------------------------------------------------------------------------- */

.services-page {
  padding-block: 0 clamp(0.8rem, 2vw, 1.6rem);
}

.service-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(2.4rem, 6vw, 4.6rem);
  padding-block: clamp(3.5rem, 7vw, 5.4rem);
  border-bottom: 1px solid var(--hairline-soft);
  align-items: center;
}

.service-detail:last-of-type { border-bottom: 0; }

.service-detail--reverse > figure { order: -1; }

.service-detail__body > p {
  max-width: 680px;
}

.service-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 680px;
  margin-bottom: 1.15rem;
}

.service-detail__head .overline {
  margin: 0;
}

.service-detail__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.service-detail h2 {
  max-width: 720px;
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  margin-bottom: 0.6em;
}

.service-detail figure {
  position: relative;
  align-self: stretch;
  min-height: clamp(320px, 34vw, 460px);
  display: flex;
}

.service-detail figure::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}

.service-detail--reverse figure::before {
  inset: 1rem 1rem -1rem -1rem;
}

.service-detail figure img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

.service-detail__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: center;
}

.service-detail__note {
  font-size: 0.875rem;
  color: var(--body);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  margin-top: 1.4rem;
  max-width: 680px;
}

.service-detail__note strong { color: var(--ink); }

.check-list {
  list-style: none;
  max-width: 680px;
  margin: 1.45rem 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline-soft);
}

.check-list li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.9375rem;
  color: var(--body);
}

.check-list li:last-child { border-bottom: 0; }

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0.2rem;
  color: var(--success);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.check-list li::before {
  content: "\2713";
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: var(--surface-strong);
  color: var(--primary-active);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.form-card > h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.form-intro {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field .hint {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  min-height: 48px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border: 2px solid var(--primary);
  padding: calc(0.75rem - 1px) calc(1rem - 1px);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1em;
  margin: 0;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  font-weight: 400 !important;
  color: var(--body);
}

.form-consent input { margin-top: 0.25rem; min-height: 0 !important; width: auto !important; }

.form-submit { margin-top: 1.3rem; }

.form-status {
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  margin: 1rem 0 0;
}

.form-status:empty { display: none; }

.form-status--success {
  background: #eaf4ed;
  color: var(--success);
  border: 1px solid #c4ddcc;
}

.form-status--error {
  background: #f9ecec;
  color: var(--danger);
  border: 1px solid #e7c6c6;
}

/* Note (étoiles) en saisie */
.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}

.rating-input input { position: absolute; opacity: 0; width: 0; min-height: 0; }

.rating-input label {
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--hairline);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: var(--primary);
}

.rating-input input:focus-visible ~ label {
  outline: 2px solid var(--primary);
  border-radius: var(--radius-xs);
}

/* --------------------------------------------------------------------------
   Page contact
   -------------------------------------------------------------------------- */

.contact-section {
  background: var(--canvas);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.contact-form-card {
  box-shadow: var(--shadow-soft);
}

.contact-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.2rem;
}

.contact-block {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.04);
}

.contact-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4em;
}

.contact-block p { margin: 0; font-size: 0.9rem; color: var(--body); }

.contact-block a { font-weight: 600; color: var(--ink); text-decoration: none; }

.contact-block a:hover { color: var(--primary-active); }

.contact-block--urgent {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
}

.contact-block--urgent h3 { color: var(--on-dark); }

.contact-block--urgent p { color: var(--on-dark-soft); }

.contact-block--urgent a { color: var(--on-dark); }

.contact-block--urgent .phone-lg {
  margin-top: 0.8rem;
}

.contact-block--urgent .phone-lg a {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  display: inline-block;
  background: var(--surface-dark-elevated);
  border-radius: var(--pill);
  padding: 0.6rem 1.3rem;
}

/* --------------------------------------------------------------------------
   Page avis agents
   -------------------------------------------------------------------------- */

.reviews-section {
  background: var(--canvas);
}

.reviews-shell {
  display: grid;
  gap: 1.2rem;
}

.reviews-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.reviews-toolbar h2 { margin-bottom: 0.25em; font-size: 1.7rem; }

.reviews-toolbar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
  max-width: 560px;
}

.filters-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.9rem;
  align-items: end;
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.3rem 1.3rem;
  margin: 0;
}

.filters-bar .form-field input,
.filters-bar .form-field select {
  background: var(--canvas);
}

.filters-bar .filters-bar__reset {
  align-self: end;
  justify-self: start;
}

.reviews-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.reviews-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  border-radius: var(--pill);
  background: var(--surface-soft);
  padding: 0.3rem 0.8rem;
}

.reviews-stats strong {
  font-family: var(--font-mono);
  color: var(--ink);
}

.reviews-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.review {
  position: relative;
  min-width: 0;
}

.review__bubble {
  position: relative;
  min-height: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 1.25rem 1.35rem 1.3rem;
  box-shadow: 0 8px 20px rgba(20, 24, 31, 0.06);
}

.review__bubble::after {
  content: "";
  position: absolute;
  left: 2rem;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: var(--canvas);
  border-left: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-bottom-left-radius: 5px;
  transform: rotate(-45deg);
}

.review__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.1rem;
}

.review__top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #4285f4;
  color: var(--on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: inset 0 -10px 18px rgba(10, 14, 19, 0.12);
}

.review__identity {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.review__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.review__google-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.review__google-mark span {
  width: 29px;
  height: 29px;
  overflow: hidden;
}

.review__google-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 9999px;
  transform: scale(1.12);
}

.review__score {
  margin: 0 0 0.75rem 3.65rem;
}

.review-stars {
  color: var(--primary);
  letter-spacing: 0.15em;
  font-size: 0.92rem;
  white-space: nowrap;
}

.review-stars .off { color: var(--hairline); }

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

.review__body {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.58;
  white-space: pre-line;
}

.review__demo {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.6rem;
}

.reviews-empty {
  text-align: center;
  padding: 2.4rem 1.5rem;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-xl);
  color: var(--body);
  margin-top: 1rem;
}

.reviews-empty p { margin: 0 0 0.4rem; }

/* Popup de dépôt d'avis */
.avis-modal {
  width: min(640px, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--canvas);
  padding: 0;
  margin: auto;
  box-shadow: 0 24px 64px rgba(10, 11, 13, 0.3);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 250ms cubic-bezier(0.16, 1, 0.3, 1), transform 250ms cubic-bezier(0.16, 1, 0.3, 1), overlay 250ms allow-discrete, display 250ms allow-discrete;
}

.avis-modal[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .avis-modal[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}

.avis-modal::backdrop {
  background: rgba(10, 14, 19, 0);
  backdrop-filter: blur(0px);
  transition: background 250ms ease, backdrop-filter 250ms ease, overlay 250ms allow-discrete, display 250ms allow-discrete;
}

.avis-modal[open]::backdrop {
  background: rgba(10, 14, 19, 0.6);
  backdrop-filter: blur(8px);
}

@starting-style {
  .avis-modal[open]::backdrop {
    background: rgba(10, 14, 19, 0);
    backdrop-filter: blur(0px);
  }
}

.avis-modal__inner {
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.avis-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.avis-modal__head h2 {
  font-size: 1.35rem;
  margin: 0;
}

.avis-modal__close {
  flex: none;
  background: var(--surface-strong);
  border: 0;
  border-radius: 9999px;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--body);
  cursor: pointer;
}

.avis-modal__close:hover {
  color: var(--ink);
  background: var(--hairline);
}

/* --------------------------------------------------------------------------
   Contenus légaux
   -------------------------------------------------------------------------- */

.legal-content { max-width: 760px; }

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-soft);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.5rem 1.5rem;
  margin: 1.2rem 0;
}

.legal-content dt { font-weight: 600; color: var(--ink); }

.legal-content dd { margin: 0; color: var(--body); }

/* --------------------------------------------------------------------------
   Accessibilité / utilitaires
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cards-grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gavis-grid { grid-template-columns: repeat(2, 1fr); }

  .facts {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(odd) { border-left: 0; }

  .fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }

  .site-footer__main { grid-template-columns: 1fr 1fr; }

  .filters-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero .container,
  .page-hero__layout,
  .company-story__grid,
  .company-proof__grid,
  .zone-grid,
  .service-detail,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-aide { position: static; }

  .page-hero__layout {
    align-items: start;
  }

  .page-hero__layout .page-hero__nav {
    margin-top: 0.4rem;
  }

  .reviews-hero__mark,
  .contact-hero__panel {
    justify-self: start;
  }

  .reviews-hero__mark {
    width: 132px;
  }

  .company-story__aside {
    min-height: 190px;
  }

  .contact-aside {
    position: static;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

  .urgence-flottante { margin-top: -36px; }

  .urgence-card__eclair { display: none; }

  .urgence-card__action {
    justify-items: start;
    margin-left: 0;
  }

  .urgence-card__note { text-align: left; }

  .hero__visual { order: -1; }

  .hero__figure img { aspect-ratio: 16 / 10; }

  .hero__card--note { left: 0.8rem; top: auto; bottom: 3.2rem; }

  .hero__card--tel { display: none; }

  .service-detail--reverse > figure { order: 0; }

  .service-detail figure {
    min-height: auto;
  }

  .service-detail figure img {
    min-height: 260px;
  }

  .nav-toggle { display: flex; }

  .header-cta { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
    padding: 0.6rem 1.5rem 1.2rem;
  }

  .nav-open .main-nav { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 1rem;
  }

  .circuit__wire { display: none; }

  .circuit .steps {
    gap: 0;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
  }

  .circuit .step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.1rem 1.2rem;
    text-align: left;
    position: relative;
    padding-bottom: 1.9rem;
  }

  .circuit .step__badge {
    grid-row: 1 / 3;
    margin-bottom: 0;
    box-shadow: none !important;
    transform: none !important;
  }

  .circuit .step p { max-width: none; margin-inline: 0; }

  /* Connecteur vertical tricolore entre les pastilles (phase, neutre, terre) */
  .circuit .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 60px;
    bottom: 2px;
    width: 18px;
    border-radius: 9999px;
    background:
      repeating-linear-gradient(
        to bottom,
        transparent 0 8px,
        #e6b82f 8px 13px,
        transparent 13px 21px
      ) right 1px top / 3px 100% no-repeat,
      linear-gradient(
        to right,
        #2d6cc7 0 3px,
        transparent 3px 7px,
        #c94a3e 7px 10px,
        transparent 10px 14px,
        #2f8e55 14px 17px,
        transparent 17px 18px
      );
    filter:
      drop-shadow(0 1px 0.8px rgba(18, 24, 33, 0.16))
      drop-shadow(0 -0.6px 0 rgba(255, 255, 255, 0.7));
  }

  .engagements { grid-template-columns: 1fr; }

  .zone-map {
    min-height: 520px;
  }

  .zone-map__shape {
    width: min(70%, 320px);
  }

  .service-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .service-row img { width: 48px; height: 48px; margin-left: 0; }

  .service-row__num { display: none; }
}

@media (max-width: 640px) {
  .cards-grid,
  .steps,
  .gallery,
  .gavis-grid,
  .facts,
  .form-grid,
  .key-figures {
    grid-template-columns: 1fr;
  }

  .fact { border-left: 0; }

  .fact:nth-child(n+2) { border-top: 1px solid var(--hairline); }

  .site-footer__main { grid-template-columns: 1fr; }

  .filters-bar { grid-template-columns: 1fr; }

  .page-hero--services {
    padding-block: 2.7rem 3rem;
  }

  .page-hero__nav {
    grid-template-columns: 1fr;
  }

  .page-hero__nav a {
    min-height: 44px;
  }

  .company-figures {
    grid-template-columns: 1fr;
  }

  .company-figure {
    min-height: 88px;
  }

  .zone-map {
    min-height: 610px;
  }

  .zone-map::before {
    inset: 0.6rem;
  }

  .zone-map__shape {
    top: 1rem;
    width: min(82%, 290px);
  }

  .zone-map__regions li {
    width: 36px;
    height: 24px;
  }

  .zone-map__regions li span {
    font-size: 0.6rem;
  }

  .zone-map__legend {
    grid-template-columns: 1fr;
    bottom: 2.1rem;
    gap: 0.22rem;
  }

  .zone-map__legend li {
    font-size: 0.72rem;
  }

  .zone-map__caption {
    font-size: 0.72rem;
  }

  .reviews-hero__mark {
    display: none;
  }

  .reviews-toolbar {
    align-items: stretch;
  }

  .reviews-toolbar .btn {
    width: 100%;
  }

  .filters-bar {
    padding: 1rem;
  }

  .review__top {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .review__avatar {
    width: 40px;
    height: 40px;
  }

  .review__score {
    margin-left: 3.25rem;
  }

  .gavis-summary .btn { margin-left: 0; }

  .topbar .container { justify-content: center; text-align: center; }

  .legal-content dl { grid-template-columns: 1fr; gap: 0.15rem 0; }

  .legal-content dd { margin-bottom: 0.8rem; }
}
/* Skeleton Loader pour les avis agents */
.review-skeleton {
  pointer-events: none;
}

.review-skeleton .review__bubble {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 20px rgba(20, 24, 31, 0.04);
}

.review-skeleton .review__bubble::after {
  display: none;
}

.review-skeleton .skeleton-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: var(--surface-strong);
  animation: pulse-skeleton 1.5s ease-in-out infinite;
}

.review-skeleton .skeleton-line {
  height: 12px;
  background: var(--surface-strong);
  border-radius: var(--radius-xs);
  animation: pulse-skeleton 1.5s ease-in-out infinite;
}

.review-skeleton .skeleton-line--title {
  width: 40%;
  height: 14px;
  margin-bottom: 0.45rem;
}

.review-skeleton .skeleton-line--meta {
  width: 70%;
  height: 10px;
  margin-bottom: 0.85rem;
}

.review-skeleton .skeleton-line--text-1 {
  width: 95%;
  margin-bottom: 0.4rem;
}

.review-skeleton .skeleton-line--text-2 {
  width: 90%;
  margin-bottom: 0.4rem;
}

.review-skeleton .skeleton-line--text-3 {
  width: 60%;
}

@keyframes pulse-skeleton {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
    background-color: var(--hairline);
  }
  100% {
    opacity: 0.6;
  }
}
