/* ==========================================================
   BRS Valve Service - Estilos da página de Serviços
   ========================================================== */

/* ===== Hero Serviços ===== */
.serv-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #ffffff 0%, #f4f7fb 100%);
    overflow: hidden;
}

.serv-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('../images/bg-valvulas-industriais.jpg');
    background-size: cover;
    background-position: center;
}

.serv-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.75) 20%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0) 100%);
}

.serv-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 60px 0;
    gap: 40px;
}

.serv-hero-content {
    max-width: 580px;
}

.serv-hero-content .section-label {
    display: inline-block;
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.serv-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #002244;
    line-height: 1.15;
    margin-bottom: 20px;
}

.serv-hero-content p {
    font-size: 1.05rem;
    color: #444f5c;
    line-height: 1.6;
    margin: 0;
}

.serv-hero-seal {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.serv-hero-seal img {
    height: 155px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
}

/* ===== Banner de Compromisso ===== */
.serv-banner {
    background: #eef6ff;
    border-top: 1px solid #d9ebff;
    border-bottom: 1px solid #d9ebff;
    padding: 24px 0;
}

.serv-banner-box {
    display: flex;
    align-items: center;
    gap: 24px;
}

.serv-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    color: #002244;
}

.serv-banner-icon svg {
    width: 36px;
    height: 36px;
}

.serv-banner-divider {
    width: 2px;
    height: 40px;
    background-color: #b9d7fc;
    flex-shrink: 0;
}

.serv-banner-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #002244;
    line-height: 1.4;
    margin: 0;
}

/* ===== Lista Alternada de Serviços ===== */
.serv-list-section {
    padding: 70px 0 90px;
    background-color: #ffffff;
}

.serv-items-container {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.serv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.serv-row.reverse {
    flex-direction: row-reverse;
}

.serv-image-col {
    flex: 1;
    max-width: 520px;
}

.serv-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    background-color: #f0f4f8;
    aspect-ratio: 16 / 10;
}

.serv-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.serv-row:hover .serv-image-wrapper img {
    transform: scale(1.03);
}

.serv-text-col {
    flex: 1;
    max-width: 520px;
}

.serv-text-col h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #002244;
    line-height: 1.25;
    margin-bottom: 8px;
}

.serv-heading-bar {
    width: 48px;
    height: 4px;
    background-color: #0d6efd;
    border-radius: 2px;
    margin-bottom: 18px;
}

.serv-text-col p {
    font-size: 1rem;
    color: #555f6d;
    line-height: 1.65;
    margin-bottom: 24px;
}

.serv-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #eaf3ff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.serv-circle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.serv-circle-btn:hover {
    background-color: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.serv-circle-btn:hover svg {
    transform: translateX(3px);
}

/* ===== Responsividade ===== */
@media (max-width: 992px) {
    .serv-hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 0;
        gap: 30px;
    }

    .serv-hero-image {
        width: 100%;
        opacity: 0.25;
    }

    .serv-hero-content h1 {
        font-size: 2.5rem;
    }

    .serv-hero-seal {
        align-self: flex-start;
    }

    .serv-hero-seal img {
        height: 120px;
    }

    .serv-row,
    .serv-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .serv-image-col,
    .serv-text-col {
        max-width: 100%;
        width: 100%;
    }

    .serv-items-container {
        gap: 55px;
    }
}

@media (max-width: 640px) {
    .serv-hero-content h1 {
        font-size: 2.1rem;
    }

    .serv-banner-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .serv-banner-divider {
        display: none;
    }

    .serv-banner-text {
        font-size: 1.05rem;
    }

    .serv-text-col h2 {
        font-size: 1.6rem;
    }
}
