﻿/* ============================================
   NEXUS 2030 — NAVBAR & GLOBAL STYLES
   ============================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #F8FAFF; color: #0F1729; }
a { text-decoration: none; }
ul { list-style: none; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 40px; left: 0; right: 0;
    z-index: 1000;
    background: rgba(8, 20, 64, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 20, 64, 1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.navbar.scrolled .navbar-container {
    height: 58px;
}
.navbar-container {
    transition: height 0.3s ease;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* LOGO */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: #FF7A20;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
}

.logo-year {
    color: #FF7A20;
    margin-left: 0.25rem;
}

/* MENU */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

.nav-link.active {
    color: white;
    background: rgba(255,122,32,0.15);
    color: #FF7A20;
}

/* NAVBAR RIGHT */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* LANGUAGE SELECTOR */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.lang-flag { font-size: 1rem; }
.lang-code { color: white; }
.lang-arrow { font-size: 0.7rem; opacity: 0.6; }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0F2260;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: none;
    z-index: 100;
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.6rem 0.875rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.lang-option.active {
    background: rgba(255,122,32,0.15);
    color: #FF7A20;
}

/* BOUTON CONNEXION */
.btn-login {
    background: #FF7A20;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-login:hover {
    background: #D45500;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,122,32,0.4);
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #081440 0%, #1A3A8F 60%, #0F2260 100%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255,122,32,0.12) 0%, transparent 60%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-highlight {
    color: #FF7A20;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary {
    background: #FF7A20;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #D45500;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,122,32,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 1.75rem 2.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.hero-stat { text-align: center; }

.hero-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(255,122,32,0.1);
    color: #FF7A20;
    border: 1px solid rgba(255,122,32,0.2);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #081440;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748B;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section { background: #F8FAFF; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #FF7A20;
    box-shadow: 0 8px 32px rgba(255,122,32,0.1);
    transform: translateY(-4px);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.4s ease;
}
.service-card:hover .service-icon-wrap {
    transform: rotate(-8deg) scale(1.12);
}

.service-icon-wrap.primary  { background: #EEF2FF; }
.service-icon-wrap.secondary { background: #FFF4ED; }
.service-icon-wrap.accent   { background: #FFFBEA; }
.service-icon-wrap.success  { background: #EDFAF3; }
.service-icon-wrap.info     { background: #EFF6FF; }
.service-icon-wrap.warning  { background: #FFFBEB; }

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #081440;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-link {
    color: #FF7A20;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-link:hover { color: #D45500; }

/* ============================================
   POURQUOI NEXUS
   ============================================ */
.why-section { background: white; }

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-text {
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.why-list {
    list-style: none;
    margin-bottom: 2rem;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #374151;
    font-weight: 500;
}

.why-check {
    color: #22C55E;
    font-weight: 700;
    font-size: 1rem;
}

.why-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    transition: all 0.2s ease;
}

.why-card:hover {
    border-color: #FF7A20;
    box-shadow: 0 4px 16px rgba(255,122,32,0.1);
}

.why-card-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.why-card-title {
    font-weight: 700;
    color: #081440;
    font-size: 0.95rem;
}

.why-card-desc {
    color: #64748B;
    font-size: 0.825rem;
    margin-top: 0.2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #081440;
    color: rgba(255,255,255,0.7);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: #FF7A20; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: #FF7A20; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar-menu { display: none; }
    .mobile-menu-btn { display: flex; }
    .navbar-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: #081440;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero-stats { gap: 1rem; }
    .hero-stat-divider { display: none; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

.site-logo-img{height:64px;width:auto;object-fit:contain;display:block;}
.navbar-logo{display:flex;align-items:center;padding:6px 0;}
.navbar-container{align-items:center;}
