/* ==========================================================================
   DESIGN SYSTEM: LA PLATEFORME (FINAL)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* --- BRANDING --- */
    --brand-blue: #0ea5e9;
    --brand-purple: #7c3aed;
    --brand-gradient: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
    --brand-dark: #0f172a;
    
    /* --- COLORS --- */
    --background: #ffffff;
    --foreground: #09090b;
    --card: #ffffff;
    
    --primary: #18181b;
    --secondary: #f4f4f5;
    --muted: #f4f4f5;
    --muted-foreground: #64748b;
    
    --border: #e4e4e7;
    --radius: 0.5rem; /* 8px */
    
    --container: 1240px;
    --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--background); color: var(--foreground); line-height: 1.6; }

/* UTILS */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.section { padding: 5rem 0; }

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- BUTTONS (CORRIGÉS) --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 0.9rem; font-weight: 600;
    height: 2.5rem; padding: 0 1.2rem;
    transition: all 0.2s ease; cursor: pointer; text-decoration: none; border: 1px solid transparent;
}

/* Primary = Gradient Brand */
.btn-primary {
    background: var(--brand-gradient);
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.2);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }

/* Secondary = White with border */
.btn-secondary {
    background: white;
    border-color: var(--border);
    color: var(--foreground);
}
.btn-secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: #f8fafc; }

/* Ghost = Transparent */
.btn-ghost { background: transparent; color: var(--muted-foreground); }
.btn-ghost:hover { color: var(--foreground); background: var(--secondary); }

/* Dark = Black (for BYOC card) */
.btn-dark { background: white; color: black; border: none; font-weight: 700; }
.btn-dark:hover { background: #e4e4e7; }

/* --- HEADER --- */
.header {
    position: fixed; top: 0; left: 0; right: 0; height: var(--header-height);
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); z-index: 50; display: flex; align-items: center;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--foreground); font-weight: 800; font-size: 1.1rem; }
.logo img { height: 32px; width: auto; border-radius: 4px; }

/* --- HERO SECTION (SPLIT LAYOUT) --- */
.hero {
    padding: 8rem 0 5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Texte un peu plus large que l'image */
    align-items: center;
    gap: 4rem;
    background: radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.6;
}

/* Image bateau à droite */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 550px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    animation: float 6s ease-in-out infinite;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- CARDS & GRID --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    display: flex; flex-direction: column;
}
.card:hover { border-color: var(--brand-blue); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.95rem; color: var(--muted-foreground); margin-bottom: 1.5rem; line-height: 1.5; }

/* Liste à puces propre */
.check-list { list-style: none; margin-bottom: 2rem; padding: 0; }
.check-list li { 
    display: flex; align-items: center; gap: 10px; 
    margin-bottom: 0.8rem; font-size: 0.9rem; color: var(--muted-foreground); 
}
.check-list li::before {
    content: "✓"; 
    color: #10b981; font-weight: 800; background: rgba(16, 185, 129, 0.1);
    width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}

/* Badges */
.badge {
    display: inline-flex; align-items: center; padding: 4px 12px;
    border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 1rem; width: fit-content;
}
.badge-blue { background: rgba(14, 165, 233, 0.1); color: var(--brand-blue); }
.badge-gray { background: var(--secondary); color: var(--muted-foreground); border: 1px solid var(--border); }

/* --- ROADMAP --- */
.roadmap-card {
    background: #fafafa; border: 1px dashed var(--border); border-radius: 8px; padding: 1.5rem;
}
.roadmap-status {
    display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.5rem;
}
.dot { width: 8px; height: 8px; background: #fbbf24; border-radius: 50%; }

/* --- FOOTER --- */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: #f8fafc; }
.footer-layout { display: flex; justify-content: space-between; gap: 4rem; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 280px; }
.footer-links { display: flex; gap: 4rem; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; color: var(--foreground); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--muted-foreground); text-decoration: none; font-size: 0.9rem; transition: 0.2s; }
.footer-links a:hover { color: var(--brand-blue); }
.footer-bottom { margin-top: 3rem; pt-4; border-top: 1px solid var(--border); text-align: center; font-size: 0.85rem; color: var(--muted-foreground); padding-top: 2rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 8rem; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-image { display: flex; justify-content: center; margin-top: 3rem; }
    .hero-image img { max-width: 80%; }
}
@media (max-width: 768px) {
    .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .footer-layout { flex-direction: column; gap: 2rem; }
    .footer-links { flex-direction: column; gap: 2rem; }
    .flex.gap-2 { width: 100%; } /* Boutons header */
    .btn { width: 100%; } /* Boutons pleine largeur sur mobile */
}