:root {
    --bg-dark: #8a4f4f;
    --bg-dark-alt: #6b3b3b;
    --text-primary: #8a4f4f;
    --accent-light: rgba(138, 79, 79, 0.15);
    --border-subtle: rgba(138, 79, 79, 0.1);
    --shadow-soft: 0 4px 20px rgba(138, 79, 79, 0.08);
    --shadow-medium: 0 8px 32px rgba(138, 79, 79, 0.12);
    --shadow-heavy: 0 16px 48px rgba(138, 79, 79, 0.16);
}
/* ============================================
   WALLACE SOUZA ADVOCACIA
   Gestão de Passivos — CSS Específico
   ============================================ */

/* ---------- Hero Section ---------- */
.hero-passivos {
    background: linear-gradient(135deg, #8a4f4f 0%, #6b3b3b 50%, #0a2421 100%);
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-passivos::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(206, 181, 132, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-passivos::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-passivos .hero-content {
    position: relative;
    z-index: 2;
}

.hero-passivos h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-passivos h1 span {
    color: var(--accent);
    position: relative;
}

.hero-passivos h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-passivos .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(254, 246, 228, 0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-passivos .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-passivos .hero-img-wrapper {
    position: relative;
    z-index: 2;
}

.hero-passivos .hero-img-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 440px;
    object-fit: cover;
}

.hero-passivos .hero-img-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(206, 181, 132, 0.15);
    border: 1px solid rgba(206, 181, 132, 0.25);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.75rem;
}

/* ---------- Problemas Section ---------- */
.problemas-section .card-ws {
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
}

.problemas-section .card-ws .icon-box {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
}

.problemas-section .card-ws h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.problemas-section .card-ws p {
    font-size: 0.92rem;
    opacity: 0.75;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Serviços Section ---------- */
.servicos-section .servico-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.servicos-section .servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--accent-hover));
    transition: var(--transition-smooth);
    border-radius: 0 0 4px 0;
}

.servicos-section .servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent);
}

.servicos-section .servico-card:hover::before {
    height: 100%;
}

.servicos-section .servico-card .servico-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    font-size: 1.6rem;
    color: var(--accent-hover);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.servicos-section .servico-card:hover .servico-icon {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.08);
}

.servicos-section .servico-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.servicos-section .servico-card p {
    font-size: 0.94rem;
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.servicos-section .servico-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servicos-section .servico-card ul li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.8;
}

.servicos-section .servico-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 4px;
}

/* ---------- Como Funciona Section ---------- */
.como-funciona-section .step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.como-funciona-section .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.como-funciona-section .step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.como-funciona-section .step-card p {
    font-size: 0.94rem;
    color: rgba(254, 246, 228, 0.65);
    line-height: 1.7;
}

.como-funciona-section .step-connector {
    position: relative;
}

.como-funciona-section .step-connector::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(206, 181, 132, 0.3));
    z-index: 1;
}

.como-funciona-section .step-icon {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ---------- FAQ Section ---------- */
.faq-section .faq-header {
    margin-bottom: 3rem;
}

/* ---------- CTA Final ---------- */
.cta-passivos {
    position: relative;
}

.cta-passivos .cta-content {
    position: relative;
    z-index: 2;
}

.cta-passivos h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-passivos p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-passivos .btn-ws-primary {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ---------- Stats Row ---------- */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 246, 228, 0.1);
}

.hero-stats .stat-item {
    text-align: left;
}

.hero-stats .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    color: rgba(254, 246, 228, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-passivos {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-passivos h1 {
        font-size: 2.4rem;
    }

    .hero-passivos .hero-img-wrapper {
        margin-top: 3rem;
        text-align: center;
    }

    .hero-passivos .hero-img-wrapper img {
        max-width: 360px;
    }

    .hero-passivos .hero-img-wrapper::before {
        display: none;
    }

    .hero-stats {
        gap: 2rem;
    }

    .como-funciona-section .step-connector::after {
        display: none;
    }

    .cta-passivos h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-passivos {
        padding: 90px 0 50px;
        text-align: center;
    }

    .hero-passivos h1 {
        font-size: 2rem;
    }

    .hero-passivos .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-passivos .hero-buttons {
        justify-content: center;
    }

    .hero-passivos .hero-img-wrapper img {
        max-width: 300px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-stats .stat-item {
        text-align: center;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-passivos h1 {
        font-size: 1.7rem;
    }

    .hero-passivos .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats .stat-value {
        font-size: 1.5rem;
    }

    .servicos-section .servico-card {
        padding: 2rem 1.5rem;
    }
}

/* ========== NAVBAR RED OVERRIDE ========== */
.navbar-ws {
    background: rgba(138, 79, 79, 0.95) !important;
    border-bottom: 1px solid rgba(206, 181, 132, 0.15) !important;
}

.navbar-ws.scrolled {
    background: rgba(107, 59, 59, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.navbar-ws .nav-link {
    color: rgba(254, 246, 228, 0.85) !important;
}

.navbar-ws .nav-link:hover,
.navbar-ws .nav-link.active {
    color: var(--accent) !important;
}

.navbar-ws .navbar-toggler {
    color: rgba(254, 246, 228, 0.85) !important;
}

@media (max-width: 991.98px) {
    .navbar-ws .navbar-collapse {
        background: #8a4f4f !important;
        border: 1px solid rgba(206, 181, 132, 0.15) !important;
    }
}
