/* ============================================================
 * 1. HERO SECTION (Cabeçalho do Evento)
 * ============================================================ */
.event-hero {
    padding: 4rem 0;
    margin-bottom: 3rem;
    background-color: var(--color-primary);
    background-image: linear-gradient(rgba(11, 44, 74, 0.8), rgba(11, 44, 74, 0.8));
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-base);
}

.event-hero h1 {
    color: var(--color-base);
    font-size: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.event-hero .event-subtitle {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.event-hero .event-date {
    font-size: 1.2rem;
    color: var(--color-base);
    font-weight: 500;
    margin-bottom: 0;
}

.event-hero .event-description {
    max-width: 740px;
    margin: 1.75rem auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
 * 2. ESTRUTURA GERAL DE DETALHES (Grid Principal tipo Masonry)
 * ============================================================ */
.event-details-section {
    padding: 5rem 0;
}

.event-details-section .section-title-alt {
    font-size: 2.2rem;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
}

/* ============================================================
 * 2. ESTRUTURA GERAL DE DETALHES (Colunas Estruturais)
 * ============================================================ */
.event-layout-columns {
    display: flex;
    flex-direction: column; /* Mobile: Uma coluna, tudo empilhado */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-column {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Espaçamento vertical entre os cards da mesma coluna */
    width: 100%;
}

/* Layout Desktop: Duas colunas lado a lado */
@media (min-width: 993px) {
    .event-layout-columns {
        flex-direction: row; /* Coloca as duas colunas lado a lado */
        align-items: flex-start; /* Impede que os cards estiquem a altura atoa */
    }

    .event-column {
        flex: 1; /* Faz as duas colunas terem exatamente 50% da largura */
    }
}

.event-info-item {
    background: var(--color-background-alt);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-accent);
    transition: transform 0.2s ease;
    height: fit-content;
}

.section-divider {
    border-bottom: 3px solid var(--color-accent);
    margin-top: 3rem;
}

/* ============================================================
 * 3. COLUNA 1: CRONOGRAMA (Estilo Timeline)
 * ============================================================ */
.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 11px;
    height: 100%;
    width: 2px;
    background-color: var(--color-secondary);
    opacity: 0.5;
}

.timeline-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--color-background-alt);
}

.timeline-list .time {
    font-weight: 700;
    color: var(--color-primary);
    min-width: 70px;
    margin-left: 2rem;
    font-size: 1.05rem;
}

.timeline-list .timeline-content {
    color: var(--color-text-dark);
    line-height: 1.4;
    padding-top: 2px;
}

.timeline-list .timeline-content span {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* ============================================================
 * 4. COLUNA 2: CONDUTORAS (Cards de Perfil)
 * ============================================================ */
.prof-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.prof-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-background-alt);
    box-shadow: var(--box-shadow);
}

.prof-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prof-details h4 {
    margin: 0 0 0.25rem 0;
    color: var(--color-primary);
    font-size: 1.15rem;
}

.prof-details p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.5;
}

/* ============================================================
 * 5. COLUNA 3: INFORMAÇÕES GERAIS E MAPA RURAL
 * ============================================================ */
.event-info-item {
    background: var(--color-background-alt);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-accent);
    transition: transform 0.2s ease;
    height: fit-content;
}

.event-info-item:hover {
    transform: translateY(-2px);
}

.event-info-item h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.event-info-item h3 svg {
    color: var(--color-accent);
}

.event-info-item p {
    margin: 0;
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* Foco Rural: Design específico para mapas sem endereço de texto */
.map-rural-focus {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    /* Margens negativas para anular o padding do card e encostar nas bordas */
    margin: 0 -1.75rem -1.75rem -1.75rem; 
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.map-rural-focus #mapa-evento {
    width: 100%;
    height: 250px;
    border: none;
}

/* Banner do Mapa (PC) */
.rural-location-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-primary);
    padding: 1.5rem 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    gap: 2rem;
}

.rural-info {
    display: flex;
    flex-direction: column;
    color: var(--color-base);
}

.rural-info strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 4px;
}

.rural-info span {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

/* Botão de Traçar Rota refatorado para melhor contraste */
.btn-acao-mapa.destaque {
    padding: 0.8rem 1.5rem;
    gap: 0.75rem;
    white-space: nowrap;
    background-color: transparent;
    color: var(--color-base);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-acao-mapa.destaque:hover {
    background-color: var(--color-base);
    color: var(--color-primary);
    border-color: var(--color-base);
    transform: translateY(-1px);
}

/* =========================================
 * 6. REFINAMENTO: O QUE LEVAR (MODULAR)
 * ========================================= */
.info-checklist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: grid;
    gap: 1rem;
}

.info-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.info-checklist p {
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-dark);
}

.info-checklist p strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================================
 * 7. FLUXO DE COMPRA E PAGAMENTO (Passos e Stripe)
 * ============================================================ */
.passos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.passo {
    background: var(--color-base);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.passo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.passo span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-base);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.passo h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stripe-accepted-brands {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 15px 0 20px 0;
}

.brands-label {
    font-size: 0.85rem;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brands-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.brands-logos img {
    height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.brands-logos img:hover {
    opacity: 1;
}

.payment-email-warning {
    background-color: #fdfaf3;
    border-left: 4px solid #d4af37;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-align: left;
    color: #555;
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

.investment-proof {
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.investment-proof .aviso {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-number-caption {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 10px;
    display: block;
}

/* ============================================================
 * 8. RESPONSIVIDADE (Mobile & Tablets)
 * ============================================================ */
@media (max-width: 992px) {
    .event-hero h1 {
        font-size: 2.5rem;
    }

    .event-hero .event-subtitle {
        font-size: 1.2rem;
    }

    /* O grid já cai para flex column automaticamente fora da media query de min-width: 993px */

    .rural-location-banner {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .rural-info strong {
        font-size: 1.1rem;
    }

    .btn-acao-mapa.destaque {
        width: 100%;
        justify-content: center;
    }

    .passos-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .event-hero h1 {
        font-size: 2rem;
    }

    .event-hero .event-subtitle {
        font-size: 1.1rem;
    }
}