/* ============================================================

   PromaSAFE - Styles matching Brand & PDF Design

   ============================================================ */

.ps-page {

    font-family: 'Montserrat', 'GothamBookRegular', sans-serif;

    color: #2b2b2b;

    overflow-x: hidden;

}

/* 1. HERO BANNER */
.ps-hero {
    position: relative;
    min-height: 740px;
    background: url('../img/promasafe/hero-bg.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 130px 0 35px 0;
    margin-top: 0;
}

.ps-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(15, 25, 30, 0.35) 60%,
        rgba(12, 22, 26, 0.75) 82%,
        rgba(10, 18, 22, 0.88) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.ps-hero .container {
    position: relative;
    z-index: 2;
}

.ps-hero-video-row {
    margin-bottom: 25px;
}

.ps-hero-play-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(35, 40, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 7px 20px 7px 8px;
    border-radius: 30px;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.ps-hero-play-bar:hover {
    background: rgba(15, 20, 22, 0.92);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.ps-hero-play-btn {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.ps-hero-play-btn i {
    color: #009994;
    font-size: 11px;
    margin-left: 2px;
}

.ps-hero-play-text {
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: -0.1px;
    color: #ffffff;
}

.ps-hero-badge {
    display: inline-block;
    background: #ffffff;
    color: #009994;
    font-weight: 700;
    font-size: 20px;
    padding: 5px 16px;
    border-radius: 3px;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ps-hero-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.28;
    margin-top: 0;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    max-width: 950px;
}

.ps-hero-sub {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    max-width: 820px;
    margin: 0;
    opacity: 0.96;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* GENERAL SECTIONS */

.ps-section {

    padding: 65px 0;

}

.ps-section-white {

    background: #ffffff;

}

.ps-section-gray {

    background: #f7f7f7;

}

.ps-title-h2 {

    font-size: 28px;

    font-weight: 700;

    color: #000000;

    line-height: 1.25;

    margin-top: 0;

    margin-bottom: 22px;

}

.ps-subtitle {

    font-size: 15px;

    color: #4b5563;

    line-height: 1.6;

    margin-top: -12px;

    margin-bottom: 30px;

}

.ps-text {

    font-size: 14.5px;

    line-height: 1.7;

    color: #2b2b2b;

    margin-bottom: 18px;

}

/* 2. NOTRE USINE EN CHIFFRES */

.ps-stats-wrap {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    margin-top: 30px;

}

.ps-stat-col {

    flex: 1 1 20%;

    padding: 15px 12px;

    text-align: left;

}

.ps-stat-num {

    font-size: 30px;

    font-weight: 700;

    color: #009994;

    margin-bottom: 8px;

    line-height: 1.2;

}

.ps-stat-lbl {

    font-size: 14px;

    color: #2b2b2b;

    font-weight: 500;

    line-height: 1.4;

    margin: 0;

}

/* 3. INFRASTRUCTURE CARDS */

.ps-infra-grid {

    display: flex;

    flex-wrap: wrap;

    margin-top: 25px;

    overflow: hidden;

}

.ps-infra-card {

    flex: 1 1 33.333%;

    padding: 38px 28px;

    background-color: #009994;

    color: #ffffff;

    min-height: 250px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    cursor: pointer;

    border-right: 2px solid #ffffff;

    transition: background-color 0.25s ease;

}

.ps-infra-card:last-child {

    border-right: none;

}

.ps-infra-card:hover {

    background-color: #175c66;

}

.ps-infra-card h3 {

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;

    margin-top: 0;

    margin-bottom: 14px;

}

.ps-infra-card p {

    color: #ffffff;

    font-size: 14px;

    line-height: 1.6;

    margin: 0;

    opacity: 0.96;

}

.ps-infra-card-icon {

    align-self: flex-end;

    margin-top: 20px;

    font-size: 28px;

    opacity: 0.85;

}

/* 4. NOS 5 GAMMES GRID - Exact PDF/Mockup 2x3 Grid with white borders */
.ps-gammes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: #ffffff;
    margin-top: 25px;
    border: 2px solid #ffffff;
}

.ps-gamme-card {
    padding: 30px 28px;
    color: #ffffff;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    border-radius: 0;
    transition: filter 0.2s ease, background-color 0.2s ease;
}

.ps-gamme-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    color: #ffffff;
    font-family: 'Montserrat', 'GothamBookRegular', sans-serif;
}

.ps-gamme-desc {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
    opacity: 0.96;
    font-family: 'Montserrat', 'GothamBookRegular', sans-serif;
}

.ps-gamme-download {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background-color: #185c66;
    transition: background-color 0.25s ease;
}

.ps-gamme-download:hover {
    background-color: #11464f !important;
}

.ps-gamme-download .ps-gamme-title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 0;
}

.ps-download-svg-wrap {
    align-self: flex-end;
    margin-top: auto;
    padding-top: 15px;
}

.ps-download-svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: #ffffff;
    transition: transform 0.25s ease;
}

.ps-gamme-download:hover .ps-download-svg {
    transform: translateY(2px);
}

/* 5. CARROUSEL NOS PRODUITS */
.ps-title-carousel {
    padding-left: 65px;
}
@media (max-width: 991px) {
    .ps-title-carousel {
        padding-left: 45px;
    }
}
@media (max-width: 767px) {
    .ps-title-carousel {
        padding-left: 0;
    }
}

.ps-carousel-wrap {

    margin: 35px 0 25px 0;

    position: relative;

    padding: 0 65px;

}

.ps-product-card {

    background: #ffffff;

    border: 1px solid #eef2f5;

    border-radius: 2px;

    padding: 22px 18px 22px 18px;

    text-align: center;

    transition: all 0.25s ease;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 355px;

    position: relative;

    cursor: pointer;

}

.ps-product-card:hover {

    background-color: #87928c !important;

    border-color: #87928c !important;

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

}

.ps-product-card:hover .ps-product-title,

.ps-product-card:hover .ps-product-title a,

.ps-product-card:hover a .ps-product-title {

    color: #ffffff !important;

}

.ps-product-badge {

    display: inline-block;

    padding: 4px 14px;

    border-radius: 3px;

    color: #ffffff;

    font-size: 11.5px;

    font-weight: 700;

    letter-spacing: 0.5px;

    margin: 0 auto 16px auto;

    text-transform: uppercase;

}

.ps-product-img-wrap {

    height: 170px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

}

.ps-product-img-wrap img {

    max-height: 160px;

    max-width: 100%;

    object-fit: contain;

    display: block;

    margin: 0 auto;

}

.ps-product-title {

    font-size: 14px;

    font-weight: 600;

    color: #111827;

    line-height: 1.4;

    margin: 0;

    min-height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-btn-see-all {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background-color: #009994;

    color: #ffffff !important;

    font-weight: 600;

    font-size: 14px;

    padding: 12px 28px;

    border-radius: 2px;

    text-decoration: none !important;

    transition: background-color 0.25s ease;

    float: right;

    margin-top: 15px;

}

.ps-btn-see-all:hover {

    background-color: #00827e;

}

.ps-btn-see-all i {

    margin-left: 10px;

    font-size: 16px;

}

/* Custom Owl nav for PromaSAFE */

.ps-carousel-wrap .owl-nav {

    display: block !important;

    position: static !important;

    margin: 0 !important;

    line-height: 0 !important;

}

.ps-carousel-wrap .owl-nav.disabled {

    display: block !important;

}

.ps-carousel-wrap .owl-prev,

.ps-carousel-wrap .owl-next,

.ps-carousel-wrap .owl-nav .owl-prev,

.ps-carousel-wrap .owl-nav .owl-next,

.ps-carousel-wrap .owl-nav button.owl-prev,

.ps-carousel-wrap .owl-nav button.owl-next {

    position: absolute !important;

    top: 45% !important;

    transform: translateY(-50%) !important;

    width: 38px !important;

    height: 48px !important;

    background: #d1d1d0 !important;

    background-color: #d1d1d0 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 0 !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 0 !important;

    margin: 0 !important;

    cursor: pointer !important;

    z-index: 25 !important;

    opacity: 1 !important;

    visibility: visible !important;

    box-shadow: none !important;

    outline: none !important;

    transition: background-color 0.25s ease !important;

}

.ps-carousel-wrap .owl-prev,

.ps-carousel-wrap .owl-nav .owl-prev,

.ps-carousel-wrap .owl-nav button.owl-prev {

    left: -58px !important;

}

.ps-carousel-wrap .owl-next,

.ps-carousel-wrap .owl-nav .owl-next,

.ps-carousel-wrap .owl-nav button.owl-next {

    right: -58px !important;

}

.ps-carousel-wrap .owl-prev:hover,

.ps-carousel-wrap .owl-next:hover,

.ps-carousel-wrap .owl-nav button.owl-prev:hover,

.ps-carousel-wrap .owl-nav button.owl-next:hover {

    background: #009994 !important;

    background-color: #009994 !important;

}

.ps-carousel-wrap .owl-prev svg,

.ps-carousel-wrap .owl-next svg,

.ps-carousel-wrap .owl-nav button svg {

    display: block !important;

    pointer-events: none !important;

}

.ps-carousel-wrap .owl-dots {

    text-align: center;

    margin-top: 25px;

    line-height: 1;

}

.ps-carousel-wrap .owl-dot {

    display: inline-block;

    zoom: 1;

    outline: none;

}

.ps-carousel-wrap .owl-dot span {

    width: 9px;

    height: 9px;

    background: #d6d6d6 !important;

    display: inline-block;

    border-radius: 50%;

    margin: 0 4px;

    transition: background-color 0.2s ease;

}

.ps-carousel-wrap .owl-dot.active span,

.ps-carousel-wrap .owl-dot:hover span {

    background: #009994 !important;

}

.ps-carousel-actions {

    position: relative;

    margin-top: -24px;

    padding-right: 65px;

    text-align: right;

    z-index: 10;

}

/* 6. PARTENAIRE INDUSTRIEL */

.ps-steps-list {

    margin: 0;

    padding: 0;

    list-style: none;

}

.ps-step-item {

    display: flex;

    align-items: center;

    margin-bottom: 16px;

}

.ps-step-item:last-child {

    margin-bottom: 0;

}

.ps-step-num {

    width: 34px;

    height: 34px;

    background: #009994;

    color: #ffffff;

    font-weight: 700;

    font-size: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 18px;

    flex-shrink: 0;

    border-radius: 2px;

}

.ps-step-text {

    font-size: 14.5px;

    font-weight: 600;

    color: #111827;

}

.ps-pillar-box {

    margin-bottom: 24px;

}

.ps-pillar-title {

    font-size: 17px;

    font-weight: 700;

    color: #000000;

    margin-top: 0;

    margin-bottom: 8px;

}

.ps-pillar-desc {

    font-size: 14px;

    line-height: 1.65;

    color: #374151;

    margin: 0;

}

/* 7. FABRIQUE A CASABLANCA / EUROPE MAP */

.ps-europe-card {

    position: relative;

    overflow: hidden;

    background: #000;

}

.ps-europe-card img {

    width: 100%;

    height: auto;

    display: block;

}

.ps-map-overlay-btn {

    position: absolute;

    bottom: 20px;

    left: 20px;

    background: rgba(15, 30, 35, 0.82);

    color: #ffffff !important;

    padding: 10px 22px;

    border-radius: 25px;

    display: inline-flex;

    align-items: center;

    text-decoration: none !important;

    font-size: 14.5px;

    font-weight: 600;

    transition: all 0.25s ease;

}

.ps-map-overlay-btn:hover {

    background: #009994;

    transform: translateY(-2px);

}

.ps-map-overlay-btn i {

    color: #00b4ad;

    margin-right: 10px;

    font-size: 16px;

}

.ps-map-overlay-btn:hover i {

    color: #ffffff;

}

/* 8. DOWNLOAD CATALOGUE BANNER */

.ps-bottom-cta {

    background: #ffffff;

    padding: 28px 0;

    border-top: 1px solid #eef2f5;

}

.ps-bottom-cta-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.ps-bottom-cta-title {

    font-size: 20px;

    font-weight: 700;

    color: #000000;

    margin: 0 0 6px 0;

}

.ps-bottom-cta-sub {

    font-size: 14px;

    color: #4b5563;

    margin: 0;

}

.ps-bottom-cta-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background-color: #009994;

    color: #ffffff !important;

    font-weight: 500;

    font-size: 14px;

    padding: 10px 24px;

    height: 40px;

    border-radius: 2px;

    text-decoration: none !important;

    transition: background-color 0.25s ease;

    flex-shrink: 0;

}

.ps-bottom-cta-btn:hover {

    background-color: #00827e;

}

.ps-bottom-cta-btn i {

    margin-left: 10px;

    font-size: 15px;

}

/* RESPONSIVE */

@media (max-width: 991px) {
    .ps-gammes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ps-hero {

        min-height: 440px;

        padding: 130px 0 40px 0;

    }

    .ps-hero-title {

        font-size: 27px;

    }

    .ps-stat-col {

        flex: 1 1 50%;

    }

    .ps-infra-grid {

        flex-direction: column;

    }

    .ps-infra-card {

        flex: 1 1 100%;

        border-right: none !important;

        border-bottom: 2px solid #ffffff;

    }

    .ps-infra-card:last-child {

        border-bottom: none;

    }

    .ps-gamme-col {

        flex: 1 1 50%;

    }

    .ps-carousel-wrap {
        padding: 0 45px;
    }
    .ps-carousel-wrap .owl-prev,
    .ps-carousel-wrap .owl-nav button.owl-prev {
        left: -40px !important;
    }
    .ps-carousel-wrap .owl-next,
    .ps-carousel-wrap .owl-nav button.owl-next {
        right: -40px !important;
    }
    .ps-carousel-actions {
        margin-top: 20px;
        padding-right: 0;
        text-align: center;
    }

    .ps-europe-card {

        margin-top: 25px;

    }

}

@media (max-width: 767px) {
    .ps-gammes-grid {
        grid-template-columns: 1fr !important;
    }

    .ps-hero {

        min-height: 380px;

        padding: 110px 0 35px 0;

    }

    .ps-hero-badge {

        font-size: 17px;

        padding: 5px 14px;

        margin-bottom: 12px;

    }

    .ps-hero-title {

        font-size: 22px;

        margin-bottom: 10px;

    }

    .ps-hero-sub {

        font-size: 14px;

    }

    .ps-title-h2 {

        font-size: 24px;

    }

    .ps-stat-col {

        flex: 1 1 100%;

    }

    .ps-gamme-col {

        flex: 1 1 100%;

    }

    .ps-bottom-cta-box {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

    .ps-btn-see-all {

        float: none;

        display: flex;

        margin-top: 20px;

    }

}
