/* Ajustements communs chargés après les styles propres à chaque page. */
:root { --green-dark: var(--green); }
.contact-hero h1 span, .contact-kicker { color: var(--green); }
html { scroll-padding-top: 88px; }
html, body { overflow-x: clip; }
a, button, input, textarea { -webkit-tap-highlight-color: rgba(135,191,66,.2); }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid #426c1d; outline-offset: 4px; }
.site-header :focus-visible { outline-color: #b6e47e; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 1300; padding: 14px; color: #111; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.mobile-actions { display: none; }
.contact-direct { margin: 0 0 26px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-direct a { font-weight: 700; }
.contact-direct a[href^="tel:"] { white-space: nowrap; }
.contact-form .contact-grid > label { margin-top: 0; }
.contact-form input, .contact-form textarea { font-size: 16px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #626868; }
.contact-feedback { line-height: 1.6; }
.contact-feedback a { display: inline-block; padding-block: 8px; font-weight: 700; text-underline-offset: 3px; }
.contact-hint { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.contact-form label span { font-size: 14px; line-height: 1.6; }
.contact-security { font-size: 8px; line-height: 1.15; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.contact-submit { min-height: 48px; font-size: 13px; }
.navhead > a { min-height: 0; }
@media (max-width: 1366px) {
    .navhead > a::after { display: none; }
}
.navhead > a { min-height: 44px; display: inline-flex; align-items: center; }
.services-grid:focus-within .service-card { opacity: 1; transform: none; }
.suppliers-box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.suppliers-box img { min-width: 0; width: 100%; height: 64px; object-fit: contain; }
.brands-grid { max-width: 1100px; margin: 0 auto; padding: 28px; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; border: 3px solid var(--green); border-radius: 18px; }
.brand-card { flex: 0 0 calc((100% - 80px) / 5); min-width: 0; min-height: 112px; display: flex; align-items: center; justify-content: center; padding: 24px; background: #fff; border-radius: 14px; box-shadow: 0 1px 6px rgba(17,24,24,.025); }
.brand-card img { width: 100%; height: 60px; object-fit: contain; }
.brand-card--dark { background: #143650; }
@media (max-width: 1000px) { .brand-card { flex-basis: calc((100% - 60px) / 4); } }
@media (max-width: 760px) {
    .hero-actions .btn-primary { display: none; }
    .hero-actions .btn-secondary { flex: 0 0 88%; width: 88%; margin-inline: auto; }
    .brands-grid { padding: 10px; gap: 8px; }
    .brand-card { flex-basis: calc((100% - 16px) / 3); min-height: 54px; padding: 6px; border-radius: 9px; }
    .brand-card img { height: 28px; }
}
.reviews-slider { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.reviews-intro { max-width: 700px; margin: 0 auto 24px; font-size: 15px; line-height: 1.7; }
.review-card { display: flex; flex-direction: column; }
.review-card h3 { margin: 0 0 16px; font-size: 15px; line-height: 1.4; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { font-size: 14px; font-weight: 500; line-height: 1.7; }
.review-source a { display: inline-block; padding-block: 10px; }
.reviews-loading { grid-column: 1 / -1; line-height: 1.6; }
.map-unavailable { display: flex; flex-direction: column; justify-content: center; padding: 28px; line-height: 1.7; }
.map-unavailable a { padding-block: 12px; font-weight: 700; }
.review-card, .legal-content, .zone-info { overflow-wrap: anywhere; }
.navdiscret a, .navdiscret span, .about-stats { color: var(--text); }
.btn-secondary:hover { color: var(--text); }
.catalog-card:hover { z-index: 2; }
.contact-kicker, .section-kicker { color: var(--green-dark); }
.services-grid:not(.is-reveal-ready) .service-card { opacity: 1; transform: none; }

@media (hover: none), (pointer: coarse) {
    .catalog-card:hover { transform: none; border-color: transparent; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
    .leaflet-container { touch-action: pan-y; }
}

@media (max-width: 1000px) {
    .reviews-slider { grid-template-columns: 1fr; max-width: 600px; }
}

@media (max-width: 760px) {
    html { scroll-padding-bottom: 88px; }
    body { padding-bottom: 0; }
    body.menu-open { overflow: hidden; }
    .site-header { min-height: 64px; padding: 8px 5%; }
    .site-header:not([data-menu-ready]) { flex-wrap: wrap; }
    .site-header:not([data-menu-ready]) .burger { display: none; }
    .site-header:not([data-menu-ready]) .navhead { position: static; width: 100%; height: auto; padding: 16px 0; opacity: 1; visibility: visible; transform: none; }
    .burger { width: 48px; min-height: 48px; padding: 4px; line-height: 1; }
    .navhead { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: 88px 6% 24px; gap: 12px; background: #111818; }
    .navhead > a, .navhead .btn-contact, .navhead .btn-contact[aria-current="page"] { display: inline-flex; align-items: center; justify-content: flex-end; align-self: flex-end; min-height: 48px; width: auto; padding: 10px 0; font-size: 16px; line-height: 1.5; }
    .navhead > a::after { top: calc(50% + 10px); bottom: auto; left: 0; right: 0; }
    .navhead .navburgerdiscret { display: flex; flex-direction: column; align-items: flex-end; gap: 0; margin-top: 12px; }
    .navburgerdiscret a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 13px; letter-spacing: .4px; }
    .mobile-actions { position: sticky; bottom: 0; z-index: 1150; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 5% calc(10px + env(safe-area-inset-bottom)); background: #111818; border-top: 1px solid #465044; }
    .mobile-actions a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px; color: #111; background: var(--green); border: 1px solid var(--green); border-radius: 24px; font-size: 15px; font-weight: 700; text-decoration: none; }
    .mobile-actions a + a { color: white; background: transparent; }
    body.menu-open .mobile-actions { visibility: hidden; }
    .btn-primary, .btn-secondary, .service-card a, .contact-submit, .services-contact-band a { min-height: 48px; padding: 12px 20px; font-size: 13px; }
    .hero-content { padding: 32px 6% 24px; max-width: 100%; }
    .hero { min-height: 0; }
    .hero::before, .hero::after { content: none; }
    .hero-media { position: relative; inset: auto; min-height: 0; width: 88%; max-width: 520px; margin: 0 auto 28px; border-radius: 18px; border-bottom: 4px solid var(--green); }
    .hero-media img { display: block; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
    .hero h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.2; }
    .hero p, .services-intro > p, .about-hero p, .contact-hero > p:last-child { font-size: 16px; line-height: 1.65; }
    .hero-actions { gap: 12px; flex-wrap: wrap; margin-top: 24px; }
    .hero-actions a { flex: 1 1 140px; }
    .services-section { padding: 52px 5%; }
    .services-grid { gap: 46px; }
    .services-grid.is-reveal-ready .service-card { opacity: 1; transform: none; transition: none; }
    .service-tool-divider.is-reveal-ready img { transform: translateY(-50%); transition: none; }
    .service-card { width: min(100%, 360px); aspect-ratio: auto; padding: 40px 24px 24px; }
    .service-card h3, .catalog-card h2, .catalog-card h3 { font-size: 15px; line-height: 1.5; letter-spacing: .5px; }
    .service-card ul, .catalog-card ul { font-size: 15px; line-height: 1.7; }
    .catalog-card-body { min-height: 0; padding: 22px; }
    .catalog-card { width: min(100%, 400px); }
    .services-intro { padding: 36px 0 30px; }
    .service-title-row { gap: 10px; }
    .service-title-row h1, .service-title-row h2 { font-size: clamp(20px, 6vw, 26px); }
    .zone-section { padding: 54px 4%; }
    .zone-panel { padding: 20px 16px; }
    .zone-intro, .zone-item strong, .zone-item span, .zone-cta span { font-size: 14px; line-height: 1.6; }
    .intervention-map, .zone-map { min-height: 320px; }
    .map-note { bottom: 36px; pointer-events: none; }
    .suppliers-section, .reviews-section { padding-left: 9%; padding-right: 9%; }
    .suppliers-box { padding: 16px; }
    .suppliers-box { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .reviews-slider { padding: 20px 16px; }
    .reviews-loading { padding: 12px 0; font-size: 15px; }
    .review-card p, .review-card strong { font-size: 15px; line-height: 1.7; }
    .review-source, .google-reviews-link { font-size: 12px; }
    .google-reviews-link { padding: 12px; }
    .about-story-text p, .about-story-text li, .about-value-card p { font-size: 15px; line-height: 1.7; }
    .about-stats span { font-size: 14px; }
    .contact-page { min-height: 0; padding: 36px 5% 48px; }
    .contact-panel { padding: 22px 16px; }
    .contact-form legend { font-size: 15px; letter-spacing: .4px; line-height: 1.5; }
    .contact-form label span { font-size: 14px; line-height: 1.6; }
    .contact-security { font-size: 8px; line-height: 1.15; white-space: nowrap; }
    .contact-form input { padding-inline: 12px; }
    .contact-form textarea { padding: 12px; min-height: 180px; }
    .contact-feedback { font-size: 15px; }
    .legal-hero { padding: 36px 5%; }
    .legal-hero h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.15; overflow-wrap: anywhere; }
    .legal-layout { width: 90%; padding: 32px 0 48px; }
    .legal-summary { grid-template-columns: 1fr; gap: 0; margin-bottom: 32px; }
    .legal-summary a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
    .legal-section, .legal-section + .legal-section { padding-left: 0; }
    .legal-number, .legal-section + .legal-section .legal-number { position: static; margin-bottom: 10px; }
    .legal-section p, .legal-section li, .legal-section dd, .legal-section dt, .legal-table > div { font-size: 15px; line-height: 1.75; }
    .legal-section a { overflow-wrap: anywhere; }
    .footer { padding: 22px 7% 0; gap: 14px; }
    .textlogofoot, .footer-contact p { font-size: 14px; line-height: 1.6; letter-spacing: .2px; }
    .logofoot { margin-left: 0; }
    .legal-eyebrow, .legal-update { font-size: 12px !important; }
    .hero-actions a { white-space: nowrap; }
    .mobile-actions:has(a:focus-visible) { outline: 2px solid var(--green); }
    body:has(.contact-form input:focus, .contact-form textarea:focus) .mobile-actions { display: none; }
    .footer .footer-contact p { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 44px; margin: 4px 0; }
    .footer .footer-contact img { width: 18px; height: 18px; }
    .footer .footer-contact a, .footer .footer-contact span { min-width: 0; overflow-wrap: anywhere; }
    .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-contact h2, .navfoot a { font-size: 14px; }
    .navfoot { gap: 0; }
    .navfoot a { display: flex; align-items: center; min-height: 44px; }
    .footer .navdiscret { flex-wrap: nowrap; overflow: visible; justify-content: center; margin-inline: -7vw; padding: 7px 2vw; width: auto; gap: 0; min-width: 0; }
    .footer .navdiscret a, .footer .navdiscret span { flex: 0 0 auto; font-size: min(8px, 1.8vw); line-height: 1.5; letter-spacing: 0; white-space: nowrap; }
    .navdiscret a { display: inline-flex; align-items: center; min-height: 32px; }
    .navdiscret a + a::before, .navdiscret span::before { content: "|"; margin: 0 min(4px, .8vw); color: #111818; }
    .navdiscret a::after { content: none; }
}

/* Footer tablette : identité, navigation et coordonnées sur une même rangée. */
@media (min-width: 761px) and (max-width: 1366px) {
    .services-grid, .about-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
    .services-grid .service-card { width: auto; max-width: none; min-width: 0; margin: 0; aspect-ratio: auto; min-height: 260px; padding: 42px 16px 24px; display: flex; flex-direction: column; align-items: stretch; text-align: left; }
    .services-grid .service-card h3 { font-size: 13px; letter-spacing: .5px; line-height: 1.5; }
    .services-grid .service-card ul { min-height: 0; padding-left: 0; list-style-position: inside; text-align: center; font-size: 13px; line-height: 1.65; }
    .services-grid .service-card a { margin-top: auto; min-height: 44px; padding: 12px 16px; font-size: 12px; }
    .about-values-grid .about-value-card { min-width: 0; padding: 26px 16px; }
    .about-values-grid .about-value-card h3 { font-size: 14px; letter-spacing: .4px; overflow-wrap: anywhere; }
    .about-values-grid .about-value-card p { font-size: 14px; line-height: 1.65; }
    .about-values-grid .about-value-icon { width: 60px; height: 60px; margin-bottom: 20px; }
    .footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.35fr); align-items: start; gap: 28px 24px; padding: 32px 4% 0; }
    .footer .mainfootlogo { grid-column: 1; grid-row: 1; width: auto; min-width: 0; }
    .footer .logofoot { margin-left: 0; }
    .footer .logofoot img { width: 145px; max-width: 100%; }
    .footer .textlogofoot { font-size: 13px; line-height: 1.6; }
    .footer .textlogofoot br { display: none; }
    .footer .navfoot { grid-column: 2; grid-row: 1; width: auto; min-width: 0; gap: 4px; }
    .footer .navfoot a { display: flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.5; letter-spacing: .3px; }
    .footer .footer-contact { grid-column: 3; grid-row: 1; width: auto; min-width: 0; }
    .footer .footer-contact h2 { margin-bottom: 10px; font-size: 13px; }
    .footer .footer-contact p { align-items: flex-start; flex-wrap: nowrap; gap: 8px; font-size: 13px; line-height: 1.6; letter-spacing: 0; }
    .footer .footer-contact img { flex: 0 0 18px; margin-top: 2px; }
    .footer .footer-contact a, .footer .footer-contact span { min-width: 0; overflow-wrap: anywhere; }
    .footer .separatorfoot, .footer .plugfoot-wrap, .footer .artisanfoot { display: none; }
    .footer .navdiscret { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; width: auto; margin: 0 -4vw; padding: 12px 4vw; gap: 8px; }
    .footer .navdiscret a, .footer .navdiscret span { font-size: 11px; line-height: 1.5; letter-spacing: .3px; }

}

/* Les deux contenus partagent la même place pour éviter tout changement de taille. */
.services-page .catalog-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 16px;
    min-height: 190px;
    padding: 24px 22px 26px;
}
.services-page .catalog-card-body h2,
.services-page .catalog-card-body h3 {
    grid-area: 1 / 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}
.services-page .catalog-card-body p,
.services-page .catalog-card-body ul {
    grid-area: 2 / 1;
    align-self: start;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition: opacity .2s ease, visibility .2s ease;
}
.services-page .catalog-card-body p {
    opacity: 0;
    visibility: hidden;
}
.services-page .catalog-card-body ul {
    opacity: 1;
    visibility: visible;
}
.services-page .catalog-card-body ul {
    padding-left: 18px;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.55;
}
.services-page .catalog-card-body li { font-weight: 400; }
.services-page .catalog-card:hover {
    transform: none;
    box-shadow: 0 16px 30px rgba(0,0,0,.1);
}
.services-page .catalog-card:hover .catalog-card-body p,
.services-page .catalog-card:focus-within .catalog-card-body p {
    opacity: 1;
    visibility: visible;
}
.services-page .catalog-card:hover .catalog-card-body ul,
.services-page .catalog-card:focus-within .catalog-card-body ul {
    opacity: 0;
    visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
    .services-grid.is-reveal-ready .service-card { opacity: 1; transform: none; }
    .service-tool-divider.is-reveal-ready img { transform: translateY(-50%); }
    .catalog-card:hover { transform: none; }
}

/* Ajustements des contenus étroits sur téléphone. */
@media (max-width: 760px) {
    .services-page .catalog-card {
        display: grid;
        grid-template-columns: 38% minmax(0, 1fr);
    }
    .services-page .catalog-photo {
        height: auto;
        min-height: 100%;
    }
    .services-page .catalog-photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .services-page .catalog-card-body {
        display: flex;
        flex-direction: column;
        min-width: 0;
        min-height: 190px;
        padding: 18px 12px;
        gap: 0;
        justify-items: center;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: left;
    }
    .services-page .catalog-card-body p,
    .services-page .catalog-card-body ul {
        text-align: left;
        width: min(100%, 220px);
        max-width: 100%;
        align-self: center;
    }
    .services-page .catalog-card-body h2,
    .services-page .catalog-card-body h3 { align-self: center; text-align: center; margin-bottom: 8px; }
    .services-page .catalog-card-body p { display: none; }
    .services-page .catalog-card-body ul {
        display: block;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .services-page .catalog-card-body ul {
        padding-left: 14px;
        list-style-position: outside;
    }
    .services-page .catalog-card-body p,
    .services-page .catalog-card-body ul {
        font-size: 11px;
    }
    .services-page .catalog-card-body li::marker { font-size: 9px; }
    .footer .navdiscret {
        grid-column: 1 / -1;
        flex-basis: auto;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        margin-left: -7vw;
        margin-right: -7vw;
        padding: 7px 1vw;
        gap: 0;
    }
    .footer .navdiscret a, .footer .navdiscret span {
        font-size: min(8px, 1.55vw);
        letter-spacing: 0;
        white-space: nowrap;
    }
    .contact-panel, .contact-form, .contact-form label,
    .contact-grid, .contact-actions, .contact-security {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    .contact-form { grid-template-columns: minmax(0, 1fr); }
    .contact-security { white-space: normal; flex: 0 1 auto; }
    .contact-security > span:last-child { min-width: 0; }
    .contact-form input, .contact-form textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
}
