/* ==========================================================================
   DND Services : feuille de style principale
   Direction : claire, aérée, minimaliste. Contrastes vérifiés WCAG AA.
   ========================================================================== */

/* ---------- Polices hébergées sur le site (pas d'appel aux serveurs Google : conforme RGPD) ---------- */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Sans";
    src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Couleurs et réglages globaux ---------- */
:root {
    --indigo:        #2B2C6D;  /* titres ; 12,5:1 sur blanc */
    --indigo-dark:   #1F2052;
    --indigo-tint:   #EEEFF8;  /* fonds très doux */
    --green:         #40A448;  /* vert du logo : décoratif uniquement */
    --green-access:  #34853A;  /* boutons et liens : 4,6:1 avec du blanc */
    --green-hover:   #2B6E30;
    --green-tint:    #EAF5EB;
    --ink:           #23243A;  /* texte courant : 15:1 sur blanc */
    --muted:         #5A5B70;  /* texte secondaire : 6,6:1 sur blanc */
    --line:          #E4E6EF;
    --bg:            #FFFFFF;
    --bg-soft:       #F6F7FB;
    --star:          #E8A600;

    --font-title: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-text:  "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow: 0 1px 2px rgba(35, 36, 58, .04), 0 12px 32px rgba(35, 36, 58, .08);
    --shadow-lg: 0 2px 4px rgba(35, 36, 58, .05), 0 24px 56px rgba(35, 36, 58, .14);
    --header-h: 76px;
}

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

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

body {
    margin: 0;
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-title);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--indigo);
    text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--green-access); }

:focus-visible {
    outline: 3px solid var(--indigo);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute; left: 12px; top: -60px;
    padding: 10px 16px;
    background: var(--indigo); color: #fff;
    border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px;          /* zone tactile recommandée par Google */
    padding: 0 22px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--font-text);
    font-size: 1rem; font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }

.btn--primary { background: var(--green-access); color: #fff; box-shadow: 0 8px 20px rgba(52, 133, 58, .28); }
.btn--primary:hover { background: var(--green-hover); box-shadow: 0 12px 26px rgba(52, 133, 58, .34); }

.btn--outline { background: #fff; color: var(--indigo); border-color: var(--line); font-family: var(--font-title); font-weight: 700; }
.btn--outline:hover { border-color: var(--indigo); }

.btn__icon { display: inline-flex; }
.btn__icon svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Petits éléments réutilisables ---------- */
.eyebrow {
    margin: 0 0 12px;
    font-size: .875rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--green-access);
}

.pill {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 24px; padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .9375rem; color: var(--ink);
    box-shadow: 0 1px 2px rgba(35, 36, 58, .04);
}
.pill__stars { color: var(--star); letter-spacing: 1px; }

.accent {
    color: var(--green-access);
    white-space: nowrap;
    background: linear-gradient(transparent 68%, var(--green-tint) 68%);
}

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 48px;
    font-weight: 600; text-decoration: none;
}
.link-arrow svg, .service__arrow svg {
    width: 20px; height: 20px;
    fill: none; stroke: currentColor; stroke-width: 2.2;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform .25s ease;
}
.link-arrow:hover svg { transform: translateX(4px); }

.photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(35, 36, 58, .05); }

.site-header__inner {
    display: flex; align-items: center; gap: 32px;
    min-height: var(--header-h);
}

.logo { flex-shrink: 0; }
.logo img { width: 150px; }

.nav { margin-right: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
    display: inline-flex; align-items: center;
    min-height: 48px; padding: 0 14px;
    font-size: 1rem; font-weight: 500;
    color: var(--ink); text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    transition: background-color .2s ease, color .2s ease;
}
.nav__link:hover,
.nav__link[aria-current="page"] { background: var(--indigo-tint); color: var(--indigo); }

.nav__cta-mobile,
.nav__hours { display: none; }

.actions { display: flex; align-items: center; gap: 20px; }

.phone {
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 48px;
    color: var(--indigo); text-decoration: none;
}
.phone__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--indigo-tint);
    transition: background-color .2s ease, transform .2s ease;
}
.phone__icon svg { width: 20px; height: 20px; fill: var(--indigo); }
.phone:hover .phone__icon { transform: scale(1.06); }
.phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.phone__label { font-size: .8125rem; color: var(--muted); }
.phone__number {
    font-family: var(--font-title);
    font-size: 1.375rem; font-weight: 700;
    white-space: nowrap;
}

.burger {
    display: none;
    width: 48px; height: 48px;
    border: 1.5px solid var(--line); border-radius: 50%;
    background: #fff; cursor: pointer;
    position: relative;
}
.burger__bar,
.burger__bar::before,
.burger__bar::after {
    position: absolute;
    width: 20px; height: 2px;
    background: var(--indigo); border-radius: 2px;
    transition: transform .25s ease, background-color .25s ease;
}
.burger__bar { top: 50%; left: 50%; margin: -1px 0 0 -10px; }
.burger__bar::before, .burger__bar::after { content: ""; left: 0; }
.burger__bar::before { top: -6px; }
.burger__bar::after  { top: 6px; }
.burger[aria-expanded="true"] .burger__bar { background: transparent; }
.burger[aria-expanded="true"] .burger__bar::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    padding: 56px 0 96px;
    overflow: hidden;
    isolation: isolate;
}
/* Halos de couleur très doux en arrière-plan */
.hero::before, .hero::after {
    content: "";
    position: absolute; z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(64, 164, 72, .16); }
.hero::after  { width: 460px; height: 460px; left: -180px; bottom: -220px; background: rgba(43, 44, 109, .10); }

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.hero__title {
    margin-bottom: 20px;
    font-size: clamp(2.375rem, 4.6vw, 4rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.04;
}
.hero__lead {
    margin: 0 0 32px;
    max-width: 32em;
    font-size: 1.25rem; line-height: 1.55;
    color: var(--muted);
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.checks {
    display: flex; flex-wrap: wrap; gap: 8px 24px;
    margin-top: 28px;
    font-size: .9375rem; font-weight: 500; color: var(--ink);
}
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before, .ticks li::before {
    content: "";
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334853A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero__visual { position: relative; }
.hero__caption {
    margin: 14px 0 0;
    text-align: center;
    font-size: .875rem; color: var(--muted);
}

/* ---------- Comparateur avant / après ---------- */
.ba {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-soft);
    user-select: none;
}
.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 calc(100% - var(--pos)) 0 0);
}
.ba__tag {
    position: absolute; top: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    font-size: .8125rem; font-weight: 700; color: var(--indigo);
    pointer-events: none;
}
.ba__tag--before { left: 16px; }
.ba__tag--after  { right: 16px; }

.ba__range {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    touch-action: pan-y;
}
.ba__handle {
    position: absolute; top: 0; bottom: 0;
    left: var(--pos);
    width: 3px; margin-left: -1.5px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(35, 36, 58, .08);
    pointer-events: none;
}
.ba__handle svg {
    position: absolute; top: 50%; left: 50%;
    width: 48px; height: 48px; max-width: none; padding: 13px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(35, 36, 58, .25);
    fill: none; stroke: var(--indigo); stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round;
}
.ba__range:focus-visible ~ .ba__handle svg { outline: 3px solid var(--indigo); outline-offset: 3px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

.section__head { max-width: 720px; margin-bottom: 48px; }

/* ---------- Services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}
.service--large { grid-column: span 3; }
.service--small { grid-column: span 2; }

.service__link {
    position: relative;
    display: flex; flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service__photo { display: block; overflow: hidden; }
.service--large .service__photo { aspect-ratio: 16 / 9; }
.service--small .service__photo { aspect-ratio: 4 / 3; }
.service__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.service__link:hover .service__photo img { transform: scale(1.05); }

.service__body { display: block; padding: 22px 72px 24px 24px; }
.service__title {
    display: block; margin-bottom: 6px;
    font-family: var(--font-title);
    font-size: 1.3125rem; font-weight: 700; letter-spacing: -.01em;
    color: var(--indigo);
}
.service__text { display: block; font-size: 1rem; line-height: 1.5; color: var(--muted); }

.service__arrow {
    position: absolute; right: 20px; bottom: 22px;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--indigo-tint); color: var(--indigo);
    transition: background-color .3s ease, color .3s ease;
}
.service__link:hover .service__arrow { background: var(--green-access); color: #fff; }
.service__link:hover .service__arrow svg { transform: translateX(2px); }

/* ---------- Méthode ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.step__num {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-bottom: 20px;
    border-radius: 50%;
    background: var(--green-tint); color: var(--green-access);
    font-family: var(--font-title); font-size: 1.125rem; font-weight: 700;
}
.step__title { margin-bottom: 8px; }
.step__text { margin: 0; font-size: 1rem; color: var(--muted); }

/* ---------- Blocs texte + image ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
    align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split__text h2 { margin-bottom: 20px; }
.split__text p:not(.eyebrow) { color: var(--muted); }
.split__visual { position: relative; }

.ticks { display: grid; gap: 16px; margin-top: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.ticks li::before { width: 24px; height: 24px; margin-top: 2px; background-size: 14px; }

.badge-rating {
    position: absolute; left: -20px; bottom: -24px;
    display: flex; align-items: center; gap: 14px;
    margin: 0; padding: 16px 22px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: .875rem; line-height: 1.35; color: var(--muted);
}
.badge-rating__score {
    font-family: var(--font-title);
    font-size: 2.25rem; font-weight: 700; line-height: 1;
    color: var(--indigo);
}

/* ---------- Contenu de référencement ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-bottom: 24px; }
.prose h3 { margin: 40px 0 16px; }
.prose p:not(.eyebrow) { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .9375rem; font-weight: 500; color: var(--indigo);
}

/* ---------- Questions fréquentes ---------- */
.faq { max-width: 800px; }
.faq__item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow .2s ease;
}
.faq__item + .faq__item { margin-top: 12px; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 64px; padding: 16px 24px;
    font-family: var(--font-title);
    font-size: 1.125rem; font-weight: 700; color: var(--indigo);
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "";
    flex-shrink: 0;
    width: 12px; height: 12px;
    border-right: 2.5px solid var(--green-access);
    border-bottom: 2.5px solid var(--green-access);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- Appel à l'action final ---------- */
.cta {
    padding: 64px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--green-tint), var(--indigo-tint));
    text-align: center;
}
.cta h2 { margin-bottom: 12px; }
.cta p { margin-bottom: 28px; font-size: 1.125rem; color: var(--muted); }
.cta .hero__buttons { justify-content: center; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
    padding: 64px 0 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    font-size: 1rem;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.site-footer__brand p { margin-top: 16px; max-width: 22em; color: var(--muted); }
.site-footer__title {
    margin: 0 0 12px;
    font-family: var(--font-title);
    font-weight: 700; color: var(--indigo);
}
.site-footer li { color: var(--muted); }
.site-footer li a {
    display: inline-flex; align-items: center;
    min-height: 40px;
    color: var(--muted); text-decoration: none;
}
.site-footer li a:hover { color: var(--indigo); text-decoration: underline; }
.site-footer li:not(:has(a)) { padding: 8px 0; }
.site-footer li a.site-footer__phone {
    font-family: var(--font-title);
    font-size: 1.25rem; font-weight: 700; color: var(--indigo);
}
.site-footer__bottom {
    margin-top: 48px; padding-block: 24px;
    border-top: 1px solid var(--line);
    font-size: .875rem; color: var(--muted);
}
.site-footer__bottom p { margin: 0; }

/* ==========================================================================
   Animations
   ========================================================================== */
/* Apparition du hero au chargement */
@keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
.hero__text > *, .hero__visual { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: .06s; }
.hero__text > :nth-child(3) { animation-delay: .12s; }
.hero__text > :nth-child(4) { animation-delay: .18s; }
.hero__text > :nth-child(5) { animation-delay: .24s; }
.hero__visual { animation-delay: .15s; }

/* Apparition des blocs au défilement (uniquement si JavaScript est actif) */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */
@media (max-width: 1240px) {
    .site-header__inner { gap: 20px; }
    .phone__label { display: none; }
    .hero__inner { gap: 48px; }
    .split, .split--reverse { gap: 48px; }
}

/* Tablette et mobile */
@media (max-width: 1080px) {
    :root { --header-h: 68px; }

    .logo img { width: 124px; }
    .actions { margin-left: auto; gap: 10px; }
    .actions > .btn { display: none; }
    .burger { display: block; }

    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        margin: 0;
        padding: 12px 20px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(35, 36, 58, .10);
        display: none;
    }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav__link { font-size: 1.125rem; border-radius: 12px; }
    .nav__cta-mobile { display: block; margin-top: 8px; }
    .nav__cta-mobile .btn { width: 100%; }
    .nav__hours { display: block; margin: 16px 0 0; text-align: center; color: var(--muted); font-size: .875rem; }

    .hero { padding: 32px 0 72px; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }

    .section { padding: 72px 0; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse .split__visual { order: 2; }
    .badge-rating { left: 16px; bottom: -20px; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .container { padding-inline: 18px; }

    .hero__lead { font-size: 1.0625rem; }
    .hero__buttons .btn { flex: 1 1 100%; }
    .checks { gap: 8px 18px; }

    .section { padding: 56px 0; }
    .section__head { margin-bottom: 32px; }

    .services { grid-template-columns: 1fr; gap: 16px; }
    .service--large, .service--small { grid-column: auto; }
    .service--large .service__photo,
    .service--small .service__photo { aspect-ratio: 16 / 9; }

    .steps { grid-template-columns: 1fr; gap: 12px; }
    .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
    .step__num { grid-row: span 2; margin: 0; }

    .cta { padding: 44px 20px; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 400px) {
    .container { padding-inline: 14px; }
    .site-header__inner { gap: 10px; }
    .actions { gap: 8px; }
    .logo img { width: 104px; }
    .phone { gap: 8px; }
    .phone__icon { width: 40px; height: 40px; }
    .phone__number { font-size: 1.125rem; }
}

/* ---------- Respect des préférences d'animation réduite ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

.nowrap { white-space: nowrap; }

/* ==========================================================================
   Les deux services (piliers)
   ========================================================================== */
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro { margin: 16px 0 0; font-size: 1.1875rem; color: var(--muted); }

.pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.pillar {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}
.pillar:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.pillar__visual { position: relative; }
.pillar__visual .ba { border-radius: 0; box-shadow: none; }
.pillar__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pillar__moment {
    position: absolute; left: 20px; bottom: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--indigo); color: #fff;
    font-size: .875rem; font-weight: 700;
    pointer-events: none;
}

.pillar__body { display: flex; flex-direction: column; flex: 1; padding: 32px 32px 36px; }
.pillar__title { margin-bottom: 12px; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.pillar__text { margin-bottom: 24px; color: var(--muted); }

.ticks--compact { gap: 12px; margin: 0 0 32px; }
.ticks--compact li { font-size: 1rem; }

.pillar__footer {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
    margin-top: auto;
}
.btn--dark { background: var(--indigo); color: #fff; }
.btn--dark:hover { background: var(--indigo-dark); }
.btn__arrow {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor; stroke-width: 2.2;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform .25s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.pillar__links { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar__links a {
    display: inline-flex; align-items: center;
    min-height: 40px; padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .9375rem; font-weight: 500;
    color: var(--indigo); text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}
.pillar__links a:hover { border-color: var(--indigo); background: var(--indigo-tint); }

@media (max-width: 1080px) {
    .pillars { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
}
@media (max-width: 640px) {
    .pillar__body { padding: 24px 20px 28px; }
    .pillar__footer .btn { width: 100%; }
}

.site-footer__title a { color: inherit; text-decoration: none; }
.site-footer__title a:hover { text-decoration: underline; }

/* ==========================================================================
   Contenu de l'accueil : accroche, clients, sujets de référencement, zones
   ========================================================================== */
.hero__lead { margin-bottom: 12px; color: var(--ink); }
.hero__lead strong { color: var(--indigo); }
.hero__sub { margin: 0 0 32px; max-width: 32em; color: var(--muted); }

.ticks li strong { color: var(--indigo); }
.ticks li span { font-weight: 400; }

.section--compact { padding: 64px 0; }
.clients {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
    align-items: center;
}
.clients h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.section__head .section__intro + .section__intro { margin-top: 12px; }

/* Sujets : deux colonnes de texte aérées, séparées par un filet */
.topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 72px;
}
.topic {
    padding: 36px 0;
    border-top: 1px solid var(--line);
}
.topic h3 { margin-bottom: 16px; font-size: 1.375rem; }
.topic p { color: var(--muted); font-size: 1rem; }
.topic p:last-of-type { margin-bottom: 0; }
.topic .link-arrow { margin-top: 12px; }

.zones {
    margin-top: 24px; padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}
.zones h3 { margin-bottom: 24px; font-size: 1.375rem; }
.zones__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.zones__list li { color: var(--muted); font-size: 1rem; }
.zones__list strong {
    display: block; margin-bottom: 6px;
    font-family: var(--font-title); font-size: 1.125rem;
    color: var(--indigo);
}

@media (max-width: 1080px) {
    .clients { grid-template-columns: 1fr; gap: 24px; }
    .topics { gap: 0 40px; }
}
@media (max-width: 760px) {
    .topics { grid-template-columns: 1fr; }
    .topic { padding: 28px 0; }
    .zones { padding: 28px 20px; }
    .zones__list { grid-template-columns: 1fr; gap: 20px; }
    .section--compact { padding: 48px 0; }
}

/* ==========================================================================
   Bande de preuves sous le hero, appel à l'action après les services
   ========================================================================== */
/* Un lien interne ne doit pas arriver caché sous l'en-tête collant */
html { scroll-padding-top: calc(var(--header-h) + 16px); }

.proofs {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.proofs__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-block: 28px;
}
.proof {
    display: flex; align-items: center; gap: 14px;
    font-size: .9375rem; line-height: 1.35; color: var(--muted);
}
.proof strong {
    display: block;
    font-family: var(--font-title); font-size: 1.0625rem;
    color: var(--indigo);
}
.proof__icon {
    flex-shrink: 0;
    width: 44px; height: 44px; padding: 10px;
    border-radius: 12px;
    background: var(--green-tint);
    fill: none; stroke: var(--green-access); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

.inline-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
    margin-top: 40px; padding: 28px 32px;
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.inline-cta p { margin: 0; color: var(--muted); }
.inline-cta strong { color: var(--indigo); font-family: var(--font-title); font-size: 1.125rem; }

@media (max-width: 1080px) {
    .proofs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inline-cta { max-width: 680px; margin-inline: auto; }
}
@media (max-width: 640px) {
    .proofs__list { gap: 18px 12px; padding-block: 22px; }
    .proof { flex-direction: column; align-items: flex-start; gap: 10px; font-size: .875rem; }
    .proof strong { font-size: 1rem; }
    .inline-cta { padding: 24px 20px; }
    .inline-cta .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Estimateur de prix
   ========================================================================== */
.est-hero { padding: 56px 0 24px; text-align: center; }
.est-hero__inner { max-width: 760px; }
.est-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.est-hero__lead { margin: 0 auto; max-width: 34em; font-size: 1.125rem; color: var(--muted); }

.est-section { padding: 16px 0 96px; }
.est-card {
    max-width: 760px; margin-inline: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.est-aside { margin: 20px auto 0; max-width: 760px; text-align: center; font-size: .9375rem; color: var(--muted); }
.est-aside a { font-weight: 700; text-decoration: none; }

.est-progress { height: 6px; background: var(--indigo-tint); border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.est-progress span { display: block; height: 100%; background: var(--green-access); border-radius: 0 6px 6px 0; transition: width .35s ease; }

.est-step { padding: 36px 40px 8px; }
.est-kicker { margin: 0 0 8px; font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-access); }
.est-title { margin-bottom: 8px; font-size: clamp(1.375rem, 2.6vw, 1.75rem); outline: none; }
.est-help { margin: 0; color: var(--muted); font-size: 1rem; }

/* Choix en tuiles */
.est-options {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
    margin: 24px 0 0; padding: 0; border: 0; min-width: 0;
}
.est-options--row { grid-template-columns: repeat(2, minmax(0, 160px)); }
.est-option {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    min-height: 60px; padding: 14px 18px;
    border: 1.5px solid var(--line); border-radius: 14px;
    background: #fff; cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.est-option:hover { border-color: var(--indigo); }
.est-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.est-option__mark {
    flex-shrink: 0; width: 22px; height: 22px;
    border: 2px solid #9A9BB0; border-radius: 50%;
    transition: border-color .15s ease, background-color .15s ease;
}
.est-option input[type="checkbox"] + .est-option__mark { border-radius: 6px; }
.est-option__text { font-weight: 600; line-height: 1.3; color: var(--ink); }
.est-option__text small { display: block; margin-top: 2px; font-weight: 400; font-size: .875rem; color: var(--muted); }
.est-option.is-checked { border-color: var(--green-access); background: var(--green-tint); }
.est-option.is-checked .est-option__mark {
    border-color: var(--green-access);
    background: var(--green-access) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.est-option:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
.est-option.is-disabled { cursor: not-allowed; opacity: .5; }
.est-option.is-disabled:hover { border-color: var(--line); }

/* Inventaire pièce par pièce */
.est-items { margin: 20px 0 0; border-top: 1px solid var(--line); }
.est-item {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.est-item__label { flex: 1 1 200px; font-weight: 500; }
.est-item__label small { margin-left: 8px; font-size: .8125rem; color: var(--muted); }
.est-item.is-active .est-item__label { color: var(--indigo); font-weight: 700; }

.est-stepper { display: inline-flex; align-items: center; gap: 4px; }
.est-stepper button {
    width: 44px; height: 44px;
    border: 1.5px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--indigo);
    font-size: 1.375rem; line-height: 1; cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.est-stepper button:hover:not(:disabled) { border-color: var(--indigo); background: var(--indigo-tint); }
.est-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.est-stepper output { min-width: 32px; text-align: center; font-family: var(--font-title); font-weight: 700; font-size: 1.125rem; }

.est-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-soft); }
.est-toggle button {
    min-height: 36px; padding: 0 14px;
    border: 0; border-radius: 999px; background: transparent;
    font: inherit; font-size: .875rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.est-toggle button[aria-pressed="true"] { background: #fff; color: var(--indigo); box-shadow: 0 1px 4px rgba(35, 36, 58, .12); }

.est-total {
    position: sticky; bottom: 0;
    margin: 0 -40px; padding: 16px 40px;
    background: rgba(255, 255, 255, .95);
    border-top: 1px solid var(--line);
    text-align: right; color: var(--muted);
    z-index: 2;
}
.est-total strong { font-family: var(--font-title); font-size: 1.25rem; color: var(--indigo); }

/* Objets de valeur */
.est-fields { display: grid; gap: 16px; margin-top: 20px; }
.est-field span { display: block; margin-bottom: 6px; font-weight: 600; }
.est-field textarea, .est-field input {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--line); border-radius: 12px;
    font: inherit; color: var(--ink); background: #fff;
}
.est-field textarea:focus, .est-field input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-tint); }

/* Navigation */
.est-nav {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 24px 40px 32px;
}
.est-nav .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.est-back {
    min-height: 48px; padding: 0 8px;
    border: 0; background: none;
    font: inherit; font-weight: 600; color: var(--muted); cursor: pointer;
}
.est-back:hover { color: var(--indigo); text-decoration: underline; }

/* Résultat */
.est-result {
    margin-top: 24px; padding: 32px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green-tint), var(--indigo-tint));
    text-align: center;
}
.est-result__label { margin: 0 0 4px; font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-access); }
.est-result__price { margin: 0 0 8px; font-family: var(--font-title); font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.1; color: var(--indigo); }
.est-result__price span { font-size: .55em; font-weight: 500; color: var(--muted); }
.est-result__sub { margin: 0; color: var(--muted); font-size: .9375rem; }
.est-result__lead { font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; color: var(--indigo); }
.est-result--visit { text-align: left; }
.est-result--visit p:last-child { margin-bottom: 0; }

.est-detail { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; }
.est-detail summary { min-height: 52px; display: flex; align-items: center; padding: 0 20px; font-weight: 600; color: var(--indigo); cursor: pointer; }
.est-detail ul { margin: 0; padding: 0 20px 16px; }
.est-detail li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.est-detail li span:last-child { font-weight: 600; white-space: nowrap; }

.est-notes { margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--bg-soft); }
.est-notes li { position: relative; padding-left: 18px; font-size: .9375rem; color: var(--ink); }
.est-notes li + li { margin-top: 8px; }
.est-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--green-access); }

.est-disclaimer { margin: 20px 0 0; font-size: .875rem; color: var(--muted); }
.est-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 640px) {
    .est-hero { padding: 36px 0 16px; }
    .est-step { padding: 28px 20px 8px; }
    .est-options { grid-template-columns: 1fr; }
    .est-options--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .est-total { margin: 0 -20px; padding: 14px 20px; }
    /* Inventaire : nom à gauche, compteur à droite, « vide / plein » en dessous */
    .est-item__label { flex: 1 1 calc(100% - 160px); min-width: 0; }
    .est-item__label small { display: block; margin: 2px 0 0; }
    .est-stepper { order: 2; }
    .est-toggle { order: 3; margin-left: auto; }
    .est-nav { padding: 20px 20px 24px; }
    .est-result { padding: 24px 16px; }
    .est-ctas .btn { flex: 1 1 100%; }
}

/* Estimateur : coordonnées */
.est-fields--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.est-consent {
    display: flex; align-items: flex-start; gap: 12px;
    margin-top: 20px;
    font-size: .9375rem; color: var(--muted); cursor: pointer;
}
.est-consent input { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green-access); }
@media (max-width: 640px) { .est-fields--grid { grid-template-columns: 1fr; } }

/* Estimateur : champ piège et confirmation d'envoi */
.est-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.est-sent { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--green-tint); color: var(--green-hover); font-weight: 600; font-size: .9375rem; }
.est-sent--error { background: #FDECEC; color: #A61B1B; }

/* Estimateur : grille compacte (étages) */
.est-options--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.est-options--compact .est-option { min-height: 52px; padding: 10px 14px; }
@media (max-width: 640px) { .est-options--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Estimateur : photos */
.est-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin: 20px 0 0; }
.est-photos li { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.est-photos img { width: 100%; height: 100%; object-fit: cover; }
.est-photos button {
    position: absolute; top: 6px; right: 6px;
    width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .95); color: var(--indigo);
    font-size: 1.25rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(35, 36, 58, .2);
}
.est-photos__ajout { margin-top: 16px; cursor: pointer; }
.est-photos__ajout:focus-within { outline: 3px solid var(--indigo); outline-offset: 3px; }

/* ==========================================================================
   Page « Estimer mon projet » : explication du prix
   ========================================================================== */
.est-hero__link { margin: 16px 0 0; font-size: .9375rem; }
.est-hero__link a { font-weight: 600; }

.px { max-width: 960px; }
.px p:not(.eyebrow) { color: var(--muted); }
.px strong { color: var(--indigo); }
.px .section__head { max-width: 760px; }

/* Schéma de la formule */
.px-formula {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px;
    padding: 32px 24px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.px-group {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px;
    padding: 10px; border: 2px dashed var(--line); border-radius: 18px;
}
.px-block {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 128px; min-height: 76px; padding: 12px 16px;
    border-radius: 14px; background: var(--indigo-tint); text-align: center;
}
.px-block strong { font-family: var(--font-title); font-size: 1.0625rem; line-height: 1.2; }
.px-block span { margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.px-block--green { background: var(--green-tint); }
.px-block--green strong { color: var(--green-hover); }
.px-block--dark { background: var(--indigo); }
.px-block--dark strong { color: #fff; }
.px-block--dark span { color: #D8D9EE; }
.px-op { font-family: var(--font-title); font-size: 1.75rem; font-weight: 700; color: var(--indigo); }

/* Étapes numérotées */
.px-step, .px-value { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; align-items: start; }
.px-step h2, .px-value h2 { margin-bottom: 16px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.px-step p:last-child { margin-bottom: 0; }
.px-num {
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--indigo); color: #fff;
    font-family: var(--font-title); font-size: 1.5rem; font-weight: 700;
}
.px-num--green { background: var(--green-access); }
.px-value { padding: 40px; border-radius: var(--radius-lg); background: var(--green-tint); }
.px-value p { color: var(--ink); }
.px-value .hero__buttons { margin-top: 24px; }

.px-note { margin: 24px 0 0; font-weight: 600; color: var(--indigo) !important; }
.px-small { margin: 16px 0 0; font-size: .9375rem; }

/* Schéma des fourgons */
.px-vans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.px-vans li {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center;
}
.px-vans__icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 8px; }
.px-vans svg { width: 56px; height: 35px; fill: var(--green-access); }
.px-vans strong { font-family: var(--font-title); font-size: 1.125rem; }
.px-vans li > span:last-child { font-size: .9375rem; color: var(--muted); }

/* Cartes et tableaux */
.px-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.px-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.px-card h3 { margin-bottom: 10px; }
.px-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 1rem; }
.px-table th, .px-table td { padding: 12px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.px-table thead th { border-top: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.px-table tbody th { font-weight: 500; color: var(--ink); }
.px-table td { font-weight: 700; color: var(--indigo); white-space: nowrap; }
.px-table--wide { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.px-table--wide th, .px-table--wide td { padding: 14px 20px; }
.px-table--wide td { white-space: normal; }

/* Schéma : tarif selon l'étage */
.px-chart { margin: 32px 0 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.px-chart figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.px-chart figcaption strong { font-family: var(--font-title); font-size: 1.0625rem; }
.px-legend { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.px-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.px-dot--sans, .px-bar--sans { background: var(--indigo); }
.px-dot--avec, .px-bar--avec { background: var(--green-access); }
.px-dot--avec { margin-left: 10px; }
.px-bars li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: center; padding: 8px 0; }
.px-bars__label { font-size: .9375rem; font-weight: 500; color: var(--ink); }
.px-bars__tracks { display: grid; gap: 4px; }
.px-bar { display: flex; align-items: center; justify-content: flex-end; min-width: 68px; height: 24px; padding-right: 8px; border-radius: 6px; }
.px-bar b { font-size: .8125rem; font-weight: 700; color: #fff; white-space: nowrap; }

/* Exemples chiffrés */
.px-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.px-example { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.px-example h3 { margin-bottom: 4px; }
.px-example__detail { margin-bottom: 16px; font-size: .9375rem; }
.px-example dl { margin: 0 0 20px; }
.px-example dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.px-example dt { color: var(--muted); }
.px-example dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.px-example dl div:last-child dt, .px-example dl div:last-child dd { font-weight: 700; color: var(--indigo); }
.px-example__price { margin: auto 0 0; font-family: var(--font-title); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--green-access) !important; }
.px-example__price span { font-size: 1rem; font-weight: 600; color: var(--muted); }

/* Schéma du tarif dégressif */
.px-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 16px; }
.px-tiers div { display: flex; flex-direction: column; padding: 12px 10px; text-align: center; background: var(--indigo-tint); }
.px-tiers div:first-child { border-radius: 10px 0 0 10px; }
.px-tiers div:last-child { border-radius: 0 10px 10px 0; background: var(--green-tint); }
.px-tiers div:nth-child(2) { background: #E4EEF0; }
.px-tiers strong { font-family: var(--font-title); }
.px-tiers span { font-size: .8125rem; color: var(--muted); }

/* Estimateur : encadré « objets de valeur » */
.est-callout { margin: 20px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--green-tint); font-size: .9375rem; color: var(--ink); }
.est-callout strong { color: var(--green-hover); }
.est-callout a { font-weight: 700; white-space: nowrap; }

@media (max-width: 760px) {
    .px-step, .px-value { grid-template-columns: 1fr; gap: 16px; }
    .px-num { width: 44px; height: 44px; font-size: 1.25rem; }
    .px-value { padding: 28px 20px; }
    .px-cols, .px-examples { grid-template-columns: 1fr; }
    .px-vans { grid-template-columns: 1fr; }
    .px-formula { flex-direction: column; padding: 24px 16px; }
    .px-group { flex-direction: column; width: 100%; }
    .px-block { width: 100%; min-height: 64px; }
    .px-op { line-height: 1; }
    .px-bars li { grid-template-columns: 1fr; gap: 6px; }
    .px-chart, .px-card, .px-example { padding: 20px; }
    .px-table--wide th, .px-table--wide td { display: block; padding: 4px 16px; border-top: 0; }
    .px-table--wide thead { display: none; }
    .px-table--wide tbody th { padding-top: 14px; border-top: 1px solid var(--line); }
    .px-table--wide tbody tr:first-child th { border-top: 0; }
    .px-table--wide td { padding-bottom: 14px; }
    .px-tiers { grid-template-columns: 1fr; }
    .px-tiers div, .px-tiers div:first-child, .px-tiers div:last-child { border-radius: 10px; }
}

/* ==========================================================================
   Page « J'obtiens mon devis »
   ========================================================================== */
.dv { max-width: 960px; }

.dv-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dv-door {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 24px 20px; text-align: left;
    border: 2px solid var(--line); border-radius: var(--radius);
    background: #fff; cursor: pointer;
    font: inherit; color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dv-door:hover { border-color: var(--indigo); transform: translateY(-2px); }
.dv-door[aria-selected="true"] { border-color: var(--green-access); background: var(--green-tint); box-shadow: var(--shadow); }
.dv-door strong { font-family: var(--font-title); font-size: 1.125rem; line-height: 1.25; color: var(--indigo); }
.dv-door > span:last-child { font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.dv-door__icon {
    width: 44px; height: 44px; padding: 10px; margin-bottom: 6px;
    border-radius: 12px; background: var(--indigo-tint);
    fill: none; stroke: var(--indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.dv-door[aria-selected="true"] .dv-door__icon { background: #fff; stroke: var(--green-access); }
.dv-door__badge {
    position: absolute; top: -12px; right: 16px;
    padding: 3px 12px; border-radius: 999px;
    background: var(--green-access); color: #fff;
    font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

.dv-panel {
    margin-top: 24px; padding: 36px 40px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.dv-panel h2 { margin-bottom: 10px; font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.dv-panel > p { color: var(--muted); }
.dv-panel > p:last-child { margin-bottom: 0; }

.dv-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 24px; }
.dv-wide { grid-column: 1 / -1; }
.dv-field > span { display: block; margin-bottom: 6px; font-weight: 600; }
.dv-field small { display: block; margin-top: 6px; font-size: .875rem; color: var(--muted); }
.dv-field input:not([type="file"]), .dv-field select, .dv-field textarea {
    width: 100%; min-height: 48px; padding: 12px 14px;
    border: 1.5px solid var(--line); border-radius: 12px;
    font: inherit; color: var(--ink); background: #fff;
}
.dv-field textarea { min-height: 0; resize: vertical; }
.dv-field input:focus, .dv-field select:focus, .dv-field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-tint); }
.dv-form .est-consent { margin-top: 0; }
.dv-form .est-photos:empty { display: none; }
.dv-form .est-photos { margin-top: 0; margin-bottom: 12px; }
.dv-form .est-photos__ajout { margin-top: 0; }
.dv-form .est-sent { margin-top: 0; }
.dv-form button:disabled { opacity: .5; cursor: wait; transform: none; }

.dv-phone {
    display: inline-block; margin: 8px 0;
    font-family: var(--font-title); font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; line-height: 1.1;
    color: var(--indigo); text-decoration: none; white-space: nowrap;
}
.dv-phone:hover { color: var(--green-access); }
.dv-status { font-weight: 600; }
.dv-status--open { color: var(--green-access) !important; }
.dv-status--open::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--green-access); }

.dv-done { text-align: center; }
.dv-done svg { width: 64px; height: 64px; margin: 0 auto 16px; fill: var(--green-tint); stroke: var(--green-access); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dv-done:focus { outline: none; }

@media (max-width: 760px) {
    .dv-doors { grid-template-columns: 1fr; gap: 12px; }
    .dv-door { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; gap: 4px 14px; }
    .dv-door__icon { margin: 0; }
    .dv-door strong { flex: 1 1 60%; }
    .dv-door > span:last-child { flex: 1 1 100%; }
    .dv-panel { padding: 28px 20px; }
    .dv-form { grid-template-columns: 1fr; }
    .dv-form .btn { width: 100%; }
}

/* ==========================================================================
   Carte des zones d'intervention (accueil)
   ========================================================================== */
.zones { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; margin-top: 48px; padding: 40px; }
.zones__list { grid-template-columns: 1fr; gap: 20px; }
.zones__text .link-arrow { margin-top: 4px; }

.zones__maps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 20px; align-items: end; }
.zones__maps figure { margin: 0; }
.zones__maps figcaption { margin-top: 8px; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--muted); }

.carte { width: 100%; height: auto; display: block; }
.carte__dep path { stroke: #fff; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .2s ease; }
.carte__dep--region path { fill: #D5D6EC; }
.carte__dep--region:hover path { fill: #BFC0E0; }
.carte__dep--paris path { fill: var(--indigo); }
.carte__dep--paris:hover path { fill: var(--indigo-dark); }
.carte__dep--base path { fill: var(--green-access); }
.carte__dep--base:hover path { fill: var(--green-hover); }
.carte__num { font-family: var(--font-title); font-size: 26px; font-weight: 700; fill: var(--indigo); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.carte__dep--paris .carte__num, .carte__dep--base .carte__num { fill: #fff; }
.carte__point { fill: #fff; stroke: var(--indigo); stroke-width: 3px; vector-effect: non-scaling-stroke; }
.carte__halo { fill: rgba(255, 255, 255, .5); stroke: none; }

/* Agrandissement : la carte est environ 4 fois plus grande, les repères sont réduits d'autant */
.carte--zoom .carte__num { font-size: 9px; }

.zones__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 12px; font-size: .875rem; color: var(--muted); }
.zones__legend li { display: inline-flex; align-items: center; gap: 8px; }
.zones__key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.zones__key--base { background: var(--green-access); }
.zones__key--paris { background: var(--indigo); }
.zones__key--region { background: #D5D6EC; }

.zones__address { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.zones__address svg { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--green-access); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zones__address strong { display: block; font-family: var(--font-title); color: var(--indigo); }

@media (max-width: 900px) {
    .zones { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
}
@media (max-width: 560px) {
    .zones__maps { grid-template-columns: 1fr; gap: 24px; }
    .zones__maps figure:last-child { max-width: 260px; margin-inline: auto; }
}

/* ==========================================================================
   Avis Google (accueil)
   ========================================================================== */
.avis__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.avis__score { display: flex; align-items: center; gap: 14px; margin: 0; font-size: .9375rem; line-height: 1.35; color: var(--muted); }
.avis__note { font-family: var(--font-title); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--indigo); }

.avis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.avis__carte { grid-column: span 2; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
/* 4 avis : 2 par ligne */
.avis__carte:first-child:nth-last-child(4), .avis__carte:first-child:nth-last-child(4) ~ .avis__carte { grid-column: span 3; }
/* 5 avis : 3 sur la première ligne, 2 plus larges sur la seconde */
.avis__carte:nth-child(4):nth-last-child(2), .avis__carte:nth-child(5):last-child { grid-column: span 3; }
.avis__etoiles { margin: 0 0 14px; font-size: 1.125rem; letter-spacing: 2px; color: var(--star); }
.avis__vide { color: var(--line); }
.avis__texte {
    margin: 0 0 20px; color: var(--ink); line-height: 1.6;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden;
}
.avis__auteur { display: flex; align-items: center; gap: 12px; margin: auto 0 0; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.avis__auteur strong { display: block; font-size: 1rem; color: var(--indigo); }
.avis__initiale { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--indigo-tint); font-family: var(--font-title); font-weight: 700; color: var(--indigo); }
.avis__lien { margin-top: 14px; font-size: .875rem; font-weight: 600; }
.avis__source { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 28px 0 0; font-size: .9375rem; color: var(--muted); }

@media (max-width: 1080px) {
    .avis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .avis__carte, .avis__carte:nth-child(4):nth-last-child(2), .avis__carte:nth-child(5):last-child { grid-column: auto; }
}
@media (max-width: 640px) {
    .avis { grid-template-columns: 1fr; gap: 16px; }
    .avis__carte { padding: 22px 20px; }
    .avis__note { font-size: 2.5rem; }
}

/* ==========================================================================
   Badge « Avis Google » et extraits d'avis
   ========================================================================== */
/* Étoiles : une rangée grise, recouverte d'une rangée dorée en proportion de la note */
.stars { position: relative; display: inline-block; font-size: 1.25rem; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.stars__fond { color: #D9DAE6; }
.stars__pleines { position: absolute; left: 0; top: 0; overflow: hidden; color: #F5A300; }
.stars span span { display: inline-block; }

.gbadge {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 14px;
    padding: 12px 16px 12px 14px;
    background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
    box-shadow: 0 6px 20px rgba(35, 36, 58, .10);
    color: var(--ink); text-decoration: none; line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gbadge:hover { transform: translateY(-2px); border-color: #4285F4; box-shadow: 0 10px 28px rgba(35, 36, 58, .16); }
.gbadge__g { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.gbadge__g svg { width: 24px; height: 24px; }
.gbadge__corps { display: flex; flex-direction: column; gap: 4px; }
.gbadge__ligne { display: inline-flex; align-items: center; gap: 10px; }
.gbadge__note { font-family: var(--font-title); font-size: 1.625rem; font-weight: 700; color: var(--indigo); }
.gbadge__texte { font-size: 1rem; color: var(--muted); }
.gbadge__texte strong { color: var(--ink); }
.gbadge__fleche { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.gbadge:hover .gbadge__fleche { transform: translateX(3px); stroke: #4285F4; }

/* Reflet qui traverse le badge, de temps en temps */
.gbadge::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .9), transparent);
    transform: skewX(-20deg);
    animation: gbadge-reflet 7s ease-in-out 1.6s infinite;
    pointer-events: none;
}
@keyframes gbadge-reflet { 0% { left: -60%; } 14%, 100% { left: 130%; } }

/* Les étoiles s'allument une à une, puis battent doucement de temps en temps */
@keyframes etoile-apparait { from { opacity: 0; transform: scale(.2) rotate(-40deg); } 70% { transform: scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes etoile-bat { 0%, 88%, 100% { transform: none; } 94% { transform: scale(1.22); } }
.stars--animees .stars__pleines span {
    animation: etoile-apparait .5s cubic-bezier(.2, .8, .3, 1.2) both, etoile-bat 7s ease-in-out infinite;
}
.stars--animees .stars__pleines span:nth-child(1) { animation-delay: .30s, 2.00s; }
.stars--animees .stars__pleines span:nth-child(2) { animation-delay: .42s, 2.08s; }
.stars--animees .stars__pleines span:nth-child(3) { animation-delay: .54s, 2.16s; }
.stars--animees .stars__pleines span:nth-child(4) { animation-delay: .66s, 2.24s; }
.stars--animees .stars__pleines span:nth-child(5) { animation-delay: .78s, 2.32s; }

.hero__badge { margin-bottom: 24px; }
.gbadge--grand { padding: 16px 22px 16px 18px; gap: 18px; }
.gbadge--grand .gbadge__g { width: 56px; height: 56px; }
.gbadge--grand .gbadge__g svg { width: 30px; height: 30px; }
.gbadge--grand .gbadge__note { font-size: 2.25rem; }
.gbadge--grand .stars { font-size: 1.625rem; }
.gbadge--grand .gbadge__texte { font-size: 1.0625rem; }
.gbadge--flottant { position: absolute; left: -20px; bottom: -24px; box-shadow: var(--shadow-lg); }

/* Extraits d'avis (pages Estimer et Devis) */
.extraits { margin-top: 32px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.extraits__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.extraits__titre { margin: 0; font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; color: var(--indigo); }
.extraits__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.extrait { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); }
.extrait__g { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.extrait__g svg { width: 20px; height: 20px; }
.extrait blockquote { margin: 8px 0 10px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.extrait__auteur { margin: 0 0 8px; font-size: .9375rem; color: var(--muted) !important; }
.extrait__auteur strong { color: var(--indigo); }
.extrait a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; font-weight: 600; }
.section--compact .extraits { margin-top: 0; }

@media (max-width: 1080px) { .gbadge--flottant { left: 16px; bottom: -20px; } }
@media (max-width: 760px) {
    .extraits { padding: 24px 18px; }
    .extraits__liste { grid-template-columns: 1fr; gap: 16px; }
    .gbadge--grand { padding: 14px 16px; gap: 14px; }
    .gbadge--grand .gbadge__note { font-size: 1.875rem; }
    .gbadge--grand .stars { font-size: 1.375rem; }
}

/* Badge Google : liseré aux quatre couleurs de Google, pour qu'il soit reconnu tout de suite */
.gbadge::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%);
}
.gbadge { padding-top: 15px; }
.gbadge--grand { padding-top: 19px; }
.extraits .extraits__titre { color: var(--indigo); }
.extraits .extrait blockquote { color: var(--ink); }

/* ==========================================================================
   Pages de service (débarras maison, appartement, Diogène, curage…)
   ========================================================================== */

/* Fil d'Ariane, au-dessus du titre */
.hero--service { padding-top: 28px; }
.fil { margin-bottom: 28px; font-size: .9375rem; color: var(--muted); }
.fil ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fil li { display: inline-flex; align-items: center; gap: 10px; }
.fil li + li::before { content: "›"; color: var(--muted); }
.fil a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); }
.fil [aria-current] { font-weight: 600; color: var(--indigo); }

.hero__estimer { margin-top: 12px; }

/* Les situations du client : une carte par cas, avec une ancre */
.cas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cas__carte {
    padding: 32px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: #fff;
    scroll-margin-top: calc(var(--header-h) + 24px);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.cas__carte:hover, .cas__carte:target { border-color: transparent; box-shadow: var(--shadow-lg); }
.cas__carte:target { outline: 3px solid var(--green-access); outline-offset: 2px; }
.cas__moment {
    display: inline-block; margin: 0 0 14px; padding: 6px 14px;
    border-radius: 999px; background: var(--green-tint);
    font-size: .875rem; font-weight: 700; color: var(--green-hover);
}
.cas__carte h3 { margin-bottom: 12px; font-size: 1.5rem; }
.cas__texte { margin-bottom: 20px; color: var(--muted); }
.cas__carte .ticks--compact { margin-bottom: 0; }

/* La maison en coupe, avec ses zones numérotées */
.maison { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.maison__dessin { padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.maison__dessin svg { width: 100%; height: auto; }
.maison__sol { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.maison__mur { fill: #fff; stroke: var(--indigo); stroke-width: 3; stroke-linejoin: round; }
.maison__toit { fill: var(--indigo-tint); stroke: var(--indigo); stroke-width: 3; stroke-linejoin: round; }
.maison__annexe { fill: var(--green-tint); stroke: var(--indigo); stroke-width: 3; stroke-linejoin: round; }
.maison__soussol { fill: var(--bg-soft); stroke: var(--indigo); stroke-width: 3; stroke-dasharray: 7 6; stroke-linejoin: round; }
.maison__vitre { fill: var(--indigo-tint); stroke: var(--indigo); stroke-width: 2; }
.maison__porte { fill: var(--indigo); }
.maison__detail { fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linejoin: round; }
.maison__num circle { fill: var(--green-access); stroke: #fff; stroke-width: 3; }
.maison__num text { fill: #fff; font-family: var(--font-title); font-size: 21px; font-weight: 700; text-anchor: middle; }

.maison__zones { display: grid; gap: 20px; }
.maison__zones li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.maison__puce, .liste__num {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--green-access); color: #fff;
    font-family: var(--font-title); font-size: 1.125rem; font-weight: 700;
}
.maison__zones strong { display: block; font-family: var(--font-title); font-size: 1.1875rem; color: var(--indigo); }
.maison__zones span span, .maison__zones li > span:last-child { color: var(--muted); }

/* Services à la demande */
.options__titre { margin: 0 0 16px; font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; color: var(--indigo); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.option { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.option h3 { margin-bottom: 8px; font-size: 1.125rem; }
.option p { margin: 0; font-size: 1rem; color: var(--muted); }
.option a { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; font-weight: 600; }
.split:has(.options) { align-items: start; }

/* Prix : trois exemples côte à côte, puis l'encadré « objets de valeur » */
.px-examples--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px:has(.px-examples--3) { max-width: var(--container); }
.valeur {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
    margin-top: 24px; padding: 32px;
    border-radius: var(--radius-lg); background: var(--green-tint);
}
.valeur > div { flex: 1 1 420px; }
.valeur h3 { margin-bottom: 10px; font-size: 1.375rem; }
.valeur p { margin: 0; color: var(--ink) !important; }

/* Liste « avant notre passage » */
.liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.liste__point {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px;
    padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.liste__num { background: var(--green-tint); color: var(--green-access); }
.liste__point h3 { margin-bottom: 8px; }
.liste__point p { margin: 0; color: var(--muted); }

/* Photos et mini-vidéos */
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.media { margin: 0; }
.media img, .media video {
    width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow);
    background: var(--indigo-tint);
}
.media img { aspect-ratio: 4 / 3; object-fit: cover; }
.media video { max-height: 560px; background: #111; }
.media--ba .ba { box-shadow: var(--shadow); }
.media figcaption { margin-top: 12px; font-size: .9375rem; color: var(--muted); text-align: center; }

/* Emplacement réservé : visible uniquement en local, tant que le fichier n'est pas déposé */
.media--vide {
    display: grid; place-items: center; align-content: center; gap: 10px;
    aspect-ratio: 4 / 3; padding: 24px;
    border: 2px dashed #B9BCD6; border-radius: var(--radius-lg);
    background: #fff; text-align: center;
}
.media--vide svg { width: 40px; height: 40px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; }
.media--vide p { margin: 0; font-size: .9375rem; color: var(--muted); }
.media--vide strong { display: block; font-family: var(--font-title); font-size: 1.125rem; color: var(--indigo); }
.media--vide code { padding: 4px 10px; border-radius: 8px; background: var(--bg-soft); font-size: .8125rem; color: var(--ink); overflow-wrap: anywhere; }

/* Communes */
.communes { display: grid; gap: 28px; }
.communes h3 { margin-bottom: 14px; }

/* Renvois vers les autres pages de service */
.autres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.autre {
    position: relative; display: block; height: 100%;
    padding: 26px 64px 26px 26px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    color: var(--ink); text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.autre:hover { border-color: var(--indigo); box-shadow: var(--shadow); }
.autre strong { display: block; margin-bottom: 6px; font-family: var(--font-title); font-size: 1.25rem; color: var(--indigo); }
.autre span { color: var(--muted); }
.autre svg {
    position: absolute; right: 24px; top: 28px; width: 24px; height: 24px;
    fill: none; stroke: var(--green-access); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform .25s ease;
}
.autre:hover svg { transform: translateX(4px); }

@media (max-width: 1080px) {
    .maison { grid-template-columns: 1fr; gap: 40px; }
    .maison__dessin { max-width: 640px; }
    .px-examples--3 { grid-template-columns: 1fr; max-width: 560px; }
    .autres { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .cas, .liste, .options { grid-template-columns: 1fr; }
    .cas__carte { padding: 24px 20px; }
    .cas__carte h3 { font-size: 1.3125rem; }
    .maison__dessin { padding: 16px; }
    .valeur { padding: 24px 20px; }
    .valeur .btn { width: 100%; }
    .liste__point { padding: 20px; }
    .galerie { grid-template-columns: 1fr; }
}

/* Prix : la récupération des objets, mise en avant avant les tarifs */
.px-sous-titre { margin: 56px 0 10px; font-size: 1.5rem; }
.px-example h4, .recup__cas h4 {
    margin: 0 0 4px; font-family: var(--font-title); font-size: 1.25rem; font-weight: 700;
    line-height: 1.15; letter-spacing: -.01em; color: var(--indigo);
}
.px-example__price span { white-space: nowrap; }
.recup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.recup__cas { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.recup__detail { margin-bottom: 16px; font-size: .9375rem; }
.recup__cas dl { margin: 0 0 20px; }
.recup__cas dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.recup__cas dt { color: var(--muted); }
.recup__cas dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.recup__cas dl div:last-child dd { color: var(--green-hover); }
.recup__prix { margin: auto 0 0; font-family: var(--font-title); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--indigo) !important; }
.recup__prix span { display: block; margin-bottom: 4px; font-family: var(--font-text); font-size: .875rem; font-weight: 600; color: var(--muted); }
.recup__prix small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.recup__cas--gratuit { border: 2px solid var(--green-access); background: var(--green-tint); box-shadow: var(--shadow); }
.recup__cas--gratuit .recup__prix { color: var(--green-hover) !important; }
.recup__cas--gratuit dl div { border-top-color: #CFE6D1; }
.valeur { margin-top: 32px; }
.valeur .chips { margin: 4px 0 16px; }
.hero__sub strong { color: var(--green-hover); }

@media (max-width: 1080px) { .recup { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 760px) { .recup__cas { padding: 20px; } .px-sous-titre { margin-top: 40px; } }
.recup__plus { margin: 10px 0 0; font-weight: 600; color: var(--green-hover) !important; }
.recup__plus strong { font-family: var(--font-title); font-size: 1.25rem; color: var(--green-hover); }

/* Page appartement : engagements dans la copropriété */
.section--copro { padding-top: 0; }
.copro {
    padding: 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--indigo-tint), var(--green-tint));
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.copro .section__head { margin-bottom: 36px; }
.copro__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.copro__point { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.copro__icone {
    width: 48px; height: 48px; margin-bottom: 16px; padding: 11px;
    border-radius: 14px; background: var(--green-tint);
    fill: none; stroke: var(--green-access); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.copro__point h3 { margin-bottom: 8px; }
.copro__point p { margin: 0; color: var(--muted); }
.copro__note { margin: 28px 0 0; max-width: 820px; font-weight: 500; color: var(--indigo); }
.maison__roue { fill: var(--indigo); stroke: #fff; stroke-width: 3; }

@media (max-width: 1080px) { .copro__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } .copro { padding: 40px; } }
@media (max-width: 760px) {
    .copro { padding: 28px 18px; margin-inline: -8px; }
    .copro__liste { grid-template-columns: 1fr; gap: 14px; }
    .copro__point { padding: 20px; }
}

/* Zones d'intervention : un paragraphe par secteur, puis les villes */
.secteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.secteur { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.secteur:last-child:nth-child(odd) { grid-column: 1 / -1; }
.secteur h3 { margin-bottom: 12px; font-size: 1.375rem; }
.secteur p { margin-bottom: 20px; color: var(--muted); }
.secteur .chips li { padding: 6px 14px; font-size: .875rem; background: var(--bg-soft); }
.section__intro a { font-weight: 600; }

/* Barre d'appel fixe en bas de l'écran : téléphone uniquement */
.barre-appel { display: none; }
@media (max-width: 760px) {
    .secteurs { grid-template-columns: 1fr; }
    .secteur { padding: 24px 20px; }
    .barre-appel {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 20px rgba(35, 36, 58, .10);
    }
    .barre-appel .btn { min-height: 52px; padding: 0 12px; font-size: 1.0625rem; }
    .barre-appel .btn:hover { transform: none; }
    body:has(.barre-appel) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    /* La pastille Cookiebot (en bas à gauche) passe au-dessus de la barre d'appel, sans cacher « Appeler » */
    body:has(.barre-appel) #CookiebotWidget:not(.CookiebotWidget-open) { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
}
@media print { .barre-appel { display: none; } }

/* ==========================================================================
   Pied de page (version du 14 novembre 2026) : carte de visite, liens, garanties, identité légale
   ========================================================================== */
.pied { padding: 72px 0 0; }
.pied a { text-decoration: none; }

/* 1. Carte de visite */
.pied__carte {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center;
    padding: 44px 48px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: #fff; box-shadow: var(--shadow);
}
.pied__marque img { width: 183px; height: auto; }
.pied__marque p { margin: 18px 0 22px; font-size: 1.0625rem; color: var(--muted); }
.pied__appel { justify-self: end; text-align: left; }
.pied__statut {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 6px; font-size: .9375rem; font-weight: 600; color: var(--muted);
}
.pied__statut::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #B9BCD6; }
.pied__statut--ouvert { color: var(--green-hover); }
.pied__statut--ouvert::before { background: var(--green); box-shadow: 0 0 0 5px rgba(64, 164, 72, .18); }
.pied__tel {
    display: inline-flex; align-items: center; gap: 14px;
    min-height: 56px;
    font-family: var(--font-title); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700;
    letter-spacing: -.02em; line-height: 1; color: var(--indigo); white-space: nowrap;
}
.pied__tel:hover { color: var(--green-access); }
.pied__tel-icone {
    display: grid; place-items: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--indigo-tint); color: var(--indigo);
}
.pied__tel-icone svg { width: 22px; height: 22px; fill: currentColor; }
.pied__appel-texte { margin: 6px 0 20px; color: var(--muted); }

/* 2. Liens et coordonnées */
.pied__colonnes {
    display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 40px;
    padding-block: 56px 40px;
}
.pied__titre { margin: 0 0 14px; font-family: var(--font-title); font-size: 1.125rem; font-weight: 700; color: var(--indigo); }
.pied__titre a { color: inherit; }
.pied__titre a:hover { text-decoration: underline; }
.pied__liens a, .pied__coordonnees a {
    display: inline-flex; align-items: center; min-height: 40px;
    color: var(--muted);
}
.pied__liens a:hover, .pied__coordonnees a:hover, .pied__legal a:hover { color: var(--indigo); text-decoration: underline; }
.pied__coordonnees ul { display: grid; gap: 14px; }
.pied__coordonnees li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0; color: var(--muted); }
.pied__coordonnees address { font-style: normal; line-height: 1.6; }
.pied__coordonnees address strong { color: var(--indigo); }
.pied__coordonnees address a { min-height: 36px; font-weight: 600; color: var(--green-access); }
.pied__coordonnees li > a { min-height: 24px; overflow-wrap: anywhere; }
.pied__icone {
    width: 22px; height: 22px; margin-top: 2px;
    fill: none; stroke: var(--green-access); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* 3. Garanties */
.pied__garanties {
    display: flex; flex-wrap: wrap; gap: 10px 28px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
    font-size: .9375rem; font-weight: 500; color: var(--ink);
}
.pied__garanties li { display: inline-flex; align-items: center; gap: 8px; padding: 0; color: var(--ink); }
.pied__garanties .pied__icone { width: 18px; height: 18px; margin: 0; stroke-width: 2.6; }

/* 4. Identité légale */
.pied__legal {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
    padding-block: 22px 28px;
    border-top: 1px solid var(--line);
    font-size: .875rem; color: var(--muted);
}
.pied__legal p { margin: 0; max-width: 62em; }
.pied__legal ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.pied__legal li { padding: 0; }
.pied__legal a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--muted); }
.pied__haut .pied__icone { width: 16px; height: 16px; margin: 0; stroke: currentColor; stroke-width: 2.2; }

@media (max-width: 1080px) {
    .pied__carte { padding: 36px 32px; gap: 32px; }
    .pied__colonnes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .pied { padding-top: 48px; }
    .pied__carte { grid-template-columns: 1fr; padding: 28px 20px; }
    .pied__appel { justify-self: start; }
    .pied__appel .btn { flex: 1 1 100%; }
    .pied__colonnes { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 40px 28px; }
    .pied__coordonnees { grid-column: 1 / -1; }
    .pied__garanties { flex-direction: column; gap: 10px; }
    .pied__legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) { .pied__colonnes { grid-template-columns: 1fr; } }

/* Page Contact */
.contact-hero { padding-bottom: 24px; }
.contact-hero .hero__lead { max-width: 38em; }
.contact-section { padding-top: 24px; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact__carte {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
}
.contact__carte h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact__carte p { margin: 0 0 8px; color: var(--muted); }
.contact__carte .btn { margin-top: 8px; }
.contact__icone {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
    border-radius: 16px; background: var(--green-tint); color: var(--green-access);
}
.contact__icone svg { width: 24px; height: 24px; fill: currentColor; }
.contact__icone--trait svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__valeur {
    display: inline-flex; align-items: center; min-height: 48px;
    font-family: var(--font-title); font-size: 2rem; font-weight: 700; letter-spacing: -.02em;
    color: var(--indigo); text-decoration: none; white-space: nowrap;
}
.contact__valeur--petit { font-size: 1.3125rem; white-space: normal; overflow-wrap: anywhere; }
.contact__valeur:hover { color: var(--green-access); }
.contact-zones { margin-top: 0; background: #fff; }
.contact-zones h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.contact__note { margin: 16px 0 0; color: var(--muted); }
.contact__note strong { color: var(--indigo); }
.contact__horaires { width: 100%; max-width: 360px; margin-top: 20px; border-collapse: collapse; }
.contact__horaires th, .contact__horaires td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.contact__horaires td { text-align: right; font-weight: 700; color: var(--indigo); }
@media (max-width: 1080px) { .contact { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 760px) { .contact__carte { padding: 24px 20px; } }
.pied__coordonnees address small { display: inline-block; margin-top: 4px; font-size: .875rem; line-height: 1.45; }

/* Page Recrutement */
.postes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.poste { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.poste h3 { margin-bottom: 10px; font-size: 1.375rem; }
.poste p { margin: 0 0 16px; color: var(--muted); }
.poste__atout {
    align-self: flex-start; margin: auto 0 0 !important; padding: 6px 14px;
    border-radius: 999px; background: var(--green-tint);
    font-size: .875rem; font-weight: 700; color: var(--green-hover) !important;
}
.rec { scroll-margin-top: calc(var(--header-h) + 16px); }
.rec-etape { margin: 0; padding: 0; border: 0; min-width: 0; }
.rec-compteur { margin: 0; padding: 20px 40px 0; font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-access); }
.rec-compteur:empty { display: none; }
.rec .est-step { padding-top: 12px; }
.rec-question { margin: 32px 0 0; font-family: var(--font-title); font-size: 1.1875rem; font-weight: 700; color: var(--indigo); }
.rec-question + .est-options { margin-top: 14px; }
.rec-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-sous[hidden] { display: none; }
.rec .dv-form { margin-top: 24px; }
.rec-cv { display: inline-block; margin-left: 12px; font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }
.rec-erreur { margin: 16px 40px 0; }
.rec .est-nav [hidden] { display: none; }
.steps--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__lead strong { color: var(--indigo); }

/* Réseaux sociaux du pied de page */
.pied__reseaux { display: flex; gap: 10px; margin-top: 18px; }
.pied__reseaux a {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--indigo);
    transition: border-color .2s ease, color .2s ease;
}
.pied__reseaux a:hover { border-color: var(--indigo); color: var(--green-access); }
.pied__reseaux svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1080px) { .postes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--trois { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .postes { grid-template-columns: 1fr; }
    .rec-compteur { padding: 16px 20px 0; }
    .rec-erreur { margin-inline: 20px; }
    .rec-trois { grid-template-columns: 1fr; }
    .rec .est-options:not(.est-options--row) { grid-template-columns: 1fr; }
    .rec-cv { display: block; margin: 8px 0 0; }
}

/* ==========================================================================
   Accueil : animation pilotée par le défilement (refonte du 14 novembre 2026)
   Par défaut : cinq images fixes avec leurs textes, l'une sous l'autre.
   Avec JavaScript et si les animations sont permises : la scène reste à l'écran
   et avance avec le défilement (assets/js/defile.js).
   ========================================================================== */
.defile { position: relative; background: var(--bg-soft); }
.defile__cadre, .defile__aide { display: none; }

.defile__etapes {
    display: grid; gap: 48px;
    max-width: var(--container); margin-inline: auto;
    padding: 48px 24px 72px;
}
.defile__etape {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px; align-items: center;
}
.defile__image {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.defile__titre { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3.125rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.defile__titre--mot { font-size: clamp(2.75rem, 5.4vw, 4.5rem); font-weight: 800; }
.defile__phrase { margin: 0 0 24px; font-size: 1.25rem; line-height: 1.5; color: var(--muted); max-width: 28em; }
.defile__texte .link-arrow { font-size: 1.0625rem; }

@media (max-width: 760px) {
    .defile__etape { grid-template-columns: 1fr; gap: 20px; }
    .defile__etapes { gap: 40px; padding: 28px 20px 48px; }
}

@media (prefers-reduced-motion: no-preference) {
    /* La piste : une hauteur d'écran pour la scène, le reste pour faire avancer l'animation */
    html.js .defile { height: 620vh; background: #fff; }
    html.js .defile__scene {
        position: sticky; top: var(--header-h);
        display: grid;
        height: calc(100vh - var(--header-h));
        height: calc(100svh - var(--header-h));
        overflow: hidden;
    }

    /* L'image : elle occupe toute la scène */
    html.js .defile__cadre { display: block; position: absolute; inset: 0; background: var(--bg-soft); }
    html.js .defile__fond, html.js .defile__toile {
        position: absolute; inset: 0;
        width: 100%; height: 100%; object-fit: cover;
    }
    html.js .defile__toile { opacity: 0; }
    html.js .defile__toile.is-prete { opacity: 1; }

    /* La carte de texte : claire, posée en bas à gauche de l'image */
    html.js .defile__carte {
        position: relative; z-index: 2;
        align-self: end; justify-self: start;
        width: min(580px, calc(100vw - 48px));
        margin: 0 0 40px max(24px, calc((100vw - var(--container)) / 2 + 24px));
        padding: 32px 36px 20px;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, .95);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        box-shadow: var(--shadow-lg);
    }
    html.js .defile__etapes { display: grid; gap: 0; max-width: none; margin: 0; padding: 0; }
    html.js .defile__etape {
        grid-area: 1 / 1; display: block; align-self: end;
        opacity: 0; visibility: hidden; transform: translateY(12px);
        transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
    }
    html.js .defile__etape.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
    html.js .defile__image { display: none; }
    html.js .defile__texte .eyebrow { margin-bottom: 10px; }
    html.js .defile__phrase { margin-bottom: 20px; }

    /* Ligne d'aide : « faites défiler » et le lien pour passer l'animation */
    html.js .defile__aide {
        display: flex; align-items: center; gap: 10px;
        margin: 20px 0 0; padding-top: 14px;
        border-top: 1px solid var(--line);
        font-size: .9375rem; color: var(--muted);
    }
    html.js .defile__aide a { margin-left: auto; font-weight: 600; }
    .defile__souris {
        position: relative; flex-shrink: 0;
        width: 20px; height: 30px;
        border: 2px solid var(--muted); border-radius: 12px;
    }
    .defile__souris::after {
        content: ""; position: absolute; left: 50%; top: 5px;
        width: 4px; height: 7px; margin-left: -2px;
        border-radius: 2px; background: var(--green-access);
        animation: defile-molette 1.6s ease-in-out infinite;
    }
    @keyframes defile-molette {
        0% { transform: translateY(0); opacity: 1; }
        70% { transform: translateY(9px); opacity: 0; }
        100% { transform: translateY(0); opacity: 0; }
    }

    /* Badge des avis Google, en haut à gauche de l'image */
    html.js .defile__badge {
        position: absolute; z-index: 2; top: 24px;
        left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
    }
    html.js .defile__badge .gbadge { box-shadow: var(--shadow-lg); }

    /* Points de progression, à droite */
    html.js .defile__points {
        position: absolute; z-index: 2; right: 28px; top: 50%;
        display: flex; flex-direction: column; gap: 14px;
        padding: 14px 10px; border-radius: 999px;
        background: rgba(255, 255, 255, .9); box-shadow: var(--shadow);
        transform: translateY(-50%);
    }
    html.js .defile__points li {
        width: 10px; height: 10px; border-radius: 50%;
        background: var(--line);
        transition: background-color .25s ease, transform .25s ease;
    }
    html.js .defile__points li.is-active { background: var(--green-access); transform: scale(1.5); }

    @media (max-width: 760px) {
        /* Sur téléphone : l'image entière en haut, le texte en dessous, sur fond blanc */
        html.js .defile { height: 480vh; }
        html.js .defile__scene {
            display: flex; flex-direction: column;
            height: calc(100vh - var(--header-h) - 72px);
            height: calc(100svh - var(--header-h) - 72px - env(safe-area-inset-bottom));
            /* Hauteur réelle de l'écran : suit la barre de Safari quand elle se replie (sinon un vide blanc apparaît) */
            height: calc(100dvh - var(--header-h) - 72px - env(safe-area-inset-bottom));
            background: #fff;
        }
        /* L'image prend toute la place qui reste après le texte (jusqu'au format 4/3) : sur un écran court,
           c'est elle qui rétrécit, jamais le texte ni les boutons qui sont coupés. */
        html.js .defile__cadre {
            position: relative; inset: auto;
            flex: 1 1 auto; min-height: 110px; max-height: calc(100vw * 3 / 4);
        }
        /* Le bouton d'appel fait doublon avec la barre « Appeler » fixée en bas : la photo gagne sa place */
        html.js .defile a[href^="tel:"] { display: none; }
        /* Dernière étape : « Devis gratuit » est déjà dans la barre du bas, on garde « Estimer mon prix » */
        html.js .defile__etape:last-child .btn--primary { display: none; }
        html.js .defile__carte {
            flex: none; display: flex; flex-direction: column;
            width: 100%; margin: 0; padding: 22px 20px 14px;
            border-radius: 0; background: #fff; box-shadow: none;
            -webkit-backdrop-filter: none; backdrop-filter: none;
        }
        html.js .defile__etapes { flex: 1; }
        html.js .defile__etape { align-self: start; }
        html.js .defile__aide { margin-top: 12px; }
        html.js .defile__badge { display: none; }
        html.js .defile__points {
            top: auto; right: auto; left: 50%; bottom: 10px;
            flex-direction: row; padding: 8px 12px;
            transform: translateX(-50%);
        }
        .defile__titre { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
        .defile__titre--mot { font-size: clamp(2.5rem, 12vw, 3.25rem); }
        .defile__phrase { font-size: 1.125rem; margin-bottom: 16px; }
        html.js .defile .btn--lg { min-height: 52px; padding: 0 20px; font-size: 1rem; }
    }
    /* Téléphone à l'écran court (ou barre de Safari affichée) : texte plus serré */
    @media (max-width: 760px) and (max-height: 720px) {
        html.js .defile__carte { padding: 16px 20px 10px; }
        html.js .defile__texte .eyebrow { margin-bottom: 6px; }
        .defile__titre { margin-bottom: 10px; font-size: clamp(1.5rem, 6.6vw, 2rem); }
        .defile__titre--mot { font-size: clamp(2.125rem, 10vw, 2.75rem); }
        .defile__phrase { font-size: 1.0625rem; margin-bottom: 12px; }
        html.js .defile .btn--lg { min-height: 46px; }
        html.js .defile__aide { margin-top: 8px; padding-top: 10px; }
    }
    /* Très petit écran (iPhone SE avec la barre de Safari) : la ligne d'aide laisse la place aux boutons */
    @media (max-width: 760px) and (max-height: 600px) {
        html.js .defile__aide { display: none; }
        html.js .defile__cadre { min-height: 96px; }
    }
    /* Écrans bas (ordinateur portable, téléphone couché) : une carte plus compacte */
    @media (min-width: 761px) and (max-height: 720px) {
        html.js .defile__carte { padding: 24px 28px 14px; margin-bottom: 24px; }
        .defile__titre { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
        .defile__titre--mot { font-size: clamp(2.25rem, 4vw, 3.25rem); }
    }
}

/* ==========================================================================
   Accueil : qui sommes-nous, chantiers, carrousels, bannières
   ========================================================================== */
.qui { margin-bottom: 88px; }
.qui h2 { margin-bottom: 20px; }
.qui__para { font-size: 1.125rem; color: var(--muted); }
.qui .ticks { margin-top: 28px; }
.qui__sous-titre { margin-bottom: 32px; text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.125rem); }

/* Vraies photos de chantiers */
.chantiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.chantier img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.chantier p { margin: 12px 4px 0; font-size: 1rem; font-weight: 600; color: var(--indigo); }

/* Rail : une rangée de cartes à faire défiler sur le côté (souris, doigt, clavier ou flèches) */
.rail__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; margin-bottom: 32px; }
.rail__tete > div:first-child { max-width: 720px; }
.rail__fleches { display: flex; gap: 10px; flex-shrink: 0; }
.rail__bouton {
    display: grid; place-items: center;
    width: 52px; height: 52px; padding: 0;
    border: 1.5px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--indigo); cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}
.rail__bouton:hover:not(:disabled) { border-color: var(--indigo); }
.rail__bouton:disabled { opacity: .35; cursor: default; }
.rail__bouton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.rail {
    --marge: max(24px, calc((100vw - var(--container)) / 2 + 24px));
    display: flex; gap: 20px;
    margin: 0; padding: 8px var(--marge) 28px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--marge);
    scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { flex: 0 0 auto; scroll-snap-align: start; }

.client {
    width: 300px; padding: 28px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow);
}
.client__icone {
    width: 52px; height: 52px; padding: 12px; margin-bottom: 20px;
    border-radius: 16px; background: var(--green-tint);
    fill: none; stroke: var(--green-access); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.client h3 { margin-bottom: 8px; }
.client p { margin: 0; color: var(--muted); font-size: 1rem; }

.article {
    display: flex; flex-direction: column;
    width: min(440px, 84vw); padding: 32px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: #fff;
}
.article h3 { margin-bottom: 16px; font-size: 1.375rem; }
.article p { color: var(--muted); font-size: 1rem; }
.article .link-arrow { margin-top: auto; padding-top: 8px; }
.rail--articles + .container .zones { margin-top: 40px; background: #fff; }

/* Bannières de passage à l'action */
.bannieres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.banniere { display: flex; flex-direction: column; padding: 44px 40px; border-radius: var(--radius-lg); }
.banniere--devis { background: var(--green-tint); }
.banniere--estimer { background: var(--indigo-tint); }
.banniere h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.banniere > p:not(.eyebrow) { margin-bottom: 28px; font-size: 1.125rem; color: var(--ink); }
.banniere .hero__buttons { margin-top: auto; }

@media (max-width: 1080px) {
    .chantiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bannieres { grid-template-columns: 1fr; }
    .qui { margin-bottom: 64px; }
}
@media (max-width: 760px) {
    .rail__fleches { display: none; }
    .rail { gap: 14px; }
    .client { width: 260px; padding: 24px; }
    .article { padding: 26px 22px; }
    .banniere { padding: 32px 24px; }
    .chantiers { gap: 14px; }
    .chantier p { font-size: .9375rem; margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   Hero de l'accueil, sur ordinateur : texte posé directement sur l'image
   (demande de Kader, 14 novembre 2026 : plus de carte blanche, plus de badge Google,
   pour laisser voir la transition). La lisibilité vient d'un voile dégradé,
   concentré dans le coin bas gauche : le reste de l'image reste intact.
   Sur téléphone, le texte reste sous l'image, sur fond blanc.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    html.js .defile__cadre::after {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background:
            radial-gradient(ellipse 62% 92% at 0% 100%,
                rgba(18, 19, 48, .82) 0%, rgba(18, 19, 48, .66) 34%, rgba(18, 19, 48, .30) 62%, rgba(18, 19, 48, 0) 84%);
    }
    html.js .defile__carte {
        width: min(640px, calc(100vw - 48px));
        padding: 0;
        margin-bottom: 44px;
        border-radius: 0;
        background: none;
        -webkit-backdrop-filter: none; backdrop-filter: none;
        box-shadow: none;
        color: #fff;
        text-shadow: 0 1px 2px rgba(10, 11, 30, .55), 0 2px 22px rgba(10, 11, 30, .45);
    }
    html.js .defile__titre { color: #fff; }
    html.js .defile__titre .accent { color: #9BE8A0; background: none; }
    html.js .defile__texte .eyebrow { color: #B9F0BC; }
    html.js .defile__phrase { color: #fff; font-weight: 500; }
    html.js .defile__texte .link-arrow { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
    html.js .defile__carte .btn { text-shadow: none; }
    html.js .defile__aide { border-top-color: rgba(255, 255, 255, .35); color: #fff; }
    html.js .defile__aide a { color: #fff; }
    html.js .defile__souris { border-color: #fff; }
    html.js .defile__souris::after { background: #fff; }
    html.js .defile :focus-visible { outline-color: #fff; }
}

/* --------------------------------------------------------------------------
   « Qui sommes-nous » : l'image prend la hauteur du texte (format vertical)
   et glisse légèrement au défilement, pour un effet de profondeur.
   -------------------------------------------------------------------------- */
.qui { align-items: stretch; }
.qui__visuel { display: flex; }
.qui__cadre {
    /* Le cadre lui-même ne coupe rien : la scène peut en sortir par le haut */
    position: relative; flex: 1;
    min-height: 560px;
    display: flex; align-items: flex-end; justify-content: center;
    perspective: 1200px;
}
/* La vitre : un panneau clair, un peu transparent, avec une ombre portée douce */
.qui__vitre {
    position: absolute; inset: 22% 0 0 0;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 80% at 50% 100%, rgba(43, 44, 109, .10), transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(238, 239, 248, .55));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        inset 0 -30px 60px rgba(43, 44, 109, .06),
        0 24px 48px -24px rgba(35, 36, 58, .16),
        0 8px 16px -10px rgba(35, 36, 58, .08);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    backdrop-filter: blur(10px) saturate(1.2);
    transform: rotateX(4deg);
    transform-origin: 50% 100%;
}
/* Un reflet en biais sur la vitre */
.qui__vitre::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}
/* La scène : posée au fond de la vitre, elle dépasse en haut et sur les côtés */
.qui__photo {
    position: relative; z-index: 1;
    width: 112%; max-width: none; height: auto;
    margin: 0 -6% 4%;
    filter: drop-shadow(0 6px 10px rgba(35, 36, 58, .10));
    transform: translate3d(0, calc(var(--relief, 0%) * -1.2), 0);
    will-change: transform;
}
@media (max-width: 1080px) {
    .qui__cadre { min-height: 0; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; width: 100%; }
    .qui__photo { width: 104%; margin: 0 -2% 4%; }
}
/* Les cartes des deux services ne suivent plus « Qui sommes-nous » (retirées le 14 novembre 2026) */
.qui { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Articles de référencement (refonte du 14 novembre 2026) : des cartes égales,
   une photo en tête, un texte de même longueur, la suite dépliable.
   -------------------------------------------------------------------------- */
.rail--articles { gap: 24px; padding-bottom: 36px; }
.article {
    width: min(400px, 84vw); padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .25s ease, transform .25s ease;
}
.article:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.article__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-soft); }
.article__corps { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 22px; }
.article h3 { margin-bottom: 14px; font-size: 1.3125rem; line-height: 1.2; min-height: 2.4em; }
.article p { margin-bottom: .75em; }
.article .link-arrow { margin-top: auto; padding-top: 10px; }

.article__suite { margin: 2px 0 8px; }
.article__suite summary {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px;
    font-weight: 600; color: var(--indigo); cursor: pointer;
    list-style: none;
}
.article__suite summary::-webkit-details-marker { display: none; }
.article__suite summary::after {
    content: ""; width: 9px; height: 9px; margin-top: -4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .2s ease;
}
.article__suite[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.article__suite[open] summary { margin-bottom: 6px; }
@media (max-width: 760px) {
    .article { padding: 0; }
    .article__corps { padding: 22px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { .article:hover { transform: none; } }
/* Le texte réservé aux lecteurs d'écran (« Lire la suite : titre ») est positionné en absolu :
   sans ce repère, il sortait du rail et élargissait toute la page. */
.article { position: relative; }

/* --------------------------------------------------------------------------
   Types de clients : bloc compact (retouche du 14 novembre 2026).
   Le titre à gauche et les cartes à droite reprennent la disposition du bloc
   « Qui sommes-nous » ; le filet du haut et le fond blanc le séparent de la
   section des avis, sur fond doux, qui suit.
   -------------------------------------------------------------------------- */
.pourqui { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.pourqui__inner {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
    gap: 56px; align-items: center;
}
.pourqui__tete h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.pourqui__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pourqui__carte {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--line); border-radius: 16px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pourqui__carte:hover { border-color: var(--green-access); box-shadow: var(--shadow); }
.pourqui__icone {
    flex-shrink: 0;
    width: 40px; height: 40px; padding: 9px;
    border-radius: 12px; background: var(--green-tint);
    fill: none; stroke: var(--green-access); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.pourqui__carte h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.pourqui__carte p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--muted); }

@media (max-width: 1080px) {
    .pourqui__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pourqui__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    /* Une seule rangée, à faire glisser du doigt : le bloc reste bas */
    .pourqui { padding: 40px 0 44px; }
    .pourqui__liste {
        display: flex; gap: 12px;
        /* La rangée va d'un bord de l'écran à l'autre : sa marge négative annule celle de la page (24, 18 ou 14 px) */
        --marge: 24px;
        margin-inline: calc(-1 * var(--marge)); padding: 4px var(--marge) 12px;
        overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x proximity; scroll-padding-inline: var(--marge);
        scrollbar-width: none;
    }
    .pourqui__liste::-webkit-scrollbar { display: none; }
    .pourqui__carte { flex: 0 0 258px; scroll-snap-align: start; }
}
@media (max-width: 640px) { .pourqui__liste { --marge: 18px; } }
@media (max-width: 400px) { .pourqui__liste { --marge: 14px; } }

/* --------------------------------------------------------------------------
   Avis Google : bandeau compact (retouche du 14 novembre 2026, sur le modèle
   de l'ancien site). Une ligne de résumé, puis les avis sur une seule rangée.
   -------------------------------------------------------------------------- */
.gavis { padding: 56px 0 48px; }
.gavis__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.gavis__resume {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    min-height: 48px;
    color: var(--ink); text-decoration: none;
}
.gavis__g { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.gavis__g svg { width: 22px; height: 22px; }
.gavis__mention { font-family: var(--font-title); font-size: 1.25rem; color: var(--indigo); }
.gavis__resume .stars { font-size: 1.5rem; }
.gavis__note { font-family: var(--font-title); font-size: 1.25rem; color: var(--indigo); }
.gavis__total { padding-left: 14px; border-left: 1.5px solid var(--line); font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; color: var(--indigo); }
.gavis__resume:hover .gavis__total { text-decoration: underline; }

.gavis__zone { position: relative; }
.gavis__rail {
    display: flex; gap: 40px;
    margin: 0; padding: 4px 2px 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.gavis__rail::-webkit-scrollbar { display: none; }
.gavis__carte {
    flex: 0 0 calc((100% - 120px) / 4);
    display: flex; flex-direction: column; align-items: flex-start;
    scroll-snap-align: start;
}
.gavis__auteur { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 12px; }
.gavis__initiale {
    display: grid; place-items: center; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 50%;
    font-family: var(--font-title); font-size: 1.125rem; font-weight: 700; color: #fff;
}
.gavis__nom { flex: 1; min-width: 0; font-size: .9375rem; line-height: 1.3; color: var(--muted); }
.gavis__nom strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-title); font-size: 1.0625rem; color: var(--ink); }
.gavis__source-g svg { width: 22px; height: 22px; }
.gavis__etoiles { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: 2px; line-height: 1; color: var(--star); }
.gavis__vide { color: var(--line); }
.gavis__texte { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); }
/* Quatre lignes au plus, tant que le visiteur n'a pas demandé la suite (seulement si JavaScript est actif) */
.js .gavis__texte:not(.is-ouvert) {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4;
    overflow: hidden;
}
.gavis__suite {
    min-height: 44px; margin-top: 2px; padding: 0;
    border: 0; background: none;
    font: inherit; font-size: .9375rem; font-weight: 600; color: var(--muted);
    cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
}
.gavis__suite:hover { color: var(--indigo); }

/* Flèches : de part et d'autre de la rangée, masquées quand il n'y a rien à faire défiler de ce côté */
.gavis__fleches { position: absolute; inset: 0; display: block; pointer-events: none; }
.gavis__fleches .rail__bouton {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; pointer-events: auto;
    box-shadow: var(--shadow);
}
.gavis__fleches .rail__bouton:first-child { left: -22px; }
.gavis__fleches .rail__bouton:last-child { right: -22px; }
.gavis__fleches .rail__bouton:disabled { visibility: hidden; }

.gavis__mentions { margin: 20px 0 0; font-size: .875rem; color: var(--muted); }
.gavis__mentions a { margin-left: 6px; font-weight: 600; white-space: nowrap; }

@media (max-width: 1080px) {
    .gavis__rail { gap: 32px; }
    .gavis__carte { flex-basis: calc((100% - 32px) / 2); }
    .gavis__fleches .rail__bouton:first-child { left: -8px; }
    .gavis__fleches .rail__bouton:last-child { right: -8px; }
}
@media (max-width: 760px) {
    .gavis { padding: 40px 0 36px; }
    .gavis__tete { margin-bottom: 24px; }
    .gavis__mention, .gavis__note, .gavis__total { font-size: 1.125rem; }
    .gavis__resume .stars { font-size: 1.25rem; }
    .gavis__rail { gap: 28px; }
    .gavis__carte { flex-basis: 84%; }
    .gavis__fleches { display: none; }
}
/* Même piège que pour les articles : le texte réservé aux lecteurs d'écran doit rester dans sa carte */
.gavis__carte { position: relative; }
/* Sur téléphone, le résumé tient sur une ligne : le mot « Excellent » laisse la place à la note et au nombre d'avis */
@media (max-width: 760px) { .gavis__mention { display: none; } .gavis__resume { gap: 8px 12px; } .gavis__total { padding-left: 12px; } }

/* --------------------------------------------------------------------------
   Méthode : frise compacte (retouche du 14 novembre 2026).
   Quatre étapes sur une ligne, reliées par un trait, sans cartes.
   Sur téléphone : une liste verticale serrée, le trait passe à gauche.
   -------------------------------------------------------------------------- */
.parcours { padding: 56px 0 60px; }
.parcours__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 32px; }
.parcours__tete .eyebrow { margin: 0; }
.parcours__tete h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.parcours__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.parcours__etape { position: relative; }
/* Le trait qui relie une étape à la suivante */
.parcours__etape:not(:last-child)::after {
    content: ""; position: absolute; top: 19px; left: 52px; right: -20px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--green-access), var(--line));
}
.parcours__num {
    display: grid; place-items: center;
    width: 40px; height: 40px; margin-bottom: 14px;
    border-radius: 50%;
    background: var(--green-access); color: #fff;
    font-family: var(--font-title); font-size: 1.125rem; font-weight: 700;
}
.parcours__etape h3 { margin-bottom: 6px; font-size: 1.125rem; }
.parcours__etape p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 900px) {
    .parcours { padding: 40px 0 44px; }
    .parcours__tete { margin-bottom: 24px; }
    .parcours__liste { grid-template-columns: 1fr; gap: 0; }
    .parcours__etape { display: flex; gap: 16px; padding-bottom: 20px; }
    .parcours__etape:last-child { padding-bottom: 0; }
    .parcours__num { flex-shrink: 0; width: 36px; height: 36px; margin: 0; font-size: 1rem; }
    .parcours__etape:not(:last-child)::after {
        top: 40px; bottom: 4px; left: 17px; right: auto;
        width: 2px; height: auto;
        background: linear-gradient(180deg, var(--green-access), var(--line));
    }
    .parcours__etape h3 { margin: 5px 0 4px; font-size: 1.0625rem; }
}

/* --------------------------------------------------------------------------
   Bannières de passage à l'action : version basse (retouche du 14 novembre 2026).
   -------------------------------------------------------------------------- */
.bannieres-zone { padding: 8px 0 56px; }
.bannieres { gap: 20px; }
.banniere { padding: 28px 32px; }
.banniere .eyebrow { margin-bottom: 8px; }
.banniere h2 { margin-bottom: 8px; font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.banniere > p:not(.eyebrow) { margin-bottom: 18px; font-size: 1rem; }
@media (max-width: 760px) {
    .bannieres-zone { padding: 4px 0 40px; }
    .banniere { padding: 24px 20px; }
}

/* Zones d'intervention : une seule carte (14 novembre 2026). Deux cartes côte à côte prêtaient à confusion. */
.zones__carte { margin: 0 auto; max-width: 440px; }

/* ==========================================================================
   Accueil : allègement du 15 novembre 2026.
   Constat : entre « Qui sommes-nous » et les articles, quatre blocs de petites
   colonnes de petit texte se suivaient sans titre fort ni respiration.
   Remède : moins de blocs, un vrai titre, des marges franches.
   ========================================================================== */

/* Types de clients : une rangée d'étiquettes à la fin de « Qui sommes-nous » */
.pourqui-bande {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
    margin-top: 72px; padding-top: 36px;
    border-top: 1px solid var(--line);
}
.pourqui-bande__titre {
    margin: 0;
    font-family: var(--font-text); font-size: .875rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--green-access);
}
.pourqui-bande__liste { display: flex; flex-wrap: wrap; gap: 10px; }
.pourqui-bande__liste li {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 18px 9px 13px;
    border: 1px solid var(--line); border-radius: 999px;
    background: #fff;
    font-weight: 600; color: var(--indigo);
}
.pourqui-bande__liste svg {
    width: 20px; height: 20px; flex-shrink: 0;
    fill: none; stroke: var(--green-access); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

/* Avis : la même rangée, avec plus d'air autour */
.gavis { padding: 80px 0 68px; }
.gavis__tete { margin-bottom: 40px; }
.gavis__mentions { margin-top: 28px; }

/* Méthode et passage à l'action : une section, un titre centré, la frise, les boutons, puis l'estimation */
.parcours { padding: 96px 0; }
.parcours .section__head { margin-bottom: 56px; }
.parcours__action {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    margin-top: 56px; text-align: center;
}
.parcours__action .hero__buttons { justify-content: center; }
.parcours__action p { margin: 0; font-size: 1rem; color: var(--muted); }

.estimer-bande {
    display: flex; align-items: center; justify-content: space-between; gap: 24px 48px;
    margin-top: 72px; padding: 32px 40px;
    border-radius: var(--radius-lg);
    background: var(--indigo-tint);
}
.estimer-bande .eyebrow { margin-bottom: 8px; }
.estimer-bande h3 { margin-bottom: 8px; font-size: clamp(1.375rem, 2vw, 1.625rem); }
.estimer-bande p:not(.eyebrow) { margin: 0; max-width: 40em; color: var(--ink); }
.estimer-bande .btn { flex-shrink: 0; }

/* Questions fréquentes : deux colonnes sur ordinateur, la section est deux fois moins haute */
.faq--deux { max-width: var(--container); }
.faq--deux .faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
.faq--deux .faq__item + .faq__item { margin-top: 0; }

@media (max-width: 900px) {
    .pourqui-bande { margin-top: 48px; padding-top: 28px; gap: 14px; }
    .gavis { padding: 56px 0 48px; }
    .parcours { padding: 64px 0; }
    .parcours .section__head { margin-bottom: 36px; text-align: left; margin-inline: 0; }
    .parcours__action { margin-top: 36px; align-items: stretch; }
    .parcours__action .hero__buttons { flex-direction: column; }
    .estimer-bande { flex-direction: column; align-items: flex-start; margin-top: 48px; padding: 28px 24px; }
    .estimer-bande .btn { width: 100%; }
    .faq--deux .faq__list { grid-template-columns: 1fr; }
}
/* Étiquettes des types de clients : le libellé au-dessus, les six étiquettes sur une seule ligne sur ordinateur */
.pourqui-bande { flex-direction: column; align-items: flex-start; gap: 16px; }
.pourqui-bande__liste { gap: 8px; }
.pourqui-bande__liste li { padding: 8px 15px 8px 11px; font-size: .9375rem; gap: 8px; }
.pourqui-bande__liste svg { width: 18px; height: 18px; }
/* Sur téléphone, la barre « Appeler / Devis gratuit » est déjà collée en bas de l'écran : on ne répète pas ces deux boutons sous la frise */
@media (max-width: 760px) { .parcours__action { display: none; } .estimer-bande { margin-top: 36px; } }

/* ==========================================================================
   Nouvel en-tête (15 novembre 2026)
   En haut de page : un bandeau d'informations, puis une barre de menu haute, avec un grand logo.
   Au défilement : le bandeau s'efface et la barre reprend sa taille normale, collée en haut de l'écran.
   Le menu suit les deux moments d'une transaction : « Vous vendez », « Vous achetez ».
   ========================================================================== */
:root { --bandeau-h: 44px; --entete-grand: 96px; }

/* Le bandeau fait partie de l'en-tête : avec ce « top » négatif, il sort de l'écran
   en défilant, et seule la barre du menu reste collée. Aucun saut de page. */
.site-header { top: calc(-1 * var(--bandeau-h)); background: rgba(255, 255, 255, .94); }
.site-header .container { max-width: 1320px; }

/* ---------- Bandeau d'informations ---------- */
.bandeau {
    height: var(--bandeau-h);
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    font-size: .875rem; color: var(--muted);
}
.bandeau__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.bandeau__infos { display: flex; align-items: center; gap: 26px; min-width: 0; white-space: nowrap; }
.bandeau__infos li { display: inline-flex; align-items: center; gap: 8px; }
.bandeau__infos svg {
    width: 17px; height: 17px; flex-shrink: 0;
    fill: none; stroke: var(--green-access); stroke-width: 1.9;
    stroke-linecap: round; stroke-linejoin: round;
}
.bandeau__statut { font-weight: 600; color: var(--indigo); }
.bandeau__point { width: 9px; height: 9px; border-radius: 50%; background: #A9ABBF; }
.bandeau__statut--ouvert .bandeau__point { background: var(--green); animation: bandeau-pouls 2.4s ease-out infinite; }
@keyframes bandeau-pouls {
    0% { box-shadow: 0 0 0 0 rgba(64, 164, 72, .55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(64, 164, 72, 0); }
}
.bandeau__liens { display: flex; gap: 24px; flex-shrink: 0; }
.bandeau__liens a { display: inline-flex; align-items: center; min-height: var(--bandeau-h); font-weight: 600; color: var(--indigo); text-decoration: none; }
.bandeau__liens a:hover, .bandeau__liens a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Entrées du menu : un surtitre et un nom ---------- */
.nav__list { gap: 2px; }
.nav__item { position: relative; }
.nav__entree {
    display: flex; flex-direction: column; justify-content: center; gap: 1px;
    min-height: 54px; padding: 6px 14px;
    border: 0; border-radius: 14px; background: none;
    font: inherit; text-align: left; text-decoration: none; white-space: nowrap;
    color: var(--ink); cursor: pointer;
    transition: background-color .2s ease;
}
.nav__entree:hover, .nav__item.is-ouvert .nav__entree, .nav__entree.is-actif { background: var(--indigo-tint); }
.nav__sur { font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.25; color: var(--green-access); }
.nav__nom { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-title); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; color: var(--indigo); }
.nav__chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav__item.is-ouvert .nav__chevron { transform: rotate(180deg); }
.nav__secondaire { display: none; }

/* ---------- Volets : les pages de chaque service, avec une vignette ---------- */
.volet__carte { text-decoration: none; color: var(--ink); }
.volet__carte img { object-fit: cover; background: var(--bg-soft); }
.volet__carte strong { font-family: var(--font-title); font-size: 1.0625rem; color: var(--indigo); }
.volet__carte span { font-size: .875rem; line-height: 1.4; color: var(--muted); }
.volet__tout {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 48px; padding: 0 16px;
    border-radius: 12px; background: var(--green-tint);
    font-weight: 600; color: var(--green-hover); text-decoration: none;
}
.volet__tout svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.volet__tout:hover svg { transform: translateX(4px); }

/* ---------- Ordinateur : barre haute en haut de page, volets flottants ---------- */
@media (min-width: 1081px) {
    .site-header { transition: border-color .2s ease, box-shadow .2s ease, margin-bottom .25s ease; }
    .site-header__inner { min-height: var(--entete-grand); gap: 24px; transition: min-height .25s ease; }
    .logo img { width: 184px; transition: width .25s ease; }
    .phone__number { font-size: 1.5rem; transition: font-size .25s ease; }

    /* Une fois le bandeau passé : taille normale. La marge compense la hauteur perdue, la page ne bouge pas. */
    .site-header.is-stuck { margin-bottom: calc(var(--entete-grand) - var(--header-h)); }
    .site-header.is-stuck .site-header__inner { min-height: var(--header-h); }
    .site-header.is-stuck .logo img { width: 150px; }
    .site-header.is-stuck .phone__number { font-size: 1.375rem; }

    .volet {
        position: absolute; z-index: 5; top: calc(100% + 10px); left: -14px;
        width: max-content; padding: 14px;
        border: 1px solid var(--line); border-radius: var(--radius);
        background: #fff; box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }
    /* Passerelle invisible entre l'entrée et son volet : la souris ne « tombe » pas dans le vide */
    .volet::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
    .nav__item.is-ouvert .volet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .volet__liste { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 6px; }
    .volet__carte { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 10px; border-radius: 14px; transition: background-color .2s ease; }
    .volet__carte:hover, .volet__carte[aria-current="page"] { background: var(--bg-soft); }
    .volet__carte img { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: 10px; }
    .volet__tout { margin-top: 10px; }
}
@media (min-width: 1081px) and (max-width: 1320px) {
    .site-header__inner { gap: 16px; }
    .bandeau__infos { gap: 20px; }
    .bandeau__infos li:last-child { display: none; }
    .logo img { width: 160px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
    /* Peu de place : le téléphone se réduit à son bouton rond (le numéro reste dans le lien) */
    .phone__text { display: none; }
    .nav__entree { padding-inline: 10px; }
}

/* ---------- Tablette et téléphone : bandeau réduit au statut, menu déplié en liste ---------- */
@media (max-width: 1080px) {
    :root { --bandeau-h: 38px; }
    .bandeau { font-size: .8125rem; }
    .bandeau__inner { justify-content: center; }
    .bandeau__infos .bandeau__detail, .bandeau__liens { display: none; }
    .bandeau__infos { overflow: hidden; }

    .nav { max-height: calc(100vh - var(--header-h) - 12px); max-height: calc(100dvh - var(--header-h) - 12px); overflow-y: auto; overscroll-behavior: contain; padding-top: 4px; }
    .nav__list { gap: 0; }
    /* Les titres de groupe ne sont pas des boutons ici : les pages sont toujours visibles dessous */
    .nav__item--volet > .nav__entree { min-height: 0; padding: 16px 14px 6px; background: none; pointer-events: none; }
    .nav__chevron { display: none; }
    .volet__liste { display: grid; gap: 2px; }
    .volet__carte {
        display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; align-items: center;
        min-height: 60px; padding: 6px 14px; border-radius: 12px;
    }
    .volet__carte[aria-current="page"] { background: var(--indigo-tint); }
    .volet__carte img { grid-row: span 2; width: 60px; height: 45px; border-radius: 8px; }
    .volet__carte strong { align-self: end; line-height: 1.2; }
    .volet__carte span { align-self: start; }
    .volet__tout { margin: 6px 14px 0; }
    a.nav__entree { margin-top: 10px; padding: 12px 14px; border-top: 1px solid var(--line); border-radius: 0; }
    a.nav__entree:hover, a.nav__entree.is-actif { background: none; }
    .nav__secondaire { display: block; }
    .nav__secondaire a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; font-weight: 600; color: var(--indigo); text-decoration: none; }
    .nav__cta-mobile { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .bandeau__statut--ouvert .bandeau__point { animation: none; }
    .site-header, .site-header__inner, .logo img, .phone__number, .volet { transition: none; }
}

/* ---------- Accueil : en haut de page, l'en-tête est plus haut que la normale.
   Le texte du hero remonte d'autant (valeur calculée par defile.js), pour ne pas être coupé en bas de l'écran. ---------- */
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    html.js .defile__carte { margin-bottom: calc(44px + var(--decalage, 0px)); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
    html.js .defile__carte { padding-bottom: calc(14px + var(--decalage, 0px)); }
}

/* ==========================================================================
   Pages de service ajoutées le 15 novembre 2026 (Diogène, curage, piliers)
   ========================================================================== */

/* Deux vraies photos, avant et après, prises sous des angles différents */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.duo--empile { grid-template-columns: 1fr; }
.duo__photo { position: relative; margin: 0; }
.duo__photo img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--bg-soft);
}
.duo--empile .duo__photo img { aspect-ratio: 16 / 10; }
.duo__etiquette {
    position: absolute; left: 14px; top: 14px;
    padding: 6px 14px; border-radius: 999px;
    font-size: .875rem; font-weight: 700; letter-spacing: .02em;
    background: rgba(255, 255, 255, .94); color: var(--indigo);
    box-shadow: var(--shadow);
}
.duo__etiquette--apres { background: var(--green-access); color: #fff; }
.media .duo .duo__photo img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Prix détaillé : les lignes de tarif */
.px-lignes { display: grid; gap: 0; margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.px-lignes li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; }
.px-lignes li + li { border-top: 1px solid var(--line); }
.px-lignes span { color: var(--muted); font-size: 1rem; }
.px-lignes strong { display: block; font-family: var(--font-title); font-size: 1.0625rem; color: var(--indigo); }
.px-lignes b { flex-shrink: 0; font-family: var(--font-title); font-size: 1.125rem; color: var(--green-access); white-space: nowrap; text-align: right; }
.px-example h4 { margin: 0 0 4px; font-family: var(--font-title); font-size: 1.25rem; color: var(--indigo); }

/* Prix sur devis : ce qui le compose */
.facteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-bottom: 20px; }
.facteur { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facteur__num {
    display: grid; place-items: center; flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--green-tint); color: var(--green-access);
    font-family: var(--font-title); font-weight: 700;
}
.facteur h3 { margin-bottom: 6px; font-size: 1.125rem; }
.facteur p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Page pilier : une carte illustrée par page du service */
.sous-pages { display: grid; gap: 24px; }
.sous-pages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sous-pages--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sous-page {
    display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: #fff; overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}
.sous-page:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sous-page__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-soft); }
.sous-page__corps { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.sous-page h3 { margin-bottom: 10px; font-size: 1.5rem; }
.sous-page__corps > p:not(.cas__moment) { color: var(--muted); }
.sous-page .ticks--compact { margin-bottom: 24px; }
.sous-page .btn { margin-top: auto; align-self: flex-start; }

/* Image et texte : une illustration à la place d'une photo */
.split__visual .photo { aspect-ratio: 4 / 3; object-fit: cover; }
.maison__dessin--image { padding: 0; overflow: hidden; background: none; }
.maison__dessin--image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 1080px) {
    .sous-pages--3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .sous-pages--2 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 760px) {
    .facteurs { grid-template-columns: 1fr; }
    .px-lignes li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px; }
    .px-lignes b { text-align: left; }
    .duo { gap: 8px; }
    .duo__etiquette { left: 10px; top: 10px; padding: 4px 11px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { .sous-page:hover { transform: none; } }

/* ===== Pages pilier (nuit du 15 novembre 2026) ===== */
/* Bloc image et texte : image à droite sur grand écran */
.split--image-droite .split__visual { order: 2; }
.split__text .link-arrow { margin-top: 20px; }
/* Ancres : la cible ne passe pas sous l'en-tête fixe */
.sous-page[id], .secteur[id], main section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Cartes illustrées : 4 ou 6 cartes (page Démolition intérieure) */
.sous-pages--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sous-pages--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sous-pages--6 .sous-page h3 { font-size: 1.3125rem; }
.sous-pages--6 .sous-page .ticks--compact:last-child { margin-bottom: 0; }
@media (max-width: 1080px) {
    .sous-pages--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .sous-pages--6, .sous-pages--4 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ===== Pages légales et page d'erreur (nuit du 15 novembre 2026) ===== */
.legal > * { max-width: 820px; }   /* texte étroit, aligné à gauche comme le titre de la page */
.legal h2 { margin: 44px 0 14px; font-size: 1.625rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 24px 0 6px; font-size: 1.125rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { font-weight: 600; }
.legal strong { color: var(--indigo); }
.legal__manque { padding: 12px 16px; border: 1px dashed #C98A00; border-radius: var(--radius); background: #FFF8E5; color: #7A5200; }
.legal__date { margin-top: 36px; font-size: .9375rem; }
.erreur { text-align: center; }
.erreur .hero__title { margin-inline: auto; }
.erreur .hero__lead { max-width: 620px; margin-inline: auto; }
.erreur .hero__buttons { justify-content: center; margin-top: 28px; }
.erreur__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; list-style: none; padding: 0; }
.erreur__liens a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--indigo); }
.erreur__liens a:hover { border-color: var(--green-access); }
/* Lien sous une carte « situation » (vers la page qui traite ce cas en détail) */
.cas__lien { margin-top: 18px; }

/* ===== Fenêtre « Nous vous rappelons » (15 novembre 2026) : règles d'affichage dans assets/js/rappel.js ===== */
.rappel { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.rappel[hidden] { display: none; }
.rappel__fond { position: absolute; inset: 0; background: rgba(35, 36, 58, .5); opacity: 0; transition: opacity .25s ease; }
.rappel__boite {
    position: relative; width: min(100%, 460px); max-height: calc(100dvh - 40px); overflow-y: auto;
    padding: 32px 34px 20px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(18px); transition: opacity .25s ease, transform .25s ease;
}
.rappel__boite:focus { outline: none; }
.rappel.is-ouverte .rappel__fond { opacity: 1; }
.rappel.is-ouverte .rappel__boite { opacity: 1; transform: none; }
.rappel__croix {
    position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--indigo); cursor: pointer;
}
.rappel__croix:hover { background: var(--indigo-tint); }
.rappel__croix svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.rappel .eyebrow { margin-bottom: 8px; padding-right: 48px; }
.rappel__titre { margin-bottom: 10px; padding-right: 36px; font-size: 1.75rem; line-height: 1.15; }
.rappel__titre .accent { display: block; width: fit-content; }   /* « Nous vous rappelons. » sur sa propre ligne */
.rappel__texte { margin-bottom: 18px; font-size: 1.0625rem; color: var(--muted); }
.rappel__form { display: grid; gap: 14px; }
.rappel__form .dv-field input, .rappel__form .dv-field select { font-size: 1.125rem; }   /* 18 px : lisible, et pas de zoom automatique sur iPhone */
.rappel__envoyer { width: 100%; margin-top: 4px; }
.rappel__delai { margin: 12px 0 0; text-align: center; font-weight: 600; color: var(--green-access); }
.rappel__autres { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.rappel__autres a { margin-left: 4px; font-family: var(--font-title); font-size: 1.1875rem; font-weight: 700; color: var(--indigo); text-decoration: none; white-space: nowrap; }
.rappel__mention { margin: 8px 0 0; text-align: center; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.rappel__non {
    display: block; margin: 4px auto 0; padding: 10px 12px; border: 0; background: none;
    font: inherit; font-size: .9375rem; color: var(--muted); text-decoration: underline; cursor: pointer;
}
.rappel__non:hover { color: var(--indigo); }
.rappel__merci { padding: 12px 0 6px; text-align: center; }
.rappel__merci:focus { outline: none; }
.rappel__merci .rappel__titre { padding-right: 0; }
.rappel__coche { width: 64px; height: 64px; margin-bottom: 14px; fill: var(--green-tint); stroke: var(--green-access); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Téléphone : un panneau qui monte du bas de l'écran, sans recouvrir toute la page */
@media (max-width: 640px) {
    .rappel { place-items: end center; padding: 0; }
    .rappel__boite {
        width: 100%; max-height: 90dvh; padding: 28px 20px calc(18px + env(safe-area-inset-bottom));
        border-radius: 24px 24px 0 0; transform: translateY(100%); opacity: 1;
    }
    .rappel__titre { font-size: 1.5rem; }
    html.rappel-ouverte, html.rappel-ouverte body { overflow: hidden; }   /* la page ne défile pas derrière le panneau */
}
@media (prefers-reduced-motion: reduce) {
    .rappel__fond, .rappel__boite { transition: none; }
}
@media print { .rappel { display: none; } }

/* --------------------------------------------------------------------------
   Haut des pages de service : la note Google dans l'angle bas de la photo
   (15 novembre 2026, demandé par Kader : les boutons restent visibles sans défiler)
   -------------------------------------------------------------------------- */
.hero__media { position: relative; }
.hero__note {
    position: absolute; right: 16px; bottom: 16px; z-index: 3;
    pointer-events: none;
}
.hero__note .gbadge { pointer-events: auto; }
.gbadge--photo {
    padding: 10px 16px 10px 12px; gap: 12px;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(35, 36, 58, .18);
}
.gbadge--photo .gbadge__g { width: 36px; height: 36px; }
.gbadge--photo .gbadge__g svg { width: 20px; height: 20px; }
.gbadge--photo .gbadge__note { font-size: 1.25rem; }
.gbadge--photo .gbadge__texte { font-size: .875rem; }
@media (max-width: 640px) {
    .hero__note { right: 10px; bottom: 10px; }
    .gbadge--photo { padding: 8px 12px 8px 10px; gap: 10px; }
    .gbadge--photo .gbadge__fleche { display: none; }
}

/* --------------------------------------------------------------------------
   Déroulé d'un chantier en photos (bloc deroule.php, 15 novembre 2026)
   Une bande de petites photos numérotées ; elles apparaissent l'une après l'autre.
   -------------------------------------------------------------------------- */
.deroule__bande {
    --gouttiere: max(24px, calc((100vw - 1200px) / 2));
    list-style: none; margin: 8px 0 0; padding: 8px var(--gouttiere) 20px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(172px, 1fr);
    gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gouttiere);
    scrollbar-width: none;
}
.deroule__bande::-webkit-scrollbar { display: none; }
.deroule__bande:focus-visible { outline: 2px solid var(--green-access); outline-offset: 4px; }
.deroule__etape { scroll-snap-align: start; position: relative; }
/* Un trait relie les étapes, comme une frise */
.deroule__etape:not(:last-child)::after {
    content: ""; position: absolute; top: 34px; right: -18px; width: 18px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 8px);
}
.deroule__etape figure { margin: 0; }
.deroule__photo {
    position: relative; overflow: hidden;
    border-radius: var(--radius); box-shadow: var(--shadow);
    background: var(--indigo-tint);
}
.deroule__photo img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.deroule__etape:hover .deroule__photo img { transform: scale(1.1); }
.deroule__tag {
    position: absolute; left: 10px; top: 10px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 5px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px rgba(35, 36, 58, .16);
    font-size: .8125rem; font-weight: 700; color: var(--indigo);
}
.deroule__tag b {
    display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: var(--green-access); color: #fff; font-size: .75rem;
}
.deroule__etape figcaption { margin-top: 12px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.deroule__note { margin: 4px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }

/* Apparition l'une après l'autre (le rang décale chaque photo) */
.deroule__etape.reveal { transition-delay: calc(var(--rang, 0) * 120ms); }
.deroule__etape.reveal.is-visible .deroule__photo img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
    .deroule__etape.reveal { transition-delay: 0s; }
    .deroule__photo img, .deroule__etape:hover .deroule__photo img { transform: none; transition: none; }
}
@media (max-width: 640px) {
    .deroule__bande { --gouttiere: 18px; grid-auto-columns: 78%; gap: 14px; }
    .deroule__etape:not(:last-child)::after { display: none; }
}
@media (min-width: 1100px) {
    .deroule__tag { font-size: .75rem; padding-right: 10px; }
    .deroule__etape figcaption { font-size: .875rem; }
}

/* Note Google en haut à gauche, pour une photo dont le bas est occupé (page appartement) */
.hero__note--haut-gauche { right: auto; bottom: auto; left: 16px; top: 16px; }
@media (max-width: 640px) { .hero__note--haut-gauche { left: 10px; top: 10px; } }

/* Bloc copropriété avec une vraie photo à droite (page appartement, 15 novembre 2026) */
.copro--photo {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    grid-template-areas: "tete photo" "liste photo" "note photo";
    column-gap: 44px; align-items: start;
}
.copro--photo .section__head { grid-area: tete; }
.copro--photo .copro__liste { grid-area: liste; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.copro--photo .copro__note { grid-area: note; }
.copro__photo { grid-area: photo; margin: 0; position: sticky; top: calc(var(--header-h, 80px) + 24px); }
.copro__photo img {
    display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.copro__photo figcaption { margin-top: 12px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 1080px) {
    .copro--photo { grid-template-columns: 1fr; grid-template-areas: "tete" "photo" "liste" "note"; }
    .copro__photo { position: static; max-width: 420px; margin: 0 auto 28px; }
}
@media (max-width: 760px) { .copro--photo .copro__liste { grid-template-columns: 1fr; } }

/* Déroulé à 7 étapes (page appartement) : les vignettes se resserrent pour tenir sur une ligne */
@media (min-width: 1100px) {
    .deroule__bande:has(> li:nth-child(7)) { grid-auto-columns: minmax(148px, 1fr); gap: 14px; }
    .deroule__bande:has(> li:nth-child(7)) .deroule__etape:not(:last-child)::after { right: -14px; width: 14px; }
}

/* Vidéo verticale dans un bloc image + texte (page Curage) : cadre à la taille de la vidéo, sans bandes noires */
.split__visual .media--video { display: flex; flex-direction: column; align-items: center; }
.split__visual .media--video video {
    width: auto; max-width: 100%; height: min(560px, 70vh); aspect-ratio: 9 / 16;
    object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--indigo-tint);
}

/* Recrutement : pas d'appel, premier contact par écrit */
.rec-pas-appel {
    max-width: 640px; margin: 20px 0 0; padding: 14px 18px;
    border-left: 4px solid var(--green-access); border-radius: 10px;
    background: #fff; box-shadow: var(--shadow);
    font-size: 1rem; line-height: 1.5;
}
