/**
 * MEMORIX - Memory Vault Platform
 * Main Stylesheet
 * Version: 1.0.0
 * Last Updated: 2025-01-02
 * Location: /css/style.css
 */

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-color);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: var(--text-secondary);
    color: white;
}

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

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

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

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-2xl);
    padding: var(--spacing-2xl) var(--spacing-lg);
    min-height: 600px;
}

.hero-content h1 {
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-carousel {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: var(--shadow-xl);
    animation: carousel 8s infinite;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    font-size: 6rem;
    animation: fade-carousel 8s infinite;
}

.carousel-item.active {
    animation: fade-in 1s ease-in-out;
}

@keyframes carousel {
    0%, 20%, 100% { transform: scale(1); }
    10% { transform: scale(1.05); }
}

@keyframes fade-carousel {
    0% { opacity: 0; }
    15% { opacity: 1; }
    25% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-2xl) var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin: var(--spacing-2xl) var(--spacing-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== THEMATIQUES SECTION ===== */
.thematiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.thematique-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

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

.card-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.thematique-card h3 {
    margin-bottom: var(--spacing-md);
}

.thematique-card p {
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.feature {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-item {
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    text-align: center;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-item h3 {
    margin-bottom: var(--spacing-md);
}

.feature-item p {
    font-size: 0.95rem;
}

/* ===== PRICING SECTION ===== */
.pricing-preview {
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.price-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.price-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.price-card h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.price-tag {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: var(--spacing-lg) 0;
}

.currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

.price-features {
    list-style: none;
    flex: 1;
    margin-bottom: var(--spacing-lg);
}

.price-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.price-features li:last-child {
    border-bottom: none;
}

.cta-section-bottom {
    text-align: center;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.stars {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin: var(--spacing-2xl) var(--spacing-lg);
}

.cta-final h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-final p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: white;
    margin-top: var(--spacing-2xl);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.footer-col h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.875rem; }
    
    .hero {
        grid-template-columns: 1fr;
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: auto;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    section {
        padding: var(--spacing-xl) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== LANGUAGE SELECTOR (Ajouter à style.css) ===== */

.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.lang-current:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-flag {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
}

.lang-current i {
    font-size: 0.75rem;
    transition: transform var(--transition-normal);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin-top: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-selector:hover .lang-current i {
    transform: rotate(180deg);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--primary-color);
    color: white;
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
}

.lang-label {
    flex: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .lang-selector {
        margin-right: var(--spacing-md);
    }
    
    .lang-current {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .lang-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .lang-selector {
        order: -1;
    }
}
/**
 * MEMORIX - Language Selector Styles
 * OPTION 3: Premium Advanced Design
 * Version: 1.0.0
 * Last Updated: 2025-01-02
 */

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1000;
}

/* ===== CURRENT LANGUAGE BUTTON ===== */
.lang-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    
    /* Padding & sizing */
    padding: 0.75rem 1.25rem;
    
    /* Colors */
    background: white;
    color: var(--text-primary);
    
    /* Border */
    border: 2px solid transparent;
    border-radius: 0.75rem;
    
    /* Font */
    font-weight: 600;
    font-size: 0.95rem;
    
    /* Interaction */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadow */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Before pseudo element for background effect */
.lang-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.lang-current:hover::before {
    left: 0;
}

.lang-current:hover {
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

/* ===== FLAG ICON ===== */
.lang-flag {
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lang-current:hover .lang-flag {
    transform: scale(1.15);
}

/* ===== LANGUAGE NAME ===== */
.lang-name {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===== CHEVRON ICON ===== */
.lang-current i {
    font-size: 0.7rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.lang-selector:hover .lang-current i {
    transform: rotate(180deg);
    opacity: 1;
}

/* ===== DROPDOWN MENU ===== */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    
    /* List reset */
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    
    /* Styling */
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    overflow: hidden;
    
    /* Shadow with blur */
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.92);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Backdrop effect (optional) */
    backdrop-filter: blur(10px);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px) scale(1);
}

/* ===== DROPDOWN ITEMS ===== */
.lang-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    
    /* Spacing */
    padding: 1rem 1.25rem;
    
    /* Styling */
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    
    /* Border */
    border-bottom: 1px solid #f1f5f9;
    
    /* Transition */
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.lang-option:last-child {
    border-bottom: none;
}

/* Background highlight effect */
.lang-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

/* Hover state */
.lang-option:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.lang-option:hover::before {
    transform: scaleY(1);
}

/* Active state */
.lang-option.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 700;
}

.lang-option.active::before {
    display: none;
}

.lang-option.active:hover {
    padding-left: 1.5rem;
}

/* ===== FLAGS ===== */
.lang-option .lang-flag {
    font-size: 1.3rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

/* ===== LABEL ===== */
.lang-label {
    flex: 1;
    font-weight: 500;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(-5px) scale(1);
    }
}

.lang-selector:hover .lang-dropdown {
    animation: slideInDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .lang-current {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .lang-flag {
        font-size: 1.2rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-dropdown {
        min-width: 160px;
        top: calc(100% + 0.75rem);
    }
    
    .lang-option {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .lang-selector {
        order: -1;
        margin-right: auto;
    }
    
    .lang-current {
        padding: 0.5rem 0.875rem;
        border-radius: 0.625rem;
    }
    
    .lang-flag {
        font-size: 1.1rem;
    }
    
    .lang-dropdown {
        min-width: 140px;
        right: -15px;
    }
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    .lang-current {
        background: #1e293b;
        color: #f1f5f9;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .lang-current:hover {
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    }
    
    .lang-dropdown {
        background: #1e293b;
        border-color: #334155;
        box-shadow: 
            0 20px 25px -5px rgba(0, 0, 0, 0.3),
            0 10px 10px -5px rgba(0, 0, 0, 0.2);
    }
    
    .lang-option {
        color: #cbd5e1;
        border-bottom-color: #334155;
    }
    
    .lang-option:hover {
        background: rgba(99, 102, 241, 0.15);
        color: #818cf8;
    }
}
/**
 * MEMORIX - Logo Styles
 * Version: 1.0.0
 * Last Updated: 2025-01-02
 * 
 * Styles pour le logo image dans le header
 * À ajouter à la section HEADER & NAVIGATION du style.css
 */

/* ===== LOGO STYLING ===== */
.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
}

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

/* ===== LOGO IMAGE ===== */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 50px;
    display: block;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-logo a:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.2));
    transform: scale(1.05);
}

/* ===== LOGO TEXT ===== */
.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

/* ===== RESPONSIVE LOGO ===== */
@media (max-width: 768px) {
    .nav-logo a {
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 40px;
        max-width: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-logo a {
        gap: 0.375rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* ===== LOGO ANIMATION ===== */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.logo-image {
    animation: logoFloat 3s ease-in-out infinite;
}

.nav-logo a:hover .logo-image {
    animation: none;
}
/**
 * MEMORIX - Logo Only Styles
 * Version: 1.0.0
 * Last Updated: 2025-01-02
 * 
 * Styles pour le logo UNIQUEMENT (sans texte)
 * À ajouter à la section HEADER & NAVIGATION du style.css
 */

/* ===== LOGO STYLING - LOGO ONLY ===== */
.nav-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
}

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

/* ===== LOGO IMAGE ONLY ===== */
.logo-image {
    height: 60px;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-logo a:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.2));
    transform: scale(1.08);
}

/* ===== LOGO ANIMATION ===== */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.logo-image {
    animation: logoFloat 3s ease-in-out infinite;
}

.nav-logo a:hover .logo-image {
    animation: none;
}

/* ===== RESPONSIVE LOGO ===== */
@media (max-width: 768px) {
    .logo-image {
        height: 50px;
        max-width: 65px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 45px;
        max-width: 55px;
    }
}