@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

/* Banner de consentimento LGPD — Google Analytics 4 */
.gp-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 16px 20px;
    background: rgba(10, 10, 14, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #f0f0f5;
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
}
.gp-consent-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.gp-consent-inner p {
    margin: 0;
    flex: 1 1 280px;
    color: rgba(240, 240, 245, 0.88);
}

.gp-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.gp-consent-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gp-consent-btn:hover {
    opacity: 0.88;
}

.gp-consent-accept {
    background: #ff6b00;
    color: #fff;
}

.gp-consent-decline {
    background: transparent;
    color: rgba(240, 240, 245, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.gp-consent-policy {
    color: #ec4899;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gp-consent-policy:hover {
    color: #8b5cf6;
}

.footer-policy-links {
    margin-top: 16px;
}

.footer-policy-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-policy-links a:hover {
    opacity: 0.85;
}

.footer-policies a {
    color: var(--text-muted, #9ca3af);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-policies a:hover {
    color: var(--color-pink, #ec4899);
}

.footer-container:has(.footer-policies) {
    grid-template-columns: 1.2fr 1fr 1fr 0.75fr;
}

body:has(#gp-consent-banner:not([hidden])) {
    padding-bottom: var(--gp-consent-offset, 120px);
}

@media (max-width: 900px) {
    .footer-container:has(.footer-policies) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gp-consent-banner {
        font-size: 0.8125rem;
        max-height: 35vh;
        overflow-y: auto;
        padding: 10px 14px;
    }

    .gp-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .gp-consent-inner p {
        flex: 1 1 auto;
        line-height: 1.45;
    }

    .gp-consent-actions {
        flex-direction: row;
        gap: 8px;
    }

    .gp-consent-btn {
        flex: 1;
        min-width: 0;
        padding: 9px 12px;
        text-align: center;
        width: auto;
    }
}
