/* Top Clim Lunel · feuille de style commune
   Palette relevée sur le logo : flocon #214f97, « CLIM » #2a5ba3, vague #3470c2, « TOP » #0b0b0b */
:root {
  --blue: #2a5ba3;
  --blue-deep: #214f97;
  --blue-light: #3470c2;
  --blue-glow: #6fa3e6;
  --navy: #13284a;
  --navy-2: #1a3561;
  --navy-3: #0c1a31;
  --ink: #0b0b0b;
  --text: #26303d;
  --muted: #5b6878;
  --sky: #eaf2fc;
  --sky-2: #f5f9fe;
  --line: #d9e5f4;
  --white: #fff;
  --star: #f5b400;
  --ok: #1f8a4c;
  --warn: #c2410c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(19, 40, 74, .08);
  --shadow-lg: 0 24px 60px rgba(19, 40, 74, .16);
  --wrap: 1200px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* jamais de défilement horizontal (clip ne casse pas l'en-tête sticky) */
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .55em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 900; letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.018em; }
h3 { font-size: 1.16rem; font-weight: 800; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid rgba(52, 112, 194, .55); outline-offset: 3px; border-radius: 6px; }
svg { flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--head); font-weight: 800; font-size: .95rem; text-decoration: none; line-height: 1.2;
  padding: .95em 1.45em; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-lg { font-size: 1.02rem; padding: 1.05em 1.7em; }
.btn-sm { font-size: .85rem; padding: .7em 1.1em; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff;
  box-shadow: 0 10px 24px rgba(42, 91, 163, .32), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(42, 91, 163, .42), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-ghost { background: #fff; color: var(--blue-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Bandeau haut + en-tête ---------- */
.topbar { background: var(--navy-3); color: #c3d1e6; font-size: .83rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar svg { width: 15px; height: 15px; color: var(--blue-glow); }
.topbar b { color: #fff; }
.topbar .stars { color: var(--star); letter-spacing: 1px; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(19, 40, 74, .06); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 92px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav .dd > button {
  font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--ink);
  text-decoration: none; padding: 10px 13px; border-radius: 10px; background: none; border: 0; cursor: pointer;
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"], .nav .dd > button.on { color: var(--blue); background: var(--sky-2); }
.dd { position: relative; }
.dd > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: .92rem; line-height: 1.35; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--sky); color: var(--blue-deep); }
.dd-services { width: 340px; }
.dd-services svg { width: 36px; height: 36px; padding: 8px; background: var(--sky); color: var(--blue-deep); border-radius: 10px; }
.dd-services b { display: block; font-family: var(--head); color: var(--ink); }
.dd-services small { color: var(--muted); }
.dd-villes { width: 380px; display: grid; grid-template-columns: 1fr 1fr; }
.dd-villes a:first-child { grid-column: 1 / -1; color: var(--blue); }
.header-cta { display: flex; gap: 10px; margin-left: 10px; flex: none; }
.header-cta .btn { padding: .72em 1.15em; font-size: .88rem; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.burger svg { width: 30px; height: 30px; }
.burger .b-close, .header.open .burger .b-open { display: none; }
.header.open .burger .b-close { display: block; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(111, 163, 230, .28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(52, 112, 194, .10), transparent 60%),
    linear-gradient(170deg, #f8fbff 0%, var(--sky) 60%, #dde9f9 100%);
  padding: 72px 0 110px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 46C300 96 640 4 1000 26C1210 39 1360 60 1440 50V80H0Z' fill='%23fff'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero-flake img, .cta-band .flake img { width: 100%; height: auto; display: block; }
.hero-flake { position: absolute; right: -90px; top: -40px; width: 520px; opacity: .08; pointer-events: none; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 span { background: linear-gradient(120deg, var(--blue-light), var(--blue-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.16rem; color: #4a5768; max-width: 35em; }
.hero .lead b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.proofs { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 0; margin: 0; list-style: none; }
.proofs li { display: flex; align-items: center; gap: 11px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.proofs strong { display: block; font-family: var(--head); font-size: 1rem; color: var(--ink); }
.proofs .ico {
  width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); color: var(--blue);
}
.proofs .ico svg { width: 21px; height: 21px; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
  border: 7px solid #fff; transform: rotate(1.5deg); background: var(--sky);
}
.hero-photo img, .hero-photo image-slot { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tag {
  position: absolute; left: -30px; bottom: 36px; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); max-width: 260px; font-size: .86rem; line-height: 1.45; color: var(--muted);
}
.hero-tag b { display: flex; align-items: center; gap: 6px; font-family: var(--head); color: var(--ink); margin-bottom: 2px; }
.hero-tag svg { width: 16px; height: 16px; color: var(--blue); }
.hero-rating {
  position: absolute; right: -18px; top: 30px; background: var(--navy); color: #cbd7ea; border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); text-align: center; font-size: .78rem; line-height: 1.5;
}
.hero-rating b { display: block; font-family: var(--head); font-size: 2rem; line-height: 1; color: #fff; }
.hero-rating .stars { color: var(--star); letter-spacing: 2px; font-size: .95rem; }

.page-hero { padding: 40px 0 96px; }
.page-hero .wrap { grid-template-columns: 1.3fr .7fr; }
.page-hero .hero-photo { aspect-ratio: 1; transform: rotate(1deg); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.small-hero { padding-bottom: 70px; }
.small-hero .wrap, .rdv-hero .wrap { grid-template-columns: 1fr; }
.rdv-hero { padding-bottom: 150px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span { color: var(--ink); font-weight: 600; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; padding: 16px 0; margin-top: -1px; }
.marquee > div { display: flex; gap: 48px; width: max-content; animation: defile 40s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 800; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content: "✻"; color: var(--blue-glow); font-size: .9rem; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.sec-sky { background: var(--sky-2); }
.sec-dark { background: radial-gradient(900px 500px at 100% 0%, rgba(52, 112, 194, .25), transparent 60%), var(--navy); color: #cfdaeb; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-head { max-width: 740px; margin-bottom: 48px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.kicker {
  font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.center .kicker::before { display: none; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.sec-dark .sec-head p { color: #aebfd8; }
.sec-dark .kicker { color: var(--blue-glow); }
.center-m { text-align: left; }

/* Cartes */
.grid { display: grid; gap: 22px; }
.grid > *, .split > *, .rdv > *, .anat > *, .footer .wrap > *, .hero .wrap > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative;
}
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #b9cfee; }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--sky), #dbe8fa); color: var(--blue-deep);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { margin-top: auto; font-family: var(--head); font-weight: 800; font-size: .88rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }
.card-feature { background: linear-gradient(120deg, var(--navy), var(--navy-2)); border-color: var(--navy); color: #c8d5ea; }
.card-feature h3 { color: #fff; }
.card-feature p { color: #aebfd8; margin: 0; }
.card-feature .ico { background: rgba(255, 255, 255, .1); color: #fff; margin: 0; }
.card-feature .more { color: var(--blue-glow); margin: 0; }
.card-wide { margin-top: 22px; flex-direction: row !important; align-items: center; gap: 26px; }
.card-wide > div:nth-child(2) { flex: 1; }
.card-wide h3 { margin-bottom: .25em; }
.city .km {
  align-self: flex-start; font-family: var(--head); font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--sky); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.city h3 { font-size: 1.35rem; }
.freq { text-align: left; }
.freq-n { display: block; font-family: var(--head); font-weight: 900; font-size: 2.6rem; color: var(--blue-deep); line-height: 1; margin-bottom: 14px; }
.freq-n small { font-size: .9rem; font-weight: 700; color: var(--muted); margin-left: 6px; }

/* Étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: s; background: rgba(255, 255, 255, .04); border-radius: var(--radius); padding: 28px 26px 26px;
  border: 1px solid rgba(255, 255, 255, .09); transition: background .3s, border-color .3s;
}
.steps li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(111, 163, 230, .4); }
.steps li::before {
  content: counter(s, decimal-leading-zero); font-family: var(--head); font-weight: 900; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--blue-glow), var(--blue-light)); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; line-height: 1; margin-bottom: 14px;
}
.steps h3 { font-size: 1.06rem; margin-bottom: .45em; }
.steps p { margin: 0; font-size: .94rem; color: #aebfd8; }

/* Texte + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--sky); }
.split-img.tall { aspect-ratio: 4 / 5; max-height: 620px; }
.split-img.poster { aspect-ratio: 932 / 1001; max-width: 520px; justify-self: center; width: 100%; }
.split-img img, .split-img image-slot { width: 100%; height: 100%; object-fit: cover; display: block; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checks li { position: relative; padding-left: 36px; margin-bottom: 14px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a5ba3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks b { color: var(--ink); }
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child, .prose .kicker + h2 { margin-top: 0; }
.note {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-light); border-radius: 0 14px 14px 0;
  padding: 18px 22px; margin: 1.6em 0 0; color: var(--text); font-size: .98rem; box-shadow: var(--shadow);
}
.note b { color: var(--ink); }
.facts { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.facts h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.facts h3 svg { width: 22px; height: 22px; color: var(--blue); }
.facts ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.facts li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .94rem; line-height: 1.5; }
.facts li svg { width: 20px; height: 20px; color: var(--blue-light); margin-top: 2px; }
.facts li b { display: block; font-family: var(--head); color: var(--ink); font-size: .85rem; }

/* ---------- Schéma interactif ---------- */
.anat { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.anat-fig { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.anat-canvas { position: relative; }
.anat-fig svg { width: 100%; height: auto; display: block; }
.anat-fig .case-in { fill: #f7faff; stroke: none; }
.anat-fig .case { fill: none; stroke: #9fb6d6; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.anat-fig .filtre { fill: none; stroke: #8aa3c4; stroke-width: 5; stroke-dasharray: 3 4; }
.anat-fig .batterie line { stroke: #6f8fbd; stroke-width: 2.4; }
.anat-fig .batterie path { fill: none; stroke: #214f97; stroke-width: 3; }
.anat-fig .turb-o { fill: #eef4fc; stroke: #6f8fbd; stroke-width: 2; }
.anat-fig .turbine path { fill: none; stroke: #214f97; stroke-width: 3; stroke-linecap: round; }
.anat-fig .turbine { transform-origin: 205px 160px; animation: spin 6s linear infinite; }
.anat-fig .turb-c { fill: #214f97; }
.anat-fig .bac { fill: none; stroke: #6f8fbd; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.anat-fig .eau { fill: none; stroke: #6fa3e6; stroke-width: 4; stroke-linecap: round; opacity: .8; }
.anat-fig .volet { stroke: #214f97; stroke-width: 6; stroke-linecap: round; }
.anat-fig .evac { fill: none; stroke: #8aa3c4; stroke-width: 6; stroke-linecap: round; }
.anat-fig .air { fill: none; stroke: #3470c2; stroke-width: 2.5; stroke-dasharray: 5 6; opacity: .55; animation: flux 1.6s linear infinite; }
@keyframes flux { to { stroke-dashoffset: -22; } }
.anat-fig[data-active="filtres"] .filtre, .anat-fig[data-active="evacuation"] .evac { stroke: var(--warn); }
.anat-fig[data-active="batterie"] .batterie line, .anat-fig[data-active="batterie"] .batterie path { stroke: var(--warn); }
.anat-fig[data-active="turbine"] .turbine path { stroke: var(--warn); }
.anat-fig[data-active="bac"] .bac { stroke: var(--warn); }
.anat-fig[data-active="volets"] .volet { stroke: var(--warn); }
.hot {
  position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid #fff; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 900; font-size: .9rem;
  cursor: pointer; box-shadow: 0 4px 14px rgba(19, 40, 74, .3); transition: transform .2s, background .2s; padding: 0;
}
.hot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--blue-light); opacity: 0; animation: ping 2s var(--ease) infinite; }
.hot:hover { transform: translate(-50%, -50%) scale(1.12); }
.hot.on { background: var(--warn); }
.hot.on::after { border-color: var(--warn); }
@keyframes ping { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.anat-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.anat-list button {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .85rem var(--body); color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer; transition: all .15s;
}
.anat-list button span { width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--blue-deep); display: grid; place-items: center; font: 800 .75rem var(--head); }
.anat-list button.on { border-color: var(--warn); color: var(--warn); }
.anat-list button.on span { background: var(--warn); color: #fff; }
.part { display: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); position: relative; }
.part.on { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.part .num { position: absolute; top: -16px; left: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--warn); color: #fff; display: grid; place-items: center; font: 900 .95rem var(--head); border: 3px solid #fff; }
.part h3 { font-size: 1.3rem; margin-top: 6px; }
.part > p { color: var(--muted); }
.part dl { margin: 0; }
.part dt { display: flex; align-items: center; gap: 8px; font: 800 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--warn); margin-top: 14px; }
.part dt:nth-of-type(2) { color: var(--ok); }
.part dt svg { width: 16px; height: 16px; }
.part dd { margin: 4px 0 0; color: var(--ink); }

/* ---------- Diagnostic ---------- */
.diag { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.diag-q { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.syms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sym {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  font-size: .93rem; line-height: 1.35; transition: all .15s; background: var(--sky-2); position: relative;
}
.sym:hover { border-color: #b9cfee; }
.sym input { position: absolute; opacity: 0; }
.sym span { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #b9cfee; background: #fff; display: grid; place-items: center; flex: none; transition: all .15s; }
.sym span svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.sym:has(input:checked) { border-color: var(--blue); background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(42, 91, 163, .12); }
.sym input:checked + span { background: var(--blue); border-color: var(--blue); }
.sym input:checked + span svg { opacity: 1; }
.sym input:focus-visible + span { outline: 3px solid rgba(52, 112, 194, .5); outline-offset: 2px; }
.diag-r { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: 22px; padding: 34px; color: #c8d5ea; display: flex; }
.diag > * { min-width: 0; }
.diag-r .res[hidden] { display: none; }
.diag-r .res { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; animation: fade .35s var(--ease); }
.diag-r h3 { color: #fff; font-size: 1.4rem; }
.res-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(111, 163, 230, .18); color: var(--blue-glow); margin-bottom: 18px; }
.res-ico svg { width: 28px; height: 28px; }
.res-ico.ok { background: rgba(31, 138, 76, .18); color: #4ade80; }
.res-ico.warn { background: rgba(194, 65, 12, .2); color: #fb923c; }
.res-ico.big { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 22px; }
.res-ico.big svg { width: 42px; height: 42px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sky); }
.gallery img, .gallery image-slot { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: #fff; font-size: .88rem; line-height: 1.4; pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 18, 36, .88));
}
.gallery figcaption b { display: block; font-family: var(--head); font-size: 1rem; }
.gallery .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--ink); font-family: var(--head);
  font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.gallery .tag.after { background: var(--ok); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.review::before { content: "“"; position: absolute; right: 20px; top: 4px; font: 900 4.5rem/1 Georgia, serif; color: var(--sky); }
.review .stars { color: var(--star); letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1rem; color: var(--ink); position: relative; }
.review figcaption { margin-top: auto; font-weight: 700; font-size: .92rem; color: var(--ink); display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.review figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.review figcaption i {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff;
  display: grid; place-items: center; font-style: normal; font-family: var(--head); font-weight: 800;
}
.rating-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.rating-bar .score { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .92rem; }
.rating-bar .score b { font-family: var(--head); font-size: 3rem; font-weight: 900; color: var(--ink); line-height: 1; }
.rating-bar .stars { color: var(--star); font-size: 1.3rem; letter-spacing: 3px; }
.big-score {
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.big-score b { font-family: var(--head); font-weight: 900; font-size: 5rem; line-height: 1; color: var(--ink); }
.big-score .stars { color: var(--star); font-size: 1.6rem; letter-spacing: 4px; }
.big-score span { font-weight: 700; color: var(--ink); }
.big-score small { color: var(--muted); }

.reviews.r2 { grid-template-columns: repeat(2, 1fr); }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-steps li { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 14px 18px; color: #fff; font-family: var(--head); font-weight: 700; }
.mini-steps span { font-weight: 900; font-size: 1.1rem; color: var(--blue-glow); min-width: 28px; }

.need { padding-top: 34px; }
.need-n { position: absolute; top: -16px; left: 26px; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff; display: grid; place-items: center; font: 900 1rem var(--head); box-shadow: 0 8px 18px rgba(42, 91, 163, .3); }
.need p { margin: 0; }

/* Artisan */
.artisan-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.artisan-facts div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 12px; text-align: center; }
.artisan-facts b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 900; color: var(--blue-deep); line-height: 1.1; }
.artisan-facts span { font-size: .84rem; color: var(--muted); }

/* Types d'appareils */
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.type { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.type p { margin: 0; color: var(--muted); font-size: .95rem; }
.type-ill { background: var(--sky); border-radius: 16px; padding: 16px 10px; }
.type-ill svg { width: 100%; height: auto; }
.type-ill .u { fill: #fff; stroke: var(--blue-deep); stroke-width: 3; }
.type-ill .u2 { stroke: var(--blue-deep); stroke-width: 4; stroke-linecap: round; }
.type-ill .g { fill: none; stroke: var(--blue-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.type-ill .a { fill: none; stroke: var(--blue-glow); stroke-width: 2.5; stroke-dasharray: 4 4; }
.brands { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.brands li { font-family: var(--head); font-weight: 800; color: #6b7a90; padding: 14px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.brands li:last-child { color: var(--blue); }

/* Zones + carte radar */
.towns { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.towns li a, .towns li span {
  display: inline-block; padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .88rem; color: var(--text); text-decoration: none; transition: all .15s;
}
.towns li a { border-color: #b9cfee; color: var(--blue-deep); }
.towns li a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.radar { margin: 0; background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-lg); }
.radar svg { width: 100%; height: auto; display: block; font-family: var(--head); }
.radar .ring { fill: none; stroke: rgba(111, 163, 230, .3); stroke-width: 1.2; stroke-dasharray: 3 5; }
.radar .ring-l { fill: rgba(174, 191, 216, .7); font-size: 11px; font-weight: 700; text-anchor: middle; }
.radar .pt line { stroke: rgba(111, 163, 230, .25); stroke-width: 1; }
.radar .pt circle { fill: var(--blue-glow); stroke: var(--navy); stroke-width: 3; transition: r .2s; }
.radar .pt text { fill: #dbe6f5; font-size: 13px; font-weight: 700; }
.radar .pt:hover circle, .radar .pt.on circle { fill: #fff; r: 8; }
.radar .pt:hover text, .radar .pt.on text { fill: #fff; }
.radar .pt.on line { stroke: rgba(255, 255, 255, .6); stroke-dasharray: 4 4; }
.radar .home circle { fill: #fff; }
.radar .home .pulse { fill: rgba(255, 255, 255, .2); transform-origin: center; transform-box: fill-box; animation: ping 2.4s var(--ease) infinite; }
.radar .home text { fill: #fff; font-size: 16px; font-weight: 900; }
.radar .sea { fill: rgba(111, 163, 230, .45); font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.radar figcaption { color: #9fb2cd; font-size: .8rem; text-align: center; padding: 8px 0 2px; }

/* FAQ */
.faq { max-width: 840px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #b9cfee; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-family: var(--head); font-weight: 700;
  color: var(--ink); position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; border-radius: 50%;
  transform: translateY(-50%); transition: transform .25s var(--ease), background-color .2s;
  /* croix dessinée : deux traits centrés, pas de caractère (centrage exact) */
  background: linear-gradient(var(--blue), var(--blue)) center / 12px 2.5px no-repeat,
              linear-gradient(var(--blue), var(--blue)) center / 2.5px 12px no-repeat, var(--sky);
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(#fff, #fff) center / 12px 2.5px no-repeat,
              linear-gradient(#fff, #fff) center / 2.5px 12px no-repeat, var(--blue);
}
.faq details > div { padding: 0 24px 20px; color: var(--muted); }
.faq details > div p { margin: 0; }

/* Bandeau CTA */
.cta-band { background: linear-gradient(120deg, var(--blue-deep), var(--blue-light)); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #dbe7f8; margin: 0; font-size: 1.08rem; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .flake { position: absolute; right: 2%; top: -80px; width: 330px; opacity: .1; pointer-events: none; }
.cta-band .flake img { filter: brightness(0) invert(1); }

/* ---------- Formulaire ---------- */
.rdv-sec { padding-top: 0; margin-top: -120px; position: relative; }
.rdv { display: grid; grid-template-columns: 1.45fr .75fr; gap: 30px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 38px; box-shadow: var(--shadow-lg); }
fieldset { border: 0; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); min-width: 0; }
fieldset:last-of-type { border: 0; margin-bottom: 10px; }
legend { font-family: var(--head); font-weight: 800; font-size: 1.12rem; color: var(--ink); margin-bottom: 16px; padding: 0; display: flex; align-items: center; gap: 12px; }
legend i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.field { margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--sky-2);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .15s, background .15s, box-shadow .15s;
}
input[type=file] { padding: 10px; font-size: .88rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a5ba3' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(52, 112, 194, .12); }
input:user-invalid { border-color: var(--warn); }
textarea { min-height: 120px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; margin: 0; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 999px; background: var(--sky-2);
  border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .15s;
}
.chip span svg { width: 18px; height: 18px; color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(42, 91, 163, .25); }
.chip input:checked + span svg { color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(52, 112, 194, .45); outline-offset: 2px; }
.form-card .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 9px; color: var(--ink); }
.more-details { margin: 6px 0 22px; border: 1.5px dashed var(--line); border-radius: 14px; }
.more-details summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; color: var(--blue-deep); }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary svg { width: 18px; height: 18px; flex: none; }
.more-details summary .opt { font-weight: 400; color: var(--muted); }
.more-details summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.more-details[open] summary::after { transform: rotate(-135deg); }
.more-details[open] { border-style: solid; background: var(--sky-2); }
.more-body { padding: 4px 16px 6px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-error { display: flex; gap: 10px; align-items: flex-start; background: #fff4ed; border: 1px solid #fdc9a8; color: #9a3412; border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-size: .92rem; font-weight: 600; }
.form-error[hidden] { display: none; }
.form-error svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-error a { color: inherit; white-space: nowrap; }
.form-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.field-err { color: var(--warn); font-weight: 600; font-size: .9rem; margin: 10px 0 0; }
.hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin: 0; }
.hint svg { width: 16px; height: 16px; color: var(--blue); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 8px; }
.consent input { margin-top: 3px; width: 19px; height: 19px; flex: none; accent-color: var(--blue); }
.hidden { display: none !important; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.aside-card { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #cbd7ea; border-radius: 22px; padding: 30px; margin-bottom: 18px; box-shadow: var(--shadow-lg); }
.aside-card h3 { color: #fff; }
.aside-card a { color: #fff; }
.aside-tel { width: 100%; margin: 6px 0 22px; color: var(--navy) !important; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .93rem; line-height: 1.5; word-break: break-word; }
.aside-card li svg { width: 19px; height: 19px; color: var(--blue-glow); margin-top: 2px; }
.aside-card.light { background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.aside-card.light .stars { color: var(--star); letter-spacing: 2px; }
.aside-card.light p { margin: 4px 0 12px; }
.aside-card.light blockquote { margin: 0 0 6px; color: var(--ink); font-style: italic; }
.aside-card.light small { color: var(--muted); }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; }

.thanks { padding: 90px 0 130px; }
.thanks .wrap { grid-template-columns: 1fr; }
.thanks-box { max-width: 660px; margin: 0 auto; text-align: center; }
.thanks-box .res-ico { background: var(--sky); color: var(--blue); }
.thanks-box .res-ico.ok { background: #dcfce7; color: var(--ok); }
.thanks-box .lead { margin-inline: auto; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal { max-width: 820px; }
.legal mark { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-3); color: #9fb0c9; padding: 72px 0 0; font-size: .92rem; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr 1.1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #c9d6ea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { display: inline-flex; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 20px; }
.footer .brand img { height: 78px; }
.footer .slogan { font-family: var(--head); font-weight: 800; font-style: italic; color: #fff; }
.f-villes ul { columns: 2; column-gap: 20px; }
.f-villes li { break-inside: avoid; font-size: .88rem; }
@media (min-width: 641px) { .f-villes li { white-space: nowrap; } }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 17px; height: 17px; color: var(--blue-glow); margin-top: 3px; }
.footer .btn { margin-top: 10px; color: #fff; }
.footer .btn:hover { text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 22px 0; font-size: .84rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sister { display: block; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s; }
.sister:hover { border-color: rgba(111, 163, 230, .5); text-decoration: none !important; }
.sister b { color: #fff; font-family: var(--head); }
.sister small { display: block; color: #8ea1bd; margin-top: 2px; }

/* Barre d'action mobile */
.mobile-bar { display: none; }

/* Bandeau maquette */
.mockbar { background: #fff7d6; color: #6b5200; text-align: center; font-size: .82rem; line-height: 1.5; padding: 8px 16px; border-bottom: 1px solid #f0dc8a; }
.mockbar a { color: inherit; font-weight: 700; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-cta .btn-ghost { display: none; }
  .reviews, .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 24px; box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 130px); overflow: auto; gap: 0;
  }
  .header.open .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; width: auto; display: block; }
  .header.open .dd-villes { display: grid; }
  .header.open .dd > button { width: 100%; text-align: left; pointer-events: none; color: var(--muted); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 16px; }
  .header.open .dd > button::after { display: none; }
  .header.open .nav > a { padding: 12px; font-size: 1rem; }
  .hero .wrap, .page-hero .wrap, .split, .rdv, .anat, .diag { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .hero-visual { max-width: 440px; margin: 10px auto 0; width: 100%; }
  .page-hero .hero-visual { display: none; }
  .g3, .steps, .gallery, .types { grid-template-columns: repeat(2, 1fr); }
  .topbar .hide-m { display: none; }
  .topbar .wrap { justify-content: center; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(19, 40, 74, .1);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .mobile-bar .btn { padding: .9em .8em; font-size: .92rem; }
  body { padding-bottom: 78px; }
  .rdv-sec { margin-top: -110px; }
  .card-wide { flex-direction: column !important; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .reviews.r2 { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-row .btn, .split .btn, .sec-head + .towns + p .btn { width: 100%; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 84px; }
  .page-hero { padding: 28px 0 80px; }
  .g2, .g3, .g4, .reviews, .steps, .gallery, .row, .artisan-facts, .syms, .types, .footer .wrap { grid-template-columns: 1fr; }
  .type { grid-template-columns: 90px 1fr; gap: 16px; padding: 18px; }
  .gallery figure { aspect-ratio: 4 / 3; }
  .hero-tag { left: 10px; bottom: 14px; max-width: 220px; }
  .hero-rating { right: 10px; top: 14px; }
  .hero-cta .btn { width: 100%; }
  .form-card { padding: 24px 20px; border-radius: 20px; }
  .brand img { height: 60px; }
  .header .wrap { min-height: 76px; }
  .hero-flake { display: none; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .rating-bar { padding: 18px; }
  .rating-bar .btn { width: 100%; }
  .artisan-facts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .artisan-facts b { font-size: 1.4rem; }
  .hot { width: 28px; height: 28px; font-size: .78rem; }
  .anat-fig { padding: 12px; }
  .diag-q, .diag-r { padding: 22px; }
  .dd-villes { grid-template-columns: 1fr 1fr; }
  .marquee span { font-size: .85rem; }
  .facts { padding: 22px; }
}
@media (max-width: 640px) {
  .page-hero.rdv-hero { padding-bottom: 130px; }
  .rdv-sec { margin-top: -96px; }
}

/* ---------- Mobile : version compacte ---------- */
@media (max-width: 640px) {
  /* hero : arguments en une ligne, photo moins haute */
  .proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .proofs li { flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .74rem; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; }
  .proofs .ico { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; background: var(--sky); }
  .proofs .ico svg { width: 17px; height: 17px; }
  .proofs strong { font-size: .8rem; }
  .hero-cta { margin: 24px 0 22px; }
  .hero-photo { aspect-ratio: 4 / 3; transform: none; border-width: 5px; border-radius: 20px; }
  .hero-visual { margin-top: 26px; }
  .hero-rating { padding: 10px 12px; }
  .hero-rating b { font-size: 1.5rem; }
  .hero-tag { max-width: 200px; padding: 10px 12px; font-size: .78rem; }
  /* services : tuiles 2 x 2 */
  .grid.g4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid.g4 > .card { padding: 18px 14px; }
  .grid.g4 > .card .ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .grid.g4 > .card .ico svg { width: 22px; height: 22px; }
  .grid.g4 > .card h3 { font-size: .98rem; margin-bottom: .6em; }
  .grid.g4 > .card p { display: none; }
  .grid.g4 > .card .more { font-size: .8rem; }
  .card-wide { padding: 22px 18px; gap: 14px; margin-top: 12px; }
  /* galerie et chiffres */
  .gallery { gap: 12px; }
  .gallery figure { aspect-ratio: 16 / 11; }
  .artisan-facts span { font-size: .74rem; line-height: 1.3; display: block; }
  .sec-head { margin-bottom: 30px; }
  .sec-head p { font-size: 1rem; }
  .proofs li > span:last-child { font-size: 0; }
  .proofs strong { font-size: .78rem; line-height: 1.25; }
  .review { padding: 20px; }
  .review::before { font-size: 3.4rem; }
  .review blockquote { margin-bottom: 12px; }
  .reviews { gap: 12px; }
  .f-brand > p:not(.slogan) { display: none; }
  .footer { padding-top: 48px; }
  .footer .wrap { gap: 28px; }
  .footer-bottom { margin-top: 32px; }
  .radar { display: none; }
  .steps { gap: 10px; }
  .steps li { padding: 18px 18px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .steps li::before { font-size: 1.5rem; margin: 2px 0 0; grid-row: span 2; }
  .steps h3 { margin-bottom: .25em; }
  .sym { padding: 11px 12px; font-size: .9rem; }
  .diag { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
