/* ============================================
   OCI Express - Styles CSS Principaux
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   Variables CSS (Design Tokens)
   ============================================ */
:root {
    /* Couleurs de fond */
    --background: hsl(220, 20%, 4%);
    --foreground: hsl(60, 9%, 92%);
    
    /* Couleurs des cartes */
    --card: hsl(220, 18%, 8%);
    --card-foreground: hsl(60, 9%, 92%);
    --card-elevated: hsl(220, 16%, 12%);
    
    /* Couleur primaire - Or/Ambre */
    --primary: hsl(43, 89%, 50%);
    --primary-foreground: hsl(220, 20%, 4%);
    --primary-glow: hsl(43, 89%, 60%);
    
    /* Couleurs secondaires */
    --secondary: hsl(220, 16%, 14%);
    --secondary-foreground: hsl(60, 9%, 85%);
    
    /* Couleurs atténuées */
    --muted: hsl(220, 14%, 16%);
    --muted-foreground: hsl(220, 10%, 55%);
    
    /* Accent - Ambre/Orange */
    --accent: hsl(35, 95%, 55%);
    --accent-foreground: hsl(220, 20%, 4%);
    
    /* Succès */
    --success: hsl(160, 84%, 39%);
    --success-foreground: hsl(0, 0%, 98%);
    
    /* Destructif/Erreur */
    --destructive: hsl(0, 72%, 51%);
    --destructive-foreground: hsl(0, 0%, 98%);
    
    /* Bordures */
    --border: hsl(220, 14%, 18%);
    --input: hsl(220, 14%, 18%);
    --ring: hsl(43, 89%, 50%);
    
    /* Or et Ambre personnalisés */
    --gold: hsl(43, 89%, 50%);
    --gold-light: hsl(43, 89%, 65%);
    --gold-dark: hsl(43, 80%, 40%);
    --amber: hsl(35, 95%, 55%);
    
    /* Rayons de bordure */
    --radius: 0.75rem;
    --radius-sm: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Ombres */
    --shadow-sm: 0 2px 8px hsla(0, 0%, 0%, 0.3);
    --shadow-md: 0 4px 16px hsla(0, 0%, 0%, 0.4);
    --shadow-lg: 0 8px 32px hsla(0, 0%, 0%, 0.5);
    --shadow-gold: 0 4px 24px hsla(43, 89%, 50%, 0.2);
    --shadow-glow: 0 0 40px hsla(43, 89%, 50%, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset et Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utilitaires
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Texte dégradé doré */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Boutons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--primary-foreground);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

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

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background: var(--secondary);
}

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

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

/* ============================================
   Inputs
   ============================================ */
.input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(43, 89%, 50%, 0.2);
}

.input::placeholder {
    color: var(--muted-foreground);
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    width: 1rem;
    height: 1rem;
}

.input-with-icon {
    padding-left: 2.5rem;
}

.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

/* ============================================
   Cartes
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bento-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid hsla(220, 14%, 18%, 0.5);
    background: linear-gradient(135deg, var(--card) 0%, var(--card-elevated) 100%);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: hsla(43, 89%, 50%, 0.3);
}

.card-content {
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .card-content { padding: 2rem; }
}

/* ============================================
   Badge
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid transparent;
}

.badge-gold {
    background: hsla(43, 89%, 50%, 0.1);
    border-color: hsla(43, 89%, 50%, 0.3);
    color: var(--primary);
}

.badge-success {
    background: hsla(160, 84%, 39%, 0.1);
    border-color: hsla(160, 84%, 39%, 0.3);
    color: var(--success);
}

/* ======================================
   NAVBAR 3D DESKTOP - ANIMATION LETTRES
   ====================================== */

/* Container principal avec perspective 3D */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    perspective: 1200px;
}

.navbar.scrolled {
    background: hsla(220, 20%, 6%, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid hsla(43, 89%, 50%, 0.15);
}

/* Navigation Links Container */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.5rem;
    perspective: 1000px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Liens de navigation 3D */
.nav-link-3d {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border-radius: var(--radius);
    background: transparent;
    overflow: visible;
}

/* Container pour les lettres */
.nav-link-3d .letter-container {
    display: inline-flex;
    transform-style: preserve-3d;
    perspective: 800px;
}

/* Chaque lettre individuelle */
.nav-link-3d .letter {
    display: inline-block;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center bottom;
    will-change: transform;
    backface-visibility: visible;
    color: inherit;
}

/* Animation au survol du lien */
.nav-link-3d:hover {
    color: var(--foreground);
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0.15) 0%, 
        hsla(35, 95%, 55%, 0.1) 100%);
    box-shadow: 
        0 0 20px hsla(43, 89%, 50%, 0.2),
        0 10px 40px hsla(43, 89%, 50%, 0.15);
    transform: translateZ(30px) scale(1.05);
}

/* Lettres dorées au survol */
.nav-link-3d:hover .letter {
    color: var(--gold);
}

/* État actif du lien */
.nav-link-3d.active {
    color: var(--gold);
}

.nav-link-3d.active .letter {
    color: var(--gold);
    text-shadow: 0 0 15px hsla(43, 89%, 50%, 0.6);
}

/* Fond 3D animé derrière le lien au survol */
.nav-link-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0) 0%,
        hsla(43, 89%, 50%, 0.1) 50%,
        hsla(35, 95%, 55%, 0) 100%);
    border-radius: var(--radius);
    transform: translateZ(-10px) scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-link-3d:hover::before {
    transform: translateZ(-10px) scale(1.1);
    opacity: 1;
}

/* Ligne dorée animée sous le lien */
.nav-link-3d::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--gold) 0%, 
        var(--amber) 50%, 
        var(--gold) 100%);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 10px var(--gold);
}

.nav-link-3d:hover::after {
    width: 80%;
}

/* ======================================
   BOUTONS NAV 3D
   ====================================== */
.nav-buttons {
    display: none;
    align-items: center;
    gap: 1rem;
    perspective: 800px;
}

@media (min-width: 768px) {
    .nav-buttons {
        display: flex;
    }
}

.nav-buttons .btn {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-buttons .btn:hover {
    transform: translateZ(20px) scale(1.05);
    box-shadow: 
        0 10px 30px hsla(43, 89%, 50%, 0.3),
        0 0 20px hsla(43, 89%, 50%, 0.2);
}

/* ======================================
   LOGO 3D
   ====================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.logo:hover {
    transform: translateZ(15px) scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-foreground);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.logo:hover .logo-icon {
    transform: translateZ(25px) rotateY(10deg);
    box-shadow: 
        0 10px 30px hsla(43, 89%, 50%, 0.4),
        0 0 20px hsla(43, 89%, 50%, 0.3);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======================================
   MENU MOBILE PREMIUM - DESIGN IMPECCABLE
   ====================================== */

/* ======================================
   NAVBAR CONTENT - POSITIONNEMENT
   ====================================== */

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

/* ======================================
   BOUTON HAMBURGER - POSITION DROITE
   ====================================== */

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0.1) 0%, 
        hsla(35, 95%, 55%, 0.05) 100%);
    border: 1px solid hsla(43, 89%, 50%, 0.2);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    margin-left: auto; /* FORCE LE BOUTON À DROITE */
    order: 99; /* S'assure qu'il est en dernier */
}

/* Effet de brillance sur le bouton */
.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        hsla(43, 89%, 50%, 0.3) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.mobile-menu-btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.mobile-menu-btn:hover {
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0.2) 0%, 
        hsla(35, 95%, 55%, 0.15) 100%);
    border-color: hsla(43, 89%, 50%, 0.4);
    box-shadow: 
        0 0 20px hsla(43, 89%, 50%, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px hsla(43, 89%, 50%, 0.5));
}

/* Animation des lignes du hamburger */
.mobile-menu-btn .line-1,
.mobile-menu-btn .line-2,
.mobile-menu-btn .line-3 {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    stroke: var(--gold);
    stroke-width: 2.5;
}

.mobile-menu-btn.active {
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0.25) 0%, 
        hsla(35, 95%, 55%, 0.2) 100%);
    border-color: var(--gold);
    box-shadow: 
        0 0 30px hsla(43, 89%, 50%, 0.4),
        inset 0 0 20px hsla(43, 89%, 50%, 0.1);
}

.mobile-menu-btn.active .line-1 {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Cacher sur desktop */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* ======================================
   MENU MOBILE - PLEIN ÉCRAN PREMIUM
   ====================================== */

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pour mobile */
    background: linear-gradient(
        135deg,
        hsla(220, 25%, 4%, 0.98) 0%,
        hsla(220, 20%, 8%, 0.98) 50%,
        hsla(220, 25%, 4%, 0.98) 100%
    );
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: menuReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes menuReveal {
    0% {
        opacity: 0;
        clip-path: circle(0% at calc(100% - 45px) 45px);
    }
    100% {
        opacity: 1;
        clip-path: circle(150% at calc(100% - 45px) 45px);
    }
}

/* ======================================
   FOND ANIMÉ DU MENU MOBILE
   ====================================== */

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, hsla(43, 89%, 50%, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, hsla(35, 95%, 55%, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, hsla(43, 89%, 50%, 0.03) 0%, transparent 70%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Particules flottantes */
.mobile-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, hsla(43, 89%, 50%, 0.3) 50%, transparent 50%),
        radial-gradient(2px 2px at 40% 70%, hsla(35, 95%, 55%, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 40%, hsla(43, 89%, 50%, 0.4) 50%, transparent 50%),
        radial-gradient(2px 2px at 60% 20%, hsla(35, 95%, 55%, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 80%, hsla(43, 89%, 50%, 0.2) 50%, transparent 50%),
        radial-gradient(2px 2px at 70% 60%, hsla(35, 95%, 55%, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 10% 50%, hsla(43, 89%, 50%, 0.35) 50%, transparent 50%),
        radial-gradient(2px 2px at 85% 15%, hsla(35, 95%, 55%, 0.2) 50%, transparent 50%);
    background-size: 100% 100%;
    animation: particlesFloat 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes particlesFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(5deg);
    }
}

/* ======================================
   CONTENU DU MENU MOBILE
   ====================================== */

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    perspective: 1000px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 350px;
    padding: 0 1.5rem;
}

/* ======================================
   LIENS NAVIGATION MOBILE - STYLE 3D
   ====================================== */

.mobile-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--foreground);
    text-decoration: none;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(
        135deg,
        hsla(220, 18%, 12%, 0.8) 0%,
        hsla(220, 16%, 16%, 0.6) 100%
    );
    border: 1px solid hsla(220, 14%, 25%, 0.5);
    backdrop-filter: blur(10px);
}

/* Animation d'entrée décalée des liens */
.mobile-menu.open .nav-link:nth-child(1) { animation: linkSlideIn 0.5s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; opacity: 0; }
.mobile-menu.open .nav-link:nth-child(2) { animation: linkSlideIn 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; opacity: 0; }
.mobile-menu.open .nav-link:nth-child(3) { animation: linkSlideIn 0.5s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; opacity: 0; }
.mobile-menu.open .nav-link:nth-child(4) { animation: linkSlideIn 0.5s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; opacity: 0; }

@keyframes linkSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) rotateY(-15deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) scale(1);
    }
}

/* Effet de brillance sur les liens */
.mobile-menu .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        hsla(43, 89%, 50%, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

/* Bordure dorée animée */
.mobile-menu .nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        hsla(43, 89%, 50%, 0) 0%,
        hsla(43, 89%, 50%, 0.5) 50%,
        hsla(35, 95%, 55%, 0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover sur les liens mobile */
.mobile-menu .nav-link:hover {
    color: var(--gold);
    background: linear-gradient(
        135deg,
        hsla(43, 89%, 50%, 0.15) 0%,
        hsla(35, 95%, 55%, 0.1) 100%
    );
    border-color: hsla(43, 89%, 50%, 0.3);
    transform: translateX(10px) scale(1.02);
    box-shadow: 
        0 10px 40px hsla(43, 89%, 50%, 0.2),
        0 0 20px hsla(43, 89%, 50%, 0.1),
        inset 0 0 30px hsla(43, 89%, 50%, 0.05);
}

.mobile-menu .nav-link:hover::before {
    left: 100%;
}

.mobile-menu .nav-link:hover::after {
    opacity: 1;
}

/* État actif/pressé */
.mobile-menu .nav-link:active {
    transform: translateX(5px) scale(0.98);
    box-shadow: 
        0 5px 20px hsla(43, 89%, 50%, 0.3),
        inset 0 0 20px hsla(43, 89%, 50%, 0.1);
}

/* ======================================
   BOUTONS MENU MOBILE
   ====================================== */

.mobile-menu .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 350px;
    padding: 0 1.5rem;
    perspective: 800px;
    position: relative;
    z-index: 1;
}

/* Animation d'entrée des boutons */
.mobile-menu.open .nav-buttons .btn:nth-child(1) { 
    animation: buttonSlideIn 0.5s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; 
    opacity: 0; 
}
.mobile-menu.open .nav-buttons .btn:nth-child(2) { 
    animation: buttonSlideIn 0.5s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; 
    opacity: 0; 
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mobile-menu .nav-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Bouton Ghost (Connexion) */
.mobile-menu .btn-ghost {
    background: linear-gradient(
        135deg,
        hsla(220, 18%, 15%, 0.9) 0%,
        hsla(220, 16%, 20%, 0.7) 100%
    );
    border: 1px solid hsla(43, 89%, 50%, 0.3);
    color: var(--foreground);
}

.mobile-menu .btn-ghost:hover {
    background: linear-gradient(
        135deg,
        hsla(43, 89%, 50%, 0.1) 0%,
        hsla(35, 95%, 55%, 0.05) 100%
    );
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.03);
    box-shadow: 
        0 10px 30px hsla(43, 89%, 50%, 0.2),
        0 0 15px hsla(43, 89%, 50%, 0.1);
}

/* Bouton Gold (Démarrer) */
.mobile-menu .btn-gold {
    background: linear-gradient(
        135deg,
        var(--gold) 0%,
        var(--amber) 100%
    );
    border: none;
    color: var(--primary-foreground);
    box-shadow: 
        0 5px 20px hsla(43, 89%, 50%, 0.4),
        0 0 30px hsla(43, 89%, 50%, 0.2);
}

.mobile-menu .btn-gold::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        hsla(0, 0%, 100%, 0.3) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0%, 100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.mobile-menu .btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px hsla(43, 89%, 50%, 0.5),
        0 0 50px hsla(43, 89%, 50%, 0.3);
}

.mobile-menu .btn-gold:active {
    transform: scale(0.98);
}

/* ======================================
   OVERLAY MENU MOBILE
   ====================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    pointer-events: none;
}

.mobile-menu-overlay.open {
    display: block;
}

/* ======================================
   LOGO DANS LE MENU MOBILE (optionnel)
   ====================================== */

.mobile-menu .mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    animation: logoFadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======================================
   BOUTON FERMER EN HAUT À DROITE
   ====================================== */

.mobile-menu .close-menu-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0.15) 0%, 
        hsla(35, 95%, 55%, 0.1) 100%);
    border: 1px solid hsla(43, 89%, 50%, 0.3);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1003;
    transition: all 0.3s ease;
    animation: closeButtonFadeIn 0.4s 0.3s ease forwards;
    opacity: 0;
}

@keyframes closeButtonFadeIn {
    to {
        opacity: 1;
    }
}

.mobile-menu .close-menu-btn:hover {
    background: linear-gradient(135deg, 
        hsla(43, 89%, 50%, 0.25) 0%, 
        hsla(35, 95%, 55%, 0.2) 100%);
    border-color: var(--gold);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px hsla(43, 89%, 50%, 0.4);
}

.mobile-menu .close-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

/* ======================================
   RESPONSIVE - PETITS ÉCRANS
   ====================================== */

@media (max-width: 480px) {
    .navbar-content {
        padding: 0.75rem 1rem;
    }
    
    .mobile-menu-btn {
        width: 44px;
        height: 44px;
    }
    
    .mobile-menu .nav-links {
        padding: 0 1rem;
        gap: 0.6rem;
    }
    
    .mobile-menu .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .mobile-menu .nav-buttons {
        padding: 0 1rem;
    }
    
    .mobile-menu .nav-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ======================================
   CACHER MENU MOBILE SUR DESKTOP
   ====================================== */

@media (min-width: 768px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-overlay-1 {
    background: linear-gradient(to bottom, 
        var(--background) 0%,
        hsla(220, 20%, 4%, 0.8) 30%,
        hsla(220, 20%, 4%, 0.9) 70%,
        var(--background) 100%);
}

.hero-overlay-2 {
    background: linear-gradient(to right, 
        var(--background) 0%,
        transparent 30%,
        transparent 70%,
        var(--background) 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: hsla(43, 89%, 50%, 0.1);
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-glow-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: hsla(35, 95%, 55%, 0.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    padding: 6rem 1rem 4rem;
}

.hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .hero h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .hero h1 { font-size: 3.75rem; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

@media (min-width: 640px) {
    .hero-subtitle { font-size: 1.25rem; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: var(--muted-foreground);
    animation: fadeIn 0.6s ease-out 0.3s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.trust-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-header h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .section-header h2 { font-size: 3rem; }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.section-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badges {
    padding: 4rem 0;
    border-top: 1px solid hsla(220, 14%, 18%, 0.5);
    border-bottom: 1px solid hsla(220, 14%, 18%, 0.5);
    background: hsla(220, 18%, 8%, 0.3);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.trust-badge-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: hsla(43, 89%, 50%, 0.1);
    border: 1px solid hsla(43, 89%, 50%, 0.2);
    margin-bottom: 0.75rem;
    transition: background var(--transition-fast);
}

.trust-badge:hover .trust-badge-icon {
    background: hsla(43, 89%, 50%, 0.2);
}

.trust-badge-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.trust-badge h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.trust-badge p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ============================================
   Bento Grid (Features)
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.bento-item {
    min-height: 180px;
}

.bento-item.large {
    min-height: 320px;
}

@media (min-width: 1024px) {
    .bento-item.large { grid-row: span 2; }
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-icon.primary {
    background: hsla(43, 89%, 50%, 0.1);
    border: 1px solid hsla(43, 89%, 50%, 0.2);
}

.feature-icon.primary svg { color: var(--primary); }

.feature-icon.amber {
    background: hsla(35, 95%, 55%, 0.1);
    border: 1px solid hsla(35, 95%, 55%, 0.2);
}

.feature-icon.amber svg { color: var(--amber); }

.feature-icon.success {
    background: hsla(160, 84%, 39%, 0.1);
    border: 1px solid hsla(160, 84%, 39%, 0.2);
}

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

.bento-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

@media (min-width: 1024px) {
    .bento-card h3 { font-size: 1.25rem; }
}

.bento-card:hover h3 {
    color: var(--primary);
}

.bento-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.feature-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.feature-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.feature-stat svg {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .pricing-card.popular { transform: scale(1.05); }
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-price span:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-price span:last-child {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-features li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-quote {
    width: 2rem;
    height: 2rem;
    color: hsla(43, 89%, 50%, 0.3);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--amber));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-foreground);
}

.testimonial-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.testimonial-rating {
    display: flex;
    gap: 0.125rem;
}

.testimonial-rating svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    fill: var(--primary);
}

/* Stats Row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-card .card-content {
    padding: 1.5rem;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.faq-item.active {
    border-color: hsla(43, 89%, 50%, 0.3);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--muted-foreground);
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    display: none;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--card) 0%, var(--background) 50%, var(--card) 100%);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50rem;
    height: 25rem;
    background: hsla(43, 89%, 50%, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-border-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, hsla(43, 89%, 50%, 0.5), transparent);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--amber));
    box-shadow: var(--shadow-gold);
    margin-bottom: 1.5rem;
    animation: pulseGlow 3s ease-in-out infinite;
}

.cta-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary-foreground);
}

.cta-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-content h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .cta-content h2 { font-size: 3rem; }
}

.cta-content > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-trust {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 20rem;
    margin: 1rem 0 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .input {
    max-width: 16rem;
}

.footer-links h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-contact {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-contact a, .footer-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--foreground);
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--secondary);
    color: var(--muted-foreground);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--foreground);
    background: hsla(220, 16%, 14%, 0.8);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   Login Page
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
}

.login-image {
    display: none;
    width: 50%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .login-image { display: flex; }
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-image-overlay {
    position: absolute;
    inset: 0;
}

.login-image-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 3rem;
}

.login-tagline {
    max-width: 28rem;
}

.login-tagline h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.login-tagline p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.login-stats {
    display: flex;
    gap: 2rem;
}

.login-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 700;
}

.login-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.login-form-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .login-form-section { width: 50%; padding: 3rem; }
}

.login-form-container {
    width: 100%;
    max-width: 28rem;
}

.login-mobile-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .login-mobile-logo { display: none; }
}

.login-card {
    border: 1px solid hsla(220, 14%, 18%, 0.5);
}

.login-card-header {
    text-align: center;
    padding: 1.5rem 1.5rem 0.5rem;
}

.login-card-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.login-card-header p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.login-card-content {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.form-row a {
    font-size: 0.75rem;
    color: var(--primary);
}

.form-row a:hover {
    text-decoration: underline;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.password-toggle:hover {
    color: var(--foreground);
}

.password-toggle svg {
    width: 1rem;
    height: 1rem;
}

.form-divider {
    position: relative;
    margin: 1.5rem 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider span {
    position: relative;
    background: var(--card);
    padding: 0 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    display: flex;
    justify-content: center;
}

.form-toggle {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.form-toggle button {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.form-toggle button:hover {
    text-decoration: underline;
}

.login-back {
    text-align: center;
    margin-top: 1.5rem;
}

.login-back a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color var(--transition-fast);
}

.login-back a:hover {
    color: var(--foreground);
}

/* Alert Messages */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.alert.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.alert-error {
    background: hsla(0, 72%, 51%, 0.1);
    border: 1px solid hsla(0, 72%, 51%, 0.3);
    color: var(--destructive);
}

.alert-success {
    background: hsla(160, 84%, 39%, 0.1);
    border: 1px solid hsla(160, 84%, 39%, 0.3);
    color: var(--success);
}

/* Loading Spinner */
.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid hsla(220, 20%, 4%, 0.3);
    border-top-color: var(--primary-foreground);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px hsla(43, 89%, 50%, 0.2);
    }
    50% {
        box-shadow: 0 0 40px hsla(43, 89%, 50%, 0.4);
    }
}

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

/* ============================================
   Utilities
   ============================================ */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-medium { font-weight: 500; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* ============================================
   Menu Utilisateur Dropdown
   ============================================ */

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    cursor: pointer;
    background: transparent;
    border: 1px solid hsla(220, 14%, 18%, 0.5);
    border-radius: 8px;
    color: #f5f5f5;
    transition: all 0.2s;
}

.user-dropdown-btn:hover {
    background: hsla(220, 14%, 18%, 0.5);
    border-color: hsla(43, 89%, 50%, 0.3);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #b8960c 100%);
    color: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-name {
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f5f5f5;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: #13131a;
    border: 1px solid hsla(220, 14%, 18%, 0.8);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 9999;
    overflow: hidden;
}

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

.user-dropdown-header {
    padding: 16px;
    background: hsla(220, 14%, 10%, 0.5);
    border-bottom: 1px solid hsla(220, 14%, 18%, 0.5);
}

.user-dropdown-name {
    font-weight: 600;
    color: #f5f5f5;
    margin: 0 0 4px 0;
    font-size: 15px;
}

.user-dropdown-email {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.user-dropdown-divider {
    height: 1px;
    background: hsla(220, 14%, 18%, 0.5);
    margin: 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.user-dropdown-item:hover {
    background: hsla(43, 89%, 50%, 0.1);
    color: #D4AF37;
}

.user-dropdown-item svg {
    color: #888;
    flex-shrink: 0;
}

.user-dropdown-item:hover svg {
    color: #D4AF37;
}

.user-dropdown-logout {
    color: #ff6b6b;
    border-top: 1px solid hsla(220, 14%, 18%, 0.5);
}

.user-dropdown-logout:hover {
    background: hsla(0, 70%, 50%, 0.1);
    color: #ff6b6b;
}

.user-dropdown-logout:hover svg {
    color: #ff6b6b;
}

/* Animation flèche dropdown */
.user-dropdown-btn svg:last-child {
    transition: transform 0.2s;
}

.user-dropdown:has(.user-dropdown-menu.show) .user-dropdown-btn svg:last-child {
    transform: rotate(180deg);
}

.optional-badge {
    font-size: 0.75rem;
    color: #888;
    font-weight: normal;
    margin-left: 8px;
}

/* ============================================
   Login Page - Vérification & Réinitialisation
   ============================================ */

/* Sections de vérification/reset */
.verification-section {
    display: none;
}
.verification-section.active {
    display: block;
}

.reset-section {
    display: none;
}
.reset-section.active {
    display: block;
}

/* Inputs code de vérification */
.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0;
}

.code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--foreground);
    transition: all 0.2s;
}

.code-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(43, 89%, 50%, 0.2);
}

.code-input.filled {
    border-color: var(--primary);
    background: hsla(43, 89%, 50%, 0.1);
}

/* Renvoi de code */
.resend-code {
    text-align: center;
    margin-top: 20px;
}

.resend-code button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.resend-code button:disabled {
    color: var(--muted-foreground);
    cursor: not-allowed;
    text-decoration: none;
}

.timer {
    color: var(--muted-foreground);
    font-size: 14px;
}

.verification-email {
    color: var(--primary);
    font-weight: 500;
}

/* Indicateur de force du mot de passe */
.password-strength {
    margin-top: 8px;
}

.password-strength-bar {
    height: 4px;
    background: var(--muted);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.password-strength-fill.weak { width: 33%; background: #ff6b6b; }
.password-strength-fill.medium { width: 66%; background: #ffa94d; }
.password-strength-fill.strong { width: 100%; background: #51cf66; }

.password-strength-text {
    font-size: 12px;
    color: var(--muted-foreground);
}

/* Exigences mot de passe */
.password-requirements {
    margin-top: 12px;
    padding: 12px;
    background: var(--muted);
    border-radius: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 4px;
}

.requirement.valid {
    color: #51cf66;
}

.requirement svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ============================================
   Page Avis - Témoignages & Reviews
   ============================================ */

/* Stats grid centré */
.avis-page .stats-grid,
.stats-grid-centered {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.avis-page .stats-grid .stat-card,
.stats-grid-centered .stat-card {
    flex: 0 1 280px;
    max-width: 320px;
}

/* Carousel Témoignages */
.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
    padding: 20px 0;
}

.testimonials-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-elevated);
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--background);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-left {
    left: 10px;
}

.carousel-btn-right {
    right: 10px;
}

/* Review Cards */
.review-card {
    background-color: var(--card);
    border: 1px solid hsla(220, 14%, 18%, 0.5);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(212, 175, 55, 0.1);
}

.stars {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 12px;
    font-weight: 600;
}

.review-content {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    margin-top: auto;
    border-top: 1px solid hsla(220, 14%, 18%, 0.5);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-details h4 {
    color: var(--foreground);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.author-details span {
    color: #888;
    font-size: 0.8rem;
}

.source-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    border: 1px solid hsla(43, 89%, 50%, 0.3);
    border-radius: 4px;
    color: var(--primary);
    background: hsla(43, 89%, 50%, 0.05);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* CTA Box */
.cta-box {
    background: var(--card-elevated);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.05);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #1a1d2e 0%, #252837 100%);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.video-placeholder.hidden {
    display: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37 0%, #f0c14b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.video-container:hover .play-button {
    transform: scale(1.15);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: #1a1d2e;
    margin-left: 4px;
}

.video-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #f5f5f5;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.video-subtitle {
    font-size: 1rem;
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.video-cta {
    font-size: 0.9rem;
    color: #D4AF37;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#testimonial-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

#testimonial-video.show {
    display: block;
}

/* Video Pause Overlay */
.video-pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.video-pause-overlay.show {
    display: flex;
}

.video-pause-overlay .play-button {
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.video-pause-overlay:hover .play-button {
    transform: scale(1.15);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

/* Section Formulaire Avis Client */
.client-review-section {
    background: var(--card);
    border: 1px solid hsla(220, 14%, 18%, 0.5);
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 2rem;
    color: #444;
    transition: all 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--primary);
    transform: scale(1.1);
}

.star-rating label:before {
    content: '★';
}

.submit-review-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #D4AF37 0%, #f0c14b 100%);
    border: none;
    border-radius: 8px;
    color: #1a1d2e;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.submit-review-btn svg {
    width: 20px;
    height: 20px;
}

/* Video Testimonial Card */
.video-testimonial-card {
    min-width: 500px;
    max-width: 500px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0;
}

.video-testimonial-card .video-container {
    height: 100%;
    min-height: 280px;
    padding-bottom: 0;
}

/* Section Avis Clients Soumis */
.client-reviews-display {
    background: var(--card);
    border: 1px solid hsla(220, 14%, 18%, 0.5);
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
}

.client-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.client-review-card {
    background: var(--background);
    border: 1px solid hsla(220, 14%, 18%, 0.5);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.client-review-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.client-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.client-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #f0c14b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1d2e;
}

.client-review-info h4 {
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.client-review-info span {
    color: #888;
    font-size: 0.85rem;
}

.client-review-stars {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 2px;
}

.client-review-content {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.client-review-date {
    color: #666;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.client-review-date svg {
    width: 14px;
    height: 14px;
}

.no-reviews-message {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-reviews-message p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Badge Nouveau pour les avis récents */
.new-review-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #f0c14b 100%);
    color: #1a1d2e;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Responsive Avis Page */
@media (max-width: 768px) {
    .review-card {
        min-width: 300px;
        max-width: 300px;
    }

    .video-testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .client-review-section {
        padding: 24px;
    }

    .client-reviews-display {
        padding: 24px;
    }

    .client-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Page Mes Demandes - Timeline & Cards
   ============================================ */

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--muted);
    border-radius: 2px;
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #f0c14b);
    border-radius: 2px;
    z-index: 1;
    transition: width 0.5s ease;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-elevated);
    border: 3px solid var(--muted);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.timeline-step.completed .timeline-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.timeline-step.completed .timeline-icon svg {
    color: #1a1d2e;
}

.timeline-step.active .timeline-icon {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsla(43, 89%, 50%, 0.2);
    animation: timelinePulse 2s infinite;
}

.timeline-step.active .timeline-icon svg {
    color: var(--primary);
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 0 4px hsla(43, 89%, 50%, 0.2); }
    50% { box-shadow: 0 0 0 8px hsla(43, 89%, 50%, 0.1); }
}

.timeline-label {
    font-size: 12px;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}

.timeline-step.completed .timeline-label,
.timeline-step.active .timeline-label {
    color: var(--foreground);
    font-weight: 500;
}

/* Demande Card Styles */
.demande-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.demande-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px hsla(43, 89%, 50%, 0.1);
    transform: translateY(-2px);
}

.demande-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.demande-id {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 4px;
}

.demande-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.demande-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demande-status svg {
    width: 14px;
    height: 14px;
}

.status-en_attente { background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); }
.status-en_cours { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-verification { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.status-termine { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); }
.status-livre { background: rgba(212, 175, 55, 0.15); color: #D4AF37; border: 1px solid rgba(212, 175, 55, 0.3); }

.demande-body {
    padding: 24px;
}

.demande-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    background: var(--card-elevated);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background: hsla(43, 89%, 50%, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.demande-footer {
    padding: 16px 24px;
    background: var(--card-elevated);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.demande-date {
    font-size: 13px;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 6px;
}

.demande-date svg {
    width: 14px;
    height: 14px;
}

.demande-actions {
    display: flex;
    gap: 8px;
}

.btn-details {
    padding: 8px 16px;
    font-size: 13px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-details:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-details svg {
    width: 14px;
    height: 14px;
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, var(--muted) 25%, var(--card-elevated) 50%, var(--muted) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

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

.skeleton-card {
    padding: 24px;
    margin-bottom: 24px;
}

.skeleton-header {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-timeline {
    height: 80px;
    margin-bottom: 16px;
}

.skeleton-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skeleton-stat {
    height: 80px;
}

/* Details panel */
.details-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.details-panel.open {
    max-height: 500px;
}

.details-content {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.family-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.family-member {
    background: var(--muted);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.family-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #1a1d2e;
}

.family-info h5 {
    font-size: 14px;
    color: var(--foreground);
    margin: 0 0 2px;
}

.family-info span {
    font-size: 12px;
    color: var(--muted-foreground);
}

/* Responsive Mes Demandes */
@media (max-width: 768px) {
    .timeline-label {
        font-size: 10px;
        max-width: 60px;
    }

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

    .timeline-icon svg {
        width: 16px;
        height: 16px;
    }

    .demande-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   Page Mentions Légales
   ============================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.legal-content h1 span {
    background: linear-gradient(135deg, hsl(43, 89%, 50%) 0%, hsl(43, 89%, 60%) 50%, hsl(43, 89%, 50%) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-content .last-update {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 1.1rem;
    color: var(--foreground);
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p,
.legal-section li {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--foreground);
}

.legal-section .info-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.legal-section .info-box p {
    margin-bottom: 0.5rem;
}

.legal-section .info-box p:last-child {
    margin-bottom: 0;
}

.legal-section .highlight {
    color: var(--foreground);
    font-weight: 500;
}

.legal-section .to-complete {
    background: hsla(43, 89%, 50%, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-style: italic;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--foreground);
    transform: translateX(-5px);
}

.back-link svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Page Passeport 3D Interactif
   ============================================ */

.test-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background);
    gap: 2rem;
    overflow: hidden;
}

.test-container::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, hsla(43, 89%, 50%, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, hsla(220, 70%, 50%, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.test-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.test-title h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.test-title p {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

/* Scène 3D */
.passport-scene {
    perspective: 2500px;
    perspective-origin: center center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.passport-container {
    position: relative;
    width: 340px;
    height: 480px;
    transform-style: preserve-3d;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    animation: passportEntry 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.passport-container:active {
    cursor: grabbing;
}

@keyframes passportEntry {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-20deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

/* Le passeport (livre) */
.passport {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Ombre dynamique */
.passport-shadow {
    position: absolute;
    width: 90%;
    height: 95%;
    left: 5%;
    top: 5%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    filter: blur(30px);
    transform: translateZ(-100px) translateY(60px);
    opacity: 0.6;
    transition: all 0.4s ease;
    border-radius: 10px;
}

/* Tranche du passeport */
.passport-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25px;
    background: linear-gradient(
        90deg,
        hsl(220, 50%, 8%) 0%,
        hsl(220, 45%, 12%) 30%,
        hsl(220, 45%, 15%) 50%,
        hsl(220, 45%, 12%) 70%,
        hsl(220, 50%, 8%) 100%
    );
    transform: rotateY(-90deg) translateZ(0px);
    transform-origin: left center;
    border-radius: 2px 0 0 2px;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        inset 2px 0 4px rgba(255, 255, 255, 0.05);
}

.passport-spine::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 3px;
    right: 3px;
    background: repeating-linear-gradient(
        180deg,
        hsla(45, 30%, 80%, 0.1) 0px,
        hsla(45, 30%, 80%, 0.05) 1px,
        transparent 1px,
        transparent 3px
    );
    border-radius: 1px;
}

/* Dos du passeport */
.passport-back {
    position: absolute;
    inset: 0;
    border-radius: 16px 8px 8px 16px;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
        linear-gradient(
            180deg,
            hsl(220, 45%, 16%) 0%,
            hsl(220, 50%, 10%) 100%
        );
    background-blend-mode: overlay, normal;
    transform: translateZ(-12px);
    box-shadow: inset 3px 0 8px -2px rgba(0, 0, 0, 0.3);
}

.passport-back::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid hsla(43, 89%, 50%, 0.15);
    border-radius: 12px 6px 6px 12px;
}

/* Conteneur des pages */
.passport-pages {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

/* Page générique */
.passport-page {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
}

.page-front,
.page-back {
    position: absolute;
    inset: 0;
    border-radius: 6px 14px 14px 6px;
    backface-visibility: hidden;
    overflow: hidden;
}

.page-front {
    background: linear-gradient(
        135deg,
        hsl(45, 30%, 95%) 0%,
        hsl(45, 25%, 90%) 100%
    );
    transform: translateZ(0.5px);
}

.page-back {
    background: linear-gradient(
        135deg,
        hsl(45, 25%, 92%) 0%,
        hsl(45, 30%, 88%) 100%
    );
    transform: rotateY(180deg) translateZ(0.5px);
}

.page-front::before,
.page-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            hsla(220, 50%, 50%, 0.015) 10px,
            hsla(220, 50%, 50%, 0.015) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            hsla(43, 50%, 50%, 0.015) 10px,
            hsla(43, 50%, 50%, 0.015) 20px
        );
    pointer-events: none;
}

.page-front::after,
.page-back::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, hsla(220, 50%, 50%, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, hsla(43, 50%, 50%, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Position des pages empilées */
.passport-page[data-page="1"] { z-index: 15; }
.passport-page[data-page="2"] { z-index: 14; transform: translateZ(-1px); }
.passport-page[data-page="3"] { z-index: 13; transform: translateZ(-2px); }
.passport-page[data-page="4"] { z-index: 12; transform: translateZ(-3px); }
.passport-page[data-page="5"] { z-index: 11; transform: translateZ(-4px); }

.passport-page.flipped {
    transform: rotateY(-180deg) !important;
    z-index: 5 !important;
}

/* Couverture avant */
.passport-cover {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 100;
}

.passport-cover.flipped {
    transform: rotateY(-160deg);
}

.passport-cover-front {
    position: absolute;
    inset: 0;
    border-radius: 8px 16px 16px 8px;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
        linear-gradient(
            180deg,
            hsl(220, 45%, 18%) 0%,
            hsl(220, 50%, 12%) 50%,
            hsl(220, 45%, 15%) 100%
        );
    background-blend-mode: overlay, normal;
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        -3px 0 8px -2px rgba(0, 0, 0, 0.4);
    transform: translateZ(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 25px;
    backface-visibility: hidden;
}

.passport-cover-front::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid hsla(43, 89%, 50%, 0.3);
    border-radius: 6px 12px 12px 6px;
    pointer-events: none;
}

/* Intérieur de la couverture */
.passport-cover-back {
    position: absolute;
    inset: 0;
    border-radius: 16px 8px 8px 16px;
    background: linear-gradient(
        135deg,
        hsl(220, 40%, 15%) 0%,
        hsl(220, 45%, 10%) 100%
    );
    transform: rotateY(180deg) translateZ(12px);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.cover-back-content {
    text-align: center;
    color: hsla(43, 89%, 50%, 0.6);
}

.cover-back-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.cover-back-content p {
    font-size: 0.65rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Effets holographiques */
.passport-holographic {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        var(--holo-angle, 135deg),
        transparent 0%,
        hsla(43, 89%, 50%, 0.08) 25%,
        hsla(280, 70%, 60%, 0.05) 50%,
        hsla(180, 80%, 50%, 0.08) 75%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.passport:hover .passport-holographic {
    opacity: 1;
}

.passport-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse 80% 50% at var(--glare-x, 50%) var(--glare-y, 0%),
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: overlay;
}

.passport:hover .passport-glare {
    opacity: 1;
}

/* Contenu couverture */
.passport-header {
    text-align: center;
    margin-bottom: 15px;
    transform: translateZ(25px);
}

.passport-country {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.passport-type {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: hsla(43, 89%, 50%, 0.7);
}

/* Emblème */
.passport-emblem {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 15px 0;
    transform: translateZ(35px);
}

.emblem-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        hsla(43, 89%, 50%, 0.4),
        hsla(43, 89%, 60%, 0.6),
        hsla(43, 89%, 50%, 0.4),
        hsla(43, 89%, 60%, 0.6),
        hsla(43, 89%, 50%, 0.4)
    );
    padding: 3px;
    animation: emblemRotate 20s linear infinite;
}

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

.emblem-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        180deg,
        hsl(220, 45%, 16%) 0%,
        hsl(220, 50%, 10%) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-chakra svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.emblem-chakra svg circle,
.emblem-chakra svg line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
}

/* Titre passeport */
.passport-title-section {
    text-align: center;
    margin-top: 10px;
    transform: translateZ(30px);
}

.passport-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 5px;
    background: linear-gradient(
        90deg,
        hsl(43, 89%, 45%) 0%,
        hsl(43, 89%, 65%) 25%,
        hsl(43, 89%, 45%) 50%,
        hsl(43, 89%, 65%) 75%,
        hsl(43, 89%, 45%) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
    to { background-position: 200% center; }
}

.passport-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: hsla(43, 89%, 50%, 0.6);
    margin-top: 5px;
}

/* Puce électronique */
.passport-chip-container {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%) translateZ(20px);
}

.passport-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(
        135deg,
        hsl(43, 70%, 55%) 0%,
        hsl(43, 60%, 45%) 50%,
        hsl(43, 70%, 50%) 100%
    );
    border-radius: 4px;
    position: relative;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.passport-chip::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 3px,
        hsla(43, 50%, 40%, 0.4) 3px,
        hsla(43, 50%, 40%, 0.4) 5px
    );
}

.epassport-icon {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateZ(15px);
    color: hsla(43, 89%, 50%, 0.4);
}

.epassport-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* Contenu des pages */
.page-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.passport-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid hsla(220, 30%, 50%, 0.2);
}

.page-country-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: hsl(220, 40%, 30%);
}

.page-type-label {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(220, 30%, 50%);
    text-align: right;
}

/* Page d'identité */
.identity-content {
    display: flex;
    gap: 15px;
    flex: 1;
}

.identity-photo {
    width: 85px;
    height: 110px;
    background: linear-gradient(180deg, hsl(220, 20%, 85%) 0%, hsl(220, 15%, 75%) 100%);
    border: 1px solid hsl(220, 20%, 70%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.identity-photo::before {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    background: hsl(220, 15%, 65%);
    border-radius: 50%;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.identity-photo::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 40px;
    background: hsl(220, 15%, 65%);
    border-radius: 50% 50% 0 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.identity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.info-label {
    font-size: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(220, 30%, 50%);
}

.info-value {
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: hsl(220, 40%, 20%);
    letter-spacing: 1px;
}

/* Zone MRZ */
.mrz-zone {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid hsla(220, 30%, 50%, 0.2);
}

.mrz-line {
    font-family: 'Courier Prime', monospace;
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    color: hsl(220, 40%, 25%);
    line-height: 1.3;
    word-break: break-all;
}

/* Pages de visa */
.visa-page-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.visa-stamp {
    padding: 12px;
    border: 2px solid;
    border-radius: 8px;
    position: relative;
    transform: rotate(var(--rotation, 0deg));
}

.visa-stamp.entry {
    border-color: hsl(140, 60%, 35%);
    background: hsla(140, 60%, 50%, 0.05);
    --rotation: -2deg;
}

.visa-stamp.exit {
    border-color: hsl(0, 60%, 45%);
    background: hsla(0, 60%, 50%, 0.05);
    --rotation: 3deg;
}

.visa-stamp.transit {
    border-color: hsl(220, 60%, 45%);
    background: hsla(220, 60%, 50%, 0.05);
    --rotation: -1deg;
}

.stamp-header {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.visa-stamp.entry .stamp-header { color: hsl(140, 60%, 35%); }
.visa-stamp.exit .stamp-header { color: hsl(0, 60%, 45%); }
.visa-stamp.transit .stamp-header { color: hsl(220, 60%, 45%); }

.stamp-details {
    font-family: 'Courier Prime', monospace;
    font-size: 0.55rem;
    color: hsl(220, 30%, 30%);
    line-height: 1.4;
}

.stamp-country {
    font-weight: 700;
    font-size: 0.65rem;
}

/* Numéro de page */
.page-number {
    position: absolute;
    bottom: 10px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    color: hsl(220, 30%, 50%);
}

.page-front .page-number { right: 15px; }
.page-back .page-number { left: 15px; }

/* Page notes */
.notes-content {
    padding: 15px;
}

.notes-title {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: hsl(220, 40%, 35%);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid hsla(220, 30%, 50%, 0.2);
}

.notes-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.note-line {
    height: 1px;
    background: hsla(220, 30%, 50%, 0.15);
}

/* Navigation passeport */
.page-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
    background: var(--card);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.page-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.page-indicator span {
    color: var(--gold);
}

/* Instructions */
.instructions {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.instructions p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin: 0;
}

.instructions strong {
    color: var(--gold);
}

/* Bouton retour passeport 3D */
.passport-3d-back {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 10px 16px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    z-index: 100;
}

.passport-3d-back:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Stats panel passeport */
.stats-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    color: var(--muted-foreground);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.stats-panel .stat-value {
    color: var(--gold);
}

/* Responsive Passeport 3D */
@media (max-width: 480px) {
    .passport-container {
        width: 280px;
        height: 400px;
    }

    .passport-main-title {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .stats-panel {
        display: none;
    }

    .page-nav {
        padding: 8px 15px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }
}