/* ===========================================================
   Toitura : monde mené par la photographie
   Langage repris de la maquette NS Group Cleaning livrée :
   hero photo plein écran sous voile nuit, display très gras,
   boutons pilule, figures arrondies, bandes blanc / nuit.
   Bleu ardoise = accent et boutons. Voir DESIGN.md.
   =========================================================== */

@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-wght.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: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  /* Nuit */
  --night: #0d1620;
  --night-2: #16232f;
  --night-3: #203242;
  /* Accent : bleu ardoise */
  --slate: #24435c;
  --slate-deep: #1a3346;
  --slate-bright: #4c7898;   /* bouton principal et accent sur fond sombre */
  --slate-light: #a9c3d8;    /* liens et détails sur nuit */
  --slate-wash: #e7edf2;
  /* Clair */
  --paper: #f2f3f4;
  --paper-2: #e8eaec;
  --white: #ffffff;
  /* Encre */
  --ink: #0d1620;
  --ink-soft: #46525e;
  --ink-faint: #5d6874;
  /* Filets */
  --line: #dadfe4;
  --line-soft: #e8ebee;
  --line-on-dark: rgba(255, 255, 255, 0.16);
  /* Sur fond sombre */
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.8);
  --error: #a1322a;

  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-hero: clamp(2.5rem, 1.5rem + 4.6vw, 5.3rem);
  --fs-h1: clamp(2.1rem, 1.45rem + 2.8vw, 3.7rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2.2vw, 2.95rem);
  --fs-h3: clamp(1.15rem, 1.04rem + 0.5vw, 1.4rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.42vw, 1.26rem);
  --fs-body: clamp(1rem, 0.97rem + 0.16vw, 1.06rem);
  --fs-small: 0.92rem;
  --fs-label: 0.76rem;

  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 64px);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --section-tight: clamp(2.8rem, 2.2rem + 3vw, 4.5rem);
  --topbar-h: 40px;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 18px 40px -22px rgba(13, 22, 32, 0.4);
  --shadow-lg: 0 32px 70px -34px rgba(13, 22, 32, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); font-weight: 400; line-height: 1.62;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

/* ---------- Surfaces du navigateur ---------- */
::selection { background: var(--slate); color: var(--white); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 4px; }
.band-night :focus-visible, .band-night2 :focus-visible, .hero :focus-visible, .pagehead :focus-visible, .footer :focus-visible,
.topbar :focus-visible, .nav :focus-visible, .cta-card :focus-visible, .roof-panel :focus-visible, .root :focus-visible, .mid-cta :focus-visible { outline-color: var(--white); }
.qf :focus-visible { outline-color: var(--slate) !important; }
html { scrollbar-color: #b9c3cd var(--paper); scrollbar-width: thin; caret-color: var(--slate); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #b9c3cd; border: 3px solid var(--paper-2); border-radius: var(--r-pill); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.018em; }
.hero-title { font-size: var(--fs-hero); font-weight: 850; line-height: 1.0; letter-spacing: -0.04em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.3; }
.prose { max-width: 68ch; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 1.05em; }
.prose a, .prose-p a, .answer a { color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; }
.prose-p { max-width: 62ch; }
.answer { font-size: var(--fs-lead); line-height: 1.52; max-width: 58ch; font-weight: 450; }
strong { font-weight: 700; }
.muted { color: var(--ink-faint); }
.small { font-size: var(--fs-small); color: var(--ink-soft); }
.nw { white-space: nowrap; }

/* Contexte sombre */
.band-night, .band-night2, .hero, .pagehead, .cta-card, .root, .mid-cta { color: var(--on-dark); }
:is(.band-night, .band-night2, .hero, .pagehead, .cta-card, .root, .mid-cta) :is(.lead, .prose-p) { color: var(--on-dark-soft); }
:is(.band-night, .band-night2, .pagehead, .cta-card) .label { color: var(--on-dark-soft); }
:is(.band-night, .band-night2, .pagehead, .cta-card) .prose-p a { color: var(--slate-light); }
:is(.band-night, .band-night2) .link-arrow { color: var(--slate-light); }

/* Placeholders [À CONFIRMER] : visibles, jamais masqués */
mark.tbc {
  background: var(--paper-2); color: var(--slate-deep); border: 1px dashed #aeb8c1; border-radius: 4px;
  padding: 0 0.3em; font-size: 0.86em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere;
}
:is(.band-night, .band-night2, .hero, .pagehead, .cta-card, .roof-panel, .footer, .mid-cta) mark.tbc { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.qf mark.tbc, .pricebox mark.tbc { background: var(--paper-2) !important; color: var(--slate-deep) !important; border-color: #aeb8c1 !important; }
.todo { text-decoration: underline dotted; text-decoration-color: #aeb8c1; text-underline-offset: 0.22em; cursor: help; color: var(--ink-soft); }
:is(.band-night, .band-night2, .pagehead, .footer, .roof-panel, .root, .cta-card) .todo { color: var(--on-dark-soft); text-decoration-color: rgba(255, 255, 255, 0.4); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.section { padding-block: var(--section); }
.section-tight { padding-block: var(--section-tight); }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-night { background: var(--night); }
.band-night2 { background: var(--night-2); }

.sec-head { margin-bottom: clamp(1.8rem, 1.5rem + 1.8vw, 3.2rem); max-width: 62ch; }
.sec-head .lead { margin-top: 1rem; }
.sec-head.split { max-width: none; display: grid; gap: 1.1rem; }
.sec-head.split .lead { margin-top: 0; }
@media (min-width: 920px) { .sec-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; } }

.split-2 { display: grid; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.split-2 > * { min-width: 0; }
.split-2.top { align-items: start; }
@media (min-width: 920px) {
  .split-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-2.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split-2.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
.stack { display: grid; gap: 1.3rem; align-content: start; }
.stack-lg { display: grid; gap: 2.2rem; align-content: start; }
.mt-md { margin-top: clamp(1.4rem, 1.2rem + 1vw, 2.2rem); }
.mb-sm { margin-bottom: 1.6rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; margin-top: 1.8rem; }
.caption-foot { margin-top: 1.1rem; font-size: 0.87rem; color: var(--ink-faint); max-width: 78ch; }
:is(.band-night, .band-night2, .pagehead, .cta-card) .caption-foot { color: var(--on-dark-soft); }

/* ---------- Boutons pilule ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.65rem; min-height: 52px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-weight: 650; font-size: 0.98rem; letter-spacing: -0.006em; line-height: 1.2;
  background: none; text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn-primary:hover { background: var(--slate-deep); border-color: var(--slate-deep); }
:is(.hero, .pagehead, .band-night, .band-night2, .cta-card, .roof-panel, .root) .btn-primary { background: var(--slate-bright); border-color: var(--slate-bright); }
:is(.hero, .pagehead, .band-night, .band-night2, .cta-card, .roof-panel, .root) .btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--night); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-outline-light, .btn-ghost-dark { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline-light:hover, .btn-ghost-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
span.btn-ghost-dark { border-style: dashed; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 650; font-size: 0.97rem; color: var(--slate); }
.link-arrow svg { transition: transform 0.2s var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Bande haute ---------- */
.topbar { background: var(--slate); color: var(--white); position: relative; z-index: 70; padding-top: env(safe-area-inset-top); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; min-height: var(--topbar-h); }
.topbar-msg { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-short { display: none; }
@media (max-width: 480px) { .tb-long { display: none; } .tb-short { display: inline; } .topbar-msg { letter-spacing: 0.06em; font-size: 0.7rem; } }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--r-pill); overflow: hidden; flex: none; }
.lang span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.26rem 0.62rem; }
.lang .is-on { background: var(--white); color: var(--slate-deep); }
.lang .is-off { color: rgba(255, 255, 255, 0.85); cursor: help; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.5); }

/* ---------- Navigation posée sur la photo ---------- */
.nav { position: absolute; left: 0; right: 0; top: calc(var(--topbar-h) + env(safe-area-inset-top)); z-index: 60; padding-block: 1.1rem; }
.nav > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--white); flex: none; }
.brand-ico { width: 32px; height: 32px; }
.brand-word { font-weight: 850; font-size: 1.5rem; letter-spacing: -0.05em; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 0.15rem; }
.nav-links a { padding: 0.5rem 0.8rem; border-radius: var(--r-pill); font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.88); white-space: nowrap; transition: background-color 0.18s var(--ease), color 0.18s var(--ease); }
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.2); }
.nav-end { display: flex; align-items: center; gap: 0.55rem; }
.nav-cta { min-height: 46px; padding: 0.7rem 1.25rem; background: var(--slate-bright); border-color: var(--slate-bright); color: var(--white); }
.nav-cta:hover { background: var(--white); border-color: var(--white); color: var(--night); }
.nc-short { display: none; }
@media (max-width: 420px) { .nc-long { display: none; } .nc-short { display: inline; } .nav-cta { padding-inline: 1rem; } .brand-word { font-size: 1.3rem; } }
.nav-toggle {
  min-height: 46px; padding: 0 1.05rem; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: var(--r-pill);
  background: transparent; color: var(--white); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.nav-panel { position: absolute; left: 0; right: 0; top: calc(100% + 0.2rem); }
.nav-panel > .wrap > * { background: var(--night-2); }
.nav-panel ul { border: 1px solid var(--line-on-dark); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.nav-panel li a { display: block; padding: 0.95rem 1.3rem; color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid var(--line-on-dark); font-weight: 550; }
.nav-panel li a:hover, .nav-panel li a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.panel-lang { padding: 1rem 1.3rem 1.2rem; font-size: 0.9rem; color: var(--on-dark-soft); border: 1px solid var(--line-on-dark); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
}

/* ---------- Hero : la photographie occupe tout ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--topbar-h)); min-height: calc(100svh - var(--topbar-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--night); isolation: isolate;
}
@media (min-height: 1000px) { .hero { min-height: 940px; } }
.hero-media, .pagehead-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .pagehead-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 52% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13, 22, 32, 0.94) 0%, rgba(13, 22, 32, 0.62) 36%, rgba(13, 22, 32, 0.18) 70%, rgba(13, 22, 32, 0.45) 100%),
    linear-gradient(to right, rgba(13, 22, 32, 0.72) 0%, rgba(13, 22, 32, 0.18) 60%, rgba(13, 22, 32, 0) 100%);
}
.hero-inner { padding-top: clamp(7.5rem, 18vh, 11rem); padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.hero-title { max-width: 14ch; margin-bottom: 1.3rem; }
.hero .lead { max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
@media (max-width: 420px) { .hero-actions .btn { width: 100%; } }
.hero-stats { border-top: 1px solid rgba(255, 255, 255, 0.26); margin-top: clamp(2.2rem, 5vw, 3.8rem); padding-top: clamp(1.3rem, 2.5vw, 1.9rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1rem; }
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-stat b { display: block; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.15; }
.hero-stat span { display: block; margin-top: 0.3rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.hero-credit, .ph-credit { margin-top: 1.2rem; font-size: 0.74rem; color: rgba(255, 255, 255, 0.66); text-align: right; }
.ph-credit { position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: 0.7rem; margin: 0; }

/* ---------- En-tête de page intérieure (photo) ---------- */
.pagehead { position: relative; background: var(--night); overflow: hidden; isolation: isolate; padding-top: clamp(8.4rem, 17vh, 11.5rem); padding-bottom: clamp(3.2rem, 5vw, 5rem); }
.pagehead-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13, 22, 32, 0.96) 8%, rgba(13, 22, 32, 0.72) 58%, rgba(13, 22, 32, 0.58) 100%),
    linear-gradient(to right, rgba(13, 22, 32, 0.82) 0%, rgba(13, 22, 32, 0.28) 70%, rgba(13, 22, 32, 0.06) 100%);
}
.ph-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.ph-grid > * { min-width: 0; }
@media (min-width: 980px) { .ph-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.ph-text h1 { max-width: 20ch; margin-bottom: 1rem; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
@media (max-width: 420px) { .ph-actions .btn { width: 100%; } }
.ph-facts { margin-top: clamp(2.2rem, 4vw, 3.2rem); padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.26); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1rem; }
@media (min-width: 820px) { .ph-facts { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.ph-facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.ph-facts dd { margin-top: 0.3rem; font-weight: 700; font-size: 1.04rem; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ph-warn { margin-top: 1.1rem; font-size: 0.92rem; color: var(--on-dark-soft); max-width: 56ch; }
.ph-updated { margin-top: 1rem; font-size: 0.86rem; color: var(--on-dark-soft); }
.ph-short { padding-bottom: clamp(2.6rem, 4vw, 3.8rem); }
.ph-figure { background: rgba(13, 22, 32, 0.55); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ph-big { font-size: clamp(4rem, 2.4rem + 7vw, 8rem); font-weight: 850; letter-spacing: -0.05em; line-height: 0.9; display: flex; align-items: baseline; gap: 0.12em; }
.ph-big span { font-size: 0.26em; font-weight: 500; letter-spacing: 0; color: var(--on-dark-soft); }
.ph-unit { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.22); font-weight: 600; color: var(--on-dark-soft); }
.ph-side { background: rgba(13, 22, 32, 0.6); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.9rem); }

/* ---------- Fil d'Ariane ---------- */
.trail { background: var(--white); border-bottom: 1px solid var(--line); }
.trail ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.45rem; padding-block: 0.9rem; font-size: 0.84rem; font-weight: 500; color: var(--ink-faint); }
.trail a { color: var(--ink-soft); }
.trail a:hover { color: var(--slate); text-decoration: underline; text-underline-offset: 0.2em; }
.trail [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Bande défilante ---------- */
.ticker { background: var(--night); color: var(--white); border-block: 1px solid var(--line-on-dark); overflow: hidden; padding-block: 1.15rem; }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 46s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; font-size: clamp(1rem, 0.95rem + 0.45vw, 1.3rem); font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; }
.ticker-track span::after { content: "/"; margin-inline: clamp(1.4rem, 3vw, 2.6rem); color: var(--slate-light); font-weight: 400; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Figures arrondies ---------- */
.shot { position: relative; }
.shot img { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; background: var(--paper-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.shot figcaption { margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-faint); }
:is(.band-night, .band-night2) .shot figcaption { color: var(--on-dark-soft); }
.shot-wrap { position: relative; }
.badge-float { position: absolute; left: -14px; bottom: 46px; background: var(--slate); color: var(--white); padding: 0.95rem 1.35rem; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); max-width: 78%; }
@media (max-width: 560px) { .badge-float { left: 10px; bottom: 40px; } }
.badge-float b { display: block; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.badge-float span { display: block; margin-top: 0.15rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }

/* ---------- Galerie de traitements ---------- */
.gallery { display: grid; gap: 1.1rem; }
@media (min-width: 680px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gal { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; background: var(--night); }
.gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (max-width: 679px) { .gal img { aspect-ratio: 4 / 3; } }
.gal:hover img { transform: scale(1.05); }
.gal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 22, 32, 0.94) 0%, rgba(13, 22, 32, 0.5) 48%, rgba(13, 22, 32, 0.05) 80%); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.3rem; color: var(--white); }
.gal-cap span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 0.35rem; }
.gal-cap b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.022em; line-height: 1.2; }
.gal-cap em { display: block; margin-top: 0.45rem; font-style: normal; font-size: 0.9rem; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.gal-todo { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: var(--r-pill); background: rgba(13, 22, 32, 0.7); border: 1px dashed rgba(255, 255, 255, 0.5); color: var(--white); }
.gal.is-todo { cursor: help; }

/* ---------- Formulaire de devis ---------- */
.qf { background: var(--white); color: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); container-type: inline-size; scroll-margin-top: 24px; }
.qf-body, .qf-success { padding: clamp(1.25rem, 0.9rem + 1.8vw, 2.1rem); display: grid; gap: 1.15rem; }
.qf-title { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); letter-spacing: -0.026em; }
.qf-sub { margin-top: -0.7rem; color: var(--ink-soft); font-size: 0.95rem; }
.field { display: grid; gap: 0.42rem; min-width: 0; }
.field > label, .field > legend { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }
.field > legend { margin-bottom: 0.42rem; }
.field input, .field textarea {
  width: 100%; min-width: 0; min-height: 52px; padding: 0.85rem 1.05rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: 1rem; color: var(--ink); transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input[name="postal_code"] { max-width: 10rem; font-size: 1.12rem; font-weight: 650; letter-spacing: 0.08em; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: #b4bfca; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(36, 67, 92, 0.18); }
.field.is-invalid input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(161, 50, 42, 0.14); }
.field-err { font-size: 0.88rem; font-weight: 600; color: var(--error); }
.field-ok { font-size: 0.88rem; font-weight: 650; color: var(--slate); }
.field-ok:empty { display: none; }
.field-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); margin-right: 0.5rem; vertical-align: 0.08em; }
.field-suggest { font-size: 0.9rem; }
.field-suggest button { border: 0; background: none; padding: 0; color: var(--slate); font-weight: 650; text-decoration: underline; text-underline-offset: 0.18em; }
.field-hint { font-size: 0.85rem; color: var(--ink-faint); }

.pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@container (min-width: 520px) { .pills { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pill { position: relative; display: block; cursor: pointer; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white);
  font-weight: 600; font-size: 0.94rem; line-height: 1.2;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.pill:hover span { border-color: var(--slate); }
.pill input:checked + span { background: var(--slate); border-color: var(--slate); color: var(--white); }
.pill input:focus-visible + span { outline: 2px solid var(--slate); outline-offset: 2px; }
.field.is-invalid .pill span { border-color: var(--error); }

.qf-more { justify-self: start; display: inline-flex; align-items: center; gap: 0.45rem; border: 0; background: none; padding: 0.3rem 0; min-height: 40px; color: var(--slate); font-weight: 650; font-size: 0.95rem; text-align: left; }
.qf-more svg { flex: none; transition: transform 0.2s var(--ease); }
.qf-more[aria-expanded="true"] svg { transform: rotate(45deg); }
.qf-more:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.qf-submit { min-height: 54px; }
.qf-submit[aria-busy="true"] { background: var(--slate-deep); }
.qf-legal { font-size: 0.84rem; color: var(--ink-faint); line-height: 1.5; }
.qf-fail { font-size: 0.9rem; color: var(--error); font-weight: 600; }
.qf-fail a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf-success h2, .qf-success h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); letter-spacing: -0.026em; }
.qf-success h2:focus { outline: none; }
.qs-recap { padding: 0.9rem 1rem; border-radius: var(--r-sm); background: var(--paper); color: var(--ink-soft); overflow-wrap: anywhere; }
.qs-recap strong { color: var(--ink); }
.qs-links { display: grid; gap: 0.5rem; }
.qf .link-arrow { color: var(--slate) !important; }
.qf .label { color: var(--ink-faint) !important; }
.qs-fix { justify-self: start; }

.mail-line { margin-top: 1.4rem; font-size: 0.97rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.mail-line a { font-weight: 700; color: var(--slate); text-decoration: underline; text-underline-offset: 0.2em; }
.cta-card .mail-line { color: var(--on-dark-soft); }
.cta-card .mail-line a { color: var(--white); }
.reassure { display: grid; gap: 0.7rem; max-width: 52ch; }
.reassure li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.reassure svg { margin-top: 2px; color: var(--slate); }

/* ---------- Carte d'appel final (nuit, arrondie, avec formulaire) ---------- */
.cta-card { background: var(--night); border-radius: var(--r-lg); padding: clamp(1.6rem, 1.2rem + 3vw, 4rem) clamp(1.2rem, 1rem + 3vw, 3.6rem); box-shadow: var(--shadow-lg); }
.cta-split { align-items: center; }
.cta-split h2 { max-width: 16ch; }
.cta-split .lead { margin-top: 1rem; }
@media (max-width: 560px) { .cta-card { padding: 1.4rem 1rem; border-radius: var(--r); } }

/* ---------- Problème ---------- */
.costbox { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 1.3rem 1.35rem; box-shadow: var(--shadow); }
.xlist { display: grid; gap: 0.2rem; margin-top: 0.6rem; }
.xlist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.7rem; padding: 0.5rem 0; }
.xlist svg { margin-top: 3px; color: var(--slate); }
:is(.band-night, .band-night2) .xlist li { color: var(--on-dark-soft); }
:is(.band-night, .band-night2) .xlist svg { color: var(--slate-light); }
.costbox-end { margin-top: 0.7rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-weight: 700; }

/* ---------- Méthode M-xx sur fond nuit ---------- */
.method-left .shot-wrap { margin-top: 0.5rem; }
.protocol { display: grid; gap: 0.9rem; }
.method-split .protocol { grid-template-columns: 1fr; }
@media (min-width: 680px) { .protocol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .protocol { grid-template-columns: repeat(3, minmax(0, 1fr)); } .method-split .protocol { grid-template-columns: 1fr; } }
.proto { background: var(--night-2); border: 1px solid var(--line-on-dark); border-radius: var(--r-sm); padding: 1.2rem 1.3rem 1.3rem; display: grid; gap: 0.45rem; align-content: start; }
.band-white .proto, .band-paper .proto { background: var(--white); border-color: var(--line-soft); }
.method-split .proto { grid-template-columns: 30px minmax(0, 1fr); column-gap: 1rem; }
.method-split .proto > * { grid-column: 2; }
.method-split .proto .proto-ico { grid-column: 1; grid-row: 1 / span 3; margin-top: 2px; }
.proto-ico { color: var(--slate-light); width: 26px; height: 26px; }
.proto h3 { color: var(--white); font-size: 1.1rem; }
.proto p { font-size: 0.94rem; color: var(--on-dark-soft); }
.proto-note { background: var(--slate); border-color: var(--slate); }
.method-ref { font-family: var(--mono); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.05em; color: var(--slate-light); }
.step-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); padding-bottom: 0.55rem; border-bottom: 1px solid var(--line-on-dark); margin-bottom: 0.2rem; }
.step-meta .method-ref { text-transform: none; }
.method-aside { display: grid; gap: 0.9rem; margin-top: 0.9rem; }
@media (min-width: 900px) { .method-aside { grid-template-columns: 1fr 1fr; } }
.ma-kit, .ma-refuse { border-radius: var(--r-sm); padding: 1.35rem 1.35rem; display: grid; gap: 0.6rem; align-content: start; }
.ma-kit { background: var(--slate); }
.ma-kit p { color: rgba(255, 255, 255, 0.88); }
.ma-refuse { background: var(--night-2); border: 1px solid var(--line-on-dark); }
.ma-dur { margin-top: 0.4rem; padding-top: 0.7rem; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.rp-note { margin-top: 1.6rem; display: grid; gap: 0.4rem; max-width: 70ch; }
.rp-note p { color: var(--on-dark-soft); }

/* ---------- Parcours (nuit) ---------- */
.path { display: grid; gap: 0; }
.pstep { position: relative; padding: 0 0 2rem 3.4rem; }
.pstep::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.2); }
.pstep:last-child::before { display: none; }
.pstep:last-child { padding-bottom: 0; }
.node { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--slate-bright); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 0.92rem; }
.pstep h3 { padding-top: 0.2rem; margin-bottom: 0.45rem; }
.pstep p { color: var(--on-dark-soft); font-size: 0.95rem; max-width: 46ch; }
.band-white .pstep p, .band-paper .pstep p { color: var(--ink-soft); }
.band-white .pstep::before, .band-paper .pstep::before { background: var(--line); }
@media (min-width: 880px) {
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
  .pstep { padding: 3.3rem 0 0; }
  .pstep::before { left: 34px; right: -1.6rem; top: 15px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Ce que vous pouvez vérifier ---------- */
.verify { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .verify { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .verify { grid-template-columns: repeat(4, minmax(0, 1fr)); } .verify.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.verify li { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 1.4rem 1.35rem; display: grid; gap: 0.5rem; align-content: start; box-shadow: var(--shadow); }
.band-white .verify li { background: var(--paper); box-shadow: none; }
.verify h3 { font-size: 1.1rem; }
.verify p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Sélecteur de toitures (signature) ---------- */
.roofs { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 560px) { .roofs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .roof-cell:last-of-type { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .roofs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .roof-cell:last-of-type { grid-column: auto; } }
.roof-cell { display: grid; align-content: start; gap: 0.55rem; text-align: left; border: 0; background: var(--white); color: var(--ink); padding: 1.5rem 1.35rem 1.35rem; min-height: 100%; transition: background-color 0.22s var(--ease), color 0.22s var(--ease); }
.roof-ico { color: var(--slate); width: 36px; height: 36px; margin-bottom: 0.4rem; transition: color 0.22s var(--ease); }
.roof-title { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.018em; line-height: 1.22; }
.roof-def { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.45; }
.roof-open { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.roof-plus { transition: transform 0.25s var(--ease); flex: none; }
.roof-cell:hover { background: var(--slate-wash); }
.roof-cell[aria-expanded="true"] { background: var(--slate); color: var(--white); }
.roof-cell[aria-expanded="true"] :is(.roof-ico, .roof-open) { color: var(--white); }
.roof-cell[aria-expanded="true"] .roof-def { color: rgba(255, 255, 255, 0.86); }
.roof-cell[aria-expanded="true"] .roof-plus { transform: rotate(45deg); }
.roof-cell:focus-visible { outline-offset: -5px; }
.roof-panel { grid-column: 1 / -1; background: var(--night); color: var(--on-dark); }
.roof-panel-in { padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem) clamp(1.15rem, 1rem + 1.2vw, 2.2rem); display: grid; gap: 1.6rem; }
.rp-head { display: grid; gap: 1rem; border-bottom: 1px solid var(--line-on-dark); padding-bottom: 1.2rem; }
.rp-head h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); font-weight: 800; }
@media (min-width: 760px) { .rp-head { grid-template-columns: 1fr auto; align-items: end; } }
.rp-facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.rp-facts dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); }
.rp-facts dd { font-weight: 650; color: var(--white); }
.rp-cols { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .rp-cols { grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); } }
.rp-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 0.6rem; }
.rp-list { display: grid; }
.rp-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.7rem; padding: 0.7rem 0; border-top: 1px solid var(--line-on-dark); color: var(--on-dark-soft); max-width: 60ch; }
.rp-list svg { margin-top: 3px; color: var(--slate-light); }
.rp-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 480px) { .rp-actions .btn { width: 100%; } }
.caption-foot + .caption-foot { margin-top: 0.4rem; }

/* ---------- Traitements (liste éditoriale, pages internes) ---------- */
.treats { display: grid; border-top: 1px solid var(--line); }
.treat { display: grid; gap: 0.5rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .treat { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 17rem); align-items: baseline; } .treat .link-arrow { justify-self: end; } }

/* ---------- Données ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data caption { caption-side: top; text-align: left; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding-bottom: 0.7rem; }
.data thead th { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); text-align: left; padding: 0 1rem 0.65rem 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.data tbody th, .data td { text-align: left; vertical-align: top; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--line); }
.data tbody th { font-weight: 650; }
.data td { color: var(--ink-soft); }
.data tbody tr:hover { background: var(--slate-wash); }
.th-sub { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.86rem; }
@media (max-width: 640px) { .table-scroll .data { min-width: 560px; } }
.pricebox { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); display: grid; gap: 1rem; justify-items: start; box-shadow: var(--shadow-lg); color: var(--ink); }
.pricebox .data td { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pricebox .caption-foot { margin-top: 0; color: var(--ink-faint) !important; }

/* ---------- Listes à filets ---------- */
.ruled { display: grid; border-top: 1px solid var(--line); }
.ruled li { display: grid; gap: 0.3rem 2rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .ruled li { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); } }
.ruled span { color: var(--ink-soft); }
:is(.band-night, .band-night2) .ruled { border-top-color: var(--line-on-dark); }
:is(.band-night, .band-night2) .ruled li { border-bottom-color: var(--line-on-dark); }
:is(.band-night, .band-night2) .ruled span { color: var(--on-dark-soft); }
.bullets { display: grid; margin-top: 1rem; max-width: 62ch; gap: 0.2rem; }
.bullets li { padding: 0.5rem 0 0.5rem 1.4rem; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }

/* ---------- Services : symptômes, types, villes ---------- */
.when { margin-top: 1.6rem; padding: 1.2rem 1.3rem; background: var(--paper); border-radius: var(--r); display: grid; gap: 0.5rem; max-width: 60ch; }
.when p:last-child { color: var(--ink-soft); }
.symptoms { display: grid; gap: 0.6rem; }
.symptoms li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.8rem; padding: 0.95rem 1.1rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.symptoms svg { margin-top: 3px; color: var(--slate); }
.symptoms li span { color: var(--ink-soft); }
.symptoms strong { color: var(--ink); }
.useless { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.8rem; margin-top: 1rem; padding: 1rem 1.1rem; background: var(--slate-wash); border-radius: var(--r-sm); }
.useless svg { margin-top: 3px; color: var(--slate); }
.typelist { display: grid; border-top: 1px solid var(--line); margin-top: 0.7rem; }
.typelist li { display: grid; gap: 0.2rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.tl-t { font-weight: 700; }
.tl-t a { color: var(--slate); text-decoration: underline; text-underline-offset: 0.2em; }
.tl-d { color: var(--ink-soft); font-size: 0.95rem; }
.chip, .chip-page { justify-self: start; display: inline-block; margin-top: 0.2rem; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-soft); border: 1px dashed #aeb8c1; }
.chip-page { background: var(--slate); color: var(--white); border: 1px solid var(--slate); margin: 0 0 0 0.5rem; vertical-align: 0.1em; }
.note-block { border: 1px solid var(--line-soft); background: var(--white); border-radius: var(--r); padding: 1.25rem 1.3rem; display: grid; gap: 0.45rem; margin-top: 1.4rem; box-shadow: var(--shadow); scroll-margin-top: 24px; }
.note-block p { color: var(--ink-soft); font-size: 0.96rem; }
.citylist { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.citylist li > * { display: inline-flex; align-items: center; min-height: 46px; padding: 0.55rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); font-weight: 550; font-size: 0.95rem; }
.citylist li > a { color: var(--slate); border-color: #c8d3dd; }
.citylist li > a:hover { border-color: var(--slate); background: var(--slate-wash); }
.citylist li > .todo { text-decoration: none; border-style: dashed; color: var(--ink-faint); }
.svc-links { display: grid; gap: 0.7rem; }
@media (min-width: 760px) { .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-links li > * { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 62px; padding: 0.9rem 1.2rem; font-weight: 650; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--paper); }
.svc-links a { color: var(--slate); }
.svc-links a:hover { border-color: var(--slate); background: var(--slate-wash); }
.roofs-local { display: grid; border-top: 1px solid var(--line); }
.roofs-local li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.roofs-local strong { color: var(--ink); }
.communes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0.5rem; }
.communes li { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-sm); display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; padding: 0.7rem 1rem; min-height: 50px; font-weight: 550; }
.communes.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-top: 0.7rem; }
.communes.compact li { font-size: 0.94rem; }
.zc { font-weight: 650; font-size: 0.86rem; color: var(--ink-faint); }

/* ---------- Articles liés ---------- */
.alinks { display: grid; border-top: 1px solid var(--line); }
.alinks li > * { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.alinks .al-cat { grid-column: 1; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.alinks .al-t { grid-column: 1; font-weight: 750; font-size: 1.1rem; letter-spacing: -0.016em; }
.alinks svg { grid-column: 2; grid-row: 1 / span 2; color: var(--slate); transition: transform 0.18s var(--ease); }
.alinks a:hover .al-t { color: var(--slate); }
.alinks a:hover svg { transform: translateX(4px); }
.al-soon .al-cat { color: var(--ink-faint); }
.al-soon .al-t { color: var(--ink-faint); font-weight: 550; }

/* ---------- FAQ ---------- */
.split-faq { display: grid; gap: 0; }
@media (min-width: 980px) { .split-faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; } }
.faq { display: grid; gap: 0.7rem; }
.faq-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; }
.band-white .faq-item { background: var(--paper); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; min-height: 58px; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.016em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; color: var(--slate); transition: transform 0.25s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--slate); }
.faq-body { padding: 0 3rem 1.3rem 1.3rem; color: var(--ink-soft); max-width: 72ch; }

/* ---------- Zones ---------- */
.zone-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.4rem; }
.zone-links li > * { font-weight: 650; color: var(--slate); text-decoration: underline; text-underline-offset: 0.22em; }
.zone-links li > .todo { color: var(--ink-faint); }
.zl { display: grid; gap: 0.5rem; }
.zl label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }
:is(.pagehead, .band-night) .zl label { color: var(--on-dark-soft); }
.zl-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.zl input { flex: 1 1 9rem; min-width: 0; max-width: 14rem; min-height: 52px; padding: 0.7rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 1.15rem; font-weight: 650; letter-spacing: 0.08em; }
.zl input::placeholder { color: var(--ink-faint); opacity: 1; }
.zl input:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(36, 67, 92, 0.18); }
.zl-msg { font-size: 0.95rem; color: var(--ink-soft); min-height: 1.5em; max-width: 52ch; }
.zl-msg a { color: var(--slate); font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; }
:is(.pagehead, .band-night) .zl-msg { color: var(--on-dark-soft); }
:is(.pagehead, .band-night) .zl-msg a { color: var(--white); }
.legend { display: grid; gap: 0.6rem; }
.legend li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }
.sw { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1px solid #aeb8c1; }
.sw-page { background: var(--slate); border-color: var(--slate); }
.sw-cov { background: var(--white); }
.sw-nl { background: var(--paper-2); border-style: dashed; }
.carto-fig figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-faint); }
.carto {
  display: grid; gap: 4px; padding: 4px; background: var(--paper); border-radius: var(--r-lg);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-areas: "fl-occ fl-or anvers anvers limbourg" "fl-occ fl-or brab-fl bxl limbourg" "hainaut hainaut brab-w liege liege" "hainaut hainaut namur lux lux"; /* zones rectangulaires : une zone en L (Liège, Hainaut) invalidait toute la grille */
  grid-auto-rows: minmax(78px, auto);
}
.c-cell { background: var(--white); border-radius: 10px; padding: 0.65rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.3rem; min-width: 0; border: 1px solid var(--line-soft); transition: background-color 0.18s var(--ease); }
.c-name { font-weight: 700; font-size: 0.86rem; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
.c-state { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); }
.c-cell:hover { background: var(--slate-wash); }
.c-cell.is-nl { background: var(--paper-2); border-style: dashed; border-color: #c3ccd5; }
.c-cell.has-page { background: var(--slate); border-color: var(--slate); color: var(--white); }
.c-cell.has-page .c-state { color: rgba(255, 255, 255, 0.82); }
.c-cell.has-page:hover { background: var(--slate-deep); }
@media (max-width: 420px) { .c-name { font-size: 0.72rem; } .c-state { font-size: 0.56rem; letter-spacing: 0.03em; } .c-cell { padding: 0.45rem; } }
.provs { display: grid; gap: 1rem; }
@media (min-width: 680px) { .provs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .provs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prov { background: var(--paper); border-radius: var(--r); padding: 1.3rem 1.3rem 1.4rem; }
.prov h3 { padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); margin-bottom: 0.3rem; }
.prov li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.prov li:last-child { border-bottom: 0; }
.prov a { color: var(--slate); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Emplacements réservés ---------- */
.reserved { background: var(--white); border: 1.5px dashed #b9c3cd; border-radius: var(--r); padding: clamp(1.25rem, 1rem + 1vw, 1.7rem); display: grid; gap: 0.6rem; align-content: start; color: var(--ink); }
.reserved p { font-size: 0.95rem; color: var(--ink-soft); }
.reserved-tag { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--line-soft); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--slate) !important; }
.reserved-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); flex: none; }
:is(.band-night, .band-night2) .reserved { background: var(--night-2); border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
:is(.band-night, .band-night2) .reserved p { color: var(--on-dark-soft); }
:is(.band-night, .band-night2) .reserved-tag { color: var(--slate-light) !important; border-top-color: var(--line-on-dark); }
.reserved-pair { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .reserved-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- Blog ---------- */
.feat-t { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.4rem); margin: 0.7rem 0 1rem; }
.feat-t a:hover { color: var(--slate); }
.post-meta { font-size: 0.86rem; color: var(--ink-faint); margin-top: 0.7rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.tab { min-height: 44px; padding: 0.5rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); font-weight: 600; font-size: 0.92rem; }
.tab:hover { border-color: var(--slate); }
.tab[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.posts { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post a { display: grid; gap: 0.55rem; align-content: start; padding: 1.5rem 1.4rem; height: 100%; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); box-shadow: var(--shadow); transition: transform 0.22s var(--ease), border-color 0.22s var(--ease); }
.post a:hover { transform: translateY(-4px); border-color: var(--slate); }
.post-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.post-t { font-weight: 800; font-size: 1.18rem; line-height: 1.25; letter-spacing: -0.02em; }
.post-d { color: var(--ink-soft); font-size: 0.95rem; }
.upcoming { display: grid; border-top: 1px solid var(--line); margin-top: 0.7rem; }
.upcoming li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.up-d { font-weight: 700; font-size: 0.88rem; color: var(--ink-faint); }
.up-t { font-weight: 550; }
.upcoming .chip { grid-column: 2; }

/* ---------- Article ---------- */
.art-head { padding-bottom: clamp(2.6rem, 4vw, 4rem); }
.art-head h1 { max-width: 24ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin-top: 1.2rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.26); font-size: 0.9rem; color: var(--on-dark-soft); }
.art-meta span:first-child { font-weight: 700; color: var(--slate-light); }
.art-author { margin-top: 0.8rem; font-size: 0.9rem; color: var(--on-dark-soft); }
.art-author a { color: var(--white); font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; }
.cta-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.cta-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1.2rem; padding-block: 0.8rem; }
.cta-strip p { font-weight: 650; font-size: 0.95rem; }
.art { padding-top: clamp(2rem, 1.6rem + 2vw, 3.4rem); }
.art-grid { display: grid; gap: 1.6rem; }
.art-grid > * { min-width: 0; }
@media (min-width: 1020px) { .art-grid { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2.4rem, 5vw, 4.5rem); } .toc { position: sticky; top: 1.4rem; align-self: start; } }
.toc-d { background: var(--paper); border-radius: var(--r); padding: 0 1.1rem; }
.toc-d summary { list-style: none; cursor: pointer; padding: 0.9rem 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); display: flex; justify-content: space-between; }
.toc-d summary::-webkit-details-marker { display: none; }
.toc-d summary::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--slate); }
.toc-d[open] summary::after { content: "\2212"; }
.toc ol { display: grid; padding-bottom: 0.8rem; }
.toc li a { display: block; padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.35; }
.toc li a:hover, .toc li a.is-active { color: var(--slate); }
.toc li a.is-active { font-weight: 700; }
.art-body { max-width: 72ch; }
.tldr { background: var(--slate-wash); border-radius: var(--r); padding: 1.2rem 1.35rem 1.3rem; display: grid; gap: 0.5rem; margin-bottom: 2rem; }
.tldr .label { color: var(--slate); }
.tldr p:last-child { font-size: 1.06rem; line-height: 1.55; font-weight: 450; }
.art-body > .shot { margin-bottom: 1.6rem; }
.art-prose h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 2.1em 0 0.65em; scroll-margin-top: 24px; }
.art-prose h2:first-child { margin-top: 0; }
.art-prose ol, .art-prose ul { margin: 1em 0; display: grid; gap: 0.55rem; }
.art-prose ol { counter-reset: n; }
.art-prose ol li { counter-increment: n; padding-left: 2.1rem; position: relative; }
.art-prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.05em; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--slate); color: var(--white); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.art-prose ul li { padding-left: 1.3rem; position: relative; }
.art-prose ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }
.art-prose .table-scroll { margin: 1.4em 0; }
.mid-cta { margin: 2.4rem 0; padding: clamp(1.3rem, 1rem + 1.8vw, 2.4rem); display: grid; gap: 1rem; background: var(--night); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.mid-cta .mid-h { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); margin: 0; color: var(--white); }
.mid-cta > p { color: var(--on-dark-soft); max-width: 56ch; }
.art-faq { margin-top: 3rem; }
.art-faq h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-bottom: 1rem; scroll-margin-top: 24px; }
.author-box { margin-top: 2.6rem; padding: 1.35rem 1.3rem; background: var(--paper); border-radius: var(--r); display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; }
.ab-ico { color: var(--slate); }
.author-box p { color: var(--ink-soft); font-size: 0.95rem; }
.author-box p + p { margin-top: 0.5rem; }
.ab-name { font-weight: 800; color: var(--ink) !important; font-size: 1.04rem !important; }

/* ---------- À propos ---------- */
.dodont { display: grid; }
@media (min-width: 900px) { .dodont { grid-template-columns: 1fr 1fr; } }
.dd-col { padding-block: var(--section); }
.dd-in { padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); max-width: calc(var(--wrap) / 2); display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .dd-col:first-child .dd-in { margin-left: auto; } }
.dd-in h3 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.dd-env { padding-top: 1rem; border-top: 1px solid var(--line-on-dark); color: var(--on-dark-soft); }
.footer-mail.big { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); color: var(--slate); }

/* ---------- 404, confirmation, racine ---------- */
.e404 { min-height: 78vh; display: flex; align-items: flex-end; }
.e404 .wrap { width: 100%; }
.e404 > .wrap > .split-2 { width: 100%; }
.e404-code { font-family: var(--mono); font-size: 0.9rem; color: var(--slate-light); margin-bottom: 1rem; }
.e404 .lead { margin-top: 1rem; }
.e404-nl { margin-top: 1.4rem; font-size: 0.92rem; color: var(--on-dark-soft); }
.e404-links { display: grid; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.e404-links a { display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); font-weight: 650; }
.e404-links a:hover { color: var(--slate-light); }
.devis-band { min-height: 60vh; display: flex; align-items: flex-end; }
.devis-band .row-actions .link-arrow { color: var(--slate-light); }
.root { position: relative; isolation: isolate; overflow: hidden; background: var(--night); min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; padding-block: max(3rem, env(safe-area-inset-top)) max(3rem, env(safe-area-inset-bottom)); }
.root .pagehead-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 22, 32, 0.95) 10%, rgba(13, 22, 32, 0.5) 100%); }
.root-in { display: grid; gap: 1.2rem; }
.root h1 { font-size: var(--fs-hero); font-weight: 850; letter-spacing: -0.04em; line-height: 1; max-width: 16ch; margin-top: 1rem; }
.root-nl { color: var(--on-dark-soft); font-size: var(--fs-lead); }
.root-langs { display: grid; gap: 0.9rem; margin-top: 1rem; max-width: 720px; }
@media (min-width: 640px) { .root-langs { grid-template-columns: 1fr 1fr; } }
.root-langs li > * { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: center; padding: 1.3rem 1.4rem; border-radius: var(--r); background: rgba(13, 22, 32, 0.6); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 1.4rem; font-weight: 800; min-height: 100%; }
.root-langs li > a { background: var(--slate-bright); border-color: var(--slate-bright); }
.root-langs li > * span { grid-column: 1; font-size: 0.9rem; font-weight: 500; color: var(--on-dark-soft); }
.root-langs a svg { grid-column: 2; grid-row: 1 / span 2; }
.root-langs a:hover { background: var(--white); color: var(--night); }
.root-langs a:hover span { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-dark-soft); padding-top: clamp(3rem, 2.4rem + 3vw, 4.6rem); padding-bottom: max(1.8rem, env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 2.4rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); } }
.footer .brand { color: var(--white); }
.footer-id { display: grid; gap: 1rem; align-content: start; max-width: 34ch; }
.footer-head { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.6rem; }
.footer a { font-size: 0.95rem; }
.footer a:hover { color: var(--white); }
.footer li .todo { font-size: 0.95rem; }
.footer-mail { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--white); overflow-wrap: anywhere; }
.footer-mail svg { flex: none; }
.footer-bottom { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-on-dark); display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; align-items: center; justify-content: space-between; font-size: 0.87rem; }
.footer-tbc { flex-basis: 100%; color: var(--on-dark-soft); }
.footer .lang .is-on { color: var(--night); }

/* ---------- Barre devis mobile ---------- */
.mbar { display: none; }
@media (max-width: 759px) {
  .mbar {
    display: flex; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; padding: 0.6rem 1rem;
    background: var(--slate); color: var(--white); font-weight: 700; border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .mbar.is-hidden, .mbar.is-early { transform: translateY(140%); opacity: 0; pointer-events: none; }
  /* Hauteur de la barre réservée en bas de page (54 px + marges), ancres et champs jamais cachés dessous */
  body:has(.mbar) { padding-bottom: calc(78px + env(safe-area-inset-bottom)); background: var(--night); }
  body:has(.mbar) main { background: var(--paper); }
  html:has(.mbar) { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* ---------- Motion ---------- */
.hero-media img { transform: scale(1.08); }
.hero.is-ready .hero-media img { transform: scale(1); transition: transform 1.8s var(--ease); }
.js .hero-inner > * { opacity: 0; transform: translateY(16px); }
.hero.is-ready .hero-inner > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero.is-ready .hero-inner > *:nth-child(2) { transition-delay: 0.08s; }
.hero.is-ready .hero-inner > *:nth-child(3) { transition-delay: 0.16s; }
.hero.is-ready .hero-inner > *:nth-child(4) { transition-delay: 0.24s; }
.hero.is-ready .hero-inner > *:nth-child(5) { transition-delay: 0.32s; }
html.no-motion .hero-inner > * { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-motion .hero-media img { transform: none !important; }
html.no-motion .ticker-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { opacity: 1 !important; transform: none !important; }
  .hero-media img { transform: none !important; }
  .ticker-track { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ---------- Utilitaires ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--slate); color: var(--white); padding: 0.9rem 1.4rem; font-weight: 600; }
.skip:focus { left: 0; }

/* ---------- QA : cibles tactiles >= 44px (2026-10-13) ---------- */
.brand { min-height: 44px; }
.link-arrow { min-height: 44px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.btn-sm { min-height: 44px; }
.qf-more { min-height: 44px; }
.footer-mail { min-height: 44px; }
.footer ul { gap: 0; }
.footer li > a, .footer li > .todo { display: inline-flex; align-items: center; min-height: 44px; }
.footer .mbar { font-size: 1rem; }
.footer .mbar:hover { color: var(--white); }
.trail ol { padding-block: 0.15rem; }
.trail li { display: inline-flex; align-items: center; min-height: 44px; }
.trail li > a { display: inline-flex; align-items: center; min-height: 44px; }
.toc li a { display: flex; align-items: center; min-height: 44px; padding: 0.45rem 0; }
.zone-links li > a { display: inline-flex; align-items: center; min-height: 44px; }
.prov li { padding: 0.15rem 0; }
.prov li > a { display: inline-flex; align-items: center; min-height: 44px; }
.trail li > a, .footer li > a, .zone-links li > a, .prov li > a { min-width: 44px; }
.mail-line a { display: inline-block; padding-block: 0.7rem; margin-block: -0.7rem; }
.field-suggest button { padding-block: 0.7rem; margin-block: -0.7rem; text-align: left; }

/* ---------- Pages ajoutées (2026-10-15) : services, zones, vie privée ---------- */
/* Communes sans page : texte simple, jamais de style provisoire */
.place-rest { margin-top: 1rem; max-width: 72ch; color: var(--ink-soft); line-height: 1.6; }
:is(.band-night, .band-night2) .place-rest { color: var(--on-dark-soft); }
.citylist + .place-rest { margin-top: 1.1rem; }
@media (min-width: 1100px) { .gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery.three .gal img { aspect-ratio: 4 / 3; }
.prov h3 a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.prov h3 a:hover { color: var(--slate); }
.prov-more { margin-top: 0.4rem; }
.prov .chip-page { margin-left: 0.5rem; }
.sources { margin-top: 1rem; overflow-wrap: anywhere; }
.sources a { color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; }
.lang a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.26rem 0.62rem; color: var(--white); display: inline-flex; align-items: center; }
.lang a:hover { background: rgba(255, 255, 255, 0.14); }
.footer .lang a { color: var(--white); }

/* Textes juridiques : mentions légales, vie privée */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem); margin-top: 2.6rem; margin-bottom: 0.9rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); margin-top: 0.85rem; max-width: 72ch; }
.legal a { color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.legal .table-scroll { margin-top: 0.4rem; }
.legal-dl { display: grid; border-top: 1px solid var(--line); }
.legal-dl > div { display: grid; gap: 0.25rem 2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .legal-dl > div { grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr); } }
.legal-dl dt { font-weight: 700; color: var(--ink); }
.legal-dl dd { color: var(--ink-soft); overflow-wrap: anywhere; }
.legal ul { margin-top: 0.8rem; padding-left: 1.2rem; list-style: disc; color: var(--ink-soft); }

/* Version néerlandaise : mots composés plus longs (Verwerkingsverantwoordelijke, dakreiniging…) */
:lang(nl) h1, :lang(nl) h2, :lang(nl) h3 { overflow-wrap: break-word; }
:lang(nl) .pricebox .data td { white-space: normal; }
:lang(nl) .reserved, :lang(nl) .reserved-pair > * { min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Tableaux en cartes empilées sous 600 px (aucune valeur coupée, pas de défilement caché) ---------- */
@media (max-width: 599px) {
  .table-scroll { overflow: visible; }
  .table-scroll .data { min-width: 0; }
  .data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .data, .data tbody, .data tr, .data tbody th, .data td { display: block; width: 100%; }
  .data caption { display: block; }
  .data tbody tr { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.85rem 1rem; margin-bottom: 0.7rem; background: var(--white); }
  .data tbody tr:hover { background: var(--white); }
  .data tbody th, .data td { border: 0; padding: 0.3rem 0; overflow-wrap: anywhere; }
  .data tbody th { font-size: 1.02rem; padding-bottom: 0.4rem; color: var(--ink); }
  .data tbody th[data-label]::before { content: none; }
  .data td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
  .pricebox .data td, :lang(nl) .pricebox .data td { white-space: normal; }
  .pricebox .data tbody tr { border-color: var(--line-soft); }
}
.sources-list { margin: 0.3rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.sources-list li { overflow-wrap: anywhere; }
/* « Je ne sais pas » / « Ik weet het niet » ne tiennent pas sur une ligne en 4 colonnes : 4 colonnes seulement quand le formulaire est large */
@container (min-width: 520px) { .pills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 600px) { .pills { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.e404-nl a { color: var(--white); text-decoration: underline; text-underline-offset: 0.18em; }
/* Communes avec page : lien visible (souligné) et toute la pastille cliquable */
.communes li:has(> a), .communes li:has(> span > a) { padding: 0; }
.communes li > a { display: flex; align-items: center; width: 100%; min-height: 50px; padding: 0.7rem 1rem; color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.communes li > span > a { color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; }
.communes li:has(> span > a) { padding: 0.7rem 1rem; }
.communes li > a:hover { background: var(--slate-wash); }
.art-prose h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); margin: 1.7em 0 0.5em; scroll-margin-top: 24px; }
