/* --- VARIABLES & RESET --- */
:root {
    /* Palette Incruste */
    --bg-color: #0F172A;       /* Slate 900 */
    --surface-color: #1E293B;  /* Slate 800 */
    --primary-color: #6366F1;  /* Indigo 500 */
    --accent-color: #818CF8;   /* Indigo 400 */
    --text-main: #F8FAFC;      /* Slate 50 */
    --text-muted: #94A3B8;     /* Slate 400 */
    --success: #10B981;        /* Emerald 500 */
    --danger: #EF4444;
    
    /* Espacements & Formes */
    --border-radius: 16px;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- UTILITAIRES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.btn-primary, .btn-secondary {
    display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: var(--transition); cursor: pointer; font-size: 1rem;
}

.btn-primary { background-color: var(--primary-color); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
.btn-primary:hover { background-color: #4F46E5; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6); }

.btn-secondary { background-color: transparent; border: 1px solid var(--surface-color); color: var(--text-muted); margin-left: 10px; }
.btn-secondary:hover { border-color: var(--text-main); color: var(--text-main); }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 20px 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.logo .dot { color: var(--primary-color); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn-primary) { color: var(--text-muted); font-size: 0.95rem; transition: var(--transition); }
.nav-links a:not(.btn-primary):hover { color: var(--text-main); }

.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-main); margin: 5px; transition: var(--transition); }

/* --- HERO SECTION --- */
.hero { padding: 160px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(15, 23, 42, 0) 70%); z-index: -1; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; }

.tag { background-color: rgba(99, 102, 241, 0.1); color: var(--accent-color); padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: inline-block; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; background: linear-gradient(to right, #fff, #94A3B8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; max-width: 500px; }

/* --- MOCKUP TÉLÉPHONE --- */
.phone-mockup { width: 280px; height: 580px; background: #000; border: 12px solid #1E293B; border-radius: 40px; overflow: hidden; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); flex-shrink: 0; }
.screen { width: 100%; height: 100%; background: #000; position: relative; display: flex; justify-content: center; align-items: center; }
.app-img { width: 100%; height: 100%; object-fit: cover; position: absolute; z-index: 1; top: 0; left: 0; }

.radar-animation { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; background: rgba(99, 102, 241, 0.3); border-radius: 50%; animation: pulse 2s infinite; z-index: 10; pointer-events: none; }
.radar-animation::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: var(--primary-color); border-radius: 50%; box-shadow: 0 0 25px var(--primary-color); }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; } }

/* --- FEATURES --- */
.features { padding: 100px 0; background-color: #0B1120; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--surface-color); padding: 40px; border-radius: var(--border-radius); border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(99, 102, 241, 0.3); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- CTA SECTION --- */
.cta-section { padding: 100px 0; text-align: center; background: linear-gradient(180deg, var(--bg-color) 0%, #1e1b4b 100%); }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-section p { color: var(--text-muted); margin-bottom: 40px; }
.small-text { margin-top: 15px; font-size: 0.8rem; color: var(--text-muted); opacity: 0.7; }

/* --- FOOTER --- */
footer { padding: 50px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-weight: 800; color: var(--text-muted); }
.socials a { margin-left: 20px; color: var(--text-muted); transition: var(--transition); }
.socials a:hover { color: var(--primary-color); }
.copyright { color: var(--text-muted); font-size: 0.8rem; }

/* --- ANIMATIONS JS --- */
.hidden-element { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

/* --- PAGES LÉGALES (CGU & Suppression) --- */
.legal-page { padding: 120px 0 80px 0; background-color: var(--bg-color); min-height: 80vh; }
.legal-container { max-width: 800px; background-color: var(--surface-color); padding: 40px; border-radius: var(--border-radius); border: 1px solid rgba(255, 255, 255, 0.05); }
.legal-container h1 { font-size: 2rem; margin-bottom: 5px; color: #fff; }
.last-updated { color: var(--primary-color); font-size: 0.9rem; font-weight: 600; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 30px; margin-bottom: 15px; color: #E2E8F0; }
.legal-content h3 { font-size: 1.1rem; margin-bottom: 10px; color: #E2E8F0; }
.legal-content p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { margin-bottom: 20px; padding-left: 20px; color: var(--text-muted); font-size: 0.95rem; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--primary-color); text-decoration: underline; }
.deletion-method { background-color: rgba(0, 0, 0, 0.2); padding: 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
.mt-4 { margin-top: 20px; }
.deletion-info { margin-top: 40px; padding: 20px; border-left: 4px solid var(--primary-color); background-color: rgba(99, 102, 241, 0.05); }

.footer-links-legal { display: flex; gap: 15px; align-items: center; }
.footer-links-legal a { color: var(--text-muted); font-size: 0.85rem; transition: var(--transition); }
.footer-links-legal a:hover { color: var(--text-main); text-decoration: underline; }
.footer-links-legal .separator { color: rgba(255, 255, 255, 0.2); }

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 768px) {
    .nav-links { position: absolute; right: 0px; top: 70px; height: 0; width: 100%; background-color: var(--bg-color); flex-direction: column; align-items: center; justify-content: center; overflow: hidden; transition: height 0.3s ease-in; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links.nav-active { height: 250px; box-shadow: 0 10px 10px rgba(0,0,0,0.5); }
    .nav-links li { margin: 15px 0; }
    .burger { display: block; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .btn-secondary { margin-left: 0; }
    .phone-mockup { width: 340px; height: 650px; margin-top: 40px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .socials a { margin: 0 10px; }
    .legal-container { padding: 25px; }
    .footer-links-legal { flex-direction: column; gap: 10px; }
    .footer-links-legal .separator { display: none; }
}