:root {
    --gradient-start: #2B5BA7;
    --gradient-end: #8A5E8B;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    min-height: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 20px;
}

/* Mobile: logo plus petit - ULTRA PRIORITAIRE */
@media screen and (max-width: 968px) {
    .nav-logo .logo-icon,
    .footer-logo .logo-icon,
    .logo-icon {
        width: 50px !important;
        height: 50px !important;
        padding: 8px !important;
        border-radius: 12px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--gradient-start);
    line-height: 1.1;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    white-space: nowrap;
}
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gradient-start);
}

.btn-web-app {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-web-app:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    padding: 60px 0 20px 0;
    overflow: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    opacity: 0.05;
    z-index: -1;
}

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

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 96px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 48px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 64px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: white;
    color: var(--gradient-start);
    border: 2px solid var(--gradient-start);
}

.btn-secondary:hover {
    background: var(--gradient-start);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--gradient-start);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Phone Mockup iPhone Style */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mockup-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%);
    display: flex;
    flex-direction: column;
    padding: 48px 16px 20px;
}

.mockup-header {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    margin-bottom: 24px;
}

.mockup-time {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
}

.mockup-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mockup-map-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

.mockup-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gradient-start);
    margin-bottom: 20px;
    text-align: center;
}

.friend-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.friend-item {
    background: white;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.friend-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
}

.friend-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.friend-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.friend-location {
    font-size: 12px;
    color: var(--text-light);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.element-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 10%;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    bottom: 15%;
    left: -30px;
    animation: float 8s ease-in-out infinite;
}

.element-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fa709a, #fee140);
    top: 50%;
    right: -40px;
    animation: float 7s ease-in-out infinite;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-light);
}

.step-arrow {
    font-size: 32px;
    color: var(--gradient-start);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.download-container {
    text-align: center;
}

.download-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-button:hover {
    background: rgba(0,0,0,0.3);
    border-color: white;
    transform: translateY(-2px);
}

.store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text {
    font-size: 12px;
    opacity: 0.8;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
}

.download-note {
    font-size: 16px;
    opacity: 0.9;
}

.link-highlight {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-logo {
    display: none !important;
}

.footer-logo-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    line-height: 1.2;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* NOUVEAU SELECTEUR DE LANGUE - FIXED EN HAUT A DROITE */
.language-selector-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.lang-current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.lang-current:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.lang-flag {
    font-size: 24px;
    line-height: 1;
}

.lang-code {
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 8px;
    min-width: 200px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-menu.active {
    max-height: 600px;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-option:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .language-selector-fixed {
        top: 15px;
        right: 15px;
    }
    
    .lang-current {
        padding: 10px 16px;
    }
    
    .lang-flag {
        font-size: 20px;
    }
    
    .lang-code {
        font-size: 13px;
    }
    
    .lang-menu {
        min-width: 180px;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-container {
        padding: 96px 24px;
        min-height: 320px;
    }
    }
    
    .nav-links {
        overflow-x: auto; /* Scroll horizontal pour le menu */
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        display: flex !important;
        flex-direction: row !important;
        gap: 16px !important;
        font-size: 12px !important;
        padding-bottom: 8px;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .nav-links a {
        white-space: nowrap; /* Empêche le retour à la ligne */
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 150px 0 60px !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .hero-content {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    
    .hero-tag {
        font-size: 12px;
        padding: 8px 16px;
        margin-top: 20px !important;
        margin-bottom: 20px;
        white-space: normal;
        text-align: center;
        display: block !important;
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 10;
    }
    
    .hero-title {
        font-size: 32px !important;
        margin-bottom: 20px;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
        margin-bottom: 28px;
        line-height: 1.5 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .hero-cta {
        margin-bottom: 32px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        transform: scale(0.85);
    }
}
