/*
 * Página Home
 * (extraído dos templates — não misturar CSS com HTML)
 */

    /* Estilos complementares específicos para a seção da 4ª Jornada */
    .jornada-actions {
      display: flex;
      gap: 20px;
      margin-top: 30px;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn-primary {
      background: var(--primary-blue);
      color: var(--white);
      padding: 12px 30px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      box-shadow: 0 5px 15px rgba(0, 51, 153, 0.2);
    }

    .btn-primary:hover {
      background: var(--dark-blue);
      transform: translateY(-2px);
      color: var(--white);
    }

    .badge-free {
      display: inline-block;
      background: var(--primary-green);
      color: var(--white);
      padding: 6px 14px;
      font-weight: 700;
      border-radius: 4px;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 15px;
    }
    
    /* Adicionado para garantir que o vídeo se comporte bem dentro do container */
    video.feature-img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    .feature-grid-1-3 {
        grid-template-columns: 1fr 2fr;
    }
    @media only screen and(max-width: 780px){
        .feature-grid-1-3{
            display: block;
        }
    }
  

			/* Container para o vídeo em destaque (Horizontal) */
.event-featured-video {
    width: 100%;
    background: #000;
    line-height: 0;
    border-bottom: 5px solid var(--accent-yellow);
}

.video-horizontal-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Mantém proporção 16:9 */
}

.video-horizontal-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que preencha o espaço sem sobras */
}

/* Ajuste na área de conteúdo para não encavalar */
.event-content-area {
    padding-top: 40px;
}
			

/* --- Seção Certidão Negativa --- */
.section-certificate {
    padding: 60px 0;
    background-color: var(--white);
}

.certificate-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--primary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 30px;
}

.certificate-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.certificate-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.certificate-content {
    flex-grow: 1;
}

.certificate-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.certificate-desc {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.certificate-action {
    flex-shrink: 0;
}

.btn-certificate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-certificate:hover {
    background-color: var(--dark-blue);
    color: var(--accent-yellow);
    box-shadow: 0 5px 15px rgba(0, 51, 153, 0.2);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .certificate-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .certificate-action {
        width: 100%;
    }
    
    .btn-certificate {
        width: 100%;
        justify-content: center;
    }
}

/* Seção de eventos (recuperada) */
    /* --- SEÇÃO DE EVENTOS: 8º ENCONTRO ABPC --- */
    .section-event-feature {
        padding: 100px 0;
        background-color: var(--bg-light, #f8f9fa); /* Fundo sutil */
        position: relative;
    }

    .event-feature-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .event-feature-card {
        background: var(--white, #ffffff);
        border-radius: var(--radius-md, 12px);
        box-shadow: 0 10px 40px rgba(0, 34, 102, 0.08); /* Sombra mais elegante */
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    /* Banner Superior */
    .event-image-banner {
        width: 100%;
        height: 280px;
        background: linear-gradient(rgba(0, 34, 102, 0.75), rgba(0, 51, 153, 0.85)), 
                    url('https://images.unsplash.com/photo-1590523741831-ab7e8b8f9c7f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .event-badge {
        position: absolute;
        top: 30px;
        left: 40px;
        background: var(--accent-yellow, #ffc107);
        color: var(--dark-blue, #001f4d);
        padding: 8px 16px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 4px;
        z-index: 2;
    }

    .event-image-banner h2 {
        color: var(--white, #ffffff);
        font-size: 2.8rem;
        text-align: center;
        z-index: 2;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        margin: 0;
        font-family: 'Montserrat', sans-serif;
    }

    .event-image-banner h2 span {
        color: var(--accent-yellow, #ffc107);
        display: block;
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 2px;
        margin-top: 8px;
        text-transform: uppercase;
    }

    /* Área de Conteúdo Inferior */
    .event-content-area {
        padding: 50px 40px;
 
    }

    /* --- COLUNA ESQUERDA: INFORMAÇÕES --- */
    .event-info-column {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .event-details-list {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .event-detail-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .event-detail-icon {
        width: 55px;
        height: 55px;
        background: var(--light-green, #e8f5e9);
        color: var(--primary-green, #2e7d32);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .event-detail-text h4 {
        color: var(--primary-blue, #003399);
        font-size: 1.2rem;
        margin: 0 0 5px 0;
        font-family: 'Montserrat', sans-serif;
    }

    .event-detail-text p {
        color: var(--text-gray, #555555);
        font-size: 1.05rem;
        margin: 0;
        line-height: 1.6;
    }

    .event-detail-text strong {
        color: var(--text-dark, #222222);
    }

    /* Novo Card de Aviso ("Em breve") */
    .event-status-notice {
        background: rgba(0, 51, 153, 0.04); /* Fundo azul bem clarinho */
        border-left: 4px solid var(--primary-blue, #003399);
        padding: 20px 25px;
        border-radius: 0 8px 8px 0;
        display: inline-block;
    }

    .event-status-notice p {
        color: var(--primary-blue, #003399);
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1.5rem;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* --- COLUNA DIREITA: VÍDEO --- */
    .event-media-column {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .event-video-wrapper {
        width: 100%;
        max-width: 450px; /* Limita a largura para manter a proporção agradável */
        background-color: #000;
        border-radius: var(--radius-md, 12px);
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Sombra destacada para o player */
        position: relative;
    }

    .event-video-wrapper video {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        outline: none;
    }

    /* Responsividade */
    @media (max-width: 992px) {
        .event-content-area {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        .event-info-column {
            order: 2; /* No mobile, desce o texto */
        }
        .event-media-column {
            order: 1; /* No mobile, sobe o vídeo para primeiro plano */
        }
        .event-image-banner h2 {
            font-size: 2.2rem;
            padding: 0 20px;
        }
        .event-badge {
            top: 20px;
            left: 20px;
        }
    }

    @media (max-width: 768px) {
        .event-image-banner {
            height: 240px;
        }
        .event-content-area {
            padding: 30px 20px;
        }
        .event-detail-item {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 15px;
        }
        .event-status-notice {
            border-left: none;
            border-top: 4px solid var(--primary-blue, #003399);
            border-radius: 8px;
            text-align: center;
            widows: 100%;
        }
        .event-status-notice p {
            justify-content: center;
            flex-direction: column;
            text-align: center;
        }
    }

/* ============================================================
   Seção de eventos — estado expandido (checkbox "Em breve" off)
   Layout centralizado, premium e responsivo.
   ============================================================ */
.event-expanded {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

/* Player de vídeo 16:9 */
.event-expanded-video {
    position: relative;
    width: 100%;
    max-width: 820px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 34, 102, 0.20);
}
.event-expanded-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bloco de informações abaixo do vídeo */
.event-expanded-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

/* Logo do congresso em um cartão claro, sem estourar de tamanho */
.event-expanded-logo {
    max-width: 460px;
    width: 100%;
    height: auto;
    padding: 22px 28px;
    background: var(--white);
    border: 1px solid rgba(0, 34, 102, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 34, 102, 0.06);
}

.event-expanded-text {
    color: var(--text-gray);
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0;
}

/* Botão de ingresso — CTA em destaque */
.btn-event-ticket {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-yellow);
    color: var(--dark-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 17px 40px;
    border-radius: var(--radius-btn);
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.38);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn-event-ticket i { font-size: 1.05em; }
.btn-event-ticket:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 51, 153, 0.32);
}

@media (max-width: 768px) {
    .event-expanded { gap: 26px; }
    .event-expanded-logo { padding: 16px 18px; max-width: 320px; }
    .btn-event-ticket { width: 100%; justify-content: center; padding: 16px 24px; }
}
