/* =====================================================
   COOKIE CONSENT BANNER — Psi Meire França
   Arquivo: assets/css/cookie-consent.css
   ===================================================== */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ink);
    border-top: 3px solid var(--gold);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -4px 24px rgba(61, 26, 13, 0.35);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 240px;
}

.cookie-text p {
    color: var(--cream);
    font-size: 0.875rem;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
}

.cookie-text a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--gold-light);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background: var(--gold);
    color: var(--ink);
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--cream-soft);
    border: 1px solid rgba(255, 248, 237, 0.35);
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-cookie-reject:hover {
    border-color: var(--cream-soft);
    color: #fff;
}

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1;
        text-align: center;
    }
}