/* * ARQUIVO DE ESTILO - TEMA BLUE TEAL 2026 (MENU SEMPRE VISÍVEL) */

/* =========================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    --primary-color: #348888;
    --secondary-color: #22BABB;
    --light-color: #9EF8EE;
    --background-color: #F9FEFD;
    --surface-color: #FFFFFF;
    --accent-color: #FA7F08;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;

    --container-width: 1100px;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.3; }
a { text-decoration: none; transition: all 0.3s ease; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* =========================================
   2. CABEÇALHO E NAVEGAÇÃO
   ========================================= */
.main-header {
    background-color: var(--surface-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap; /* Permite que o menu desça se não couber */
    gap: 1rem;
}

.logo-area h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
}
.logo-area span { color: var(--accent-color); }

/* Navegação Visível */
.main-nav {
    flex-grow: 1; /* Ocupa espaço disponível */
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    justify-content: flex-end; /* Alinha à direita no desktop */
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
}

.main-nav a {
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap; /* Evita quebrar texto do link no meio */
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
}

/* Linha abaixo do link */
.main-nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
    margin-top: 2px;
}

.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Botão de Destaque */
.btn-nav-destaque {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
}
.btn-nav-destaque:hover { background-color: #e06b00; transform: translateY(-2px); }
.btn-nav-destaque::after { display: none !important; }

/* =========================================
   3. HERO BANNER
   ========================================= */
.hero-banner {
    position: relative;
    width: 100%;
    background-color: var(--primary-color);
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
    opacity: 0.9;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(52, 136, 136, 0.9), rgba(34, 186, 187, 0.8));
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto; margin-right: auto;
}

/* =========================================
   4. CONTEÚDO E SEÇÕES
   ========================================= */
main { flex: 1; }

.content-section {
    padding: 3rem 0;
    display: none;
    animation: fadeIn 0.5s ease-out;
}
.content-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { color: var(--primary-color); font-size: 2rem; margin-bottom: 0.5rem; }
.section-title .divider { height: 4px; width: 60px; background-color: var(--secondary-color); margin: 0 auto; }

.text-content p {
    text-align: justify;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
}

.styled-image {
    width: 100%;
    max-width: 700px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    display: block;
    margin: 1.5rem auto;
}

/* =========================================
   5. PROGRAMAÇÃO E PREÇOS
   ========================================= */
.dia-container { margin-bottom: 2.5rem; }
.dia-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex; justify-content: space-between; align-items: center;
}

.timeline {
    background: var(--surface-color);
    border: 1px solid #e0e0e0; border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 1rem;
}

.atividade-item {
    display: flex; gap: 1rem; padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.atividade-item:last-child { border-bottom: none; }

.horario-badge {
    background-color: var(--light-color); color: var(--primary-color);
    padding: 0.4rem 0.8rem; border-radius: 6px;
    font-weight: 700; font-size: 0.9rem;
    min-width: 80px; text-align: center; height: fit-content;
}

.atividade-info h4 { color: var(--primary-color); font-size: 1.05rem; margin-bottom: 0.3rem; }
.atividade-info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.2rem; }
.atividade-item[data-tipo="mesa"] { border-left: 4px solid var(--secondary-color); padding-left: 0.8rem; }
.atividade-item[data-tipo="conferencia"] { border-left: 4px solid var(--primary-color); padding-left: 0.8rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}

.pricing-card {
    background: var(--surface-color); padding: 1.5rem;
    border-radius: var(--border-radius); border: 1px solid #eee;
    text-align: center; transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pricing-card.destaque { border: 2px solid var(--accent-color); position: relative; }
.pricing-card h3 { color: var(--text-color); font-size: 1rem; min-height: 2.5rem; margin-bottom: 0.8rem; }
.pricing-card .price { font-size: 2rem; color: var(--primary-color); font-weight: 900; }

/* =========================================
   6. RODAPÉ (ATUALIZADO)
   ========================================= */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    margin-top: auto;
    text-align: center;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Centraliza verticalmente */
    gap: 1.5rem;
    margin-top: 2rem;
    /* Removemos o fundo translúcido para deixar limpo */
    padding: 1rem;
}

.logo-item {
    margin: 0; /* Remove margens padrão do figure */
}

.logo-item img {
    height: 60px; /* Tamanho um pouco maior para legibilidade */
    width: auto;
    object-fit: contain;
    
    /* TRUQUE PARA VISIBILIDADE: */
    background-color: #fff; /* Fundo branco atrás do logo */
    padding: 5px 10px;      /* Espacinho interno */
    border-radius: 6px;     /* Bordas arredondadas */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra leve */
    
    /* Removemos o filtro que deixava tudo branco! */
    filter: none; 
    transition: transform 0.3s;
}

.logo-item img:hover {
    transform: scale(2.05); /* Leve zoom ao passar o mouse */
}

/* =========================================
   7. RESPONSIVIDADE (MOBILE PERSONALIZADO)
   ========================================= */
@media (max-width: 850px) {
    /* Centraliza e empilha no mobile */
    .header-inner {
        flex-direction: column;
        justify-content: center;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: center; /* Centraliza os botões */
        gap: 0.8rem; /* Espaço menor entre links */
    }

    .main-nav a {
        font-size: 0.85rem; /* Texto um pouco menor */
        padding: 0.3rem 0;
    }

    /* Ajuste da Programação */
    .atividade-item { flex-direction: column; gap: 0.5rem; }
    .atividade-item[data-tipo] { border-left: none; border-top: 3px solid var(--secondary-color); padding-top: 0.5rem; padding-left: 0; }
}

/* =========================================
   10. ESTILOS DO COMITÊ CIENTÍFICO
   ========================================= */
.comite-grid {
    display: grid;
    /* Cria colunas automáticas de no mínimo 300px */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 1rem;
    font-size: 0.9rem;
}

.comite-item {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
    color: var(--text-color);
    transition: transform 0.2s;
}

.comite-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}