.texte-blanc p {
    color: #ffffff !important;
}

.uael-rbs-toggle-sections {
    padding: 0px;
}

.ast-single-post .entry-content a,
.ast-single-post .entry-content a:hover,
.ast-single-post .entry-content a:focus,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a),
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a):hover,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a):focus {
    text-decoration: none !important;
}

/* ============================================================
   BANDEAU MOBILE CONTACT — bas de page fixe
   ============================================================ */
.vst-mobile-contact-bar {
    display: none;
}

@media (max-width: 921px) {
    body {
        padding-bottom: 62px;
    }

    .vst-mobile-contact-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        display: flex;
        gap: 6px;
        padding: 7px 8px;
        background: rgba(255, 255, 255, 0.72);
        border-top: 1px solid rgba(200, 210, 213, 0.6);
        box-shadow: 0 -4px 18px rgba(20, 30, 34, 0.13);
        backdrop-filter: blur(8px);
    }

    .vst-mobile-contact-bar__item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.32rem;
        flex: 1;
        min-height: 42px;
        padding: 0 0.5rem;
        text-decoration: none;
        color: #2f3f45;
        font-weight: 600;
        font-size: 0.75rem;
        letter-spacing: 0.02em;
        border-radius: 10px;
        background: linear-gradient(160deg, #ffffff 0%, #eef2f3 100%);
        border: 1px solid #d4dee1;
        box-shadow: 0 2px 6px rgba(20, 30, 34, 0.08);
        transition: filter 0.15s ease, transform 0.12s ease;
    }

    .vst-mobile-contact-bar__item:active {
        filter: brightness(0.92);
        transform: scale(0.97);
    }

    .vst-mobile-contact-bar__item::before {
        content: '';
        width: 16px;
        height: 16px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        flex: 0 0 16px;
    }

    .vst-mobile-contact-bar__item--phone {
        color: #ffffff;
        background: linear-gradient(135deg, #2EC4B6 0%, #26a99c 100%);
        border-color: #22998c;
        box-shadow: 0 2px 8px rgba(46, 196, 182, 0.35);
    }

    .vst-mobile-contact-bar__item--phone::before {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M6.6 10.8c1.5 3 3.9 5.4 6.9 6.9l2.3-2.3c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.7 22 2 13.3 2 2.9c0-.6.4-1 1-1h4.3c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2 2z'/></svg>");
    }

    .vst-mobile-contact-bar__item--email::before {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%232f3f45' d='M3 5h18c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2zm0 2v.5l9 5.6 9-5.6V7H3zm18 10V9.8l-8.5 5.3c-.3.2-.7.2-1 0L3 9.8V17h18z'/></svg>");
    }

    .vst-mobile-contact-bar__item--depannage {
        color: #ffffff;
        background: linear-gradient(135deg, #e8764b 0%, #e85d4a 100%);
        border-color: #d4593a;
        box-shadow: 0 2px 8px rgba(232, 118, 75, 0.35);
    }

    .vst-mobile-contact-bar__item--depannage::before {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/></svg>");
    }

    .vst-mobile-contact-bar__label {
        font-size: 0.74rem;
        line-height: 1.1;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
}

/* Animation slide-in gauche-droite pour le bouton CTA du hero */
.hero-cta-btn {
    opacity: 0;
    transform: translateY(-60px);
    animation: vst-cta-fadein-down 1.1s cubic-bezier(.77,0,.18,1) 1.1s forwards;
}

@keyframes vst-cta-fadein-down {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Curseur flèche sous l'item de menu actif et au survol */
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a,
.main-header-menu li:hover > a {
    position: relative;
}

.main-header-menu .current-menu-item > a::after,
.main-header-menu .current_page_item > a::after,
.main-header-menu li:hover > a::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg fill="%23637075" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 16l-6-6h12z"/></svg>') no-repeat center/contain;
    pointer-events: none;
}

/* Sous-menu desktop : angles arrondis + ombre type cartes Elementor */
@media (min-width: 922px) {
    .ast-desktop .main-header-menu .sub-menu {
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #dfe7ea;
        background: #ffffff;
        box-shadow: 0 12px 28px rgba(30, 40, 44, 0.08);
        width: max-content;
        min-width: 260px;
        max-width: min(92vw, 680px);
    }

    .ast-desktop .main-header-menu .sub-menu .menu-item > a {
        display: block;
        border-bottom: 1px solid #e5ecef;
        white-space: nowrap;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .ast-desktop .main-header-menu .sub-menu .menu-item:last-child > a {
        border-bottom: 0;
    }

    .ast-desktop .main-header-menu .sub-menu .menu-item > a:hover,
    .ast-desktop .main-header-menu .sub-menu .menu-item > a:focus {
        background: #f5f8f9;
    }
}
/* ============================================================
   HERO — Bouton CTA aligné description
   ============================================================ */
 .hero-cta-btn {
    display: inline-block;
    width: fit-content;
    margin-top: 1rem;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    align-self: flex-start;
    text-align: center;
}
.hero-cta-btn:hover {
    color: #fff;
}

.hero-description {
    white-space: pre-line;
}
/* ============================================================
   ANIMATION DESCRIPTION BANNIÈRE HERO (Elementor 3VST)
   ============================================================ */
/* Animation description : slide in right */

.hero-description {
    opacity: 0;
    transform: translateX(40vw);
    animation: vst-hero-slideleft 1.2s cubic-bezier(.77,0,.18,1) 0.8s forwards;
}

@keyframes vst-hero-slideleft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-title .emoji, .hero-subtitle .emoji, .hero-title [role="img"], .hero-subtitle [role="img"] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}
/* ============================================================
   ANIMATION TITRES BANNIÈRE HERO (Elementor 3VST)
   ============================================================ */
.hero-title, .hero-subtitle {
    opacity: 0;
    transform: translateY(40px);
    animation: vst-hero-fadeup 1.1s cubic-bezier(.77,0,.18,1) 0.2s forwards;
}
.hero-subtitle {
    animation-delay: 0.5s;
}
@keyframes vst-hero-fadeup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================================
   MASQUER LES TITRES DE PAGE (header Elementor universel)
   ============================================================ */
h1.page-title,
.entry-title,
.astra-title,
.elementor-page-title {
    display: none !important;
}
/*
Theme Name: 3VST Thème
Theme URI: 
Template: astra
Author: LTN
Author URI:
Version: 4.12.5.1773824265
Updated: 2026-03-18 08:57:45

*/

/* ============================================================
   VARIABLES — Charte graphique 3VST
   ============================================================ */
:root {
    --vst-primary: #637075;
    --vst-primary-dark: #4a565b;
    --vst-primary-light: #7d8d93;
    --vst-white: #ffffff;
    --vst-black: #1a1a1a;
    --vst-overlay: rgba(30, 40, 44, 0.45);
    --vst-shadow-text: 0 4px 24px rgba(0, 0, 0, 0.55);
    --vst-shadow-box: 0 4px 16px rgba(0, 0, 0, 0.15);
    --vst-radius: 6px;
    --vst-transition: 0.3s ease;

    /* Accents vifs */
    --vst-orange: #E8764B;
    --vst-teal: #2EC4B6;
    --vst-mint: #A1D4CC;
    --vst-mint-dark: #7BC2B7;
    --vst-ambre: #F0A500;
    --vst-corail: #E85D4A;
    --vst-bleu: #3A86FF;

    /* Elementor global color mapping */
    --e-global-color-vst-primary: #637075;
    --e-global-color-vst-primary-dark: #4a565b;
    --e-global-color-vst-primary-light: #7d8d93;
    --e-global-color-vst-orange: #E8764B;
    --e-global-color-vst-teal: #2EC4B6;
    --e-global-color-vst-mint: #A1D4CC;
    --e-global-color-vst-mint-dark: #7BC2B7;
    --e-global-color-vst-ambre: #F0A500;
    --e-global-color-vst-corail: #E85D4A;
    --e-global-color-vst-bleu: #3A86FF;
    --e-global-color-vst-white: #ffffff;
    --e-global-color-vst-black: #1a1a1a;
}

/* ============================================================
   RESET GLOBAL — Overflow & Touch
   ============================================================ */
html,
body {
    overflow-x: hidden;
}

.site-content {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Astra Scroll to Top — évite un décalage visuel à droite */
.ast-scroll-to-top-right,
.ast-scroll-to-top-left {
    position: fixed !important;
    bottom: clamp(12px, 2vw, 22px) !important;
    margin: 0 !important;
}

.ast-scroll-to-top-right {
    right: clamp(12px, 2vw, 22px) !important;
    left: auto !important;
}

.ast-scroll-to-top-left {
    left: clamp(12px, 2vw, 22px) !important;
    right: auto !important;
}

a,
button,
input,
select,
textarea,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

button,
.vst-btn,
.hero-cta-btn,
.elementor-widget-button .elementor-button,
.vst-mobile-contact-bar__item,
.vst-service-card li a,
.vst-footer-services__link,
.vst-service-card__cta {
    touch-action: manipulation;
}

/* ============================================================
   RESET TEXT-SHADOW — Uniquement sur h1, pas sur h2–h6
   ============================================================ */
h2,
h2.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(1.45rem, 2.8vw, 2.2rem) !important;
    line-height: 1.2;
}

h2, h3, h4, h5, h6 {
    text-shadow: none !important;
}

/* ============================================================
   TITRE DE PAGE ELEMENTOR — Bandeau couleur
   ============================================================ */
.vst-title-banner-wrap {
    margin: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(0.6rem, 1.8vw, 1rem);
}

.vst-title-banner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.vst-title-banner__inner {
    background: linear-gradient(135deg, var(--vst-primary-dark) 0%, #2f4349 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(22, 34, 38, 0.2);
    padding: clamp(1rem, 2.2vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
    text-align: center;
}

.vst-title-banner__inner .elementor-heading-title {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(1.45rem, 3.4vw, 2.4rem);
    line-height: 1.15;
}

/* ============================================================
   MASQUER LE BLOC CONTACT ELEMENTOR (data-id 05c0a4d)
   ============================================================ */
.elementor-element-05c0a4d {
    display: none !important;
}

/* ============================================================
   BANNIÈRE HÉRO — Pleine page, image + titre + overlay
   ============================================================ */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
    border-bottom-left-radius: clamp(18px, 4vw, 60px);
    border-bottom-right-radius: clamp(18px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image de fond pleine largeur */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Overlay semi-transparent */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12, 22, 27, 0.68) 0%, rgba(25, 38, 44, 0.78) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Contenu héro — layout colonne */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 3rem 2rem;
    max-width: 860px;
    width: 100%;
}

.hero-left {
    width: 100%;
    text-align: left;
}

.hero-right {
    width: 100%;
    text-align: left;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 5.5rem);
    font-weight: 700;
    color: var(--vst-white);
    margin-top: 0em;
    line-height: 1.1;
    text-shadow: var(--vst-shadow-text);
    letter-spacing: 0.02em;
}

.hero-site-title {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

/* Sous-titre héro (dans le H1) */
.hero-subtitle {
    display: block;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.8rem 0 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.03em;
}

/* Description héro */
.hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 1000px;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.01em;
}

/* Variante page d'accueil — plus grande */
.hero-wrapper--home {
    height: 95vh;
    max-height: 850px;
}

.hero-wrapper--home .hero-title {
    font-size: clamp(2.5rem, 7vw, 7rem);
}

/* Variante archives */
.hero-wrapper:not(.hero-wrapper--home) .hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* ============================================================
   BOUTONS — Charte graphique identique
   ============================================================ */

/* Bouton primaire */
.vst-btn,
.hero-cta-btn,
.ast-button,
.ast-custom-button,
.elementor-widget-button .elementor-button,
body .wp-block-button__link,
body input[type="submit"],
body input[type="button"],
body button[type="submit"],
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 45px;
    background-color: var(--vst-teal);
    color: var(--vst-white);
    cursor: pointer;
    transition: all var(--vst-transition);
    box-shadow: var(--vst-shadow-box);
}

.vst-btn:hover,
.vst-btn:focus,
.hero-cta-btn:hover,
.hero-cta-btn:focus,
.ast-button:hover,
.ast-button:focus,
.ast-custom-button:hover,
.ast-custom-button:focus,
.elementor-widget-button .elementor-button:hover,
body .wp-block-button__link:hover,
body input[type="submit"]:hover,
body input[type="button"]:hover,
body button[type="submit"]:hover,
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover {
    background-color: #26a99c;
    border-color: #26a99c;
    color: var(--vst-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Bouton outline (secondaire) */
.vst-btn--outline,
.elementor-widget-button .elementor-button.elementor-size-sm,
.vst-btn--white {
    background-color: var(--vst-teal);
    border-color: var(--vst-teal);
    color: var(--vst-white);
}

.vst-btn--outline:hover,
.vst-btn--outline:focus,
.vst-btn--white:hover,
.vst-btn--white:focus {
    background-color: #26a99c;
    border-color: #26a99c;
    color: var(--vst-white);
}

/* ============================================================
   TYPOGRAPHIE & LIENS GLOBAUX
   ============================================================ */
body {
    color: var(--vst-black);
}

a {
    color: var(--vst-primary);
    transition: color var(--vst-transition);
}

a:hover,
a:focus {
    color: var(--vst-primary-dark);
}

/* ============================================================
   HEADER ASTRA — Ombres
   ============================================================ */
#masthead,
.ast-mobile-header-wrap .ast-primary-header-bar,
.ast-header-break-point .ast-primary-header-bar {
    box-shadow: 0 10px 26px rgba(18, 30, 36, 0.14);
}

@media (min-width: 922px) {
    .main-header-bar {
        border-bottom-width: 0 !important;
    }
}

.ast-sticky-header-active #masthead,
.ast-sticky-header-active .ast-primary-header-bar {
    box-shadow: 0 12px 30px rgba(16, 26, 32, 0.18);
}

/* ============================================================
   LOGO — Hover scale
   ============================================================ */
#masthead .custom-logo-link img,
#masthead .site-logo-img img,
.site-branding .custom-logo-link img,
.ast-site-identity .custom-logo-link img {
    transition: transform var(--vst-transition), filter var(--vst-transition) !important;
    display: inline-block;
    filter:
        drop-shadow(0.5px 0 0 #ffffff)
        drop-shadow(-0.5px 0 0 #ffffff)
        drop-shadow(0 0.5px 0 #ffffff)
        drop-shadow(0 -0.5px 0 #ffffff)
        drop-shadow(0 4px 10px rgba(12, 20, 24, 0.22));
}
#masthead .custom-logo-link:hover img,
#masthead .site-logo-img:hover img,
.site-branding .custom-logo-link:hover img,
.ast-site-identity .custom-logo-link:hover img {
    transform: scale(1.03) !important;
    filter:
        drop-shadow(0.5px 0 0 #ffffff)
        drop-shadow(-0.5px 0 0 #ffffff)
        drop-shadow(0 0.5px 0 #ffffff)
        drop-shadow(0 -0.5px 0 #ffffff)
        drop-shadow(0 8px 16px rgba(12, 20, 24, 0.28));
}

/* ============================================================
   SLOGAN SOUS LE LOGO
   ============================================================ */
.site-branding .site-title,
.site-branding .ast-site-title,
.ast-site-identity .site-title,
.ast-site-identity .ast-site-title {
    margin: 0;
    line-height: 1.12;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--vst-primary-dark);
}

.site-branding .site-title a,
.site-branding .ast-site-title a,
.ast-site-identity .site-title a,
.ast-site-identity .ast-site-title a {
    color: inherit;
    text-decoration: none;
}

.vst-slogan {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--vst-primary-light);
    margin: 0.2rem 0 0;
    letter-spacing: 0.11em;
    opacity: 0.92;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .site-branding .site-title,
    .site-branding .ast-site-title,
    .ast-site-identity .site-title,
    .ast-site-identity .ast-site-title {
        font-size: 1rem;
    }

    .vst-slogan {
        font-size: 0.64rem;
        letter-spacing: 0.09em;
    }
}

/* ============================================================
   COLONNES PRESTATIONS
   ============================================================ */
.colonne-presta {
    border-radius: 10px;
    overflow: hidden;
}

body.home.vst-elementor-template-alt .choix-presta {
    --display: grid;
    --content-width: 100%;
    --width: 100%;
    --padding-left: 8px;
    --padding-right: 8px;
    --container-widget-width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    justify-content: stretch;
    align-items: stretch;
    box-sizing: border-box;
    overflow: visible;
}

body.home.vst-elementor-template-alt .choix-presta > .colonne-presta {
    --width: 100%;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    flex: initial !important;
    margin: 0;
}

body.home.vst-elementor-template-alt .choix-presta > .colonne-presta > .elementor-widget-wrap,
body.home.vst-elementor-template-alt .choix-presta > .colonne-presta > .e-con-inner,
body.home.vst-elementor-template-alt .choix-presta .elementor-widget-icon-box,
body.home.vst-elementor-template-alt .choix-presta .elementor-widget-container,
body.home.vst-elementor-template-alt .choix-presta .elementor-icon-box-wrapper {
    width: 100%;
    max-width: none;
}

@media (max-width: 1024px) {
    body.home.vst-elementor-template-alt .choix-presta {
        --display: grid;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.home.vst-elementor-template-alt .choix-presta {
        --display: grid;
        display: grid !important;
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   FOOTER — Texte blanc sur tout le footer Astra
   ============================================================ */
.site-footer,
.site-footer .ast-builder-grid-row,
.site-footer .ast-builder-layout-element,
.site-footer .ast-footer-copyright,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer .widget,
.site-footer .widget-title,
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6 {
    color: var(--vst-white) !important;
}

.site-footer a {
    color: var(--vst-white) !important;
    transition: color var(--vst-transition);
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--vst-teal) !important;
}

/* Sous-titre widget footer */
.site-footer .widget-title small {
    display: block;
    font-size: 0.75em;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 0.3rem;
}

/* ============================================================
   TOP FOOTER — Bandeau CTA avant le footer
   ============================================================ */
body.vst-page-contact .vst-top-footer {
    display: none;
}

.vst-top-footer {
    position: relative;
    background-color: var(--vst-primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 5rem 2rem;
    text-align: center;
    overflow: hidden;
}

.vst-top-footer__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 40, 44, 0.75) 0%, rgba(74, 86, 91, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.vst-top-footer__content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.vst-top-footer__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--vst-white);
    margin: 0 0 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.vst-top-footer__text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.vst-top-footer .vst-btn--white {
    padding: 16px 42px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   FOOTER — Menu services dynamique froid / chaud
   ============================================================ */
.vst-footer-services {
    background: linear-gradient(180deg, var(--vst-primary-dark) 0%, #233238 100%);
    padding: 3.5rem 1.5rem;
}

.vst-footer-services__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.vst-footer-services__header {
    text-align: center;
    margin-bottom: 2rem;
}

.vst-footer-services__title {
    margin: 0;
    color: var(--vst-white);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.15;
}

.vst-footer-services__text {
    margin: 0.75rem auto 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
}

.vst-footer-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.vst-footer-services__column {
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.vst-footer-services__column--froid {
    box-shadow: inset 0 0 0 1px rgba(46, 196, 182, 0.16);
}

.vst-footer-services__column--chaud {
    box-shadow: inset 0 0 0 1px rgba(232, 118, 75, 0.18);
}

.vst-footer-services__column-title {
    margin: 0;
    color: var(--vst-white);
    font-size: 1.3rem;
}

.vst-footer-services__column--froid .vst-footer-services__column-title {
    color: var(--vst-mint);
}

.vst-footer-services__column--chaud .vst-footer-services__column-title {
    color: #ffd3c6;
}

.vst-footer-services__column-text {
    margin: 0.45rem 0 1rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

.vst-footer-services__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.vst-footer-services__link {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.vst-footer-services__link:hover,
.vst-footer-services__link:focus {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.vst-footer-services__column--froid .vst-footer-services__link:hover,
.vst-footer-services__column--froid .vst-footer-services__link:focus {
    background: rgba(161, 212, 204, 0.12);
    border-color: rgba(46, 196, 182, 0.28);
}

.vst-footer-services__column--chaud .vst-footer-services__link:hover,
.vst-footer-services__column--chaud .vst-footer-services__link:focus {
    background: rgba(232, 118, 75, 0.13);
    border-color: rgba(232, 118, 75, 0.3);
}

.vst-footer-services__label {
    display: block;
    color: var(--vst-white);
    font-weight: 700;
    line-height: 1.3;
}

.vst-footer-services__synonyms {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.45;
}

.vst-footer-services__column--froid .vst-footer-services__synonyms {
    color: rgba(161, 212, 204, 0.88);
}

.vst-footer-services__column--chaud .vst-footer-services__synonyms {
    color: rgba(255, 211, 198, 0.88);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablette */
@media (max-width: 1024px) {
    .hero-wrapper {
        margin-bottom: 2rem;
    }

    .hero-content {
        padding-top: 5rem;
    }

    #masthead .custom-logo-link img,
    #masthead .site-logo-img img {
        max-width: 150px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-wrapper {
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding-top: 6rem;
    }

    .vst-top-footer {
        padding: 3rem 1.5rem;
        background-attachment: scroll;
    }

    .vst-footer-services {
        padding: 2.6rem 1.2rem;
    }

    .vst-footer-services__grid {
        grid-template-columns: 1fr;
    }

    .vst-top-footer__title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .vst-top-footer .vst-btn--white {
        padding: 12px 32px;
        font-size: 0.9rem;
    }

    .hero-wrapper {
        height: 50vh;
        min-height: 300px;
    }

    .hero-wrapper--home {
        height: 95vh;
        max-height: 500px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .hero-wrapper--home .hero-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 3vw, 1.1rem);
    }

    .hero-content {
        padding: 1.5rem;
        padding-top: 8rem;
        align-items: center;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        text-align: center;
    }

    .hero-cta-btn {
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    .vst-btn,
    .hero-cta-btn,
    .ast-button,
    .ast-custom-button,
    .elementor-widget-button .elementor-button,
    body .wp-block-button__link,
    body input[type="submit"],
    body input[type="button"],
    body button[type="submit"],
    body .woocommerce a.button,
    body .woocommerce button.button,
    body .woocommerce input.button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* ============================================================
   EN-TÊTE ASTRA — Bouton centré
   ============================================================ */
.ast-builder-button-wrap {
    text-align: center;
}

.ast-builder-button-wrap .ast-custom-button {
    transition: transform 0.25s cubic-bezier(.77,0,.18,1);
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    background-color: var(--vst-teal) !important;
    border-color: var(--vst-teal) !important;
    color: #ffffff !important;
}

.ast-builder-button-wrap .ast-custom-button:hover {
    background-color: #24a89c !important;
    border-color: #24a89c !important;
    color: #ffffff !important;
    transform: scale(1.04);
}

/* Empêche le retour à la ligne du libellé du bouton */
.ast-builder-button-wrap .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button * {
    white-space: nowrap;
}

/* Masque le bouton header sur mobile / largeur trop petite */
@media (max-width: 921px) {
    .ast-builder-button-wrap {
        display: none !important;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-header-break-point .ast-primary-header-bar {
        position: relative;
        min-height: 64px;
        padding-left: 56px;
        padding-right: 56px;
    }

    /* Centre le logo Astra en mobile (verrouille) */
    .ast-mobile-header-wrap .ast-primary-header-bar .custom-logo-link,
    .ast-header-break-point .ast-primary-header-bar .custom-logo-link {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 25;
        line-height: 1;
    }

    .ast-mobile-header-wrap .custom-logo-link img,
    .ast-header-break-point .custom-logo-link img {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ast-mobile-header-wrap .main-header-menu-toggle,
    .ast-header-break-point .main-header-menu-toggle {
        position: absolute;
        left: auto;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }
}

/* ============================================================
   PAGE CONTACT — Design unifié
   ============================================================ */

/* Container principal contact */
.page-template-default.page .entry-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Titres Elementor sur la page contact */
body.page .elementor-heading-title {
    color: var(--vst-primary-dark);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.elementor-widget-heading h2.elementor-heading-title {
    color: #ffffff !important;
    text-shadow: 0 0 4px rgba(139, 67, 99, 0.4), 0 0 7px #000000 !important;
}

body.page .elementor-widget-heading h5.elementor-heading-title {
    font-size: 1.4rem;
    color: var(--vst-primary-dark);
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 0.6rem;
}

body.page .elementor-widget-heading h5.elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--vst-primary);
    border-radius: 2px;
}

/* Formulaires — WPForms, Elementor Forms, CF7 */
.wpforms-container,
.elementor-form,
.wpcf7-form {
    background: var(--vst-white);
    padding: 2.5rem;
    border-radius: var(--vst-radius);
    box-shadow: var(--vst-shadow-box);
}

/* ============================================================
   ACCUEIL — Blocs services (Particulier / Pro et tertiaire)
   ============================================================ */
.vst-services-home {
    margin: 0;
}


.vst-services-home__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.vst-services-home__header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.vst-services-home__header h2 {
    margin: 0;
    color: var(--vst-primary-dark);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.vst-services-home__header p {
    margin: 0.8rem auto 0;
    max-width: 760px;
    color: #4f5b60;
}

.vst-services-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.8rem);
    width: 100%;
}

.vst-service-card {
    background: #ffffff;
    border: 1px solid #dfe7ea;
    border-radius: 16px;
    padding: clamp(1.1rem, 2.5vw, 1.8rem);
    box-shadow: 0 12px 28px rgba(30, 40, 44, 0.08);
}

.vst-service-card h3 {
    margin: 0;
    color: var(--vst-primary-dark);
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.vst-service-card p {
    margin: 0.65rem 0 1rem;
    color: #5a676c;
}

.vst-service-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.vst-service-card li a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
    color: #253237;
    background: #f5f8f9;
    border: 1px solid #e5ecef;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    min-height: 44px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vst-service-card li a img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 36px;
    box-shadow: 0 4px 10px rgba(26, 40, 48, 0.2);
    border: 2px solid #ffffff;
}

.vst-service-card li a span {
    display: block;
    line-height: 1.35;
}

.vst-service-card__item-title {
    display: block;
    font-weight: 600;
}

.vst-service-card__item-meta {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #5f6b70;
}

.vst-service-card--particulier li a,
.vst-service-card--pro-tertiaire li a,
.vst-service-card--froid li a,
.vst-service-card--chaud li a {
    background: #f5f8f9;
}

.vst-service-card--particulier li a:hover,
.vst-service-card--froid li a:hover {
    background: var(--vst-mint-dark);
    border-color: var(--vst-mint-dark);
    box-shadow: 0 8px 18px rgba(123, 194, 183, 0.3);
    color: white;
}

.vst-service-card--pro-tertiaire li a:hover,
.vst-service-card--chaud li a:hover {
    background: var(--vst-orange);
    border-color: var(--vst-orange);
    box-shadow: 0 8px 18px rgba(232, 118, 75, 0.28);
    color: white;
}

.vst-service-card--froid li a:hover .vst-service-card__item-meta,
.vst-service-card--pro-tertiaire li a:hover .vst-service-card__item-meta,
.vst-service-card--chaud li a:hover .vst-service-card__item-meta {
    color: rgba(255, 255, 255, 0.88);
}

.vst-service-card__cta {
    display: inline-flex;
    margin-top: 1rem;
    text-decoration: none;
    background: var(--vst-primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 600;
}

.vst-service-card__cta:hover {
    background: var(--vst-primary-dark);
    color: #fff;
}

@media (max-width: 921px) {
    .vst-services-grid {
        grid-template-columns: 1fr;
    }

}

/* ============================================================
   TOGGLE UAEL — Onglet actif en orange cuivre
   ============================================================ */

.uael-sec-1,
.uael-sec-2 {
    transition: background 0.25s ease, color 0.25s ease;
    border-radius: 20px;
    padding: 0.35em 1em;
}

.uael-sec-1 h4,
.uael-sec-2 h4 {
    margin: 0;
    color: inherit;
}

/* Froid actif (toggle non coche = etat par defaut) */
.uael-rbs-toggle:not(:has(.uael-rbs-switch:checked)) .uael-sec-1 {
    background: var(--vst-bleu);
    color: #ffffff;
}

/* Chaud actif (toggle coche) */
.uael-rbs-toggle:has(.uael-rbs-switch:checked) .uael-sec-2 {
    background: var(--vst-orange);
    color: #ffffff;
}

.uael-rbs-slider.uael-rbs-round {
    background: #ffffff !important;
    border: 2px solid #000000;
    box-shadow: var(--vst-shadow-box);
    transition: background 0.25s ease;
}

.uael-rbs-toggle:has(.uael-rbs-switch:checked) .uael-rbs-slider.uael-rbs-round {
    background: var(--vst-orange) !important;
}

.uael-rbs-slider.uael-rbs-round::before {
    box-shadow: var(--vst-shadow-box);
    bottom: 0.13em;
}

/* Inputs et textareas */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form select,
.wpforms-form textarea,
.elementor-form .elementor-field,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea,
body .elementor-field-group input,
body .elementor-field-group textarea,
body .elementor-field-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--vst-black);
    background: #f8f9fa;
    border: 1px solid #d0d5d9;
    border-radius: var(--vst-radius);
    transition: border-color var(--vst-transition), box-shadow var(--vst-transition);
    outline: none;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus,
.elementor-form .elementor-field:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
body .elementor-field-group input:focus,
body .elementor-field-group textarea:focus {
    border-color: var(--vst-primary);
    box-shadow: 0 0 0 3px rgba(99, 112, 117, 0.15);
    background: var(--vst-white);
}

/* Labels */
.wpforms-form .wpforms-field-label,
.elementor-form label,
.wpcf7-form label,
body .elementor-field-group label {
    font-weight: 600;
    color: var(--vst-primary-dark);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Bouton submit formulaire */
.wpforms-form button[type="submit"],
.wpforms-form .wpforms-submit,
.elementor-form button[type="submit"],
.wpcf7-form input[type="submit"],
body .elementor-button[type="submit"],
body .e-form__buttons__wrapper button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid var(--vst-primary);
    border-radius: var(--vst-radius);
    background-color: var(--vst-primary);
    color: var(--vst-white);
    cursor: pointer;
    transition: all var(--vst-transition);
    box-shadow: var(--vst-shadow-box);
    width: auto;
}

.wpforms-form button[type="submit"]:hover,
.elementor-form button[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover,
body .elementor-button[type="submit"]:hover,
body .e-form__buttons__wrapper button:hover {
    background-color: var(--vst-primary-dark);
    border-color: var(--vst-primary-dark);
    color: var(--vst-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Infos contact — icônes + texte */
body.page .elementor-widget-text-editor p {
    line-height: 1.8;
    color: #444;
}

body.page .elementor-widget-text-editor img.emoji {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.15em;
    margin-right: 0.3em;
}

/* Sections Elementor contact — espacement cohérent */
body.page .elementor-section {
    padding: 0;
}

body.page .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 2rem;
}

/* Liens dans le contenu contact */
body.page .elementor-widget-text-editor a {
    color: var(--vst-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--vst-transition);
}

body.page .elementor-widget-text-editor a:hover {
    color: var(--vst-primary-dark);
    text-decoration: underline;
}

/* Responsive contact */
@media (max-width: 768px) {
    .wpforms-container,
    .elementor-form,
    .wpcf7-form {
        padding: 1.5rem;
    }

    body.page .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 1.5rem;
    }
}

.ast-sticky-header-active .custom-logo-link img,
.ast-sticky-header-active .site-logo-img img {
        max-width: 150px !important;
        height: auto !important;
}

@media (max-width: 768px) {
        .ast-sticky-header-active .custom-logo-link img,
        .ast-sticky-header-active .site-logo-img img {
                max-width: 100px !important;
                height: auto !important;
        }
}

/* ============================================================
   TEMPLATE VISUEL ELEMENTOR — Toutes pages Elementor
   Quinconce par align-self (bloc entier, pas le texte)
   Cible ancien système (elementor-top-section)
   ET nouveau système Flexbox Containers (e-con.e-parent)
   ============================================================ */

/* Ancien systeme Elementor (sections) */
body.vst-elementor-template-alt .elementor-section-wrap {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Nouveau systeme Elementor (containers) */
body.vst-elementor-template-alt .elementor {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Animation d'entree des blocs */
body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section,
body.vst-elementor-template-alt .elementor > .e-con,
body.vst-elementor-template-alt .elementor > .e-con.e-parent {
    --vst-reveal-delay: 0ms;
    opacity: 0;
    transform: translateY(42px) scale(0.985);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--vst-reveal-delay);
    will-change: opacity, transform;
}

body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section.vst-block-visible,
body.vst-elementor-template-alt .elementor > .e-con.vst-block-visible,
body.vst-elementor-template-alt .elementor > .e-con.e-parent.vst-block-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Accueil — conteneur pleine largeur */
body.home.vst-elementor-template-alt {
    --vst-home-gutter: 0px;
    --vst-home-column-padding: clamp(0.75rem, 1.8vw, 1.5rem);
}

body.home.vst-elementor-template-alt .elementor-section-wrap,
body.home.vst-elementor-template-alt .elementor {
    width: 100%;
    max-width: none;
}

/* Base — pleine largeur sur toutes les pages du template */
body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section,
body.vst-elementor-template-alt .elementor > .e-con,
body.vst-elementor-template-alt .elementor > .e-con.e-parent {
    width: 100%;
    max-width: none;
    margin-bottom: clamp(1.4rem, 2.8vw, 2.4rem);
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    align-self: stretch;
}

/* Accueil — suivre la largeur du conteneur du theme (pas de limite 1140px) */
body.home.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section,
body.home.vst-elementor-template-alt .elementor > .e-con,
body.home.vst-elementor-template-alt .elementor > .e-con.e-parent {
    width: 100%;
    max-width: none;
    padding-left: var(--vst-home-gutter);
    padding-right: var(--vst-home-gutter);
    align-self: stretch;
}

body.home.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section > .elementor-container,
body.home.vst-elementor-template-alt .elementor > .e-con > .e-con-inner,
body.home.vst-elementor-template-alt .elementor > .e-con.e-parent > .e-con-inner {
    width: 100%;
    max-width: none;
}

body.home.vst-elementor-template-alt .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding-left: var(--vst-home-column-padding);
    padding-right: var(--vst-home-column-padding);
}

body.home.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section:nth-of-type(odd),
body.home.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section:nth-of-type(even),
body.home.vst-elementor-template-alt .elementor > .e-con:nth-of-type(odd),
body.home.vst-elementor-template-alt .elementor > .e-con:nth-of-type(even),
body.home.vst-elementor-template-alt .elementor > .e-con.e-parent:nth-of-type(odd),
body.home.vst-elementor-template-alt .elementor > .e-con.e-parent:nth-of-type(even) {
    align-self: stretch;
}

/* Quinconce — blocs impairs : cale a gauche */
body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section:nth-of-type(odd),
body.vst-elementor-template-alt .elementor > .e-con:nth-of-type(odd),
body.vst-elementor-template-alt .elementor > .e-con.e-parent:nth-of-type(odd) {
    align-self: stretch;
}

/* Quinconce — blocs pairs : cale a droite */
body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section:nth-of-type(even),
body.vst-elementor-template-alt .elementor > .e-con:nth-of-type(even),
body.vst-elementor-template-alt .elementor > .e-con.e-parent:nth-of-type(even) {
    align-self: stretch;
}

/* Mobile — pleine largeur, plus de décalage */
@media (max-width: 921px) {
    body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section,
    body.vst-elementor-template-alt .elementor > .e-con,
    body.vst-elementor-template-alt .elementor > .e-con.e-parent {
        width: 100%;
        align-self: stretch;
    }
}

/* Page aides-et-financements (elementor-10) — forcer la quinconce */
body.vst-elementor-template-alt .elementor.elementor-10 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body.vst-elementor-template-alt .elementor.elementor-10 > .elementor-element.e-con {
    width: 100% !important;
    max-width: none;
    margin-bottom: clamp(1.4rem, 2.8vw, 2.4rem);
}

body.vst-elementor-template-alt .elementor.elementor-10 > .elementor-element.e-con:nth-of-type(odd) {
    align-self: stretch !important;
}

body.vst-elementor-template-alt .elementor.elementor-10 > .elementor-element.e-con:nth-of-type(even) {
    align-self: stretch !important;
}

@media (max-width: 921px) {
    body.vst-elementor-template-alt .elementor.elementor-10 > .elementor-element.e-con {
        width: 100% !important;
        align-self: stretch !important;
    }
}

/* ============================================================
   RESPONSIVE MOBILE — 921px (breakpoint principal)
   ============================================================ */
@media (max-width: 921px) {

    /* Footer services — colonne unique */
    .vst-footer-services__grid {
        grid-template-columns: 1fr;
    }

    .vst-footer-services__column {
        padding: 1.1rem;
    }

    .vst-footer-services__link {
        padding: 0.75rem 0.85rem;
    }

    /* Top footer */
    .vst-top-footer {
        padding: 2.8rem 1.2rem;
        background-attachment: scroll;
    }

    /* Formulaires */
    .wpforms-container,
    .elementor-form,
    .wpcf7-form {
        padding: 1.4rem;
    }

    /* Boutons submit — pleine largeur */
    .wpforms-form button[type="submit"],
    .wpforms-form .wpforms-submit,
    .elementor-form button[type="submit"],
    .wpcf7-form input[type="submit"],
    body .elementor-button[type="submit"],
    body .e-form__buttons__wrapper button {
        width: 100%;
        text-align: center;
    }

    /* Page contact — padding colonnes */
    body.page .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 1.2rem;
    }

    /* Slogan logo — masqué sur mobile pour gain de place */
    .vst-slogan {
        display: none;
    }
}

/* ============================================================
   RESPONSIVE MOBILE — Petits écrans (480px)
   ============================================================ */
@media (max-width: 480px) {

    .hero-wrapper {
        height: 40vh;
        min-height: 260px;
    }

    .hero-wrapper--home {
        height: 85vh;
    }

    .hero-content {
        padding: 1rem;
        padding-top: 5.5rem;
        gap: 0.5rem;
    }

    .hero-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.78rem, 4vw, 0.95rem);
    }

    .hero-description {
        font-size: 0.88rem;
        overflow-wrap: break-word;
    }

    .vst-service-card {
        border-radius: 12px;
        padding: 0.9rem;
    }

    .vst-service-card li a {
        padding: 0.55rem 0.65rem;
        gap: 0.5rem;
    }

    .vst-service-card li a img {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }

    .vst-footer-services {
        padding: 2rem 0.9rem;
    }

    .vst-top-footer__text {
        font-size: 0.95rem;
    }

    .wpforms-container,
    .elementor-form,
    .wpcf7-form {
        padding: 1rem;
    }

    /* Boutons plus compacts */
    .vst-btn,
    .hero-cta-btn,
    .ast-button,
    .elementor-widget-button .elementor-button {
        padding: 11px 22px;
        font-size: 0.85rem;
    }
}

/* ============================================================
   ACCESSIBILITÉ — Mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    body.vst-elementor-template-alt .elementor-section-wrap > .elementor-top-section,
    body.vst-elementor-template-alt .elementor > .e-con,
    body.vst-elementor-template-alt .elementor > .e-con.e-parent {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-description,
    .hero-title,
    .hero-subtitle,
    .hero-cta-btn {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .vst-service-card li a,
    .vst-footer-services__link,
    .vst-btn,
    .hero-cta-btn,
    .elementor-widget-button .elementor-button,
    .vst-mobile-contact-bar__item {
        transition: none !important;
    }
}

/* ============================================================
   TITRES ELEMENTOR — H2/H3 sur fond couleur
   Hero H1 prioritaire, pas de H1 doublon
   ============================================================ */
body.vst-elementor-template-alt .elementor-widget-heading .elementor-heading-title {
    display: block;
    margin: 0 !important;
    text-align: center;
    line-height: 1.15;
    padding: clamp(0.9rem, 2vw, 1.25rem) clamp(1rem, 2.8vw, 1.8rem);
    color: #ffffff !important;
}

body.vst-elementor-template-alt .elementor-widget-heading h2.elementor-heading-title,
body.vst-elementor-template-alt .elementor-widget-heading h3.elementor-heading-title {
    text-shadow: 0 0 4px rgba(139, 67, 99, 0.4), 0 0 7px #000000 !important;
}

body.vst-elementor-template-alt:has(.hero-title) .elementor-widget-heading h1.elementor-heading-title:not(.hero-title) {
    display: none !important;
}
