/**
 * CSS do Plugin FUTURO Timeline
 * Author: Unbox | Marco Moura (https://unboxbr.com.br) | Data/Hora: 06/02/2026 17:20
 * Baseado no HTML original futuro-timeline.html
 * Cor principal: #027373
 */

/* Container da Timeline */
.timeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

/* Responsivo - ajustes mobile */
@media (max-width: 768px) {
    .timeline-container {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .timeline-container {
        gap: 2px;
    }
}

/* Círculo NÃO clicado - fundo branco, borda verde única */
.step-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    background: white;
    border: 4px solid #027373;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .step-circle {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        border: 3px solid #027373;
    }
}

@media (max-width: 480px) {
    .step-circle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border: 2px solid #027373;
    }
}

/* Círculo CLICADO/ATIVO - fundo verde, borda dupla (branca interna + verde externa) */
.step-circle.active {
    background: #027373;
    border: 3px solid white;
    box-shadow: 0 0 0 4px #027373;
}

@media (max-width: 768px) {
    .step-circle.active {
        border: 2px solid white;
        box-shadow: 0 0 0 3px #027373;
    }
}

@media (max-width: 480px) {
    .step-circle.active {
        border: 2px solid white;
        box-shadow: 0 0 0 2px #027373;
    }
}

/* Letra dentro do círculo */
.step-circle span {
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
    font-family: 'MuseoModerno', cursive;
    color: #027373;
}

@media (max-width: 768px) {
    .step-circle span {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .step-circle span {
        font-size: 22px;
    }
}

.step-circle.active span {
    color: white;
}

.step-circle:hover {
    transform: scale(1.05);
}

/* Barra de conexão - AGUARDANDO preenchimento (linha branca com bordas verdes top e bottom) */
.connector-line {
    width: 90px;
    height: 8px;
    background: white;
    border-top: 2px solid #027373;
    border-bottom: 2px solid #027373;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .connector-line {
        width: 40px;
        height: 6px;
    }
}

@media (max-width: 640px) {
    .connector-line {
        width: 20px;
        height: 4px;
        border-top: 1px solid #027373;
        border-bottom: 1px solid #027373;
    }
}

@media (max-width: 480px) {
    .connector-line {
        width: 10px;
        height: 3px;
        border-top: 1px solid #027373;
        border-bottom: 1px solid #027373;
    }
}

@media (max-width: 380px) {
    .connector-line {
        display: none;
    }
}

/* Barra PREENCHIDA - linha sólida verde com borda arredondada */
.connector-line.filled {
    background: #027373;
    border: none;
    border-radius: 5px;
}

/* Info box - com degradê e altura fixa */
.info-box {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    /* Degradê: verde mais claro em cima, mais escuro embaixo */
    background: linear-gradient(180deg, #027373 0%, #015858 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 380px;
    max-width: 90%;
    /* Altura fixa para uniformizar todos os balões */
    min-height: 140px;
    opacity: 0;
    transition: opacity 0.2s ease, left 0.3s ease;
    pointer-events: none;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .info-box {
        top: 100px;
        min-width: 300px;
        min-height: 120px;
        padding: 20px 24px;
        /* No mobile, sempre centralizado - ignora posicionamento JS */
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 480px) {
    .info-box {
        top: 80px;
        min-width: 280px;
        max-width: 85%;
        min-height: 100px;
        padding: 16px 20px;
        border-radius: 12px;
        /* No mobile, sempre centralizado - ignora posicionamento JS */
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.info-box.show {
    opacity: 1;
    pointer-events: auto;
}

/* Seta apontando para cima - cor ajustada para o topo do degradê */
.info-box::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 14px solid #027373;
}

.info-box h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'MuseoModerno', cursive;
    margin-top: 0;
}

@media (max-width: 768px) {
    .info-box h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .info-box h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

.info-box p {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 8px;
    font-family: 'MuseoModerno', cursive;
}

@media (max-width: 768px) {
    .info-box p {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .info-box p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 5px;
    }
}

.info-box p:last-child {
    font-weight: 600;
    margin-bottom: 0;
}

/* Animações de entrada inicial */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-circle,
.connector-line {
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

.step-circle:nth-of-type(1) {
    animation-delay: 0s;
}

.connector-line:nth-of-type(2) {
    animation-delay: 0.05s;
}

.step-circle:nth-of-type(3) {
    animation-delay: 0.1s;
}

.connector-line:nth-of-type(4) {
    animation-delay: 0.15s;
}

.step-circle:nth-of-type(5) {
    animation-delay: 0.2s;
}

.connector-line:nth-of-type(6) {
    animation-delay: 0.25s;
}

.step-circle:nth-of-type(7) {
    animation-delay: 0.3s;
}

.connector-line:nth-of-type(8) {
    animation-delay: 0.35s;
}

.step-circle:nth-of-type(9) {
    animation-delay: 0.4s;
}

.connector-line:nth-of-type(10) {
    animation-delay: 0.45s;
}

.step-circle:nth-of-type(11) {
    animation-delay: 0.5s;
}

/* Container principal - reserva espaço para o info-box */
.futuro-wrapper {
    position: relative;
    min-height: 300px;
}

@media (max-width: 768px) {
    .futuro-wrapper {
        min-height: 270px;
    }
}

@media (max-width: 480px) {
    .futuro-wrapper {
        min-height: 240px;
    }
}