@charset "UTF-8";

:root {
    /* NOVA PALETA DE CORES - TEMA SUSTENTÁVEL */
    --bg-white: #FFFFFF;
    --bg-light-sand: #F9F7F4;       /* Um tom de areia claro para o fundo */
    --primary-green: #0A6847;       /* Verde escuro para títulos e destaques */
    --secondary-blue: #247B7B;      /* Azul-petróleo para links e botões secundários */
    --accent-orange: #F37924;       /* Laranja para botões de ação (CTA) */
    --text-dark-charcoal: #333333;  /* Cinza escuro (carvão) para textos */
    --text-muted: #6c757d;
    --font-family: 'Poppins', sans-serif;
}

/* --- Reset e Configurações Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-dark-charcoal); 
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- SEÇÃO DO BANNER --- */
.hero-banner {
    background: url('banner-eneoeste.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 90vh; 
}


/* --- Barra de Informações --- */
.info-bar {
    background-color: var(--bg-light-sand);
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.info-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.info-bar span {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-bar span strong {
    color: var(--text-dark-charcoal);
}

/* --- Seção do Botão Principal --- */
.cta-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    font-weight: 700;
    text-decoration: none;
    padding: 20px 50px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 121, 36, 0.4);
}

.cta-button.secondary-button {
    background-color: var(--secondary-blue);
    font-size: 1rem;
    padding: 15px 40px;
}

.cta-button.secondary-button:hover {
    box-shadow: 0 5px 15px rgba(36, 123, 123, 0.4);
}


/* --- SEÇÕES DE CONTEÚDO --- */
.main-content {
    padding-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--text-dark-charcoal);
}

.section-title span {
    color: var(--primary-green);
}

/* --- Seção de Palestrantes --- */
.speakers {
    padding-bottom: 80px;
}
.speakers-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.speaker-card {
    background-color: var(--bg-white);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    width: 320px;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.speaker-photo {
    height: 320px;
    overflow: hidden;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.speaker-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-dark-charcoal);
    padding: 0 10px;
}

.speaker-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 10px;
}

/* --- Seção de Programação --- */
.schedule {
    padding: 80px 0;
    background-color: var(--bg-light-sand);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-link {
    background: none;
    border: 2px solid #ced4da;
    color: var(--text-muted);
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
}

.tab-link.active,
.tab-link:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
    border-color: var(--primary-green);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.tab-content.active {
    display: block;
}

.schedule-item {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    align-items: flex-start;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .time {
    color: var(--secondary-blue);
    font-size: 1.1rem;
    font-weight: 700;
    flex-basis: 120px;
}

.schedule-item .description h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark-charcoal);
}

.schedule-item .description p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Seção do Formulário --- */
.form-section {
    padding: 80px 20px;
    text-align: center;
}

.form-subtitle {
    max-width: 600px;
    margin: -30px auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

#registrationForm {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 20px;
}

#registrationForm input {
    background-color: var(--bg-white);
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 15px;
    font-size: 1rem;
    color: var(--text-dark-charcoal);
    font-family: var(--font-family);
}

#registrationForm input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(10, 104, 71, 0.15);
}

/* --- Seção de Localização --- */
.location-section {
    padding: 80px 20px;
    background-color: var(--bg-light-sand);
}

.location-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.location-map {
    flex: 1;
    min-width: 300px;
}

.location-map iframe {
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.location-details {
    flex: 1;
    min-width: 300px;
}

.location-details h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.location-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.location-details p strong {
    color: var(--text-dark-charcoal);
}

.location-details p a {
    color: var(--text-dark-charcoal);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.location-details p a:hover {
    color: var(--primary-green);
}

/* --- Rodapé --- */
.footer {
    text-align: center;
    padding: 30px 0;
    background-color: var(--text-dark-charcoal);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Mensagem de Sucesso --- */
.success-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 200%);
    background-color: var(--primary-green);
    color: var(--bg-white);
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
}

.success-message.show {
    transform: translate(-50%, 0);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 50vh;
    }
    
    .section-title {
        font-size: 2rem;
    }

    /* AJUSTE PARA A PROGRAMAÇÃO NO CELULAR (VERSÃO FINAL) */
    .schedule-item {
        flex-direction: column;
        gap: 0;
    }
    
    .schedule-item .time {
        flex-basis: auto;
        color: var(--primary-green);
        margin-bottom: 0;
    }

    .schedule-item .description h4 {
        margin: 0;
    }
    
    .location-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- Modal do Palestrante --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 600px;
    width: 100%;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-dark-charcoal);
}

.modal-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid var(--bg-light-sand);
    display: block;
}

.modal-name {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.modal-title {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 400;
}

.modal-bio {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    color: var(--text-dark-charcoal);
}

/* Estilo para esconder o H1 principal */
.hidden-h1 {
    opacity: 0;
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}