/* MOZ-Réparations — habillage « Cube » (accueil, v1)
   Chargé après moz-home.css, actif seulement sous body.cube.
   Bleu nuit, halos flous, titres centrés, cartes ardoise aux angles doux, accent orange MOZ. */

:root {
  --cb-bg: #0f172a;
  --cb-bg-2: #111a2e;
  --cb-card: rgba(30, 41, 59, 0.55);
  --cb-card-solid: #1e293b;
  --cb-card-hi: #263449;
  --cb-line: rgba(148, 163, 184, 0.16);
  --cb-line-2: rgba(148, 163, 184, 0.28);
  --cb-text: #f1f5f9;
  --cb-title: #e2e8f0;
  --cb-muted: #a3b1c6;        /* sur #0f172a : 7,6:1 */
  --cb-orange: #c2410c;       /* fond de bouton : blanc dessus = 5,2:1 */
  --cb-orange-dk: #9a3412;
  --cb-orange-hi: #fb923c;    /* texte orange sur bleu nuit = 7,9:1 */
  --cb-teal: #2dd4bf;
  --cb-radius: 0.5rem;
  --cb-font: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cb-gutter: 1.25rem;
  --cb-gutter: clamp(1rem, 4vw, 1.5rem);
  --cb-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Fonds & cartes ─────────────────────────────────────────── */
body.cube,
body.cube .bg-surface,
body.cube main { background-color: var(--cb-bg); color: var(--cb-text); }
body.cube .bg-surface-container-lowest { background-color: var(--cb-bg-2); }
body.cube .bg-surface-container { background-color: var(--cb-card-solid); }
body.cube .bg-surface-container-high,
body.cube .bg-surface-container-highest { background-color: var(--cb-card-hi); }
body.cube .text-on-surface,
body.cube .text-text-primary { color: var(--cb-text); }
body.cube .text-on-surface-variant,
body.cube .text-text-muted { color: var(--cb-muted); }
body.cube .text-primary,
body.cube .text-primary-container,
body.cube .text-secondary { color: var(--cb-orange-hi); }
body.cube main .text-tertiary { color: var(--cb-teal); }

/* Angles doux et réguliers */
body.cube .rounded-lg,
body.cube .rounded-xl,
body.cube .rounded-2xl,
body.cube .rounded-3xl { border-radius: var(--cb-radius); }

/* Ombres lourdes remplacées par un filet discret */
body.cube main [class*="shadow"] { box-shadow: none; }
body.cube main .bg-surface-container,
body.cube main .bg-surface-container-high { border: 1px solid var(--cb-line); }

/* Séparation des sections : filet qui s'estompe sur les bords, comme sur Cube */
body.cube main section { position: relative; }
body.cube main section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 72rem;
  height: 1px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(148,163,184,0) 0%, rgba(148,163,184,.28) 50%, rgba(148,163,184,0) 100%);
}

/* ── Typographie ────────────────────────────────────────────── */
body.cube .font-headline-xl,
body.cube .font-headline-lg {
  font-family: var(--cb-font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cb-title);
}
body.cube .font-headline-lg { font-size: 2rem; font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); }
body.cube .font-headline-sm { font-weight: 600; }

/* Étiquettes de section : petites, en couleur, sans capitales criardes */
body.cube main .uppercase.tracking-widest,
body.cube main .uppercase.tracking-wider {
  color: var(--cb-orange-hi);
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Numéros d'étapes */
body.cube main .font-mono.text-3xl { color: var(--cb-orange-hi); font-family: var(--cb-font); font-weight: 700; }

/* ── Boutons ────────────────────────────────────────────────── */
body.cube .bg-primary-container,
body.cube .moz-btn-red,
body.cube .cb-btn {
  background: var(--cb-orange);
  color: #fff;
  border-radius: var(--cb-radius);
  font-weight: 600;
}
body.cube .bg-primary-container:hover,
body.cube .moz-btn-red:hover,
body.cube .cb-btn:hover { background: var(--cb-orange-dk); color: #fff; }

.cb-btn,
.cb-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.375rem;
  border-radius: var(--cb-radius);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s var(--cb-ease);
}
.cb-btn svg,
.cb-btn-alt svg { margin-left: 0.5rem; transition: transform .15s var(--cb-ease); }
.cb-btn:hover svg,
.cb-btn-alt:hover svg { transform: translateX(3px); }
.cb-btn-alt { background: #334155; color: var(--cb-text); }
.cb-btn-alt:hover { background: #475569; }

body.cube a:focus-visible,
body.cube button:focus-visible,
body.cube input:focus-visible,
body.cube select:focus-visible {
  outline: 2px solid var(--cb-orange-hi);
  outline-offset: 2px;
}

/* ── En-tête : sobre, sur le bleu nuit ──────────────────────── */
body.cube #main-header {
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid var(--cb-line);
}
body.cube #main-header > div:first-child { background: #0b1222; }
body.cube #main-header nav a[aria-current="page"] { color: var(--cb-orange-hi); }
body.cube #moz-hbg { background: var(--cb-card-solid); border-radius: var(--cb-radius); }
body.cube #main-header .moz-track {
  background: var(--cb-card-solid);
  color: var(--cb-text);
  border: 1px solid var(--cb-line-2);
  box-shadow: none;
  border-radius: var(--cb-radius);
}
body.cube #main-header .moz-track svg { color: var(--cb-orange-hi); }
body.cube #main-header .moz-track:hover { border-color: var(--cb-orange-hi); }
/* Écrans de 320 px (premier iPhone SE) : le bouton menu sortait de l'écran */
@media (max-width: 359px) {
  body.cube .moz-track .moz-track-l,
  body.cube .moz-track .moz-track-s { display: none; }
  body.cube .moz-track { min-width: 44px; min-height: 44px; justify-content: center; }
}

/* ── Hero centré ────────────────────────────────────────────── */
.cb-hero {
  position: relative;
  overflow: hidden;
  background: var(--cb-bg);
  text-align: center;
  padding: 4rem 0 3rem;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
/* Halos flous */
.cb-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  -webkit-filter: blur(70px);
  filter: blur(70px);
  opacity: .55;
}
.cb-glow--a { width: 34rem; height: 14rem; top: -6rem; left: 50%; margin-left: -20rem; background: linear-gradient(90deg, #c2410c, #6366f1); -webkit-transform: rotate(-12deg); transform: rotate(-12deg); }
.cb-glow--b { width: 18rem; height: 8rem; top: 18rem; right: 8%; background: #0e7490; opacity: .45; }
.cb-glow--c { width: 22rem; height: 10rem; bottom: 6rem; left: 6%; background: #4338ca; opacity: .35; }

.cb-hero-in {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--cb-gutter);
}
.cb-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--cb-line-2);
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.6);
  font-size: 0.875rem;
  color: var(--cb-muted);
}
.cb-pill b { color: var(--cb-orange-hi); font-weight: 600; margin-right: 0.375rem; }
.cb-hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--cb-font);
  font-weight: 700;
  font-size: 2.25rem;
  font-size: clamp(2.25rem, 1.1rem + 4.4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--cb-title);
}
/* Dégradé sur le titre (couleur unie si le navigateur ne sait pas) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .cb-hero h1 {
    background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .cb-hero h1 em {
    background: linear-gradient(90deg, #fb923c, #fdba74);
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.cb-hero h1 em { font-style: normal; color: var(--cb-orange-hi); }
.cb-hero-zone {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cb-title);
}
.cb-hero-lead {
  margin: 1rem auto 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cb-muted);
}
.cb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.cb-hero-cta > a { margin: 0 0.375rem 0.75rem; }
.cb-suivi-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cb-text);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--cb-orange-hi);
  text-underline-offset: 4px;
}
.cb-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--cb-muted);
}
.cb-hero-tags li { margin: 0 0.75rem 0.375rem; }
.cb-hero-tags li::before { content: "✓"; color: var(--cb-teal); margin-right: 0.375rem; font-weight: 700; }

/* Fenêtre d'aperçu sous le titre */
.cb-window {
  position: relative;
  margin: 2.5rem auto 0;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 60rem;
  text-align: left;
  border: 1px solid var(--cb-line-2);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  overflow: hidden;
}
.cb-window-bar {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--cb-line);
  background: rgba(30, 41, 59, 0.7);
  font-size: 0.8125rem;
  color: var(--cb-muted);
}
.cb-window-bar i {
  width: 10px; height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f87171;
}
.cb-window-bar i + i { background: #fbbf24; }
.cb-window-bar i + i + i { background: #34d399; margin-right: 0.875rem; }
/* Photo et téléphone côte à côte dès le mobile, chiffres sur une ligne au-dessus */
.cb-window-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.cb-window-side {
  grid-column: 1 / -1;
  padding: 1rem;
  border-bottom: 1px solid var(--cb-line);
}
.cb-window-side p {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-muted);
}
.cb-stat {
  display: block;
  margin-bottom: 0.625rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius);
  background: var(--cb-card);
}
.cb-stat b { display: block; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cb-title); }
.cb-stat span { display: block; font-size: 0.875rem; line-height: 1.35; color: var(--cb-muted); }
.cb-stat b { line-height: 1.2; }
.cb-window-bar { line-height: 1.4; }
.cb-stat:last-child { margin-bottom: 0; }
.cb-window-photo { position: relative; min-height: 14rem; }
.cb-window-photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cb-window-photo figcaption {
  position: absolute;
  left: 0.875rem; bottom: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.8125rem;
  color: var(--cb-text);
}
.cb-window-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  /* Halo orange derrière le téléphone détouré */
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(194, 65, 12, 0.30) 0%, rgba(15, 23, 42, 0) 70%);
}
.cb-window-phone picture { display: block; }
.cb-window-phone img {
  display: block;
  width: auto;
  height: 22rem;
  max-width: 100%;
  -webkit-filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

@media (max-width: 639px) {
  .cb-window-side { display: flex; flex-wrap: wrap; }
  .cb-window-side p { width: 100%; }
  .cb-stat { flex: 1 1 0; min-width: 0; margin: 0 0.375rem 0 0; padding: 0.625rem 0.5rem; text-align: center; }
  .cb-stat:last-child { margin-right: 0; }
  .cb-stat b { font-size: 1rem; white-space: nowrap; }
  .cb-stat span { font-size: 0.75rem; }
  .cb-window-bar { font-size: 0.75rem; }
  .cb-window-photo { min-height: 0; }
  .cb-window-photo figcaption { left: 0.5rem; bottom: 0.5rem; font-size: 0.75rem; padding: 0.3rem 0.6rem; }
  .cb-window-phone { padding: 1rem 0.5rem; }
  .cb-window-phone img { width: 100%; height: auto; max-width: 10.5rem; margin: 0 auto; }
}
@media (min-width: 640px) {
  .cb-window-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 0.625rem; }
  .cb-window-side p { grid-column: 1 / -1; margin: 0; }
  .cb-stat { margin: 0; }
}
@media (min-width: 1024px) {
  .cb-window-body { grid-template-columns: 13rem minmax(0, 1fr) 16rem; }
  .cb-window-side { grid-column: auto; display: block; border-bottom: 0; border-right: 1px solid var(--cb-line); }
  .cb-window-side p { margin: 0 0 0.75rem; }
  .cb-stat { margin-bottom: 0.625rem; }
  .cb-window-phone { border-left: 1px solid var(--cb-line); }
}

/* ── Sections suivantes ─────────────────────────────────────── */
body.cube main .group.rounded-xl { transition: border-color .15s var(--cb-ease), background-color .15s var(--cb-ease); }
body.cube main .group.rounded-xl:hover { border-color: rgba(251, 146, 60, 0.55); background-color: var(--cb-card-hi); }
body.cube main .w-12.h-12.rounded-lg,
body.cube main .w-10.h-10.rounded-lg {
  border-radius: 50%;
  background: linear-gradient(135deg, #c2410c, #f97316);
}
body.cube main .w-12.h-12.rounded-lg svg,
body.cube main .w-10.h-10.rounded-lg svg { color: #fff; }
body.cube main .rounded.text-xs { border: 1px solid var(--cb-line); background: transparent; border-radius: 999px; }
body.cube .moz-film-frame { border-radius: 0.75rem; }

/* Bloc d'appel final */
body.cube main .bg-surface-container-high.py-14 { background: var(--cb-bg-2); }

/* Pied de page */
body.cube #moz-footer { background: #0b1222; border-top: 1px solid var(--cb-line); }

@media (prefers-reduced-motion: reduce) {
  .cb-btn svg, .cb-btn-alt svg, body.cube main .group.rounded-xl { transition: none; }
  .cb-btn:hover svg, .cb-btn-alt:hover svg { transform: none; }
}

/* ══ Version téléphone (≤ 767 px) : maquette « Precision Tech Glow » ══════════
   Ordinateur inchangé. Couleurs de la charte Stitch, sauf l'orange des boutons
   assombri (#c2410c) pour que le texte blanc reste lisible (AA). */
.cb-pill-m, .cb-m, .cb-assur, .cb-cap-a { display: none; }
.cb-window-photo figcaption b { font-weight: 600; margin-left: 0.375rem; color: var(--cb-teal); }

@media (max-width: 767px) {
  body.cube {
    --m-bg: #111319;
    --m-card: #161e2e;
    --m-card-hi: #1e293b;
    --m-low: #191b22;
    --m-stroke: rgba(255, 255, 255, 0.08);
    --m-text: #f8fafc;
    --m-text-2: #94a3b8;
    --m-green: #4edea3;
    --m-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    padding-bottom: 76px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  body.cube, body.cube main, body.cube .bg-surface { background-color: var(--m-bg); }

  /* Hero : colonne alignée à gauche, éléments réordonnés comme la maquette */
  .cb-hero { text-align: left; padding: 1.25rem 0 1.75rem; }
  .cb-hero-in { display: flex; flex-direction: column; padding: 0 1rem; }
  .cb-hero-in > * { margin-top: 0; margin-bottom: 0; }
  .cb-window, .cb-window-body { display: contents; }
  .cb-window-bar, .cb-window-phone, .cb-pill-d { display: none; }
  .cb-pill { -webkit-box-ordinal-group: 2; order: 1; }
  .cb-hero h1 { order: 2; }
  .cb-hero-lead { order: 3; }
  .cb-window-side { order: 4; }
  .cb-window-photo { order: 5; }
  .cb-hero-cta { order: 6; }
  .cb-assur { order: 7; }
  .cb-suivi-link { order: 8; }
  .cb-hero-tags { order: 9; }

  .cb-glow--a { width: 16rem; height: 16rem; top: -3rem; left: auto; right: -3rem; margin: 0; background: #ff5b1d; opacity: .22; -webkit-transform: none; transform: none; }
  .cb-glow--b { width: 13rem; height: 13rem; top: 12rem; right: auto; left: -4rem; background: #4edea3; opacity: .12; }
  .cb-glow--c { display: none; }

  /* Pastille verte « 105 communes » */
  .cb-pill { align-self: flex-start; margin-bottom: 1.25rem; padding: 0.375rem 0.75rem; border: 0; background: rgba(0, 165, 114, 0.2); }
  .cb-pill-m { display: inline-flex; align-items: center; font-family: var(--m-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--m-green); }
  .cb-pill-m i { width: 8px; height: 8px; margin-right: 0.5rem; border-radius: 50%; background: var(--m-green); -webkit-animation: cb-pulse 2s ease-in-out infinite; animation: cb-pulse 2s ease-in-out infinite; }

  .cb-hero h1 { max-width: none; margin: 0; font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -0.025em; }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .cb-hero h1 em { background: linear-gradient(90deg, #ff5b1d, #ffdbd0 55%, #4edea3); -webkit-background-clip: text; background-clip: text; }
  }
  .cb-hero-lead { margin: 0.5rem 0 1.25rem; max-width: none; font-size: 15px; line-height: 22px; color: var(--m-text-2); }

  /* Chiffres : trois cartes sur une ligne */
  .cb-window-side { display: flex; padding: 0; margin-bottom: 1.25rem; border: 0; background: none; }
  .cb-window-side p { display: none; }
  .cb-stat { flex: 1 1 0; min-width: 0; margin: 0 0.5rem 0 0; padding: 0.625rem; text-align: left; border: 0; border-radius: 0.75rem; background: rgba(30, 31, 38, 0.7); }
  .cb-stat:last-child { margin-right: 0; }
  .cb-stat b { font-size: 20px; line-height: 26px; color: var(--m-text); white-space: nowrap; }
  .cb-stat span { font-family: var(--m-mono); font-size: 11px; line-height: 15px; color: var(--m-text-2); }

  /* Photo de l'atelier avec bandeau en bas */
  .cb-window-photo { position: relative; height: 13rem; min-height: 0; margin: 0 0 1.25rem; border-radius: 1rem; overflow: hidden; background: var(--m-low); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); }
  .cb-window-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, #0b0f17 0%, rgba(11, 15, 23, .3) 50%, rgba(11, 15, 23, 0) 100%); }
  .cb-window-photo figcaption {
    z-index: 1; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
    display: flex; flex-wrap: wrap; align-items: center;
    padding: 0.625rem 0.75rem; border-radius: 0.75rem;
    background: rgba(22, 30, 46, 0.92); font-size: 13px;
  }
  .cb-cap-t { font-weight: 700; color: var(--m-text); }
  .cb-cap-a { display: block; width: 100%; order: 3; font-size: 12px; color: var(--m-text-2); }
  .cb-window-photo figcaption b { margin-left: auto; padding: 0.2rem 0.5rem; border-radius: 0.25rem; background: rgba(78, 222, 163, 0.15); color: var(--m-green); font-family: var(--m-mono); font-size: 11px; }

  /* Boutons pleine largeur */
  .cb-hero-cta { display: block; margin: 0; }
  .cb-hero-cta > a { display: flex; width: 100%; margin: 0 0 0.5rem; min-height: 52px; border-radius: 0.75rem; }
  .cb-hero .cb-btn { text-transform: uppercase; letter-spacing: .02em; font-size: 15px; box-shadow: 0 8px 20px -4px rgba(255, 91, 29, .45); }
  .cb-hero .cb-btn-alt { min-height: 48px; background: #282a30; font-size: 15px; }
  .cb-m { display: inline; }

  /* Encart assurance */
  .cb-assur {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0.25rem 0 0.75rem; padding: 0.75rem; min-height: 48px;
    border-radius: 0.75rem; background: var(--m-low);
    color: var(--m-text); font-size: 13px; text-decoration: none;
  }
  .cb-assur span { display: flex; align-items: center; }
  .cb-assur svg { margin-right: 0.5rem; color: var(--m-green); flex-shrink: 0; }
  .cb-assur b { font-family: var(--m-mono); color: var(--cb-orange-hi); white-space: nowrap; margin-left: 0.5rem; }
  .cb-suivi-link { align-self: flex-start; }
  .cb-hero-tags { justify-content: flex-start; margin-top: 0.5rem; }
  .cb-hero-tags li { margin: 0 1rem 0.375rem 0; }

  /* Sections suivantes : cartes de la charte */
  body.cube main section + section::before { display: none; }
  body.cube main .bg-surface-container,
  body.cube main .bg-surface-container-high { background-color: var(--m-card); border-color: var(--m-stroke); }
  body.cube main .rounded-xl, body.cube main .rounded-2xl { border-radius: 1rem; }
  body.cube main .font-headline-lg { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; }
  body.cube main .font-headline-sm { font-size: 20px; line-height: 26px; }
  body.cube main .uppercase.tracking-widest,
  body.cube main .uppercase.tracking-wider { font-family: var(--m-mono); font-size: 11px; letter-spacing: .1em; }
  body.cube main .text-on-surface-variant { color: var(--m-text-2); }

  /* La barre d'onglets remplace la barre orange et les boutons flottants Devis / Haut de page */
  body.cube .moz-sticky-devis, body.cube .moz-fab-devis, body.cube .moz-fab-top { display: none !important; }
  body.cube .moz-fabs-wrap { bottom: 84px !important; bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; -webkit-transform: none !important; transform: none !important; }
}
@media (max-width: 359px) {
  .cb-stat b { font-size: 17px; }
}
@-webkit-keyframes cb-pulse { 50% { opacity: .35; } }
@keyframes cb-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .cb-pill-m i { -webkit-animation: none; animation: none; }
}
@media (max-width: 767px) {
  .cb-hero-tags li { font-size: 14px; line-height: 1.45; }
  body.cube .moz-bento .justify-between { flex-wrap: wrap; }
  body.cube .moz-bento .justify-between > span { margin-top: 0.75rem; }
  body.cube .moz-bento h2.font-headline-sm { font-size: 22px; line-height: 28px; }
  body.cube .moz-bento > div { padding: 1.25rem; }
}
@media (max-width: 359px) {
  .cb-hero .cb-btn .cb-m { display: none; }
  .cb-hero .cb-btn { font-size: 14px; text-align: center; }
}

/* Ligne des départements : intégrée au H1 (référencement local), affichée comme une ligne secondaire */
.cb-hero h1 .cb-hero-zone {
  display: block; margin: 1rem 0 0;
  font-size: 1.0625rem; line-height: 1.5; font-weight: 600; letter-spacing: 0;
  color: var(--cb-title); -webkit-text-fill-color: var(--cb-title); background: none;
}
@media (max-width: 767px) {
  .cb-hero h1 .cb-hero-zone { margin-top: 0.5rem; font-size: 15px; color: #cbd5e1; -webkit-text-fill-color: #cbd5e1; }
}

/* Téléphone : pastille « 105 communes » et titre centrés */
@media (max-width: 767px) {
  .cb-pill { align-self: center; }
  .cb-hero h1 { text-align: center; }
}

/* Mentions « Éco-responsable » et « Pièces garanties » : vert, gras, avec leur pictogramme (comme l'ancien accueil) */
.cb-hero-tags li { display: inline-flex; align-items: center; color: #4edea3; font-weight: 700; font-size: 15px; line-height: 1.4; }
.cb-hero-tags li::before { content: none; }
.cb-hero-tags li svg { flex-shrink: 0; margin-right: 0.5rem; color: #4edea3; }
.cb-hero-tags li strong { font-weight: 800; }
@media (max-width: 767px) {
  .cb-hero-tags { flex-direction: column; align-items: flex-start; }
  .cb-hero-tags li { font-size: 15px; margin: 0 0 0.5rem; }
}
@media (max-width: 767px) {
  .cb-hero-tags { align-items: center; align-self: center; text-align: center; }
  .cb-hero-tags li { justify-content: center; margin-right: 0; }
}

/* Texte de présentation : blanc partout, centré sur téléphone */
.cb-hero-lead { color: #f8fafc; }
@media (max-width: 767px) {
  .cb-hero-lead { color: #f8fafc; text-align: center; }
}

/* Téléphone : champ de référence sur toute la largeur, bouton « Retrouver » en dessous */
@media (max-width: 767px) {
  #homeRetouverWrap { flex-direction: column; }
  #homeRetouverWrap .moz-suivi-input { width: 100%; min-width: 0; min-height: 52px; font-size: 17px; letter-spacing: .04em; }
  #homeRetouverWrap .moz-suivi-btn { width: 100%; min-height: 52px; justify-content: center; }
}
@media (max-width: 767px) {
  /* Bloc de suivi : marges intérieures réduites pour élargir le champ */
  .moz-bento > .lg\:col-span-5 { padding: 10px !important; }
  #suivi.moz-suivi { padding: 16px !important; }
}
