.texto-legal { max-width: var(--largura-leitura); }
.texto-legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.texto-legal h2:first-child { margin-top: 0; }
.texto-legal p, .texto-legal li { line-height: 1.7; }
.texto-legal p { margin-bottom: 12px; }
.texto-legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.texto-legal li + li { margin-top: 6px; }
.texto-legal a { color: var(--cor-destaque-texto); text-decoration: underline; text-underline-offset: 3px; }
.texto-legal code { font-size: 0.92em; background: var(--cor-papel-2); padding: 1px 5px; }

.aviso-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; background: var(--cor-tinta); color: var(--cor-branco); border-top: 3px solid var(--cor-destaque); box-shadow: 0 -6px 20px rgba(11, 46, 67, 0.3); }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies__conteudo { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.aviso-cookies__texto { font-size: 0.9rem; line-height: 1.5; margin: 0; }
.aviso-cookies__texto a { color: var(--cor-destaque-claro); text-decoration: underline; text-underline-offset: 3px; }
.aviso-cookies__botao { flex: 0 0 auto; min-width: 96px; padding: 10px 24px; border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--cor-destaque-claro); color: var(--cor-sobre-destaque); }
.aviso-cookies__botao:hover { background: var(--cor-branco); }
.aviso-cookies__botao:focus-visible { outline: 3px solid var(--cor-branco); outline-offset: 2px; }
body.cookies-aberto .botao-whatsapp { bottom: 110px; }

@media (max-width: 640px) {
    .aviso-cookies__conteudo { flex-direction: column; align-items: stretch; gap: 12px; }
    body.cookies-aberto .botao-whatsapp { bottom: 170px; }
}
