/* ==========================================================================
   Roof Monkeys - feuille de style
   Palette tirée du logo : rouille de la toiture, vert du casque, ardoise.
   ========================================================================== */

:root {
    --slate-950: #10151a;
    --slate-900: #161d24;
    --slate-800: #202a33;
    --slate-700: #2f3b46;
    --slate-500: #58646f;
    --slate-300: #b9c2ca;
    --rust-700: #8f360b;
    --rust-600: #a93f0d;
    --rust-500: #c4561f;
    --rust-100: #f6e3d8;
    --green: #2fa84f;
    --cream: #f7f3ec;
    --sand: #ebe3d6;
    --paper: #ffffff;
    --ink: #1b2127;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16, 21, 26, .06), 0 8px 24px rgba(16, 21, 26, .08);
    --shadow-lg: 0 2px 4px rgba(16, 21, 26, .08), 0 24px 48px rgba(16, 21, 26, .16);
    --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 400 1.0625rem/1.6 var(--font-body);
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* garde-fou : un décor qui dépasse ne doit jamais créer de défilement horizontal.
   Uniquement sur body (html reste « visible ») : son overflow est alors repris par la fenêtre, ce qui garde
   l'en-tête collant et permet de verrouiller le défilement quand le menu mobile est ouvert. */
body { overflow-x: hidden; }
/* adresses e-mail et mots longs : retour à la ligne plutôt que débordement */
.info-list a, .info-list strong, .foot-contact a, .foot-contact span, .legal dd, .lead-meta a { overflow-wrap: anywhere; }
a { color: var(--rust-600); text-underline-offset: 3px; }
a:hover { color: var(--rust-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--rust-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.08rem; }
.btn-primary { background: var(--rust-600); color: #fff; box-shadow: 0 6px 18px rgba(169, 63, 13, .35); }
.btn-primary:hover { background: var(--rust-700); color: #fff; }
.btn-light { background: #fff; color: var(--rust-700); }
.btn-light:hover { background: var(--rust-100); color: var(--rust-700); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--slate-900); }
.btn-outline { border-color: var(--slate-700); color: var(--slate-800); background: transparent; }
.btn-outline:hover { background: var(--slate-800); color: #fff; }

/* ---------- Barre du haut + en-tête ---------- */
.topbar { background: var(--slate-950); color: var(--slate-300); font-size: .92rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .i { width: 1em; height: 1em; vertical-align: -.15em; margin-right: .3em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.scrolled { border-color: var(--sand); box-shadow: 0 6px 20px rgba(16, 21, 26, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--slate-900); }
.brand img { width: 104px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font: 700 1.55rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
.brand-txt small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a { display: block; padding: .5em .85em; border-radius: 999px; font-weight: 600; color: var(--slate-800); text-decoration: none; }
.nav ul a:hover { background: var(--sand); color: var(--slate-900); }
.nav ul a[aria-current="page"] { background: var(--slate-900); color: #fff; }
.nav-call { padding: .65em 1.2em; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--slate-900); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger .i { width: 24px; height: 24px; }
.burger .b-close { display: none; }
.burger[aria-expanded="true"] .b-open { display: none; }
.burger[aria-expanded="true"] .b-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--slate-900); isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(16, 21, 26, .94) 0%, rgba(16, 21, 26, .8) 42%, rgba(16, 21, 26, .25) 100%); }
.hero-in { padding-block: clamp(64px, 11vw, 140px) clamp(96px, 12vw, 150px); }
.hero-in > * { max-width: 780px; }
.hero-in > h1 { max-width: 880px; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .9rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #ffb48a; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1 em { font-style: normal; color: #ff9a62; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #dfe5ea; max-width: 56ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--page .hero-in { padding-block: clamp(48px, 8vw, 96px) clamp(72px, 9vw, 110px); }
.hero--page h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

/* ---------- Bandeau de confiance ---------- */
.trust { position: relative; z-index: 2; margin-top: -58px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 22px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--sand); }
.trust-item .i { width: 34px; height: 34px; color: var(--rust-600); }
.trust-item strong { display: block; font: 700 1.25rem/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.trust-item span { font-size: .93rem; color: var(--slate-500); line-height: 1.3; display: block; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 2.6rem; }
.section-head p { color: var(--slate-500); font-size: 1.12rem; margin: 0; }
.kicker { font: 600 .88rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--rust-600); margin-bottom: .9rem; display: block; }

/* ---------- Cartes de services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--slate-800); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-badge { position: absolute; left: 24px; top: -24px; width: 48px; height: 48px; border-radius: 12px; background: var(--rust-600); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(169, 63, 13, .4); }
.card-badge .i { width: 24px; height: 24px; }
.card-body { position: relative; padding: 38px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .45em; }
.card-body p { color: var(--slate-500); flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.link-arrow .i { transition: transform .15s ease; width: 1.05em; height: 1.05em; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Bandeau urgence (pignon de toit) ---------- */
.urgence { position: relative; background: var(--rust-600); color: #fff; padding: 110px 0 72px; margin-top: 40px; clip-path: polygon(0 56px, 50% 0, 100% 56px, 100% 100%, 0 100%); }
.urgence-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.urgence h2 { color: #fff; }
.urgence p { color: #ffe4d4; font-size: 1.15rem; max-width: 56ch; }
.urgence ul { display: grid; gap: 10px; margin-bottom: 1.6rem; }
.urgence li { display: flex; gap: .6em; align-items: flex-start; color: #fff; }
.urgence li .i { margin-top: .2em; color: #ffd2b8; }
.urgence-box { background: rgba(16, 21, 26, .22); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 30px; text-align: center; }
.urgence-box .big { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--font-head); letter-spacing: .02em; margin: .3em 0 .6em; color: #fff; text-decoration: none; }

/* ---------- Deux colonnes (pourquoi nous) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-img { position: relative; isolation: isolate; padding: 0 22px 22px 0; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* le cadre décoratif reste à l'intérieur de la boîte : il ne peut plus faire déborder la page */
.split-img::after { content: ""; position: absolute; inset: 22px 0 0 22px; border: 3px solid var(--rust-500); border-radius: var(--radius); z-index: -1; }
.points { display: grid; gap: 22px; margin-top: 2rem; }
.point { display: flex; gap: 16px; }
.point .ico { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--rust-100); color: var(--rust-600); display: grid; place-items: center; }
.point h3 { font-size: 1.3rem; margin: 0 0 .15em; }
.point p { margin: 0; color: var(--slate-500); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 34px 28px 28px; box-shadow: var(--shadow); counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -22px; left: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--slate-900); color: #fff; display: grid; place-items: center; font: 700 1.6rem/1 var(--font-head); border: 4px solid var(--cream); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--slate-500); margin: 0; }

/* ---------- Galeries ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 16px; }
.shot { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--slate-800); aspect-ratio: 4 / 3; cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption, .shot .cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; text-align: left; font-weight: 600; font-size: .98rem; background: linear-gradient(0deg, rgba(16, 21, 26, .85), transparent); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.shot:hover figcaption, .shot:focus-visible figcaption, .shot:hover .cap, .shot:focus-visible .cap { opacity: 1; transform: none; }
.shot.tall { grid-row: span 2; aspect-ratio: auto; }
.shot[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { border: 2px solid var(--sand); background: var(--paper); color: var(--slate-800); padding: .5em 1.1em; border-radius: 999px; font: 600 .98rem var(--font-body); cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--slate-700); }
.chip[aria-pressed="true"] { background: var(--slate-900); border-color: var(--slate-900); color: #fff; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(10, 13, 17, .92); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-sm); margin-inline: auto; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 600; }
.lb-btn { position: fixed; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev .i { transform: rotate(180deg); }

/* ---------- Zone d'intervention ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.communes { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 1.8rem; }
.communes li { background: var(--paper); border: 1px solid var(--sand); padding: .4em .95em; border-radius: 999px; font-weight: 500; }
.communes li:first-child { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.map { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; background:
    linear-gradient(135deg, rgba(16, 21, 26, .55), rgba(16, 21, 26, .2)),
    repeating-linear-gradient(45deg, #dcd3c4 0 14px, #e4dccd 14px 28px);
    display: grid; place-items: center; text-align: center; padding: 24px; box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { background: var(--paper); border-radius: var(--radius); padding: 26px; max-width: 360px; box-shadow: var(--shadow-lg); }
.map-consent p { font-size: .93rem; color: var(--slate-500); }
.map-consent .i { display: block; width: 38px; height: 38px; color: var(--rust-600); margin: 0 auto 8px; }
.map-consent strong { display: block; margin-bottom: 6px; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .96rem; }
.opt { font-weight: 400; color: var(--slate-500); }
.field input, .field select, .field textarea {
    width: 100%; padding: .85em 1em; font: inherit; color: var(--ink); background: #fff;
    border: 2px solid var(--sand); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust-500); box-shadow: 0 0 0 4px rgba(196, 86, 31, .18); }
.field .invalid { border-color: #c0392b; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--slate-500); }
.consent input { margin-top: .25em; width: 20px; height: 20px; accent-color: var(--rust-600); flex: none; }
.form-note { font-size: .92rem; color: var(--slate-500); margin: 0; }
.form-error { background: #fdecea; color: #8a1f14; padding: 12px 16px; border-radius: var(--radius-sm); margin: 0; font-weight: 500; }
.alert { padding: 18px 22px; border-radius: var(--radius); margin-bottom: 28px; font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }
.alert--ok { background: #e6f6ea; color: #1b5e2f; }
.alert--ko { background: #fdecea; color: #8a1f14; }

.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.panel { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.panel--dark { background: var(--slate-900); color: #fff; }
.panel--dark a { color: #fff; }
.info-list { display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #ffb48a; }
.info-list small { display: block; color: var(--slate-300); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.info-list strong, .info-list a { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* ---------- Page services ---------- */
.svc-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--sand); }
.svc-nav ul { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { white-space: nowrap; display: inline-flex; gap: .45em; align-items: center; padding: .45em .8em; border-radius: 999px; background: var(--cream); color: var(--slate-800); font-weight: 600; font-size: .9rem; text-decoration: none; }
.svc-nav a:hover, .svc-nav a.on { background: var(--slate-900); color: #fff; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.svc + .svc { border-top: 1px solid var(--sand); }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.svc-media .tag { position: absolute; left: -14px; top: 22px; background: var(--rust-600); color: #fff; padding: .55em 1.1em; border-radius: 8px; font: 700 1.05rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(169, 63, 13, .4); }
.svc h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.svc .lead { font-size: 1.15rem; color: var(--slate-700); }
.ticks { display: grid; gap: 10px; margin: 1.4rem 0 1.8rem; }
.ticks li { display: flex; gap: .7em; align-items: flex-start; }
.ticks .i { width: 22px; height: 22px; margin-top: .15em; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 20px 24px; font: 700 1.3rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.8rem/1 var(--font-body); color: var(--rust-600); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--slate-700); }

/* ---------- Bande d'appel + pied de page ---------- */
.cta-band { background: var(--slate-900); color: #fff; padding-block: 56px; position: relative; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cta-band p { margin: 0; color: var(--slate-300); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.site-footer { background: var(--slate-950); color: var(--slate-300); padding-top: 64px; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.foot-logo { display: inline-block; background: var(--cream); padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.foot-logo img { width: 92px; height: auto; }
.site-footer h3 { color: #fff; font-size: 1.15rem; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .i { margin-top: .22em; color: #ff9a62; width: 1.1em; height: 1.1em; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #96a2ad; }
.foot-legal a { color: #96a2ad; text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover { color: #fff; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.9rem; margin-top: 2.2em; }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1em; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.todo { background: #fff3c4; color: #6b4e00; padding: 0 .35em; border-radius: 4px; font-weight: 600; }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--sand); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    :root { --header-h: 68px; }
    body { padding-bottom: 72px; }
    .topbar { display: none; }
    /* backdrop-filter « enferme » les éléments fixes dans l'en-tête : le menu plein écran serait limité à sa hauteur */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
    .burger { display: inline-flex; }
    .brand img { width: 68px; }
    .brand-txt small { display: none; }
    .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--cream); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 28px 20px 110px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto; overscroll-behavior: contain; }
    .nav.open { transform: none; visibility: visible; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav ul a { font: 700 1.9rem/1 var(--font-head); text-transform: uppercase; padding: .7em .5em; border-radius: 12px; }
    .nav-call { font-size: 1.15rem; padding: 1em; }

    .split, .zone, .contact-grid, .svc, .urgence-in { grid-template-columns: 1fr; }
    .svc:nth-child(even) .svc-media { order: 0; }
    .split-img { padding: 0 12px 12px 0; }
    .split-img::after { inset: 12px 0 0 12px; }
    .steps { grid-template-columns: 1fr; gap: 38px; }
    .field-row { grid-template-columns: 1fr; }
    .urgence { padding-top: 90px; clip-path: polygon(0 36px, 50% 0, 100% 36px, 100% 100%, 0 100%); }
    .svc-media .tag { left: 12px; }

    .mobile-bar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; position: fixed; inset: auto 0 0 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(16, 21, 26, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .55em; padding: .9em; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
    .mb-call { background: var(--rust-600); color: #fff; }
    .mb-quote { background: #fff; color: var(--slate-900); }
}

@media (max-width: 620px) {
    .cards { grid-template-columns: 1fr; }
    .trust { margin-top: -40px; }
    .trust-item { padding: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .hero-cta .btn { width: 100%; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .shot.tall { grid-row: auto; aspect-ratio: 4 / 3; }
    .gallery--home .shot:nth-child(n+5) { display: none; }
    .foot-grid { grid-template-columns: 1fr; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .legal dl { grid-template-columns: 1fr; gap: 0; }
    .legal dt { margin-top: 10px; }
}

/* ---------- Pages métier ---------- */
.back-btn { display: flex; width: fit-content; align-items: center; gap: .55em; margin-bottom: 1.4rem; padding: .6em 1.2em; border: 2px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(16, 21, 26, .35); color: #fff; font-weight: 600; text-decoration: none; backdrop-filter: blur(4px); transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.back-btn:hover { background: #fff; color: var(--slate-900); transform: translateX(-3px); }
.back-btn span[aria-hidden] { font-size: 1.15em; line-height: 1; }
.hero-in > .back-btn { max-width: none; }
@media (max-width: 620px) { .back-btn { padding: .75em 1.3em; } }
.crumbs { background: var(--paper); border-bottom: 1px solid var(--sand); font-size: .92rem; }
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding-block: 12px; color: var(--slate-500); }
.crumbs a { color: var(--slate-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--slate-900); font-weight: 600; }
.prose-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose p { font-size: 1.12rem; color: var(--slate-700); max-width: 68ch; }
.prose h2 { margin-top: 1.8rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--slate-900); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.aside-card h2 { color: #fff; font-size: 1.7rem; margin: 0; }
.aside-card p { color: var(--slate-300); margin: 0; }
.aside-card small { color: var(--slate-300); text-align: center; }
.aside-card .btn-outline { border-color: rgba(255, 255, 255, .6); color: #fff; }
.aside-card .btn-outline:hover { background: #fff; color: var(--slate-900); }
.cards.related { grid-template-columns: repeat(3, 1fr); margin-top: 1.4rem; }
.cards.related .card-body p { font-size: .98rem; }
@media (max-width: 860px) {
    .prose-grid { grid-template-columns: 1fr; }
    .aside-card { position: static; }
    .cards.related { grid-template-columns: 1fr; }
}

/* ---------- Bandeau d'aperçu (démonstration) ---------- */
.preview-badge { position: fixed; left: 12px; bottom: 12px; z-index: 90; background: #e0b400; color: #3a2d00; font: 600 .82rem/1.3 var(--font-body); padding: .45em .9em; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); pointer-events: none; }
@media (max-width: 860px) { .preview-badge { bottom: 84px; } }
