/* Barra de consentimento de cookies — apenas index */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    padding: 0.85rem 1rem 1rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent-banner.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-banner__panel {
    max-width: 1140px;
    margin: 0 auto;
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(44, 62, 80, 0.18);
    padding: 1rem 1.15rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.cookie-consent-banner__content {
    flex: 1 1 420px;
    min-width: 0;
}

.cookie-consent-banner__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
}

.cookie-consent-banner__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #34495e;
}

.cookie-consent-banner__policy-link {
    color: #0f5a37;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-banner__policy-link:hover,
.cookie-consent-banner__policy-link:focus {
    color: #0b452b;
}

.cookie-consent-banner__actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 168px;
}

.cookie-consent-banner__btn {
    border: 0;
    border-radius: 8px;
    padding: 0.62rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-consent-banner__btn--accept {
    background: #0f5a37;
    color: #ffffff;
}

.cookie-consent-banner__btn--accept:hover,
.cookie-consent-banner__btn--accept:focus {
    background: #0b452b;
    color: #ffffff;
}

.cookie-consent-banner__btn--reject {
    background: #eef1f4;
    color: #2c3e50;
}

.cookie-consent-banner__btn--reject:hover,
.cookie-consent-banner__btn--reject:focus {
    background: #e2e7ec;
    color: #2c3e50;
}

body.cookie-consent-open {
    padding-bottom: 7.5rem;
}

body.cookie-consent-open .bot-launcher {
    bottom: 7.5rem;
}

body.cookie-consent-open .bot-launcher-restore {
    bottom: calc(7.5rem + 76px);
}

@media (max-width: 767.98px) {
    .cookie-consent-banner__panel {
        padding: 0.95rem;
    }

    .cookie-consent-banner__actions {
        width: 100%;
        min-width: 0;
    }

    .cookie-consent-banner__btn {
        width: 100%;
    }

    body.cookie-consent-open {
        padding-bottom: 10.5rem;
    }

    body.cookie-consent-open .bot-launcher {
        bottom: 10.5rem;
    }

    body.cookie-consent-open .bot-launcher-restore {
        bottom: calc(10.5rem + 76px);
    }
}
