/* ================================ */
/* MODAL LGPD */
/* ================================ */

.lgpd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.lgpd-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lgpd-modal {
    background: white;
    border-radius: 1.25rem;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lgpd-modal-overlay.active .lgpd-modal {
    transform: scale(1);
}

.lgpd-modal-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1.25rem 1.25rem 0 0;
}

.lgpd-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.lgpd-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.lgpd-modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.lgpd-modal-content::-webkit-scrollbar {
    width: 8px;
}

.lgpd-modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.lgpd-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.lgpd-modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lgpd-intro {
    margin-bottom: 1.5rem;
}

.lgpd-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
}

.lgpd-section {
    margin-bottom: 1.75rem;
}

.lgpd-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lgpd-section h3 i {
    color: #3b82f6;
    font-size: 1rem;
}

.lgpd-list {
    list-style: none;
    padding-left: 0;
}

.lgpd-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: #475569;
    line-height: 1.6;
}

.lgpd-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

.lgpd-highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid #3b82f6;
    margin: 1.5rem 0;
}

.lgpd-highlight p {
    font-size: 1.05rem;
    color: #1e40af;
    font-weight: 600;
    margin: 0;
}

.lgpd-important {
    background: #fef3c7;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid #f59e0b;
}

.lgpd-important h3 {
    color: #92400e;
}

.lgpd-important .lgpd-list li {
    color: #78350f;
}

.lgpd-legal {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #92400e;
    font-style: italic;
}

.lgpd-contact {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #64748b;
    font-style: italic;
}

/* Seção de Mídia (Fotos e Vídeos) */
.lgpd-media {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid #ef4444;
}

.lgpd-media h3 {
    color: #991b1b;
}

.lgpd-media h3 i {
    color: #ef4444;
}

.lgpd-media-intro {
    font-size: 1rem;
    color: #7f1d1d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lgpd-media-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #991b1b;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.lgpd-media .lgpd-list li {
    color: #7f1d1d;
}

.lgpd-media-highlight {
    background: rgba(239, 68, 68, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #991b1b;
}

.lgpd-anchor {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #86efac;
    margin-top: 1.5rem;
    text-align: center;
}

.lgpd-anchor p {
    font-size: 1.1rem;
    color: #166534;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}

.lgpd-anchor i {
    color: #22c55e;
    font-size: 0.9rem;
    opacity: 0.7;
}

.lgpd-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 1.25rem 1.25rem;
}

.lgpd-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 1.25rem;
    position: relative;
}

.lgpd-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.lgpd-checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 0.375rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lgpd-checkbox-container input[type="checkbox"]:checked~.lgpd-checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.lgpd-checkbox-container input[type="checkbox"]:checked~.lgpd-checkmark::after {
    content: "✓";
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.lgpd-checkbox-label {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.lgpd-checkbox-label a {
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 600;
}

.lgpd-checkbox-label a:hover {
    color: #2563eb;
}

.lgpd-btn-accept {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.lgpd-btn-accept:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.lgpd-btn-accept:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

.lgpd-btn-accept i {
    font-size: 1.1rem;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    .lgpd-modal {
        max-height: 95vh;
        margin: 0.5rem;
    }

    .lgpd-modal-header {
        padding: 1.5rem 1.25rem 1rem;
    }

    .lgpd-modal-header h2 {
        font-size: 1.4rem;
    }

    .lgpd-subtitle {
        font-size: 0.9rem;
    }

    .lgpd-modal-content {
        padding: 1.25rem;
    }

    .lgpd-intro p {
        font-size: 0.95rem;
    }

    .lgpd-section h3 {
        font-size: 1rem;
    }

    .lgpd-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .lgpd-highlight p,
    .lgpd-anchor p {
        font-size: 0.95rem;
    }

    .lgpd-modal-footer {
        padding: 1.25rem;
    }

    .lgpd-btn-accept {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
    }
}