/* ===== PÁGINAS LEGAIS - DESIGN MODERNO ===== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais da Página Principal */
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --accent-color: #ff9800;
    
    /* Cores de Texto */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    
    /* Cores de Fundo */
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --background-tertiary: #f1f3f4;
    
    /* Cores de Status */
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Cores de Borda */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;
    
    /* Bordas */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #333333);
}

body {
    background: var(--gradient-primary);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Container Principal */
.legal-container {
    max-width: 900px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.legal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

/* Cabeçalho da Página */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.legal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.legal-container h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-container h1 i {
    margin-right: 0.5rem;
    opacity: 0.9;
}

.legal-container .legal-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Seções de Conteúdo */
.legal-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(156, 39, 176, 0.05));
    border-radius: 15px;
    z-index: -1;
}

.legal-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-container h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Subtítulos h3 */
.legal-container h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.5rem 0 0.75rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--border-color);
    position: relative;
}

.legal-container h3::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 0 2px 2px 0;
}

.legal-container p {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-container p:last-child {
    margin-bottom: 0;
}

/* Listas */
.legal-container ul, .legal-container ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-container li {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-container ul li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-container ol li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

/* Links */
.legal-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-container a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Botão de Voltar */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    margin-top: 2rem;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: white;
}

.back-button i {
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .legal-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .legal-container h1 {
        font-size: 2.2rem;
    }
    
    .legal-container .legal-subtitle {
        font-size: 1.1rem;
    }
    
    .legal-section {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .legal-container h2 {
        font-size: 1.3rem;
    }
    
    .legal-container h3 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.75rem 0;
    }
    
    .legal-container p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .legal-container h1 {
        font-size: 1.8rem;
    }
    
    .legal-container .legal-subtitle {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 1rem;
    }
    
    .legal-container h2 {
        font-size: 1.2rem;
    }
    
    .legal-container h3 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem 0;
        padding-left: 0.75rem;
    }
    
    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-container {
    animation: fadeInUp 0.6s ease-out;
}

.legal-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.legal-section:nth-child(1) { animation-delay: 0.1s; }
.legal-section:nth-child(2) { animation-delay: 0.2s; }
.legal-section:nth-child(3) { animation-delay: 0.3s; }
.legal-section:nth-child(4) { animation-delay: 0.4s; }

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d81b60, #8e24aa);
}
