/* ============================================
   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);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.25rem 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: hsla(220, 20%, 4%, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(220, 14%, 18%, 0.5);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--amber));
    box-shadow: var(--shadow-gold);
}

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

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color var(--transition-fast);
}

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

.nav-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

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

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

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

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.mobile-menu.open {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.5rem 0;
}

.mobile-menu .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ============================================
   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);
}