/* NC Couverture — feuille de style
   Palette : ardoise (texte, sections sombres), chaux (fond), rouge NC (action),
   zinc et plomb (lignes, texte secondaire). Une seule famille : Archivo,
   dont la largeur variable porte la hiérarchie (titres étendus, texte normal). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --chaux: #f1f2ee;
  --blanc: #ffffff;
  --ardoise: #1d252c;
  --ardoise-2: #27323b;
  --plomb: #4b5862;
  --zinc: #a7b0b6;
  --zinc-clair: #d9dddf;
  --rouge: #c8281e;
  --rouge-fonce: #a11f16;
  --tuile: #a2452a;
  --ok: #2f6b45;

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118%;
  --s-1: 0.833rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.563rem;
  --s3: 1.953rem;
  --s4: 2.441rem;
  --s5: clamp(2.4rem, 5.2vw, 4.4rem);
  --s6: clamp(2.7rem, 6.6vw, 6rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 76rem;
  --r: 6px;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--chaux);
  color: var(--ardoise);
  font-family: var(--f);
  font-size: var(--s0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rouge); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ardoise); color: #fff; padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }

/* ---------- Typographie ---------- */
h1, h2, h3, .display {
  font-stretch: var(--wide);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--s5); }
h2 { font-size: var(--s4); }
h3 { font-size: var(--s1); line-height: 1.2; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: var(--s1); line-height: 1.5; color: var(--plomb); max-width: 58ch; }
.muted { color: var(--plomb); }
small, .small { font-size: var(--s-1); }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--dark { background: var(--ardoise); color: #e9ecee; }
.section--dark .lead, .section--dark .muted { color: #b9c2c8; }
.section--white { background: var(--blanc); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 60rem) {
  .head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; }
  .head--split p { margin-bottom: .4em; }
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--rouge); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .75rem 1.35rem;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: var(--r);
  font: 650 1rem/1.1 var(--f); font-stretch: 108%;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { --bg: var(--rouge-fonce); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --bg: transparent; color: var(--rouge); border-color: var(--rouge); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn--light { --bg: #fff; --fg: var(--ardoise); }
.btn--light:hover { --bg: var(--chaux); color: var(--ardoise); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 242, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--zinc-clair); }
.site-header--over { position: fixed; inset: 0 0 auto; background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--over.is-scrolled { background: rgba(29, 37, 44, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(255,255,255,.08); }
.header-in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.brand svg { width: 2.4rem; height: auto; flex: none; }
.brand span { font-stretch: 112%; font-weight: 760; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1; }
.brand small { display: block; font-stretch: 100%; font-weight: 450; font-size: .74rem; opacity: .72; margin-top: .2rem; letter-spacing: 0; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 550; font-size: .97rem; padding-block: .5rem; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rouge); }
.header-tel { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .9rem;
  background: none; color: inherit; border: 1.5px solid currentColor; border-radius: var(--r);
  font: 600 .95rem var(--f); cursor: pointer;
}
@media (min-width: 64rem) {
  .nav { display: block; }
  .header-tel { display: inline-flex; min-height: 2.75rem; padding: .5rem 1rem; }
  .menu-btn { display: none; }
}
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--ardoise); color: #fff;
  display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem;
  transform: translateY(-100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); margin-top: -1rem; }
.drawer ul { list-style: none; padding: 0; margin: 1.5rem 0 auto; }
.drawer li a { display: block; padding: .7rem 0; font-size: var(--s2); font-stretch: var(--wide); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer .actions { margin-top: 2rem; }
.drawer .btn { flex: 1 1 12rem; }

/* ---------- Héros d'accueil (3D) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  background: radial-gradient(120% 90% at 78% 30%, #34424d 0%, var(--ardoise) 58%, #151b20 100%);
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(21,27,32,.86) 0%, rgba(21,27,32,.55) 38%, rgba(21,27,32,0) 70%),
              linear-gradient(0deg, rgba(21,27,32,.85) 0%, rgba(21,27,32,0) 45%); }
@media (max-width: 56rem) {
  .hero-shade { background: linear-gradient(0deg, rgba(21,27,32,.96) 0%, rgba(21,27,32,.82) 52%, rgba(21,27,32,.25) 78%, rgba(21,27,32,0) 100%); }
}
.hero-in { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 7vh, 5rem); }
.hero h1 { font-size: var(--s6); font-weight: 800; max-width: 11ch; margin-bottom: .35em; }
.hero h1 .l2 { display: block; font-weight: 300; font-stretch: 125%; color: #d7dde1; }
.hero .lead { color: #c9d1d6; margin-bottom: 1.8rem; }
.hero-facts { list-style: none; padding: 0; margin: clamp(2rem, 6vh, 3.5rem) 0 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: #b9c2c8; font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: .55rem; }
.hero-facts li::before { content: ""; width: .5rem; height: .5rem; background: var(--rouge); border-radius: 1px; transform: rotate(45deg); }
.hero-poster { position: absolute; inset: 0; z-index: -2; background: url("/assets/img/renovation-toiture-1-1400.jpg") 70% 50% / cover no-repeat; opacity: 0; transition: opacity .6s; }
.no-webgl .hero-poster { opacity: .38; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 2rem; font-size: .85rem; color: #9aa6ae; writing-mode: vertical-rl; letter-spacing: .02em; }
@media (max-width: 40rem) { .hero-scroll { display: none; } }

/* ---------- Héros de page intérieure ---------- */
/* En-tête sombre des pages intérieures : même univers que l'accueil.
   Trame de tuiles plates en filigrane, photo qui se dévoile puis pivote
   légèrement au survol, bande de repères réels. */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: radial-gradient(110% 120% at 85% 10%, #34424d 0%, var(--ardoise) 55%, #151b20 100%);
  color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='30'%3E%3Cpath d='M0 14.5H44M0 29.5H44M.5 0V15M22.5 15V30' stroke='%23fff' stroke-opacity='.07' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%);
  transform: perspective(900px) rotateX(38deg) scale(1.6); transform-origin: 50% 0;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: -1; background: linear-gradient(90deg, var(--rouge) 0 22%, transparent 22%); }
.page-hero .lead { color: #c9d1d6; }
.page-hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.crumbs { font-size: .9rem; color: #9aa6ae; margin-bottom: 1.75rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #5f6c75; }
.crumbs a { text-decoration: none; color: #c9d1d6; }
.crumbs a:hover { color: #fff; }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .page-hero-grid { grid-template-columns: 1.2fr .8fr; gap: 4.5rem; } }
.page-hero h1 { max-width: 15ch; font-weight: 800; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.page-hero h1 + .lead { animation: rise .9s .08s cubic-bezier(.2,.7,.2,1) both; }
.page-hero figure { margin: 0; position: relative; perspective: 1000px; }
.page-hero figure::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); }
.page-hero .tilt { position: relative; border-radius: var(--r); overflow: hidden; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); animation: unveil 1.15s .1s cubic-bezier(.7,0,.2,1) both; }
.page-hero .tilt img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; display: block; animation: settle 1.6s .1s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .tilt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14), rgba(255,255,255,0) 40%); pointer-events: none; }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.facts { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 1.25rem 0 0; display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); border-top: 1px solid rgba(255,255,255,.12); max-width: 46rem; }
.facts li { display: grid; gap: .15rem; }
.facts .k { font-size: .82rem; color: #8e9aa3; }
.facts .v { font-stretch: 112%; font-weight: 700; font-size: 1.15rem; color: #fff; line-height: 1.2; }
.urgent-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: 1rem 1.25rem; margin-top: 1.5rem; background: var(--rouge); color: #fff; border-radius: var(--r); max-width: 40rem; }
.urgent-bar strong { font-stretch: 110%; }
.urgent-bar a { color: #fff; font-weight: 700; }

/* Blocs éditoriaux mis en valeur */
.observe { position: relative; padding: 1.75rem 1.75rem 1.75rem 2rem; margin: 0 0 2.5rem; background: var(--blanc); border-radius: var(--r); border: 1px solid var(--zinc-clair); }
.observe::before { content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 4px; background: var(--rouge); border-radius: 0 2px 2px 0; }
.observe h2 { margin-top: 0 !important; font-size: var(--s1) !important; font-stretch: 112%; }
.observe p { font-size: var(--s1); line-height: 1.55; margin: 0; color: var(--ardoise); max-width: 58ch; }
.tip { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; margin: 2.25rem 0; padding: 1.4rem 1.5rem; background: var(--ardoise); color: #e9ecee; border-radius: var(--r); }
.tip svg { width: 2.75rem; height: 2.75rem; color: var(--rouge); }
.tip h2 { margin: 0 0 .35rem !important; font-size: var(--s1) !important; color: #fff; }
.tip p { margin: 0; color: #c9d1d6; }
.prose > h2 { position: relative; padding-top: .9rem; }
.prose > h2::before { content: ""; position: absolute; left: 0; top: 0; width: 2.25rem; height: 3px; background: var(--rouge); border-radius: 2px; }
.prose > h2:first-child { margin-top: 0; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .38s ease both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Triage par symptôme ---------- */
.triage { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--zinc-clair); }
.triage li { border-bottom: 1px solid var(--zinc-clair); }
.triage a {
  display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: center;
  padding: 1.35rem 0; text-decoration: none; position: relative;
}
.triage .sym { font-size: var(--s2); font-stretch: 112%; font-weight: 700; line-height: 1.15; }
.triage .svc { grid-column: 1; color: var(--plomb); font-size: .98rem; }
.triage .go { grid-row: 1 / span 2; grid-column: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--zinc); display: grid; place-items: center; transition: background-color .2s, border-color .2s, color .2s, transform .25s; }
.triage .go svg { width: 1.1rem; height: 1.1rem; }
.triage a:hover .go { background: var(--rouge); border-color: var(--rouge); color: #fff; transform: translateX(4px); }
.triage a:hover .sym { color: var(--ardoise); }
.triage-thumb { display: none; }
@media (min-width: 60rem) {
  .triage-wrap { display: grid; grid-template-columns: 1fr 22rem; gap: 4rem; align-items: start; }
  .triage-thumb { display: block; position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--zinc-clair); }
  .triage-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
}

/* ---------- Méthode (étapes) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; align-content: start; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.steps li::before { content: counter(s); font-stretch: 125%; font-weight: 300; font-size: var(--s3); line-height: 1; color: var(--rouge); }
.section:not(.section--dark) .steps li { border-top-color: var(--zinc-clair); }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: inherit; opacity: .82; }
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .steps li { grid-template-columns: 1fr; border-top-width: 2px; padding-top: 1.25rem; }
}

/* ---------- Avant / après ---------- */
.ba-grid { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { position: relative; margin: 0; }
.ba-frame { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r); background: var(--zinc-clair); touch-action: pan-y; user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-frame { cursor: ew-resize; }
.ba-frame.is-drag { cursor: grabbing; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d252c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size: 1.3rem; background-position: center; background-repeat: no-repeat; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba input[type=range]:focus-visible + .ba-handle::after { outline: 3px solid var(--rouge); outline-offset: 3px; }
.ba-tag { position: absolute; top: .75rem; padding: .25rem .6rem; background: rgba(29,37,44,.82); color: #fff; font-size: .82rem; border-radius: 3px; pointer-events: none; }
.ba-tag--l { left: .75rem; } .ba-tag--r { right: .75rem; }
.ba figcaption { margin-top: .7rem; color: var(--plomb); font-size: .95rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; background: var(--zinc-clair); }
.gallery figcaption { font-size: .88rem; color: var(--plomb); margin-top: .4rem; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 3/2; }

/* ---------- Zone (carte) ---------- */
.zone-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .zone-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.zone-map { width: 100%; height: auto; }
.zone-map .ring { fill: none; stroke: rgba(255,255,255,.14); stroke-dasharray: 3 6; }
.zone-map .ring-label { fill: #8e9aa3; font: 500 11px var(--f); }
.zone-map .dot { fill: #c9d1d6; }
.zone-map .dot--page { fill: #fff; }
.zone-map .base { fill: var(--rouge); }
.zone-map .base-pulse { fill: none; stroke: var(--rouge); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: pulse 2.6s ease-out infinite; }
.zone-map text.name { fill: #dfe4e7; font: 500 11.5px var(--f); }
.zone-map text.name--base { fill: #fff; font: 700 13px var(--f); font-stretch: 115%; }
.zone-map a:hover text, .zone-map a:focus text { fill: #fff; text-decoration: underline; }
.zone-map a:hover .dot { fill: var(--rouge); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li a, .chips li span { display: inline-block; padding: .38rem .75rem; border: 1px solid currentColor; border-radius: 999px; font-size: .92rem; text-decoration: none; opacity: .9; }
.chips li span { opacity: .6; border-style: dashed; }
.chips li a:hover { background: #fff; color: var(--ardoise); opacity: 1; }
.section:not(.section--dark) .chips li a:hover { background: var(--ardoise); color: #fff; }

/* ---------- Prestations (liste) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--zinc-clair); border: 1px solid var(--zinc-clair); border-radius: var(--r); overflow: hidden; }
@media (min-width: 48rem) { .svc-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc-list a { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.5rem 1.4rem 1.6rem; background: var(--blanc); text-decoration: none; transition: background-color .2s; }
.svc-list a:hover { background: #fafaf8; color: inherit; }
.svc-list h3 { font-size: var(--s1); font-stretch: 112%; margin: 0; }
.svc-list p { margin: 0; color: var(--plomb); font-size: .98rem; }
.svc-list .more { margin-top: auto; padding-top: .8rem; color: var(--rouge); font-weight: 650; font-size: .95rem; }

/* ---------- Contenu éditorial ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--s3); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; max-width: 64ch; }
.prose li::marker { color: var(--rouge); }
.content-grid { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .content-grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 5rem; } }
.aside { align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.aside-card { background: var(--ardoise); color: #e9ecee; padding: 1.5rem; border-radius: var(--r); }
.aside-card h2 { font-size: var(--s1); margin-bottom: .6rem; }
.aside-card p { color: #b9c2c8; font-size: .97rem; }
.aside-card .btn { width: 100%; margin-top: .5rem; }
.aside-links { background: var(--blanc); padding: 1.25rem 1.5rem; border-radius: var(--r); border: 1px solid var(--zinc-clair); }
.aside-links h2 { font-size: 1rem; font-stretch: 100%; margin-bottom: .5rem; }
.aside-links ul { list-style: none; padding: 0; margin: 0; }
.aside-links li a { display: block; padding: .45rem 0; text-decoration: none; border-bottom: 1px solid var(--zinc-clair); }
.aside-links li:last-child a { border-bottom: 0; }
.signs { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: .6rem; }
.signs li { padding: .9rem 1rem .9rem 2.6rem; background: var(--blanc); border-radius: var(--r); border: 1px solid var(--zinc-clair); position: relative; max-width: none; }
.signs li::before { content: ""; position: absolute; left: 1rem; top: 1.25rem; width: .6rem; height: .6rem; background: var(--rouge); transform: rotate(45deg); border-radius: 1px; }
.photo-row { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 2rem 0; }
.photo-row img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.photo-note { font-size: .88rem; color: var(--plomb); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--zinc-clair); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--zinc-clair); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; position: relative; font-weight: 650; font-size: var(--s1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .8rem; height: .8rem; border-right: 2px solid var(--rouge); border-bottom: 2px solid var(--rouge); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 1.4rem; color: var(--plomb); }
.faq .ans p { margin: 0; }

/* ---------- Formulaire ---------- */
.quote { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .quote { grid-template-columns: .85fr 1.15fr; gap: 5rem; } }
.quote-side .tel-big { display: inline-block; font-size: var(--s4); font-stretch: 112%; font-weight: 780; text-decoration: none; line-height: 1.1; margin: .4rem 0 1rem; }
.quote-side dl { margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.quote-side dt { font-weight: 650; }
.quote-side dd { margin: 0; color: #b9c2c8; }
.form { background: var(--blanc); color: var(--ardoise); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--plomb); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem; font: 400 1rem var(--f); color: var(--ardoise);
  background: #fbfbfa; border: 1.5px solid var(--zinc); border-radius: var(--r);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ardoise); box-shadow: 0 0 0 3px rgba(200,40,30,.18); }
.field [aria-invalid="true"] { border-color: var(--rouge); }
.field .err { color: var(--rouge-fonce); font-size: .88rem; min-height: 0; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: .93rem; color: var(--plomb); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .18rem; accent-color: var(--rouge); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.1rem; border-radius: var(--r); font-weight: 550; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e7f1ea; color: var(--ok); }
.form-status--err { background: #fbe9e7; color: var(--rouge-fonce); }
.form .btn { justify-self: start; }
.form .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-note { font-size: .88rem; color: var(--plomb); margin: 0; }

/* ---------- Bandeau d'appel ---------- */
.callout { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 60rem) { .callout { grid-template-columns: 1fr auto; } }
.callout h2 { margin: 0; font-size: var(--s3); }

/* ---------- Pied de page ---------- */
.site-footer { background: #151b20; color: #b9c2c8; padding: clamp(3rem, 7vw, 5rem) 0 6rem; font-size: .95rem; }
@media (min-width: 64rem) { .site-footer { padding-bottom: 2.5rem; } }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .86rem; color: #8e9aa3; }
.foot-legal button { background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; text-decoration: underline; }

/* ---------- Barre mobile ---------- */
.mobile-bar { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(21,27,32,.96); transform: translateY(110%); transition: transform .3s; }
.mobile-bar.is-on { transform: none; }
.mobile-bar .btn { min-height: 3rem; padding: .5rem; font-size: .95rem; }
@media (min-width: 64rem) { .mobile-bar { display: none; } }

/* ---------- Consentement ---------- */
.consent { position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; max-width: 30rem; margin-left: auto; background: var(--blanc); color: var(--ardoise); border-radius: var(--r); box-shadow: 0 10px 40px rgba(21,27,32,.28); padding: 1.25rem 1.25rem 1.1rem; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.05rem; font-stretch: 105%; margin-bottom: .4rem; }
.consent p { font-size: .9rem; color: var(--plomb); margin-bottom: .9rem; }
.consent .actions { gap: .5rem; }
.consent .btn { min-height: 2.75rem; padding: .5rem 1rem; font-size: .93rem; flex: 1 1 auto; }

/* ---------- Divers ---------- */
.notice { background: var(--blanc); border-left: 4px solid var(--rouge); padding: 1rem 1.25rem; border-radius: 0 var(--r) var(--r) 0; max-width: 44rem; }
.sitemap-list { columns: 2 16rem; gap: 2rem; padding-left: 1.1rem; }
.sitemap-list li { margin-bottom: .4rem; break-inside: avoid; }
.legal h2 { font-size: var(--s2); margin-top: 2em; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Illustrations en tête des cartes (images générées, signalées comme telles) */
.card-media { position: relative; display: block; margin: -1.5rem -1.4rem 1.1rem; aspect-ratio: 4/3; overflow: hidden; background: var(--zinc-clair); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-list a:hover .card-media img { transform: scale(1.05); }
.card-tag { position: absolute; left: .7rem; bottom: .7rem; padding: .18rem .5rem; font-size: .72rem; color: #fff; background: rgba(21,27,32,.7); border-radius: 3px; }
