/* --- POLICE ET VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #5865f2;
    --primary-light: #838dfa;
    --primary-glow: rgba(88, 101, 242, 0.3);
    --secondary: #2ed573;
    --bg-dark: #0a0b10;
    --bg-card: rgba(15, 17, 26, 0.7);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & STRUCTURE --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

.privacy-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #161929 0%, var(--bg-dark) 100%);
}

main.page-offset {
    flex: 1;
    padding-top: clamp(120px, 15vh, 180px);
    padding-bottom: 100px;
    max-width: 900px; /* Centrage et lisibilité optimale */
    margin: 0 auto;
    width: 90%;
}

/* --- DÉCORATIONS ANIMÉES --- */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
    animation: pulse-orb 10s infinite alternate;
}

.orb-1 { top: -5%; right: -5%; width: 500px; height: 500px; background: var(--primary); }
.orb-2 { bottom: 20%; left: -10%; width: 400px; height: 400px; background: var(--secondary); animation-delay: -5s; }

@keyframes pulse-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

.grid-pattern {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    pointer-events: none;
    z-index: 1;
}

/* --- HEADER --- */
.privacy-header {
    text-align: center;
    margin-bottom: 80px;
}

.eyebrow {
    display: inline-block;
    background: rgba(88, 101, 242, 0.15);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid rgba(88, 101, 242, 0.2);
    margin-bottom: 24px;
}

.privacy-header h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.privacy-header h1 span {
    background: linear-gradient(135deg, #fff 40%, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- CONTENU (GLASSMORPHISM) --- */
.privacy-content.glass {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 40px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-size: 0.9rem;
    background: rgba(88, 101, 242, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    font-weight: 600;
}

/* --- SECTIONS LÉGALES --- */
.legal-section { margin-bottom: 50px; }

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-section h2 i {
    width: 40px;
    height: 40px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--primary-light);
    border: 1px solid var(--glass-border);
}

.sub-section h3 {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin: 25px 0 15px 0;
}

.styled-list li {
    list-style: none;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
    color: var(--text-muted);
    transition: var(--transition);
}

.styled-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.styled-list li:hover {
    color: #fff;
    transform: translateX(5px);
}

/* --- COMPOSANTS SPÉCIFIQUES --- */
.alert-box {
    background: linear-gradient(90deg, rgba(46, 213, 115, 0.1), transparent);
    border-left: 4px solid var(--secondary);
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
}

.alert-box i { color: var(--secondary); font-size: 1.3rem; }

.btn-account-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 20px var(--primary-glow);
    transition: var(--transition);
}

.btn-account-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
    filter: brightness(1.1);
}

/* --- CARTE CONTACT --- */
.contact-card {
    margin-top: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    padding: 24px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-decoration: none;
}

.contact-item:hover {
    background: var(--glass);
    border-color: var(--primary-light);
    transform: scale(1.02);
}

.contact-item i { font-size: 1.5rem; color: var(--primary-light); }
.contact-item div span { display: block; color: #fff; font-weight: 700; }
.contact-item div small { color: var(--text-muted); }

/* --- ANIMATIONS DE RÉVÉLATION --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .privacy-content.glass { padding: 1.5rem; }
    .privacy-header h1 { font-size: 2.8rem; }
}
