* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #1a4b84;
    --secondary-color: #2c3e50;
    --accent-color: #e63946;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-display: swap;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.banner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

main {
    margin-top: 80px;
}

section {
    padding: 4rem 5%;
}

.content-box {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2rem 5%;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.data {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c1121f;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0;
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

.destaque {
    text-align: center;
    font-weight: 500;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #1a4b84;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.programa-dia {
    margin-bottom: 2rem;
    text-align: center;
}

.programa-dia h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.programacao-dias {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dia-programacao {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.dia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #ddd;
}

.dia-header:hover {
    background-color: #f5f5f5;
}

.dia-header.collapsed {
    background-color: #fff;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.dia-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.dia-content {
    display: none;
    padding: 1rem;
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.dia-content.active {
    display: block;
    max-height: none;
    transition: all 0.5s ease-in;
}

.periodo {
    margin-bottom: 2rem;
}

.periodo h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.timeline-time {
    min-width: 120px;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.timeline-content ul {
    list-style: none;
    padding-left: 1rem;
}

.timeline-content ul li {
    margin-bottom: 1rem;
    position: relative;
}

.timeline-content ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
}

.timeline-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.timeline-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Cores de fundo para diferentes tipos de atividades */
.timeline-item.destaque {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
}

.timeline-item.palestra {
    background-color: rgba(76, 175, 80, 0.2);
    border-left: 4px solid #4CAF50;
}

.timeline-item.mesa-redonda {
    background-color: rgba(255, 152, 0, 0.2);
    border-left: 4px solid #FF9800;
}

.timeline-item.intervalo {
    background-color: #f8f9fa;
    border-left: 4px solid #9e9e9e;
}

/* Estilo para a foto do palestrante na programação */
.palestrante-mini {
    display: inline-flex;
    align-items: center;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.palestrante-mini img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--primary-color);
}

.palestrante-foto {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.palestrante-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.palestrante-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.palestrante-info img:hover {
    transform: scale(1.05);
}

.palestrante-info h4 {
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-color);
}

.palestrante-info p {
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.palestrante-curriculo {
    display: none; /* Esconde por padrão */
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    text-align: left;
    animation: fadeIn 0.5s ease-in-out;
}

.palestrante-curriculo.visible {
    display: block; /* Mostra quando a classe .visible é adicionada */
}

.palestrante-curriculo h5 {
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.palestrante-curriculo h5:first-of-type {
    margin-top: 0;
}

.palestrante-curriculo p,
.palestrante-curriculo ul {
    font-size: 0.85em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.palestrante-curriculo ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Animação opcional */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste no hover ou active para feedback visual */
.palestrante-info.active .palestrante-foto img {
    transform: scale(1.05);
}

.faq-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contato-form {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-color);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.galeria-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-content p {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-color);
}

.modal-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--accent-color);
}

#inscricao {
    text-align: center;
    padding: 4rem 0;
}

.inscricao-button {
    margin-top: 2rem;
}

.inscricao-button .cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.inscricao-button .cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
}

.inscricao-alerta {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.inscricao-limite {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff0000;
    animation: piscar 1s infinite;
}

.inscricao-vagas {
    font-size: 1.2rem;
    color: #333;
}

@keyframes piscar {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.cta-buttons, .inscricao-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button-secondary {
    background-color: var(--secondary-color);
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
}

/* NOVO LAYOUT DE PATROCINADORES EM DUAS LINHAS */
.patrocinadores-linhas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.linha-patrocinadores {
    display: flex;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.linha-superior {
    margin-bottom: 1rem;
}

.linha-inferior {
    margin-top: 1rem;
}

.patrocinador {
    width: 100%;
    max-width: 350px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.patrocinador-logo {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Destaque para a logo da Kovalent (50% maior) */
.kovalent-logo {
    max-width: 525px; /* 50% maior que 350px */
    max-height: 210px; /* 50% maior que 140px */
}

/* Responsividade */
@media (max-width: 900px) {
    .linha-patrocinadores {
        flex-direction: column;
        gap: 2rem;
    }
    .patrocinador {
        max-width: 280px;
    }
    .kovalent-logo {
        max-width: 420px;
        max-height: 168px;
    }
}
@media (max-width: 600px) {
    .patrocinadores-linhas {
        gap: 1rem;
    }
    .patrocinador {
        max-width: 180px;
        padding: 0.5rem;
    }
    .kovalent-logo {
        max-width: 270px;
        max-height: 108px;
    }
    .patrocinador-logo {
        max-height: 90px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.show {
        right: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .content-box {
        padding: 1rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-time {
        margin-bottom: 0.5rem;
    }

    .palestrante-info {
        flex-direction: column;
        text-align: center;
    }

    .palestrante-foto {
        margin: 0 auto 1rem;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    section {
        padding: 2rem 5%;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    .timeline-item p {
        font-size: 0.9rem;
    }
    
    .timeline-item strong {
        font-size: 1rem;
    }

    .inscricao-tipos,
    .linhas-concentracao,
    .modalidades-apresentacao {
        grid-template-columns: 1fr;
    }
    
    .tipo-inscricao,
    .linha,
    .modalidade {
        margin-bottom: 1rem;
    }
    
    .datas-importantes {
        padding: 1rem;
    }

    .contato-container {
        grid-template-columns: 1fr;
    }
    
    .contato-form {
        margin-top: 2rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .palestrante {
        padding: 1.5rem;
    }
    
    .palestrante-foto {
        width: 100px;
        height: 100px;
    }
    
    .palestrante-curriculo {
        padding: 1.5rem 0;
    }
    
    .palestrante-curriculo li {
        font-size: 0.95rem;
    }
    
    .palestrante-curriculo p {
        font-size: 0.95rem;
    }

    .logo-img {
        max-height: 50px;
    }
    
    .banner-img {
        max-height: 300px;
    }

    .inscricao-button .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .modalidades-apresentacao {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .inscricoes-limite, .inscricao-limite {
        font-size: 1.5rem;
    }
    
    .inscricoes-vagas, .inscricao-vagas {
        font-size: 1rem;
    }
    
    .cta-buttons, .inscricao-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-curriculo {
        width: 100%;
        text-align: center;
    }
}

.patrocinadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 0;
}

.patrocinador {
    width: 100%;
    max-width: 350px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.patrocinador:hover {
    transform: translateY(-5px);
}

.patrocinador-logo {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .patrocinadores-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .patrocinador {
        max-width: 280px;
    }
    
    .patrocinador-logo {
        max-height: 120px;
    }
}

/* Removendo os estilos adicionados */
.submissao-texto,
.submissao-texto h3,
.submissao-texto p,
.submissao-tipos,
.submissao-tipo,
.submissao-tipo h4 {
    /* Removendo todas as propriedades */
}

/* Animação de fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.periodo-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.periodo-btn {
    padding: 0.5rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.periodo-btn:hover {
    background: var(--primary-color);
    color: white;
}

.periodo-btn.active {
    background: var(--primary-color);
    color: white;
}

.periodo {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .periodo-btn {
        padding: 0.4rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Ajustes para melhor responsividade */
@media (max-width: 768px) {
    .palestrante-foto {
        width: 100px;
        height: 100px;
    }

    .palestrante-info img {
        width: 100px;
        height: 100px;
    }

    .content-box {
        padding: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Ajuste para mensagens importantes */
.destaque, 
.inscricao-alerta,
.contact-section > p {
    text-align: center;
    font-weight: 500;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #1a4b84;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

/* Ajuste para fotos dos palestrantes */
.palestrante-foto img,
.palestrante-info img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

/* Ajustes específicos para fotos problemáticas */
#palestrante-paulo .palestrante-foto img {
    object-position: center 40%;
}

#palestrante-orlando .palestrante-foto img {
    object-position: center 20%;
}

#palestrante-fernanda .palestrante-foto img {
    object-position: center;
    object-fit: contain;
}

#palestrante-luciano .palestrante-info img {
    object-position: center 20%;
}

#palestrante-freitas .palestrante-info img {
    object-position: center 30%;
}

#palestrante-fabio .palestrante-info img {
    object-position: center 25%;
}

/* Ajuste para o nome dos palestrantes (redução de 40%) */
.palestrante-info h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-color);
}

/* Ajuste para o link de email */
.email-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Seção de Contato */
.contact-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.contact-info {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #555;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* Ajuste global para textos */
p, .content-box p, .palestrante-curriculo p, .timeline-content p, 
.contact-info p, .faq-item p, .inscricao-info p, .submissao-texto p,
.orientacoes-resumo p, .apresentacao-trabalho p, .modalidade p,
.linha p, .datas-importantes p {
    text-align: justify;
}

/* Manter centralizado apenas elementos específicos */
.hero h1, .hero h2, .hero p,
.inscricoes-limite, .inscricoes-vagas,
.inscricao-limite, .inscricao-vagas,
.contact-section h2, .contact-info,
.faq-item h3, .section-title,
.palestrante-info h4, .palestrante-info p,
.patrocinador-link, .social-links,
footer p {
    text-align: center;
}

/* Estilo para o link de email */
.email-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Seção de Local */
.local-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.local-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.local-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.local-info {
    text-align: center;
    margin-bottom: 2rem;
}

.local-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #333;
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Seção de Contato */
.contact-section {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #007bff;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

.email-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

/* Estilos para mensagens centralizadas */
.submissao-intro h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.submissao-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.submissao-buttons a {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.submissao-buttons a:hover {
    background-color: var(--accent-color);
}

.apresentacao-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.apresentacao-item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .submissao-buttons {
        flex-direction: column;
        align-items: center;
    }

    .submissao-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .apresentacao-container {
        flex-direction: column;
        align-items: center;
    }

    .apresentacao-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Ajuste para textos */
p, h2, h3, h4, h5, li {
    text-align: justify;
    margin-bottom: 1rem;
}

/* Manter centralizado apenas elementos específicos */
.hero h1, .hero h2, .hero p,
.inscricoes-limite, .inscricoes-vagas,
.inscricao-limite, .inscricao-vagas,
.contact-section h2, .contact-info,
.faq-item h3, .section-title,
.palestrante-info h4, .palestrante-info p,
.patrocinador-link, .social-links,
footer p {
    text-align: center;
}

/* Ajuste para o link de email */
.email-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Melhorias de acessibilidade */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Melhorias de performance para animações */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Otimização de imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Melhorias de usabilidade */
button, 
a {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Melhorias de acessibilidade para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Melhorias de performance para scroll */
html {
    scroll-behavior: smooth;
}

/* Melhorias de performance para carregamento de imagens */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Melhorias de performance para hover */
@media (hover: hover) {
    .hover-effect:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}

/* Melhorias de performance para touch */
@media (hover: none) {
    .hover-effect:active {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}

/* Centralização dos títulos das seções */
#apresentacao h2,
#inscricao h2,
#submissao h2,
#palestrantes h2,
#patrocinadores h2,
.submissao-intro h3,
.apresentacao-trabalho h4,
.palestrante-info h4,
.patrocinador h4 {
    text-align: center;
    margin: 2rem auto;
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
}

/* Ajuste específico para o título da submissão */
.submissao-intro h3 {
    font-size: 2rem;
    margin: 3rem auto;
    line-height: 1.4;
}

/* Ajuste para a seção de apresentação de trabalho */
.apresentacao-trabalho {
    margin: 3rem auto;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    max-width: 1200px;
    width: 100%;
}

.apresentacao-trabalho h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.apresentacao-trabalho p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.modalidade {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modalidade h5 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.modalidade p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.modalidade ul {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modalidade ul li {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .apresentacao-trabalho h4 {
        font-size: 1.6rem;
    }

    .apresentacao-trabalho p,
    .modalidade p,
    .modalidade ul {
        font-size: 1.1rem;
    }

    .modalidade h5 {
        font-size: 1.3rem;
    }
}

/* Ajuste para a seção de palestrantes */
.palestrantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ajuste para a seção de patrocinadores */
.patrocinadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    #apresentacao h2,
    #inscricao h2,
    #submissao h2,
    #palestrantes h2,
    #patrocinadores h2,
    .submissao-intro h3,
    .apresentacao-trabalho h4,
    .palestrante-info h4,
    .patrocinador h4 {
        font-size: 2rem;
        margin: 1.5rem auto;
    }

    .submissao-intro h3 {
        font-size: 1.8rem;
        margin: 2rem auto;
    }

    .apresentacao-trabalho h4 {
        font-size: 1.6rem;
    }

    .apresentacao-trabalho p {
        font-size: 1.1rem;
    }
}

/* Centralizar e estilizar o botão de download da programação */
.download-programacao {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: blue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: red;
}

/* NOVO LAYOUT DE PATROCINADORES EM DUAS LINHAS */
.patrocinadores-linhas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.linha-patrocinadores {
    display: flex;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.linha-superior {
    margin-bottom: 1rem;
}

.linha-inferior {
    margin-top: 1rem;
}

.patrocinador {
    width: 100%;
    max-width: 350px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.patrocinador-logo {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Destaque para a logo da Kovalent (50% maior) */
.kovalent-logo {
    max-width: 525px; /* 50% maior que 350px */
    max-height: 210px; /* 50% maior que 140px */
}

/* Responsividade */
@media (max-width: 900px) {
    .linha-patrocinadores {
        flex-direction: column;
        gap: 2rem;
    }
    .patrocinador {
        max-width: 280px;
    }
    .kovalent-logo {
        max-width: 420px;
        max-height: 168px;
    }
}
@media (max-width: 600px) {
    .patrocinadores-linhas {
        gap: 1rem;
    }
    .patrocinador {
        max-width: 180px;
        padding: 0.5rem;
    }
    .kovalent-logo {
        max-width: 270px;
        max-height: 108px;
    }
    .patrocinador-logo {
        max-height: 90px;
    }
}

/* Estilos para a seção Facilidades */
#facilidades.section {
    padding: 3rem 0;
    background: #f8fafc;
}

#facilidades .section-title {
    text-align: center;
    color: var(--color-primary, #1a4b84);
    margin-bottom: 2rem;
}

/* Centralização da imagem na seção Facilidades */
#facilidades .facilidades-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#facilidades .facilidades-img {
    display: block;
    margin: 0 auto;
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

@media (max-width: 700px) {
    #facilidades .facilidades-img {
        max-width: 70vw;
    }
    #facilidades.section {
        padding: 1.5rem 0;
    }
}
