/* ============================================================
   Promamec Europe - Custom Styles matching PDF Design
   ============================================================ */
.pe-page {
    font-family: 'Montserrat', 'GothamBookRegular', sans-serif;
    color: #2b2b2b;
    overflow-x: hidden;
}

/* 1. HERO SECTION */
.pe-hero {
    position: relative;
    min-height: 720px;
    background: url('../img/promamec-europe/hero-bg.jpg') center bottom / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 50px 0;
    margin-top: 0;
}

.pe-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) 35%,
        rgba(10, 60, 68, 0.3) 55%,
        rgba(10, 65, 72, 0.75) 80%,
        rgba(10, 60, 65, 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
}

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

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

.pe-hero-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.pe-hero-sub {
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 680px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* 2. SECTION EXPERTISE & USINE */
.pe-section {
    padding: 65px 0;
}

.pe-section-white {
    background: #ffffff;
}

.pe-section-gray {
    background: #f7f7f7;
}

.pe-title-h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 22px;
}

.pe-text {
    font-size: 14px;
    line-height: 1.65;
    color: #222222;
    margin-bottom: 18px;
}

.pe-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #009994;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 2px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    margin-top: 6px;
    border: none;
    box-shadow: none;
}

.pe-btn-primary:hover {
    background-color: #00827e;
    color: #ffffff !important;
}

.pe-btn-primary i {
    margin-left: 14px;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.pe-btn-primary:hover i {
    transform: translateX(4px);
}

/* Usine Card with Horizontal Overlay Bar */
.pe-usine-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.pe-usine-card img {
    width: 100%;
    height: auto;
    display: block;
}

.pe-usine-overlay-bar {
    position: absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(45, 45, 43, 0.72);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none !important;
    transition: background 0.25s ease;
}

.pe-usine-overlay-bar:hover {
    background: rgba(30, 30, 28, 0.88);
}

.pe-usine-play-btn {
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pe-usine-play-btn i {
    color: #009994;
    font-size: 10px;
    margin-left: 2px;
}

.pe-usine-overlay-bar:hover .pe-usine-play-btn {
    transform: scale(1.12);
}

.pe-usine-label {
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* Video Card with Horizontal Overlay Bar */
.pe-video-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.pe-video-card img {
    width: 100%;
    height: auto;
    display: block;
}

.pe-video-overlay-bar {
    position: absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(45, 45, 43, 0.72);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none !important;
    transition: background 0.25s ease;
}

.pe-video-overlay-bar:hover {
    background: rgba(30, 30, 28, 0.88);
}

.pe-video-play-btn {
    width: 26px;
    height: 26px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pe-video-play-btn i {
    color: #009994;
    font-size: 10px;
    margin-left: 2px;
}

.pe-video-overlay-bar:hover .pe-video-play-btn {
    transform: scale(1.12);
}

.pe-video-label {
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* 3. CHIFFRES CLES */
.pe-stats-section {
    background: #f7f7f7;
    padding: 45px 0;
    border-top: 1px solid #eef2f5;
    border-bottom: 1px solid #eef2f5;
}

.pe-stat-item {
    padding: 15px 10px;
    text-align: center;
}

.pe-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #009994;
    margin-bottom: 6px;
    line-height: 1.2;
}

.pe-stat-label {
    font-size: 14px;
    color: #2b2b2b;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* 4. NOTRE APPROCHE */
.pe-approach-cards {
    display: flex;
    flex-wrap: wrap;
    margin: 28px 0 24px 0;
    overflow: hidden;
}

.pe-approach-col {
    flex: 1 1 33.333%;
    padding: 34px 24px;
    background-color: #009994;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    border-right: 2px solid #ffffff;
    transition: background-color 0.25s ease;
}

.pe-approach-col:last-child {
    border-right: none;
}

.pe-approach-col:hover {
    background-color: #175c66;
}

.pe-approach-text {
    font-size: 14.5px;
    color: #2b2b2b;
    line-height: 1.7;
    max-width: 950px;
    margin: 20px 0 0 0;
}

/* 5. NOS SOLUTIONS */
.pe-solution-subtitle {
    font-size: 14.5px;
    color: #333333;
    margin-bottom: 25px;
}

.pe-solution-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0 0 0;
    overflow: hidden;
}

.pe-solution-item {
    flex: 1 1 33.333%;
    padding: 35px 28px;
    background-color: #009994;
    color: #ffffff;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-right: 2px solid #ffffff;
    transition: background-color 0.25s ease;
}

.pe-solution-item:last-child {
    border-right: none;
}

.pe-solution-item:hover {
    background-color: #175c66;
}

.pe-solution-item h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.3;
}

.pe-solution-item p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 6. GROUPE INDUSTRIEL FLOWCHAIN */
.pe-chain-list {
    margin: 28px 0 0 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.pe-chain-item {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 18px;
}

.pe-chain-item:last-child {
    margin-bottom: 0;
}

.pe-chain-icon {
    width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.pe-chain-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pe-chain-label {
    font-size: 14.5px;
    font-weight: 500;
    color: #000000;
}

.pe-chain-connector {
    position: absolute;
    left: 17px;
    top: 34px;
    width: 2px;
    height: 18px;
    background: #888888;
    z-index: 1;
}

/* 7. BOTTOM CTA */
.pe-bottom-cta {
    background: #ffffff;
    padding: 24px 0;
}

.pe-bottom-cta-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pe-bottom-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1;
}

.pe-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: 9px 24px;
    height: 38px;
    border-radius: 2px;
    text-decoration: none !important;
    margin-left: 32px;
    transition: background-color 0.25s ease;
}

.pe-bottom-cta-btn:hover {
    background-color: #00827e;
    color: #ffffff !important;
}

.pe-bottom-cta-btn i {
    margin-left: 12px;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.pe-bottom-cta-btn:hover i {
    transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .pe-hero {
        min-height: 440px;
        padding: 130px 0 40px 0;
    }
    .pe-hero-title {
        font-size: 27px;
    }
    .pe-hero-sub {
        font-size: 16px;
    }
    .pe-approach-cards,
    .pe-solution-grid {
        flex-direction: column;
    }
    .pe-approach-col,
    .pe-solution-item {
        flex: 1 1 100%;
        border-right: none !important;
        border-bottom: 2px solid #ffffff;
    }
    .pe-approach-col:last-child,
    .pe-solution-item:last-child {
        border-bottom: none;
    }
    .pe-media-card {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .pe-hero {
        min-height: 380px;
        padding: 110px 0 35px 0;
    }
    .pe-hero-badge {
        font-size: 17px;
        padding: 5px 14px;
        margin-bottom: 12px;
    }
    .pe-hero-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .pe-hero-sub {
        font-size: 14px;
    }
    .pe-title-h2 {
        font-size: 24px;
    }
    .pe-stat-item {
        margin-bottom: 15px;
    }
    .pe-stat-number {
        font-size: 26px;
    }
    .pe-bottom-cta-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .pe-bottom-cta-btn {
        margin-left: 0;
    }
    .pe-usine-card,
    .pe-video-card {
        margin-top: 25px;
    }
}