/* =========================================================
   Dumont Rénovation — feuille de style principale
   ========================================================= */

/* ---------- Polices (auto-hébergées, RGPD) ---------- */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Variables ---------- */
:root {
  color-scheme: light only;
  --navy: #002654;
  --navy-2: #0b3368;
  --blue: #0055a4;
  --blue-light: #c5d7ee;
  --red: #ef4135;
  --red-dark: #d32f24;

  --ink: #14181f;
  --muted: #5b6576;
  --line: #e4e2db;
  --bg: #ffffff;
  --bg-alt: #f7f6f2;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 38, 84, .06), 0 8px 24px rgba(0, 38, 84, .06);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons (pilules) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .95rem/1 "Poppins", sans-serif;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: var(--bg-alt); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 500; color: var(--blue);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { width: 264px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: .925rem; color: var(--muted); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--navy); background: var(--bg-alt); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .925rem; color: var(--navy); text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
}
.header-phone:hover { background: var(--bg-alt); }
.header-phone svg { width: 18px; height: 18px; fill: var(--red); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 50%; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero-text { text-align: center; max-width: 900px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); letter-spacing: -0.03em; }
.hero .lead { margin: 22px auto 0; max-width: 640px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero-buttons { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Cartes services */
.services { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--bg-alt); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 22px 22px 26px; }
.service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service-label { font-size: .85rem; color: var(--muted); }
.service-card h2 { font-size: 1.2rem; margin-top: 2px; }
.service-list { margin-top: 16px; display: grid; gap: 6px; }
.service-list li { position: relative; padding-left: 20px; font-size: .925rem; color: var(--muted); }
.service-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-light); box-shadow: inset 0 0 0 2px var(--blue); }

/* ---------- Bandeau confiance ---------- */
.trust { border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; color: var(--navy); font-weight: 500; }
.trust-item span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-intro { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Avant / après ---------- */
.ba-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: start; }
.ba-side { display: grid; gap: 20px; }
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
figcaption strong { color: var(--navy); font-weight: 500; }

.ba-slider {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); background: #ddd;
  user-select: none; touch-action: pan-y;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.25);
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 1.1rem; letter-spacing: 2px;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-handle::after { outline: 3px solid var(--blue); outline-offset: 2px; }

.ba-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(20,24,31,.72); color: #fff; font-size: .8rem; font-weight: 500;
  pointer-events: none;
}
.ba-tag-after { background: var(--navy); }
.ba-slider .ba-tag-after { left: auto; right: 14px; }
.ba-tag-right { left: auto; right: 14px; }

.ba-card { background: #fff; border-radius: var(--radius); padding: 12px 12px 16px; }
.ba-card figcaption { padding-inline: 6px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-pair > div, .ba-single { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-pair .ba-tag { top: 10px; left: 10px; }
.ba-single img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { padding: 28px 24px; border-top: 3px solid var(--navy); background: var(--bg-alt); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.steps li:nth-child(2) { border-top-color: var(--blue); }
.steps li:nth-child(3) { border-top-color: var(--blue-light); }
.steps li:nth-child(4) { border-top-color: var(--red); }
.step-num { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { font-size: .925rem; color: var(--muted); }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.zone-text p:not(.eyebrow) { margin: 16px 0 28px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .9rem; color: var(--navy);
}
.chips li:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Avis ---------- */
.reviews { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 620px; }
.cta p { margin-top: 12px; color: rgba(255,255,255,.75); max-width: 560px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg-alt); padding: 64px 0 24px; font-size: .925rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand img { width: 190px; }
.flag-bar { display: flex; width: 120px; height: 4px; margin-top: 18px; }
.flag-bar span { flex: 1; }
.flag-bar span:nth-child(1) { background: var(--blue); }
.flag-bar span:nth-child(2) { background: #d5dce6; }
.flag-bar span:nth-child(3) { background: var(--red); }
.site-footer h3 { font-size: .85rem; font-weight: 500; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; color: var(--muted); }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--navy); }
.footer-contact a[href^="tel"] { color: var(--navy); font-weight: 500; font-size: 1.05rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: var(--muted);
}

/* ---------- Bouton d'appel mobile ---------- */
.mobile-call { display: none; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* =========================================================
   Pages intérieures (Couverture, Façade, Nettoyage…)
   ========================================================= */

/* En-tête de page */
.page-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
.page-hero .lead { margin-top: 20px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 560px; }
.page-hero .hero-buttons { justify-content: flex-start; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Fil d'Ariane */
.breadcrumb { margin-bottom: 28px; font-size: .85rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current] { color: var(--navy); }

/* Bloc urgence (fuites) */
.section-tight { padding: 0 0 clamp(56px, 8vw, 96px); }
.urgence {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden;
}
.urgence::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.urgence-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.urgence-head > div { max-width: 640px; }
.urgence h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 10px; }
.urgence-head p:not(.urgence-label) { margin-top: 12px; color: rgba(255,255,255,.78); }
.urgence-label { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: #ffb3ad; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239,65,53,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239,65,53,0); } 100% { box-shadow: 0 0 0 0 rgba(239,65,53,0); } }
.urgence .btn svg { width: 18px; height: 18px; fill: #fff; }
.urgence-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.urgence-steps li { padding: 22px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.urgence-steps .step-num { color: rgba(255,255,255,.55); margin-bottom: 12px; }
.urgence-steps h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.urgence-steps p { font-size: .9rem; color: rgba(255,255,255,.75); }

/* Grille de prestations */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.feature-icon { width: 40px; height: 40px; padding: 8px; margin-bottom: 18px; border-radius: 10px; background: var(--bg-alt); fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--muted); }

/* Bloc image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-text h2 { margin-bottom: 16px; }
.split-text > p:not(.eyebrow) { color: var(--muted); }
.split-text .btn { margin-top: 28px; }
.split-media .ba-single img { aspect-ratio: 4 / 3; }
.split-media .ba-single { border-radius: var(--radius); }
.check-list { margin-top: 22px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.section-intro a { color: var(--blue); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 500; color: var(--navy); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002654' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }

/* Autres services */
.other-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-card { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; padding: 12px; background: #fff; border-radius: var(--radius); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.other-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.other-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.other-card h3 { font-size: 1.15rem; margin: 2px 0 10px; }
.other-link { font-size: .9rem; font-weight: 500; color: var(--blue); }

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .page-hero-grid, .split, .faq-layout, .other-services { grid-template-columns: 1fr; }
  .page-hero-media { order: -1; }
  .urgence-steps { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .other-card { grid-template-columns: 110px 1fr; }
  .urgence .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* Signes (page Façade) */
.signs { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.signs h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.signs-head p { margin-top: 12px; color: var(--muted); }
.signs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signs-list li { display: flex; gap: 14px; padding: 18px; background: #fff; border-radius: var(--radius-sm); }
.signs-list svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.signs-list strong { display: block; color: var(--navy); font-weight: 500; }
.signs-list span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* Étapes avec photo */
.steps-with-media { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: stretch; }
.steps-media { margin: 0; }
.steps-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); }
.steps.steps-2 { grid-template-columns: 1fr 1fr; }
.other-card-alt { background: var(--bg-alt); }

@media (max-width: 960px) {
  .signs, .steps-with-media { grid-template-columns: 1fr; }
  .steps-media img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .signs-list, .steps.steps-2 { grid-template-columns: 1fr; }
}

/* Techniques (page Nettoyage) */
.methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.method { display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius); background: var(--bg-alt); }
.method h3 { font-size: 1.05rem; margin-bottom: 8px; }
.method p { font-size: .9rem; color: var(--muted); }
.method-tags { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.method-tags li { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: var(--navy); }
.ba-slider-hero { aspect-ratio: 4 / 3; }

@media (max-width: 1100px) { .methods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .methods { grid-template-columns: 1fr; } .ba-slider-hero { aspect-ratio: 4 / 3; } }

/* =========================================================
   Contact, réalisations, mentions légales
   ========================================================= */
.page-hero-compact { padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero-compact .lead { max-width: 640px; }

/* Formulaire */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-form { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.contact-form fieldset { border: 0; margin: 0 0 28px; padding: 0; }
.contact-form legend { font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 18px; padding: 0; }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field .label { display: block; font-size: .9rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,85,164,.12); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .choice-group { border-color: var(--red); }
.field.is-invalid .choice-group { padding: 8px; }
.field-error { margin-top: 6px; font-size: .85rem; color: var(--red-dark); }
.field-hint { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.file-input { width: 100%; padding: 12px; border: 1.5px dashed #c9cdd6; border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: .9rem; cursor: pointer; }
.file-input::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 500 .85rem "Poppins", sans-serif; cursor: pointer; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; border: 1.5px solid transparent; border-radius: var(--radius-sm); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: .925rem; color: var(--navy); transition: all .2s; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice-urgent input:checked + span { background: var(--red); border-color: var(--red); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--muted); margin-bottom: 24px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent a { color: var(--blue); }
.consent.is-invalid span { color: var(--red-dark); }
.btn-submit { width: 100%; min-height: 54px; font-size: 1rem; border: 0; }
.btn-submit[disabled] { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert { margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .925rem; }
.form-alert.is-error { background: #fdecea; color: #8c1d15; border: 1px solid #f5c2bd; }
.form-alert.is-success { background: #e8f1fb; color: var(--navy); border: 1px solid var(--blue-light); }

.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-card h2 { font-size: 1.1rem; margin-bottom: 14px; }
.contact-card > p { color: var(--muted); font-size: .925rem; }
.contact-card-dark { background: var(--navy); border-color: var(--navy); }
.contact-card-dark > p { color: rgba(255,255,255,.75); }
.contact-big { margin: 10px 0 6px; }
.contact-big a { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.contact-list { display: grid; gap: 12px; margin-bottom: 20px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; word-break: break-word; }
.contact-list svg { flex: none; width: 20px; height: 20px; fill: var(--navy); }
.contact-list svg.stroke { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }

/* Merci */
.thanks { max-width: 640px; text-align: center; }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.thanks-icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thanks h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.thanks .lead { margin: 18px 0 10px; color: var(--muted); font-size: 1.1rem; }
.thanks p a { color: var(--blue); }
.thanks .hero-buttons { justify-content: center; }

/* Réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 500 .925rem "Poppins", sans-serif; color: var(--navy); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project { background: var(--bg-alt); border-radius: var(--radius); padding: 12px; }
.project[hidden] { display: none; }
.project-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; }
.project-wide .ba-slider { aspect-ratio: 4 / 3; }
.project-info { padding: 16px 12px 10px; }
.project-wide .project-info { padding: 24px; }
.project-info h2 { font-size: 1.2rem; margin: 2px 0 8px; }
.project-wide .project-info h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.project-info p:not(.service-label) { color: var(--muted); font-size: .925rem; }
.project .ba-single img { aspect-ratio: 4 / 3; }
.projects-empty { padding: 40px 0; color: var(--muted); }

/* Mentions légales */
.legal > * { max-width: 780px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--ink); margin-bottom: 12px; }
.legal a { color: var(--blue); }
.todo { background: #fff4d6; color: #7a5300; padding: 1px 6px; border-radius: 4px; font-size: .925em; }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; order: -1; }
  .project-wide { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .field-row, .projects { grid-template-columns: 1fr; }
  .choice span { padding: 9px 14px; font-size: .875rem; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .header-phone { padding: 10px; background: var(--bg-alt); }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; color: var(--navy); }
  .nav-cta-mobile { display: flex; margin-top: 12px; width: 100%; }
  .header-actions { margin-left: auto; }

  .services { grid-template-columns: 1fr; max-width: 560px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ba-layout, .zone { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand img { width: 180px; }
  .hero-text { text-align: left; }
  .hero-buttons { justify-content: flex-start; }
  .hero-buttons .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item { padding: 18px 0; }
  .steps { grid-template-columns: 1fr; }
  .ba-slider { aspect-ratio: 3 / 4; }
  .cta-buttons .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 60;
    min-height: 52px; border-radius: 999px;
    background: var(--red); color: #fff; font-weight: 500; text-decoration: none;
    box-shadow: 0 8px 24px rgba(239,65,53,.35);
  }
  .mobile-call svg { width: 20px; height: 20px; fill: #fff; }
}
