/* ==========================================================
   BRS Valve Service - Estilos da página de Válvulas de Controle
   ========================================================== */

/* ===== Breadcrumb / Navegação Superior ===== */
.page-breadcrumb {
    background-color: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    padding: 14px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    gap: 8px;
}

.breadcrumb-list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: #0d6efd;
}

.breadcrumb-separator {
    color: #94a3b8;
    user-select: none;
}

.breadcrumb-current {
    color: #002244;
    font-weight: 600;
}

/* ===== Hero Válvulas de Controle ===== */
.ctrl-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #edf4fc 100%);
    overflow: hidden;
}

.ctrl-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url('../images/valvula-azul.jpg');
    background-size: cover;
    background-position: center;
}

.ctrl-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.85) 25%, rgba(255, 255, 255, 0.2) 65%, rgba(255, 255, 255, 0) 100%);
}

.ctrl-hero-container {
    position: relative;
    z-index: 2;
    padding: 55px 0;
}

.ctrl-hero-content {
    max-width: 620px;
}

.ctrl-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;
}

.ctrl-hero-content h1 {
    font-size: 2.85rem;
    font-weight: 800;
    color: #002244;
    line-height: 1.15;
    margin-bottom: 18px;
}

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

/* ===== Seção de Destaque / Introdução ===== */
.ctrl-intro-section {
    padding: 55px 0 35px;
    background-color: #ffffff;
}

.ctrl-intro-card {
    background: #f8fafc;
    border-left: 4px solid #0d6efd;
    border-radius: 0 12px 12px 0;
    padding: 30px 36px;
    box-shadow: 0 4px 16px rgba(0, 34, 68, 0.04);
}

.ctrl-intro-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #002244;
    margin-bottom: 12px;
}

.ctrl-intro-card p {
    font-size: 1.1rem;
    color: #2b394a;
    line-height: 1.7;
    margin: 0;
}

/* ===== Grid de Características Técnicas ===== */
.ctrl-features-section {
    padding: 20px 0 40px;
}

.ctrl-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ctrl-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.ctrl-feature-card:hover {
    transform: translateY(-4px);
    border-color: #0d6efd;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.1);
}

.ctrl-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background-color: #eaf3ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-feature-icon svg {
    width: 24px;
    height: 24px;
}

.ctrl-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #002244;
    margin-bottom: 8px;
}

.ctrl-feature-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ===== Seções Detalhadas (Zig-Zag de Conteúdo) ===== */
.ctrl-details-section {
    padding: 30px 0 70px;
}

.ctrl-detail-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
}

.ctrl-detail-block:last-child {
    margin-bottom: 0;
}

.ctrl-detail-block.reverse {
    flex-direction: row-reverse;
}

.ctrl-detail-text {
    flex: 1.2;
}

.ctrl-detail-text h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #002244;
    line-height: 1.25;
    margin-bottom: 12px;
}

.ctrl-heading-bar {
    width: 44px;
    height: 4px;
    background-color: #0d6efd;
    border-radius: 2px;
    margin-bottom: 20px;
}

.ctrl-detail-text p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ctrl-detail-text p:last-child {
    margin-bottom: 0;
}

.ctrl-detail-card-highlight {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ctrl-detail-card-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ctrl-detail-card-highlight li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #334155;
    line-height: 1.5;
}

.ctrl-detail-card-highlight li svg {
    width: 20px;
    height: 20px;
    color: #0d6efd;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== Seção de Compromisso (Faixa Azul Clara) ===== */
.ctrl-commit-section {
    background-color: #f1f7ff;
    border-top: 1px solid #dce9f8;
    border-bottom: 1px solid #dce9f8;
    padding: 55px 0;
}

.ctrl-commit-box {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.ctrl-commit-box h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #002244;
    margin-bottom: 16px;
}

.ctrl-commit-box p {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.75;
    margin: 0;
}

/* ===== Seção CTA Inferior ===== */
.ctrl-cta-section {
    background: linear-gradient(135deg, #002244 0%, #083b6f 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.ctrl-cta-box {
    max-width: 680px;
    margin: 0 auto;
}

.ctrl-cta-box h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.ctrl-cta-box p {
    font-size: 1.1rem;
    color: #d0e1f9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ctrl-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-light-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* ===== Responsividade ===== */
@media (max-width: 992px) {
    .ctrl-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ctrl-detail-block,
    .ctrl-detail-block.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .ctrl-hero-image {
        width: 100%;
        opacity: 0.2;
    }

    .ctrl-hero-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 640px) {
    .ctrl-features-grid {
        grid-template-columns: 1fr;
    }

    .ctrl-hero-content h1 {
        font-size: 1.9rem;
    }

    .ctrl-intro-card {
        padding: 20px;
    }

    .ctrl-intro-card h2 {
        font-size: 1.3rem;
    }

    .ctrl-intro-card p {
        font-size: 1rem;
    }

    .ctrl-detail-text h2 {
        font-size: 1.5rem;
    }

    .ctrl-cta-box h2 {
        font-size: 1.6rem;
    }
}
