/* ==========================================================
   Laveur de Vitres Auvergnat — feuille de style
   Couleurs reprises du logo : marine, bleu canard, bleu ciel, crème
   ========================================================== */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url(/fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }

:root {
  --navy: #0e2a47;
  --navy-2: #133a5e;
  --ink: #0b2038;
  --teal: #17808c;
  --teal-d: #0f6670;
  --sky: #7cc4d4;
  --sky-l: #d6eef3;
  --cream: #f7f1e5;
  --alt: #efe5d1;
  --white: #fffdf8;
  --sun: #f5c443;
  --sun-d: #e3ad1f;
  --muted: #4d6177;
  --line: #e2d7c1;
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(14, 42, 71, .45);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sun); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.fine { font-size: .875rem; color: var(--muted); }
.link { color: var(--teal-d); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link:hover { color: var(--navy); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic--xl { width: 54px; height: 54px; stroke-width: 1.4; color: var(--teal); }

/* ---------- Typographie ---------- */
.h2 { font: 700 clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem)/1 var(--display); color: var(--navy); letter-spacing: -.01em; }
.h2--light { color: var(--white); }
.h3 { font: 700 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.05 var(--display); color: var(--navy); }
em.squiggle { font-style: italic; font-weight: 800; color: var(--teal); position: relative; white-space: nowrap; padding-right: .05em; }
em.squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4c5 0 5-3 10-3s5 6 10 6 5-6 10-6 5 3 10 3' fill='none' stroke='%23f5c443' stroke-width='2.2'/%3E%3C/svg%3E") repeat-x 0 50% / .9em 100%;
}
.h2--light em.squiggle, .hero em.squiggle { color: var(--sky); }
.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.eyebrow--light, .sechead--light .eyebrow { color: var(--sky); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 14px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; line-height: 1.1;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn--primary { --bg: var(--navy); }
.btn--sun { --bg: var(--sun); --fg: var(--navy); }
.btn--sun:hover { --bg: #ffd463; }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost:hover { --bg: rgba(255,255,255,.1); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--outline:hover { --bg: var(--navy); --fg: var(--white); box-shadow: none; }
.btn--sm { padding: .6em 1em; font-size: .95rem; border-radius: 12px; }
.btn--lg { padding: 1em 1.6em; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btnrow--center { justify-content: center; }
.roundbtn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); transition: transform .2s, background .2s; }
.roundbtn:hover { background: var(--teal); transform: rotate(45deg); }

/* ---------- En-tête ---------- */
.topbar { position: sticky; top: 0; z-index: 50; padding: 12px 0; background: var(--navy); }
.topbar__inner {
  width: min(1180px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: 18px; padding: 8px 10px 8px 12px; box-shadow: 0 10px 30px -15px rgba(0,0,0,.5);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.topbar__brand img { width: 44px; height: 44px; border-radius: 50%; }
.topbar__brand span { font: 700 1.3rem/1 var(--display); color: var(--navy); }
.topbar__brand em { font-style: italic; font-weight: 800; color: var(--teal); }
.topbar__nav ul { display: flex; gap: 4px; }
.topbar__nav a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--navy); }
.topbar__nav a:hover { background: var(--sky-l); }
.topbar__cta { display: flex; gap: 8px; }
.topbar__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--navy); color: var(--white); cursor: pointer; place-items: center; }
.topbar__burger .ic--close { display: none; }
.topbar__burger[aria-expanded="true"] .ic--open { display: none; }
.topbar__burger[aria-expanded="true"] .ic--close { display: block; }
.show-sm { display: none; }

/* ---------- Bord mousse ---------- */
.foam { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(38px, 6vw, 80px); z-index: 2; pointer-events: none; }
.foam--top { top: -1px; bottom: auto; transform: scaleY(-1); }
.foam--cream { fill: var(--cream); }
.foam--navy { fill: var(--navy); }
.foam--alt { fill: var(--alt); }
.foam .bulle { opacity: .75; }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); padding: 56px 0 clamp(90px, 10vw, 140px); overflow: hidden; }
.hero__motif { position: absolute; inset: 0; background: url(/img/motif.svg) repeat 0 0 / 260px; opacity: .07; pointer-events: none; }
.hero__inner { position: relative; text-align: center; }
.rating { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); text-decoration: none; text-align: left; }
.rating:hover { background: rgba(255,255,255,.14); }
.rating__g { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--navy); }
.rating__line { display: flex; align-items: center; gap: 6px; font-size: .95rem; }
.rating small { display: block; color: var(--sky-l); font-size: .82rem; }
.stars { display: inline-flex; gap: 1px; color: var(--sun); vertical-align: -2px; }
.stars .ic { width: 1em; height: 1em; }
.hero__title { margin: 26px auto 18px; max-width: 21ch; font: 700 clamp(2.6rem, 1.4rem + 5.4vw, 5.2rem)/.95 var(--display); letter-spacing: -.015em; }
.hero__lead { max-width: 60ch; margin: 0 auto; color: #d9e6f0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.hero__lead strong { color: var(--sun); }
.hero__media { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-top: 54px; }
.hero__img img { width: 100%; height: clamp(280px, 38vw, 470px); object-fit: cover; }
.hero__img--a img { border-radius: var(--radius) 120px var(--radius) var(--radius); object-position: 50% 30%; }
.hero__img--b img { border-radius: 120px var(--radius) var(--radius) var(--radius); object-position: 50% 50%; }
.badge { position: absolute; z-index: 3; left: clamp(-10px, 2vw, 30px); top: -56px; width: clamp(120px, 14vw, 160px); aspect-ratio: 1; }
.badge__ring { width: 100%; height: 100%; animation: tourne 18s linear infinite; }
.badge__ring text { font: 700 15.5px var(--body); letter-spacing: 3.2px; fill: var(--white); }
.badge__core { position: absolute; inset: 30%; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--navy); box-shadow: 0 0 0 6px rgba(245,196,67,.25); }
.badge__icon { width: 50%; height: 50%; }
@keyframes tourne { to { transform: rotate(360deg); } }

.hero--sub { padding-bottom: clamp(100px, 11vw, 150px); }
.hero--sub .hero__title { max-width: 20ch; }
.hero--mini { padding: 40px 0 90px; }
.crumbs { font-size: .9rem; color: var(--sky-l); }
.crumbs a { color: var(--white); }

/* ---------- Atouts ---------- */
.atouts { padding: 40px 0 70px; }
.atouts__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a c" "b c"; gap: 20px; }
.atouts__grid { grid-template-columns: 1fr minmax(240px, 340px) 1fr; grid-template-areas: "a c d" "b c e"; align-items: center; }
.atout:nth-child(1) { grid-area: a; } .atout:nth-child(2) { grid-area: b; }
.atouts__center { grid-area: c; }
.atout:nth-child(4) { grid-area: d; } .atout:nth-child(5) { grid-area: e; }
.atout { text-align: center; padding: 18px; }
.atout .ic--xl { margin: 0 auto 12px; }
.atout h3 { font: 700 1.75rem/1.1 var(--display); color: var(--navy); margin-bottom: 6px; }
.atout p { color: var(--muted); margin: 0; }
.atouts__center img { margin-inline: auto; mix-blend-mode: multiply; }

/* ---------- Bandeau défilant ---------- */
.marquee { position: relative; background: var(--navy); color: var(--white); padding: 18px 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: defile 38s linear infinite; }
.marquee span { font: 600 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee .ic { color: var(--sun); width: 22px; height: 22px; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.section--alt { background: var(--alt); }
.sechead { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sechead--left { text-align: left; margin-left: 0; }
.sechead__lead { margin: 18px auto 0; color: var(--muted); max-width: 58ch; }
.sechead--light .sechead__lead { color: #cfe0ec; }

/* Prestations */
.services { display: grid; gap: 28px; }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: var(--white); border-radius: calc(var(--radius) + 6px); padding: 14px; box-shadow: var(--shadow); }
.service--rev .service__img { order: 2; }
.service__img img { width: 100%; height: clamp(260px, 30vw, 380px); object-fit: cover; border-radius: var(--radius); }
.service__body { padding: 16px clamp(8px, 2vw, 24px) 16px 0; }
.service--rev .service__body { padding: 16px 0 16px clamp(8px, 2vw, 24px); }
.service__body .ic--xl { margin-bottom: 12px; }
.service__body p { color: var(--muted); margin-top: 12px; }
.tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--navy); font: 600 .72rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.checks { display: grid; gap: 8px; margin: 14px 0 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--teal); margin-top: 2px; }
.service__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.service__foot span { font: 700 1.5rem/1 var(--display); color: var(--navy); }

/* Étapes */
.steps { position: relative; background: var(--navy); color: var(--white); padding: clamp(110px, 12vw, 160px) 0 clamp(120px, 13vw, 170px); overflow: hidden; }
.steps .wrap { position: relative; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; counter-reset: none; }
.step:nth-child(1) { margin-top: 90px; } .step:nth-child(2) { margin-top: 45px; }
.step__num { font: 800 italic 3.4rem/1 var(--display); color: var(--sun); display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.pill { font: 600 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--white); color: var(--navy); }
.step__card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px 22px 0; overflow: hidden; border-bottom: 8px solid var(--sun); }
.step__card h3 { font: 700 1.7rem/1.1 var(--display); color: var(--navy); margin-bottom: 8px; }
.step__card p { color: var(--muted); font-size: .97rem; }
.step__img img { width: calc(100% + 44px); max-width: none; margin: 0 -22px; height: 200px; object-fit: cover; }
.techniques { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.technique { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); }
.technique .ic--xl { color: var(--sky); }
.technique h3 { font: 700 1.5rem/1.1 var(--display); margin-bottom: 6px; }
.technique p { margin: 0; color: #cfe0ec; }

/* Crédit d'impôt */
.credit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.credit__text p { margin-top: 18px; }
.calc { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: 28px; box-shadow: var(--shadow); border-top: 8px solid var(--teal); }
.calc__title { display: flex; align-items: center; gap: 10px; font: 700 1.7rem/1 var(--display); color: var(--navy); margin-bottom: 20px; }
.calc__title .ic { color: var(--teal); }
.calc label { font-weight: 600; }
.calc__row { display: flex; align-items: center; gap: 16px; margin: 8px 0 20px; }
.calc input[type="range"] { flex: 1; accent-color: var(--teal); height: 32px; }
.calc__value { min-width: 4.2em; text-align: right; font: 700 1.8rem/1 var(--display); color: var(--navy); }
.calc__res { margin: 0 0 14px; display: grid; gap: 8px; }
.calc__res div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: var(--cream); }
.calc__res dt { color: var(--muted); }
.calc__res dd { margin: 0; font: 700 1.5rem/1 var(--display); color: var(--teal-d); }
.calc__total { background: var(--navy) !important; }
.calc__total dt { color: var(--white) !important; font-weight: 600; }
.calc__total dd { color: var(--sun) !important; font-size: 2.2rem !important; }

/* Chiffres */
.stats { position: relative; background: var(--navy); color: var(--white); padding: clamp(90px, 10vw, 130px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font: 800 italic clamp(2.8rem, 2rem + 3vw, 4.4rem)/1 var(--display); color: var(--sky); }
.stat span { color: #cfe0ec; font-size: .95rem; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; display: flex; flex-direction: column; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.review__quote { width: 36px; height: 36px; color: var(--sky); }
.review blockquote { margin: 0 0 20px; flex: 1; }
.review blockquote p { margin: 0; color: #e3edf4; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); font-weight: 600; font-size: .9rem; }
.review small { display: block; color: var(--sky); font-size: .8rem; }
.avantapres { margin-top: 70px; text-align: center; }
.avantapres__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 18px; }
.avantapres__grid img { width: 100%; height: clamp(280px, 32vw, 420px); object-fit: cover; border-radius: var(--radius); }
.avantapres__rails img { object-position: 50% 50%; background: #d9dcdc; }
.footer--flat { padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.stat__star { display: inline-block; width: .5em; height: .5em; color: var(--sun); vertical-align: .55em; margin-left: .05em; }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.zone p { margin-top: 16px; }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 10px; }
.cities a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--white); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cities a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cities a > span { flex: 1; }
.cities strong { display: block; font: 700 1.25rem/1.1 var(--display); color: var(--navy); }
.cities small { color: var(--muted); }
.cities .ic { color: var(--teal); }
.map { margin: 0; }
.map svg { width: 100%; height: auto; }
.map__land { fill: var(--sky-l); stroke: var(--sky); stroke-width: 2; }
.map__zone { fill: rgba(23,128,140,.08); stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 6 6; }
.map__zone--in { fill: rgba(23,128,140,.12); }
.map__road { fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; }
.map__dot { fill: var(--navy); stroke: var(--white); stroke-width: 3; }
.map__label { font: 700 17px var(--display); fill: var(--navy); }
.map__label--home { fill: var(--teal-d); }
.map__home circle { fill: var(--sun); stroke: var(--navy); stroke-width: 3; }
.map__home path { fill: var(--navy); }
.map figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq__intro p { margin-top: 18px; color: var(--muted); }
.faq__list { display: grid; gap: 12px; }
.faq__list--narrow { max-width: 820px; margin: 0 auto; }
.qa { background: var(--white); border-radius: 18px; box-shadow: 0 8px 24px -18px rgba(14,42,71,.5); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); transition: transform .2s, background .2s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--teal); }
.qa p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.others { margin-top: 30px; }

/* Devis */
.devis { position: relative; background: var(--navy); color: var(--white); padding: clamp(110px, 12vw, 160px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.devis__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.devis__info > p { margin-top: 18px; color: #cfe0ec; }
.contactlist { display: grid; gap: 10px; margin-top: 26px; }
.contactlist a, .contactlist__static { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-decoration: none; word-break: break-word; }
.contactlist a:hover { background: rgba(255,255,255,.13); }
.contactlist .ic { color: var(--sun); width: 24px; height: 24px; }
.contactlist small { display: block; color: var(--sky); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.form { background: var(--white); color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 3vw, 34px); display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--navy); padding: 0; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); transition: border-color .15s, background .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.field textarea { resize: vertical; min-height: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); font-size: .92rem; font-weight: 500; transition: all .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form__status.is-ok { color: var(--teal-d); }
.form__status.is-err { color: #b42318; }
.form .fine { margin: 0; }
.form button[disabled] { opacity: .7; cursor: wait; }

/* Bandeau d'appel */
.ctaband { padding: 0 0 clamp(70px, 8vw, 110px); }
.ctaband__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--teal); color: var(--white); border-radius: calc(var(--radius) + 10px); padding: clamp(28px, 4vw, 48px); }
.ctaband p { margin: 10px 0 0; color: #e3f4f6; }
.ctaband .btnrow { margin: 0; }

/* Pages internes */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split p { margin-top: 18px; color: var(--muted); }
.split__img img { border-radius: var(--radius) 120px var(--radius) var(--radius); width: 100%; }
.prose { max-width: 760px; }
.prose h2 { font: 700 1.9rem/1.1 var(--display); color: var(--navy); margin: 34px 0 10px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--teal-d); }
.todo { background: #ffe9a8; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Pied de page */
.footer { position: relative; background: var(--navy); color: #cfe0ec; padding: clamp(90px, 10vw, 130px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 14px; }
.footer__brand p { font-size: .95rem; }
.footer__title { font: 700 1.4rem/1 var(--display); color: var(--white); margin-bottom: 14px; }
.footer__list { display: grid; gap: 10px; font-size: .95rem; }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer__list .ic { color: var(--sun); margin-top: 2px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--white); text-decoration: underline; }
.footer__legal { margin-top: 16px; font-size: .85rem; color: #9fb6c9; }
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--white); transition: background .15s; }
.social:hover { background: var(--teal); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__up { text-decoration: none; }

/* Barre d'appel mobile */
.mobilebar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topbar__nav { position: fixed; inset: 84px 12px auto; background: var(--white); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); display: none; }
  .topbar__nav.is-open { display: block; }
  .topbar__nav ul { flex-direction: column; }
  .topbar__nav a { padding: 14px; font-size: 1.1rem; }
  .topbar__burger { display: grid; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .atouts__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "c c" "a d" "b e"; }
  .service, .credit, .zone, .faq, .devis__grid, .split { grid-template-columns: 1fr; }
  .service--rev .service__img { order: 0; }
  .service__body, .service--rev .service__body { padding: 8px 10px 12px; }
  .steps__grid { grid-template-columns: 1fr; }
  .step:nth-child(n) { margin-top: 0; }
  .techniques { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .topbar { padding: 8px 0; }
  .topbar__brand span { font-size: 1.05rem; }
  .topbar__brand img { width: 38px; height: 38px; }
  .topbar__cta .btn--primary { display: none; }
  .hide-sm { display: none; }
  .topbar__call { width: 44px; height: 44px; padding: 0; }
  .topbar__nav { inset: 70px 12px auto; }
  .hero { padding-top: 34px; }
  .hero__media { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 70px; }
  .hero__img img { height: 260px; }
  .hero__img--a img { border-radius: 18px 60px 18px 18px; }
  .hero__img--b img { border-radius: 60px 18px 18px 18px; }
  .badge { top: -62px; left: 50%; margin-left: -55px; width: 110px; }
  .btnrow--center .btn { width: 100%; }
  .atouts__grid { grid-template-columns: 1fr; grid-template-areas: "c" "a" "b" "d" "e"; }
  .form__row--2, .cities, .avantapres__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,42,71,.96); }
  .mobilebar .btn { padding: .8em .6em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .mobilebar, .marquee, .foam, .form { display: none !important; }
}

/* ==========================================================
   Version 2 : carrousels, Instagram, devis en étapes
   ========================================================== */
[hidden] { display: none !important; }
.w { white-space: nowrap; }
.hero__lead strong.w { color: inherit; font-weight: 600; }
.spacer { height: 40px; }
.topbar__nav a[aria-current="page"] { background: var(--sky-l); }
.btnrow--tight { margin-top: 12px; gap: 8px; }
.field__label { font-weight: 600; font-size: .95rem; color: var(--navy); }

/* Carrousel générique (défilement horizontal natif) */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--sky) transparent; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel__track:focus-visible { outline-offset: 6px; }
.carousel__nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.carousel__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: background .15s, color .15s; }
.carousel__btn:hover { background: var(--navy); color: var(--white); }
.reviews.carousel__track { display: flex; grid-template-columns: none; }
.reviews.carousel__track .review { width: min(360px, 82vw); }

/* Carte Instagram façon « intégration » */
.insta__grid { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.igcard { background: #fff; border: 1px solid #dbdbdb; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #262626; }
.igcard__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.igcard__head img { width: 36px; height: 36px; border-radius: 50%; }
.igcard__head > span { flex: 1; min-width: 0; line-height: 1.2; }
.igcard__head strong { display: block; font-size: .85rem; }
.igcard__head small { display: block; font-size: .75rem; color: #737373; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.igcard__follow { background: #4f5bd5; color: #fff; font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.igcard__follow:hover { background: #3c47c0; }
.igcard__media { position: relative; background: #000; }
.igcard__poster { position: relative; display: block; }
.igcard__poster img { width: 100%; aspect-ratio: 9 / 16; max-height: 640px; object-fit: cover; }
.igcard__play { position: absolute; inset: 0; display: grid; place-items: center; }
.igcard__play .ic { width: 78px; height: 78px; padding: 18px 14px 18px 22px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; transition: transform .2s, background .2s; }
.igcard__poster:hover .igcard__play .ic { transform: scale(1.08); background: rgba(0,0,0,.6); }
.igcard__frame { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.igcard__foot { padding: 10px 14px 14px; border-top: 1px solid #efefef; font-size: .88rem; }
.igcard__more { display: block; color: #4f5bd5; font-weight: 600; text-decoration: none; padding-bottom: 10px; border-bottom: 1px solid #efefef; }
.igcard__icons { display: flex; gap: 14px; padding: 10px 0 6px; color: #262626; }
.igcard__icons .ic { width: 24px; height: 24px; }
.igcard__icons span { flex: 1; }
.igcard__foot p { margin: 6px 0 0; }
.igcard__tag { color: #00376b; }
.igcard__note { color: #737373; font-size: .75rem; }
.igcard.is-playing .igcard__foot, .igcard.is-playing .igcard__head { display: none; }
.insta__side { min-width: 0; }
.igthumbs { margin: 0; }
.igthumbs li { width: 170px; }
.igthumb { position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; outline-offset: 3px; border: 3px solid transparent; transition: transform .15s, border-color .15s; }
.igthumb:hover { transform: translateY(-3px); }
.igthumb.is-active { border-color: var(--sun); }
.igthumb img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.igthumb__label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; align-items: flex-end; padding: 34px 10px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.25; }
.igthumb__icon { width: 16px; height: 16px; flex: none; }
.insta__follow { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.insta__follow img { width: 120px; height: auto; flex: none; }
.insta__follow h3 { font: 700 1.6rem/1 var(--display); color: var(--navy); }
.insta__follow p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

/* Simulateur avec badge Accès SAP */
.calc { position: relative; margin-top: 90px; }
.calc__badge { width: 190px; margin: -120px auto 6px; }
.calc__badge img { transform: rotate(-4deg); filter: drop-shadow(0 12px 18px rgba(14,42,71,.3)); }
.calc__title { justify-content: center; }

/* Listes numérotées */
.numlist { counter-reset: n; display: grid; gap: 14px; margin: 22px 0; }
.numlist li { counter-increment: n; position: relative; padding-left: 52px; color: var(--muted); }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--sun); font: 800 italic 1.3rem/1 var(--display); }
.numlist strong { color: var(--navy); }
.split--rev { grid-template-columns: .9fr 1.1fr; }

/* Page devis */
.section--devis { padding-top: 40px; }
.devis2 { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.devis2__aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.asidecard { background: var(--navy); color: #cfe0ec; border-radius: var(--radius); padding: 22px; }
.asidecard h2 { font: 700 1.6rem/1 var(--display); color: var(--white); margin-bottom: 14px; }
.asidecard .footer__list { margin-top: 16px; }
.asidecard--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.asidecard--light p { margin: 10px 0 4px; color: var(--muted); font-style: italic; }
.asidecard--light small { font-weight: 600; color: var(--navy); }
.asidecard--light img { mix-blend-mode: multiply; max-width: 200px; margin: 0 auto; }
.wizard { box-shadow: var(--shadow); }
.wizard__progress { display: flex; gap: 6px; margin-bottom: 6px; }
.wizard__progress li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.wizard__progress li::before { content: ""; height: 6px; border-radius: 3px; background: var(--line); }
.wizard__progress li.is-done::before, .wizard__progress li.is-current::before { background: var(--teal); }
.wizard__progress li.is-current { color: var(--navy); }
.wizard__progress span { display: none; }
.wizard__step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.wizard__title { font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--display); color: var(--navy); padding: 0; margin-bottom: 4px; }
.wizard__help { margin: 0; color: var(--muted); font-size: .95rem; }
.wizard__total { margin: 0; font-weight: 600; color: var(--teal-d); }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.js .wizard__step:not(.is-current) { display: none; }
html:not(.js) .wizard__nav, html:not(.js) .wizard__progress, html:not(.js) .recap { display: none; }
.vtypes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vtype { display: flex; align-items: center; gap: 12px; padding: 12px; border: 2px solid var(--line); border-radius: 16px; background: var(--cream); transition: border-color .15s, background .15s; }
.vtype.has-count { border-color: var(--teal); background: #eaf6f7; }
.vtype__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--teal); flex: none; }
.vtype__icon .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.vtype__text { flex: 1; min-width: 0; cursor: pointer; }
.vtype__text strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.2; }
.vtype__text small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper input { width: 52px; text-align: center; padding: 8px 4px; border-radius: 10px; border: 2px solid var(--line); background: var(--white); font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.js .stepper input { width: 38px; border-color: transparent; background: transparent; padding: 8px 0; }
.stepper__btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); cursor: pointer; }
.stepper__btn:hover { background: var(--teal); }
.stepper__btn .ic { width: 18px; height: 18px; }
.form__row--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form__row--cp { display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.field--pro { display: none; }
.is-pro .field--pro, html:not(.js) .field--pro { display: grid; }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 20px; border: 2px dashed var(--teal); border-radius: 18px; background: #eaf6f7; text-align: center; cursor: pointer; transition: background .15s; }
.drop:hover, .drop.is-over { background: #d6eef3; }
.drop__icon { width: 46px; height: 46px; color: var(--teal); }
.drop strong { color: var(--navy); font-size: 1.05rem; }
.drop small { color: var(--muted); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
html:not(.js) .drop input { position: static; opacity: 1; margin-top: 10px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--alt); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs__name { display: grid; place-items: center; height: 100%; padding: 6px; font-size: .72rem; text-align: center; word-break: break-all; color: var(--muted); }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(14,42,71,.85); color: #fff; cursor: pointer; display: grid; place-items: center; }
.thumbs button .ic { width: 16px; height: 16px; }
.recap { display: grid; gap: 8px; margin: 0; padding: 16px; border-radius: 16px; background: var(--cream); }
.recap div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.recap dt { color: var(--muted); font-size: .9rem; }
.recap dd { margin: 0; font-weight: 600; color: var(--navy); word-break: break-word; }

@media (max-width: 1080px) {
  .devis2 { grid-template-columns: 1fr; }
  .devis2__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .insta__grid { grid-template-columns: 1fr; }
  .igcard { max-width: 440px; margin: 0 auto; width: 100%; }
  .split--rev { grid-template-columns: 1fr; }
  .form__row--3 { grid-template-columns: 1fr; }
  .calc__badge { width: 160px; margin-top: -100px; }
}
@media (max-width: 640px) {
  .vtypes { grid-template-columns: 1fr; }
  .form__row--cp { grid-template-columns: 1fr; }
  .igthumbs li { width: 140px; }
  .insta__follow { flex-direction: column; text-align: center; }
  .recap div { grid-template-columns: 1fr; gap: 2px; }
  .wizard__nav .btn { flex: 1; }
  .igcard__frame { height: 680px; }
}
