/* ============================================
   NEXTLEARN – SITE VITRINE
   Style CSS complet – Design moderne & élégant
   Couleurs : #1a497d (bleu profond) & #ffffff
   ============================================ */

/* ---- Variables CSS ---- */
:root {
    --primary: #1a497d;
    --primary-dark: #0d2844;
    --primary-light: #2a5a9e;
    --primary-gradient: linear-gradient(135deg, #1a497d 0%, #2a5a9e 100%);
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 73, 125, 0.1);
    --shadow-lg: 0 10px 40px rgba(26, 73, 125, 0.15);
    --shadow-xl: 0 20px 60px rgba(26, 73, 125, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ---- Sections globales ---- */
section {
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(26, 73, 125, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag.tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.text-white {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle.text-light {
    color: rgba(255, 255, 255, 0.7);
}

.highlight {
    color: var(--primary);
}

.highlight-light {
    color: #7db8ff;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.logo-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(26, 73, 125, 0.05);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 26px;
    height: 2.5px;
    background: var(--gray-900);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 40%, #e8f0fe 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Particules CSS */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(26, 73, 125, 0.06);
    animation: float-particle linear infinite;
}

.particle:nth-child(1) { width: 80px; height: 80px; top: 15%; left: 10%; animation-duration: 20s; animation-delay: 0s; }
.particle:nth-child(2) { width: 50px; height: 50px; top: 60%; left: 80%; animation-duration: 25s; animation-delay: -5s; }
.particle:nth-child(3) { width: 120px; height: 120px; top: 30%; left: 60%; animation-duration: 30s; animation-delay: -10s; }
.particle:nth-child(4) { width: 40px; height: 40px; top: 80%; left: 30%; animation-duration: 22s; animation-delay: -3s; }
.particle:nth-child(5) { width: 60px; height: 60px; top: 10%; left: 75%; animation-duration: 28s; animation-delay: -8s; }
.particle:nth-child(6) { width: 90px; height: 90px; top: 50%; left: 5%; animation-duration: 35s; animation-delay: -15s; }
.particle:nth-child(7) { width: 35px; height: 35px; top: 70%; left: 55%; animation-duration: 18s; animation-delay: -2s; }
.particle:nth-child(8) { width: 70px; height: 70px; top: 20%; left: 40%; animation-duration: 24s; animation-delay: -12s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(30px, -40px) scale(1.1); opacity: 0.6; }
    50% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.3; }
    75% { transform: translate(15px, 35px) scale(1.05); opacity: 0.5; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 73, 125, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Boutons globaux */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(26, 73, 125, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 73, 125, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid rgba(26, 73, 125, 0.25);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(26, 73, 125, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Stats Hero */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 2px;
}

/* Phone Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--gray-900);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 
        0 30px 80px rgba(26, 73, 125, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: var(--transition-slow);
    animation: phone-float 6s ease-in-out infinite;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow: 0 40px 100px rgba(26, 73, 125, 0.3);
}

@keyframes phone-float {
    0%, 100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-12px); }
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: var(--gray-900);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: var(--white);
    border-radius: 26px;
    height: 100%;
    overflow: hidden;
    padding: 30px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-header-mock {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    padding-bottom: 8px;
}

.app-header-mock i {
    margin-right: 6px;
}

.app-search-mock {
    background: var(--gray-100);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-card-mock {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.app-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(26, 73, 125, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.app-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-900);
}

.app-card-sub {
    font-size: 0.68rem;
    color: var(--gray-500);
}

.app-nav-mock {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding: 12px 0 4px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-300);
    font-size: 1rem;
}

.app-nav-mock i:first-child {
    color: var(--primary);
}

/* Vague de séparation */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-separator svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   FONCTIONNALITÉS V1 – ORBITAL TIMELINE
   ============================================ */
.features-v1-orbital {
    padding: 100px 0 140px;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.features-v1-orbital .section-header {
    position: relative;
    z-index: 10;
}

/* ---- Orbital Container ---- */
.orbital-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.orbital-viewport {
    position: relative;
    width: 500px;
    height: 500px;
}

/* ---- Centre pulsant ---- */
.orbital-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.orbital-center-core {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a497d, #2a5a9e, #7db8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    animation: orbital-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 30px rgba(26, 73, 125, 0.5);
}

.orbital-center-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(26, 73, 125, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbital-center-ring.ring-1 {
    width: 80px;
    height: 80px;
    animation: orbital-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.orbital-center-ring.ring-2 {
    width: 96px;
    height: 96px;
    animation: orbital-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    animation-delay: 0.5s;
    opacity: 0.5;
}

@keyframes orbital-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 30px rgba(26, 73, 125, 0.5); }
    50% { opacity: 0.85; box-shadow: 0 0 50px rgba(26, 73, 125, 0.8); }
}

@keyframes orbital-ping {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    75%, 100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ---- Orbite cercle ---- */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(26, 73, 125, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ---- Nœuds orbitaux ---- */
.orbital-node {
    position: absolute;
    top: 50%;
    left: 50%;
    cursor: pointer;
    transition: opacity 0.7s ease, z-index 0s;
    z-index: 20;
}

.node-energy-aura {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(26, 73, 125, 0.25) 0%, transparent 70%);
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.orbital-node.is-active .node-energy-aura,
.orbital-node.is-related .node-energy-aura {
    width: 80px;
    height: 80px;
    animation: aura-pulse 1.5s ease-in-out infinite;
}

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

.node-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    border: 2px solid rgba(26, 73, 125, 0.25);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(26, 73, 125, 0.1);
}

.orbital-node:hover .node-circle {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(26, 73, 125, 0.2);
}

.orbital-node.is-active .node-circle {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 25px rgba(26, 73, 125, 0.4);
    transform: scale(1.4);
}

.orbital-node.is-related .node-circle {
    background: rgba(26, 73, 125, 0.15);
    color: var(--primary);
    border-color: var(--primary);
    animation: related-pulse 1.2s ease-in-out infinite;
}

@keyframes related-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(26, 73, 125, 0.15); }
    50% { box-shadow: 0 4px 20px rgba(26, 73, 125, 0.35); }
}

/* ---- Label du nœud ---- */
.node-label {
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    transition: all 0.3s ease;
    text-align: center;
}

.orbital-node.is-active .node-label {
    color: var(--primary);
    transform: translateX(-50%) scale(1.15);
}

/* ---- Carte détail du nœud ---- */
.node-card {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 260px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 40px rgba(26, 73, 125, 0.15), 0 0 0 1px rgba(26, 73, 125, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
}

.orbital-node.is-active .node-card {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) scale(1);
}

.node-card-connector {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: rgba(26, 73, 125, 0.3);
}

.node-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.node-status {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    border: 1px solid;
}

.status-completed {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.status-in-progress {
    color: var(--primary);
    background: rgba(26, 73, 125, 0.08);
    border-color: var(--primary-light);
}

.status-pending {
    color: var(--gray-500);
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.node-card-version {
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--gray-500);
}

.node-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.node-card-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Energy bar */
.node-card-energy {
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    margin-bottom: 12px;
}

.node-card-energy .energy-label {
    font-size: 0.65rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
}

.node-card-energy .energy-value {
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--primary);
    text-align: right;
    margin-top: -14px;
}

.energy-bar {
    width: 100%;
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.energy-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a497d, #7db8ff);
    border-radius: 2px;
    transition: width 0.6s ease;
}

/* Related nodes */
.node-card-related {
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.related-header {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.related-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-family: var(--font-family);
    color: var(--primary);
    background: transparent;
    border: 1px solid rgba(26, 73, 125, 0.2);
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.related-tag:hover {
    background: rgba(26, 73, 125, 0.06);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.related-tag i {
    font-size: 0.5rem;
    opacity: 0.5;
}

/* ---- SVG Connections ---- */
.orbital-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.orbital-connections line {
    stroke: rgba(26, 73, 125, 0.08);
    stroke-width: 1;
    transition: all 0.5s ease;
}

.orbital-connections line.connection-active {
    stroke: rgba(26, 73, 125, 0.3);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(26, 73, 125, 0.15));
}
/* ============================================
   FONCTIONNALITÉS V2 – TEASER
   ============================================ */
.features-v2 {
    padding: 100px 0 140px;
    background: linear-gradient(170deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.v2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.v2-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.v2-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.v2-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 12px rgba(255, 255, 255, 0.15); }
}

.v2-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 20px;
    transition: var(--transition);
}

.v2-card:hover .v2-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.v2-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.v2-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ============================================
   SECTION TÉLÉCHARGEMENT
   ============================================ */
.download-section {
    padding: 100px 0;
    background: var(--off-white);
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.btn-download {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 18px 28px;
    border-radius: var(--radius-md);
    gap: 16px;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    max-width: 320px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-ios-soon {
    background: var(--white);
    color: var(--gray-500);
    padding: 18px 28px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--gray-300);
    gap: 16px;
    display: inline-flex;
    align-items: center;
    max-width: 320px;
    cursor: default;
}

.btn-icon-wrap {
    font-size: 1.6rem;
}

.btn-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-small-text {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-big-text {
    font-size: 1rem;
    font-weight: 700;
}

/* QR Code & iOS notify */
.download-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.qr-code-area {
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-500);
}

.qr-placeholder i {
    font-size: 3rem;
    color: var(--primary);
}

.qr-placeholder p {
    font-size: 0.75rem;
    text-align: center;
}

.ios-notify {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.ios-notify h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.ios-notify h4 i {
    margin-right: 6px;
    color: var(--gray-700);
}

.notify-form {
    display: flex;
    gap: 8px;
}

.notify-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.notify-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 73, 125, 0.1);
}

.notify-info {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Pulse animation */
.pulse-animation {
    position: relative;
}

.pulse-animation::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: var(--primary);
    opacity: 0;
    z-index: -1;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* ============================================
   SECTION CONTACT
   ============================================ */
.contact-section {
    padding: 100px 0 140px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 73, 125, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 auto 16px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 73, 125, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #7db8ff;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.back-to-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS (scroll-reveal)
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délais d'apparition pour les cartes */

.v2-grid .v2-card:nth-child(1) { transition-delay: 0s; }
.v2-grid .v2-card:nth-child(2) { transition-delay: 0.15s; }
.v2-grid .v2-card:nth-child(3) { transition-delay: 0.3s; }
.v2-grid .v2-card:nth-child(4) { transition-delay: 0.45s; }

.hero-content .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.hero-content .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.hero-content .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.hero-content .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.hero-content .animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.hero-content .animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablette */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .orbital-viewport {
        width: 420px;
        height: 420px;
    }

    .download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        align-items: center;
    }

    .download-visual {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 14px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 8px;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .phone-frame {
        width: 230px;
        height: 460px;
        transform: none;
    }

    @keyframes phone-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .orbital-container {
        height: 500px;
    }

    .orbital-viewport {
        width: 340px;
        height: 340px;
    }

    .orbital-ring {
        width: 300px;
        height: 300px;
    }

    .node-card {
        width: 220px;
        padding: 14px;
    }

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

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

    .section-title {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .notify-form {
        flex-direction: column;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .btn-download,
    .btn-ios-soon {
        max-width: 100%;
        width: 100%;
    }
}

/* ---- Overlay mobile menu ---- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ---- Scrollbar personnalisée ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ---- Sélection de texte ---- */
::selection {
    background: rgba(26, 73, 125, 0.2);
    color: var(--primary-dark);
}
