/**
 * Hero Solutions — chargé avec cache-busting dans header.php
 */

.sec-hero-banner.page-solutions.solutions-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: var(--solutions-hero-min-height, 520px);
    padding-top: 120px;
    padding-bottom: 80px;
    background-position: center;
    background-size: cover;
    background-color: #f7f7f7;
}

.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--solutions-hero-overlay-start, rgba(6, 33, 51, 0.72)) 0%,
        var(--solutions-hero-overlay-mid, rgba(6, 33, 51, 0.45)) 45%,
        var(--solutions-hero-overlay-end, rgba(6, 33, 51, 0.15)) 100%
    );
    pointer-events: none;
}

.sec-hero-banner.page-solutions.solutions-hero .container {
    position: relative;
    z-index: 1;
}

.sec-hero-banner.page-solutions.solutions-hero .sec-hero-container h3 {
    margin: 0;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 60px;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Ligne secondaire (fine) — calquée sur .sec-hero-container h3 span */
.sec-hero-banner.page-solutions.solutions-hero .sec-hero-container h3 .banner-title-light {
    color: var(--solutions-hero-title-light-color, #ffffff);
    display: block;
    width: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 60px;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Ligne principale — calquée sur .sec-hero-container h3 (accueil : Poppins Medium 50/60) */
.sec-hero-banner.page-solutions.solutions-hero .sec-hero-container h3 .banner-title-bold {
    color: var(--solutions-hero-title-bold-color, #ffffff);
    display: block;
    width: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 60px;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Description — calquée sur .hero-detail-content (accueil : Raleway 21/31.5 weight 500) */
.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-description {
    display: inline-block;
    width: 100%;
    max-width: 510px;
    margin-top: 50px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    color: var(--solutions-hero-description-color, #ffffff);
    font-family: 'Raleway', sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 31.5px;
    letter-spacing: 0;
    text-decoration: none;
}

.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

/* Base commune : primary et secondary partagent exactement la même boîte */
.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default,
.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions a.solutions-hero-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin: 0;
    padding: 18px 40px;
    border: 2px solid var(--solutions-hero-btn-border-color, #ffffff);
    border-radius: 50px;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    color: var(--solutions-hero-btn-secondary-color, #ffffff);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .solutions-hero-btn--primary,
.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default.solutions-hero-btn--primary {
    background-color: var(--solutions-hero-btn-primary-bg, #ffffff);
    border-color: var(--solutions-hero-btn-border-color, #ffffff);
    color: var(--solutions-hero-btn-primary-color, #062133);
}

.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .solutions-hero-btn--primary:hover,
.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default.solutions-hero-btn--primary:hover {
    background-color: var(--solutions-hero-btn-primary-hover-bg, #f0f0f0);
    border-color: var(--solutions-hero-btn-border-color, #ffffff);
    color: var(--solutions-hero-btn-primary-color, #062133);
}

.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .solutions-hero-btn--secondary:hover,
.sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default.solutions-hero-btn--secondary:hover {
    background-color: var(--solutions-hero-btn-primary-bg, #ffffff);
    border-color: var(--solutions-hero-btn-border-color, #ffffff);
    color: var(--solutions-hero-btn-primary-color, #062133);
}

@media only screen and (max-width: 992px) {
    .sec-hero-banner.page-solutions.solutions-hero {
        min-height: calc(var(--solutions-hero-min-height, 520px) * 0.8);
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .sec-hero-banner.page-solutions.solutions-hero .sec-hero-container h3 {
        font-size: 33px;
        line-height: 40px;
    }

    .sec-hero-banner.page-solutions.solutions-hero .sec-hero-container h3 .banner-title-bold {
        font-size: 33px;
        line-height: 40px;
    }

    .sec-hero-banner.page-solutions.solutions-hero .sec-hero-container h3 .banner-title-light {
        font-size: 28px;
        line-height: 36px;
    }

    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-description {
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        margin-top: 32px;
    }

    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions {
        margin-top: 24px;
    }

    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default,
    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions a.solutions-hero-btn {
        min-height: 50px;
        padding: 15px 30px;
    }
}

@media only screen and (max-width: 767px) {
    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default,
    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions a.solutions-hero-btn {
        min-height: 46px;
        padding: 7px 21px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 575px) {
    .sec-hero-banner.page-solutions.solutions-hero {
        min-height: calc(var(--solutions-hero-min-height, 520px) * 0.7);
    }

    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions .btn-default,
    .sec-hero-banner.page-solutions.solutions-hero .solutions-hero-actions a.solutions-hero-btn {
        width: 100%;
        max-width: 320px;
    }
}

@media only screen and (max-width: 767px) {
    .page-template-solutions-tpl .sec-hero-banner.page-solutions.solutions-hero,
    .page-template-templates-solutions-tpl .sec-hero-banner.page-solutions.solutions-hero {
        padding-top: 40px;
        padding-bottom: 200px;
        background-size: cover;
        background-position: center;
    }

    .page-template-solutions-tpl .sec-hero-banner.page-solutions.solutions-hero.solutions-hero--has-mobile-bg,
    .page-template-templates-solutions-tpl .sec-hero-banner.page-solutions.solutions-hero.solutions-hero--has-mobile-bg {
        background-image: var(--solutions-hero-bg-mobile) !important;
    }
}
