/* ========================================
   YELLUP UI POLISH V2.8.1
   Design doux, lumineux, premium, vivant
   Animations subtiles, pas grossières
   IA humaine, lumière douce
======================================== */

/* ========================================
   NAVBAR MOBILE - Bouton CTA sobre
======================================== */
@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }

    .navbar-links {
        gap: 0.5rem;
    }

    .navbar-link {
        display: none; /* Cache liens secondaires sur très petit écran */
    }

    .navbar-cta {
        padding: 0.35rem 0.85rem;
        font-size: 0.75rem;
        border-radius: 10px;
    }
}

/* ========================================
   BOUTONS CTA - Design premium doux
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 16px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: rgba(180, 140, 50, 0.15);
    border: 1px solid rgba(180, 140, 50, 0.4);
    color: rgba(255, 215, 100, 0.95);
    box-shadow: 0 4px 20px rgba(180, 140, 50, 0.2);
}

.btn-primary:hover {
    background: rgba(180, 140, 50, 0.22);
    border-color: rgba(180, 140, 50, 0.6);
    box-shadow: 0 8px 32px rgba(180, 140, 50, 0.3);
    color: #ffd764;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   COMPLIANCE BADGES - Lumière douce
======================================== */
.fade-in-scroll[style*="rgba(6, 182, 212"],
.fade-in-scroll[style*="rgba(147, 51, 234"],
.fade-in-scroll[style*="rgba(236, 72, 153"] {
    background: rgba(255, 255, 255, 0.03) !important;
    border-width: 1px !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(30px);
}

.fade-in-scroll[style*="rgba(6, 182, 212"]:hover {
    background: rgba(6, 182, 212, 0.08) !important;
    border-color: rgba(6, 182, 212, 0.3) !important;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.2) !important;
    transform: translateY(-3px) !important;
}

.fade-in-scroll[style*="rgba(147, 51, 234"]:hover {
    background: rgba(147, 51, 234, 0.08) !important;
    border-color: rgba(147, 51, 234, 0.3) !important;
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.2) !important;
    transform: translateY(-3px) !important;
}

.fade-in-scroll[style*="rgba(236, 72, 153"]:hover {
    background: rgba(236, 72, 153, 0.08) !important;
    border-color: rgba(236, 72, 153, 0.3) !important;
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.2) !important;
    transform: translateY(-3px) !important;
}

/* Emojis plus petits, plus subtils */
.fade-in-scroll[style*="font-size: 2.5rem"] {
    font-size: 1.75rem !important;
    opacity: 0.8;
    filter: grayscale(0.2);
}

/* ========================================
   COMPLIANCE CARDS PREMIUM SEXY 🔥
   Style Apple glassmorphism + animations délicates
======================================== */
.compliance-card {
    position: relative;
    display: block;
    text-decoration: none;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Glow effect on hover */
.compliance-card .card-glow {
    position: absolute;
    inset: -100%;
    background: radial-gradient(circle at center, currentColor 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.compliance-card:hover .card-glow {
    opacity: 0.15;
}

/* Color themes */
.compliance-card[data-color="cyan"] {
    color: rgba(6, 182, 212, 1);
    border-color: rgba(6, 182, 212, 0.25);
}

.compliance-card[data-color="cyan"]:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 12px 60px rgba(6, 182, 212, 0.15),
                0 0 100px rgba(6, 182, 212, 0.08);
    transform: translateY(-8px) scale(1.01);
}

.compliance-card[data-color="violet"] {
    color: rgba(147, 51, 234, 1);
    border-color: rgba(147, 51, 234, 0.25);
}

.compliance-card[data-color="violet"]:hover {
    background: rgba(147, 51, 234, 0.05);
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 12px 60px rgba(147, 51, 234, 0.15),
                0 0 100px rgba(147, 51, 234, 0.08);
    transform: translateY(-8px) scale(1.01);
}

.compliance-card[data-color="pink"] {
    color: rgba(236, 72, 153, 1);
    border-color: rgba(236, 72, 153, 0.25);
}

.compliance-card[data-color="pink"]:hover {
    background: rgba(236, 72, 153, 0.05);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 12px 60px rgba(236, 72, 153, 0.15),
                0 0 100px rgba(236, 72, 153, 0.08);
    transform: translateY(-8px) scale(1.01);
}

/* Card content */
.compliance-card .card-content {
    position: relative;
    z-index: 1;
}

/* Icon container */
.compliance-card .card-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.compliance-card .card-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 20px currentColor);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.compliance-card:hover .card-icon {
    transform: scale(1.12) rotate(5deg);
    filter: drop-shadow(0 8px 30px currentColor);
}

.compliance-card .card-icon-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, currentColor 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.compliance-card:hover .card-icon-glow {
    opacity: 0.3;
}

/* Title & Subtitle */
.compliance-card .card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: currentColor;
    margin-bottom: 0.5rem;
    transition: all 0.5s ease;
}

.compliance-card:hover .card-title {
    letter-spacing: 0.02em;
}

.compliance-card .card-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Features badges */
.compliance-card .card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.compliance-card .feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.compliance-card:hover .feature-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: currentColor;
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

/* CTA button */
.compliance-card .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: currentColor;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid currentColor;
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Glow effect lumineux pour CTA */
.compliance-card .card-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, currentColor 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.compliance-card:hover .card-cta {
    background: rgba(255, 255, 255, 0.15);
    color: currentColor;
    transform: translateX(8px);
    box-shadow: 0 4px 24px currentColor,
                0 0 40px currentColor;
    filter: brightness(1.3);
}

.compliance-card:hover .card-cta::before {
    opacity: 0.4;
}

.compliance-card .card-cta svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.compliance-card:hover .card-cta svg {
    transform: translateX(4px);
}

/* Float animation */
@keyframes float-sexy {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(0.5deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
    75% { transform: translateY(-4px) rotate(-0.5deg); }
}

.compliance-card {
    animation: float-sexy 8s ease-in-out infinite;
}

.compliance-card:hover {
    animation: none;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .compliance-card {
        padding: 1.75rem;
        border-radius: 20px;
    }
    
    .compliance-card .card-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .compliance-card .card-icon {
        font-size: 2.25rem;
    }
    
    .compliance-card .card-title {
        font-size: 1.4rem;
    }
    
    .compliance-card .feature-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.85rem;
    }
}

/* ========================================
   NARRATIVE LINKS - Liens sobres narratifs
======================================== */
.narrative-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.narrative-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: currentColor;
    transform: scaleY(0);
    transition: transform 0.6s ease;
}

.narrative-link:hover::before {
    transform: scaleY(1);
}

.narrative-link .narrative-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.narrative-link .narrative-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: currentColor;
    min-width: 80px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.narrative-link:hover .narrative-number {
    transform: scale(1.1);
}

.narrative-link .narrative-text {
    flex: 1;
}

.narrative-link .narrative-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.5rem 0;
    transition: color 0.5s ease;
}

.narrative-link:hover .narrative-title {
    color: currentColor;
}

.narrative-link .narrative-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    transition: color 0.5s ease;
}

.narrative-link:hover .narrative-description {
    color: rgba(255, 255, 255, 0.8);
}

.narrative-link .narrative-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.narrative-link:hover .narrative-arrow {
    color: currentColor;
    transform: translateX(8px);
}

/* Thèmes de couleurs */
.narrative-link[data-theme="cyan"] {
    color: rgba(6, 182, 212, 1);
}

.narrative-link[data-theme="cyan"]:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 24px rgba(6, 182, 212, 0.1);
}

.narrative-link[data-theme="violet"] {
    color: rgba(147, 51, 234, 1);
}

.narrative-link[data-theme="violet"]:hover {
    background: rgba(147, 51, 234, 0.05);
    border-color: rgba(147, 51, 234, 0.3);
    box-shadow: 0 4px 24px rgba(147, 51, 234, 0.1);
}

.narrative-link[data-theme="pink"] {
    color: rgba(236, 72, 153, 1);
}

.narrative-link[data-theme="pink"]:hover {
    background: rgba(236, 72, 153, 0.05);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 4px 24px rgba(236, 72, 153, 0.1);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .narrative-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    
    .narrative-link .narrative-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .narrative-link .narrative-number {
        font-size: 2rem;
        min-width: auto;
        text-align: left;
    }
    
    .narrative-link .narrative-title {
        font-size: 1.1rem;
    }
    
    .narrative-link .narrative-description {
        font-size: 0.9rem;
    }
    
    .narrative-link .narrative-arrow {
        align-self: flex-end;
    }
}

/* ========================================
   STATS KPIs - Glow doux (obsolète, gardé pour compatibilité)
======================================== */
.fade-in-scroll[style*="grid-template-columns"] > div {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fade-in-scroll[style*="grid-template-columns"] > div:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: currentColor !important;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-4px) scale(1.01) !important;
}

/* ========================================
   DASHBOARD CARDS - Animations douces mobile
======================================== */
@media (max-width: 768px) {
    .dashboard-card-premium {
        padding: 1.75rem !important;
        min-height: 240px !important;
    }

    .dashboard-card-premium:hover {
        transform: translateY(-4px) scale(1.01) !important;
        box-shadow: 
            0 12px 36px rgba(0, 0, 0, 0.35) !important,
            0 0 40px var(--dashboard-glow) !important;
    }

    .dashboard-icon-premium {
        width: 64px !important;
        height: 64px !important;
    }

    .dashboard-icon-premium svg {
        width: 42px !important;
        height: 42px !important;
    }

    .dashboard-card-premium:hover .dashboard-icon-premium {
        transform: scale(1.1) translateY(-2px) rotate(2deg) !important;
    }

    .dashboard-name {
        font-size: 1.5rem !important;
    }
}

/* ========================================
   ORGAN CARDS - Animations douces mobile
======================================== */
@media (max-width: 768px) {
    .organ-card {
        padding: 1.75rem 1.25rem !important;
        min-height: 260px !important;
    }

    .organ-card:hover {
        transform: translateY(-6px) scale(1.015) !important;
        box-shadow: 
            0 14px 40px rgba(0, 0, 0, 0.35) !important,
            0 0 50px var(--organ-glow) !important;
    }

    .organ-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .organ-card:hover .organ-icon {
        transform: scale(1.08) rotate(-2deg) translateY(-3px) !important;
    }

    .organ-name {
        font-size: 1.4rem !important;
    }
}

/* ========================================
   MODULE CARDS FULL - Animations vivantes douces
======================================== */
.module-card-full {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.module-card-full:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.4) !important,
        0 0 60px var(--module-glow) !important;
}

.module-card-full:hover .module-icon-full {
    transform: scale(1.06) rotate(-5deg) !important;
}

.module-card-full:hover::after {
    opacity: 0.12 !important;
    transform: rotate(-5deg) scale(1.08) !important;
}

/* ========================================
   GLOW EFFECTS - Lumière douce partout
======================================== */
.organ-glow,
.dashboard-glow,
.module-glow {
    opacity: 0.08 !important;
    filter: blur(40px);
}

.organ-card:hover .organ-glow {
    opacity: 0.15 !important;
}

.dashboard-card-premium:hover::before {
    opacity: 0.12 !important;
}

/* ========================================
   SCROLL ANIMATIONS - Plus fluides
======================================== */
.fade-in-scroll {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fade-in-scroll.visible {
    animation: fadeInUpSoft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* ========================================
   FLOAT ANIMATION - Plus douce
======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ========================================
   SHIMMER EFFECT - Plus subtil
======================================== */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.organ-card::after,
.dashboard-card-premium::after,
.module-card-full::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent) !important;
}

/* ========================================
   TEXTURES & DEPTH - Premium subtil
======================================== */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(180, 140, 50, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.5;
}

/* ========================================
   MENU MOBILE HAMBURGER - Premium
======================================== */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.navbar-hamburger span {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-hamburger:hover span {
    background: rgba(255, 255, 255, 1);
}

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

.navbar-hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu Fullscreen */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.mobile-menu-item:hover,
.mobile-menu-item:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(180, 140, 50, 0.4);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(180, 140, 50, 0.2);
}

.mobile-menu-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(180, 140, 50, 0.15);
    border-radius: 12px;
    color: rgba(255, 215, 100, 0.9);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.mobile-menu-item:hover .mobile-menu-icon {
    background: rgba(180, 140, 50, 0.25);
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(180, 140, 50, 0.3);
}

.mobile-menu-text {
    flex: 1;
}

.mobile-menu-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.mobile-menu-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* CTA Item Special */
.mobile-menu-cta {
    background: linear-gradient(135deg, rgba(180, 140, 50, 0.15), rgba(180, 140, 50, 0.05));
    border-color: rgba(180, 140, 50, 0.3);
}

.mobile-menu-cta:hover {
    background: linear-gradient(135deg, rgba(180, 140, 50, 0.25), rgba(180, 140, 50, 0.15));
    border-color: rgba(180, 140, 50, 0.5);
    box-shadow: 0 12px 40px rgba(180, 140, 50, 0.3);
}

.mobile-menu-cta .mobile-menu-icon {
    background: rgba(180, 140, 50, 0.25);
}

.mobile-menu-cta .mobile-menu-title {
    background: linear-gradient(135deg, #FFD764, #B48C32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVBAR DROPDOWN MENU
======================================== */
.navbar-dropdown {
    position: relative;
}

.navbar-link-dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.navbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.navbar-dropdown-item {
    display: block;
    padding: 0.65rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.navbar-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
}

/* Navbar toujours visible - Responsive mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        flex-wrap: nowrap;
    }
    
    .navbar-links {
        gap: 0.5rem;
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .navbar-link {
        display: inline-flex !important;
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }
    
    .navbar-cta {
        display: inline-flex !important;
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
        white-space: nowrap;
    }
    
    .navbar-link-dropdown {
        display: inline-flex !important;
    }
    
    /* Dropdowns en mode mobile: cliquer sur le lien principal scroll vers la section */
    .navbar-dropdown-menu {
        display: none !important;
    }
    
    .navbar-link-dropdown svg {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 0.75rem;
    }
    
    .navbar-links {
        gap: 0.4rem;
        display: flex !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .navbar-link {
        display: inline-flex !important;
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
        white-space: nowrap;
    }
    
    .navbar-cta {
        display: inline-flex !important;
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
        white-space: nowrap;
    }
    
    .navbar-link-dropdown {
        display: inline-flex !important;
    }
    
    .navbar-logo {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }
}

/* ========================================
   RESPONSIVE TOUCH - Meilleure UX mobile
======================================== */
@media (max-width: 768px) {
    /* Réduire tous les hover effects en tap sur mobile */
    .dashboard-card-premium:active,
    .organ-card:active,
    .module-card-full:active {
        transform: translateY(-2px) scale(0.99) !important;
        transition: all 0.1s ease !important;
    }
}

/* ========================================
   REDUCED MOTION - Accessibilité
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
