
:root {
    --lgpd-primary:      #DA5A31;
    --lgpd-primary-dark: #b84a25;
    --lgpd-glass-bg:     rgba(15, 15, 20, 0.82);
    --lgpd-glass-border: rgba(255, 255, 255, 0.12);
    --lgpd-text:         #f0f0f0;
    --lgpd-text-muted:   rgba(240, 240, 240, 0.65);
    --lgpd-radius:       14px;
    --lgpd-shadow:       0 -4px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
    --lgpd-transition:   0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.privacidade {
    margin-top:7rem;
}

.lgpd-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10998;
    animation: lgpdFadeIn 0.3s ease forwards;
}

.lgpd-overlay.active { display: block; }


.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10999;
    background: var(--lgpd-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--lgpd-glass-border);
    box-shadow: var(--lgpd-shadow);
    padding: 1.1rem 1.5rem;

    
    transform: translateY(110%);
    transition: transform var(--lgpd-transition);
}

.lgpd-banner.visible { transform: translateY(0); }

.lgpd-banner__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.lgpd-banner__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(218, 90, 49, 0.6));
}

.lgpd-banner__text {
    flex: 1;
    font-size: 0.88rem;
    color: var(--lgpd-text-muted);
    line-height: 1.6;
    min-width: 240px;
}

.lgpd-banner__text strong { color: var(--lgpd-text); }

.lgpd-link {
    background: none;
    border: none;
    color: var(--lgpd-primary);
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    text-decoration: underline dotted;
    transition: color 0.2s;
}

.lgpd-link:hover { color: #ff7a4d; text-decoration: underline; }

.lgpd-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}


.lgpd-btn {
    font-family: "Urbanist", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.55rem 1.35rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.lgpd-btn--primary {
    background: var(--lgpd-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(218, 90, 49, 0.45);
}

.lgpd-btn--primary:hover {
    background: var(--lgpd-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(218, 90, 49, 0.55);
}

.lgpd-btn--outline {
    background: transparent;
    color: var(--lgpd-text-muted);
    border: 1px solid var(--lgpd-glass-border);
}

.lgpd-btn--outline:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--lgpd-text);
    border-color: rgba(255, 255, 255, 0.25);
}


.lgpd-modal {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 96vw);
    z-index: 11000;
    background: var(--lgpd-glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--lgpd-glass-border);
    border-radius: var(--lgpd-radius) var(--lgpd-radius) 0 0;
    box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    max-height: 86vh;
    transition: bottom var(--lgpd-transition);
}

.lgpd-modal.open { bottom: 0; }


.lgpd-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid var(--lgpd-glass-border);
    flex-shrink: 0;
}

.lgpd-modal__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lgpd-modal__lock { font-size: 1.3rem; }

.lgpd-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lgpd-text);
    margin: 0;
}

.lgpd-modal__close {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--lgpd-glass-border);
    color: var(--lgpd-text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.lgpd-modal__close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--lgpd-text);
    transform: rotate(90deg);
}


.lgpd-modal__body {
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    flex: 1;

    
    scrollbar-width: thin;
    scrollbar-color: rgba(218, 90, 49, 0.4) transparent;
}

.lgpd-modal__body::-webkit-scrollbar { width: 4px; }
.lgpd-modal__body::-webkit-scrollbar-thumb { background: rgba(218, 90, 49, 0.4); border-radius: 4px; }

.lgpd-modal__intro {
    font-size: 0.88rem;
    color: var(--lgpd-text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.lgpd-modal__intro strong { color: var(--lgpd-text); }


.lgpd-modal__footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--lgpd-glass-border);
    flex-shrink: 0;
}


.lgpd-category {
    border: 1px solid var(--lgpd-glass-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.lgpd-category:hover { background: rgba(255, 255, 255, 0.055); }

.lgpd-category__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.lgpd-category__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lgpd-text);
    margin: 0 0 0.3rem;
}

.lgpd-category__desc {
    font-size: 0.82rem;
    color: var(--lgpd-text-muted);
    line-height: 1.6;
    margin: 0;
}


.lgpd-toggle { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.lgpd-toggle__label { font-size: 0.65rem; color: var(--lgpd-primary); font-weight: 600; white-space: nowrap; }

.lgpd-toggle__switch {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background 0.3s ease;
    outline: none;
}

.lgpd-toggle__switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}


.lgpd-toggle__switch[aria-checked="true"],
.lgpd-toggle__switch--on {
    background: var(--lgpd-primary) !important;
    box-shadow: 0 0 8px rgba(218, 90, 49, 0.5);
}

.lgpd-toggle__switch[aria-checked="true"]::after {
    transform: translateX(20px);
}


.lgpd-toggle--disabled .lgpd-toggle__switch--on {
    cursor: not-allowed;
    opacity: 0.8;
}


.lgpd-rights {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: rgba(218, 90, 49, 0.07);
    border: 1px solid rgba(218, 90, 49, 0.25);
}

.lgpd-rights__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lgpd-primary);
    margin: 0 0 0.75rem;
}

.lgpd-rights__list {
    padding-left: 1.2rem;
    margin: 0 0 0.75rem;
}

.lgpd-rights__list li {
    font-size: 0.82rem;
    color: var(--lgpd-text-muted);
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.lgpd-rights__contact {
    font-size: 0.82rem;
    color: var(--lgpd-text-muted);
    margin: 0;
}

.lgpd-rights__link {
    color: var(--lgpd-primary);
    text-decoration: none;
    font-weight: 600;
}

.lgpd-rights__link:hover { text-decoration: underline; }


@keyframes lgpdFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


@media (max-width: 640px) {
    .lgpd-banner { padding: 1rem; }

    .lgpd-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .lgpd-banner__icon { display: none; }

    .lgpd-banner__actions {
        width: 100%;
        flex-direction: column-reverse;
    }

    .lgpd-btn { width: 100%; text-align: center; padding: 0.7rem 1rem; }

    .lgpd-modal { width: 100vw; border-radius: var(--lgpd-radius) var(--lgpd-radius) 0 0; }

    .lgpd-modal__footer { flex-direction: column-reverse; }
    .lgpd-modal__footer .lgpd-btn { width: 100%; text-align: center; }
}
