/* ============================================================
   CONDITIONS_UTILISATION.CSS — GuideON
   Modern · Animated · Responsive
   Focus: Cadre Légal & Clarté visuelle
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
    --pc-navy:    #0b0e1a;
    --pc-navy2:   #0e1220;
    --pc-glass:   rgba(255, 255, 255, 0.03);
    --pc-border:  rgba(255, 255, 255, 0.08);
    --pc-indigo:  #6366f1;
    --pc-purple:  #8b5cf6;
    --pc-cyan:    #1de9d5;
    --pc-text:    #ffffff;
    --pc-text2:   #94a3b8;
    --pc-text3:   #64748b;
    --pc-grad:    linear-gradient(135deg, #a78bfa 0%, #6366f1 50%, #1de9d5 100%);
    --pc-fh:      'Nunito', sans-serif;
    --pc-fb:      'Inter', sans-serif;
    --pc-r:       28px;
    --pc-pill:    100px;
    --bez:        cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── STRUCTURE ───────────────────────────────────────────── */
body {
    background-color: var(--pc-navy) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-fb);
    margin: 0;
}

.privacy-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ── DECORATIONS ────────────────────────────────────────── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.orb-1 {
    top: -10%; right: -5%;
    width: 600px; height: 600px;
    background: var(--pc-purple);
    animation: orbFloat 20s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: 5%; left: -10%;
    width: 500px; height: 500px;
    background: var(--pc-indigo);
    animation: orbFloat 25s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(40px, -60px) scale(1.1); }
}

.grid-pattern {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 85%);
    z-index: 1;
}

/* ── MAIN LAYOUT ─────────────────────────────────────────── */
main.page-offset {
    flex: 1;
    position: relative;
    z-index: 10;
    max-width: 960px;
    margin: 0 auto;
    width: 90%;
    padding-top: clamp(100px, 15vh, 160px);
    padding-bottom: 100px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 20px;
    border-radius: var(--pc-pill);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--pc-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--pc-cyan);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.privacy-header h1 {
    font-family: var(--pc-fh);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin: 25px 0;
    letter-spacing: -3px;
    line-height: 1;
}

.privacy-header h1 span {
    background: var(--pc-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-header p {
    color: var(--pc-text2);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 300;
}

/* ── CONTENT CARD ────────────────────────────────────────── */
.privacy-content.glass {
    background: rgba(15, 17, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-r);
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    position: relative;
}

.privacy-content.glass::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--pc-indigo), var(--pc-purple), transparent);
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pc-indigo);
    background: rgba(99, 102, 241, 0.08);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 35px;
}

/* ── SECTIONS ────────────────────────────────────────────── */
.legal-section {
    margin-top: 50px;
    border-top: 1px solid var(--pc-border);
    padding-top: 40px;
}

.legal-section:first-of-type { border: none; margin-top: 0; padding-top: 0; }

.legal-section h2 {
    font-family: var(--pc-fh);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.legal-section h2 i {
    color: var(--pc-indigo);
    background: rgba(99, 102, 241, 0.1);
    width: 45px; height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    transition: var(--bez) 0.4s;
}

.legal-section:hover h2 i {
    transform: rotate(-10deg) scale(1.1);
    background: rgba(99, 102, 241, 0.2);
}

.legal-section p {
    color: var(--pc-text2);
    line-height: 1.8;
    font-weight: 300;
}

/* ── LISTS ───────────────────────────────────────────────── */
.styled-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.styled-list li {
    position: relative;
    padding: 12px 15px 12px 40px;
    color: var(--pc-text2);
    transition: 0.3s;
    border-radius: 12px;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 15px;
    color: var(--pc-cyan);
    font-weight: 800;
    transition: 0.3s;
}

.styled-list li:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    transform: translateX(10px);
}

/* ── ALERT BOX ───────────────────────────────────────────── */
.alert-box {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
    border-left: 4px solid var(--pc-indigo);
    padding: 25px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    margin: 30px 0;
    align-items: center;
}

.alert-box i { font-size: 1.5rem; color: var(--pc-indigo); }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-card {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid var(--pc-border);
}

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

.contact-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.3s var(--bez);
}

.contact-item:hover {
    background: var(--pc-glass);
    border-color: var(--pc-indigo);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--pc-indigo);
}

.contact-item span { display: block; color: #fff; font-weight: 700; }
.contact-item small { color: var(--pc-text3); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--bez);
}

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

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