/* =====================================================================
   S3D VIRTUAL 360 — CSS de base de la maquette (remplace le starter du theme)
   ---------------------------------------------------------------------
   Contrat du moteur conservé : variables --c-*, classes du layout
   (site-header, header-collapse, nav-toggle, nav-scrim, has-sub, menu-top,
   submenu, header-actions, header-cta, lang-switch, breadcrumb, footer-*,
   contact-form, form-row, form-consent, btn…).
   Les blocs de sections sont dans leurs fichiers dédiés (hero-slider.css,
   intro.css, network.css, sectors.css, benefits.css, realisations.css,
   contact.css). Les modules du moteur sont habillés dans custom.css.
   ===================================================================== */

/* --------------------------------------------------- Polices auto-hébergées */
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("../fonts/source-sans-3-var-latin.woff2") format("woff2-variations"),
        url("../fonts/source-sans-3-var-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Instrument Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}

:root {
    /* Contrat moteur */
    --c-text: #3d3d3b;
    --c-muted: #7d7d7d;
    --c-white: #fff;
    --c-bg: #ffffff;
    --c-surface: #f5f5f5;
    --c-border: #d3d3d3;
    --c-accent: #aeca32;
    --c-accent-ink: #ffffff;
    --container: 1368px;
    /* 1344 utiles + gouttières bootstrap */
    --container-max: 1440px;
    --radius: 18px;
    --radius-20: 20px;
    --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow: 0 5px 10px rgba(0, 0, 0, .1);

    /* Palette nommée de la maquette */
    --c-dark: #3d3d3b;
    --c-green: #aeca32;
    --c-teal: #7bc1a4;
    /* survol des boutons verts */
    --c-blue: #5bbbeb;
    --c-blue-deep: #1d6f98;
    --c-olive: #325200;
    --c-cream: #faf8f5;
    --c-body: #7d7d7d;
    --c-chapo: #687579;
    --c-ink-deep: #113a3c;
    --c-line: #d3d3d3;

    --font-title: "Source Sans 3", system-ui, sans-serif;
    --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --grad-logo: linear-gradient(180deg, #5bbbeb 0%, #aeca32 100%);
    --grad-network: linear-gradient(90deg, #1d6f98 10%, rgba(91, 187, 235, 0) 100%), #325200;
    --grad-footer: linear-gradient(180deg, #4c5910 0%, #0e2a37 100%);
    --grad-soft: linear-gradient(180deg, rgba(174, 202, 50, .3) 0%, rgba(174, 202, 50, 0) 100%);
    --grad-hero: linear-gradient(90deg, rgba(61, 61, 59, .85) 0%, rgba(61, 61, 59, .35) 60%, rgba(61, 61, 59, .15) 100%);

    --ease-smooth: cubic-bezier(.65, .05, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --header-h: 115px;
}

/* --------------------------------------------------- Base / reset léger */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-body);
    background: var(--c-bg);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* les animations AOS (fade-left/right) décalent les blocs hors écran avant leur entrée :
   on coupe le débordement horizontal sans créer de conteneur de défilement (sticky préservé) */
main {
    overflow-x: clip;
}

.container {
    max-width: var(--container);
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Liens : jamais de bleu ni de soulignement par défaut */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: none;
}

h1,
.h1,
h2,
.h2,
h3,
h4 {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--c-text);
    margin: 0 0 .4em;
    letter-spacing: normal;
}

h1,
.h1 {
    font-size: 3.75rem;
    line-height: 1.2;
}

h2,
.h2 {
    font-size: 3rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.375rem;
    line-height: 1.4545;
    font-weight: 700;
    color: var(--c-green);
}

h4 {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
}

/* Mot en italique serif dans les titres (« partout en France en 48h »…) */
h1 em,
.h1 em,
h2 em,
.h2 em,
.t-serif,
.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

p {
    margin: 0 0 1.5rem;
}

ul,
ol {
    margin: 0 0 1.5rem;
    padding-left: 1.3em;
}

b,
strong {
    font-weight: 700;
}

figure {
    margin: 0;
}

hr {
    border: 0;
    border-top: 1px solid var(--c-line);
    margin: 2rem 0;
}

:focus-visible {
    outline: 2px solid var(--c-green);
    outline-offset: 3px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.pos-relative {
    position: relative;
}

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

section {
    position: relative;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--c-green);
    color: #fff;
    font-weight: 700;
    transition: top .3s var(--ease-out);
}

.skip-link:focus {
    top: 12px;
}

/* --------------------------------------------------- Surtitre + titres de section */
.t-eyebrow {
    display: inline-flex;
    vertical-align: top;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.125rem;
    line-height: 20px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-green);
}

.t-eyebrow::before {
    content: "";
    flex: 0 0 14px;
    width: 14px;
    height: 20px;
    background: url("../userfiles/icons/ico-s.svg") center / contain no-repeat;
}

.t-eyebrow--light {
    color: var(--c-cream);
}

.t-eyebrow--light::before {
    background-image: url("../userfiles/icons/ico-s-green.svg");
}

.text-center .t-eyebrow,
.t-eyebrow.text-center {
    justify-content: center;
}

.sec-head {
    margin-bottom: 40px;
}

.sec-head .h1,
.sec-head h1,
.sec-head h2 {
    margin: 0;
    padding-bottom: 20px;
}

.sec-head h2,
.sec-head .h2 {
    padding-bottom: 0;
}

.chapo {
    font-size: 1.625rem;
    line-height: 1.5;
    color: var(--c-chapo);
    margin: 20px 0 0;
}

/* Texte riche (contenu éditable) */
.bloc-text {
    color: var(--c-body);
    font-size: 1rem;
    line-height: 1.5;
}

.bloc-text h2,
.bloc-text h3 {
    font-size: 1.375rem;
    line-height: 1.4545;
    font-weight: 700;
    color: var(--c-green);
    margin: 0 0 1.5rem;
}

.bloc-text p:last-child,
.bloc-text ul:last-child {
    margin-bottom: 0;
}

.bloc-text ul {
    list-style: none;
    padding-left: 0;
}

.bloc-text li {
    position: relative;
    padding-left: 18px;
    margin: 0;
}

.bloc-text li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: .65em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-green);
}

.bloc-text b,
.bloc-text strong {
    font-weight: 700;
}

.bloc-text a:not(.btn) {
    color: var(--c-green);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .5s var(--ease-out);
}

.bloc-text a:not(.btn):hover {
    color: var(--c-teal);
}

/* --------------------------------------------------- Icônes */
.ic {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: currentColor;
}

/* Pastille ronde avec flèche (boutons) */
.btn-ic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--c-green);
    color: #fff;
    overflow: hidden;
    transition: background-color .6s var(--ease-out), color .6s var(--ease-out);
}

.btn-ic .ic {
    width: 13px;
    height: 13px;
    transition: transform .7s var(--ease-smooth);
}

/* La flèche sort en haut à droite et revient par le bas à gauche */
.btn-ic .ic+.ic {
    position: absolute;
    transform: translate(-28px, 28px);
}

/* --------------------------------------------------- Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--c-green);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    line-height: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background-color .6s var(--ease-out), color .6s var(--ease-out), border-color .6s var(--ease-out);
}

.btn:link,
.btn:visited {
    color: #fff;
}

.btn:hover,
.btn:focus-visible {
    background: var(--c-teal);
    color: #fff;
}

.btn:hover .btn-ic .ic,
.btn:focus-visible .btn-ic .ic,
.link-pill:hover .btn-ic .ic,
.link-pill:focus-visible .btn-ic .ic,
.has-arrow:hover .btn-ic .ic,
.has-arrow:focus-visible .btn-ic .ic {
    transform: translate(28px, -28px);
}

.btn:hover .btn-ic .ic+.ic,
.btn:focus-visible .btn-ic .ic+.ic,
.link-pill:hover .btn-ic .ic+.ic,
.link-pill:focus-visible .btn-ic .ic+.ic,
.has-arrow:hover .btn-ic .ic+.ic,
.has-arrow:focus-visible .btn-ic .ic+.ic {
    transform: translate(0, 0);
}

/* Bouton pilule avec pastille (« Devis et contact », « Ouvrir cette visite »…) */
.btn.btn-pill {
    min-height: 67px;
    padding: 12px 12px 12px 24px;
    gap: 10px;
    font-size: 1.125rem;
    line-height: 26px;
}

.btn.btn-pill .btn-ic {
    background: var(--c-cream);
    color: var(--c-green);
}

.btn.btn-pill:hover .btn-ic,
.btn.btn-pill:focus-visible .btn-ic {
    color: var(--c-teal);
}

.btn.btn-pill--sm {
    min-height: 57px;
    padding: 7px 7px 7px 20px;
    font-size: 1.25rem;
    line-height: 28px;
    gap: 15px;
}

/* Bouton contour (header « Devis et contact ») */
.btn.btn-outline {
    background: transparent;
    border-color: var(--c-cream);
    color: #fff;
}

.btn.btn-outline:hover,
.btn.btn-outline:focus-visible {
    background: var(--c-cream);
    border-color: var(--c-cream);
    color: var(--c-green);
}

/* Lien pilule translucide (hero « Tout savoir sur le scan 3D ») */
.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 7px 7px 7px 20px;
    border-radius: 70px;
    background: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 1.25rem;
    line-height: 28px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .6s var(--ease-out);
}

.link-pill,
.link-pill:link,
.link-pill:visited,
.link-pill:hover {
    color: var(--c-cream);
}

.link-pill:hover,
.link-pill:focus-visible {
    background: var(--c-green);
}

.link-pill:hover .btn-ic,
.link-pill:focus-visible .btn-ic {
    background: var(--c-cream);
    color: var(--c-green);
}

/* Lien texte + petite pastille (« Lire l'article ») */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 1rem;
    line-height: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-text);
}

.link-more .btn-ic {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
}

.link-more .btn-ic .ic {
    width: 9px;
    height: 9px;
}

/* --------------------------------------------------- Bloc « Interventions rapides » */
.reassurance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 383px;
    max-width: 100%;
    color: var(--c-cream);
}

.reassurance-t {
    margin: 0;
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: inherit;
    text-align: center;
}

.reassurance-t em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.reassurance-list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.reassurance-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 90px;
    font-size: 1.125rem;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-green);
    text-align: center;
}

.reassurance-list li+li {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid rgba(250, 248, 245, .3);
}

.reassurance-list img {
    height: 68px;
    width: auto;
    transition: transform .9s var(--ease-out);
}

.reassurance-list li:hover img {
    transform: translateY(-6px);
}

.reassurance-list sup {
    font-size: .6em;
}

.reassurance .btn-call {
    min-height: 76px;
    padding: 12px 24px;
    gap: 10px;
    font-size: 1.125rem;
    line-height: 26px;
    font-weight: 600;
}

.reassurance .btn-call b {
    font-weight: 900;
}

.reassurance .btn-call .btn-ic {
    background: var(--c-cream);
    color: var(--c-green);
}

.reassurance .btn-call:hover .btn-ic,
.reassurance .btn-call:focus-visible .btn-ic {
    color: var(--c-teal);
}

/* Variante sur fond clair (titre gris, filets gris) */
.reassurance--light {
    color: var(--c-body);
}

.reassurance--light .reassurance-list li+li {
    border-left-color: rgba(125, 125, 125, .3);
}

/* Variante horizontale (bandeau des pages internes) */
.reassurance--row {
    flex-direction: row;
    width: auto;
    max-width: none;
    gap: 20px;
}

.reassurance--row>* {
    flex: 0 0 auto;
}

.reassurance--row .reassurance-t {
    width: 192px;
    text-align: left;
    line-height: 42px;
}

.reassurance--row .reassurance-t em {
    display: block;
    padding-left: 52px;
}

/* --------------------------------------------------- En-tête + menu */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px 24px 0;
    transition: padding .6s var(--ease-out), background-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.site-header--home {
    padding-top: 45px;
}

.site-header::before {
    /* fond dégradé du bandeau au scroll (maquette 07) */
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-network);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
    z-index: -1;
}

.site-header-in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1392px;
    min-height: 100px;
    margin: 0 auto;
    padding: 15px 20px 15px 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background-color .6s var(--ease-out), padding .6s var(--ease-out);
}

.site-header.site-scroll {
    padding-top: 0;
}

.site-header.site-scroll::before {
    opacity: 1;
    transform: none;
}

.site-header.site-scroll .site-header-in {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 15px 0 20px;
    min-height: 105px;
}

.header-rating {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 122px;
    transition: opacity .4s var(--ease-out), transform .6s var(--ease-out);
}

.header-rating img {
    display: block;
    width: 100%;
    height: auto;
}

.site-scroll .header-rating {
    opacity: 0;
    transform: translate(-50%, -20px);
    pointer-events: none;
}

.site-logo {
    display: block;
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    width: 196px;
    height: auto;
}

.site-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.site-header nav li {
    margin: 0;
}

.site-header nav a,
.menu-top {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 1rem;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: color .5s var(--ease-out);
}

.site-header nav a,
.site-header nav a:link,
.site-header nav a:visited,
.menu-top {
    color: #fff;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"],
.site-header nav .is-current>a,
.menu-top:hover,
.menu-top:focus-visible,
.has-sub.is-current>.menu-top,
.has-sub:hover>.menu-top {
    color: var(--c-green);
}

.menu-caret {
    width: 10px;
    height: 10px;
    margin-bottom: 5px;
    transition: transform .5s var(--ease-out);
}

.submenu {
    list-style: none;
    margin: 0;
}

/* Desktop : sous-menu déroulant (carte blanche de la maquette 07) */
@media (min-width: 1200px) {
    .site-header nav .has-sub {
        position: relative;
    }

    .site-header .submenu {
        position: absolute;
        top: calc(100% + 26px);
        left: -24px;
        min-width: 240px;
        padding: 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .1), 0 18px 18px rgba(0, 0, 0, .05);
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility .5s;
        z-index: 200;
    }

    .site-header .submenu::before {
        /* pont de survol entre le lien et la carte */
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -28px;
        height: 28px;
    }

    .has-sub:hover .submenu,
    .has-sub:focus-within .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .has-sub:hover .menu-caret,
    .has-sub:focus-within .menu-caret {
        transform: rotate(180deg);
    }

    .site-header .submenu a {
        display: block;
        font-size: 1rem;
        line-height: 40px;
        font-weight: 700;
        text-transform: none;
        white-space: nowrap;
    }

    .site-header .submenu a,
    .site-header .submenu a:link,
    .site-header .submenu a:visited {
        color: var(--c-dark);
    }

    .site-header .submenu a:hover,
    .site-header .submenu a:focus-visible,
    .site-header .submenu a[aria-current="page"] {
        color: var(--c-green);
    }
}

/* Actions d'en-tête (devis + téléphone + langue) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-cta.btn {
    padding: 8px 18px;
    white-space: nowrap;
}

.header-phone.btn {
    gap: 8px;
    padding: 10px 20px;
    font-size: 1.125rem;
    white-space: nowrap;
}

.header-phone .ic {
    width: 28px;
    height: 28px;
}

/* Téléphone de la barre d'en-tête : mobile uniquement (affiché en ≤ 1199, cf. responsive.css) */
.header-phone-m {
    display: none;
}

/* --------------------------------------------------- Sélecteur de langue */
.lang-switch {
    position: relative;
}

.lang-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-cream);
    font: inherit;
    font-size: 1rem;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: color .4s var(--ease-out);
}

.lang-current:hover {
    color: var(--c-green);
}

.lang-current span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.lang-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-caret {
    width: 9px;
    height: 9px;
    transition: transform .4s var(--ease-out);
}

.lang-switch.is-open .lang-caret {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    z-index: 30;
    min-width: 90px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.lang-menu[hidden] {
    display: none;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    color: var(--c-dark);
    font-weight: 700;
}

.lang-menu a:hover,
.lang-menu a.is-current {
    color: var(--c-green);
}

/* Desktop : hamburger et voile masqués, wrapper transparent */
.nav-toggle {
    display: none;
}

.header-collapse {
    display: contents;
}

.nav-scrim {
    display: none;
}

/* --------------------------------------------------- Fil d'Ariane (pages moteur) */
.breadcrumb {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 12px 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    margin: 0;
    padding: 0;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-green);
}

.breadcrumb li:not(:last-child)::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-line);
}

.breadcrumb a,
.breadcrumb a:link,
.breadcrumb a:visited {
    color: var(--c-body);
    transition: color .4s var(--ease-out);
}

.breadcrumb a:hover {
    color: var(--c-green);
}

/* --------------------------------------------------- Contenu principal (gabarit moteur) */
main>article>.lead,
.lead {
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--c-chapo);
    margin: 0 0 2rem;
}

.page-std {
    padding: 100px 0;
}

.page-std .bloc-text {
    max-width: 900px;
}

.page-banner {
    margin: 0 0 2rem;
}

.page-banner img {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Sections fournies par le moteur (zones d'intervention, FAQ, maillage) */
.zones,
.faq,
.related {
    margin-top: 60px;
}

.zones ul,
.related ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

.zones a,
.related a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 80px;
    background: var(--c-surface);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}

.zones a,
.zones a:link,
.zones a:visited,
.related a,
.related a:link,
.related a:visited {
    color: var(--c-body);
}

.zones a:hover,
.related a:hover {
    background: var(--c-green);
    color: var(--c-cream);
}

/* Liens rapides avant le footer */
.quick-access {
    max-width: var(--container);
    margin: 60px auto 0;
    padding: 0 12px;
}

.quick-access ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.quick-access a {
    font-weight: 700;
    color: var(--c-text);
}

.quick-access a:hover {
    color: var(--c-green);
}

/* --------------------------------------------------- Photos arrondies */
.photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #555;
}

.photo>img,
.photo>video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.photo:hover>img {
    transform: scale(1.04);
}

/* Logo « S » en filigrane bas-gauche */
.photo-mark::after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 63px;
    height: 90px;
    background: url("../userfiles/icons/ico-s-white.svg") center / contain no-repeat;
    pointer-events: none;
}

/* Badge circulaire « Garantie décennale · Certification ISO 9001 » */
.iso-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 208px;
    height: 208px;
    margin: -104px 0 0 -104px;
    border-radius: 50%;
    background: var(--c-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.iso-badge-ring {
    position: absolute;
    inset: 1;
    width: auto;
    height: auto;
    animation: iso-spin 18s linear infinite;
}

.iso-badge-logo {
    position: relative;
    width: 89px;
    height: auto;
}

@keyframes iso-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Bouton lecture vidéo */
.video-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.video-btn .video-play {
    width: 72px;
    height: 72px;
    opacity: .5;
    transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}

.video-btn:hover .video-play,
.video-btn:focus-visible .video-play {
    opacity: 1;
    transform: scale(1.1);
}

/* Lightbox vidéo / visite (ouverte par js) */
.media-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 42, 55, .85);
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s var(--ease-out), visibility .6s;
}

.media-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.media-modal-box {
    position: relative;
    width: min(1100px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    transform: scale(.94);
    transition: transform .8s var(--ease-out);
}

.media-modal.is-open .media-modal-box {
    transform: none;
}

.media-modal-box iframe,
.media-modal-box video,
.media-modal-box img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.media-modal-box img {
    object-fit: cover;
}

.media-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--c-cream);
    color: var(--c-dark);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}

.media-modal-close:hover {
    background: var(--c-green);
    color: #fff;
}

/* --------------------------------------------------- Pied de page */
.site-footer {
    margin: 0;
    padding: 0 48px 30px;
    color: var(--c-cream);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1344px;
    margin: 0 auto;
    border-radius: var(--radius-20);
    background: var(--grad-footer);
    overflow: hidden;
}

.footer-news {
    border-right: 1px dashed rgba(250, 248, 245, .6);
}

.footer-news-in {
    padding: 40px;
    border-bottom: 1px dashed rgba(250, 248, 245, .6);
}

.footer-news .h2 {
    margin: 10px 0 0;
    padding-bottom: 40px;
    max-width: 420px;
    color: var(--c-cream);
}

.newsletter-form {
    position: relative;
    max-width: 580px;
}

.newsletter-form input {
    width: 100%;
    height: 67px;
    padding: 0 76px 0 30px;
    border: 0;
    border-radius: 100px;
    background: var(--c-green);
    color: var(--c-ink-deep);
    font: inherit;
    font-weight: 600;
    transition: box-shadow .5s var(--ease-out);
}

.newsletter-form input::placeholder {
    color: var(--c-ink-deep);
    opacity: 1;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 248, 245, .6);
}

.newsletter-form button {
    position: absolute;
    right: 8px;
    top: 7.5px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--c-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out);
}

.newsletter-form button .ic {
    width: 20px;
    height: 20px;
}

.newsletter-form button:hover,
.newsletter-form button:focus-visible {
    background: var(--c-dark);
    color: var(--c-green);
}

.newsletter-note {
    margin: 10px 0 0;
    font-size: .875rem;
    line-height: 22px;
    font-weight: 600;
}

.footer-legal {
    padding: 40px;
    margin: 0;
    font-weight: 700;
}

.footer-legal a,
.footer-legal a:link,
.footer-legal a:visited {
    color: var(--c-cream);
    transition: color .4s var(--ease-out);
}

.footer-legal a:hover {
    color: var(--c-green);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    border-bottom: 1px dashed rgba(250, 248, 245, .6);
}

.footer-logo img {
    display: block;
    width: 201px;
    height: auto;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0 5px 0 0;
    font-weight: 700;
    line-height: 28px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.footer-contact a,
.footer-contact a:link,
.footer-contact a:visited {
    color: var(--c-cream);
    transition: color .4s var(--ease-out);
}

.footer-contact a[href^="tel:"] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-contact a:hover {
    color: var(--c-green);
}

.footer-contact .ic {
    width: 14px;
    height: 14px;
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    gap: 27px;
    padding: 64px 40px 40px;
}

.footer-col {
    padding: 0 12px;
}

.footer-col h2 {
    margin: 0 0 30px;
    font-size: 1.25rem;
    line-height: 1.33;
    font-weight: 700;
    color: var(--c-green);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin: 0;
}

.footer-nav a {
    font-weight: 700;
    line-height: 40px;
    transition: color .4s var(--ease-out);
}

.footer-nav a,
.footer-nav a:link,
.footer-nav a:visited {
    color: var(--c-cream);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"] {
    color: var(--c-green);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--c-cream);
    border-radius: 50%;
    transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}

.footer-social a,
.footer-social a:link,
.footer-social a:visited {
    color: var(--c-cream);
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background: var(--c-cream);
    color: var(--c-green);
}

.footer-social .ic {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 0 0;
    font-size: .875rem;
    font-weight: 700;
    color: var(--c-dark);
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-dark);
    transition: opacity .4s var(--ease-out);
}

.footer-bottom a:hover {
    opacity: .7;
}

.footer-bottom img {
    width: 113px;
    height: auto;
}

/* --------------------------------------------------- Formulaires : messages moteur */
.form-error {
    color: #c0392b;
    font-size: .9rem;
}

.form-alert {
    padding: .8rem 1rem;
    border-radius: 10px;
    background: #fdecea;
    color: #8a1f17;
    margin: 1rem 0;
}

.form-success {
    padding: .8rem 1rem;
    border-radius: 10px;
    background: rgba(174, 202, 50, .18);
    color: #4c5910;
    margin: 1rem 0;
}

/* --------------------------------------------------- Préchargeur */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-dark);
    transition: opacity .9s var(--ease-smooth), visibility .9s;
}

.preloader img {
    width: 70px;
    height: auto;
    animation: preload-pulse 1.4s var(--ease-smooth) infinite alternate;
}

.is-loaded .preloader {
    opacity: 0;
    visibility: hidden;
}

@keyframes preload-pulse {
    from {
        transform: scale(.9);
        opacity: .6;
    }

    to {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* --------------------------------------------------- AOS (déplacement plus marqué) */
html:not(.no-js) [data-aos=fade-up] {
    transform: translate3d(0, 50px, 0);
}

html:not(.no-js) [data-aos=fade-right] {
    transform: translate3d(-50px, 0, 0);
}

html:not(.no-js) [data-aos=fade-left] {
    transform: translate3d(50px, 0, 0);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.img-none img ,.hide-h2 h2:first-of-type{
    display: none;
}

.text-center {
    text-align: center !important;
}