/* TIMELINE STYLES */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    margin-left: -2px;
    background: var(--bs-primary, #0d6efd);
    border-radius: 4px;
    z-index: 0;
}

@media (max-width: 767px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-nodes {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .timeline-icons {
        position: absolute;
        left: 0;
        top: 20px;
        order: 1 !important;
        width: auto !important;
    }

    .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
        order: 2 !important;
        width: calc(100% - 80px) !important;
    }

    .timeline-date {
        margin-left: 80px !important;
        order: 3 !important;
        padding-top: 0 !important;
        padding-bottom: 20px !important;
        text-align: left !important;
        width: auto !important;
    }
}

.timeline-nodes {
    position: relative;
    z-index: 1;
}

.timeline-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.timeline-icon {
    font-size: 1.5rem;
    color: #fff;
    background-color: var(--bs-primary, #0d6efd);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 5px #fff, 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.timeline-nodes:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px #fff, 0 8px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.timeline-content h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bs-primary, #0d6efd) !important;
}

.timeline-date time {
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* TRIBUTACAO LANDING PAGE STYLES */
.hero-tributacao {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0044cc 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-tributacao::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 120%;
    height: 100px;
    background: #f8f9fa;
    transform: rotate(-3deg);
}

.tributacao-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background: white;
    overflow: hidden;
}

.tributacao-card:hover {
    transform: translateY(-5px);
}

.tributacao-title h2 {
    flex: 1;
}

.tributacao-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.sumario-nav .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.sumario-nav .nav-link:hover {
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    padding-left: 20px;
}

.topic-section {
    padding-top: 80px;
    margin-top: -40px;
    /* Offset for sticky header if any */
}

.alert-modern {
    border-radius: 12px;
    border: none;
    border-left: 5px solid var(--bs-primary);
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}