* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 100%;
    min-height: 100vh;
    background: white;
}

/* Banner Propaganda */
.banner-top, .banner-bottom {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
}

.banner-top {
    border-bottom: 1px solid #eee;
}

.banner-bottom {
    border-top: 1px solid #eee;
    margin-top: 20px;
}

/* ===== CABEÇALHO VERMELHO ATUALIZADO ===== */
header {
    background: linear-gradient(135deg, #c62828, #b71c1c);
    color: white;
    padding: 20px 15px;
    text-align: center;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.main-title {
    font-size: 2rem;
    margin: 5px 0 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 800;
    color: white;
}

.sub-title {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    font-weight: 400;
    opacity: 0.95;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    display: inline-block;
    color: white;
}

/* Menu de 3 linhas */
.menu-principal {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
    gap: 5px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 5px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: white;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.menu-letra {
    font-weight: bold;
    color: #ffd700;
    margin-right: 3px;
}

/* Busca */
.search-container {
    margin: 15px auto 0;
    max-width: 500px;
}

#searchInput {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Índice Alfabético */
.alpha-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.alpha-letter {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.alpha-letter:hover {
    background: #c62828;
    color: white;
}

.alpha-letter.active {
    background: #c62828;
    color: white;
}

/* Lista de Tópicos */
.topics-list {
    padding: 10px;
}

.topic-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
    cursor: pointer;
    transition: background 0.2s;
}

.topic-item:hover {
    background: #f8f9fa;
}

.topic-item h3 {
    font-size: 1.1em;
    color: #c62828;
    margin-bottom: 5px;
}

/* Conteúdo do Protocolo */
.protocol-content {
    padding: 20px;
    background: white;
}

.protocol-content h2 {
    color: #c62828;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.protocol-section {
    margin-bottom: 25px;
}

.protocol-section h3 {
    color: #c62828;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.protocol-section ul, .protocol-section ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.protocol-section li {
    margin-bottom: 8px;
}

.back-button {
    background: #c62828;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
}

.back-button:hover {
    background: #b71c1c;
}

/* ===== BOTÃO PWA 3D VERMELHO COM CRUZ VERDE ===== */
.pwa-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.pwa-button-content {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #ff0000, #cc0000);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        5px 5px 15px rgba(0,0,0,0.4),
        -2px -2px 10px rgba(255,100,100,0.3),
        inset 2px 2px 5px rgba(255,255,255,0.3),
        inset -2px -2px 5px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    padding: 5px;
}

.pwa-button-content:hover {
    transform: scale(1.05);
    box-shadow: 
        7px 7px 20px rgba(0,0,0,0.5),
        -3px -3px 12px rgba(255,100,100,0.4),
        inset 2px 2px 5px rgba(255,255,255,0.3),
        inset -2px -2px 5px rgba(0,0,0,0.3);
}

.pwa-button-content span {
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-top: 2px;
}

/* Cruz Verde em Relevo */
.cruz-3d {
    position: relative;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cruz-vertical {
    position: absolute;
    width: 8px;
    height: 30px;
    background: linear-gradient(145deg, #2e7d32, #1b5e20);
    border-radius: 4px;
    box-shadow: 
        2px 2px 4px rgba(0,0,0,0.4),
        inset 1px 1px 3px rgba(255,255,255,0.5),
        inset -1px -1px 2px rgba(0,0,0,0.3);
}

.cruz-horizontal {
    position: absolute;
    width: 30px;
    height: 8px;
    background: linear-gradient(145deg, #2e7d32, #1b5e20);
    border-radius: 4px;
    box-shadow: 
        2px 2px 4px rgba(0,0,0,0.4),
        inset 1px 1px 3px rgba(255,255,255,0.5),
        inset -1px -1px 2px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.6rem;
    }
    
    .sub-title {
        font-size: 0.9rem;
    }
    
    .menu-item {
        font-size: 0.8rem;
        padding: 10px 2px;
    }
    
    .alpha-index {
        gap: 3px;
        padding: 10px;
    }
    
    .alpha-letter {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .topic-item {
        padding: 12px;
    }
    
    .protocol-content {
        padding: 15px;
    }
    
    .pwa-button-content {
        width: 60px;
        height: 60px;
    }
    
    .cruz-3d {
        width: 30px;
        height: 30px;
    }
    
    .cruz-vertical {
        width: 6px;
        height: 25px;
    }
    
    .cruz-horizontal {
        width: 25px;
        height: 6px;
    }
}
.no-results {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}
