/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-principal: #062D4C;
    --cor-secundaria: #0a4a73;
    --cor-texto: #444444;
    --cor-texto-claro: #666666;
    --cor-branco: #ffffff;
    --cor-fundo-claro: #f1f1f1;
    --cor-borda: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background-color: var(--cor-principal);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #256194;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--cor-branco);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-list a:hover {
    color: #a9daff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--cor-branco);
    transition: all 0.3s ease;
}

h2, h3 {font-weight: 400;}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 79px);
    min-height: calc(600px - 79px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagens/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 45, 76, 0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 2rem 2rem;
    box-sizing: border-box;
}

.hero-slogan {
    max-width: 80%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    display: block;
    margin: 0 auto;
}

/* Seções Gerais */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--cor-principal);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Seção O Evento */
.evento-section {
    background-color: var(--cor-branco);
}

.evento-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: justify;
}

.evento-content p {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

h2+p {
    margin-top: 22px;
}

/* Banner com Informações */
.banner-info {
    background: linear-gradient(135deg, var(--cor-principal) 0%, #114d81 100%);
    padding: 4rem 0;
    color: var(--cor-branco);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.banner-icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 100;
}

.banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Seção Programação */
.programacao-section {
    background-color: var(--cor-fundo-claro);
}

.programacao-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background-color: var(--cor-branco);
    border: 2px solid #dde4e9;
    color: var(--cor-principal);
    font-size: 1rem;
    font-weight: 100;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: var(--cor-principal);
    color: var(--cor-branco);
}

.tab-button.active {
    background-color: #306B9B;
    color: var(--cor-branco);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.programacao-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--cor-branco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    line-height: 2rem;
}

.programacao-table thead {
    background-color: var(--cor-principal);
    color: var(--cor-branco);
}

.programacao-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 100;
    font-size: 1.1rem;
}

.programacao-table th:nth-child(1),
.programacao-table td:nth-child(1) {
    width: 10%;
}

.programacao-table td:nth-child(1) {
    font-weight: 700;
    font-size: large;
}

.programacao-table th:nth-child(2),
.programacao-table td:nth-child(2) {
    width: 20%;
}

.programacao-table td:nth-child(2) {
    background-color: #eff4f7;
}

.programacao-table th:nth-child(3),
.programacao-table td:nth-child(3) {
    width: 65%;
}

.programacao-table td {
    padding: 1.4rem 1.2rem;
    /* border-bottom: 1px solid #bebebe; */
    border-top: none;
    vertical-align: top;
}

/* Adicionar borda superior apenas em células que têm conteúdo e não são da primeira linha */
.programacao-table tbody tr:not(:first-child) td:not(.empty-cell):not([data-empty="true"]) {
    border-top: 1px solid #bebebe !important;
}

/* Garantir que células vazias nunca tenham borda superior */
.programacao-table td.empty-cell,
.programacao-table td[data-empty="true"] {
    border-top: none !important;
}

/* Garantir que primeira linha nunca tenha borda superior */
.programacao-table tbody tr:first-child td {
    border-top: none !important;
}

.programacao-table tbody tr {
    transition: background-color 0.3s ease;
}

.programacao-table tbody tr:hover {
    background-color: #f9f9f9;
}

.programacao-table tbody tr:last-child td {
    border-bottom: none;
}

/* Estilos para atividade (título, palestrantes, painéis) */
.atividade-content {
    line-height: 1.8;
}

.atividade-titulo {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--cor-texto);
}

.atividade-palestrantes {
    color: #769db8;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.atividade-paineis {
    margin-top: 0.5rem;
}

.painel-item {
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}

.painel-item:last-child {
    margin-bottom: 0;
}

.palestrante {color: #769db8;}
/* Seção Inscrições */
.inscricoes-section {
    background-color: var(--cor-branco);
}

.inscricoes-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.inscricoes-content p {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-inscricao {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: #306B9B;
    color: var(--cor-branco);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 100;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 45, 76, 0.3);
}

.btn-inscricao:hover {
    background-color: var(--cor-secundaria);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 45, 76, 0.4);
}

/* Seção Hotéis */
.hoteis-section {
    background-color: var(--cor-fundo-claro);
}

.hoteis-content {
    max-width: 900px;
    margin: 0 auto;
}

.agencia-info {
    background-color: var(--cor-branco);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agencia-info h3 {
    color: var(--cor-principal);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.agencia-info p {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    margin-bottom: 1rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.agencia-info p strong {
    display: inline-block;
    min-width: fit-content;
}

.agencia-info p:last-of-type {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.btn-hoteis {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: #306B9B;
    color: var(--cor-branco);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 100;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 45, 76, 0.3);
    width: 100%;
    text-align: center;
}

.btn-hoteis:hover {
    background-color: var(--cor-secundaria);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 45, 76, 0.4);
}

/* Seção Apoiadores */
.apoiadores-section {
    background-color: var(--cor-branco);
}

.apoiadores-content {
    max-width: 1000px;
    margin: 0 auto;
}

.apoiadores-categoria {
    margin-bottom: 2rem;
}

.apoiadores-categoria h3 {
    color: var(--cor-principal);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.8rem;
    font-weight: 100;
}

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

.apoiador-item {
    background-color: var(--cor-fundo-claro);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 185px;
}

.apoiador-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.apoiador-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* Logos Nacionais */
.logo-abrat {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
}

.logo-prerro {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
}

.logo-gptc {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
}

/* Logos Internacionais */
.logo-nlg {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
}

.logo-unjc {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
}

.logo-alal {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
}

.apoiador-item:hover .apoiador-logo {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background-color: var(--cor-principal);
    color: var(--cor-branco);
    padding: 5rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 20% 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-img {
    height: 160px;
    width: auto;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--cor-branco);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: small;
}

.footer-bottom a {
   color: var(--cor-branco);
   text-decoration: none;
}

.footer-bottom a:hover {
    color: #a9daff;
    text-decoration: none;
 }

/* Responsividade */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: #114D80;
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-list.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 500px;
    }

    .hero-slogan {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
        display: block !important;
        visibility: visible !important;
    }

    .programacao-section {
        display: block !important;
        visibility: visible !important;
    }

    .programacao-section .container {
        display: block !important;
        visibility: visible !important;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-item {
        flex-direction: column;
        text-align: center;
    }

    .programacao-tabs {
        display: none;
    }

    .tab-button {
        width: 100%;
    }

    .programacao-content {
        display: block !important;
    }

    .tab-content {
        display: block !important;
        margin-bottom: 3rem;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .tab-content::before {
        content: attr(data-day-title);
        display: block;
        font-size: 1.5rem;
        font-weight: 400;
        color: var(--cor-principal);
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--cor-principal);
    }

    .tab-content#dia1::before {
        content: "Dia 25 - terça-feira";
    }

    .tab-content#dia2::before {
        content: "Dia 26 - quarta-feira";
    }

    .tab-content#dia3::before {
        content: "Dia 27 - quinta-feira";
    }

    .tab-content#dia4::before {
        content: "Dia 28 - sexta-feira";
    }

    .hero-content {
        top: -60px;
    }

    .programacao-table {
        font-size: 0.9rem;
        display: block;
        width: 100%;
        background-color: transparent;
        box-shadow: none;
        line-height: 1.5rem;
    }

    .programacao-table thead {
        display: none;
    }

    .programacao-table tbody {
        display: block;
    }

    .programacao-table tr {
        display: block;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        background-color: var(--cor-branco);
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--cor-borda);
    }

    .programacao-table td {
        display: block;
        padding: 0.5rem 0;
        border-bottom: none;
        width: 100% !important;
        color: var(--cor-texto);
    }

    .programacao-table td:nth-child(1)::before {
        content: "Horário: ";
        font-weight: 700;
        color: var(--cor-principal);
        display: inline;
    }

    .programacao-table td:nth-child(2)::before {
        content: "Local: ";
        font-weight: 700;
        color: var(--cor-principal);
        display: block;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .programacao-table td:nth-child(3)::before {
        content: "Atividade: ";
        font-weight: 700;
        color: var(--cor-principal);
        display: block;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .programacao-table td:nth-child(1) {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        width: 100% !important;
    }

    .programacao-table td:nth-child(2) {
        background-color: #eff4f7;
        padding: 1rem;
        border-radius: 5px;
        margin-top: 0.5rem;
        width: 100% !important;
    }

    .programacao-table td:nth-child(3) {
        margin-top: 0.5rem;
        width: 100% !important;
    }
    
    /* Ocultar campos vazios no mobile */
    .programacao-table td.empty-cell,
    .programacao-table td[data-empty="true"] {
        display: none !important;
    }
    
    /* Ocultar labels ::before quando o campo está vazio */
    .programacao-table td.empty-cell::before,
    .programacao-table td[data-empty="true"]::before {
        display: none !important;
        content: "" !important;
    }
    
    /* Remover linhas divisórias internas no mobile (mantém borda do card) */
    .programacao-table td {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
    }

    .programacao-table tbody tr:not(:first-child) td:not(.empty-cell):not([data-empty="true"]) {
        border-top: none !important;
    }
    
    /* Estilos de atividade no mobile */
    .atividade-titulo {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .atividade-palestrantes {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .painel-item {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apoiadores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-inscricao,
    .btn-hoteis {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

