/* ==========================================================================
   Grand Est Toiture — feuille de style principale
   Charte reprise du site WordPress : Barlow Condensed / Maitree,
   vert sapin #1c453f, bleu nuit #00252e.
   ========================================================================== */

/* ---------- Polices auto-hébergées (licence SIL OFL 1.1, sous-ensemble latin) ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Maitree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/maitree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Maitree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/maitree-latin-600-normal.woff2") format("woff2"); }

:root {
    --c-dark: #00252e;
    --c-darker: #0d1616;
    --c-primary: #1c453f;
    --c-primary-light: #31766c;
    --c-accent: #f2a516;
    --c-heading: #282d3e;
    --c-text: #5b5f66;
    --c-muted: #6f8080;
    --c-bg: #ffffff;
    --c-bg-alt: #f5f7f6;
    --c-border: #dbdddf;

    --ff-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --ff-body: "Maitree", Georgia, "Times New Roman", serif;

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 10px 30px rgba(0, 37, 46, .08);
    --shadow-lg: 0 20px 50px rgba(0, 37, 46, .16);
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--c-heading);
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 .6em;
    letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--c-accent); color: var(--c-dark); padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head p { font-size: 1.1rem; }
.eyebrow {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-primary-light);
    margin-bottom: .6rem;
}
.section--dark .eyebrow { color: var(--c-accent); }
.lead { font-size: 1.15rem; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.6rem;
    font-family: var(--ff-heading); font-size: 1.1rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    border-radius: var(--radius); border: 2px solid transparent;
    background: var(--c-primary); color: #fff;
    cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--c-primary-light); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--c-accent); color: var(--c-dark); }
.btn--accent:hover { background: #ffb933; color: var(--c-dark); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-accent); color: var(--c-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-family: var(--ff-heading); font-weight: 600; font-size: 1.05rem;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    color: var(--c-primary-light);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--c-darker); color: rgba(255, 255, 255, .7); font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
a.topbar__item:hover { color: var(--c-accent); }
.topbar .icon { color: var(--c-accent); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--c-dark);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.logo { flex-shrink: 0; }
.logo img { width: auto; height: 56px; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav__list a {
    display: block; padding: .5rem .6rem; white-space: nowrap;
    font-family: var(--ff-heading); font-size: 1.05rem; font-weight: 500;
    letter-spacing: .02em; text-transform: uppercase;
    color: rgba(255, 255, 255, .85); text-decoration: none;
    position: relative;
}
.main-nav__list a::after {
    content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .2rem; height: 2px;
    background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav__list a:hover, .main-nav__list a[aria-current="page"] { color: #fff; }
.main-nav__list a:hover::after, .main-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav__cta { padding: .6rem 1.1rem; font-size: 1.05rem; white-space: nowrap; }

.nav-toggle {
    display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; cursor: pointer;
    position: relative;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    position: absolute; left: 11px; width: 24px; height: 2px; background: #fff; content: "";
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bar { top: 22px; }
.nav-toggle__bar::before { left: 0; top: -8px; }
.nav-toggle__bar::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1201px) {
    .main-nav__cta { display: none; } /* le téléphone est déjà dans la barre du haut */
}
@media (max-width: 1200px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h)) 0 0 0;
        flex-direction: column; align-items: stretch; gap: 1.5rem;
        padding: 1.5rem var(--gutter) 2rem;
        background: var(--c-dark);
        overflow-y: auto;
        transform: translateX(100%); visibility: hidden;
        transition: transform .35s var(--ease), visibility .35s;
    }
    .main-nav.is-open { transform: none; visibility: visible; }
    .main-nav__list { flex-direction: column; }
    .main-nav__list a { padding: .9rem 0; font-size: 1.35rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .main-nav__list a::after { display: none; }
    .main-nav__list a[aria-current="page"] { color: var(--c-accent); }
    body.nav-open { overflow: hidden; }
}

/* ---------- Hero accueil ---------- */
.hero {
    position: relative; isolation: isolate;
    min-height: min(88vh, 760px);
    display: flex; align-items: center;
    color: #fff;
    background: var(--c-dark);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(0, 37, 46, .92) 0%, rgba(0, 37, 46, .75) 45%, rgba(0, 37, 46, .25) 100%);
}
.hero__content { max-width: 720px; padding-block: 5rem; }
.hero h1 { color: #fff; margin-bottom: .2em; font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 700; text-transform: uppercase; }
.hero__subtitle { color: var(--c-accent); font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 500; margin-bottom: 1.2rem; }
.hero p { color: rgba(255, 255, 255, .85); font-size: 1.12rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; padding: 0; list-style: none; font-size: .95rem; }
.hero__badges li { display: flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .85); }
.hero__badges .icon { color: var(--c-accent); }

/* ---------- Bandeau pages intérieures ---------- */
.page-hero {
    position: relative; isolation: isolate;
    padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem);
    background: var(--c-dark) var(--hero, none) center / cover no-repeat;
    color: #fff;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(0, 37, 46, .92), rgba(0, 37, 46, .6));
}
.page-hero--clear::before { display: none; }
.page-hero--clear .page-hero__title,
.page-hero--clear .breadcrumb { text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 0 24px rgba(0, 0, 0, .45); }
.page-hero--clear .breadcrumb span { color: #fff; }
.page-hero__title { color: #fff; max-width: 900px; margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: var(--c-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Blocs texte/image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__media::after {
    content: ""; position: absolute; z-index: -1;
    width: 45%; height: 45%; right: -18px; bottom: -18px;
    border: 3px solid var(--c-accent); border-radius: var(--radius-lg);
}
.split--reverse .split__media::after { right: auto; left: -18px; }
.split__body > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
}

/* ---------- Cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { overflow: hidden; aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.8rem; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: 1rem; }
.card__body .link-arrow { margin-top: auto; }

/* Cartes simples (sans image) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature {
    background: #fff; padding: 1.8rem; border-radius: var(--radius-lg);
    border-top: 4px solid var(--c-primary-light); box-shadow: var(--shadow);
}
.feature h3 { font-size: 1.45rem; }
.feature p:last-child, .feature ul:last-child { margin-bottom: 0; }
.feature__num {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
    border-radius: 50%; background: var(--c-primary); color: #fff;
    font-family: var(--ff-heading); font-size: 1.3rem; font-weight: 700;
}
.section--dark .feature { background: rgba(255, 255, 255, .05); box-shadow: none; border-top-color: var(--c-accent); }

/* ---------- Listes à puces cochées ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .35em;
    width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--c-primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--dark .checklist li::before { background-color: var(--c-accent); }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 2rem; }
.checklist ul { margin: .5rem 0 0; }

/* ---------- Zones (puces villes) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.chips li {
    padding: .35rem .95rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--c-border);
    font-size: .95rem; color: var(--c-heading);
}
.section--dark .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Chiffres/arguments ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.stat { text-align: center; }
.stat__value { font-family: var(--ff-heading); font-size: 2.6rem; font-weight: 700; color: var(--c-accent); line-height: 1; }
.stat__label { font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; }
.faq details {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    transition: box-shadow .3s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.2rem 1.5rem; cursor: pointer; list-style: none;
    font-family: var(--ff-heading); font-size: 1.3rem; font-weight: 600; color: var(--c-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; flex-shrink: 0; display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--c-bg-alt); color: var(--c-primary); font-size: 1.4rem; line-height: 1;
    transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.5rem 1.3rem; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    color: rgba(255, 255, 255, .88);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title { color: #fff; margin-bottom: .3rem; }
.cta-band__text { margin: 0; font-size: 1.1rem; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Galerie réalisations ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery__item {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: zoom-in; background: var(--c-bg-alt);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(0, 37, 46, .35); opacity: 0; transition: opacity .3s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

.lightbox {
    position: fixed; inset: 0; z-index: 500;
    display: grid; place-items: center; padding: 4rem 1rem;
    background: rgba(0, 15, 20, .94);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 85vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__btn {
    position: absolute; display: grid; place-items: center;
    width: 52px; height: 52px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; font-size: 1.8rem;
    transition: background .2s;
}
.lightbox__btn:hover { background: var(--c-accent); color: var(--c-dark); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__prev .icon { transform: rotate(180deg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--c-dark); color: rgba(255, 255, 255, .8); padding: 2.2rem; border-radius: var(--radius-lg); }
.contact-info h2, .contact-info h3 { color: #fff; }
.contact-info > h2 { font-size: 1.9rem; }
.contact-info__item { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-info__item:last-of-type { border-bottom: 0; }
.contact-info__item .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--c-primary-light); color: #fff; }
.contact-info__item h3 { font-size: 1.2rem; margin-bottom: .1rem; }
.contact-info__item p { margin: 0; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info a:hover { color: var(--c-accent); }

.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: .35rem; font-family: var(--ff-heading); font-size: 1.05rem; font-weight: 600; color: var(--c-heading); letter-spacing: .02em; }
.form .req { color: #b3261e; }
.form input, .form textarea, .form select {
    width: 100%; padding: .85rem 1rem;
    font: inherit; font-size: 1rem; color: var(--c-heading);
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--c-primary-light); box-shadow: 0 0 0 3px rgba(49, 118, 108, .18);
}
.form .is-invalid { border-color: #b3261e; }
.form__error { display: block; margin-top: .3rem; color: #b3261e; font-size: .9rem; }
.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.form__consent input { width: auto; margin-top: .35rem; }
.form__privacy { margin: .6rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--c-muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }

.alert { padding: 1rem 1.3rem; border-radius: var(--radius); margin-bottom: 1.5rem; border-left: 4px solid; }
.alert--success { background: #e8f4f1; border-color: var(--c-primary-light); color: var(--c-primary); }
.alert--error { background: #fdecea; border-color: #b3261e; color: #7a1b14; }

.map { margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .05); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__placeholder {
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .9rem; padding: 1.5rem; text-align: center; border: 1px dashed rgba(255, 255, 255, .2); border-radius: inherit;
}
.map__placeholder > .icon { width: 2.2rem; height: 2.2rem; color: var(--c-accent); }
.map__note { margin: 0; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.map__note a { color: var(--c-accent); }

/* ---------- Contenu éditorial (mentions légales…) ---------- */
.prose h2 { font-size: 1.9rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h2 + h3 { margin-top: .4em; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.error-page__code { font-family: var(--ff-heading); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; color: var(--c-primary-light); opacity: .2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgba(255, 255, 255, .68); font-size: .97rem; }
.site-footer__grid {
    display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: 2.5rem;
    padding-block: clamp(3.5rem, 7vw, 5rem);
}
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__about img { height: 70px; width: auto; margin-bottom: 1.2rem; }
.site-footer__title { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer__links li + li { margin-top: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.site-footer__contact li + li { margin-top: .8rem; }
.site-footer__contact .icon { color: var(--c-accent); margin-top: .35rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.3rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Bouton d'appel mobile ---------- */
.mobile-call {
    display: none;
    position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
    align-items: center; gap: .5rem;
    padding: .85rem 1.3rem; border-radius: 999px;
    background: var(--c-accent); color: var(--c-dark);
    font-family: var(--ff-heading); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em;
    text-decoration: none; box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
    .mobile-call { display: inline-flex; }
    .topbar { display: none; }
    :root { --header-h: 72px; }
    .logo img { height: 46px; }
}

/* ---------- Animations d'apparition ---------- */
/* Le contenu est visible par défaut : il n'est masqué (en attendant l'animation)
   que si la classe .js est posée sur <html> par le script en ligne de layout.php. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

.section--dark a:not(.btn) { color: #fff; }
.section--dark a:not(.btn):hover { color: var(--c-accent); }

/* ---------- Pages locales SEO ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } }
.with-aside__main { max-width: 760px; }
.with-aside__side { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 960px) { .with-aside__side { position: static; } }
.h-section { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2rem; padding-left: .9rem; border-left: 4px solid var(--c-accent); }
.h-related { font-size: 1.4rem; margin-top: 3rem; }

.aside-card { background: var(--c-bg-alt); border-radius: var(--radius-lg); padding: 1.6rem; }
.aside-card--dark { background: var(--c-dark); color: rgba(255, 255, 255, .8); }
.aside-card--dark .aside-card__title { color: #fff; }
.aside-card__title { font-size: 1.35rem; margin-bottom: .8rem; }
.aside-card .btn { width: 100%; }
.aside-card__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; color: #fff; text-decoration: none; font-family: var(--ff-heading); font-size: 1.25rem; font-weight: 600; }
.aside-card__phone:hover { color: var(--c-accent); }
.aside-card__phone .icon { color: var(--c-accent); }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li + li { border-top: 1px solid var(--c-border); }
.link-list a { display: block; padding: .55rem 0; text-decoration: none; color: var(--c-heading); transition: color .2s, padding .2s; }
.link-list a:hover { color: var(--c-primary-light); padding-left: .3rem; }
.link-list a[aria-current="page"] { color: var(--c-primary-light); font-weight: 600; }

.chips--links a { text-decoration: none; color: inherit; }
.chips--links li { transition: background .2s, border-color .2s; }
.chips--links li:hover { border-color: var(--c-primary-light); background: var(--c-bg-alt); }
.section--dark .chips a { color: #fff; }
.section--dark .chips--links li:hover { background: rgba(255, 255, 255, .14); }

.zones-main { margin-bottom: 1rem; }
.zones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.zone-card h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.zone-card--main { text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.zone-card--main:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
