/* --- CONFIGURAÇÕES GLOBAIS --- */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- MECANISMO DE RECEPÇÃO & HIGHLIGHTER --- */
/* O "Verde do Protótipo" para conexão imediata */
.termo-pesquisado {
    background-color: #bbf7d0; /* Verde Suave */
    color: #166534;           /* Texto Verde Escuro para contraste */
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

/* Destaque de seção quando acessada por Link Âncora (#s5-prevencao) */
.highlight-target {
    background: #ecfdf5;
    border-left: 6px solid #10b981;
    padding: 20px;
    border-radius: 6px;
    transition: all 0.5s ease;
}

/* --- COMPONENTES DE AUTORIDADE (DNA) --- */
/* Bloco de "Resposta Direta" (Answer First) */
.answer-first {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Caixa de Alerta / Erro na busca */
.alert-box {
    background: #fef2f2;
    border: 1px dashed #ef4444;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #991b1b;
}

/* Check-list Técnico com ícone personalizado */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* --- ANIMAÇÕES DE INTERFACE --- */
.fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0; /* Começa invisível e a animação revela */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVIDADE (Mobile First) --- */
@media (max-width: 768px) {
    /* Força grids complexos a virarem coluna única em telas pequenas */
    .grid-dynamic { 
        grid-template-columns: 1fr !important; 
    }
    
    .termo-pesquisado {
        padding: 2px 4px; /* Ajuste fino para telas menores */
    }
}

