:root {
    --primary-color: #123021;
    --primary-color-light: #1a4731;
    --secondary-color: #cff3c2;
    --secondary-color-light: #e8f5e9;
    --accent-color: #d64000;
    --accent-color-light: #ff6a33;
    --text-dark: #123021;
    --text-light: #ffffff;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 3rem;
    flex: 1;
}

.intro {
    background-color: white;
    padding: 1.5rem 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.intro h1 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    font-size: 1.8rem;
}

.intro h1::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.intro p {
    color: var(--text-dark);
    max-width: 1100px;
    margin: 1rem auto 0;
    font-size: 0.95rem;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.faq-card {
    background-color: var(--white);
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 100%;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.faq-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight {
    color: var(--accent-color);
    font-weight: 500;
    background: rgba(214, 64, 0, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

.faq-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.faq-card li {
    background: #f8f9fa;
    border-left: 3px solid var(--secondary-color);
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.6rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.faq-card li:hover {
    background-color: #e8f5e9;
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(18, 48, 33, 0.1);
}

.faq-card li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1rem;
}

/* --- JORNADA DE APRENDIZADO TRILHA VERTICAL --- */
.journey-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem 3rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--secondary-color);
}

.journey-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.journey-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.journey-header h2 i {
    color: var(--accent-color);
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.journey-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

/* TRILHA VERTICAL REESTILIZADA */
.timeline-container {
    position: relative;
    margin: 2rem 0;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.timeline-track {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Linha central da trilha */
.timeline-track::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    z-index: 0;
    border-radius: 8px;
}

/* Step */
.timeline-step {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 1.8rem;
    min-height: 72px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Número circular */
.step-number {
    z-index: 2;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(18, 48, 33, 0.18);
    border: 4px solid #fff;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.08);
    }
}

.step-number:hover {
    transform: translateX(-50%) scale(1.13) rotate(7deg);
    box-shadow: 0 8px 22px rgba(18, 48, 33, 0.24);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
}

/* Linha de conexão entre os steps */
.timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 42px;
    width: 6px;
    height: calc(100% - 42px);
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 8px;
}

/* Card expandido - MAIS LARGO */
.step-card {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    text-align: left;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--secondary-color);
    width: 380px;
    margin-left: 65px;
    margin-top: 0;
    font-size: 0.94rem;
    position: relative;
    z-index: 2;
}

.step-card:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.11);
    border-color: var(--accent-color);
}

.step-title {
    color: var(--primary-color);
    font-size: 1.01rem;
    font-weight: bold;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

.step-description {
    color: #666;
    line-height: 1.4;
    flex-grow: 1;
    font-size: 0.92rem;
}

/* --- SEÇÃO VALIDADORES (ESTILO DISCRETO) --- */
.validators-section {
    background-color: var(--white);
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem 3rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.validators-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.validators-header {
    margin-bottom: 1.5rem;
}

.validators-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.validators-header h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.validators-description {
    color: var(--text-dark);
    font-size: 0.95rem;
    background: rgba(207, 243, 194, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 1.5rem;
}

.validators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.2rem;
}

.validator-item {
    background: #f8f9fa;
    border-left: 3px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.validator-item:hover {
    background-color: var(--secondary-color-light);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(18, 48, 33, 0.1);
}

.validator-item::before {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1rem;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.validator-link {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    padding-left: 2rem;
}

.validator-link:hover {
    color: var(--primary-color);
}

.validator-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.validator-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Responsivo */
@media (max-width: 1400px) {
    .container {
        max-width: 95%;
        padding: 2rem 2.5rem;
    }

    .faq-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-card {
        padding: 2rem 2.5rem;
    }

    .step-card {
        width: 350px;
    }

    .validators-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .step-card {
        width: 85vw;
        margin-left: 60px;
    }

    .validators-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 800px) {
    .timeline-track {
        max-width: 98vw;
    }

    .step-card {
        width: 82vw;
        min-width: 0;
        margin-left: 55px;
        font-size: 0.91rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 1rem 0.3rem;
    }

    .faq-card {
        padding: 1.2rem 0.5rem;
    }

    .journey-section {
        padding: 1rem 0.2rem;
    }

    .validators-section {
        padding: 1.5rem 1rem;
    }

    .step-card {
        padding: 0.6rem 0.8rem;
        margin-left: 50px;
        width: calc(100vw - 70px);
        min-width: 0;
        font-size: 0.89rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.93rem;
        top: 0;
    }

    .timeline-step:not(:last-child)::after {
        width: 5px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

.delay-6 {
    animation-delay: 1.2s;
}

.delay-7 {
    animation-delay: 1.4s;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

footer .container {
    padding: 0 20px;
}

.text-center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.back-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--accent-color-light);
    transform: translateY(-2px);
}