/* ============================================
   PREMIUM SUBPAGE STYLES (WOW EFFECT)
   ============================================ */

/* Modern Hero Section */
.modern-hero {
    position: relative;
    background:
        linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%),
        radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px),
        radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    background-position: 0 0, 0 0, 10px 10px;
    padding: 11rem 0 8rem;
    /* Extra padding bottom for overlap */
    color: white;
    overflow: hidden;
    margin-bottom: 0;
    /* Reset margin */
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.modern-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.modern-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Floating Content Container */
.floating-container {
    position: relative;
    z-index: 10;
    margin-top: -4rem;
    /* The overlap magic */
    padding-bottom: 4rem;
}

/* Glass/Clean Sidebar */
.modern-sidebar {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
    background: rgba(13, 68, 25, 0.05);
    color: var(--primary-green);
    transform: translateX(5px);
}

.sidebar-nav-item i {
    width: 24px;
    margin-right: 10px;
    color: var(--primary-green);
}

/* Document/Download Cards */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.doc-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.doc-card:hover::before {
    opacity: 1;
}

.doc-icon {
    font-size: 2rem;
    color: var(--text-light);
    transition: color 0.3s;
}

.doc-card:hover .doc-icon {
    color: var(--primary-green);
}

.doc-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.doc-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Process Steps (Timeline) */
.timeline-steps {
    position: relative;
    padding-left: 2rem;
    margin: 3rem 0;
    border-left: 2px solid #e2e8f0;
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 1.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: -2.6rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 0 0 5px white;
    /* Create gap effect */
    transition: transform 0.3s;
}

.timeline-step:hover .step-marker {
    transform: scale(1.1);
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Content Box Styling */
.content-box {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.section-divider-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-green-dark);
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-divider-title i {
    color: var(--primary-green);
    background: rgba(13, 68, 25, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* Layout Utilities */
.layout-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.main-content-col {
    flex: 2;
    min-width: 300px;
}

.sidebar-col {
    flex: 1;
    min-width: 250px;
    position: sticky;
    top: 8rem;
}

@media (max-width: 991px) {
    .sidebar-col {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }
}

/* ==========================================================================
   RESPONSIVIDADE NOTEBOOK / LAPTOP (1024px - 1366px)
   ========================================================================== */
@media (max-width: 1366px) {
    .modern-hero {
        padding: 8rem 0 6rem;
        /* Reduz padding vertical */
    }

    .modern-hero h1 {
        font-size: 2.5rem;
        /* Fonte menor */
    }

    .floating-container {
        margin-top: -3rem;
        /* Menos overlap */
    }

    .doc-grid,
    .timeline-steps {
        gap: 1rem;
    }

    .sidebar-col {
        top: 6rem;
        /* Ajuste sticky sidebar */
    }

    .content-box {
        padding: 2rem;
    }
}