/* Linha do Tempo - Estilos principais */

.linhadotempo-container {
    padding: 60px 20px;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.linhadotempo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.linhadotempo-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    padding-left: 80px;
}

/* Marcador circular */
.linhadotempo-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.linhadotempo-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Linha vertical conectando os itens */
.linhadotempo-line {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 2px;
    height: calc(100% + 26px);
    background-color: #E0E0E0;
    z-index: 1;
}

.linhadotempo-item:last-child .linhadotempo-line {
    display: none;
}

/* Conteúdo da timeline */
.linhadotempo-content {
    flex: 1;
    padding-top: 2px;
}

/* Subtítulo (acima do título) */
.linhadotempo-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    display: block;
}

/* Título principal */
.linhadotempo-title {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.4;
}

/* Descrição */
.linhadotempo-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.linhadotempo-description p {
    margin: 0;
}

/* Mensagem quando não há itens */
.linhadotempo-empty {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .linhadotempo-container {
        padding: 40px 15px;
    }

    .linhadotempo-item {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .linhadotempo-title {
        font-size: 20px;
    }

    .linhadotempo-description {
        font-size: 14px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .linhadotempo-container {
        padding: 30px 10px;
    }

    .linhadotempo-item {
        padding-left: 50px;
        margin-bottom: 30px;
    }

    .linhadotempo-marker {
        width: 12px;
        height: 12px;
    }

    .linhadotempo-line {
        left: 8px;
        top: 18px;
        height: calc(100% + 22px);
    }

    .linhadotempo-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .linhadotempo-title {
        font-size: 18px;
    }

    .linhadotempo-description {
        font-size: 13px;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.linhadotempo-item {
    animation: fadeInUp 0.6s ease-out;
}

.linhadotempo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.linhadotempo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.linhadotempo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.linhadotempo-item:nth-child(n+4) {
    animation-delay: calc(0.1s * (var(--item-index, 4)));
}

.linhadotempo-faq {
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.linhadotempo-faq-search {
    position: relative;
    max-width: 720px;
    margin: 0 auto 10px;
}

.linhadotempo-faq-search-input {
    width: 100%;
    min-height: 54px;
    padding: 13px 50px 13px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.linhadotempo-faq-search-input:focus {
    border-color: var(--linhadotempo-faq-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--linhadotempo-faq-color) 18%, transparent);
}

.linhadotempo-faq-search-input::placeholder {
    color: #888;
}

.linhadotempo-faq-search-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 15px;
    height: 15px;
    border: 2px solid var(--linhadotempo-faq-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(-58%);
}

.linhadotempo-faq-search-icon::after {
    content: '';
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 7px;
    height: 2px;
    background: var(--linhadotempo-faq-color);
    transform: rotate(45deg);
    transform-origin: left center;
}

.linhadotempo-faq-results {
    min-height: 20px;
    max-width: 1200px;
    margin: 0 auto 5px;
    color: #777;
    font-size: 13px;
    text-align: center;
}

.linhadotempo-faq-no-results {
    padding: 40px 20px;
    color: #777;
    text-align: center;
}

.linhadotempo-faq-no-results[hidden],
.linhadotempo-faq-item[hidden] {
    display: none;
}

.linhadotempo-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.linhadotempo-faq-item {
    border-bottom: 1px solid var(--linhadotempo-faq-color);
    color: var(--linhadotempo-faq-color);
}

.linhadotempo-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    color: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.linhadotempo-faq-question::-webkit-details-marker {
    display: none;
}

.linhadotempo-faq-question::marker {
    content: '';
}

.linhadotempo-faq-icon {
    position: relative;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.linhadotempo-faq-icon::before,
.linhadotempo-faq-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease;
}

.linhadotempo-faq-icon::after {
    transform: rotate(90deg);
}

.linhadotempo-faq-item[open] .linhadotempo-faq-icon::after {
    transform: rotate(0deg);
}

.linhadotempo-faq-answer {
    padding: 0 34px 22px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.linhadotempo-faq-answer p:first-child {
    margin-top: 0;
}

.linhadotempo-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .linhadotempo-faq {
        padding: 20px 15px;
    }

    .linhadotempo-faq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .linhadotempo-faq-question {
        padding: 20px 0;
        font-size: 16px;
    }

    .linhadotempo-faq-answer {
        padding-bottom: 20px;
        font-size: 14px;
    }
}
