/* ============================================================
   Banner de consentimento de cookies (LGPD)
   Paleta oficial: Azul Escuro #122D50 | Verde #23C16B
   ============================================================ */

.cookie-consent {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9999;
    width: min(420px, calc(100vw - 32px));
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(18, 45, 80, 0.25);
    padding: 20px 22px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--actio-navy, #122D50);
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .cookie-consent.cc-visible {
        display: block;
    }

    .cookie-consent.cc-shown {
        opacity: 1;
        transform: translateY(0);
    }

.cookie-consent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookie-consent-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.cookie-consent-brand {
    font-size: 13px;
    font-weight: 700;
    color: var(--actio-green, #23C16B);
}

.cookie-consent-text {
    font-size: 14px;
    margin: 0 0 12px;
}

.cookie-consent-box {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    font-style: italic;
    color: #475467;
    margin-bottom: 12px;
}

.cookie-consent-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

    .cookie-consent-links a {
        color: var(--actio-navy, #122D50);
        text-decoration: underline;
    }

        .cookie-consent-links a:hover {
            color: var(--actio-green, #23C16B);
        }

    .cookie-consent-links .cc-sep {
        color: #98a2b3;
    }

.cookie-consent-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-consent-btn {
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-consent-btn-reject {
    background: #ffffff;
    color: var(--actio-navy, #122D50);
    border-color: var(--actio-navy, #122D50);
}

    .cookie-consent-btn-reject:hover {
        background: #f2f4f7;
    }

.cookie-consent-btn-accept {
    background: var(--actio-green, #23C16B);
    color: #ffffff;
}

    .cookie-consent-btn-accept:hover {
        background: #1ba75c;
    }

/* Em telas pequenas, ocupa a base inteira */
@media (max-width: 480px) {
    .cookie-consent {
        left: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
    }
}
