:root {
    --color-primary: #00d084; /* Verde Sustentabilidade */
    --color-primary-dark: #009e66;
    --color-bg-dark: #0f172a; /* Azul Oceano Profundo */
    --color-bg-light: #1e293b;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    left: 50%;
    width: 3000px;
    height: 3000px;
    margin-left: -1500px;
    animation: drift 25s infinite linear;
}

/* Ondas vindo de cima */
.wave:nth-child(1) {
    top: -2930px;
    background: rgba(0, 77, 122, 0.06); /* Azul APANG */
    border-radius: 43%;
    animation-duration: 35s;
}

.wave:nth-child(2) {
    top: -2900px;
    background: rgba(0, 208, 132, 0.05); /* Verde APANG */
    border-radius: 40%;
    animation-duration: 45s;
}

/* Ondas vindo de baixo */
.wave:nth-child(3) {
    top: 40px;
    background: rgba(0, 150, 200, 0.05); /* Azul Claro */
    border-radius: 45%;
    animation-duration: 40s;
}

.wave:nth-child(4) {
    top: 70px;
    background: rgba(0, 77, 122, 0.04); /* Azul APANG mais fraco */
    border-radius: 42%;
    animation-duration: 50s;
}

@keyframes drift {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-symbol {
    position: absolute;
    opacity: 0.04; /* Opacidade de 4% solicitada */
    z-index: 0;
    pointer-events: none;
    left: 0;
}

/* Animações de ponta a ponta */
@keyframes slide-right {
    0% { transform: translate(-150px, -50%) rotate(0deg); }
    100% { transform: translate(110vw, -50%) rotate(360deg); }
}

@keyframes slide-left {
    0% { transform: translate(110vw, -50%) rotate(0deg); }
    100% { transform: translate(-150px, -50%) rotate(-360deg); }
}

.sust-1 { width: 50px; top: 50%; animation: slide-right 45s linear infinite; }
.sust-2 { width: 40px; top: 30%; animation: slide-left 55s linear infinite; animation-delay: -15s; }

.digi-1 { width: 80px; top: 40%; animation: slide-left 40s linear infinite; }
.digi-2 { width: 60px; top: 80%; animation: slide-right 50s linear infinite; animation-delay: -20s; }

.tech-1 { width: 70px; top: 60%; animation: slide-right 48s linear infinite; animation-delay: -10s; }
.tech-2 { width: 55px; top: 25%; animation: slide-left 42s linear infinite; animation-delay: -25s; }

.navbar-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 120px;
    width: 100%;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* Aumenta o espaçamento entre as três linhas de forma equilibrada */
}

.navbar-title {
    font-size: 3.6rem; /* Aumentado para 3.6rem para excelente destaque visual */
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0f172a, #00d084);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.navbar-subtitle {
    font-size: 1.05rem; /* Um pouco maior e muito nítida */
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.navbar-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-item svg {
    color: var(--color-primary-dark);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logos-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-right {
    height: 75px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-right:hover {
    transform: scale(1.05);
}

.logo-mesa-redonda {
    transform: scale(2.1);
}

.logo-mesa-redonda:hover {
    transform: scale(2.15);
}

.logo-apang {
    transform: scale(1.5);
    margin-left: 30px; /* Encosta o logotipo um pouco à direita para equilibrar a distância */
}

.logo-apang:hover {
    transform: scale(1.55);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: var(--color-primary);
    color: #0f172a !important;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 800 !important;
}

.btn-nav:hover {
    background: var(--color-primary-dark);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 5%;
    /* Fundo Personalizado Sustentabilidade e Digitalização */
    background: url('assets/hero-bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 8rem; /* Desce o texto para compensar a navbar e ajustar o centro visual */
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tema-central {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.4s ease, filter 0.4s ease;
    cursor: default;
}

.tema-central:hover {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    transition: filter 0.4s ease, transform 0.4s ease;
    cursor: default;
}

.main-title:hover {
    filter: drop-shadow(0 0 25px rgba(0, 208, 132, 0.5));
    transform: scale(1.02);
}

.highlight {
    color: var(--color-primary);
    background: -webkit-linear-gradient(45deg, #00d084, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes digital-flow {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 2px rgba(0, 208, 132, 0.4));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.8));
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 2px rgba(0, 208, 132, 0.4));
    }
}

.description {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #0f172a;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 208, 132, 0.5);
    background: #fff;
}


/* Panels Section */
.panels-section {
    padding: 8rem 5%;
    background-color: var(--color-bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.panels-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.glass:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border-color: var(--color-primary);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.subtheme-num {
    background: rgba(0, 208, 132, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    font-weight: 800;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
}

.panel-tag {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.tag-green {
    background: rgba(0, 208, 132, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(0, 208, 132, 0.3);
}

.tag-blue {
    background: rgba(0, 242, 254, 0.15);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.panel-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 600;
}

/* Programa Section */
.programa-section {
    padding: 6rem 5%;
    background-color: #f8fafc;
    color: #0f172a;
    scroll-margin-top: 100px; /* Evita que a navbar fixa corte o topo quando clicar no link */
}

.programa-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.programa-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.programa-image img:hover {
    transform: translateY(-5px);
}

/* Programa Side by Side Images */
.programa-image-side-by-side {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.programa-image-side-by-side img {
    width: calc(50% - 0.75rem);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.programa-image-side-by-side img:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .programa-image-side-by-side {
        flex-direction: column;
        gap: 1rem;
    }
    .programa-image-side-by-side img {
        width: 100%;
    }
}

.programa-content h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.programa-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.programa-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 3rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #0f172a;
    color: #fff;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 208, 132, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #05080f;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Corner Menu Button */
.corner-menu-btn {
    position: fixed;
    top: 175px; /* Desceu mais 30px para acompanhar a navbar de 120px */
    right: 2%; /* Mais encostado à direita (era 5%) */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem; /* Tamanho da letra reduzido */
    font-weight: 800;
    color: var(--color-primary); /* Ficou verde como na imagem */
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 208, 132, 0.3); /* Borda subtil a verde */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.corner-menu-btn:hover {
    color: #ffffff;
    transform: scale(1.05);
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--color-primary);
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 225px; /* Desceu mais 30px para acompanhar a navbar de 120px */
    right: -100%;
    width: 250px;
    height: auto;
    border-radius: 16px; /* Arredondado a toda a volta */
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
}

.sidebar-menu.active {
    right: 2%; /* Fica alinhado à direita com o botão MENU */
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.sidebar-links li {
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.sidebar-menu.active .sidebar-links li {
    transform: translateX(0);
    opacity: 1;
}

.sidebar-menu.active .sidebar-links li:nth-child(1) { transition-delay: 0.1s; }
.sidebar-menu.active .sidebar-links li:nth-child(2) { transition-delay: 0.2s; }
.sidebar-menu.active .sidebar-links li:nth-child(3) { transition-delay: 0.3s; }
.sidebar-menu.active .sidebar-links li:nth-child(4) { transition-delay: 0.4s; }
.sidebar-menu.active .sidebar-links li:nth-child(5) { transition-delay: 0.5s; }
.sidebar-menu.active .sidebar-links li:nth-child(6) { transition-delay: 0.6s; }

.sidebar-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.sidebar-link:hover {
    color: var(--color-primary);
    padding-left: 10px;
}


/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .panels-container { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
    .navbar-title { font-size: 3.2rem; }
    .navbar-info { gap: 1rem; font-size: 0.85rem; }
}

@media (max-width: 992px) {
    .navbar {
        position: relative; /* Permite que a barra não tape o conteúdo abaixo dela */
        height: auto;
    }
    .hero {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }
    .main-title { font-size: 3.5rem; }
    .programa-container { grid-template-columns: 1fr; gap: 3rem; }
    
    .navbar-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        height: auto;
    }
    .navbar-center {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        text-align: center;
    }
    .navbar-title {
        white-space: normal;
        font-size: 2.8rem;
    }
    .navbar-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo-container {
        display: none;
    }
    .logo-right {
        height: 50px;
    }

}

@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .hero-content { margin-top: 2rem; padding: 0 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 350px; margin: 0 auto; gap: 1rem; }
    .btn { width: 100%; justify-content: center; }
    .description { font-size: 1.1rem; padding: 0 1rem; }
    
    .panels-container { grid-template-columns: 1fr; }
    .glass { padding: 1.5rem; margin: 0 1rem; }
    
    .logo-right { height: 45px; }

    .logos-right { gap: 1rem; }
} /* Fim do @media (max-width: 768px) */

/* ============================================================
   ARENA STYLE SYSTEM (CORRIGIDO)
   ============================================================ */
.arena-section-wrapper {
    padding: 80px 5%;
    background-color: #f0f4f8; /* Fundo cinza para destacar os cards brancos */
}

.arena-container {
    max-width: 1400px !important; /* Aumentado para acomodar 4 cards */
    margin: 0 auto !important;
}

.arena-title-block {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.arena-title-block h2 {
    color: #1a202c !important;
    font-size: 2.5rem !important;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
}

.arena-line {
    width: 50px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto;
}

.arena-cards-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important; /* Reduzido ligeiramente para garantir o encaixe */
}

.arena-card-item {
    background: #ffffff !important;
    width: 240px !important; /* Reduzido de 280px */
    flex: 1 1 220px !important; /* Base menor para flexibilidade */
    max-width: 280px !important; /* Limite máximo menor */
    border-radius: 4px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
}

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

.arena-card-image {
    width: 100% !important;
    height: 120px !important; /* Reduzido de 150px para ser mais elegante */
    object-fit: cover !important;
    display: block !important;
    border-bottom: 2px solid #e2e8f0;
}

.arena-card-top {
    padding: 20px 20px 25px !important;
    text-align: left !important; /* Alinhado à esquerda para layout corporativo */
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Alinhado à esquerda */
    justify-content: flex-start !important;
}

.panel-tag {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.color-text-green { color: #059669 !important; }
.color-text-blue { color: #2563eb !important; }

.arena-card-top h3 {
    color: #0f172a !important;
    font-size: 1.05rem !important;
    margin-bottom: 15px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    min-height: 45px !important; /* Mantém os cartões com a mesma altura independente do tamanho do título */
    display: flex !important;
    align-items: flex-start !important;
}

/* --- NOVA SECÇÃO DE ORADORES (EM PACOTES DE TEMAS) --- */
.themes-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 25px !important; /* Equilíbrio */
    max-width: 950px !important; 
    margin: 35px auto 0 !important;
}

@media (max-width: 900px) {
    .themes-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

.theme-package {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 25px 20px !important; /* Meio-termo */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    border: 1px solid #e2e8f0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.theme-package:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important;
}

.theme-title {
    font-size: 0.95rem !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    max-width: 350px !important;
}

.theme-title span {
    display: block !important;
    font-size: 0.9rem !important; /* Aumentado de 0.65rem */
    text-transform: uppercase !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
    letter-spacing: 1px !important;
}

.theme-speakers {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important; /* Meio-termo */
}

.orador-card {
    background: transparent !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: transform 0.2s ease !important;
    width: 140px !important; /* Meio-termo */
}

.orador-card:hover {
    transform: translateY(-3px) !important;
}

.orador-photo {
    width: 70px !important; /* Meio-termo (antes 55, depois 85) */
    height: 70px !important;
    border-radius: 50% !important;
    margin: 0 auto 10px !important;
    background-size: 40px !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-color: #f1f5f9 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    border: 3px solid #ffffff !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
}

.orador-role {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.orador-info h4 {
    color: #0f172a !important;
    font-size: 0.9rem !important; /* Meio-termo */
    margin-bottom: 4px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.orador-cargo {
    color: #64748b !important;
    font-size: 0.75rem !important; /* Meio-termo */
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
}

.orador-tema {
    color: #475569 !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    max-width: 160px !important; /* Mantém o texto contido e alinhado com a bola */
    font-style: italic !important;
}

.orador-tema strong {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

.arena-card-btn {
    display: block;
    padding: 16px 15px; /* Ligeiramente mais alto para o clique perfeito */
    text-align: center;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800; /* Mais bold */
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arena-card-btn::after {
    content: ' ↓'; /* Setinha de download elegante */
    font-family: inherit;
    opacity: 0.7;
    transition: transform 0.3s ease;
    display: inline-block;
}

.arena-card-btn:hover::after {
    transform: translateY(3px); /* Anima a seta para baixo */
    opacity: 1;
}

.arena-card-btn:hover {
    filter: brightness(1.1);
}

/* Cores Premium e Sofisticadas */
.color-apang-green {
    background-color: #059669; /* Verde esmeralda profundo (Sustentabilidade) */
}

.color-apang-blue {
    background-color: #2563eb; /* Azul corporativo rico (Digitalização) */
    color: #ffffff !important; 
}

@media (max-width: 768px) {
    .arena-cards-row {
        flex-direction: column;
        align-items: center;
    }
}

    .navbar-title { font-size: 2.2rem; }
    
    .programa-section { padding: 4rem 1.5rem; }
    .programa-content h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .main-title { font-size: 2rem; }
    .navbar-info { flex-direction: column; gap: 0.5rem; }
    .logo-right { height: 35px; }

    .programa-content h3 { font-size: 1.2rem; }
} /* FECHO DO MEDIA QUERY */

    /* --- SECÇÃO DE FOTOGRAFIAS (FLAT COVERFLOW) --- */
.coverflow-gallery {
    position: relative !important;
    width: 100% !important;
    height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #0f172a !important; 
    padding: 20px 0 !important;
}

.coverflow-track {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.coverflow-item {
    position: absolute !important;
    width: 320px !important;
    height: 420px !important;
    left: 50% !important;
    top: 50% !important;
    margin-left: -160px !important; 
    margin-top: -210px !important;  
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease, z-index 0.6s ease !important;
    border-radius: 2px !important; /* Quase sem bordas redondas para visual limpo */
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8) !important;
    cursor: pointer !important;
    background: #000 !important;
}

.coverflow-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: opacity 0.6s ease !important;
}

.coverflow-item:not(.active) img {
    opacity: 0.4 !important; /* Escurece consideravelmente os laterais */
}

.coverflow-info {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 0 25px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
}

.coverflow-item.active .coverflow-info {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.coverflow-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8) !important;
}

.coverflow-action {
    background: #facc15 !important; /* Amarelo da referência */
    color: #000 !important;
    border: none !important;
    padding: 12px 30px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    border-radius: 2px !important;
    text-transform: uppercase !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4) !important;
}

.coverflow-action:hover {
    background: #eab308 !important;
    transform: scale(1.05) !important;
}

.coverflow-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    color: white !important;
    border: none !important;
    font-size: 3rem !important;
    cursor: pointer !important;
    z-index: 100 !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
}

.coverflow-btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.2) !important;
}

.prev-btn { left: 8% !important; }
.next-btn { right: 8% !important; }

@media (max-width: 768px) {
    .coverflow-item {
        width: 220px !important;
        height: 320px !important;
        margin-left: -110px !important;
        margin-top: -160px !important;
    }
    .coverflow-gallery {
        height: 400px !important;
    }
    .prev-btn { left: 2% !important; }
    .next-btn { right: 2% !important; }
}

/* --- FOOTER --- */
footer {
    background-color: #0a0f1a !important;
    color: #94a3b8 !important;
    padding: 0 !important;
    border-top: 3px solid var(--color-primary) !important;
    margin-top: 0 !important;
}

.footer-text {
    padding: 25px 5% 15px 5% !important;
    text-align: center !important;
}

.footer-text p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #cbd5e1 !important;
    margin: 4px 0 !important; /* Espaçamento mínimo como solicitado */
}

.footer-text a {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-text a:hover {
    color: #00f2fe !important;
    text-decoration: underline !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    padding: 15px 5%;
    background: rgba(0,0,0,0.2);
}

.footer-bottom p {
    font-size: 0.8rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* --- TOAST DE BAIXAR APRESENTAÇÃO --- */
.custom-toast {
    position: fixed;
    bottom: -100px; /* Começa escondido abaixo */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 1.1rem 2.2rem;
    border-radius: 50px; /* Redondo e muito moderno */
    border: 1px solid rgba(0, 208, 132, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação elástica premium */
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toast.visible {
    bottom: 40px; /* Sobe com elasticidade */
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.toast-icon {
    color: var(--color-primary); /* Verde APANG */
    animation: toastPulse 2s infinite ease-in-out;
}

@keyframes toastPulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95); /* Azul escuro semi-transparente como o tema */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    user-select: none;
    border: 3px solid #ffffff;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--color-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s, color 0.2s;
    user-select: none;
    z-index: 10002;
}

.lightbox-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    color: var(--color-primary);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: -40px;
        font-size: 2.5rem;
    }
    .lightbox-next {
        right: -40px;
        font-size: 2.5rem;
    }
    .lightbox-close {
        right: 10px;
        top: -50px;
    }
}
