.elementor-12696 .elementor-element.elementor-element-f5a87d9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12696 .elementor-element.elementor-element-f5a87d9.e-con{--flex-grow:0;--flex-shrink:0;}@media(min-width:768px){.elementor-12696 .elementor-element.elementor-element-f5a87d9{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-8a746ee *//* =========================================
   1. RESET UNIVERSAL E CONTROLE DE ROLAGEM
========================================= */
body { 
    background-color: #001f3f; 
    color: #ffffff; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

*, *:before, *:after { box-sizing: inherit; }

/* =========================================
   2. ESTRUTURA PRINCIPAL (FLUIDA)
========================================= */
.totem-container {
    position: relative; 
    min-height: 100vh; 
    width: 100%;
    background-image: url('https://efa2030fiocruz.org/wp-content/uploads/2026/09/pexels-francesco-ungaro-3410956-scaled.jpg');
    background-size: cover; 
    background-position: center;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 2rem 1rem;
}

.overlay { position: absolute; inset: 0; background: rgba(0, 15, 30, 0.7); z-index: 1; }

.content { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
    width: 100%; 
    max-width: 1300px; 
}

/* =========================================
   3. LOGO E TIPOGRAFIA INTELIGENTE
========================================= */
.logo-principal {
    width: 100%; 
    max-width: clamp(200px, 40vw, 500px); 
    height: auto; 
    object-fit: contain; 
    margin: 0 auto 1.5rem auto; 
    display: block; 
    
    /* MÁSCARA QUE APAGA AS 4 BORDAS (CIMA/BAIXO E ESQUERDA/DIREITA) */
    -webkit-mask-image: 
        linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%), 
        linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-composite: source-in;
    
    mask-image: 
        linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%), 
        linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-composite: intersect;
}

.content h1 { 
    font-size: clamp(1.8rem, 4vw, 3.5rem); 
    margin: 0 0 1rem; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    color: white; 
}

.content p.subtitle { 
    font-size: clamp(1.4rem, 3vw, 2rem); 
    font-weight: bold; 
    margin: 0 0 2.5rem; 
    line-height: 1.4; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); 
    color: white; 
}

.texto-azul {
    color: #0077b6; 
    text-shadow: none; 
}

/* =========================================
   4. GRID DE BOTÕES (ADAPTAÇÃO AUTOMÁTICA)
========================================= */
.button-group { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 1.2rem; 
    width: 100%; 
}

.btn {
    background-color: #0077b6; 
    color: white; 
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem); 
    font-weight: bold; 
    padding: 1.2rem 1rem;
    min-height: 90px; 
    height: 100%; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    border: 3px solid transparent; 
    transition: all 0.2s ease;
    cursor: pointer; 
    box-shadow: 0 6px 12px rgba(0,0,0,0.3); 
    line-height: 1.3;
}
.btn:active { transform: scale(0.95); background-color: #0096c7; border-color: #ffffff; box-shadow: 0 3px 6px rgba(0,0,0,0.3); }

/* =========================================
   5. ESTRUTURA VISUAL DOS POPUPS
========================================= */
.popup-container { display: none; position: fixed; inset: 0; background: rgba(0, 15, 30, 0.9); z-index: 100; align-items: center; justify-content: center; padding: 1rem; }
.popup-container.ativo { display: flex; }

.popup-content {
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('https://efa2030fiocruz.org/wp-content/uploads/2026/09/002-scaled.jpg');
    background-size: cover; background-position: center; background-repeat: no-repeat;
    color: #001f3f; 
    padding: clamp(1.5rem, 4vw, 3rem); 
    border-radius: 15px; 
    width: 100%;
    max-width: 900px; 
    max-height: 90vh; 
    overflow-y: auto; 
    position: relative; 
    text-align: left;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
    animation: surgir 0.3s ease-out;
}

@keyframes surgir { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.popup-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0; margin-bottom: 1.5rem; color: #0077b6; line-height: 1.2; text-align: center; }
.popup-content p { font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.6; margin-bottom: 1rem; }

.fechar-popup { position: absolute; top: 10px; right: 20px; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: bold; color: #333; cursor: pointer; line-height: 1; z-index: 999; }
.fechar-popup:hover, .fechar-popup:active { color: #cc0000; }

/* =========================================
   6. RÉGUA DE LOGOS (RODAPÉ)
========================================= */
.footer-logos {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    margin-top: auto; 
    padding: 2rem 1rem 1rem 1rem;
}

.footer-logos img {
    max-width: 100%;
    width: clamp(280px, 45vw, 650px); 
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logos img:hover {
    opacity: 1;
}

/* =========================================
   7. AJUSTES FINOS PARA CELULARES
========================================= */
@media(max-width: 768px) {
    .totem-container { justify-content: flex-start; padding-top: 2rem; }
    .button-group { gap: 0.8rem; }
    .btn { min-height: 75px; padding: 1rem; }
    .fechar-popup { top: 5px; right: 15px; }
}/* End custom CSS */