.lgpdBanner,
.lgpdModal,
.lgpdOverlay,
.lgpdReopen {
    --lgpd-bg: #ffffff;
    --lgpd-ink: #0f172a;
    --lgpd-muted: #475569;
    --lgpd-rule: #e2e8f0;
    --lgpd-soft: #f8fafc;
    --lgpd-primary: #37367c;
    --lgpd-red: #ec3237;
    --lgpd-red-dark: #cf2227;
    --lgpd-shadow: 0 22px 54px -28px rgba(33,32,77,.34), 0 8px 18px -16px rgba(33,32,77,.26);
    font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
}

.lgpdOverlay {
    position: fixed;
    inset: 0;
    z-index: 199800;
    background: rgba(17,17,17,.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.lgpdOverlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.lgpdBanner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 199900;
    width: min(460px, calc(100vw - 48px));
    padding: 22px;
    background: var(--lgpd-bg);
    border: 1px solid var(--lgpd-rule);
    border-radius: 8px;
    box-shadow: var(--lgpd-shadow);
    color: var(--lgpd-ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity .3s ease, transform .3s ease;
}
.lgpdBanner.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lgpdBanner__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lgpdBanner__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: var(--lgpd-red);
    background: rgba(236,50,55,.08);
    border: 1px solid rgba(236,50,55,.14);
    border-radius: 8px;
}
.lgpdBanner__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--lgpd-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.lgpdBanner__title,
.lgpdModal__title {
    margin: 0;
    color: var(--lgpd-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}
.lgpdBanner__texto {
    margin: 0 0 18px;
    color: var(--lgpd-muted);
    font-size: 13px;
    line-height: 1.65;
}
.lgpdBanner__texto a {
    color: var(--lgpd-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lgpdBanner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.lgpdBanner__actions .lgpd-btn--accept {
    grid-column: 1 / -1;
}

.lgpd-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--lgpd-primary);
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.lgpd-btn:hover {
    transform: translateY(-1px);
}
.lgpd-btn--accept {
    background: var(--lgpd-primary);
    border-color: var(--lgpd-primary);
    color: #fff;
}
.lgpd-btn--accept:hover {
    background: var(--lgpd-red);
    border-color: var(--lgpd-red);
}
.lgpd-btn--ghost {
    background: #fff;
    border-color: var(--lgpd-rule);
    color: var(--lgpd-primary);
}
.lgpd-btn--ghost:hover {
    border-color: var(--lgpd-red);
    color: var(--lgpd-red);
}
.lgpd-btn--link {
    color: var(--lgpd-muted);
    border-color: transparent;
}
.lgpd-btn--link:hover {
    color: var(--lgpd-red);
    background: rgba(236,50,55,.06);
}

.lgpdModal {
    position: fixed;
    inset: 0;
    z-index: 199950;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.lgpdModal.is-visible {
    opacity: 1;
    visibility: visible;
}
.lgpdModal__dialog {
    width: min(620px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--lgpd-rule);
    border-radius: 8px;
    box-shadow: 0 28px 70px -28px rgba(0,0,0,.38);
    transform: scale(.98);
    transition: transform .25s ease;
}
.lgpdModal.is-visible .lgpdModal__dialog {
    transform: scale(1);
}
.lgpdModal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--lgpd-rule);
}
.lgpdModal__subtitle {
    margin: 8px 0 0;
    color: var(--lgpd-muted);
    font-size: 13px;
    line-height: 1.55;
}
.lgpdModal__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--lgpd-rule);
    border-radius: 6px;
    background: #fff;
    color: var(--lgpd-primary);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lgpdModal__close:hover {
    border-color: var(--lgpd-red);
    color: var(--lgpd-red);
}
.lgpdModal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 4px 24px 8px;
}
.lgpdCategory {
    padding: 18px 0;
    border-bottom: 1px solid var(--lgpd-rule);
}
.lgpdCategory:last-child {
    border-bottom: 0;
}
.lgpdCategory__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.lgpdCategory__title {
    margin: 0 0 6px;
    color: var(--lgpd-primary);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}
.lgpdCategory__badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    color: var(--lgpd-red);
    background: rgba(236,50,55,.08);
    border-radius: 6px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.lgpdCategory__desc {
    margin: 10px 0 0;
    color: var(--lgpd-muted);
    font-size: 12.5px;
    line-height: 1.58;
}

.lgpdSwitch {
    position: relative;
    width: 46px;
    height: 26px;
    flex: 0 0 46px;
}
.lgpdSwitch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.lgpdSwitch__slider {
    position: absolute;
    inset: 0;
    background: #c8cdd2;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
}
.lgpdSwitch__slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    transition: transform .2s ease;
}
.lgpdSwitch input:checked + .lgpdSwitch__slider {
    background: var(--lgpd-red);
}
.lgpdSwitch input:checked + .lgpdSwitch__slider::before {
    transform: translateX(20px);
}
.lgpdSwitch input:disabled + .lgpdSwitch__slider {
    cursor: not-allowed;
    opacity: .7;
}

.lgpdModal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 24px 24px;
    background: var(--lgpd-soft);
    border-top: 1px solid var(--lgpd-rule);
}
.lgpdModal__footer .lgpd-btn {
    flex: 1 1 150px;
}

.lgpdReopen {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 199700;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--lgpd-primary);
    color: #fff;
    box-shadow: 0 16px 30px -18px rgba(0,0,0,.45);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.lgpdReopen.is-visible {
    display: inline-flex;
}
.lgpdReopen:hover {
    background: var(--lgpd-red);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .lgpdBanner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        padding: 18px;
    }
    .lgpdBanner__actions {
        grid-template-columns: 1fr;
    }
    .lgpdModal {
        padding: 12px;
        align-items: flex-end;
    }
    .lgpdModal__dialog {
        max-height: calc(100vh - 24px);
    }
    .lgpdModal__header,
    .lgpdModal__body,
    .lgpdModal__footer {
        padding-left: 18px;
        padding-right: 18px;
    }
    .lgpdModal__footer .lgpd-btn {
        flex-basis: 100%;
    }
    .lgpdReopen {
        left: 12px;
        bottom: 12px;
    }
}

.contentPolicy {
    padding: 0 10px;
}
.contentPolicy__titulo {
    margin: 0 0 22px 0;
    color: var(--lgpd-primary, #37367c);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}
.contentPolicy__texto {
    margin-bottom: 25px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}
.contentPolicy__texto > p {
    margin-bottom: 15px;
}
