/* ==========================================================================
   Couvreur Normandie : design 2026
   Palette : nuit ardoise, terre cuite, sable
   Typo : Bricolage Grotesque (titres) + Inter (texte)
   ========================================================================== */

:root {
    --ink: #0b1620;
    --night: #0f1f2a;
    --slate: #1d3644;
    --slate-2: #2b4a5b;
    --accent: #ef6a32;
    --accent-2: #ff8f5a;
    --accent-dark: #c9501d;
    --sand: #f4efe7;
    --sand-2: #ebe3d6;
    --paper: #fbf9f6;
    --white: #ffffff;
    --text: #18242d;
    --muted: #5c6872;
    --line: rgba(15, 31, 42, .1);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 2px 8px rgba(11, 22, 32, .06);
    --shadow: 0 18px 50px -18px rgba(11, 22, 32, .28);
    --shadow-lg: 0 40px 80px -30px rgba(11, 22, 32, .45);
    --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --space: clamp(3.5rem, 7vw, 6rem);
}

/* ─── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 0 .55em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-size: .9em; background: var(--sand); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - clamp(2rem, 5vw, 4rem)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; max-width: 680px; }
.muted { color: var(--muted); }
.cover { width: 100%; height: 100%; object-fit: cover; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
.hl { color: var(--accent-2); }

/* ─── Icônes ─────────────────────────────────────────────────── */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }
.icon-lg { width: 40px; height: 40px; flex: none; }

/* ─── Boutons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .9rem 1.45rem;
    border-radius: 999px;
    font-weight: 600; font-size: .98rem; line-height: 1.2;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon-sm { transition: transform .25s var(--ease); }
.btn:hover .icon-sm { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(239, 106, 50, .8); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: .62rem 1.05rem; font-size: .92rem; }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: .15rem; }
.link-arrow:hover .icon-sm { transform: translateX(3px); }
.link-arrow .icon-sm { transition: transform .25s var(--ease); }

/* ─── Pastilles et sur-titres ────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--accent-2); }
.pill {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem .95rem; border-radius: 999px;
    font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem;
}
.pill-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ─── En-tête ────────────────────────────────────────────────── */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    color: #fff;
    transition: background-color .35s, box-shadow .35s, color .35s, height .35s;
}
.site-header.is-scrolled {
    background: rgba(251, 249, 246, .86);
    backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 var(--line);
    color: var(--ink);
    --header-h: 66px;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; }
.brand-mark svg { width: 26px; height: 26px; }
.main-nav { display: flex; align-items: center; gap: .3rem; }
.nav-link { position: relative; padding: .55rem .85rem; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 500; font-size: .96rem; opacity: .88; transition: opacity .2s, background-color .2s; }
.nav-link:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .2rem; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.nav-cta { margin-left: .6rem; }
.nav-burger { display: none; }

/* ─── Hero accueil ───────────────────────────────────────────── */
.hero {
    position: relative; isolation: isolate;
    min-height: min(100svh, 980px);
    display: flex; align-items: flex-end;
    padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 7vw, 5.5rem);
    color: #fff; overflow: hidden;
    background: var(--night);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { animation: heroZoom 18s var(--ease) both; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 22, 32, .92) 0%, rgba(11, 22, 32, .7) 45%, rgba(11, 22, 32, .25) 100%),
        linear-gradient(0deg, rgba(11, 22, 32, .85) 0%, rgba(11, 22, 32, 0) 45%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 2rem; }
.hero-card {
    justify-self: end; width: 100%; max-width: 400px;
    padding: 1.6rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: var(--shadow-lg);
}
.hero-card-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.hero-card li { display: flex; gap: .9rem; padding: .85rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-card li:first-child { border-top: 0; padding-top: 0; }
.hero-card li .icon { color: var(--accent-2); margin-top: .1rem; }
.hero-card strong { display: block; font-weight: 600; }
.hero-card span { display: block; font-size: .92rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }

/* ─── Bandeau défilant ───────────────────────────────────────── */
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee ul { display: flex; gap: 3rem; padding-right: 3rem; }
.marquee li { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.marquee li .icon-sm { opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Sections ───────────────────────────────────────────────── */
.section { padding: var(--space) 0; }
.section-tight { }
.section-sand { background: var(--sand); }
.section-dark { background: var(--night); color: rgba(255, 255, 255, .8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { margin-bottom: 0; max-width: 18ch; }
.prose p { color: #3a4852; font-size: 1.08rem; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-grid h2 { margin-bottom: 0; }

/* ─── Bento services ─────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 1.1rem; }
.tile {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: 280px;
    border-radius: var(--radius);
    color: #fff; text-decoration: none;
    background: var(--slate);
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile img { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 22, 32, 0) 25%, rgba(11, 22, 32, .88) 100%); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile:hover img { transform: scale(1.06); }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile-body { padding: 1.6rem; width: 100%; }
.tile h3 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.tile-xl h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.tile p { color: rgba(255, 255, 255, .82); margin-bottom: 1rem; max-width: 44ch; }
.tile-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: .8rem; }
.tile-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--accent-2); }
.tile:hover .tile-link .icon-sm { transform: translateX(4px); }
.tile-link .icon-sm { transition: transform .3s var(--ease); }
.tile-solid { background: linear-gradient(135deg, var(--slate) 0%, var(--ink) 100%); align-items: stretch; }
.tile-solid::after { display: none; }
.tile-solid .tile-body { display: flex; flex-direction: column; justify-content: flex-end; }
.tile-solid .icon-lg { color: var(--accent-2); margin-bottom: auto; padding-bottom: 1.2rem; box-sizing: content-box; }

/* ─── Signes d'alerte ────────────────────────────────────────── */
.signs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.signs-media { position: relative; border-radius: var(--radius-lg); overflow: visible; aspect-ratio: 4 / 5; }
.signs-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.float-note {
    position: absolute; right: -1.5rem; bottom: 2rem; max-width: 280px;
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1.1rem 1.2rem; border-radius: var(--radius-sm);
    background: #fff; box-shadow: var(--shadow);
}
.float-note .icon { color: var(--accent); margin-top: .15rem; }
.float-note p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.float-note strong { display: block; color: var(--ink); font-size: 1rem; }
.sign-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.sign { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.15rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.sign:hover { border-color: rgba(239, 106, 50, .5); transform: translateY(-2px); }
.sign .icon { color: var(--accent); padding: .45rem; box-sizing: content-box; background: rgba(239, 106, 50, .1); border-radius: 10px; }
.sign p { margin: 0; font-weight: 500; line-height: 1.4; padding-top: .25rem; }

/* ─── Étapes ─────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.steps li { position: relative; padding: 1.6rem 1.3rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .3s; }
.steps li:hover { background: rgba(255, 255, 255, .09); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent-2); margin-bottom: 1.2rem; }
.steps strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }

/* ─── Matériaux ──────────────────────────────────────────────── */
.material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.material-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; background: var(--sand-2); }
.material-img img { transition: transform .8s var(--ease); }
.material:hover .material-img img { transform: scale(1.05); }
.material p { color: var(--muted); }

/* ─── Bannière zone ──────────────────────────────────────────── */
.zone-banner { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); min-height: 460px; display: flex; align-items: center; background: var(--slate); }
.zone-banner > img { position: absolute; inset: 0; z-index: -2; }
.zone-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 22, 32, .92) 0%, rgba(11, 22, 32, .55) 60%, rgba(11, 22, 32, .15) 100%); }
.zone-content { padding: clamp(2rem, 5vw, 4rem); max-width: 620px; color: #fff; }
.zone-content h2 { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 2rem; }
.chips li { padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 500; font-size: .95rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chips-dark li { background: #fff; border-color: var(--line); color: var(--ink); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: .8rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s, box-shadow .25s; }
.faq[open] { border-color: rgba(239, 106, 50, .45); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); transition: background-color .25s, transform .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq[open] summary i { background: var(--accent); }
.faq[open] summary i::before, .faq[open] summary i::after { background: #fff; }
.faq[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 1.3rem 1.2rem; }
.faq-body p { margin: 0; color: var(--muted); }

/* ─── Appel à l'action ───────────────────────────────────────── */
.cta-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.cta-media { position: absolute; inset: 0; z-index: -2; opacity: .45; }
.cta-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(239, 106, 50, .55), transparent 55%), linear-gradient(120deg, rgba(11, 22, 32, .96) 30%, rgba(11, 22, 32, .7)); }
.cta-content { padding: clamp(2.5rem, 6vw, 5rem); max-width: 720px; }
.cta-content h2 { color: #fff; }
.cta-content p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; margin-bottom: 2rem; }

/* ─── En-tête des pages internes ─────────────────────────────── */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 560px; display: flex; align-items: flex-end;
    padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 6vw, 4.5rem);
    color: #fff; background: var(--night);
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 22, 32, .92) 0%, rgba(11, 22, 32, .55) 55%, rgba(11, 22, 32, .45) 100%); }
.page-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
.page-hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 580px; margin: 0; }
.crumbs { display: flex; gap: .55rem; font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 1.2rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ─── Blocs pages internes ───────────────────────────────────── */
.split-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media-reverse { align-items: start; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--sand-2); }
.media-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.split-media .prose { margin-bottom: 1.8rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.feature { padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; scroll-margin-top: calc(var(--header-h) + 2rem); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--accent-2); margin-bottom: 1.3rem; }
.feature-icon-accent { background: var(--accent); color: #fff; }

.callout { padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff6f0 0%, #fdeee4 100%); border: 1px solid rgba(239, 106, 50, .2); }
.callout-info { background: #fff; border-color: var(--line); }
.callout-info p { color: var(--muted); margin: 0; max-width: 80ch; }
.callout-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.callout-head .feature-icon { margin: 0; }
.callout-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0; }
.callout-head .eyebrow { margin-bottom: .5rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
.check-grid li, .check-list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.check-grid .icon-sm, .check-list .icon-sm { color: var(--accent); margin-top: .2rem; }
.check-list { display: grid; gap: .8rem; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 2rem; }
.compare-col { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--sand); }
.compare-col-dark { background: var(--ink); color: rgba(255, 255, 255, .85); }
.compare-col-dark h3 { color: #fff; }
.compare-col h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 1rem 0 1.4rem; }
.badge { display: inline-block; padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--ink); }
.badge-accent { background: var(--accent); color: #fff; }

.timeline { position: relative; display: grid; gap: .4rem; margin: 2rem 0 1.4rem; counter-reset: step; }
.timeline li { position: relative; counter-increment: step; padding: 0 0 1.6rem 4rem; }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -.2rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); color: var(--accent-dark); font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 1.4rem; top: 2.8rem; bottom: .2rem; width: 1.5px; background: linear-gradient(var(--accent), rgba(239, 106, 50, .1)); }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: .2rem; }
.timeline p { margin: 0; color: var(--muted); }

.dept-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.dept { position: relative; overflow: hidden; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.dept:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dept-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: 1rem; }
.dept h3 { margin-bottom: .3rem; }
.dept p { margin: 0; font-size: .92rem; color: var(--muted); }
.cities { margin-top: 2.5rem; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.duo-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.duo-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.duo-body { padding: 1.8rem; }
.duo-body h3 { display: flex; align-items: center; gap: .55rem; }
.duo-body h3 .icon-sm { color: var(--accent); }
.duo-body p { margin: 0; color: var(--muted); }

/* ─── Devis ──────────────────────────────────────────────────── */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.quote-form { padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-form h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.quote-aside { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card { padding: 1.8rem; border-radius: var(--radius); background: var(--sand); }
.aside-card-dark { background: var(--ink); color: rgba(255, 255, 255, .85); }
.aside-card-dark h3 { color: #fff; }
.mini-steps { counter-reset: m; display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.mini-steps li { counter-increment: m; display: flex; gap: .8rem; align-items: flex-start; }
.mini-steps li::before { content: counter(m); flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 700; }
.form-placeholder { display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 3rem 1.5rem; border: 2px dashed rgba(15, 31, 42, .18); border-radius: var(--radius); background: var(--paper); color: var(--muted); }
.form-placeholder .icon-lg { color: var(--accent); margin-bottom: .5rem; }
.form-placeholder p { margin: 0; }
.form-placeholder strong { color: var(--ink); }

.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal h2:first-child { margin-top: 0; }
.todo { display: inline-block; background: #fff1c2; color: #6e5100; padding: 0 .5rem; border-radius: 6px; font-weight: 600; font-size: .92em; }

/* ─── Pied de page ───────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand-light { color: #fff !important; margin-bottom: 1.2rem; }
.footer-about p { max-width: 36ch; margin-bottom: 1.5rem; }
.footer-title { font-family: var(--font-display); color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .7rem; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; gap: .55rem; }
.footer-links .icon-sm { color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.mobile-bar { display: none; }

/* ─── Animations d'apparition ────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.sign-cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .material-grid .reveal:nth-child(2), .feature-grid .reveal:nth-child(3n+2), .dept-grid .reveal:nth-child(2) { transition-delay: .08s; }
.sign-cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .material-grid .reveal:nth-child(3), .feature-grid .reveal:nth-child(3n), .dept-grid .reveal:nth-child(3) { transition-delay: .16s; }
.sign-cards .reveal:nth-child(4), .steps .reveal:nth-child(4), .dept-grid .reveal:nth-child(4) { transition-delay: .24s; }
.sign-cards .reveal:nth-child(5), .steps .reveal:nth-child(5), .dept-grid .reveal:nth-child(5) { transition-delay: .32s; }
.sign-cards .reveal:nth-child(6) { transition-delay: .4s; }

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

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-xl { grid-column: span 2; grid-row: span 1; min-height: 420px; }
    .float-note { right: 1rem; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }
    body { font-size: 1rem; }
    .nav-burger {
        display: grid; place-items: center; position: relative; z-index: 60;
        width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
        background: rgba(127, 127, 127, .16); color: inherit;
    }
    .nav-burger span { position: absolute; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
    .nav-burger span:first-child { transform: translateY(-4px); }
    .nav-burger span:last-child { transform: translateY(4px); }
    .nav-open .nav-burger span:first-child { transform: rotate(45deg); }
    .nav-open .nav-burger span:last-child { transform: rotate(-45deg); }
    .nav-open .site-header { color: #fff; }
    .main-nav {
        position: fixed; inset: 0; z-index: 55;
        flex-direction: column; align-items: stretch; justify-content: center; gap: .3rem;
        padding: 6rem 2rem 2rem;
        background: var(--ink); color: #fff;
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }
    .nav-link { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; padding: .55rem 0; opacity: 1; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .nav-link:hover { background: none; color: var(--accent-2); }
    .nav-link[aria-current="page"] { color: var(--accent-2); }
    .nav-link[aria-current="page"]::after { display: none; }
    .nav-cta { margin: 1.5rem 0 0; padding: 1.05rem; font-size: 1.05rem; }

    .hero { min-height: 92svh; }
    .hero-grid, .intro-grid, .signs-grid, .faq-grid, .split-media, .quote-grid, .compare, .duo { grid-template-columns: 1fr; }
    .hero-card { justify-self: stretch; max-width: none; }
    .hero h1 { max-width: none; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .material-grid, .feature-grid { grid-template-columns: 1fr; }
    .signs-media { aspect-ratio: 4 / 3; }
    .float-note { right: 1rem; left: 1rem; bottom: 1rem; max-width: none; }
    .media-frame { aspect-ratio: 4 / 3; }
    .media-sticky, .quote-aside { position: static; }
    .split-media-reverse .media-frame { order: 2; }
    .check-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .page-hero { min-height: 470px; }
    .zone-banner { min-height: 520px; align-items: flex-end; }
    .zone-banner::after { background: linear-gradient(0deg, rgba(11, 22, 32, .95) 10%, rgba(11, 22, 32, .35) 100%); }

    .mobile-bar {
        position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 40;
        display: flex; gap: .5rem; padding: .5rem;
        border-radius: 999px; background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        box-shadow: var(--shadow);
        transform: translateY(150%); transition: transform .4s var(--ease);
    }
    .mobile-bar .btn { flex: 1; padding: .85rem 1rem; }
    .show-bar .mobile-bar { transform: none; }
    .nav-open .mobile-bar { transform: translateY(150%); }
    .site-footer { padding-bottom: 6.5rem; }
}

@media (max-width: 600px) {
    .bento { grid-template-columns: 1fr; }
    .tile-xl, .tile-wide { grid-column: auto; }
    .tile-xl { min-height: 380px; }
    .sign-cards { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-top { grid-template-columns: 1fr; }
    .btn-row .btn { flex: 1 1 100%; }
    .hero-card { padding: 1.3rem; }
    .brand-text { font-size: 1.05rem; }
}

/* ==========================================================================
   V3 : hero avec formulaire, contenus enrichis, pages villes
   ========================================================================== */

/* ─── Hero avec formulaire ───────────────────────────────────── */
.hero-has-form, .page-hero-has-form {
    min-height: 0; align-items: center;
    padding: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem);
}
.hero-has-form .hero-grid, .page-hero-has-form .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-has-form h1 { max-width: 15ch; font-size: clamp(2.4rem, 4.8vw, 4.1rem); }
.page-hero-has-form h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.page-hero-has-form .lead { margin-bottom: 1.6rem; }
.hero-form-col { width: 100%; max-width: 500px; justify-self: end; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; margin: 0 0 2rem; }
.hero-points li { display: flex; gap: .55rem; align-items: flex-start; color: rgba(255, 255, 255, .9); font-weight: 500; font-size: .98rem; line-height: 1.4; }
.hero-points .icon-sm { color: var(--accent-2); margin-top: .1rem; padding: 3px; box-sizing: content-box; border-radius: 50%; background: rgba(239, 106, 50, .18); }
.hero-actions .btn { font-size: .95rem; }

.form-card {
    position: relative;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 26px;
    background: #fff; color: var(--text);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .5);
}
.form-card::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.form-card-head { margin-bottom: 1.2rem; }
.form-card-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .6rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 0 rgba(34, 160, 107, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 160, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); } }
.form-card-title { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: .3rem; color: var(--ink); }
.form-card-sub { margin: 0; color: var(--muted); font-size: .95rem; }
.form-card-foot { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.form-card-foot .icon-sm { color: #22a06b; width: 16px; height: 16px; margin-top: .05rem; }
.tally-frame { display: block; min-height: 420px; }
.reveal-fast { animation: fadeUp .9s .15s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.form-mock { display: grid; gap: .7rem; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.mock-field { position: relative; display: flex; align-items: center; height: 50px; padding: 0 1rem; border-radius: 12px; border: 1.5px solid #e4ddd2; background: var(--paper); }
.mock-field small { font-size: .9rem; color: #8a949c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid #8a949c; border-bottom: 2px solid #8a949c; transform: translateY(-70%) rotate(45deg); }
.mock-select small { padding-right: 1.5rem; }
.mock-area { height: 96px; align-items: flex-start; padding-top: .85rem; }
.mock-btn { display: grid; place-items: center; height: 54px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(239, 106, 50, .8); }
.form-note { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: #fff6e0; color: #6e5100; font-size: .82rem; line-height: 1.45; }
.form-note code { background: rgba(0, 0, 0, .06); }

/* ─── Bandeau d'informations ─────────────────────────────────── */
.info-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.info-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.6rem 1.4rem; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-item .icon { color: var(--accent); flex: none; margin-top: .1rem; }
.info-item strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.info-item span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.section-head-text { max-width: 430px; margin: 0; }

/* ─── Cas fréquents ──────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.case { position: relative; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(239, 106, 50, .35); }
.case-num { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 1rem; }
.case h3 { margin-bottom: .9rem; }
.case p { color: var(--muted); font-size: .97rem; margin-bottom: .6rem; }
.case p:last-child { margin-bottom: 0; }
.case strong { color: var(--ink); }

/* ─── Conseils d'entretien ───────────────────────────────────── */
.tips { display: grid; gap: 1rem; margin-top: 2rem; }
.tips li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: #fff; }
.tip-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(239, 106, 50, .12); color: var(--accent-dark); }
.tips strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.tips p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ─── Pages villes ───────────────────────────────────────────── */
.feature-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-link { color: inherit; text-decoration: none; }
.feature-link:hover h3 { color: var(--accent-dark); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.city-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.city-link { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.city-link span { flex: 1; }
.city-link small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.city-link .icon-sm { color: var(--accent); transition: transform .25s var(--ease); }
.city-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.city-link:hover .icon-sm { transform: translateX(3px); }
.section-sand .city-link { border-color: transparent; }
a.dept { color: inherit; text-decoration: none; }
.dept-link { margin-top: .9rem; font-size: .9rem; color: var(--accent-dark); }
.local-note { padding-left: 1rem; border-left: 3px solid var(--accent); color: var(--ink) !important; font-weight: 500; }
.chips a { color: #fff; text-decoration: none; }
.chips li:has(a):hover { background: rgba(255, 255, 255, .22); }

.nav-phone { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .7rem; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }

@media (max-width: 1180px) {
    .nav-phone { display: none; }
    .info-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .info-item:nth-child(3) { border-left: 0; }
    .info-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .feature-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero-has-form .hero-grid, .page-hero-has-form .hero-grid { grid-template-columns: 1fr; }
    .hero-form-col { max-width: none; justify-self: stretch; }
    .hero-has-form h1, .page-hero-has-form h1 { max-width: none; }
    .nav-phone { display: inline-flex; margin-top: 1rem; color: var(--accent-2); font-size: 1.1rem; }
    .case-grid, .steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero-points { grid-template-columns: 1fr; }
    .info-strip, .case-grid, .steps-4, .feature-grid-4 { grid-template-columns: 1fr; }
    .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
    .mock-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   V4 : menu Services, confiance, urgence, avant/après, avis
   ========================================================================== */
.icon-xs { width: 14px; height: 14px; flex: none; }

/* Menu déroulant Services */
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: .3rem; }
.nav-drop > .nav-link .icon-xs { transition: transform .25s var(--ease); }
.drop-panel {
    position: absolute; left: 50%; top: calc(100% + .6rem); z-index: 70;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem;
    width: 620px; padding: .7rem;
    border-radius: var(--radius); background: #fff; color: var(--text);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop:hover > .nav-link .icon-xs, .nav-drop:focus-within > .nav-link .icon-xs { transform: rotate(180deg); }
.drop-item { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .85rem; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.drop-item:hover { background: var(--sand); }
.drop-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(239, 106, 50, .12); color: var(--accent-dark); }
.drop-item strong { display: block; font-size: .95rem; line-height: 1.3; }
.drop-item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }

/* Bandeau de confiance */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; gap: .8rem; align-items: center; padding: 1.3rem 1rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--accent-2); }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.trust-item small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }

/* Urgence */
.urgence { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2rem, 5vw, 3.2rem); border-radius: var(--radius-lg); background: linear-gradient(120deg, #2a0f06 0%, #5a1e0b 55%, #8a2f0f 100%); color: rgba(255, 255, 255, .85); }
.urgence::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 90, .35), transparent 70%); }
.urgence h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .6rem; }
.urgence p { margin: 0; }
.urgence strong { color: #fff; }
.urgence-pulse { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff; animation: urgPulse 2s infinite; }
@keyframes urgPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 106, 50, .6); } 70% { box-shadow: 0 0 0 22px rgba(239, 106, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 106, 50, 0); } }
.urgence-actions { position: relative; z-index: 1; display: grid; gap: .9rem; justify-items: start; }
.link-arrow-light { color: #fff; border-bottom-color: var(--accent-2); }

/* Avant / après */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.ba-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); pointer-events: none; }
.ba-label { position: absolute; top: 1rem; z-index: 2; padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba-label-before { left: 1rem; background: rgba(11, 22, 32, .78); color: #fff; }
.ba-label-after { right: 1rem; background: var(--accent); color: #fff; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * , .ba:focus-within .ba-handle { outline: 3px solid var(--accent); outline-offset: 2px; }
.ba-body { padding: 1.4rem 1.6rem 1.7rem; }
.ba-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.tile-tag-dark { background: var(--sand); color: var(--ink); margin: 0; backdrop-filter: none; }
.ba-illus { font-size: .78rem; color: var(--muted); font-style: italic; }
.ba-body h3 { margin-bottom: .4rem; }
.ba-body p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.review { margin: 0; padding: 1.8rem; border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 1rem; }
.review blockquote { margin: 0; flex: 1; color: var(--text); line-height: 1.6; }
.review figcaption { display: flex; gap: .8rem; align-items: center; }
.review-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption small { display: block; color: var(--muted); }
.review-slot { border: 2px dashed rgba(15, 31, 42, .18); background: transparent; }
.review-slot blockquote { color: var(--muted); font-style: italic; }
.stars { display: inline-flex; gap: 2px; }
.star { width: 18px; height: 18px; fill: #d9d2c7; }
.star.on { fill: #f4b400; }
.g-score { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.2rem; border-radius: var(--radius-sm); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.g-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.g-score small { display: block; color: var(--muted); font-size: .85rem; }

/* Page services */
.srv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.srv-card { display: flex; flex-direction: column; padding: 1.7rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.srv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(239, 106, 50, .4); }
.srv-card p { color: var(--muted); flex: 1; }
.srv-card .tile-link { color: var(--accent-dark); }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.section:not(.section-dark) .steps li { background: #fff; border-color: var(--line); }
.section:not(.section-dark) .steps strong { color: var(--ink); }
.section:not(.section-dark) .steps p { color: var(--muted); }
.section:not(.section-dark) .step-num { -webkit-text-stroke-color: var(--accent); }

/* Pages villes : communes */
.communes { margin-top: 1.6rem; }
.communes-title { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink) !important; margin-bottom: .7rem !important; font-size: 1rem !important; }
.communes-title .icon-sm { color: var(--accent); }
.communes .chips { margin: 0; }
.communes .chips li { font-size: .9rem; padding: .4rem .85rem; }

@media (max-width: 1100px) {
    .srv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .reviews { grid-template-columns: 1fr 1fr; }
    .urgence { grid-template-columns: auto 1fr; }
    .urgence-actions { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .nav-drop { display: contents; }
    .nav-drop > .nav-link .icon-xs { display: none; }
    .drop-panel { position: static; width: auto; grid-template-columns: 1fr; padding: 0 0 .6rem; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; }
    .drop-panel::before { display: none; }
    .drop-item { color: #fff; padding: .45rem 0 .45rem 1rem; }
    .drop-item:hover { background: none; }
    .drop-item small, .drop-ic { display: none; }
    .drop-item strong { font-weight: 500; font-size: 1.02rem; color: rgba(255, 255, 255, .8); }
    .ba-grid { grid-template-columns: 1fr; }
    .steps-5 { grid-template-columns: 1fr 1fr; }
    .main-nav { justify-content: flex-start; overflow-y: auto; }
}
@media (max-width: 600px) {
    .srv-grid, .reviews, .trust-inner, .steps-5 { grid-template-columns: 1fr; }
    .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
    .urgence { grid-template-columns: 1fr; text-align: left; }
    .urgence-pulse { width: 64px; height: 64px; }
}

/* Le menu mobile plein écran ne doit pas être contraint par le flou de l'en-tête */
@media (max-width: 900px) {
    .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ==========================================================================
   V5 : rythme vertical homogène
   Une seule valeur d'espacement (--space). Deux sections de même fond qui se
   suivent partagent cet espace au lieu de l'additionner.
   ========================================================================== */
.section:not(.section-sand):not(.section-dark) + .section:not(.section-sand):not(.section-dark),
.section-sand + .section-sand,
.section-dark + .section-dark { padding-top: 0; }
.trust + .marquee, .page-hero + .trust { margin: 0; }
.section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-head h2, .section-head p { margin-bottom: 0; }
.muted.center { margin-top: 1.5rem; margin-bottom: 0; }
.compare { margin-bottom: 0; }
.duo { margin-bottom: 0; }
.cities { margin-top: 2rem; }
.timeline { margin-bottom: 1rem; }
.prose > p:last-child, .callout > p:last-child { margin-bottom: 0; }
.split-media .prose { margin-bottom: 1.5rem; }
.faq-grid h2 { margin-bottom: .8rem; }
.page-hero { min-height: 0; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero:not(.page-hero-has-form) { min-height: 420px; }
.trust-inner { justify-content: stretch; }
.trust-item { justify-content: center; padding: 1.2rem 1.2rem; }
.trust-item > div { min-width: 0; }
.hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 900px) {
    :root { --space: clamp(3rem, 9vw, 4rem); }
    .trust-item { justify-content: flex-start; }
}

/* ==========================================================================
   V6 : barre CTA sticky (60 % de largeur sur ordinateur)
   ========================================================================== */
.mobile-bar { display: none !important; }
.sticky-cta {
    position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom)); z-index: 45;
    width: min(60%, 860px); min-width: 620px;
    display: flex; align-items: center; gap: 1.1rem;
    padding: .65rem .8rem .65rem .65rem;
    border-radius: 999px;
    background: rgba(11, 22, 32, .92); color: #fff;
    backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
    transform: translate(-50%, 160%); opacity: 0;
    transition: transform .5s var(--ease), opacity .35s;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta-btn { flex: none; padding: .8rem 1.25rem; }
.sticky-cta-text { flex: 1; min-width: 0; }
.sticky-cta-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: #fff; }
.sticky-cta-intro { margin: 0; font-size: .88rem; line-height: 1.35; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta-phone { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border-radius: 999px; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; border: 1px solid rgba(255, 255, 255, .2); transition: border-color .2s, background-color .2s; }
.sticky-cta-phone:hover { border-color: var(--accent-2); background: rgba(255, 255, 255, .06); }
.sticky-cta-phone .icon-sm { color: var(--accent-2); }
.sticky-cta-close { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.sticky-cta-close:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.nav-open .sticky-cta { transform: translate(-50%, 160%); opacity: 0; }

@media (max-width: 1100px) {
    .sticky-cta { width: calc(100% - 2rem); min-width: 0; }
}
@media (max-width: 700px) {
    .sticky-cta { gap: .7rem; padding: .5rem .55rem .5rem .5rem; bottom: calc(.7rem + env(safe-area-inset-bottom)); }
    .sticky-cta-btn { padding: .75rem 1rem; font-size: .92rem; }
    .sticky-cta-intro { display: none; }
    .sticky-cta-title { font-size: .95rem; }
    .sticky-cta-phone span { display: none; }
    .sticky-cta-phone { padding: .6rem; }
}
@media (max-width: 400px) {
    .sticky-cta-text { display: none; }
    .sticky-cta-btn { flex: 1; }
}

/* Logo image : blanc sur le hero sombre et le pied de page, couleurs une fois le header clair */
.brand-logo { display: block; height: 46px; width: auto; transition: filter .2s; }
.site-header:not(.is-scrolled) .brand-logo,
.brand-light .brand-logo { filter: brightness(0) invert(1); }
.brand-light .brand-logo { height: 54px; }
@media (max-width: 640px) { .brand-logo { height: 38px; } }
