/* Cookie banner — standalone CSS. Funciona com qualquer página (não depende de Tailwind/components.css).
   Activates via .is-visible class added by /assets/js/cookie-banner-init.js after 800ms if no consent stored. */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0B1220;
    color: #EAF4FF;
    border-top: 1px solid rgba(215, 230, 247, 0.15);
    padding: 1rem 1.25rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1 1 320px;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: #EAF4FF;
}
.cookie-banner__text a {
    color: #3FA4E5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__text a:hover { opacity: 0.85; }
.cookie-banner__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cookie-banner__btn {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    transition: opacity 160ms ease-out, background 160ms ease-out;
    line-height: 1.25;
}
.cookie-banner__btn--reject {
    background: transparent;
    color: #EAF4FF;
    border-color: rgba(234, 244, 255, 0.4);
}
.cookie-banner__btn--reject:hover { background: rgba(234, 244, 255, 0.08); }
.cookie-banner__btn--accept {
    background: linear-gradient(135deg, #1050A0, #3FA4E5);
    color: #FFFFFF;
}
.cookie-banner__btn--accept:hover { opacity: 0.92; }
@media (max-width: 720px) {
    .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .cookie-banner__actions { justify-content: flex-end; }
}
