/* ========================================
   Components - Design System Premium 2026
   Composants avec Effets Visuels Exceptionnels
   ======================================== */

/* ========================================
   Preloader - Animation Sophistiquée
   ======================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.preloader::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.preloader-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
    animation: fadeIn 0.6s ease-out;
}

.loader-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.loader-ring::before,
.loader-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loader-ring::before {
    inset: 0;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    animation: spin 1s linear infinite;
}

.loader-ring::after {
    inset: 10px;
    border: 3px solid rgba(6, 182, 212, 0.2);
    border-bottom-color: #06b6d4;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

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

/* ========================================
   Custom Cursor - Effet Premium
   ======================================== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-dot.hovering {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.cursor-outline {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
}

.cursor-dot.hovering + .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: rgba(99, 102, 241, 0.5);
}

/* ========================================
   Scroll Progress Bar - Gradient
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* ========================================
   Scroll to Top Button - Glow Effect
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* ========================================
   Hero Particles - Animation Flottante
   ======================================== */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    display: block;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    bottom: -20px;
    animation: particle-rise var(--duration) linear infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(odd) {
    background: rgba(0, 113, 227, 0.5);
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
}

.particle:nth-child(3n) {
    width: 6px;
    height: 6px;
}


@keyframes particle-rise {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(100px);
    }
}

/* ========================================
   Animated Background Shapes
   ======================================== */
.bg-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    filter: blur(60px);
    opacity: 0.5;
}

.bg-shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.3);
    animation-delay: 0s;
}

.bg-shape-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(6, 182, 212, 0.25);
    animation-delay: -2s;
}

.bg-shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.15);
    animation-delay: -4s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        border-radius: 70% 30% 70% 30% / 30% 70% 70% 30%;
    }
    75% {
        border-radius: 30% 70% 30% 70% / 70% 30% 30% 70%;
    }
}

/* ========================================
   Gradient Orbs - Background Animé
   ======================================== */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 20s ease-in-out infinite;
}

.gradient-orb-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, transparent 70%);
    animation-delay: 0s;
}

.gradient-orb-2 {
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation-delay: -7s;
}

.gradient-orb-3 {
    top: 40%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation-delay: -14s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -80px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 50px) scale(0.9);
    }
}

/* ========================================
   Glass Card - Effet Verre Dépoli
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-card-dark {
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Hover Card 3D - Effet de Profondeur
   ======================================== */
.hover-card-3d {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.hover-card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.15),
                -10px -10px 40px rgba(255, 255, 255, 0.8);
}

/* ========================================
   Shine Effect - Reflet Animé
   ======================================== */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.shine-effect:hover::before {
    left: 100%;
}

/* ========================================
   Ripple Effect - Ondulation au Click
   ======================================== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   Floating Animation - Lévation Douce
   ======================================== */
.floating {
    animation: floating 6s ease-in-out infinite;
}

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

/* ========================================
   Pulse Animation - Battement Subtil
   ======================================== */
.pulse {
    animation: pulse-animation 2s ease-in-out infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ========================================
   Gradient Border - Bordure Animée
   ======================================== */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--radius-2xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    z-index: -1;
    animation: border-rotate 3s linear infinite;
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   Neon Glow - Effet Néon
   ======================================== */
.neon-text {
    color: white;
    text-shadow:
        0 0 10px rgba(99, 102, 241, 0.8),
        0 0 20px rgba(99, 102, 241, 0.6),
        0 0 30px rgba(99, 102, 241, 0.4),
        0 0 40px rgba(99, 102, 241, 0.2);
    animation: neon-flicker 0.1s ease-in-out infinite alternate;
}

@keyframes neon-flicker {
    from {
        text-shadow:
            0 0 10px rgba(99, 102, 241, 0.8),
            0 0 20px rgba(99, 102, 241, 0.6),
            0 0 30px rgba(99, 102, 241, 0.4),
            0 0 40px rgba(99, 102, 241, 0.2);
    }
    to {
        text-shadow:
            0 0 12px rgba(99, 102, 241, 0.9),
            0 0 22px rgba(99, 102, 241, 0.7),
            0 0 32px rgba(99, 102, 241, 0.5),
            0 0 42px rgba(99, 102, 241, 0.3);
    }
}

/* ========================================
   Typewriter - Effet Machine à Écrire
   ======================================== */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #6366f1;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #6366f1; }
}

/* ========================================
   Parallax Background
   ======================================== */
.parallax-wrapper {
    perspective: 1px;
    perspective-origin: center center;
}

.parallax-layer {
    position: relative;
    transform-style: preserve-3d;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* ========================================
   Mesh Gradient Background
   ======================================== */
.mesh-gradient {
    background:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.15) 0px, transparent 50%);
    background-size: 150% 150%;
    animation: mesh-shift 20s ease-in-out infinite;
}

@keyframes mesh-shift {
    0%, 100% {
        background-position: 0% 0%;
    }
    33% {
        background-position: 100% 0%;
    }
    66% {
        background-position: 100% 100%;
    }
}

/* ========================================
   Image Overlay - Effet Sophistiqué
   ======================================== */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-overlay:hover img {
    transform: scale(1.1);
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.8) 0%,
        rgba(6, 182, 212, 0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* ========================================
   Badge - Styles Premium
   ======================================== */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.badge-hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

/* ========================================
   Divider - Séparateurs Stylisés
   ======================================== */
.divider-gradient {
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #06b6d4 50%, #6366f1 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.divider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
}

.divider-dots span {
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.divider-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.divider-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* ========================================
   Wave Divider - Vague SVG (supprimé pour design Apple épuré)
   ======================================== */
.wave-divider {
    display: none;
}

/* ========================================
   Tooltip - Infobulle Premium
   ======================================== */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 14px;
    background: var(--gray-900);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ========================================
   Skeleton Loader - Chargement Progressif
   ======================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-200) 0%,
        var(--gray-100) 50%,
        var(--gray-200) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-lg);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   Notification Toast - Alertes Premium
   ======================================== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 320px;
    max-width: 480px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left-color: var(--success);
}

.toast-success .toast-icon {
    color: var(--success);
}

.toast-error {
    border-left-color: var(--error);
}

.toast-error .toast-icon {
    color: var(--error);
}

.toast-warning {
    border-left-color: var(--warning);
}

.toast-warning .toast-icon {
    color: var(--warning);
}

.toast-info {
    border-left-color: var(--electric);
}

.toast-info .toast-icon {
    color: var(--electric);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-message {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--gray-600);
}

/* ========================================
   Modal - Fenêtres Modales Premium
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-2xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: 1.35rem;
    color: var(--gray-900);
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-body {
    padding: 32px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px 32px;
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   Accordion - Effet Smooth
   ======================================== */
.accordion-item {
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--electric);
}

.accordion-icon {
    color: var(--electric);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-content-inner {
    padding: 0 0 20px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   Tabs - Navigation Premium
   ======================================== */
.tabs-container {
    width: 100%;
}

.tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 24px;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button:hover {
    color: var(--gray-900);
}

.tab-button.active {
    color: var(--electric);
    border-bottom-color: var(--electric);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* ========================================
   Progress Bar - Barre de Progression
   ======================================== */
.progress-container {
    width: 100%;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.progress-bar {
    height: 10px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* ========================================
   Counter Animation - Animation des Chiffres
   ======================================== */
.counter {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--gray-900);
}

/* ========================================
   Image Reveal - Effet de Révélation
   ======================================== */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.image-reveal:hover::before {
    transform: scaleX(0);
    transform-origin: left;
}

.image-reveal img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-reveal:hover img {
    transform: scale(1.05);
}

/* ========================================
   Text Reveal - Effet d'Apparition
   ======================================== */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--gray-300);
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-reveal:hover::after {
    transform: scaleX(0);
    transform-origin: left;
}

.text-reveal span {
    position: relative;
    z-index: 1;
}

/* ========================================
   Social Share - Partage Réseaux
   ======================================== */
.social-share {
    display: flex;
    gap: 12px;
}

.social-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-share-btn.facebook {
    background: #1877f2;
}

.social-share-btn.twitter {
    background: #1da1f2;
}

.social-share-btn.linkedin {
    background: #0a66c2;
}

.social-share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ========================================
   Backdrop Blur - Effet Flou d'Arrière-plan
   ======================================== */
.backdrop-blur {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.backdrop-blur-sm {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
}

/* ========================================
   Scroll Animations - Classes Utilitaires
   ======================================== */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* ========================================
   Loading Spinner - Chargement
   ======================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--electric);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner-lg {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

/* ========================================
   Avatar Group - Groupe d'Avatars
   ======================================== */
.avatar-group {
    display: flex;
    flex-direction: row-reverse;
    gap: 0;
}

.avatar-group .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    transition: transform 0.3s;
}

.avatar-group .avatar:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}
