/* Aviso de cookies: discreto, no rodapé da tela; no celular ocupa pouco espaço. */
.cookie-aviso {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(16, 12, 72, 0.18);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-aviso[hidden] {
    display: none;
}

.cookie-aviso-texto {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
}

.cookie-aviso-texto a {
    color: #100c48;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-aviso-botoes {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    flex: 1;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #100c48;
    border-radius: 6px;
    background: #ffffff;
    color: #100c48;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-aceitar {
    background: #100c48;
    color: #ffffff;
}

.cookie-btn:hover {
    filter: brightness(0.95);
}

.cookie-btn:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .cookie-aviso {
        left: 24px;
        right: auto;
        bottom: 24px;
        max-width: 380px;
        padding: 16px 18px;
    }
}

/* Link "Preferências de cookies" do rodapé (é um botão com cara de link). */
.link-cookies {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.link-cookies:hover {
    text-decoration: underline;
}
