:root {
    --hub-lgpd-navy: #0f1a33;
    --hub-lgpd-green: #07843f;
    --hub-lgpd-border: #d9e3dc;
    --hub-lgpd-muted: #526179;
    --hub-lgpd-white: #ffffff;
    --hub-lgpd-text-base: 16px;
    --hub-lgpd-text-small: 14px;
}

.hub-lgpd-notice {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    color: var(--hub-lgpd-navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

.hub-lgpd-notice.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 0s;
}

.hub-lgpd-notice__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid var(--hub-lgpd-border);
    border-radius: 16px;
    background: var(--hub-lgpd-white);
    box-shadow: 0 18px 48px rgba(15, 26, 51, .18);
}

.hub-lgpd-notice__icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #eaf8ef;
    color: var(--hub-lgpd-green);
}

.hub-lgpd-notice__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hub-lgpd-notice__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.hub-lgpd-notice__copy strong {
    display: block;
    margin: 0 0 3px;
    color: var(--hub-lgpd-navy);
    font-size: var(--hub-lgpd-text-base);
    font-weight: 800;
    line-height: 1.35;
}

.hub-lgpd-notice__copy p {
    margin: 0;
    color: var(--hub-lgpd-muted);
    font-size: var(--hub-lgpd-text-small);
    font-weight: 400;
    line-height: 1.5;
}

.hub-lgpd-notice__copy nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 7px;
}

.hub-lgpd-notice__copy a {
    color: #057238;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hub-lgpd-notice__copy a:hover,
.hub-lgpd-notice__copy a:focus-visible {
    color: #034c27;
}

.hub-lgpd-notice__button {
    flex: 0 0 auto;
    min-width: 112px;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid var(--hub-lgpd-green);
    border-radius: 10px;
    background: var(--hub-lgpd-green);
    color: var(--hub-lgpd-white);
    font: inherit;
    font-size: var(--hub-lgpd-text-small);
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hub-lgpd-notice__button:hover {
    border-color: #046b34;
    background: #046b34;
}

.hub-lgpd-notice__button:focus-visible,
.hub-lgpd-notice__copy a:focus-visible {
    outline: 3px solid rgba(7, 132, 63, .28);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .hub-lgpd-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .hub-lgpd-notice__inner {
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        border-radius: 14px;
    }

    .hub-lgpd-notice__icon {
        display: none;
    }

    .hub-lgpd-notice__button {
        align-self: stretch;
        min-width: 92px;
    }
}

@media (max-width: 520px) {
    .hub-lgpd-notice__inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hub-lgpd-notice__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hub-lgpd-notice,
    .hub-lgpd-notice__button {
        transform: none;
        transition-duration: 1ms;
    }
}
