/* ================================================
   FICHIER CSS GLOBAL COMPLET - style.css
   Navbar épurée + Logo Liquid Glass + Tous les styles
   ================================================ */

/* ===================================
   RESET & BASE
   =================================== */

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

/* Variables CSS Complètes */
:root {
    --primary-color: #2E2C7E;
    --primary-gradient: linear-gradient(106.24deg, #2E2C7E 0%, #5350E4 100%);
    --accent-yellow: rgba(255, 199, 44, 0.9);
    --accent-yellow-light: rgba(255, 199, 44, 0.14);
    --accent-purple: rgba(158, 155, 255, 0.35);
    --text-primary: #0F0F0F;
    --text-secondary: rgba(15, 15, 15, 0.55);
    --text-white: #FFFFFF;
    --text-white-secondary: rgba(255, 255, 255, 0.55);
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.04);
    --max-width: 1440px;
    --container-padding: 100px;
    --header-height: 88px;
}

html {
    scroll-behavior: smooth;
    color-scheme: light only; /* Force le mode clair */
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    color-scheme: light; /* Force le mode clair sur body aussi */
}

/* Forcer le mode clair sur tous les éléments */
* {
    color-scheme: light;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Manrope', 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

h2, h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 64px;
}

.container-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 36px;
}

/* Section Label */
.section-label {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -0.005em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

/* ===================================
   HEADER & NAVIGATION - Design Épuré Moderne
   =================================== */

.header {
    background: var(--primary-gradient);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(46, 44, 126, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo avec Liquid Glass Effect */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

/* Effet Liquid Glass - Animation morphing */
.logo-glass-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    z-index: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: liquidMorph 8s ease-in-out infinite;
}

/* Animation morphing liquide */
@keyframes liquidMorph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    20% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(72deg) scale(1.05);
    }
    40% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
        transform: rotate(144deg) scale(0.98);
    }
    60% {
        border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
        transform: rotate(216deg) scale(1.03);
    }
    80% {
        border-radius: 40% 60% 50% 60% / 60% 50% 60% 40%;
        transform: rotate(288deg) scale(1);
    }
}

/* Hover effect - Animation plus rapide */
.logo:hover .logo-glass-bg {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    animation: liquidMorph 4s ease-in-out infinite;
}

/* Logo PNG au centre */
.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5));
    transform: scale(1.08);
}

.logo-text {
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* Navigation Desktop - Style Épuré */
.nav-desktop {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-desktop a {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.01em;
}

/* Underline animé jaune */
.nav-desktop a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-desktop a:hover {
    color: var(--text-white);
}

.nav-desktop a:hover::before {
    width: 100%;
}

/* Active state */
.nav-desktop a.active {
    color: var(--text-white);
    font-weight: 600;
}

.nav-desktop a.active::before {
    width: 100%;
}

/* Menu Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Animation hamburger vers X */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Mobile */
.nav-mobile {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(46, 44, 126, 0.98);
    backdrop-filter: blur(30px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.nav-mobile.active {
    max-height: 500px;
}

.nav-mobile a {
    display: block;
    padding: 18px 36px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-mobile a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent-yellow);
    transform: translateX(-3px);
    transition: transform 0.3s ease;
}

.nav-mobile a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 46px;
}

.nav-mobile a:hover::before {
    transform: translateX(0);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    padding: 14px 28px;
    border-radius: 40px;
    border: 1.29px solid;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: rgba(46, 44, 126, 0.6);
    border-color: rgba(46, 44, 126, 0.04);
    color: var(--text-white);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: rgba(46, 44, 126, 0.8);
    transform: translateY(-3px);
    box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(46, 44, 126, 0.04);
    border-color: rgba(46, 44, 126, 0.04);
    color: var(--text-white);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(46, 44, 126, 0.15);
    transform: translateY(-3px);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-link:hover {
    opacity: 0.7;
    transform: translateX(5px);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: rgba(255, 255, 255, 0.35);
    padding: 75px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 450px;
}

.footer-logo {
    margin-bottom: 16px;
}

.logo-icon-footer {
    width: 87px;
    height: 83px;
}

.footer-name {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.045em;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46, 44, 126, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(46, 44, 126, 0.3);
}

.social-link:hover svg path {
    fill: var(--text-white);
}

.footer-nav {
    display: flex;
    gap: 80px;
}

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

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    line-height: 145%;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -0.005em;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ===================================
   ANIMATIONS GLOBALES
   =================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* ===================================
   UTILITIES
   =================================== */

/* Blur Effects pour backgrounds */
.blur-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(500px);
    opacity: 0.6;
}

.blur-1 {
    background: rgba(46, 44, 126, 0.35);
    width: 1586px;
    height: 1586px;
    left: 143px;
    top: 1333px;
}

.blur-2 {
    background: rgba(255, 199, 44, 0.14);
    width: 1287px;
    height: 1287px;
    left: 442px;
    top: -369px;
}

.blur-3 {
    background: #FFFFFF;
    width: 1287px;
    height: 1287px;
    left: -159px;
    top: 918px;
}

.blur-4 {
    background: rgba(255, 199, 44, 0.14);
    width: 1287px;
    height: 1287px;
    left: -644px;
    top: 2480px;
}

.blur-5 {
    background: rgba(158, 155, 255, 0.35);
    width: 1287px;
    height: 1287px;
    left: 853px;
    top: 2863px;
}

.blur-6 {
    background: #FFFFFF;
    width: 1287px;
    height: 1287px;
    left: 168px;
    top: 3929px;
}

.blur-7 {
    background: rgba(158, 155, 255, 0.35);
    width: 1023px;
    height: 1023px;
    left: -586px;
    top: 688px;
}

/* ===================================
   RESPONSIVE - TABLETTE (max-width: 968px)
   =================================== */

@media (max-width: 968px) {
    .container,
    .container-header {
        padding: 0 32px;
    }

    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo-text {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 36px;
    }
}

/* ===================================
   RESPONSIVE - MOBILE (max-width: 768px)
   =================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 40px;
    }

    .container,
    .container-header {
        padding: 0 24px;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-name {
        font-size: 24px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .section-label {
        font-size: 16px;
    }

    .btn {
        font-size: 15px;
        padding: 14px 32px;
    }

    .logo-container {
        width: 48px;
        height: 48px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }
}

/* ===================================
   RESPONSIVE - PETIT MOBILE (max-width: 480px)
   =================================== */

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .btn {
        width: 100%;
        padding: 14px 30px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-nav {
        gap: 25px;
    }

    .logo-container {
        width: 44px;
        height: 44px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }
}

/* ===================================
   FORCER MODE CLAIR (Anti Dark Mode)
   =================================== */

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only;
    }
    
    html,
    body {
        background: #FFFFFF !important;
        color: #0F0F0F !important;
    }
}