/* Fast Services SXM — V2 design system (maquette client 2026-07)
   Design clair : navy #1b3a8c + rouge #d31219 + teal #0e8e96 · mobile-first */

:root {
  /* Palette CDC client 2026-08-03 */
  --navy: #0A2540;
  --navy-dark: #071B2F;
  --navy-light: #EFF6FF;
  --red: #E63946;
  --red-dark: #C62B38;
  --teal: #06B6D4;
  --teal-dark: #0891B2;
  --wa: #25D366;      /* vert WhatsApp officiel (CDC) */
  --wa-dark: #1DB954;
  --ink: #1c2434;
  --muted: #5a6b7b;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ok: #16a34a;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(18, 39, 94, 0.08);
  --shadow-lg: 0 12px 44px rgba(18, 39, 94, 0.14);
  --wrap: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-script: 'Caveat', cursive;
}

* { box-sizing: border-box; }
/* Site clair uniquement : bloque le repeint "auto dark" des navigateurs (fond sombre autour du hero arrondi) */
html { color-scheme: only light; background: #fff; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
/* Note: overflow-x is intentionally NOT set on body — setting it here would force
   body's overflow-y to compute as `auto`, turning body into its own scroll
   container and breaking `position: sticky` (see V1 comment history). */
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy-dark); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); margin: 0 0 .45em; font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin: 0 0 .55em; }
h3 { font-size: 1.28rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Bilingual switch (EN par défaut, FR via radio #tab-fr) ---------- */
.lang-tab-radio { position: absolute; opacity: 0; pointer-events: none; }
#tab-en:checked ~ .page-wrap .col-fr { display: none !important; }
#tab-fr:checked ~ .page-wrap .col-en { display: none !important; }
.lang-tabs { display: none; }
.bilingual-row { display: block; }
.bilingual-row > .col-en, .bilingual-row > .col-fr { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: .97rem; white-space: nowrap;
  padding: 13px 24px; border-radius: 12px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s ease, background .18s ease;
  text-decoration: none !important;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-call, .btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(230,57,70,.28); }
.btn-call:hover, .btn-red:hover { background: var(--red-dark); box-shadow: 0 8px 20px rgba(230,57,70,.36); }
.btn-wa, .btn-teal { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(37,211,102,.28); }
.btn-wa:hover, .btn-teal:hover { background: var(--wa-dark); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(10,37,64,.28); }
.btn-navy:hover { background: var(--navy-dark); }

/* CTA d'appel : halo pulsé + sonnerie de l'icône téléphone (coupé si prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .btn-call, .btn-red { animation: cta-pulse-red 2.4s cubic-bezier(.4,0,.6,1) infinite; }
  .btn-wa, .btn-teal { animation: cta-pulse-teal 2.4s cubic-bezier(.4,0,.6,1) infinite 1.2s; }
  .cta-band .btn-call { animation-name: cta-pulse-white; }
  .btn-call > svg, .btn-red .b-top svg, .callbar .btn-call svg { animation: cta-ring 2.4s ease-in-out infinite; transform-origin: 50% 35%; }
}
@keyframes cta-pulse-red {
  0%   { box-shadow: 0 6px 16px rgba(230,57,70,.28), 0 0 0 0 rgba(230,57,70,.45); }
  70%  { box-shadow: 0 6px 16px rgba(230,57,70,.28), 0 0 0 13px rgba(230,57,70,0); }
  100% { box-shadow: 0 6px 16px rgba(230,57,70,.28), 0 0 0 0 rgba(230,57,70,0); }
}
@keyframes cta-pulse-teal {
  0%   { box-shadow: 0 6px 16px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,.42); }
  70%  { box-shadow: 0 6px 16px rgba(37,211,102,.28), 0 0 0 13px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 16px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes cta-pulse-white {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 0 0 13px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
/* petite "sonnerie" du combiné */
@keyframes cta-ring {
  0%, 24%, 100% { transform: rotate(0); }
  6%  { transform: rotate(-14deg); }
  10% { transform: rotate(11deg); }
  14% { transform: rotate(-8deg); }
  18% { transform: rotate(5deg); }
}
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #ffe9ea; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy-light); }

/* ---------- Header ---------- */
.sticky-top { position: sticky; top: 0; z-index: 60; }
.site-header {
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(18,39,94,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; max-width: 1420px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo .brand-logo { width: 50px; height: 50px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 900; font-size: 1.22rem; letter-spacing: .01em; text-transform: uppercase;
  color: var(--navy-dark); white-space: nowrap;
}
.brand-name b { color: var(--red); font-weight: 900; }
.brand-name .brand-sxm { color: var(--navy-dark); }
.brand-base { font-size: .6rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .03em; }
.main-nav > a, .nav-sub > a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav > a:hover, .nav-sub > a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-sub { position: relative; }
.nav-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-sub > a svg { width: 12px; height: 12px; }
.sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .95rem;
}
.nav-sub:hover .sub-menu, .nav-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 18px; color: var(--ink); }
.sub-menu a:hover { background: var(--bg-soft); color: var(--red); text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch-nav { display: none; } /* visible uniquement dans le menu burger mobile */
.lang-switch label {
  display: block; width: 26px; height: 18px; border-radius: 3px; overflow: hidden;
  opacity: .4; cursor: pointer; box-shadow: 0 0 0 1px var(--line);
  transition: opacity .15s ease, transform .15s ease;
}
.lang-switch label:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch svg { width: 100%; height: 100%; display: block; }
#tab-en:checked ~ .page-wrap label[for="tab-en"],
#tab-fr:checked ~ .page-wrap label[for="tab-fr"] { opacity: 1; box-shadow: 0 0 0 2px var(--red); }

.phone-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--navy); border-radius: 12px; padding: 7px 16px;
  color: var(--navy-dark) !important; text-decoration: none !important;
  transition: background .15s ease;
}
.phone-pill:hover { background: var(--navy-light); }
.phone-pill svg { width: 19px; height: 19px; color: var(--navy); }
.phone-pill .pp-txt { display: flex; flex-direction: column; line-height: 1.2; }
.phone-pill b { font-size: 1.02rem; font-weight: 800; white-space: nowrap; }
.phone-pill small { font-size: .68rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

.btn-quote {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff !important; padding: 13px 20px; border-radius: 12px;
  font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap; text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(230,57,70,.28); transition: background .15s ease;
}
.btn-quote:hover { background: var(--red-dark); }
.btn-quote svg { width: 16px; height: 16px; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--navy-dark); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(160deg, #eaf3fc 0%, #f6fafd 55%, #eef7f8 100%);
  padding: 58px 0 0; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center; z-index: 0;
}
/* voile clair léger, limité à la zone texte — la photo doit rester bien visible */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(244,249,253,.85) 0%, rgba(244,249,253,.6) 30%, rgba(244,249,253,.18) 48%, rgba(244,249,253,0) 62%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: center; padding-bottom: 64px; }
.hero-copy { text-shadow: 0 0 10px rgba(255,255,255,.85), 0 0 3px rgba(255,255,255,.7); }
.hero-copy .btn, .hero-badge { text-shadow: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--red); color: #fff; border-radius: 999px;
  padding: 7px 18px; font-weight: 800; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge svg { width: 15px; height: 15px; flex: 0 0 auto; }
.hero h1 { text-transform: uppercase; color: var(--navy-dark); margin-bottom: 0; }
/* 2e ligne du titre : rouge uppercase (maquette mobile 2026-08, remplace le script teal) */
.hero-script {
  display: block; color: var(--red); text-transform: uppercase;
  font-size: inherit; line-height: 1.1; letter-spacing: -.01em; margin: 2px 0 6px;
}
.hero-sub { font-weight: 800; letter-spacing: .12em; font-size: .95rem; color: var(--ink); margin: 10px 0 14px; text-transform: uppercase; }
.hero p.lead { font-size: 1.06rem; color: var(--muted); max-width: 520px; margin: 0 0 1.6em; }
/* CTA hero : icône 24px à gauche + bloc texte en colonne (spec client 2026-08-03) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { height: 60px; padding: 0 20px; border-radius: 10px; display: flex; align-items: center; gap: 14px; }
.hero-actions .b-ico { display: grid; place-items: center; flex: 0 0 auto; }
.hero-actions .b-ico svg { width: 24px; height: 24px; }
.hero-actions .b-txt { display: flex; flex-direction: column; align-items: flex-start; }
.hero-actions .btn .b-top { font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: .5px; opacity: .95; line-height: 1; }
.hero-actions .btn .b-main { font-size: 18px; font-weight: 800; line-height: 1.2; margin-top: 2px; }
.hero-media { position: relative; min-width: 0; min-height: 380px; }
/* Encart blanc 2 numéros superposé sur le pick-up (CDC 2026-08-03) */
.phone-card {
  position: absolute; right: 0; bottom: 60px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 18px; display: flex; flex-direction: column; gap: 7px;
}
.phone-card .pc-line { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.phone-card .pc-line svg { width: 15px; height: 15px; color: var(--navy); flex: 0 0 auto; }
.phone-card .pc-line:last-child svg { color: var(--wa); }
.phone-card a { color: var(--navy-dark); }
.urgence-card {
  position: absolute; right: 0; bottom: 24px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 18px 22px; text-align: center; min-width: 170px;
}
.urgence-card svg { width: 30px; height: 30px; color: var(--navy); margin: 0 auto 6px; }
.urgence-card .u-q { color: var(--red); font-weight: 800; font-size: .95rem; }
.urgence-card .u-t { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.urgence-card .u-b { font-weight: 900; font-size: 1.5rem; color: var(--teal); line-height: 1.15; }

/* Réassurance : carte blanche arrondie qui chevauche le bas du hero (maquette 2026-08) */
.reassure-band { position: relative; z-index: 5; margin-top: -30px; padding: 0; }
.reassure-band .wrap {
  display: flex; flex-wrap: nowrap; justify-content: space-evenly; align-items: center; gap: 4px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; max-width: 980px;
}
.reassure-band .ri {
  display: inline-flex; align-items: center; gap: 9px; color: var(--navy-dark);
  font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.reassure-band .ri + .ri { border-left: 1px solid var(--line); padding-left: 18px; margin-left: 8px; }
.reassure-band .ri svg { width: 19px; height: 19px; color: var(--navy); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 8px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.sec-head h2 { text-transform: uppercase; position: relative; display: inline-block; padding-bottom: 12px; }
.sec-head h2::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: var(--red); }
.sec-head p { color: var(--muted); }

/* Scroll reveal — désactivé si prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.card .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-light); display: grid; place-items: center; margin-bottom: 16px; color: var(--navy); }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 10px; }
.card .more { color: var(--navy); font-weight: 700; font-size: .92rem; }

/* Service card (photo + icône + coches) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s; text-decoration: none !important; color: var(--ink);
  position: relative;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card .sc-photo { position: relative; }
.svc-card .sc-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--imgpos, 50% 50%); }
.svc-card .sc-ico {
  position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c, var(--navy)); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(18,39,94,.25); border: 3px solid #fff;
}
.svc-card .sc-ico svg { width: 24px; height: 24px; }
.svc-card .sc-body { padding: 32px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { color: var(--c, var(--navy)); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.svc-card ul { list-style: none; margin: 0 0 14px; padding: 0; flex: 1; }
.svc-card li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.svc-card li svg { width: 15px; height: 15px; color: var(--red); flex: 0 0 auto; margin-top: 4px; }
.svc-card .more { color: var(--c, var(--navy)); font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Bandeau batterie (maquette 2026-08) ---------- */
.battery-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--navy-light); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 30px; box-shadow: var(--shadow);
}
.battery-banner .bb-ico {
  width: 54px; height: 54px; border-radius: 50%; background: #7C3AED; color: #fff; /* violet batterie (CDC) */
  display: grid; place-items: center; flex: 0 0 auto;
}
.battery-banner .bb-ico svg { width: 28px; height: 28px; }
.battery-banner .bb-txt { flex: 1 1 260px; }
.battery-banner .bb-txt h3 { text-transform: uppercase; font-size: 1.05rem; margin-bottom: 2px; }
.battery-banner .bb-txt p { margin: 0; color: var(--muted); font-size: .92rem; }
.battery-banner .btn-navy { flex-direction: column; gap: 2px; padding: 11px 24px; line-height: 1.25; }
.battery-banner .btn-navy .b-top { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; opacity: .92; }
.battery-banner .btn-navy .b-main { font-size: 1rem; font-weight: 800; }

/* ---------- Duo "Pourquoi nous choisir" + Avis clients (maquette 2026-08) ---------- */
.duo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.why-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.why-card h2 { text-transform: uppercase; font-size: 1.15rem; margin-bottom: 12px; }
.why-card h2 .r { color: var(--red); }
.why-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.why-body { padding: 20px 22px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.why-list li svg { width: 16px; height: 16px; color: var(--red); flex: 0 0 auto; }
.reviews-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; display: flex; flex-direction: column; }
.reviews-card .rc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
/* badge Google contraint à la largeur de la carte (les étoiles passent à la ligne si besoin) */
.reviews-card .g-score { font-size: .95rem; gap: 7px; flex-wrap: wrap; min-width: 0; }
.reviews-card .g-score .g-logo { font-size: 1.02rem; }
.reviews-card .g-score .stars { letter-spacing: 1px; font-size: .9rem; }
.reviews-card .rc-head h2 { text-transform: uppercase; font-size: 1.15rem; margin: 0; }
.rev-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 -4px; padding: 4px; flex: 1;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track .review-card { flex: 0 0 100%; scroll-snap-align: center; }
.rev-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.rev-dots .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--line); transition: background .2s ease; }
.rev-dots .dot.on { background: var(--red); }

.stats-band {
  background: linear-gradient(115deg, rgba(18,39,94,.92), rgba(6,182,212,.85)), url('/assets/img/sxm-orient-bay.jpg') center / cover no-repeat;
  border-radius: var(--radius); color: #fff; padding: 34px 30px;
  display: flex; flex-direction: column; justify-content: center;
}
.stats-band h2 { color: #fff; text-transform: uppercase; font-size: 1.2rem; text-align: center; margin-bottom: 24px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat .si { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; margin: 0 auto 10px; }
.stat .si svg { width: 26px; height: 26px; }
.stat .sv { font-weight: 900; font-size: 1.7rem; line-height: 1.1; }
.stat .sl { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }

/* ---------- Réalisations ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.works-grid img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

/* ---------- Avis ---------- */
.reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.g-score { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.g-score .g-logo { font-weight: 700; font-size: 1.25rem; }
.g-logo .l1 { color: #4285F4; } .g-logo .l2 { color: #EA4335; } .g-logo .l3 { color: #FBBC05; } .g-logo .l4 { color: #4285F4; } .g-logo .l5 { color: #34A853; } .g-logo .l6 { color: #EA4335; }
.stars { color: #f5a623; letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-card .stars { font-size: .95rem; margin-bottom: 10px; }
.review-card p { font-size: .95rem; color: var(--ink); flex: 1; }
.review-card .r-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.review-card .r-name { font-weight: 700; font-size: .9rem; color: var(--muted); }
.review-card .r-g { font-weight: 800; font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; border-radius: 18px; padding: 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffeaea; margin-bottom: 22px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-call { background: #fff; color: var(--red-dark); }
.cta-band .btn-wa { background: rgba(255,255,255,.14); border: 2px solid #fff; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--navy-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 14px 0 6px; margin: 0; color: var(--muted); }

/* ---------- Price note ---------- */
.pricebox { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 20px 22px; box-shadow: var(--shadow); }
.pricebox strong { color: var(--navy-dark); }

/* ---------- Features (listes à coches) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .fi { color: var(--red); flex: 0 0 auto; margin-top: 3px; }
.feature .fi svg { width: 18px; height: 18px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 3px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fff;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.lead-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.lead-card h2 { font-size: 1.3rem; margin: 0 0 4px; }
.lead-card-sub { color: var(--muted); font-size: .94rem; margin: 0 0 16px; }
.lead-card .form-field { margin-bottom: 12px; }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-light); color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.contact-line .ci svg { width: 20px; height: 20px; }
.contact-line b { display: block; }
.contact-line span { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--ink); padding: 56px 0 26px; margin-top: 20px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: 36px; margin-bottom: 34px; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; color: var(--navy-dark); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .93rem; display: flex; align-items: flex-start; gap: 8px; }
.footer-grid li svg { width: 15px; height: 15px; color: var(--red); flex: 0 0 auto; margin-top: 4px; }
.f-brand .brand-base { font-size: .58rem; }
.f-brand p { color: var(--muted); font-size: .9rem; margin-top: 12px; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-bottom: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; }
.socials a svg { width: 20px; height: 20px; }
.socials .s-fb { background: #1877F2; } .socials .s-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); } .socials .s-wa { background: #25D366; }
.footer-cta-card {
  background: var(--red); color: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: 0 10px 28px rgba(230,57,70,.3);
}
.footer-cta-card b { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
/* > span : ne cible que le sous-titre, pas les spans bilingues du bouton */
.footer-cta-card > span { font-size: .85rem; opacity: .95; display: block; margin: 2px 0 14px; }
.footer-cta-card .btn-white { width: 100%; font-size: .9rem; padding: 12px 10px; }
.footer-services { border-top: 1px solid var(--line); padding: 16px 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-services a { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: .84rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky mobile call bar (par-dessus le contenu, en bas d'écran) ---------- */
/* Callbar mobile : 4 boutons sur fond navy (maquette 2026-08) */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none;
  gap: 2px; padding: 8px 5px calc(8px + env(safe-area-inset-bottom));
  background: var(--navy-dark); box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.callbar .cb-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; color: #fff; text-decoration: none !important; min-width: 0; }
.callbar .cb-item + .cb-item { border-left: 1px solid rgba(255,255,255,.16); }
.callbar .cb-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.callbar .cb-ico svg { width: 14px; height: 14px; color: #fff; }
.callbar .cb-red { background: var(--red); }
.callbar .cb-green { background: var(--wa); }
.callbar .cb-blue { background: #2563eb; }
.callbar .cb-lbl { display: flex; flex-direction: column; line-height: 1.25; font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; }
.callbar .cb-lbl b { font-size: .54rem; font-weight: 800; letter-spacing: 0; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .88rem; color: var(--muted); padding: 16px 0 0; }
.crumb a { color: var(--muted); }

/* ---------- Page hero (service / contact / légal) — clair ---------- */
.page-hero { background: linear-gradient(160deg, #eaf3fc 0%, #f6fafd 60%, #eef7f8 100%); padding: 10px 0 48px; position: relative; overflow: hidden; }
/* photo métier en fond pleine section + voile clair côté texte (comme le hero accueil) */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(244,249,253,.88) 0%, rgba(244,249,253,.68) 34%, rgba(244,249,253,.22) 55%, rgba(244,249,253,0) 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
/* cadrage : biais vers le haut de la photo pour ne pas couper les têtes ;
   ajustable par métier via --bgpos (posé en inline style par build.mjs) */
.page-hero .hero-bg { object-position: var(--bgpos, 70% 30%); }
.page-hero .grid-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 18px; min-height: 320px; }
.page-hero .grid-hero { text-shadow: 0 0 10px rgba(255,255,255,.85), 0 0 3px rgba(255,255,255,.7); }
.page-hero .grid-hero .btn, .page-hero .ico-lg { text-shadow: none; }
.page-hero .crumb { text-shadow: 0 0 8px rgba(255,255,255,.9); }
.page-hero h1 { color: var(--navy-dark); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero .lead { color: var(--muted); }
.page-hero .ico-lg { width: 58px; height: 58px; border-radius: 50%; background: var(--c, var(--navy)); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 16px; }
.page-hero .ico-lg svg { width: 30px; height: 30px; }
.page-hero .hero-actions { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  /* les libellés FR du menu sont longs : header compacté avant le passage en burger */
  .main-nav { gap: 13px; font-size: .76rem; }
  .site-header .wrap { gap: 12px; }
  .phone-pill { padding: 6px 12px; gap: 7px; }
  .phone-pill b { font-size: .92rem; }
  .btn-quote { font-size: .76rem; padding: 12px 14px; }
  .brand-name { font-size: 1.05rem; }
  .brand-base { font-size: .53rem; }
}
@media (max-width: 1200px) {
  .brand-base { display: none; }
  .main-nav { gap: 10px; font-size: .72rem; }
  .phone-pill .pp-txt small { display: none; }
  .btn-quote { font-size: .72rem; padding: 11px 12px; }
}
@media (max-width: 1080px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav > a, .nav-sub > a { padding: 12px 24px; border-bottom: 0; }
  .nav-sub .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; }
  .nav-burger { display: block; }
  .phone-pill .pp-txt small { display: none; }
  /* header identique à la maquette : les drapeaux passent dans le menu burger */
  .header-right .lang-switch { display: none; }
  .lang-switch-nav { display: flex !important; padding: 12px 24px; gap: 8px; }
  .lang-switch-nav label { width: 30px; height: 21px; }
}
@media (max-width: 900px) {
  .grid-3, .features, .works-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid, .hero .wrap, .page-hero .grid-hero { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .hero .wrap { gap: 30px; }
  .hero-media { min-height: 220px; margin-bottom: 24px; }
  /* pas de voile sur la photo du hero accueil en mobile : texte en blanc + ombre portée */
  .hero::before { background: none; }
  .hero h1 { color: #fff; }
  .hero-sub { color: #fff; }
  .hero p.lead { color: rgba(255,255,255,.94); }
  .hero-copy { text-shadow: 0 1px 4px rgba(0,0,0,.6), 0 0 16px rgba(0,0,0,.4); }
  .hero-copy .btn, .hero-badge { text-shadow: none; }
  /* en mobile, <picture> charge un crop dédié déjà centré sur le logo de la portière */
  .hero .hero-bg { object-position: center; }

  /* Page hero (services) mobile : la photo occupe son propre bloc (ratio fixe, pas
     de recadrage cover-sur-toute-la-hauteur) et le texte suit dessous, sur fond
     uni — plus de voile ni d'ombre portée puisque le texte n'est plus sur la photo. */
  .page-hero { padding: 0 0 28px; overflow: visible; }
  .page-hero::before { content: none; }
  .page-hero picture { display: block; position: relative; }
  .page-hero .hero-bg {
    position: static; width: 100%; height: auto; aspect-ratio: 4 / 3;
    object-fit: cover; object-position: var(--bgpos-m, var(--bgpos, center));
  }
  .page-hero h1 { color: var(--navy-dark); }
  .page-hero .lead { color: #475569; }
  .page-hero .crumb { color: var(--navy-dark); text-shadow: none; padding-top: 16px; }
  .page-hero .crumb a { color: var(--navy-dark); }
  .page-hero .grid-hero { text-shadow: none; min-height: 0; }
  .page-hero .grid-hero .btn, .page-hero .ico-lg { text-shadow: none; }
}
/* Rendu maquette mobile appliqué jusqu'à 900px (l'utilisateur teste en fenêtre ~740px) */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 66px; gap: 8px; }
  .brand-name { font-size: .98rem; }
  /* maquette : le sous-titre "Dépannage multiservices" reste visible sous le nom */
  .brand-base { display: block; font-size: .52rem; }
  .site-header .brand-logo { width: 40px; height: 40px; }
  .phone-pill { display: none; }
  /* le CTA devis reste accessible via hero + callbar mobile ; le header doit tenir en 390px */
  .btn-quote { display: none; }
  .grid-3, .grid-2, .features, .reviews-grid { grid-template-columns: 1fr; }
  /* maquette client 2026-08-03 (mesures ×0,663) : services en grille 3 colonnes × 2 rangées */
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .svc-card { border-radius: 10px; }
  .svc-card .sc-photo img { aspect-ratio: auto; height: 46px; }
  .svc-card .sc-body { padding: 16px 8px 8px; }
  .svc-card h3 { font-size: 9px; margin-bottom: 4px; }
  .svc-card li { font-size: 7px; margin-bottom: 3px; gap: 4px; line-height: 1.3; }
  .svc-card li svg { width: 8px; height: 8px; margin-top: 2px; }
  .svc-card .more { font-size: 6.5px; letter-spacing: .02em; }
  .svc-card .sc-ico { width: 28px; height: 28px; left: 8px; bottom: -13px; border-width: 1.5px; }
  .svc-card .sc-ico svg { width: 14px; height: 14px; }
  /* CDC : H2 centré avec petit trait rouge de 40px, pas de sous-titre */
  .sec-head p { display: none; }
  .sec-head h2 { font-size: 1.5rem; }
  .sec-head h2::after { width: 40px; height: 3px; }
  .sec-head { margin-bottom: 22px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* === Hero mobile : reproduction pixel de la maquette client === */
  .hero { padding-top: 18px; margin: 0; border-radius: 0; overflow: hidden; }
  .hero .wrap { padding: 0 20px 40px; gap: 0; }
  .hero-media { display: block; position: static; min-height: 0; margin: 0; }
  /* image paysage : camion au centre-droit */
  .hero .hero-bg { object-position: 64% center; }
  /* voile clair global léger : le texte foncé reste lisible, la photo visible */
  .hero::before { background: linear-gradient(90deg, rgba(244,249,253,.82) 0%, rgba(244,249,253,.55) 45%, rgba(244,249,253,.22) 70%, rgba(244,249,253,.05) 100%); }
  /* texte FONCÉ aux tailles exactes de la maquette (mesures ×0,663) */
  .hero-copy { text-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.75); }
  .hero h1 { font-size: 22px; color: var(--navy-dark); }
  .hero .hero-script { color: var(--red); }
  .hero-sub { font-size: 9px; letter-spacing: .1em; margin: 6px 0 8px; color: var(--navy-dark); }
  .hero p.lead { font-size: 8px; line-height: 1.6; color: #475569; max-width: 140px; margin-bottom: 0; }
  .hero-badge { font-size: 8px; padding: 4px 10px; margin-bottom: 12px; }
  .hero-badge svg { width: 10px; height: 10px; }
  /* encart 2 numéros : posé sur le camion à droite, au niveau paragraphe/CTA */
  .phone-card { top: 48%; right: 16px; bottom: auto; max-width: 160px; padding: 8px 12px; gap: 5px; border-radius: 10px; }
  .phone-card .pc-line { font-size: 12px; gap: 5px; }
  .phone-card .pc-line svg { width: 12px; height: 12px; }
  /* CTA aux dimensions exactes de la maquette : ~110×30px, police 9/11px, icône 16px */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 14px; }
  .hero-actions .btn { width: auto; min-width: 130px; height: 36px; padding: 0 16px; justify-content: flex-start; gap: 11px; border-radius: 7px; }
  .hero-actions .btn .b-top { font-size: 9px; }
  .hero-actions .btn .b-main { font-size: 12px; margin-top: 1px; }
  .hero-actions .b-ico svg { width: 17px; height: 17px; }
  .urgence-card { display: none; }
  /* réassurance : carte compacte sur une ligne, police à l'échelle maquette */
  .reassure-band { margin-top: -24px; }
  .reassure-band .wrap { padding: 11px 12px; gap: 8px; border-radius: 14px; }
  .reassure-band .ri { font-size: 8px; gap: 6px; letter-spacing: .02em; }
  .reassure-band .ri + .ri { padding-left: 14px; margin-left: 4px; }
  .reassure-band .ri svg { width: 12px; height: 12px; }
  /* espace réduit entre la pilule réassurance et "Nos services" */
  #services { padding-top: 26px; padding-bottom: 32px; }
  /* CDC : espace resserré autour de "Pourquoi nous choisir" (padding desktop 72px trop grand en mobile) */
  #a-propos { padding: 24px 0 40px; }
  /* duo pourquoi/avis : 2 mini-cartes côte à côte comme la maquette */
  .duo-grid { gap: 12px; }
  .why-card h2, .reviews-card .rc-head h2 { font-size: .85rem; }
  .why-body, .reviews-card { padding: 12px 12px; }
  .why-list li { font-size: .72rem; gap: 6px; margin-bottom: 7px; }
  .why-list li svg { width: 12px; height: 12px; }
  .reviews-card .g-score { font-size: .8rem; }
  .review-card { padding: 12px; }
  .review-card p { font-size: .74rem; }
  .review-card .stars { font-size: .8rem; margin-bottom: 6px; }
  .review-card .r-name { font-size: .72rem; }
  /* bandeau batterie : bouton à droite du texte comme la maquette */
  .battery-banner { padding: 14px 14px; gap: 10px; flex-wrap: nowrap; }
  .battery-banner .bb-ico { width: 42px; height: 42px; }
  .battery-banner .bb-ico svg { width: 22px; height: 22px; }
  .battery-banner .bb-txt { flex: 1 1 auto; min-width: 0; }
  .battery-banner .bb-txt h3 { font-size: .72rem; }
  .battery-banner .bb-txt p { font-size: .6rem; line-height: 1.4; }
  .battery-banner .btn-navy { flex: 0 0 auto; padding: 9px 14px; }
  .battery-banner .btn-navy .b-top { font-size: .56rem; }
  .battery-banner .btn-navy .b-main { font-size: .72rem; }
  .lead-card, .card { margin: 0 auto; max-width: 100%; }
  .cta-band { padding: 30px 20px; }
  .callbar { display: flex; }
  body { padding-bottom: 76px; }
}
