/**
 * Portal Premium - Estilos Unificados
 * Prefeitura Municipal de Nova Laranjeiras
 * Versão: 2.0
 */

/* ===========================
   Variáveis CSS Customizadas
   =========================== */
:root {
    --primary: #1e3a5f;
    --primary-light: #2c4d75;
    --primary-dark: #0f1e33;
    --secondary: #00a859;
    --secondary-light: #00c969;
    --secondary-dark: #008749;
    --accent: #ffd700;
    --dark: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

/* ===========================
   Reset e Base
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===========================
   Barra de Acessibilidade
   =========================== */
.accessibility-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.btn-access {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 5px 12px;
    margin: 0 3px;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-access:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ===========================
   Barra de Informações Superior
   =========================== */
.top-info-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
    font-size: 14px;
}

.info-item {
    margin-right: 20px;
    color: var(--gray-600);
}

.info-item i {
    color: var(--secondary);
    margin-right: 5px;
}

/* ===========================
   Navegação Principal
   =========================== */
.navbar-premium {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-premium .navbar-brand {
    padding: 10px 0;
}

.navbar-premium .navbar-brand img {
    height: 80px;
    transition: var(--transition);
}

.navbar-premium .navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-premium .navbar-nav .nav-link {
    color: var(--gray-800);
    font-weight: 500;
    padding: 25px 20px;
    position: relative;
    transition: var(--transition);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-premium .navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    transition: var(--transition);
}

.navbar-premium .navbar-nav .nav-link:hover,
.navbar-premium .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-premium .navbar-nav .nav-link:hover:before,
.navbar-premium .navbar-nav .nav-link.active:before {
    width: 80%;
}

.navbar-premium .dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    margin-top: 0;
    min-width: 280px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-premium .dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 400;
    color: var(--gray-700);
}

.navbar-premium .dropdown-item:hover {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    transform: translateX(5px);
}

.navbar-premium .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

/* ===========================
   Hero Section / Carousel
   =========================== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--white);
}

.hero-carousel {
    height: 100%;
}

.hero-carousel .swiper-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.hero-carousel .slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-carousel .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 12px;
    height: 12px;
}

.hero-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.hero-carousel .swiper-button-next,
.hero-carousel .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 30px 20px;
    border-radius: 10px;
}

.hero-carousel .swiper-button-next:after,
.hero-carousel .swiper-button-prev:after {
    font-size: 20px;
}

/* ===========================
   Cards e Componentes
   =========================== */
.service-card-premium {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-premium .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card-premium:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.service-card-premium .icon-wrapper i {
    font-size: 32px;
    color: white;
}

.service-card-premium h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.service-card-premium p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===========================
   Cards de Notícias
   =========================== */
.news-card-premium {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-card-premium .news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-premium .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card-premium:hover .news-image img {
    transform: scale(1.1);
}

.news-card-premium .news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-premium .news-placeholder i {
    font-size: 48px;
    color: var(--gray-400);
}

.news-card-premium .news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-premium .news-date {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.news-card-premium .news-date i {
    margin-right: 5px;
}

.news-card-premium h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-800);
    line-height: 1.4;
}

.news-card-premium .news-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 15px;
}

.news-card-premium .read-more {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.news-card-premium .read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-card-premium .read-more:hover {
    color: var(--secondary);
}

.news-card-premium .read-more:hover i {
    transform: translateX(5px);
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ===========================
   Footer Premium
   =========================== */
.footer-premium {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--dark) 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    margin-top: auto;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.footer-widget h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-widget ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-widget ul li a i {
    margin-right: 8px;
    font-size: 12px;
}

.footer-social {
    margin-top: 30px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ===========================
   Floating Action Buttons
   =========================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border: none;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    text-decoration: none;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.fab-button.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.fab-button.back-to-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: none;
}

.fab-button.back-to-top.show {
    display: flex;
}

/* ===========================
   Transparency Section
   =========================== */
.transparency-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.transparency-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.transparency-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.transparency-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.transparency-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.transparency-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.transparency-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* ===========================
   Loading Animation
   =========================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid var(--gray-200);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===========================
   Custom Scrollbar
   =========================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

/* ===========================
   Alto Contraste
   =========================== */
body.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

body.high-contrast * {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.high-contrast a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.high-contrast .btn,
body.high-contrast button {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #fff !important;
}

body.high-contrast img {
    opacity: 0.8 !important;
    filter: grayscale(100%) contrast(120%) !important;
}

body.high-contrast .navbar,
body.high-contrast .footer-premium {
    border-top: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
}

body.high-contrast .card {
    border: 2px solid #fff !important;
}

/* ===========================
   Responsividade
   =========================== */
@media (max-width: 768px) {
    .hero-carousel {
        height: 300px;
    }
    
    .hero-carousel .slide-bg {
        height: 300px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .navbar-premium .navbar-nav .nav-link {
        padding: 15px 10px;
    }
    
    .service-card-premium {
        margin-bottom: 20px;
    }
    
    .top-info-bar {
        display: none;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-premium .navbar-brand img {
        height: 60px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .transparency-card h3 {
        font-size: 1.8rem;
    }
}

/* ===========================
   Timeline - Estrutura Robusta, Elegante e Profissional
   =========================== */
.timeline {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px;
}

/* Linha Central Principal - Mais Grossa e Gradiente */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        #dee2e6 10%, 
        var(--primary) 50%, 
        #dee2e6 90%, 
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(30,58,95,0.1);
}

/* Container de Cada Item da Timeline */
.timeline-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    min-height: 200px;
}

/* Conteúdo Lado Esquerdo */
.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(odd) .timeline-content {
    width: calc(50% - 60px);
    margin-right: 60px;
    animation: slideInLeft 0.8s ease-out;
}

/* Conteúdo Lado Direito */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    width: calc(50% - 60px);
    margin-left: 60px;
    animation: slideInRight 0.8s ease-out;
}

/* Card de Conteúdo Principal */
.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px;
    padding-top: 55px;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.08),
        0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

/* Barra Lateral Colorida */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: 0;
}

/* Efeito Hover no Card */
.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.12),
        0 15px 30px rgba(0,0,0,0.08);
}

/* Badge de Data Central - Maior e Mais Elegante */
.timeline-date {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 
        0 10px 40px rgba(30,58,95,0.3),
        inset 0 2px 4px rgba(255,255,255,0.2);
    z-index: 15;
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

/* Círculo Central na Linha */
.timeline-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 5px solid var(--primary);
    border-radius: 50%;
    z-index: 12;
    box-shadow: 
        0 0 0 8px rgba(30,58,95,0.1),
        0 5px 20px rgba(30,58,95,0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node {
    transform: translate(-50%, -50%) scale(1.3);
    border-color: var(--secondary);
    box-shadow: 
        0 0 0 12px rgba(0,168,89,0.1),
        0 8px 30px rgba(0,168,89,0.3);
}

/* Linhas Conectoras - Mais Visíveis */
.timeline-connector {
    position: absolute;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #dee2e6 50%, transparent 100%);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-connector {
    left: calc(50% + 15px);
    right: calc(50% + 60px);
}

.timeline-item:nth-child(even) .timeline-connector {
    right: calc(50% + 15px);
    left: calc(50% + 60px);
}

/* Ícone Decorativo Grande */
.timeline-icon {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 
        0 8px 25px rgba(0,168,89,0.2),
        inset 0 2px 4px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: 25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: 25px;
}

.timeline-content:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 
        0 12px 35px rgba(0,168,89,0.3),
        inset 0 2px 4px rgba(255,255,255,0.3);
}

/* Título do Evento */
.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.6rem;
    position: relative;
    padding-left: 25px;
}

/* Texto do Conteúdo */
.timeline-content p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* Animações de Entrada */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsividade da Timeline */
@media (max-width: 992px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 80px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 40px);
        margin: 0;
    }
    
    .timeline-date {
        left: 40px;
        transform: translateX(-50%) translateY(-50%);
        min-width: auto;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .timeline-node {
        left: 40px;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .timeline-icon {
        right: 20px !important;
        left: auto !important;
        top: -25px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Texto */
.timeline-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Hover Simples e Elegante */
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

/* Animação da Linha Central */
.timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--secondary), transparent);
    transform: translateX(-50%);
    animation: lineFlow 4s linear infinite;
}

@keyframes lineFlow {
    0% { top: -100px; }
    100% { top: 100%; }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 15px;
        margin-left: 60px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-content::before {
        left: -45px !important;
        right: auto !important;
    }
}

/* ===========================
   Page Hero Section
   =========================== */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.page-hero-parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* ===========================
   Stat Cards
   =========================== */
.stat-card {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Utilitários
   =========================== */
.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.shadow-soft {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

/* ===========================
   Animações
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease;
}

.animate-slideInUp {
    animation: slideInUp 0.5s ease;
}

.animate-slideInLeft {
    animation: slideInLeft 0.5s ease;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease;
}