/* =====================================================================
   Clean Toiture Bruxelles - design system
   Palette : bleu ardoise (confiance) + orange (action) + vert (proprete)
   ===================================================================== */

:root {
    --navy-900: #071c29;
    --navy-800: #0d2c3f;
    --navy-700: #16455f;
    --navy-100: #e7eef3;

    --orange: #f2681f;
    --orange-dark: #d3550f;
    --orange-soft: #fff2ea;

    --green: #0f9d76;
    --green-soft: #e8f7f2;

    --sand: #f7f5f1;
    --white: #ffffff;
    --line: #e3e1db;
    --line-strong: #cfd6db;

    --text: #14232c;
    --muted: #5d6c77;

    --danger: #b42318;
    --danger-soft: #fef3f2;

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --r-pill: 999px;

    --sh-sm: 0 1px 2px rgba(7, 28, 41, .06), 0 4px 12px rgba(7, 28, 41, .05);
    --sh: 0 2px 4px rgba(7, 28, 41, .05), 0 12px 28px rgba(7, 28, 41, .08);
    --sh-lg: 0 24px 60px rgba(7, 28, 41, .16);

    --header-h: 72px;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16.5px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: "Sora", "Inter", sans-serif;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.02em;
    color: var(--navy-900);
}

h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); }
h4 { font-size: 1.02rem; }

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.container { width: min(var(--wrap), 92%); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy-900); color: #cfdae2; }
.section-navy h2, .section-navy h3 { color: var(--white); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--navy-900); color: var(--white);
    padding: .75rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typo utilitaires ---------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--orange);
    margin-bottom: .75rem;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px;
}
.section-navy .eyebrow { color: #ffb488; }
.section-navy .eyebrow::before { background: #ffb488; }

.lead { font-size: 1.08rem; color: var(--muted); }

.section-head { max-width: 700px; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: .9rem; color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: #a9bcc9; }

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.5rem;
    border: 2px solid transparent; border-radius: var(--r-pill);
    font: inherit; font-weight: 700; font-size: .97rem;
    cursor: pointer; text-align: center;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(242, 104, 31, .32); }
.btn-primary:hover { background: var(--orange-dark); }

.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-900); }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy-800); background: var(--white); }

.btn-light { background: var(--white); color: var(--navy-900); }
.btn-on-dark { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-on-dark:hover { border-color: var(--white); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.03rem; }
.btn-block { width: 100%; }

.text-link {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; color: var(--navy-800); border-bottom: 2px solid var(--orange);
    padding-bottom: 2px; white-space: nowrap;
}
.text-link:hover { color: var(--orange); }

/* ---------- Header ---------- */

.utility-bar {
    background: var(--navy-900); color: #a9bcc9;
    font-size: .84rem;
}
.utility-bar .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: 38px; flex-wrap: wrap;
}
.utility-bar strong { color: var(--white); }
.utility-list { display: flex; gap: 1.4rem; list-style: none; flex-wrap: wrap; }
.utility-list li { display: flex; align-items: center; gap: .4rem; }
.utility-list svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.utility-phone { display: flex; align-items: center; gap: .45rem; color: var(--white); font-weight: 700; }
.utility-phone svg { width: 15px; height: 15px; color: var(--orange); }

.topbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.topbar.is-scrolled { box-shadow: var(--sh-sm); }

.nav-wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo-mark {
    width: 42px; height: 42px; flex: none;
    display: grid; place-items: center;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
    color: var(--white); font-family: "Sora", sans-serif; font-weight: 700; font-size: .95rem;
}
.logo-text { display: grid; line-height: 1.15; }
.logo-text strong { font-family: "Sora", sans-serif; font-size: 1.02rem; color: var(--navy-900); }
.logo-text span { font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav > .nav-item > a,
.nav > .nav-item > button {
    display: flex; align-items: center; gap: .3rem;
    padding: .6rem .75rem; border-radius: var(--r-sm);
    background: none; border: 0; font: inherit; font-weight: 600; font-size: .95rem;
    color: var(--navy-800); cursor: pointer; white-space: nowrap;
}
.nav > .nav-item > a:hover,
.nav > .nav-item > button:hover,
.nav-item.is-open > button { background: var(--navy-100); color: var(--navy-900); }
.nav-item { position: relative; }
.nav-item > button svg { width: 12px; height: 12px; transition: transform .18s ease; }
.nav-item.is-open > button svg { transform: rotate(180deg); }

.nav > .btn { display: none; }
.nav-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav-phone {
    display: none; align-items: center; gap: .5rem;
    font-weight: 700; color: var(--navy-900); font-size: .95rem;
}
.nav-phone svg { width: 17px; height: 17px; color: var(--orange); }

/* Sous-menus */
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 292px; padding: .55rem;
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r); box-shadow: var(--sh-lg);
    display: none;
}
.nav-item.is-open .dropdown { display: block; }
@media (hover: hover) and (min-width: 1041px) {
    .nav-item:hover .dropdown { display: block; }
}
.dropdown a {
    display: flex; align-items: flex-start; gap: .7rem;
    padding: .6rem .7rem; border-radius: var(--r-sm);
    font-size: .93rem; color: var(--navy-800);
}
.dropdown a:hover { background: var(--sand); }
.dropdown a b { display: block; font-weight: 650; }
.dropdown a small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.dropdown .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: .5rem; flex: none; }
.dropdown-all {
    margin-top: .3rem; border-top: 1px solid var(--line); padding-top: .5rem;
    font-weight: 700; color: var(--orange) !important;
}

.menu-toggle {
    display: none; width: 44px; height: 44px; flex: none;
    align-items: center; justify-content: center; gap: 5px; flex-direction: column;
    background: var(--navy-900); border: 0; border-radius: var(--r-sm); cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: .2s; }

/* ---------- Flash ---------- */

.flash {
    margin: 1.2rem auto; padding: .95rem 1.2rem;
    border-radius: var(--r); border: 1px solid; font-weight: 600;
}
.flash.success { background: var(--green-soft); border-color: #a9e0cf; color: #07533e; }
.flash.error { background: var(--danger-soft); border-color: #f3c1bc; color: var(--danger); }

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden;
    background: var(--navy-900);
    color: #cfdae2;
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--hero-image);
    background-size: cover; background-position: center;
    opacity: .28;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(7, 28, 41, .95) 0%, rgba(7, 28, 41, .82) 45%, rgba(7, 28, 41, .45) 100%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1.05fr .95fr; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: #ffb488; }
.hero-lead { margin-top: 1.1rem; font-size: 1.1rem; color: #b9cad6; max-width: 46ch; }

.hero-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .4rem .9rem .4rem .5rem; margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--r-pill); font-size: .85rem; color: var(--white);
}
.hero-badge .stars { color: #ffc043; letter-spacing: .08em; }

.hero-usp { list-style: none; display: grid; gap: .6rem; margin: 1.5rem 0 1.8rem; }
.hero-usp li { display: flex; align-items: flex-start; gap: .6rem; color: #d7e3ea; }
.hero-usp svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 1rem; font-size: .87rem; color: #90a6b4; }

.hero-card {
    background: var(--white); border-radius: var(--r-lg);
    padding: 1.6rem; box-shadow: var(--sh-lg); color: var(--text);
}
.hero-card h2 { font-size: 1.3rem; }
.hero-card > p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.hero-card-list { list-style: none; display: grid; gap: .5rem; margin: 1.2rem 0; }
.hero-card-list a {
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r);
    font-weight: 650; color: var(--navy-900); transition: .15s;
}
.hero-card-list a:hover { border-color: var(--orange); background: var(--orange-soft); transform: translateX(3px); }
.hero-card-list svg.ic { width: 22px; height: 22px; color: var(--navy-700); flex: none; }
.hero-card-list span { display: flex; align-items: center; gap: .7rem; }
.hero-card-list .arrow { width: 16px; height: 16px; color: var(--orange); }

/* ---------- Bandeau reassurance ---------- */

.trust-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line);
    border-inline: 1px solid var(--line);
}
.trust-grid > div {
    background: var(--white); padding: 1.4rem 1.2rem;
    display: flex; align-items: center; gap: .8rem;
}
.trust-grid svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.trust-grid strong { display: block; font-size: .95rem; color: var(--navy-900); }
.trust-grid small { color: var(--muted); font-size: .82rem; }

/* ---------- Selecteur de service (coeur du parcours) ---------- */

.picker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.picker-card {
    position: relative; display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--white); overflow: hidden;
    box-shadow: var(--sh-sm); transition: .2s;
}
.picker-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-strong); }
.picker-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-100); }
.picker-media img { width: 100%; height: 100%; object-fit: cover; }
.picker-icon {
    position: absolute; left: 1rem; bottom: -22px;
    width: 48px; height: 48px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--white); box-shadow: var(--sh-sm); color: var(--navy-800);
}
.picker-icon svg { width: 26px; height: 26px; }
.picker-body { padding: 2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.picker-body > p { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
.picker-links { list-style: none; margin: 1rem 0 1.2rem; display: grid; gap: .35rem; align-content: start; flex: 1; }
.picker-links a {
    display: flex; align-items: center; gap: .5rem;
    font-size: .92rem; color: var(--navy-800); padding: .15rem 0;
}
.picker-links a::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--orange); flex: none;
}
.picker-links a:hover { color: var(--orange); }
.picker-cta {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .9rem; border-top: 1px solid var(--line);
    font-weight: 700; font-size: .92rem; color: var(--navy-900);
}
.picker-cta:hover { color: var(--orange); }
.picker-cta svg { width: 16px; height: 16px; color: var(--orange); }

/* ---------- Cartes generiques ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.6rem;
}
.card h3 + p, .card h2 + p { margin-top: .6rem; color: var(--muted); }

.service-card {
    display: flex; flex-direction: column; overflow: hidden; padding: 0;
    box-shadow: var(--sh-sm); transition: .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.service-card > img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service-card-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.tag {
    align-self: flex-start;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--navy-700); background: var(--navy-100);
    padding: .25rem .6rem; border-radius: var(--r-pill);
}

.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.feature-card .ico {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: var(--green-soft); color: var(--green); margin-bottom: 1rem;
}
.feature-card .ico svg { width: 24px; height: 24px; }
.feature-card p { margin-top: .5rem; color: var(--muted); font-size: .94rem; }

/* ---------- Etapes ---------- */

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.steps li { position: relative; padding-top: 2.6rem; }
.steps li::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--orange);
}
.steps li::after {
    content: ""; position: absolute; top: 1.15rem; left: 3rem; right: -.6rem; height: 1px;
    background: var(--line-strong);
}
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--navy-900); font-family: "Sora", sans-serif; }
.steps span { display: block; margin-top: .35rem; color: var(--muted); font-size: .93rem; }
.section-navy .steps li::after { background: rgba(255, 255, 255, .18); }
.section-navy .steps strong { color: var(--white); }
.section-navy .steps span { color: #a9bcc9; }

/* ---------- Avant / apres ---------- */

.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.ba-figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.ba-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-figure figcaption {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--navy-900); color: var(--white);
    padding: .35rem .85rem; border-radius: var(--r-pill);
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ba-figure.is-after figcaption { background: var(--green); }

.realization { display: grid; gap: 1rem; }
.realization .ba-grid { gap: .8rem; }

/* ---------- Temoignages ---------- */

.testimonial-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem;
}
.stars { color: #ffb400; letter-spacing: .12em; font-size: 1rem; }
.testimonial-card blockquote { margin: 0; color: var(--text); font-size: .98rem; }
.testimonial-author { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.avatar {
    width: 38px; height: 38px; border-radius: 50%; flex: none;
    background: var(--navy-100); color: var(--navy-800);
    display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.testimonial-author b { display: block; font-size: .93rem; }
.testimonial-author small { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: .7rem; max-width: 820px; }
.faq-list details {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
    padding: 0 1.2rem;
}
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.faq-list summary {
    list-style: none; cursor: pointer; padding: 1.1rem 0;
    font-weight: 650; color: var(--navy-900);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; font-size: 1.4rem; color: var(--orange); line-height: 1; flex: none;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 1.2rem; color: var(--muted); }

/* ---------- Zone d'intervention ---------- */

.commune-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.commune-list li {
    padding: .4rem .9rem; border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--white); font-size: .9rem; color: var(--navy-800);
}
.section-navy .commune-list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #d7e3ea; }

/* ---------- Bande CTA ---------- */

.cta-band {
    background: linear-gradient(120deg, var(--navy-800), var(--navy-900));
    border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3.2rem);
    display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
    color: #b9cad6;
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: .7rem; }
.cta-band-actions { display: flex; flex-direction: column; gap: .7rem; min-width: 250px; }

/* ---------- Page interne : entete ---------- */

.page-header {
    background: var(--navy-900); color: #b9cad6;
    padding: clamp(2.2rem, 4vw, 3.4rem) 0;
    position: relative; overflow: hidden;
}
.page-header::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--hero-image, none);
    background-size: cover; background-position: center; opacity: .2;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); max-width: 20ch; }
.page-header p { margin-top: .9rem; max-width: 62ch; font-size: 1.05rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .85rem; margin-bottom: 1rem; color: #8ea5b3; }
.breadcrumb li::after { content: "/"; margin-left: .4rem; color: #55707f; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Page service ---------- */

.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.service-body > * + * { margin-top: 1.6rem; }
.service-body h2 { margin-top: 2.2rem; }
.service-body p { color: var(--muted); }
.service-body > img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.check-list { list-style: none; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; color: var(--text); }
.check-list li::before {
    content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d76' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.sidebar { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.sidebar-card h3 { font-size: 1.1rem; }
.sidebar-card p { margin-top: .5rem; color: var(--muted); font-size: .93rem; }
.sidebar-card .btn { margin-top: 1rem; }
.sidebar-nav { list-style: none; display: grid; gap: .1rem; }
.sidebar-nav a {
    display: block; padding: .6rem .8rem; border-radius: var(--r-sm);
    font-size: .93rem; color: var(--navy-800);
}
.sidebar-nav a:hover { background: var(--white); }
.sidebar-nav a.is-active { background: var(--navy-900); color: var(--white); font-weight: 650; }

/* ---------- Formulaires ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field > span { font-weight: 650; font-size: .92rem; color: var(--navy-900); }
.field > span .req { color: var(--orange); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="file"], select, textarea {
    width: 100%; padding: .8rem 1rem;
    font: inherit; font-size: .96rem; color: var(--text);
    background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r);
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}
textarea { resize: vertical; min-height: 130px; }
.hint { font-size: .84rem; color: var(--muted); }
.error { color: var(--danger); font-size: .87rem; font-weight: 600; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.choice {
    position: relative; display: flex; align-items: center; gap: .6rem;
    padding: .8rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r);
    cursor: pointer; font-size: .93rem; font-weight: 600; background: var(--white);
}
.choice input { position: absolute; opacity: 0; }
.choice:hover { border-color: var(--navy-700); }
.choice:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }

/* ---------- Footer ---------- */

.footer { background: var(--navy-900); color: #96aab8; padding: clamp(2.8rem, 5vw, 4rem) 0 0; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; font-family: "Inter", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .93rem; }
.footer .logo-text strong { color: var(--white); }
.footer .logo-text span { color: #6d8494; }
.footer-about { margin-top: 1rem; font-size: .93rem; max-width: 34ch; }
.footer-contact { display: grid; gap: .8rem; font-size: .93rem; }
.footer-contact a { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-bottom {
    margin-top: 2.5rem; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; font-size: .86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Barre mobile flottante ---------- */

.mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.mobile-bar .btn { flex: 1; padding: .8rem 1rem; font-size: .92rem; }

/* ---------- Animations ---------- */

/* Sans JS, rien n'est masque : le contenu reste lisible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover, .picker-card:hover, .service-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .picker-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1040px) {
    .nav-phone { display: flex; }
    .menu-toggle { display: flex; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); border-top: 1px solid var(--line);
        box-shadow: var(--sh-lg); padding: .6rem;
        max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav > .nav-item > a, .nav > .nav-item > button {
        width: 100%; justify-content: space-between; padding: .85rem .8rem; font-size: 1rem;
    }
    .dropdown {
        position: static; display: none; min-width: 0; box-shadow: none;
        border: 0; border-left: 2px solid var(--line); border-radius: 0;
        margin: 0 0 .4rem .8rem; padding: 0 0 0 .4rem;
    }
    .nav-item.is-open .dropdown { display: block; }
    .nav > .btn { display: flex; margin-top: .5rem; }
    .service-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps li:nth-child(2n)::after { display: none; }
    .cta-band { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .utility-list { display: none; }
    .utility-bar .container { justify-content: center; }
}

@media (max-width: 720px) {
    body { padding-bottom: 68px; }
    .mobile-bar { display: flex; }
    .nav-cta > .btn, .nav-phone { display: none; }
    .picker-grid, .grid-2, .grid-3, .grid-4, .form-grid, .choice-grid, .ba-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .steps li::after { display: none; }
    .steps li { padding-top: 0; padding-left: 3rem; }
    .steps li::before { top: -.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 2.6rem 0; }
}
