/* ============================================================
   AAMAN & CO — Plombier chauffagiste, Meulan-en-Yvelines (78)
   Design system : bleus du logo, sobre et professionnel
   ============================================================ */

:root {
  --ink: #13242e;
  --ink-soft: #4a6173;
  --navy: #0f3754;
  --navy-2: #0a2941;
  --band: #2b5f8c;
  --primary: #1874ad;
  --primary-deep: #115d8d;
  --sky: #2b9fd8;
  --cyan: #45c0e9;
  --tint: #eaf2f7;
  --bg: #f6f4ee;
  --bg-warm: #f1ede3;
  --white: #ffffff;
  --wa: #1fae5a;
  --wa-deep: #15894a;
  --star: #e0a015;
  --hair: #e6e0d3;
  --hair-cool: #dde6ec;
  --line: 1px solid var(--hair);
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 1px rgba(19, 36, 46, 0.04);
  --shadow: 0 18px 48px -18px rgba(19, 36, 46, 0.22);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-ui: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --font-brand: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv01";
}

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

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

/* Serif éditorial (Fraunces) pour les grandes prises de parole */
h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 600;
}
/* Grotesque pour l'interface */
h3, h4 {
  font-family: var(--font-ui);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-alt {
  background: var(--bg-warm);
  border-top: var(--line);
  border-bottom: var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 15px 26px;
  min-height: 50px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s cubic-bezier(0.22,1,0.36,1), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: #cdd6dd; box-shadow: 0 12px 26px -12px rgba(19,36,46,0.28); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-call {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 24px -12px rgba(24, 116, 173, 0.7);
}
.btn-call:hover { background: var(--primary-deep); border-color: var(--primary-deep); box-shadow: 0 14px 30px -12px rgba(24, 116, 173, 0.8); }
.btn-wa {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
  box-shadow: 0 10px 24px -12px rgba(31, 174, 90, 0.7);
}
.btn-wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }
.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-lg { font-size: 17.5px; padding: 18px 32px; min-height: 58px; }
.btn-sm { font-size: 15px; padding: 11px 18px; min-height: 44px; }

.btn-block { width: 100%; }

/* ---------- Kicker / labels (overlines retirés : trop "template") ---------- */
.kicker {
  display: none;
  align-items: center;
  gap: 13px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-deep);
  background: transparent;
  padding: 0;
  margin-bottom: 24px;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 50px); margin-bottom: 18px; font-weight: 500; }
.section-head p { font-size: 18.5px; color: var(--ink-soft); line-height: 1.6; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Filet de section ---------- */
.stripes {
  height: 3px;
  border: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(43, 159, 216, 0.0) 8%,
    var(--sky) 32%,
    var(--primary) 50%,
    var(--sky) 68%,
    rgba(43, 159, 216, 0.0) 92%,
    transparent 100%);
}

/* ---------- Header ---------- */
html { scroll-padding-top: 110px; }

.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.topbar {
  background: linear-gradient(90deg, rgba(8, 33, 53, 0.72) 0%, rgba(11, 44, 73, 0.62) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #c9e0f1;
  font-size: 13px;
  max-height: 48px;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 0; }
.topbar-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6ff0a6;
  background: rgba(53, 226, 118, 0.10);
  border: 1px solid rgba(53, 226, 118, 0.28);
  border-radius: 999px;
  padding: 4px 11px;
  margin-right: 16px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  padding: 0 16px;
  position: relative;
}
.topbar-item + .topbar-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 13px;
  background: rgba(255, 255, 255, 0.16);
}
.topbar-item svg { width: 14px; height: 14px; stroke: var(--cyan); flex: none; }
.topbar-links { display: flex; align-items: center; gap: 8px; }
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.topbar-links a svg { width: 13px; height: 13px; flex: none; }
.topbar-links a:hover { background: rgba(255, 255, 255, 0.10); }
.topbar-links .sep { color: #45688c; }
@media (max-width: 1080px) { .topbar-item:last-child { display: none; } }
@media (max-width: 900px) { .topbar { display: none; } }

.header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-head.solid .topbar { max-height: 0; opacity: 0; }
.site-head.solid .header {
  background: rgba(9, 37, 61, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(4, 18, 31, 0.30);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--white);
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a8c6dd;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-weight: 600;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--cyan); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.site-head .btn-call {
  background: var(--white);
  color: var(--primary-deep);
  border-color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.site-head .btn-call:hover { background: var(--tint); }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  width: 48px; height: 48px;
  cursor: pointer;
  place-items: center;
  color: var(--white);
}

@media (max-width: 560px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 9px; letter-spacing: 0.06em; }
}

.nav-cta { display: none; }

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: linear-gradient(180deg, #0a2944 0%, #082135 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 44px rgba(4, 18, 31, 0.45);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 20px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav.open { display: flex; animation: navIn 0.22s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 14px;
    font-size: 16.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
  }
  .nav > a::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.45);
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
    transform: rotate(-45deg);
    transition: transform 0.15s ease, border-color 0.15s ease;
  }
  .nav > a:hover, .nav > a:active { background: rgba(255, 255, 255, 0.06); border-bottom-color: transparent; }
  .nav > a:hover::after { transform: rotate(-45deg) translate(2px, -2px); border-color: var(--cyan); }
  .nav > a[aria-current="page"] { color: var(--cyan); }
  .nav > a[aria-current="page"]::after { border-color: var(--cyan); }

  .nav-cta {
    display: block;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
  .nav-cta .btn { width: 100%; margin-bottom: 10px; }
  .nav-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 600;
    color: #9fe8bc;
  }

  .nav-toggle { display: grid; }
  .header-cta .btn-header-call span { display: none; }
  .header-cta .btn-header-call { width: 48px; height: 48px; padding: 0; border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-2);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  transform: scale(1.05);
  will-change: transform;
  animation: heroKen 22s ease-out both;
}
@keyframes heroKen {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1.05); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 32, 53, 0.30) 0%, rgba(8, 32, 53, 0.0) 30%, rgba(8, 32, 53, 0.42) 100%),
    linear-gradient(97deg, rgba(8, 32, 53, 0.96) 0%, rgba(9, 38, 62, 0.90) 40%, rgba(12, 48, 76, 0.62) 70%, rgba(12, 48, 76, 0.38) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 178px;
}
.hero .kicker { background: transparent; color: #bfe3f6; }
.hero .kicker::before { background: var(--cyan); }

/* Badge de localisation du hero */
.hero-locate {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  color: var(--white);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.hero-locate:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(69, 192, 233, 0.6); transform: translateY(-1px); }
.hero-locate-pin {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  display: grid;
  place-items: center;
}
.hero-locate-pin svg { width: 16px; height: 16px; stroke: var(--navy-2); }
.hero-locate-txt { font-size: 14px; line-height: 1.25; }
.hero-locate-txt strong { font-family: var(--font-ui); font-weight: 700; display: block; font-size: 14.5px; }
.hero-locate-txt span { color: #aecbe2; font-size: 12.5px; }
.hero-locate-arrow { stroke: #aecbe2; width: 15px; height: 15px; flex: none; transition: transform 0.18s ease; }
.hero-locate:hover .hero-locate-arrow { transform: translateX(3px); stroke: var(--cyan); }
.hero h1 {
  font-size: clamp(33px, 5vw, 54px);
  margin: 0 0 18px;
}
.hero h1 .accent {
  color: var(--cyan);
  position: relative;
  white-space: nowrap;
}

/* Entrée du hero au chargement */
.hero-content > * {
  animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content > .kicker,
.hero-content > .hero-locate { animation-delay: 0.05s; }
.hero-content > h1 { animation-delay: 0.13s; }
.hero-content > .hero-lede { animation-delay: 0.23s; }
.hero-content > .hero-cta { animation-delay: 0.33s; }
.hero-content > .hero-google { animation-delay: 0.43s; }
.hero .trust-bar { animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero .trust-bar { animation: none; }
}
.hero-lede {
  font-size: 19px;
  color: #c5dbec;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .btn-call {
  background: var(--white);
  color: var(--primary-deep);
  border-color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}
.hero .btn-call:hover { background: var(--tint); }

.hero-google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  background: var(--white);
  border-radius: 999px;
  padding: 11px 20px 11px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
  text-decoration: none;
  color: var(--ink);
}
.hero-google .stars svg { width: 18px; height: 18px; }
.hero-google strong {
  font-family: var(--font-ui);
  font-size: 16.5px;
}
.hero-google small {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
.hero-google:hover small { text-decoration: underline; }
@media (max-width: 560px) {
  .hero-google { width: 100%; justify-content: center; padding: 12px 14px; gap: 9px; }
}

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; fill: var(--star); }

.pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #35e276;
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #35e276;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.55); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Barre de confiance */
.trust-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(8, 28, 45, 0.55);
  margin-top: 64px;
  margin-bottom: 56px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  color: var(--ink);
  text-decoration: none;
}
.trust-item + .trust-item { border-left: 1px solid var(--hair); }
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tint);
  display: grid;
  place-items: center;
  flex: none;
}
.trust-icon svg { width: 21px; height: 21px; stroke: var(--primary); }
.trust-item strong {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}
.trust-item small {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
  margin-top: 2px;
}
a.trust-item:hover strong { color: var(--primary); text-decoration: underline; }

@media (max-width: 980px) {
  .hero-content { padding-top: 118px; }
  .trust-bar { grid-template-columns: 1fr 1fr; margin-top: 44px; margin-bottom: 44px; }
  .trust-item + .trust-item { border-left: none; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--hair); }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-lede { font-size: 17.5px; }
  .trust-item { padding: 15px 16px; gap: 10px; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-item strong { font-size: 13.5px; }
  .trust-item small { font-size: 11.5px; }
}

/* ---------- Bande urgence ---------- */
.urgence {
  background: var(--tint);
  color: var(--ink);
  border-top: 1px solid #cfe2ef;
  border-bottom: 1px solid #cfe2ef;
  position: relative;
  overflow: hidden;
}
.urgence::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--sky), var(--primary));
}
.urgence-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}
.urgence-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-deep);
  margin-bottom: 8px;
}
.urgence-tag .pulse-dot { background: #e5552d; width: 9px; height: 9px; }
.urgence-tag .pulse-dot::after { border-color: #e5552d; }
.urgence h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  max-width: 560px;
  color: var(--ink);
}
.urgence p { color: var(--ink-soft); font-size: 15.5px; margin-top: 4px; }
.urgence-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .urgence-actions { width: 100%; flex-direction: column; }
  .urgence-actions .btn { width: 100%; }
}

/* ---------- Cartes services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--hair-cool);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}
.service-card--featured .feat-photo {
  flex: 1.1;
  min-height: 220px;
  overflow: hidden;
}
.service-card--featured .feat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.service-card--featured:hover .feat-photo img { transform: scale(1.03); }
.service-card--featured .feat-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-card--featured::before { display: none; }
.feat-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-deep);
}
.feat-tag::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--primary); }
.service-card--featured h3 { font-size: 24px; }
@media (max-width: 640px) {
  .service-card--featured { grid-row: auto; }
  .service-card--featured .feat-photo { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--hair-cool);
  flex: none;
  transition: background 0.22s ease, border-color 0.22s ease;
}
.service-icon svg { width: 25px; height: 25px; stroke: var(--primary); transition: stroke 0.22s ease; }
.service-card:hover .service-icon { background: var(--primary); border-color: var(--primary); }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-card h3 { font-size: 20.5px; margin-top: 2px; }
.service-card p { font-size: 15.5px; color: var(--ink-soft); flex: 1; line-height: 1.55; }
.service-link {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.service-card:hover .service-link { gap: 12px; }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  /* Cartes compactes horizontales : icône à gauche, texte à droite */
  .service-card:not(.service-card--featured) {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 15px;
    align-items: center;
    padding: 16px 18px;
  }
  .service-card:not(.service-card--featured) .service-icon { grid-column: 1; grid-row: 1 / span 3; width: 50px; height: 50px; align-self: start; }
  .service-card:not(.service-card--featured) h3 { grid-column: 2; font-size: 17.5px; }
  .service-card:not(.service-card--featured) p {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-card:not(.service-card--featured) .service-link { grid-column: 2; font-size: 14px; }
}

/* ---------- Widget WhatsApp ---------- */
.booking {
  background: linear-gradient(130deg, var(--primary-deep) 0%, var(--navy-2) 78%);
}
.booking-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
  padding: 88px 0;
}
.booking .kicker { background: transparent; color: #bfe3f6; }
.booking .kicker::before { background: var(--cyan); }
.booking h2 { color: var(--white); font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.booking-side p { color: #bcd9ec; font-size: 17.5px; margin-bottom: 26px; max-width: 460px; }
.booking-points { list-style: none; display: grid; gap: 14px; }
.booking-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
}
.booking-points svg { width: 22px; height: 22px; flex: none; stroke: var(--cyan); margin-top: 2px; }

.wa-widget {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
  overflow: hidden;
}
.wa-widget-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
}
.wa-widget-head .wa-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: var(--white);
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}
.wa-widget-head .wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-widget-head strong { font-family: var(--font-ui); font-size: 16px; display: block; }
.wa-widget-head span { font-size: 13px; color: #9fe8bc; display: inline-flex; align-items: center; gap: 6px; }
.wa-widget-body { padding: 24px 22px 26px; }

.wa-step { margin-bottom: 20px; }
.wa-step-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 10px;
  display: block;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  border: 1px solid var(--hair-cool);
  background: var(--bg);
  border-radius: 999px;
  padding: 10px 17px;
  min-height: 42px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.chip:hover { background: var(--tint); border-color: var(--sky); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.wa-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wa-field label { font-weight: 600; font-size: 13.5px; display: block; margin-bottom: 6px; }
.wa-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--hair-cool);
  border-radius: 10px;
  background: var(--bg);
}
.wa-field input:focus { outline: 2px solid var(--sky); background: var(--white); }

.wa-preview {
  background: #e9f6ee;
  border: 1px dashed var(--wa-deep);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.2px;
  line-height: 1.55;
  color: #14532d;
  margin: 4px 0 18px;
  white-space: pre-line;
}
.wa-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 12px; }

@media (max-width: 980px) {
  .booking-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .wa-fields { grid-template-columns: 1fr; }
}

/* ---------- Pourquoi nous / stats ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: transparent;
  border: none;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0 0;
}
.why-card .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 58px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
  font-feature-settings: "ss01";
}
.why-card:nth-child(2) .num { color: var(--ink); }
.why-card:nth-child(3) .num { color: var(--primary); }
.why-card:nth-child(4) .num { color: var(--ink); }
.why-card h3 { font-size: 17px; margin-bottom: 7px; }
.why-card p { font-size: 14.8px; color: var(--ink-soft); }

@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; } .why-card .num { font-size: 46px; } }

/* ---------- Process ---------- */
/* Process : frise horizontale, grands chiffres posés sur une ligne (plus de ronds) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 30px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair) 10%, var(--hair) 90%, transparent);
}
.process-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
}
.process-card .step-num {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: auto; height: auto;
  border: none; border-radius: 0;
  background: var(--bg);
  padding-right: 16px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.process-card h3 { font-size: 20px; margin-bottom: 10px; }
.process-card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; max-width: 38ch; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid::before { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; background: var(--hair); }
  .process-card { padding: 22px 0 22px 56px; }
  .process-card .step-num { position: absolute; left: 0; top: 20px; margin: 0; padding: 0; font-size: 34px; background: var(--bg); }
}
.section-alt .process-card .step-num { background: var(--bg-warm); }

/* Services : index éditorial numéroté (remplace les cartes icône) */
.svc-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.svc-head h2 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 500; line-height: 1.04; }
.svc-head p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 780px) { .svc-head { grid-template-columns: 1fr; gap: 14px; align-items: start; margin-bottom: 30px; } }
.svc-index { border-top: 1px solid var(--hair); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1.1fr 1.5fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 26px 10px;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease, padding 0.25s cubic-bezier(0.22,1,0.36,1);
}
.svc-row:hover { background: #fbfdfe; padding-left: 20px; }
.svc-num { font-family: var(--font-display); font-size: 16px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.svc-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.5vw, 29px); line-height: 1.08; }
.svc-name em { font-style: normal; color: var(--primary); }
.svc-desc { font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; }
.svc-go { width: 42px; height: 42px; flex: none; border-radius: 999px; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--primary); transition: background 0.2s ease, color 0.2s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.svc-go svg { width: 18px; height: 18px; }
.svc-row:hover .svc-go { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(4px); }
@media (max-width: 780px) {
  .svc-row { grid-template-columns: auto 1fr auto; gap: 4px 16px; padding: 20px 4px; }
  .svc-num { grid-row: 1; align-self: center; }
  .svc-name { grid-column: 2; }
  .svc-desc { grid-column: 2; grid-row: 2; }
  .svc-go { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 38px; height: 38px; }
}

/* FAQ : deux colonnes asymétriques (remplace le bloc centré) */
.faq-split { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 500; line-height: 1.05; margin-bottom: 16px; }
.faq-aside p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; margin-bottom: 24px; max-width: 34ch; }
.faq-split .faq-list { max-width: none; margin: 0; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; gap: 26px; } .faq-aside { position: static; } }

/* Avis : mur de citations éditorial (remplace le carrousel de cartes) */
.reviews-lead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; margin-bottom: 48px; }
.rscore { display: flex; align-items: center; gap: 18px; }
.rscore-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(56px, 9vw, 92px); line-height: 0.85; color: var(--ink); letter-spacing: -0.01em; }
.rscore-meta { display: flex; flex-direction: column; gap: 5px; }
.rscore-stars { color: var(--star); font-size: 19px; letter-spacing: 3px; }
.rscore-sub { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.reviews-intro { max-width: 42ch; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.reviews-wall { columns: 3 290px; column-gap: 30px; }
.rquote { break-inside: avoid; margin: 0 0 30px; padding-top: 22px; border-top: 1px solid var(--hair); }
.rquote .rq-stars { display: block; color: var(--star); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.rquote blockquote { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.42; color: var(--ink); }
.rquote blockquote::before { content: "“"; color: var(--primary); margin-right: 1px; }
.rquote blockquote::after { content: "”"; color: var(--primary); margin-left: 1px; }
.rquote figcaption { display: flex; flex-direction: column; gap: 2px; }
.rq-name { font-family: var(--font-ui); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.rq-ctx { font-size: 12.5px; color: var(--ink-mute); }
@media (max-width: 900px) { .reviews-wall { columns: 2 250px; } }
@media (max-width: 560px) { .reviews-wall { columns: 1; } .rscore-num { font-size: 64px; } }

/* ---------- Réalisations ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item figure { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 13px 16px;
  font-weight: 600;
  font-size: 14.5px;
  border-top: var(--line);
  background: var(--white);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.reviews { background: var(--white); border-top: var(--line); border-bottom: var(--line); }
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.review-score {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-score .score {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 62px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 350px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
}
.review-card {
  scroll-snap-align: start;
  background: var(--bg);
  border: var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  background: var(--primary);
  flex: none;
}
.review-card:nth-child(3n+2) .review-avatar { background: var(--sky); }
.review-card:nth-child(3n) .review-avatar { background: var(--navy); }
.review-name { font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.review-name small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 12.5px; }
.review-card blockquote { font-size: 15px; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.review-google {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink-soft);
}
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav button {
  width: 48px; height: 48px;
  border: var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.reviews-nav button:hover { background: var(--tint); }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (max-width: 560px) {
  .reviews-actions .btn { width: 100%; }
  .review-track { grid-auto-columns: minmax(260px, 86vw); }
}

.stars-text {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 16px;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.reviews-grid .review-card { background: var(--white); box-shadow: var(--shadow-sm); }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Zone d'intervention ---------- */
.zone-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chip {
  border: var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 17px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(14, 42, 64, 0.04);
}
.zone-chip.zone-main { background: var(--navy); border-color: var(--navy); color: var(--white); }
.zone-chip svg { width: 15px; height: 15px; stroke: var(--sky); flex: none; }
.zone-chip.zone-main svg { stroke: var(--cyan); }
.zone-note {
  margin-top: 22px;
  background: var(--tint);
  border: 1px solid #cfe5f2;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 15px;
}
@media (max-width: 900px) { .zone-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary-deep);
  background: transparent;
  border: 1px solid var(--hair-cool);
  transition: transform 0.2s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--primary); color: var(--white); border-color: var(--primary); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* ---------- Bande CTA finale ---------- */
.cta-final {
  background:
    radial-gradient(640px 300px at 80% 0%, rgba(69, 192, 233, 0.18), transparent 62%),
    linear-gradient(130deg, var(--primary-deep) 0%, var(--navy-2) 80%);
  color: var(--white);
}
.cta-final-inner {
  text-align: center;
  padding: 78px 0;
}
.cta-final h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 14px; }
.cta-final p { font-size: 18px; max-width: 560px; margin: 0 auto 30px; color: #bcd9ec; }
.cta-final .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-final .btn-call { background: var(--white); color: var(--primary-deep); border-color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.cta-final .btn-call:hover { background: var(--tint); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: #b7cde0; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer h3 {
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: 14.8px; margin-top: 14px; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--cyan); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid #1c4366;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}
@media (max-width: 1080px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px 36px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Barre mobile fixe ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: var(--line);
  box-shadow: 0 -8px 28px rgba(14, 42, 64, 0.12);
}
.mobile-bar .btn { font-size: 16.5px; padding: 14px 10px; min-height: 52px; }
@media (max-width: 900px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 84px; }
}

/* ---------- Bulle WhatsApp desktop ---------- */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 6px 22px rgba(31, 174, 90, 0.45);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 900px) { .wa-float { display: none; } }

/* ---------- Pages internes ---------- */
.page-hero {
  background:
    radial-gradient(640px 380px at 90% -20%, rgba(69, 192, 233, 0.20), transparent 65%),
    linear-gradient(130deg, var(--navy) 0%, var(--navy-2) 85%);
  color: var(--white);
  padding: 164px 0 68px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .page-hero { padding: 112px 0 56px; }
}
.page-hero .kicker { display: none; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 13.5px;
  margin-bottom: 26px;
  color: #8fb0cc;
}
.breadcrumb a { color: #c4dcef; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #45688c; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); max-width: 780px; margin-bottom: 18px; }
.page-hero .hero-lede { color: #bcd9ec; }
.page-hero .hero-cta { margin-bottom: 0; }
.page-hero .btn-call { background: var(--white); color: var(--primary-deep); border-color: var(--white); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }
.page-hero .btn-call:hover { background: var(--tint); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-photo {
  border-radius: var(--radius);
  border: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.3;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(25px, 3.4vw, 34px); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.check-list { list-style: none; display: grid; gap: 13px; margin: 22px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; }
.check-list svg { width: 22px; height: 22px; flex: none; stroke: var(--wa-deep); margin-top: 2px; }

.content-block { max-width: 800px; }
.content-block h2 { font-size: 30px; margin: 40px 0 16px; font-weight: 500; }
.content-block p { color: var(--ink-soft); margin-bottom: 16px; }
.content-block a, .article-body a, .split p a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17, 93, 141, 0.35);
  transition: text-decoration-color 0.15s ease;
}
.content-block a:hover, .article-body a:hover, .split p a:hover { text-decoration-color: var(--primary); }
.content-block ul { margin: 0 0 14px 22px; color: var(--ink-soft); }
.content-block li { margin-bottom: 7px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  margin-bottom: 22px;
}
.contact-card h3 { font-size: 19px; margin-bottom: 14px; }
.contact-card ul { list-style: none; display: grid; gap: 13px; font-size: 15.8px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card li svg { width: 20px; height: 20px; stroke: var(--primary); flex: none; margin-top: 3px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--hair); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child td { border-bottom: none; }
.map-frame {
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
}
.map-frame iframe { display: block; width: 100%; height: 330px; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Révélation au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Finitions
   ============================================================ */

::selection { background: var(--primary); color: var(--white); }

h1, h2, h3 { text-wrap: balance; }
.hero-lede, .section-head p { text-wrap: pretty; }

.hero h1 { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28); }
.hero-lede { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.30); }

/* Micro-mouvement des icônes de boutons et liens */
.btn svg, .service-link svg { transition: transform 0.18s ease; }
.btn:hover svg { transform: scale(1.08); }
.service-card:hover .service-link svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }

/* FAQ : ouverture animée */
.faq-item summary::after { transition: transform 0.22s ease, background 0.18s ease, color 0.18s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { animation: faqOpen 0.28s ease; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
.faq-item summary:hover { color: var(--primary-deep); }

/* Avis : carte vivante */
.review-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.reviews-grid .review-card:hover { box-shadow: var(--shadow); }

/* Barre de confiance : survol de l'item Google */
a.trust-item { transition: background 0.15s ease; border-radius: var(--radius); }
a.trust-item:hover { background: #f6fafd; }

/* Champs du tunnel */
.wa-field input { transition: border-color 0.15s ease, background 0.15s ease; }
.wa-field input:hover { border-color: var(--sky); }
.chip:active { transform: scale(0.97); }

/* Lightbox galerie */
.gallery-item.zoomable { cursor: zoom-in; }
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  width: fit-content;
  height: fit-content;
  max-width: min(94vw, 1040px);
  margin: auto;
  inset: 0;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(6, 22, 37, 0.86);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.lightbox figure { margin: 0; }
.lightbox img {
  display: block;
  width: auto;
  max-width: min(94vw, 1000px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  margin: 0 auto;
}
.lightbox figcaption {
  color: #d9e8f4;
  text-align: center;
  padding: 14px 10px 4px;
  font-weight: 600;
  font-size: 15.5px;
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
}
@media (max-width: 640px) {
  .lightbox-close { top: 8px; right: 8px; }
}

/* Liens connexes entre services */
.related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.related-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-right: 4px;
}
.related a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(14, 42, 64, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.related a:hover { border-color: var(--sky); background: var(--tint); }
.related a svg { width: 14px; height: 14px; stroke: var(--primary); flex: none; }

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.post-card:hover figure img { transform: scale(1.04); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-tag {
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-deep);
  background: var(--tint);
  border-radius: 999px;
  padding: 5px 12px;
}
.post-card h3 { font-size: 19px; line-height: 1.25; }
.post-card p { font-size: 14.8px; color: var(--ink-soft); flex: 1; }
.post-meta { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.post-card .service-link { color: var(--primary); margin-top: 2px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
.article-meta .post-tag { color: var(--white); background: var(--primary); }
.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  aspect-ratio: 16 / 9;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 17.5px; }
.article-body h2 { font-size: 26px; margin: 36px 0 14px; }
.article-body h3 { font-size: 20px; margin: 26px 0 10px; }
.article-body p { color: var(--ink-soft); margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-callout {
  background: var(--tint);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.article-callout p { margin: 0; color: var(--ink); font-weight: 600; }
.article-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 36px 0 10px;
  text-align: center;
}
.article-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.article-cta p { color: #bcd9ec; margin-bottom: 20px; }
.article-cta .hero-cta { justify-content: center; }
.article-cta .btn-call { background: var(--white); color: var(--primary-deep); border-color: var(--white); }
.author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 34px;
}
.author-card img { width: 54px; height: 54px; border-radius: 12px; flex: none; }
.author-card strong { font-family: var(--font-ui); display: block; font-size: 16px; }
.author-card span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Avant / Après (comparateur) ---------- */
.ba-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: center;
}
.ba {
  position: relative;
  --pos: 52%;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(19,36,46,0.10);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hair);
  box-shadow: 0 6px 18px rgba(8,28,45,0.30);
  display: grid;
  place-items: center;
  color: var(--primary);
  pointer-events: none;
}
.ba-handle svg { width: 22px; height: 22px; }
.ba-tag {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: rgba(10, 41, 65, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 7px 15px;
  pointer-events: none;
}
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; }
.ba:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.ba-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.ba-hint svg { width: 18px; height: 18px; stroke: var(--primary); }
@media (max-width: 900px) {
  .ba-wrap { grid-template-columns: 1fr; gap: 30px; }
  .ba { aspect-ratio: 4 / 3.4; }
}

/* ---------- Compteur animé ---------- */
.count[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- Galerie éditoriale (tuile vedette) ---------- */
.gallery-grid .gallery-item--feature {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid .gallery-item--feature figure { aspect-ratio: auto; height: 100%; }
.gallery-grid .gallery-item--feature figcaption { font-size: 16px; }
@media (max-width: 900px) {
  .gallery-grid .gallery-item--feature { grid-column: span 2; grid-row: auto; }
  .gallery-grid .gallery-item--feature figure { aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .gallery-grid .gallery-item--feature { grid-column: auto; }
}

/* ---------- Apparition en fondu des images ---------- */
.fade-img { opacity: 0; transition: opacity 0.7s ease; }
.fade-img.loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fade-img { opacity: 1; } }

/* ---------- Configurateur de devis ---------- */
.devis-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  align-items: start;
}
.devis-step { margin-bottom: 36px; }
.devis-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.devis-step-num {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  display: grid;
  place-items: center;
}
.devis-step-head h2 { font-size: 22px; font-family: var(--font-ui); font-weight: 700; letter-spacing: -0.01em; }

.presta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.presta {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 17px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.presta:hover { border-color: var(--hair-cool); }
.presta.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-sm); background: #fbfdfe; }
.presta-ico {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--hair-cool);
  display: grid;
  place-items: center;
  background: var(--tint);
}
.presta-ico svg { width: 21px; height: 21px; stroke: var(--primary); }
.presta.active .presta-ico { background: var(--primary); border-color: var(--primary); }
.presta.active .presta-ico svg { stroke: var(--white); }
.presta strong { font-family: var(--font-ui); font-weight: 700; font-size: 15.5px; display: block; }
.presta span { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 560px) { .presta-grid { grid-template-columns: 1fr; } }

.devis-field { margin-bottom: 16px; }
.devis-field > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.devis-field input[type="text"],
.devis-field input[type="email"],
.devis-field input[type="tel"],
.devis-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--hair-cool);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}
.devis-field input:focus, .devis-field select:focus { outline: 2px solid var(--sky); }
.devis-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .devis-fields-2 { grid-template-columns: 1fr; } }

.opt-list { display: grid; gap: 10px; }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.opt:hover { border-color: var(--hair-cool); }
.opt.active { border-color: var(--primary); background: #fbfdfe; }
.opt-check {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 6px;
  border: 1.5px solid var(--hair-cool);
  display: grid;
  place-items: center;
  color: transparent;
}
.opt.active .opt-check { background: var(--primary); border-color: var(--primary); color: var(--white); }
.opt-check svg { width: 14px; height: 14px; }
.opt-label { flex: 1; font-weight: 600; font-size: 15px; }
.opt-price { font-family: var(--font-ui); font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }

.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--primary); }
.range-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--primary);
  min-width: 90px;
}

/* Récapitulatif sticky */
.devis-summary {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.devis-summary-head {
  background: linear-gradient(130deg, var(--primary-deep), var(--navy-2));
  color: var(--white);
  padding: 20px 24px;
}
.devis-summary-head strong { font-family: var(--font-ui); font-weight: 700; font-size: 17px; display: block; }
.devis-summary-head span { font-size: 13px; color: #bcd9ec; }
.devis-summary-body { padding: 20px 24px 24px; }
.sum-lines { display: grid; gap: 11px; margin-bottom: 16px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.sum-line span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-line-empty { color: var(--ink-soft); font-style: italic; font-size: 14.5px; }
.sum-sep { height: 1px; background: var(--hair); margin: 14px 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; }
.sum-total .lbl { font-family: var(--font-ui); font-weight: 700; font-size: 16px; }
.sum-total .val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.sum-acompte {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.sum-acompte strong { color: var(--ink); }
.devis-actions { display: grid; gap: 10px; margin-top: 22px; }
.devis-actions .btn { width: 100%; }
.devis-actions .btn[disabled] { opacity: 0.5; pointer-events: none; }
.devis-note {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.devis-disclaimer {
  background: var(--tint);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 16px;
}
@media (max-width: 920px) {
  .devis-grid { grid-template-columns: 1fr; gap: 28px; }
  .devis-summary { position: static; }
}

/* Toast confirmation devis */
.devis-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-2);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 14px 40px rgba(8,28,45,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.devis-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.devis-toast svg { width: 19px; height: 19px; stroke: #6ff0a6; }
@media (max-width: 900px) { .devis-toast { bottom: 92px; } }

/* ---- Devis : étape photos ---- */
.devis-opt { font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); background: var(--bg-warm); border: 1px solid var(--hair); border-radius: 999px; padding: 3px 9px; margin-left: 8px; vertical-align: middle; }
.devis-hint { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: -2px 0 14px; }
.photo-drop { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border: 1.5px dashed var(--hair-cool); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; text-align: left; transition: border-color 0.15s ease, background 0.15s ease; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--primary); background: #fbfdfe; }
.photo-drop.full { opacity: 0.5; pointer-events: none; }
.photo-drop-ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.photo-drop-ico svg { width: 22px; height: 22px; }
.photo-drop-txt { display: flex; flex-direction: column; line-height: 1.3; }
.photo-drop-txt strong { font-weight: 700; font-size: 15px; }
.photo-drop-txt span { font-size: 13px; color: var(--ink-soft); }
.photo-count { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--primary); white-space: nowrap; }
.photo-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-grid:empty { margin-top: 0; }
.photo-thumb { position: relative; width: 84px; height: 84px; border-radius: var(--radius-sm); background-size: cover; background-position: center; border: 1px solid var(--hair); }
.photo-rm { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 999px; border: none; background: var(--navy); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.photo-rm:hover { background: var(--navy-2); }

.btn-ghost { background: transparent; border-color: var(--hair-cool); box-shadow: none; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--bg-warm); color: var(--ink); }

/* ---- Devis : écran de confirmation ---- */
.confirm-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); }
.confirm-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; animation: confirmIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes confirmIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.confirm-head { display: flex; gap: 18px; align-items: flex-start; padding: 28px clamp(20px,4vw,40px); border-bottom: 1px solid var(--hair); }
.confirm-check { flex: none; width: 46px; height: 46px; border-radius: 999px; background: rgba(31,174,90,0.12); color: var(--wa-deep); display: grid; place-items: center; }
.confirm-check svg { width: 24px; height: 24px; }
.confirm-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px,3vw,32px); margin: 6px 0 8px; }
.confirm-head p { color: var(--ink-soft); font-size: 15px; max-width: 62ch; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,36px); padding: clamp(22px,3.5vw,34px) clamp(20px,4vw,40px); }
.confirm-recap { align-self: start; border: 1px solid var(--hair); border-radius: var(--radius-sm); overflow: hidden; }
.rc-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 16px; font-size: 14.5px; border-bottom: 1px solid var(--hair); }
.rc-row:last-child { border-bottom: none; }
.rc-row span:first-child { color: var(--ink-soft); }
.rc-row span:last-child { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.confirm-next h3 { font-family: var(--font-ui); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 13px; margin: 0 0 20px; padding: 0; }
.next-steps li { position: relative; padding-left: 38px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); font-family: var(--font-ui); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.confirm-actions { display: grid; gap: 10px; }
.confirm-actions .btn { width: 100%; }
.lead-preview { margin: 0 clamp(20px,4vw,40px) clamp(24px,3.5vw,34px); padding: clamp(20px,3vw,28px); border: 1px dashed var(--hair-cool); border-radius: var(--radius-sm); background: linear-gradient(180deg, #fbfdfe, var(--white)); }
.lead-preview-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lead-preview-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.lead-badge { font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-deep); background: var(--tint); border-radius: 999px; padding: 4px 10px; }
.lead-preview > p { color: var(--ink-soft); font-size: 14px; max-width: 72ch; margin-bottom: 16px; }
.lead-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius-sm); overflow: hidden; }
.lead-row { background: var(--white); padding: 11px 14px; display: flex; flex-direction: column; gap: 3px; }
.lead-row > span { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.lead-row strong { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.history-wrap { margin-top: 24px; }
.history-wrap .kicker { display: block; margin-bottom: 12px; }
.history-list { display: grid; gap: 8px; }
.hist-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; }
.hist-ref { font-family: var(--font-ui); font-weight: 700; color: var(--navy); }
.hist-meta { color: var(--ink-soft); }
.hist-ttc { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) { .confirm-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .lead-fields { grid-template-columns: 1fr; }
  .hist-row { grid-template-columns: 1fr auto; }
  .hist-meta { grid-column: 1 / -1; order: 3; }
}

/* Impression */
@media print {
  .site-head, .mobile-bar, .wa-float, .stripes, .cta-final, .booking, .hero-quote, .hero-drop { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .page-hero, .hero { background: #fff !important; color: #000; padding-top: 20px; }
  .page-hero h1, .hero h1 { color: #000; text-shadow: none; }
}

/* ============================================================
   MAJ 20/06/26 — Conversion : hero 2 colonnes (logo en fond +
   devis rapide), grille tarifaire transparente, bandeau
   assureurs agréés, zone élargie « de Versailles à Cergy ».
   Inspiration système mesdepanneurs.fr.
   ============================================================ */

/* ----- Hero : fond navy + filigrane goutte (logo en fond) ----- */
.hero {
  background:
    radial-gradient(940px 540px at 88% -12%, rgba(69, 192, 233, 0.20), transparent 60%),
    linear-gradient(135deg, #0c3251 0%, var(--navy-2) 52%, #07233a 100%);
}
.hero-bg::after { content: none; }
.hero-drop {
  position: absolute;
  width: clamp(420px, 50vw, 740px);
  height: auto;
  left: -7%;
  top: 50%;
  transform: translateY(-44%);
  opacity: 0.07;
  fill: var(--cyan);
  pointer-events: none;
}
.hero-drop-hl { fill: #ffffff; opacity: 0.5; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
  padding: 166px 0 58px;
}
.hero-inner .hero-content { padding-top: 0; max-width: 600px; }

/* Carte « devis rapide » du hero */
.hero-quote {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 36px 84px -30px rgba(3, 16, 28, 0.78);
  overflow: hidden;
  animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
@media (prefers-reduced-motion: reduce) { .hero-quote { animation: none; } }
.hq-head {
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(120deg, var(--primary-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 15px 20px;
}
.hq-avatar {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 11px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.hq-avatar img { width: 100%; height: 100%; object-fit: contain; }
.hq-ttl { line-height: 1.2; }
.hq-ttl strong { font-family: var(--font-ui); font-weight: 700; font-size: 16.5px; display: block; }
.hq-ttl span { font-size: 12.5px; color: #bfe3f6; display: inline-flex; align-items: center; gap: 6px; }
.hq-ttl .pulse-dot { width: 8px; height: 8px; }
.hq-body { padding: 18px 20px 20px; }
.hq-body .wa-step { margin-bottom: 14px; }
.hq-body .wa-step-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 9px; }
.hq-body .wa-step-label b { color: var(--primary); font-weight: 700; }
.hq-body .chip-row { gap: 7px; }
.hq-body .chip { font-size: 13.5px; padding: 8px 13px; min-height: 38px; }
.hq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 14px; }
.hq-fields label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); display: block; }
.hq-fields input {
  width: 100%;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 11px 13px;
  border: 1px solid var(--hair-cool);
  border-radius: 10px;
  background: var(--bg);
}
.hq-fields input:focus { outline: 2px solid var(--sky); background: #fff; }
.hero-quote .btn-wa { width: 100%; }
.hq-alt { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 11px; }
.hq-alt a { font-weight: 700; color: var(--primary-deep); text-decoration: none; }
.hq-alt a:hover { text-decoration: underline; }
.hq-quiz {
  display: flex; align-items: center; gap: 9px;
  margin-top: 11px;
  padding: 11px 14px;
  border: 1px solid var(--hair-cool);
  border-radius: 10px;
  background: var(--bg);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-deep);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hq-quiz:hover { background: var(--tint); border-color: var(--sky); }
.hq-quiz svg { width: 17px; height: 17px; stroke: var(--primary); flex: none; }
.hq-quiz .hq-quiz-go { margin-left: auto; transition: transform 0.15s ease; }
.hq-quiz:hover .hq-quiz-go { transform: translateX(3px); }
.hq-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 13px; padding-top: 13px;
  border-top: 1px solid var(--hair);
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
}
.hq-trust svg { width: 16px; height: 16px; stroke: var(--wa-deep); flex: none; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 112px 0 40px; gap: 26px; }
  .hero-inner .hero-content { max-width: none; }
  .hero-drop { opacity: 0.05; transform: translateY(-50%); }
}
@media (max-width: 560px) {
  .hq-fields { grid-template-columns: 1fr; gap: 9px; }
}

/* ----- Tarifs transparents ----- */
.tarifs-inner { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.tarifs-aside { position: sticky; top: 106px; }
.tarifs-aside h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 500; line-height: 1.05; margin-bottom: 16px; }
.tarifs-aside > p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; margin-bottom: 20px; max-width: 38ch; }
.tarifs-reassure { list-style: none; display: grid; gap: 11px; }
.tarifs-reassure li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tarifs-reassure svg { width: 19px; height: 19px; stroke: var(--wa-deep); flex: none; margin-top: 2px; }
.tarifs-list { border-top: 1px solid var(--hair); }
.tarif-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  align-items: center;
  padding: 21px 6px;
  border-bottom: 1px solid var(--hair);
  transition: background 0.18s ease, padding 0.22s cubic-bezier(0.22,1,0.36,1);
}
.tarif-row:hover { background: #fbfdfe; padding-left: 14px; }
.tarif-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.1; }
.tarif-desc { font-size: 13.8px; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }
.tarif-price { text-align: right; white-space: nowrap; }
.tarif-price .from { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); font-weight: 700; }
.tarif-price .amount { font-family: var(--font-display); font-weight: 600; font-size: clamp(25px, 3vw, 33px); color: var(--primary); letter-spacing: -0.01em; }
.tarif-price .ht { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.tarif-price .quote { font-family: var(--font-ui); font-weight: 700; font-size: 17px; color: var(--navy); }
.tarif-badges { grid-column: 1 / -1; display: flex; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.tarif-badge { font-size: 12px; font-weight: 700; color: var(--primary-deep); background: var(--tint); border-radius: 999px; padding: 4px 11px; }
.tarifs-foot { margin-top: 20px; font-size: 13.2px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 860px) {
  .tarifs-inner { grid-template-columns: 1fr; gap: 26px; }
  .tarifs-aside { position: static; }
}

/* ----- Bandeau assureurs agréés ----- */
.insurers { background: var(--white); border-top: var(--line); border-bottom: var(--line); }
.insurers-inner { padding: 54px 0; }
.insurers-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 26px; margin-bottom: 28px; }
.insurers-head h2 { font-size: clamp(21px, 2.7vw, 29px); font-weight: 500; max-width: 24ch; }
.insurers-head p { color: var(--ink-soft); font-size: 15px; max-width: 40ch; }
.insurers-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.insurer {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: #67767f;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.insurer img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.insurer-mark img { max-height: 62px; }
.insurer:hover { border-color: var(--sky); box-shadow: 0 10px 22px -12px rgba(14,42,64,0.42); transform: translateY(-2px); }
.insurers-note { margin-top: 20px; font-size: 13.3px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.insurers-note svg { width: 16px; height: 16px; stroke: var(--primary); flex: none; }
@media (max-width: 900px) { .insurers-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .insurers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .insurer { font-size: 13.5px; min-height: 54px; } }

/* ----- Zone élargie : sous-secteurs ----- */
.zone-groups { display: grid; gap: 20px; }
.zone-group h3 {
  font-family: var(--font-ui);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-deep);
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.zone-group h3::before { content: ""; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; flex: none; }
.zone-time {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid #cfe5f2;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--primary-deep);
}
.zone-time svg { width: 17px; height: 17px; stroke: var(--primary); flex: none; }

/* ----- Questionnaire / diagnostic guidé ----- */
.quiz-wrap { max-width: 760px; margin: 0 auto; }
.quiz {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quiz-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.quiz-back { width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px solid var(--hair-cool); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background 0.15s ease, border-color 0.15s ease; }
.quiz-back:hover { background: var(--tint); border-color: var(--sky); }
.quiz-back svg { width: 18px; height: 18px; }
.quiz-back[hidden] { display: none; }
.quiz-progress { flex: 1; }
.quiz-progress .bar { height: 6px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.quiz-progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--primary)); border-radius: 99px; transition: width 0.4s cubic-bezier(0.22,1,0.36,1); }
.quiz-progress .lbl { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-top: 7px; display: block; }
.quiz-body { padding: clamp(20px, 3.2vw, 34px); }
.quiz-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 30px); line-height: 1.1; margin-bottom: 6px; }
.quiz-sub { color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin-bottom: 22px; max-width: 52ch; }

.quiz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quiz-dom { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; padding: 16px 16px 15px; border: 1px solid var(--hair); border-radius: 14px; background: var(--white); cursor: pointer; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.quiz-dom:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: var(--shadow-sm); }
.quiz-dom-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--tint); display: grid; place-items: center; color: var(--primary); transition: background 0.18s ease, color 0.18s ease; }
.quiz-dom:hover .quiz-dom-ico { background: var(--primary); color: #fff; }
.quiz-dom-ico svg { width: 23px; height: 23px; }
.quiz-dom strong { font-family: var(--font-ui); font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.quiz-dom span { font-size: 12.8px; color: var(--ink-soft); line-height: 1.35; }

.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border: 1px solid var(--hair); border-radius: 12px; background: var(--white); cursor: pointer; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink); transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.quiz-opt:hover { border-color: var(--primary); background: #fbfdfe; transform: translateX(3px); }
.quiz-opt .o-go { margin-left: auto; color: var(--primary); flex: none; width: 22px; height: 22px; opacity: 0.5; transition: opacity 0.15s ease, transform 0.15s ease; }
.quiz-opt:hover .o-go { opacity: 1; transform: translateX(2px); }

.quiz-recap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.quiz-recap .rc { font-size: 13px; font-weight: 600; color: var(--primary-deep); background: var(--tint); border: 1px solid #cfe5f2; border-radius: 999px; padding: 6px 12px; }

.quiz-form { display: grid; gap: 14px; }
.quiz-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.quiz-field input, .quiz-field select, .quiz-field textarea { width: 100%; font-family: var(--font-body); font-size: 16px; padding: 13px 14px; border: 1px solid var(--hair-cool); border-radius: 10px; background: var(--bg); color: var(--ink); }
.quiz-field input:focus, .quiz-field select:focus, .quiz-field textarea:focus { outline: 2px solid var(--sky); background: #fff; }
.quiz-field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.quiz-field.err input { border-color: #d8453c; background: #fdf5f4; }
.quiz-submit { margin-top: 4px; }
.quiz-alt { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.quiz-alt a { font-weight: 700; color: var(--primary-deep); text-decoration: none; }
.quiz-alt a:hover { text-decoration: underline; }

.quiz-confirm { text-align: center; }
.quiz-confirm .ico { width: 60px; height: 60px; border-radius: 50%; background: rgba(31,174,90,0.12); color: var(--wa-deep); display: grid; place-items: center; margin: 0 auto 16px; }
.quiz-confirm .ico svg { width: 30px; height: 30px; }
.quiz-confirm h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 30px); margin-bottom: 10px; }
.quiz-confirm > p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 4px; }
.quiz-lead { text-align: left; border: 1px dashed var(--hair-cool); border-radius: 12px; background: linear-gradient(180deg, #fbfdfe, #fff); padding: 18px 20px; margin: 20px 0; }
.quiz-lead h3 { font-size: 13.5px; font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 12px; }
.quiz-lead dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 14.5px; margin: 0; }
.quiz-lead dt { color: var(--ink-soft); }
.quiz-lead dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.quiz-confirm .acts { display: grid; gap: 10px; max-width: 400px; margin: 18px auto 0; }
.quiz-demo { font-size: 12.5px; color: var(--ink-soft); margin-top: 16px; line-height: 1.5; }

@media (max-width: 680px) {
  .quiz-grid { grid-template-columns: 1fr 1fr; }
  .quiz-form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .quiz-grid { grid-template-columns: 1fr; } }
.quiz { animation: quizIn 0.28s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz { animation: none; } }

/* ============================================================
   MAJ 20/06/26 (soir) — Header pro à sous-menus + pages de
   contenu sans gros hero (header solide + intro compacte)
   ============================================================ */

/* ----- Sous-menus du header ----- */
.nav-item { position: relative; display: flex; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  background: none; border: none; cursor: pointer;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-sub-toggle svg { width: 14px; height: 14px; transition: transform 0.2s ease; opacity: 0.8; }
.nav-item:hover .nav-sub-toggle, .nav-sub-toggle:hover, .nav-item:focus-within .nav-sub-toggle { color: #fff; }
.nav-sub-toggle[aria-current="page"] { color: #fff; border-bottom-color: var(--cyan); }

/* ============================================================
   MAJ 20/06/26 — correctifs audit (mobile, accessibilité,
   cohérence, perf, maillage)
   ============================================================ */

/* Mobile : cibles tactiles >= 44px sur les chips */
.chip { min-height: 44px; }
.hq-body .chip { min-height: 44px; padding: 10px 14px; }

/* Mobile : ancres calées sur le header sans topbar */
@media (max-width: 900px) { html { scroll-padding-top: 80px; } }

/* Bande de réassurance de la page diagnostic (vraie classe, responsive) */
.quiz-reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 26px auto 0; }
@media (max-width: 600px) { .quiz-reassure { grid-template-columns: 1fr; } }

/* Mur d'assureurs : rangée orpheline centrée + échelles plus homogènes */
.insurers-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.insurer { flex: 1 1 150px; max-width: 208px; }
.insurer-mark img { max-height: 52px; }
@media (max-width: 560px) {
  .insurers-grid { gap: 10px; }
  .insurer { flex: 1 1 40%; }
  .insurer-mark img { max-height: 40px; }
}

/* Lien diagnostic dans le CTA final des pages services */
.cta-final-alt { margin-top: 18px; font-size: 14.5px; color: #bcd9ec; }
.cta-final-alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-final-alt a:hover { color: var(--cyan); }

/* Champs du quiz : libellé enveloppant -> espacer le contrôle imbriqué */
.quiz-field label input, .quiz-field label select, .quiz-field label textarea { margin-top: 6px; }

/* ----- Galerie filtrable par réalisation ----- */
.galerie-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.galerie-filters button {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.galerie-filters button:hover { border-color: var(--sky); color: var(--primary-deep); }
.galerie-filters button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.galerie-filters .gf-count { font-weight: 600; opacity: 0.6; margin-left: 4px; }
.galerie-empty { color: var(--ink-soft); font-size: 16px; padding: 30px 0; }
.gallery-item { animation: galIn 0.35s ease both; }
@keyframes galIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gallery-item { animation: none; } }

/* ----- Vidéo de fond du hero (Pexels) ----- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
/* Voile navy par-dessus la vidéo : sombre à gauche (texte blanc), s'éclaircit à droite */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(102deg, rgba(7,30,50,0.95) 0%, rgba(8,35,58,0.9) 36%, rgba(9,40,66,0.68) 64%, rgba(9,40,66,0.5) 100%),
    linear-gradient(180deg, rgba(7,30,50,0.25) 0%, rgba(7,30,50,0) 28%, rgba(7,30,50,0.4) 100%);
}
@media (max-width: 980px) {
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7,30,50,0.78) 0%, rgba(8,35,58,0.7) 45%, rgba(9,40,66,0.82) 100%);
  }
}
.nav-item:hover .nav-sub-toggle svg, .nav-item.open .nav-sub-toggle svg, .nav-item:focus-within .nav-sub-toggle svg { transform: rotate(180deg); }

.nav-sub {
  position: absolute; top: 100%; left: 50%;
  min-width: 256px;
  background: #fff; border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: 0 26px 54px -18px rgba(8, 28, 45, 0.5);
  padding: 8px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-sub::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--hair); border-top: 1px solid var(--hair);
  transform: translateX(-50%) rotate(45deg);
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub, .nav-item.open .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 13px; border-radius: 9px;
  font-size: 14.8px; font-weight: 700; color: var(--ink);
  border-bottom: none !important; white-space: nowrap;
}
.nav-sub a small { font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
.nav-sub a:hover { background: var(--tint); color: var(--primary-deep); }
.nav-sub a:hover small { color: var(--primary-deep); }

/* ----- Header solide par défaut (pages de contenu) ----- */
.head-solid .site-head .header {
  background: rgba(9, 37, 61, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(4, 18, 31, 0.28);
}

/* ----- Intro compacte des pages de contenu (remplace le gros hero) ----- */
.page-intro { padding: 132px 0 0; }
.page-intro .breadcrumb { color: var(--ink-soft); margin-bottom: 14px; }
.page-intro .breadcrumb a { color: var(--primary-deep); }
.page-intro .breadcrumb li + li::before { color: var(--hair); }
.page-intro h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.018em; margin-bottom: 12px; max-width: 28ch; }
.page-intro .intro-lede { color: var(--ink-soft); font-size: 17px; line-height: 1.55; max-width: 64ch; }
@media (max-width: 900px) { .page-intro { padding-top: 96px; } }

/* sous-menus en accordéon sur mobile */
@media (max-width: 980px) {
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-sub-toggle {
    width: 100%; justify-content: space-between;
    color: var(--white); font-weight: 600; font-size: 16.5px;
    padding: 15px 14px; border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-sub-toggle svg { width: 18px; height: 18px; opacity: 0.7; }
  .nav-sub {
    position: static; transform: none; min-width: 0;
    background: transparent; border: none; box-shadow: none;
    padding: 2px 0 8px 14px; margin: 0;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-sub::before { display: none; }
  .nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { display: none; transform: none; }
  .nav-item.open .nav-sub { display: grid; transform: none; }
  .nav-sub a { color: rgba(255, 255, 255, 0.82); padding: 12px 12px; font-size: 15.5px; border-radius: 9px; }
  .nav-sub a small { color: rgba(255, 255, 255, 0.5); }
  .nav-sub a:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
}
