/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */

:root {
    --primary-dark: #1a252f;
    --accent-gradient: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --text-main: #333;
    --text-light: #777;
    --bg-panel: rgba(255, 255, 255, 0.9);
    /* Aumentada opacidade para leitura */
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/*SEÇÃO PRINCIPAL

.premium-timeline-section {
    padding: 80px 0;
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    /* Removido overflow: hidden para evitar cortes de sombras e conteúdo
    background: linear-gradient(rgba(255, 255, 255, 0.3)), url('../img/index/index_sobreempresa.jpg') center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}*/


/* =========================================================
   PREMIUM TIMELINE
========================================================= */

.premium-timeline-section {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: clamp(60px, 8vw, 100px) 0;
    overflow: hidden;
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    background-image: linear-gradient( rgba(255, 255, 255, .30), rgba(255, 255, 255, .30)), url('../img/index/index_sobreempresa.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}


/* --- CABEÇALHO DA SEÇÃO --- */

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 0 auto;
    border-radius: 2px;
}


/* --- ESTRUTURA DA TIMELINE --- */

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
    opacity: 0.2;
}


/* BLOCOS DE CONTEÚDO */

.timeline-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Alinha ao topo para evitar estiramento */
    margin-bottom: 50px;
    width: 100%;
    position: relative;
}

.block-left {
    flex-direction: row-reverse;
}


/* Círculos Numéricos */

.timeline-dot-wrapper {
    position: absolute;
    left: 50%;
    top: 20px;
    /* Alinhado ao topo do card */
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-dot {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    /* EFEITO LUMINOSO (GLOW) */
    /* 1ª sombra: brilho interno sutil */
    /* 2ª sombra: brilho externo sólido */
    /* 3ª sombra: aura de luz difusa */
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5), 0 0 15px rgba(52, 152, 219, 0.7), 0 0 30px rgba(52, 152, 219, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    animation: glow-pulse 3s infinite alternate;
    /* Opcional: faz a luz pulsar */
}


/* Efeito ao passar o mouse: intensifica a luz */

.timeline-dot:hover {
    transform: scale(1.1);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(52, 152, 219, 0.9), 0 0 45px rgba(52, 152, 219, 0.6);
}


/* Animação para a luz "respirar" */

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5), 0 0 20px rgba(52, 152, 219, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(177, 177, 177, 0.8), 0 0 40px rgba(52, 152, 219, 0.5);
    }
}


/* --- O CARTÃO (SOLUÇÃO PARA O CORTE DE TEXTO) --- */

.timeline-card {
    width: 45%;
    /* Removido height fixo ou min-height limitante */
    height: auto;
    display: block;
    /* Garante fluxo natural de texto */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: clamp(20px, 4vw, 35px);
    /* Padding dinâmico */
    border-radius: 15px;
    border: 1px solid rgba(70, 123, 153, 0.5);
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    overflow: visible;
    /* Nunca corta o conteúdo */
}

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


/* Detalhes Internos */

.card-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 10px;
}

.card-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    object-fit: contain;
}

.card-header h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--primary-dark);
    margin: 0;
    font-weight: 700;
}


/* LISTAS E TEXTOS */

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-list li {
    padding: 10px 0 10px 25px;
    color: var(--text-main);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
    position: relative;
    font-weight: normal
}

.premium-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.description-text {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-main);
    line-height: 1.6;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #009bde;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.download-link:hover {
    background: #0077ad;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 155, 222, .25);
}


/* --- RESPONSIVIDADE (MOBILE) --- */

@media (min-width:1920px) {
    .premium-timeline-section {
        min-height: 100dvh;
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width:1400px) {
    .premium-timeline-section {
        background-position: center;
        min-height: 85vh;
    }
}

@media (max-width:1024px) {
    .premium-timeline-section {
        min-height: auto;
        padding: 70px 0;
        background-position: center;
        background-size: cover;
        background-attachment: scroll;
    }
}

@media screen and (max-width: 900px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    .timeline-block {
        flex-direction: row !important;
        padding-left: 50px;
        margin-bottom: 30px;
    }
    .timeline-dot-wrapper {
        left: 20px;
    }
    .timeline-card {
        width: 100%;
        padding: 20px;
    }
    /* Ajuste de animações para não quebrar layout mobile */
    .block-left.animate-on-scroll,
    .block-right.animate-on-scroll {
        transform: translateY(20px);
        /* Anima para cima no mobile, mais seguro */
    }
}

@media (max-width:768px) {
    .premium-timeline-section {
        min-height: auto;
        padding: 60px 0;
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
    }
}

@media (max-width:480px) {
    .premium-timeline-section {
        padding: 50px 0;
        background-position: center;
        background-size: cover;
    }
}