/* Variables CSS */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #ffffff;
    --light-surface: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--light-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation - MEMO Charte Graphique */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: #ffffff;
    border-bottom: 1px solid var(--color-border-light, #e2e8f0);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0.75rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #002A7E; /* Bleu foncé MEMO */
    font-family: var(--font-display, 'Quicksand', sans-serif);
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    background: var(--color-accent, #FFCE00); /* Jaune MEMO */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease-out;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #002A7E;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    transform: scaleX(1);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #002A7E;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    bottom: -100px;
    left: 50%;
    animation-delay: -10s;
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--dark-bg);
    color: var(--text-light);
}

.section-dark .section-title,
.section-dark h3 {
    color: var(--text-light);
}

.section-dark .section-subtitle,
.section-dark p {
    color: #cbd5e1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: var(--light-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vision-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 16px;
    width: calc(50% - 40px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: var(--dark-surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.objective-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.objective-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-stat-card {
    background: var(--light-surface);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.team-stat-card h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-stat-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-stat-card p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--light-surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-surface);
    color: #cbd5e1;
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Responsive */
@media (max-width: 968px) {
    /* Cache les liens nav et le sélecteur de langue */
    .nav-links {
        display: none !important;
    }

    .hide-mobile {
        display: none !important;
    }

    /* Affiche le bouton hamburger */
    .mobile-menu-btn {
        display: flex;
    }

    /* Réduit la taille du logo sur mobile */
    .navbar-brand img,
    .memo-logo img {
        height: 60px !important;
    }

    /* Menu déroulant mobile quand ouvert */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height, 80px);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 2px solid #e2e8f0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 1rem 1.5rem;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active li {
        border-bottom: 1px solid #f0f4f8;
    }

    .nav-links.active li:last-child {
        border-bottom: none;
    }

    .nav-links.active a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1rem;
    }

    /* Boutons auth compacts */
    .nav-auth-buttons .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.82rem;
    }

    .nav-buttons {
        gap: 0.5rem;
    }

    .nav-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 40px;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .nav-buttons {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FOUNDERS HERO BLOCK (intégré dans le hero)
============================================================ */
.founders-banner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: #001e5a;
    color: white;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0,30,90,0.18);
}

.founders-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,30,90,0.25);
    color: white;
    text-decoration: none;
}

.founders-banner-badge {
    background: rgba(255,180,30,0.18);
    border: 1px solid rgba(255,180,30,0.45);
    color: #FFB41E;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

.founders-banner-text {
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.founders-banner-count {
    font-weight: 800;
    color: white;
    margin-right: 4px;
}

.founders-banner-bar {
    display: block;
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
}

.founders-banner-fill {
    display: block;
    height: 100%;
    background: #FFB41E;
    border-radius: 999px;
    transition: width 1.2s ease;
    width: 0%;
}

.founders-banner-cta {
    font-weight: 700;
    color: white;
    white-space: nowrap;
    padding-left: 4px;
    border-left: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 640px) {
    .founders-banner-bar,
    .founders-banner-text { display: none; }
    .founders-banner { font-size: 0.82rem; gap: 10px; }
}

/* ============================================================
   FOUNDERS / EARLY ACCESS SECTION (standalone — kept for reference)
============================================================ */
.founders-section {
    background: linear-gradient(135deg, #050f24 0%, #001e5a 55%, #0a2070 100%);
    color: white;
    padding: var(--spacing-20) 0;
    position: relative;
    overflow: hidden;
}

.founders-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,180,30,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.founders-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,130,255,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.founders-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.founders-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: rgba(255,180,30,0.12);
    border: 1px solid rgba(255,180,30,0.35);
    color: #FFB41E;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-5);
}

.founders-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin: 0 0 var(--spacing-3) 0;
}

.founders-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFB41E;
    margin: 0 0 var(--spacing-8) 0;
}

.founders-progress-wrap {
    margin-bottom: var(--spacing-8);
}

.founders-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-2);
}

.founders-count {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFB41E;
}

.founders-total-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

.founders-progress-bar {
    height: 7px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
}

.founders-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFB41E 0%, #ff9500 100%);
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 0%;
}

.founders-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-8) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.founders-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: 0.97rem;
    color: rgba(255,255,255,0.82);
}

.founders-benefit-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(255,180,30,0.18);
    border: 1px solid rgba(255,180,30,0.45);
    color: #FFB41E;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

.founders-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: #FFB41E;
    color: #001240;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 24px rgba(255,180,30,0.25);
}

.founders-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,180,30,0.4);
    color: #001240;
    text-decoration: none;
}

.founders-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.founders-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-xl);
    padding: var(--spacing-5) var(--spacing-6);
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s;
}

.founders-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,180,30,0.2);
}

.founders-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.founders-card-text strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.founders-card-text span {
    color: rgba(255,255,255,0.5);
    font-size: 0.84rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .founders-inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-10);
    }
    .founders-title {
        font-size: 1.7rem;
    }
    .founders-visual {
        display: none;
    }
}




