/* --- CONFIGURAÇÕES GLOBAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    transition: all 0.3s ease; 
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #343a40; 
    background-color: #f4f7f9; 
}

/* Container para centralizar o conteúdo */
.container {
    width: 90%;
    max-width: 1100px; 
    margin: 60px auto; 
}

.container-full {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif; 
    color: #003B5C; 
    line-height: 1.2;
}

h2 {
    font-size: 40px; 
    font-weight: 700;
    margin-bottom: 15px;
}

h3 {
    font-size: 22px; 
    font-weight: 700;
    color: #212529;
}

p {
    font-size: 17px; 
    color: #6c757d;
}

/* Tags de seção no topo (Ex: Event Program) */
.tag {
    display: inline-block;
    background-color: #e3f2fd; 
    color: #0073B9; 
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 15px; 
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}


/* --- 1. BARRA DE NAVEGAÇÃO (TOP-NAVBAR) --- */
.top-navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 0; 
    z-index: 100;
}

.top-navbar .container-full {
    justify-content: flex-end;
}


.top-navbar a {
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px; 
}

.top-navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.register-btn {
    background-color: #0073B9; 
    padding: 10px 22px; 
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
    margin-left: 20px;
    color: #fff !important;
}

.register-btn:hover {
    background-color: #00569a;
    transition: 0.2s;
}


/* --- 2. TOPO - PANORAMA --- */
.panorama {
    position: relative;
    width: 100%;
    height: 95vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fundo da Imagem */
.panorama::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url('Parque-Tecnologico-Sao-Jose-dos-Campos.jpg');
      background-size: 120% auto;
      background-position: center;
      background-repeat: no-repeat;
      transform: scale(1.05);
      animation: flyover 30s ease-in-out infinite alternate;
      z-index: 0;
      filter: brightness(1.0);
}

/* Gradiente de Sobreposição Escura  */
.panorama::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 59, 92, 0.8) 0%, rgba(0, 115, 185, 0.35) 100%);
    z-index: 1;
}

/* Conteúdo central */
.logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    max-width: 900px;
}

.logo-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo-container h2 {
    font-size: 1.8rem; 
    color: #fff; 
    font-weight: 500;

    font-family: 'Roboto', sans-serif; 
    margin-top: 15px;
}

.location-detail {
    color: #ced4da;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
}

.info-badges {
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 15px;
}
.badge {
    background: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}
.badge i {
    margin-right: 8px;
}

/* Botões do Hero */
.hero-buttons .btn {
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 8px; 
    font-weight: 700;
    font-size: 17px;
    display: inline-block;
    margin: 0 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-schedule {
    background-color: #fff;
    color: #003B5C;
    border: 2px solid #fff;
}
.btn-schedule:hover {
    background-color: #e9ecef;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #0073B9;
    background: rgba(0, 115, 185, 0.8);
}
.btn-secondary:hover {
    background-color: #0073B9;
    border-color: #fff;
}

/* Animação Panorâmica */
@keyframes flyover {
    0% { background-position: 100% center; transform: scale(1.05); }
    100% { background-position: 0% center; transform: scale(1.08); }
}

/* --- 2. SECTION: SCHEDULE ---  */ 
.schedule-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f7f9;
}

/* Container do Dia */
.day-wrapper {
    margin-top: 50px;
    text-align: left;
    margin-bottom: 40px;
}

.day-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 3px solid #003B5C; 
    padding-bottom: 10px;
}

.day-tag {
    display: inline-block;
    background-color: #003B5C;
    color: #fff;
    padding: 7px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.day-label .date {
    font-weight: 500;
    font-size: 18px;
    color: #495057;
}

/* Lista de Eventos (Cards)*/
.event-list {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.event-item {
    display: flex;
    align-items: flex-start; 
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
}

.event-item:hover {
    background-color: #fdfefe;
    border-left: 5px solid #0073B9; 
}

/* Ícone e Círculo */
.icon-circle {
    min-width: 45px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-reception { background-color: #b3e5fc; color: #0277bd; } 
.icon-session { background-color: #bbdefb; color: #1565c0; } 
.icon-keynote { background-color: #c8e6c9; color: #2e7d32; } 
.icon-lunch { background-color: #ffccbc; color: #d84315; } 


.event-time {
    min-width: 150px; 
    font-weight: 700;
    font-size: 20px; 
    color: #003B5C;
    margin-right: 35px; 
    padding-top: 5px; 
    
    border-right: 1px solid #dee2e6;
    padding-right: 30px;
    text-align: right; 
    
    font-family: 'Roboto Slab', serif; 
}

.event-details {
    flex-grow: 1;
}

.session-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.event-details h3 {
    margin-top: 0; 
    margin-bottom: 10px;
    font-size: 20px;
    color: #212529;
}

.event-details p {
    font-size: 16px;
    color: #495057; 
    font-weight: 500; 
    margin-top: 5px; 
}

/* Cores dos Tipos de Sessão (Tags) */
.type-reception { background-color: #e1f5fe; color: #0277bd; }
.type-session { background-color: #e3f2fd; color: #1565c0; } 
.type-keynote { background-color: #e8f5e9; color: #2e7d32; } 
.type-lunch { background-color: #ffe0b2; color: #d84315; } 
.type-closing { background-color: #ffebee; color: #c62828; } 

.lunch-break {
    background-color: #f8f9fa;
    border-left: 5px solid #0073B9;
}
.lunch-break:hover {
    background-color: #f8f9fa; 
    border-left: 5px solid #0073B9; 
}
.lunch-break h3 {
    color: #0073B9;
}

/* --- 5. RODAPÉ --- */
.footer {
    background-color: #003B5C;
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
}

.footer p {
    color: #fff;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .logo-container h1 {
        font-size: 3.5rem;
    }
    .logo-container h2 {
        font-size: 1.5rem;
    }
    .info-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .hero-buttons .btn {
        margin: 10px 5px;
    }
    .cdio-pillars {
        gap: 20px;
    }
    .pillar-card {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .logo-container h1 {
        font-size: 2.8rem;
    }
    .logo-container h2 {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .top-navbar .container-full {
        flex-direction: column;
        text-align: center;
    }
    .top-navbar a:not(.register-btn) {
        display: none; 
    }
    .register-btn {
        margin: 10px 0 0 0;
        width: 100%;
    }

    .cdio-pillars {
        flex-direction: column;
    }
    .pillar-card {
        min-width: 90%;
        max-width: 100%;
    }

    .event-item {
        flex-wrap: wrap;
        align-items: flex-start; 
        padding: 20px;
    }
    
    .icon-circle {
        order: 1;
        margin-right: 15px;
    }
    
    .event-details {
        order: 2;
        flex: 1; 
    }

    .event-time {
        order: 3; 
        width: 100%;
        min-width: auto;
        font-size: 17px;
        margin-top: 15px;
        
        border-right: none; 
        padding-right: 0;
        text-align: left;
        color: #0073B9; 
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
    .event-details h3 {
        font-size: 18px;
    }
}