/* ============================================
 * MAIN.CSS - Fichier CSS consolidé et optimisé
 * Palette : Élégant urbain · Bleu & Gold
 * Vibe : Élégant urbain - Inspiration : huly.io
 * Responsive design optimisé pour tous les formats
 * ============================================ */

/* Inter Font - Moderne via Google Fonts (doit être au début) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* ============================================
       PALETTE DE COULEURS - Élégant urbain · Bleu & Gold
       Vibe : Élégant urbain - Inspiration : huly.io
       LIGHT MODE (par défaut)
       ============================================ */
    
    /* 🔵 Bleus (base) - LIGHT MODE */
    --bg-main: #1A2332;                           /* Fond global bleu (background principal) */
    --blue-brand: #1A2332;                        /* Bleu brand (titres forts, CTA principaux, liens importants) */
    
    /* ⚪ Surfaces - LIGHT MODE */
    --surface: #1F2A3F;                           /* Surface bleue principale (cards, panels, search, blocs importants) */
    --surface-hover: #15202A;                     /* Surface bleue secondaire (hover, variation, featured) */
    --surface-white: #1F2A3F;                     /* Fond bleu pour cards standard */
    
    /* 🟡 Accent élégant – GOLD */
    --accent: #C9A24D;                            /* Gold doux (accent unique) - soulignements, hover CTA, icônes actives, bordures fines */
    --accent-glow: rgba(201, 162, 77, 0.2);       /* Glow gold pour focus/hover */
    --accent-border: rgba(201, 162, 77, 0.15);    /* Bordure gold subtile */
    --accent-border-hover: rgba(201, 162, 77, 0.5); /* Bordure gold hover */
    
    /* 🖤 Textes - LIGHT MODE */
    --text-main: #FFFAFA;                         /* Texte principal sur fond bleu - blanc cassé pour contraste */
    --text-dark: #FFFAFA;                         /* Texte sur fond sombre - blanc cassé pour meilleur contraste */
    --text-secondary: #E8ECF4;                    /* Texte secondaire sur fond bleu - gris clair pour meilleur contraste */
    --text-muted: #C9D1DB;                        /* Texte secondaire / meta sur fond bleu - gris moyen pour meilleur contraste */
    
    /* Bordures - LIGHT MODE */
    --border-soft: rgba(255, 250, 250, 0.2);         /* Bordures subtiles pour fond bleu */
    --border-dark: rgba(255, 250, 250, 0.3);         /* Bordures plus visibles pour fond bleu */
    
    /* ✨ Effets & profondeur */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);    /* Ombre principale - douce et diffuse */
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.15); /* Ombre pour cards hover */
    --shadow-hero: 0 30px 60px rgba(0, 0, 0, 0.35); /* Ombre pour éléments hero */
    
    /* Compatibilité avec l'ancien système (mapping) */
    --color-dominant: var(--blue-brand);
    --color-primary: var(--blue-brand);
    --color-primary-dark: #15202A;
    --color-primary-light: #1F2A3F;
    --color-accent-urban: var(--accent);
    --color-accent-elegant: var(--accent);
    --color-accent-vibrant: var(--accent);
    
    /* Arrière-plans - Mapping vers nouvelle palette */
    --bg-primary: var(--bg-main);
    --bg-secondary: var(--surface);
    --bg-secondary-solid: var(--surface-white);
    --bg-overlay: rgba(26, 35, 50, 0.9);
    --bg-dark: var(--surface);
    
    /* Texte - Mapping vers nouvelle palette */
    --text-primary: var(--text-main);
    --text-accent: var(--accent);
    --text-accent-elegant: var(--accent);
    
    /* Bordures - Mapping vers nouvelle palette */
    --border-color: var(--border-soft);
    --border-color-light: var(--accent-border-hover);
    --border-color-dark: var(--border-soft);
    
    /* États - Conservés pour compatibilité */
    --color-success: #10B981;                      /* Succès */
    --color-error: #EF4444;                        /* Erreurs */
    --color-warning: #F59E0B;                      /* Avertissements */
    --color-info: #3B82F6;                          /* Informations */
    
    /* Espacements - Minimaliste Premium (système 8px strict) */
    --spacing-xs: 0.25rem;     /* 4px */
    --spacing-sm: 0.5rem;      /* 8px */
    --spacing-md: 1rem;        /* 16px */
    --spacing-lg: 1.5rem;      /* 24px */
    --spacing-xl: 2rem;        /* 32px */
    --spacing-2xl: 2.5rem;     /* 40px */
    --spacing-xxl: 3rem;       /* 48px */
    --spacing-3xl: 4rem;       /* 64px */
    --spacing-4xl: 5rem;       /* 80px */
    --spacing-5xl: 7.5rem;     /* 120px */
    --spacing-xxxl: 6rem;      /* 96px - pour compatibilité */
    
    /* Section spacing - Minimaliste Premium (inspiration Akke) */
    --section-padding-y: var(--spacing-5xl);  /* 120px - très aéré entre sections */
    --section-padding-y-sm: var(--spacing-4xl);  /* 80px - sections secondaires */
    --section-padding-y-xs: var(--spacing-3xl);  /* 64px - sections compactes */
    --section-padding-x: var(--spacing-xl);   /* 32px - padding horizontal */
    --section-padding-inner: var(--spacing-2xl);  /* 40px - padding interne des blocs */
    --container-max-width: 1400px;  /* Plus large pour plus d'air */
    --content-max-width: 1200px;    /* Largeur de contenu optimal */
    
    /* Rayons de bordure */
    --radius: 16px;             /* Radius cards (16-20px selon doc) */
    --radius-card: 18px;         /* Radius cards hero/importantes */
    --radius-button: 14px;       /* Radius boutons */
    --radius-sm: 0.375rem;       /* 6px */
    --radius-md: 0.5rem;         /* 8px */
    --radius-lg: 0.75rem;        /* 12px */
    --radius-xl: 1rem;           /* 16px */
    --radius-full: 999px;        /* Chips / tags */
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* Note: --shadow est défini dans la section Effets & profondeur ci-dessus */
    
    /* Transitions - Élégance > effet */
    --transition-fast: 150ms ease;
    --transition-base: 220ms ease;
    --transition-slow: 500ms ease;
    
    /* Typographie - Système hiérarchique élégant */
    --font-heading: 'Playfair Display', serif;       /* Titres - Serif élégante (prestige, culture, artistique) */
    --font-elegant: 'Playfair Display', serif;       /* Sous-titres, citations, accents élégants */
    --font-display: 'Playfair Display SC', serif;    /* Display premium (titres élégants) */
    --font-functional: 'Anton', sans-serif;          /* Éléments fonctionnels, boutons, informations clés - Impact et lisibilité */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;  /* Textes et contenus informatifs - Moderne, lisible, confort de lecture */
    --font-accent: 'Fugaz One', sans-serif;          /* Accents (conservé pour compatibilité) */
    
    /* Hiérarchie typographique - Premium Urbain + Élégant */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px - H2 Playfair */
    --font-size-5xl: 3.75rem;     /* 60px - H1 Anton desktop */
    --font-size-6xl: 5rem;        /* 80px - H1 Anton large */
    
    /* Line heights - Premium */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
    
    /* Letter spacing - Urbain */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.02em;
    --letter-spacing-wider: 0.05em;
    
    /* Breakpoints Bootstrap (pour référence) */
    --bp-xs: 0;
    --bp-sm: 576px;
    --bp-md: 768px;
    --bp-lg: 992px;
    --bp-xl: 1200px;
    --bp-xxl: 1400px;
}


/* Font Face Declarations */
@font-face {
    font-family: 'Fugaz One';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Fugaz_One/FugazOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display/static/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display/static/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display/static/PlayfairDisplay-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display_SC/PlayfairDisplaySC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display_SC/PlayfairDisplaySC-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('../fonts/Fugaz_One,Playfair_Display,Playfair_Display_SC/Playfair_Display_SC/PlayfairDisplaySC-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Anton Font - Urbain Premium */
@font-face {
    font-family: 'Anton';
    src: url('../fonts/Anton,Fugaz_One,Playfair_Display,Playfair_Display_SC/Anton/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   FONDS TEXTURÉS ORGANIQUES
   Styles de fond avec textures et dégradés naturels
   ============================================ */

/* Pattern SVG pour grain/bruit organique */
.bg-textured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Fond bleu texturé profond (style image) */
.bg-textured-blue {
    position: relative;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 35, 50, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 22, 35, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 50, 74, 0.7) 0%, transparent 60%),
        linear-gradient(135deg, #1A2332 0%, #15202A 25%, #1F2A3F 50%, #1A2332 75%, #0F1623 100%);
    background-size: 200% 200%, 180% 180%, 220% 220%, 100% 100%;
    background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
    animation: bgTextureShift 20s ease-in-out infinite;
}

.bg-textured-blue::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Fond sombre texturé */
.bg-textured-dark {
    position: relative;
    background: 
        radial-gradient(circle at 15% 25%, rgba(15, 22, 35, 0.9) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(26, 35, 50, 0.8) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(34, 50, 74, 0.6) 0%, transparent 55%),
        linear-gradient(145deg, #0F1623 0%, #1A2332 30%, #15202A 60%, #0F1623 100%);
    background-size: 190% 190%, 200% 200%, 210% 210%, 100% 100%;
    background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
    animation: bgTextureShift 25s ease-in-out infinite;
}

.bg-textured-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.015) 3px,
            rgba(255, 255, 255, 0.015) 6px
        );
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Fond clair texturé */
.bg-textured-light {
    position: relative;
    background: 
        radial-gradient(circle at 25% 35%, rgba(26, 35, 50, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(31, 42, 63, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(21, 32, 42, 0.7) 0%, transparent 60%),
        linear-gradient(135deg, #1A2332 0%, #1F2A3F 25%, #15202A 50%, #1A2332 75%, #1F2A3F 100%);
    background-size: 180% 180%, 200% 200%, 190% 190%, 100% 100%;
    background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
    animation: bgTextureShift 18s ease-in-out infinite;
}

.bg-textured-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.01) 2px,
            rgba(0, 0, 0, 0.01) 4px
        );
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

/* Fond bleu avec texture plus subtile */
.bg-textured-blue-subtle {
    position: relative;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(26, 35, 50, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(15, 22, 35, 0.5) 0%, transparent 60%),
        linear-gradient(160deg, #1A2332 0%, #1F2A3F 50%, #1A2332 100%);
    background-size: 150% 150%, 160% 160%, 100% 100%;
    background-position: 0% 0%, 100% 100%, 0% 0%;
    animation: bgTextureShift 30s ease-in-out infinite;
}

.bg-textured-blue-subtle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

/* Animation subtile pour mouvement organique */
@keyframes bgTextureShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
    }
    33% {
        background-position: 20% 30%, 80% 70%, 60% 40%, 0% 0%;
    }
    66% {
        background-position: 40% 20%, 60% 80%, 30% 60%, 0% 0%;
    }
}

/* Variante avec texture plus prononcée (style peinture/stuc) */
.bg-textured-rough {
    position: relative;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 35, 50, 0.95) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(15, 22, 35, 0.9) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(34, 50, 74, 0.85) 0%, transparent 45%),
        radial-gradient(circle at 70% 30%, rgba(21, 32, 42, 0.9) 0%, transparent 45%),
        linear-gradient(140deg, #1A2332 0%, #15202A 20%, #1F2A3F 40%, #1A2332 60%, #22324A 80%, #0F1623 100%);
    background-size: 120% 120%, 130% 130%, 140% 140%, 125% 125%, 100% 100%;
    background-position: 0% 0%, 100% 100%, 20% 80%, 80% 20%, 0% 0%;
    animation: bgTextureShiftRough 22s ease-in-out infinite;
}

.bg-textured-rough::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.04) 1px,
            rgba(0, 0, 0, 0.04) 2px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 4px,
            rgba(255, 255, 255, 0.01) 4px,
            rgba(255, 255, 255, 0.01) 8px
        );
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

@keyframes bgTextureShiftRough {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 20% 80%, 80% 20%, 0% 0%;
    }
    25% {
        background-position: 15% 25%, 85% 75%, 35% 65%, 65% 35%, 0% 0%;
    }
    50% {
        background-position: 30% 15%, 70% 85%, 50% 50%, 50% 50%, 0% 0%;
    }
    75% {
        background-position: 20% 35%, 80% 65%, 25% 75%, 75% 25%, 0% 0%;
    }
}

/* Assurer que le contenu reste au-dessus de la texture */
.bg-textured-blue > *,
.bg-textured-dark > *,
.bg-textured-light > *,
.bg-textured-blue-subtle > *,
.bg-textured-rough > * {
    position: relative;
    z-index: 2;
}


/* ============================================
   BASE STYLES - Reset & Global
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
}

html:not(.home) {
    min-height: 100%;
}

body {
    min-height: 100vh;
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: background-color var(--transition-base), color var(--transition-base);
    letter-spacing: var(--letter-spacing-normal);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


/* ============================================
   SYSTÈME DE CONTRASTE ADAPTATIF GLOBAL
   ============================================ */

/* ============================================
   SYSTÈME DE CONTRASTE ADAPTATIF GLOBAL
   ============================================ */

/* Classes pour textes adaptatifs - appliquées automatiquement via JS */
.text-adaptive {
    transition: color var(--transition-base);
}

/* Texte sur fond clair - applique à l'élément et ses enfants */
.text-on-light,
[data-bg="light"] {
    color: var(--text-main) !important;
}

.text-on-light *:not(.text-on-dark):not([data-bg="dark"]),
[data-bg="light"] *:not(.text-on-dark):not([data-bg="dark"]) {
    color: inherit;
}

.text-on-light .text-secondary,
[data-bg="light"] .text-secondary {
    color: var(--text-secondary) !important;
}

.text-on-light .text-muted,
[data-bg="light"] .text-muted {
    color: var(--text-muted) !important;
}

/* Texte sur fond sombre - applique à l'élément et ses enfants */
.text-on-dark,
[data-bg="dark"] {
    color: var(--text-dark) !important;
}

.text-on-dark *:not(.text-on-light):not([data-bg="light"]),
[data-bg="dark"] *:not(.text-on-light):not([data-bg="light"]) {
    color: inherit;
}

.text-on-dark .text-secondary,
[data-bg="dark"] .text-secondary {
    color: var(--text-muted) !important;
}

.text-on-dark .text-muted,
[data-bg="dark"] .text-muted {
    color: var(--text-muted) !important;
}

/* Liens adaptatifs */
.text-on-light a:not(.btn):not(.nav-link),
[data-bg="light"] a:not(.btn):not(.nav-link) {
    color: var(--text-main) !important;
}

.text-on-light a:not(.btn):not(.nav-link):hover,
[data-bg="light"] a:not(.btn):not(.nav-link):hover {
    color: var(--accent) !important;
}

.text-on-dark a:not(.btn):not(.nav-link),
[data-bg="dark"] a:not(.btn):not(.nav-link) {
    color: var(--text-dark) !important;
}

.text-on-dark a:not(.btn):not(.nav-link):hover,
[data-bg="dark"] a:not(.btn):not(.nav-link):hover {
    color: var(--accent) !important;
}

/* Titres adaptatifs */
.text-on-light h1,
.text-on-light h2,
.text-on-light h3,
.text-on-light h4,
.text-on-light h5,
.text-on-light h6,
[data-bg="light"] h1,
[data-bg="light"] h2,
[data-bg="light"] h3,
[data-bg="light"] h4,
[data-bg="light"] h5,
[data-bg="light"] h6 {
    color: var(--text-main) !important;
}

.text-on-dark h1,
.text-on-dark h2,
.text-on-dark h3,
.text-on-dark h4,
.text-on-dark h5,
.text-on-dark h6,
[data-bg="dark"] h1,
[data-bg="dark"] h2,
[data-bg="dark"] h3,
[data-bg="dark"] h4,
[data-bg="dark"] h5,
[data-bg="dark"] h6 {
    color: var(--text-dark) !important;
}

/* Paragraphes et textes */
.text-on-light p,
.text-on-light span,
.text-on-light li,
.text-on-light td,
.text-on-light th,
[data-bg="light"] p,
[data-bg="light"] span,
[data-bg="light"] li,
[data-bg="light"] td,
[data-bg="light"] th {
    color: var(--text-main) !important;
}

.text-on-dark p,
.text-on-dark span,
.text-on-dark li,
.text-on-dark td,
.text-on-dark th,
[data-bg="dark"] p,
[data-bg="dark"] span,
[data-bg="dark"] li,
[data-bg="dark"] td,
[data-bg="dark"] th {
    color: var(--text-dark) !important;
}

/* Background texture pour body.home */
body.home {
    position: relative;
}

/* Vanta.TRUNK background - couvre toute la page (login et register) */
.vanta-fullpage-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.3;
    overflow: hidden !important;
}

#vanta-background {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0.3;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#vanta-background canvas {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 0 !important;
    opacity: 0.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: cover !important;
}

#main-content {
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
    /* Add padding-top to prevent content from being hidden behind fixed/absolute header */
    padding-top: 140px;
}

/* Remove padding-top for home page (hero section handles spacing) */
body.home #main-content {
    padding-top: 0;
}

/* ============================================
   TYPOGRAPHY - Premium Urbain
   ============================================ */

/* Headings - Playfair Display (Serif élégante - prestige, culture, artistique) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

/* Sous-titres élégants - Playfair Display */
.subtitle-elegant,
.quote-elegant,
.accent-elegant {
    font-family: var(--font-elegant);
    font-weight: 400;
    font-style: italic;
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-normal);
    color: var(--text-primary);
}

h1, .h1 {
    font-size: clamp(2rem, 5vw, 5rem); /* 32px mobile - 80px desktop */
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--spacing-2xl);
    font-weight: 400;
    font-family: var(--font-heading); /* Playfair Display */
}

h2, .h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem); /* 24px mobile - 36px desktop */
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
    font-family: var(--font-heading); /* Playfair Display */
    font-style: normal;
}

h3, .h3 {
    font-size: var(--font-size-3xl);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

h4, .h4 {
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-md);
}

h5, .h5 {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

h6, .h6 {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

/* Body text - Inter (Moderne) */
p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.125vw, 1.125rem); /* 16px mobile - 18px desktop */
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

/* Links - Premium */
a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
    font-weight: 500;
}

a:hover {
    color: var(--accent);
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Lists */
ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-relaxed);
}

/* Strong & Emphasis */
strong, b {
    font-weight: 600;
    color: var(--text-primary);
}

em, i {
    font-style: italic;
}

/* Small text */
small, .small {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--text-muted);
}

/* Code */
code, pre {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-size-sm);
}

/* Blockquote */
blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Selection */
::selection {

    color: var(--text-primary);
}

::-moz-selection {

    color: var(--text-primary);
}

/* ============================================
   NAVIGATION - Bootstrap Optimized
   ============================================ */
.main-header {
    background-color: transparent !important;
    background: transparent !important;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid var(--accent-border);
    transition: border-color var(--transition-base);
}

/* Par défaut sur page d'accueil (hero sombre) - texte clair */
body.home .main-header {
    color: var(--text-dark);
}

/* Bordure adaptative */
.main-header.navbar-on-light {
    border-bottom-color: rgba(201, 162, 77, 0.2);
}

.main-header.navbar-on-dark {
    border-bottom-color: var(--accent-border);
}

body.home .main-header {
    border-bottom-color: var(--accent-border);
}

.main-header .navbar {
    background-color: transparent !important;
    background: transparent !important;
    padding: var(--spacing-xl) var(--section-padding-x);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Assurer la transparence pour toutes les classes Bootstrap navbar */
.main-header .navbar-dark,
.main-header .navbar-light,
.main-header .navbar.navbar-dark,
.main-header .navbar.navbar-light {
    background-color: transparent !important;
    background: transparent !important;
}

/* Transparence pour les conteneurs et éléments de la navbar */
.main-header .container-fluid,
.main-header .navbar-collapse {
    background-color: transparent !important;
    background: transparent !important;
}

.main-header .navbar-brand {
    padding: 0;
    margin-right: var(--spacing-xl);
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter var(--transition-base);
}



/* Logo sur fond clair - noir */
.main-header.navbar-on-light .nav-logo {
    filter: brightness(0);
}

/* Logo sur fond sombre - blanc */
.main-header.navbar-on-dark .nav-logo,
body.home .main-header .nav-logo {
    filter: brightness(0) invert(1);
}

.nav-logo:hover {
    opacity: 0.8;
}

.main-header .navbar-nav {
    gap: var(--spacing-md);
}

.main-header .nav-link {
    font-family: var(--font-functional); /* Anton - Éléments fonctionnels */
    font-weight: 400;
    text-transform: uppercase;
    font-size: var(--font-size-base);
    letter-spacing: var(--letter-spacing-wide);
    padding: var(--spacing-sm) var(--spacing-lg) !important;
    transition: all var(--transition-base);
    position: relative;
    opacity: 0.9;
}

/* Couleur par défaut - s'adapte automatiquement via JS */
.main-header .nav-link {
    color: var(--text-primary) !important;
}

/* Classe pour fond clair - texte sombre */
.main-header.navbar-on-light .nav-link {
    color: var(--text-main) !important;
}

/* Classe pour fond sombre - texte clair */
.main-header.navbar-on-dark .nav-link {
    color: var(--text-dark) !important;
}

.main-header .nav-link:hover,
.main-header .nav-link:focus {
    opacity: 1;
    transform: translateY(-1px);
}

.main-header.navbar-on-light .nav-link:hover,
.main-header.navbar-on-light .nav-link:focus {
    color: var(--text-main) !important;
}

.main-header.navbar-on-dark .nav-link:hover,
.main-header.navbar-on-dark .nav-link:focus {
    color: var(--text-dark) !important;
}

/* Force texte clair sur page d'accueil (hero sombre) - priorité maximale */
body.home .main-header .nav-link,
body.home .main-header .nav-link:hover,
body.home .main-header .nav-link:focus,
body.home .main-header.navbar-on-light .nav-link,
body.home .main-header.navbar-on-light .nav-link:hover,
body.home .main-header.navbar-on-light .nav-link:focus {
    color: var(--text-dark) !important;
}

.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: var(--spacing-lg);
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-base);
}

.main-header .nav-link:hover::after {
    width: calc(100% - var(--spacing-lg) * 2);
    background-color: var(--accent);
}

/* Dropdown menu styles */
.main-header .dropdown-toggle {
    cursor: pointer;
}

.main-header .dropdown-toggle::after {
    margin-left: var(--spacing-xs);
    vertical-align: 0.2em;
}

/* Hover dropdown behavior - Desktop only */
@media (min-width: 992px) {
    .main-header .dropdown-hover .dropdown-menu {
        pointer-events: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity var(--transition-base), transform var(--transition-base);
    }
    
    .main-header .dropdown-hover:hover .dropdown-menu,
    .main-header .dropdown-hover .dropdown-menu.show {
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
        display: block !important;
    }
}

/* Mobile: keep click behavior */
@media (max-width: 991.98px) {
    .main-header .dropdown-hover .dropdown-menu {
        pointer-events: auto;
    }
}

.main-header .dropdown-menu {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

.main-header .dropdown-item {
    color: var(--text-main);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.main-header .dropdown-item:hover,
.main-header .dropdown-item:focus {
    background-color: var(--glow-blue);
    color: var(--text-main);
}

.main-header .dropdown-item-icon {
    font-size: var(--font-size-lg);
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    text-align: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: var(--spacing-sm);
    color: #FFFAFA !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
}

.main-header .dropdown-item-icon svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    fill: #FFFAFA !important;
    color: #FFFAFA !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Override any fill="currentColor" attributes */
.main-header .dropdown-item-icon svg[fill="currentColor"] {
    fill: #FFFAFA !important;
}

.main-header .dropdown-item-icon svg path,
.main-header .dropdown-item-icon svg circle,
.main-header .dropdown-item-icon svg rect,
.main-header .dropdown-item-icon svg polygon,
.main-header .dropdown-item-icon svg polyline,
.main-header .dropdown-item-icon svg * {
    fill: #FFFAFA !important;
    stroke: #FFFAFA !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Specific override for currentColor in paths */
.main-header .dropdown-item-icon svg path[fill="currentColor"],
.main-header .dropdown-item-icon svg path[fill-rule],
.main-header .dropdown-item-icon svg path:not([fill]),
.main-header .dropdown-item-icon svg path {
    fill: #FFFAFA !important;
    stroke: none !important;
}

/* Ultimate fallback - force all SVG content to be visible */
.main-header .dropdown-item-icon > * {
    fill: #FFFAFA !important;
    color: #FFFAFA !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-header .dropdown-divider {
    border-color: var(--border-color);
    margin: var(--spacing-xs) 0;
    opacity: 0.5;
}

.main-header .navbar-nav .dropdown-menu {
    right: 0;
    left: auto;
}

.main-header .navbar-nav .dropdown-menu[data-bs-popper] {
    right: 0;
    left: auto;
}

.main-header .navbar-nav .dropdown-menu-end {
    right: 0;
    left: auto;
}

.main-header .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--spacing-sm) var(--spacing-md);
}

.main-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}


/* Responsive Navigation */
@media (max-width: 991.98px) {
    .main-header .navbar {
        padding: var(--spacing-lg) var(--spacing-lg);
    }
    
    .main-header .navbar-collapse {
        background-color: transparent !important;
        background: transparent !important;
        border-radius: var(--radius-md);
        padding: var(--spacing-xl);
        margin-top: var(--spacing-lg);
        backdrop-filter: blur(10px);
    }
    
    .main-header .nav-link {
        font-size: var(--font-size-base);
        padding: var(--spacing-md) 0 !important;
        border-bottom: 1px solid var(--border-color);
        opacity: 0.9;
    }
    
    .main-header .nav-link:last-child {
        border-bottom: none;
    }
    
    .main-header .nav-link::after {
        display: none; /* Désactiver underline sur mobile */
    }
    
    .main-header .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: var(--spacing-sm);
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0;
    }
    
    .main-header .dropdown-item {
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-header .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .main-header .dropdown-divider {
        display: none;
    }
    
    .nav-logo {
        height: 32px;
    }
}

/* Unread messages badge in navigation */
.nav-unread-badge {
    display: inline-block;

    color: var(--text-primary);
    border-radius: var(--radius-full);
    padding: 0.125rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

footer {
    width: 100%;
    background-color: transparent;
    margin-top: auto;
    position: relative;
    z-index: 1;
    min-height: 200px;
}

.logo-footer {
    width: 100%;
    height: 100px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.logo-footer img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-content {
    width: 100%;
    background-color: transparent;
    position: relative;
    padding: var(--spacing-3xl) 0;
    border-top: 1px solid var(--border-color);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-3xl);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.footer-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: var(--letter-spacing-normal);
    transition: all var(--transition-base);
    text-transform: none;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity var(--transition-base);
}

.footer-legal-links a:hover {
    opacity: 0.7;
}

.footer-legal-separator {
    color: var(--text-primary);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ============================================
   COMMON STYLES - Shared across pages
   ============================================ */

/* Alerts */
.alert {
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border: 1px solid transparent;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-danger {

    color: var(--color-error);
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-warning {

    color: var(--color-warning);
    border-color: rgba(245, 158, 11, 0.3);
}

.alert-info {

    color: var(--color-info);
    border-color: rgba(59, 130, 246, 0.3);
}

.alert-success {

    color: var(--color-success);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Legacy error/success messages (for backward compatibility) */
.error-message {

    color: var(--color-error);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.95rem;
    line-height: 1.5;
}

.error-message.field-error {

    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    border-left: 3px solid #dc3545;
}

.error-message.fixed {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    margin: var(--spacing-md);
    max-width: 90%;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FORM STYLES - Base générique (DRY)
   ============================================ */

/* Base form control - Style générique pour tous les formulaires */
.form-control {
    background-color: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    color: var(--text-main);
    width: 100%;
    font-family: var(--font-body);
    transition: all var(--transition-base);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Form label - Style générique */
.form-label {
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    letter-spacing: var(--letter-spacing-normal);
    display: block;
}

/* Form control invalid state */
.form-control.is-invalid,
.form-check-input.is-invalid {
    border-color: var(--color-error);
}

.form-control.is-invalid:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

/* Required field indicator */
.required {
    color: var(--color-error);
    font-weight: bold;
    margin-left: var(--spacing-xs);
}

/* Field error message */
.field-error {
    display: none;
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    font-family: var(--font-body);
}

.field-error.has-error {
    display: block;
}

/* Spinner styles for form submission */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    margin-left: 0.5rem;
}

.success-message {
    color: #155724;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border: 1px solid #c3e6cb;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

.success-message.fixed {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    margin: var(--spacing-md);
    max-width: 90%;
    box-shadow: var(--shadow-md);
}

.success-message a {
    color: #155724;
    text-decoration: underline;
}

/* Links */
.register-link,
.login-link {
    text-align: center;
    margin-top: var(--spacing-lg);
    color: var(--text-primary);
}

.register-link a,
.login-link a {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-base);
    font-weight: 500;
}

.register-link a:hover,
.login-link a:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--color-primary-light);
}

/* ============================================
   BUTTONS - Premium Urbain
   ============================================ */

/* Base button styles - Anton (Éléments fonctionnels - Impact et lisibilité) */
.btn,
button[type="submit"],
button[type="button"] {
    font-family: var(--font-functional); /* Anton */
    font-size: clamp(0.875rem, 1vw, 1rem); /* 14px mobile - 16px desktop */
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: var(--letter-spacing-wide);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;

}

/* Primary button - Élégant urbain (inversé) */
.btn-primary,
.btn-primary:not(:disabled):not(.disabled) {
    background-color: var(--blue-brand);
    color: #EAF0FF;
    border: 1px solid var(--blue-brand);
    border-radius: var(--radius-button);
    box-shadow: none;
}

.btn-primary:hover:not(:disabled):not(.disabled) {
    background-color: var(--blue-brand);
    border-color: var(--blue-brand);
    color: #EAF0FF;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
    opacity: 0.95;
}


.btn-primary:active:not(:disabled):not(.disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Secondary button - Élégant urbain */
.btn-secondary,
.btn-secondary:not(:disabled):not(.disabled) {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--accent);
    border-radius: var(--radius-button);
}

.btn-secondary:hover:not(:disabled):not(.disabled) {
    background-color: var(--surface);
    border-color: var(--accent);
    color: var(--text-dark);
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Outline button - Élégant urbain */
.btn-outline-primary,
.btn-outline-primary:not(:disabled):not(.disabled) {
    background-color: transparent;
    color: var(--blue-brand);
    border: 1px solid var(--blue-brand);
    border-radius: var(--radius-button);
}

.btn-outline-primary:hover:not(:disabled):not(.disabled) {
    background-color: var(--blue-brand);
    color: var(--text-primary);
    border-color: var(--blue-brand);
}

.btn-outline-secondary,
.btn-outline-secondary:not(:disabled):not(.disabled) {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--accent);
    border-radius: var(--radius-button);
}

.btn-outline-secondary:hover:not(:disabled):not(.disabled) {
    background-color: var(--surface);
    border-color: var(--accent);
    color: var(--text-dark);
}

/* Button sizes - Premium */
.btn-sm {
    padding: 0.375rem 0.625rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 0.625rem 1rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* Button states */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button with icon */
.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Container - Premium spacing */
.container,
.container-fluid {
    width: 100%;
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: var(--container-max-width);
}

/* Section spacing - Premium */
section {
    padding: var(--section-padding-y) 0;
}

.section-padding-sm {
    padding: var(--spacing-xxl) 0;
}

.section-padding-lg {
    padding: var(--spacing-4xl) 0;
}

/* Blockquote - Élégant avec Playfair */
blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
    font-family: var(--font-elegant);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

/* Citations et accents élégants */
.quote-text,
.elegant-text,
.premium-text {
    font-family: var(--font-elegant);
    font-style: italic;
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
}

/* Espacements améliorés pour sections */
.section-content {
    padding: var(--spacing-3xl) 0;
}

.section-content-sm {
    padding: var(--spacing-xxl) 0;
}

.section-content-lg {
    padding: var(--spacing-4xl) 0;
}

/* ============================================
   CARD SYSTEM - Base générique réutilisable (DRY)
   ============================================ */

/* Base card styles - Standard pour toutes les cards */
.card-base {
    background-color: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-soft);
    height: 100%;
    box-shadow: none;
}

.card-base:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-border-hover);
}

/* Card image container */
.card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Card content */
.card-content {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

/* Card title */
.card-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--text-main);
    margin: 0;
    flex: 1;
    line-height: var(--line-height-tight);
}

/* Card description */
.card-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    margin: 0;
}

/* Card footer */
.card-footer {
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   FRONT PAGE STYLES - Hero, Carousel, About
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Image-chanteur.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 22, 35, 0.4);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.hero-tagline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    margin-top: 8rem;
    padding: 0 var(--section-padding-x);
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    align-self: flex-start;
    animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
    color: var(--text-dark);
    font-size: clamp(1.125rem, 1.5vw, 1.5rem); /* 18px mobile - 24px desktop */
    font-weight: 400;
    font-style: italic;
    margin: 0;
    opacity: 0.95;
    letter-spacing: var(--letter-spacing-normal);
    font-family: var(--font-elegant); /* Playfair Display */
    text-align: left;
    width: auto;
    line-height: var(--line-height-relaxed);
}

.hero-title {
    color: var(--text-primary);
    font-size: clamp(6rem, 34vw, 34rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.03em; /* Espacement très serré pour un effet géant */
    margin: var(--spacing-4xl) 0 0 0;
    line-height: 0.85; /* Line-height réduit pour un effet plus compact et imposant */
    text-shadow: 3px 3px 30px rgba(0, 0, 0, 0.8);
    font-family: var(--font-heading); /* Anton */
    width: 100%;
    display: block;
    text-align: center;
    padding: 0 var(--section-padding-x);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Hero CTA button - Utilise .btn avec accent color */
.hero-inscription-btn {
    background-color: var(--accent);
    color: var(--text-dark);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.hero-inscription-btn:hover {
    background-color: var(--accent);
    opacity: 0.95;
    box-shadow: var(--shadow-md);
}

/* Netflix Style Carousel - Minimaliste Premium */
.carousel-section {
    width: 100%;
    padding: var(--section-padding-y) 0;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s both;
}

.carousel-section .row {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 0 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.carousel-section .row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-section .row__inner {
    transition: transform 450ms;
    font-size: 0;
    white-space: nowrap;
    margin: 70px 0;
    padding-bottom: 10px;
    display: inline-flex;
}

.tile {
    position: relative;
    display: inline-block;
    width: 250px;
    height: 140.625px; /* 250px / (16/9) */
    margin-right: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: all 450ms;
    transform-origin: center left;
    flex-shrink: 0;
}

.tile__img {
    width: 250px;
    height: 140.625px;
    object-fit: cover;
    display: block;
}

.tile__details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    font-size: 10px;
    opacity: 0;

    transition: opacity 450ms;
    pointer-events: none;
}

.tile__details:after,
.tile__details:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
}

.tile__details:after {
    margin-top: -25px;
    margin-left: -25px;
    width: 50px;
    height: 50px;
    border: 3px solid #ecf0f1;
    line-height: 50px;
    text-align: center;
    border-radius: 100%;

    z-index: 1;
}

.tile__details:before {
    content: '▶';
    left: 0;
    width: 100%;
    font-size: 30px;
    margin-left: 7px;
    margin-top: -18px;
    text-align: center;
    z-index: 2;
    color: #ecf0f1;
}

.tile:hover .tile__details {
    opacity: 1;
}

.tile__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    font-family: var(--font-body);

    opacity: 0;
    transition: opacity var(--transition-base);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.tile:hover .tile__title {
    opacity: 1;
}

/* Hover effects */
.carousel-section .row__inner:hover {
    transform: translate3d(-62.5px, 0, 0);
}

.carousel-section .row__inner:hover .tile {
    opacity: 0.3;
}

.carousel-section .row__inner:hover .tile:hover {
    transform: scale(1.5);
    opacity: 1;
}

.tile:hover ~ .tile {
    transform: translate3d(125px, 0, 0);
}

/* About Section - Premium Aéré */
.about-section {
    width: 100%;
    padding: var(--section-padding-y) 0;
    color: var(--text-primary);
    min-height: 60vh;
    position: relative;
}

.about-section .container {
    max-width: var(--content-max-width);
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

.about-section .row {
    gap: var(--spacing-5xl) 0;
    margin: 0;
}

.about-left {
    text-align: left;
    width: 100%;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.3s both;
    position: relative;
}


.about-left:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-light);
}

.about-right {
    text-align: right;
    width: 100%;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.5s both;
    position: relative;
}


.about-right:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-light);
}

.about-subtitle {
    font-family: var(--font-elegant); /* Playfair Display */
    font-size: clamp(1.5rem, 2.5vw, 2.25rem); /* 24px mobile - 36px desktop */
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    letter-spacing: var(--letter-spacing-normal);
    line-height: var(--line-height-relaxed);
}

.about-left p,
.about-right p {
    font-size: clamp(1rem, 1.125vw, 1.125rem); /* 16px mobile - 18px desktop */
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-family: var(--font-body); /* Inter */
    font-weight: 400;
    max-width: 85%;
}

.about-left p:last-child,
.about-right p:last-child {
    margin-bottom: 0;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-tagline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
        margin-top: 4rem;
        padding: 0 var(--spacing-lg);
    }
    
    .hero-title {
        font-size: clamp(4rem, 34vw, 20rem);
        margin: var(--spacing-3xl) 0 0 0;
        line-height: 0.85;
    }
    
    .hero-tagline {
        font-size: var(--font-size-base);
        text-align: left;
    }
    
    .hero-inscription-btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-section {
        min-height: auto;
        padding: var(--section-padding-y-sm) 0;
    }
    
    .about-section .container {
        padding-left: var(--section-padding-x);
        padding-right: var(--section-padding-x);
    }
    
    .about-section .row {
        grid-template-columns: 1fr;
        gap: var(--spacing-4xl) 0;
    }
    
    .about-left {
        padding: 0;
        margin-bottom: 0;
    }
    
    .about-right {
        text-align: left;
        padding: 0;
    }
    
    .about-subtitle {
        font-size: clamp(1.25rem, 4vw, 1.75rem); /* 20px - 28px mobile */
        margin-bottom: var(--spacing-xl);
    }
    
    .about-left p,
    .about-right p {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-lg);
        max-width: 100%;
    }
}

/* ============================================
   NOUVELLES SECTIONS - FRONT PAGE AMÉLIORÉE
   ============================================ */

/* SECTION 2: MANIFESTE */
.manifeste-section {
    width: 100%;
    padding: var(--section-padding-y) 0;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s both;
}

.manifeste-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    text-align: center;
}

.manifeste-title {
    font-family: var(--font-heading); /* Anton */
    font-size: clamp(2rem, 4vw, 3.75rem); /* 32px mobile - 60px desktop */
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--spacing-3xl);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

.manifeste-text {
    font-family: var(--font-elegant); /* Playfair Display */
    font-size: clamp(1.125rem, 1.5vw, 1.5rem); /* 18px mobile - 24px desktop */
    font-style: italic;
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.manifeste-text p {
    margin-bottom: var(--spacing-xl);
}

.manifeste-text p:last-child {
    margin-bottom: 0;
}

/* SECTION 3: CARROUSEL - Titre ajouté */
.carousel-title {
    font-family: var(--font-display); /* Playfair Display SC */
    font-size: clamp(1.5rem, 2.5vw, 2.25rem); /* 24px mobile - 36px desktop */
    font-weight: 400;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-4xl);
    padding: 0 var(--section-padding-x);
    letter-spacing: var(--letter-spacing-wide);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s both;
}

/* SECTION 4: POUR QUI */
.pour-qui-section {
    width: 100%;
    padding: var(--section-padding-y) 0;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s both;
}

.pour-qui-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    text-align: center;
}

.pour-qui-title {
    font-family: var(--font-heading); /* Anton */
    font-size: clamp(2rem, 4vw, 3.75rem); /* 32px mobile - 60px desktop */
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

.pour-qui-subtitle {
    font-family: var(--font-elegant); /* Playfair Display */
    font-size: clamp(1rem, 1.25vw, 1.25rem); /* 16px mobile - 20px desktop */
    font-style: italic;
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-4xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pour-qui-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.pour-qui-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--spacing-2xl);
    transition: all var(--transition-base);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
}

.pour-qui-card:nth-child(1) {
    animation-delay: 1.2s;
}

.pour-qui-card:nth-child(2) {
    animation-delay: 1.4s;
}

.pour-qui-card:nth-child(3) {
    animation-delay: 1.6s;
}

.pour-qui-card:nth-child(4) {
    animation-delay: 1.8s;
}

.pour-qui-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-border-hover);
}

.pour-qui-card-content {
    text-align: center;
}

.pour-qui-card-title {
    font-family: var(--font-body); /* Inter */
    font-size: clamp(1rem, 1.125vw, 1.125rem); /* 16px mobile - 18px desktop */
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    line-height: var(--line-height-normal);
}

/* SECTION 5: L'ESSENTIEL DES CONNEXIONS */
.essentiel-section {
    width: 100%;
    padding: var(--section-padding-y) 0;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s both;
}

.essentiel-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    text-align: center;
}

.essentiel-title {
    font-family: var(--font-heading); /* Anton */
    font-size: clamp(2rem, 4vw, 3.75rem); /* 32px mobile - 60px desktop */
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--spacing-3xl);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

.essentiel-text {
    font-family: var(--font-elegant); /* Playfair Display */
    font-size: clamp(1.125rem, 1.5vw, 1.5rem); /* 18px mobile - 24px desktop */
    font-style: italic;
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.essentiel-text p {
    margin-bottom: var(--spacing-xl);
}

.essentiel-text p:last-child {
    margin-bottom: 0;
}

/* SECTION 6: COMMENT ÇA MARCHE */
.comment-section {
    width: 100%;
    padding: var(--section-padding-y-sm) 0;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.2s both;
}

.comment-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    text-align: center;
}

.comment-title {
    font-family: var(--font-heading); /* Anton */
    font-size: clamp(1.75rem, 3vw, 3rem); /* 28px mobile - 48px desktop */
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--spacing-4xl);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

.comment-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-3xl);
    max-width: 1100px;
    margin: 0 auto;
}

.comment-step {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out both;
}

.comment-step:nth-child(1) {
    animation-delay: 2.4s;
}

.comment-step:nth-child(2) {
    animation-delay: 2.6s;
}

.comment-step:nth-child(3) {
    animation-delay: 2.8s;
}

.comment-step-number {
    font-family: var(--font-heading); /* Anton */
    font-size: clamp(4rem, 6vw, 6rem); /* 64px mobile - 96px desktop */
    font-weight: 400;
    color: var(--color-accent-elegant);
    line-height: 1;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.comment-step-title {
    font-family: var(--font-elegant); /* Playfair Display */
    font-size: clamp(1.25rem, 1.75vw, 1.75rem); /* 20px mobile - 28px desktop */
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

.comment-step-text {
    font-family: var(--font-body); /* Inter */
    font-size: clamp(0.875rem, 1vw, 1rem); /* 14px mobile - 16px desktop */
    color: var(--text-dark);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* SECTION 7: CTA FINAL */
.cta-final-section {
    width: 100%;
    padding: var(--section-padding-y-xs) 0;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s both;
}

.cta-final-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    text-align: center;
}

.cta-final-title {
    font-family: var(--font-heading); /* Anton */
    font-size: clamp(1.75rem, 3vw, 3rem); /* 28px mobile - 48px desktop */
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

.cta-final-text {
    font-family: var(--font-elegant); /* Playfair Display */
    font-size: clamp(1rem, 1.25vw, 1.25rem); /* 16px mobile - 20px desktop */
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: var(--line-height-relaxed);
}

/* CTA Final button - Utilise .btn avec accent color (même style que hero) */
.cta-final-btn {
    background-color: var(--accent);
    color: var(--text-dark);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.cta-final-btn:hover {
    background-color: var(--accent);
    opacity: 0.95;
    box-shadow: var(--shadow-md);
}

/* Responsive - Nouvelles sections */
@media (max-width: 768px) {
    .manifeste-section,
    .essentiel-section {
        padding: var(--section-padding-y-sm) 0;
    }
    
    .manifeste-text,
    .essentiel-text {
        font-size: var(--font-size-base);
    }
    
    .pour-qui-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .comment-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .comment-step-number {
        font-size: clamp(3rem, 8vw, 4rem);
    }
    
    .carousel-title {
        margin-bottom: var(--spacing-2xl);
    }
}

/* Productions Section */
.productions-section {
    width: 100%;
    padding: var(--spacing-3xl) 0;
    margin-top: var(--spacing-xl);
}

.productions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.productions-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.btn-add-production {

    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.btn-add-production:hover {

    border-color: rgba(255, 255, 255, 0.5);
}

.add-production-form-wrapper {
    background-color: var(--bg-secondary-solid);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Production form - Override pour fond sombre si nécessaire */
.add-production-form .form-label {
    color: var(--text-dark);
}

.add-production-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

.add-production-form .form-control:focus {
    color: var(--text-dark);
}

.add-production-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.add-production-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.add-production-form-actions .btn {
    flex: 1;
}

.productions-list {
    padding: 0 2rem;
}

.productions-empty {
    color: var(--text-muted);
    text-align: center;
    padding: var(--spacing-xxl) 0;
    font-style: italic;
}

.production-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: var(--spacing-lg);
}

.production-item:last-child {
    border-bottom: none;
}

.production-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.production-icon svg {
    width: 100%;
    height: 100%;
}

.production-content {
    flex: 1;
    min-width: 0;
}

.production-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-body);
}

.production-genre {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-body);
}

.production-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-family: var(--font-body);
}

.production-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.production-rating {
    color: var(--text-primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.production-favorite {

    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.production-favorite:hover {
    opacity: 0.7;
}

.production-favorite svg {
    width: 20px;
    height: 20px;
}

.production-delete {

    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color var(--transition-base);
}

.production-delete:hover {
    color: var(--color-error);
}

.productions-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 0 2rem;
}

.btn-contact {

    color: var(--text-dark);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    text-transform: lowercase;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {

    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-section {
        padding: var(--section-padding-y-sm) 0;
    }
    
    .carousel-section .row {
        padding: 0 var(--spacing-lg);
    }
    
    .tile {
        width: 200px;
        height: 112.5px;
    }
    
    .tile__img {
        width: 200px;
        height: 112.5px;
    }
}

/* Responsive Productions Section */
@media (max-width: 768px) {
    .productions-section {
        padding: 2rem 0;
    }
    
    .productions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .productions-title {
        font-size: 2rem;
    }
    
    .productions-list {
        padding: 0 1rem;
    }
    
    .production-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .production-actions {
        align-self: flex-end;
    }
    
    .productions-contact {
        padding: 0 1rem;
    }
    
    .add-production-form-wrapper {
        margin: 0 1rem 2rem 1rem;
    }
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    margin: 0;
    flex: 1;

    position: relative;
}

.login-container .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.login-form-wrapper {
    width: 100%;
    background-color: var(--bg-secondary-solid);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.login-logo {
    margin-bottom: var(--spacing-xl);
}

.login-logo-img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Login form - Override spécifique pour fond sombre */
.login-form .form-label {
    color: var(--text-dark);
}

.login-form .form-control {
    color: var(--text-main);
}

.login-form .form-control:focus {
    color: var(--text-main);
}

.login-form .form-check-label {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.login-form .form-check-input {
    margin-top: 0.3rem;
}

/* Login button - Utilise les styles de base .btn avec override minimal */
.btn-login {
    background-color: var(--accent);
    color: var(--text-dark);
    text-transform: lowercase;
}

.btn-login:hover {
    background-color: var(--accent);
    opacity: 0.95;
}

/* ============================================
   REGISTER PAGE STYLES
   ============================================ */

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    margin: 0;
    flex: 1;

    position: relative;
}

.register-container .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Register Split Layout */
.register-split-layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 80vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Left Panel: Quote */
.register-quote-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl);
}

.register-quote {
    color: var(--text-primary);
    font-style: italic;
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-relaxed);
    font-family: var(--font-elegant);
    font-weight: 400;
    letter-spacing: var(--letter-spacing-normal);
}

.register-quote .quote-line-1,
.register-quote .quote-line-2 {
    margin: 0;
    color: #FFFAFA;
}

/* Right Panel: Form */
.register-form-panel {
    flex: 1;
    background-color: var(--bg-secondary-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl);
}

.register-form-wrapper {
    width: 100%;
    max-width: 500px;
}

/* Register form - Override spécifique si nécessaire */
.register-form-wrapper .form-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.register-form .form-row {
    width: 100%;
    margin-bottom: 0;
}

.register-form .form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.register-form .form-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-service-offer {

    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: all var(--transition-base);
    cursor: pointer;
    background-color: var(--color-taupe);
    color: var(--text-primary);
}

.btn-service-offer:hover {

    color: var(--text-cream);
    background-color: var(--color-burgundy);
}

.btn-service-seek {

    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: all var(--transition-base);
    cursor: pointer;
    background-color: var(--color-beige);
    color: var(--text-dark);
}

.btn-service-seek:hover {

    background-color: var(--color-burgundy);
    color: var(--color-cream);
}

/* ============================================
   REGISTRATION STEPPER - Multi-step form indicator
   ============================================ */
.registration-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    padding: 0 var(--spacing-md);
}

.registration-stepper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
    transform: translateY(-50%);
}

.stepper-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 200px;
}

.stepper-step-number {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-secondary-solid);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-base);
}

.stepper-step.active .stepper-step-number {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-dark);
}

.stepper-step.completed .stepper-step-number {
    background-color: var(--color-success);
    border-color: var(--color-success);
    color: var(--text-dark);
    position: relative;
}

.stepper-step.completed .stepper-step-number::after {
    content: '✓';
    font-size: var(--font-size-lg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    color: var(--text-dark);
}

/* Masquer le numéro quand il y a un checkmark */
.stepper-step.completed .stepper-step-number {
    font-size: 0;
}

.stepper-step.completed .stepper-step-number::after {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
}

.stepper-step-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
    transition: color var(--transition-base);
}

.stepper-step.active .stepper-step-label {
    color: var(--text-primary);
    font-weight: 600;
}

.stepper-step.completed .stepper-step-label {
    color: var(--text-secondary);
}

.stepper-connector {
    position: absolute;
    top: 50%;
    left: 20px;
    right: -20px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
    transform: translateY(-50%);
}

.stepper-step.completed + .stepper-step .stepper-connector,
.stepper-step.active + .stepper-step .stepper-connector {
    background-color: var(--color-success);
}

/* Mobile stepper */
@media (max-width: 768px) {
    .registration-stepper {
        padding: 0;
        margin-bottom: var(--spacing-xl);
    }

    .stepper-step {
        max-width: none;
    }

    .stepper-step-number {
        width: 36px;
        height: 36px;
        font-size: var(--font-size-sm);
    }

    .stepper-step-label {
        font-size: var(--font-size-xs);
        margin-top: var(--spacing-xs);
    }
}

/* Form step container */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.form-step-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

/* Form navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
}

.form-navigation:has(.btn-skip) {
    justify-content: flex-start;
}

.form-navigation:has(.btn-skip) .btn-skip,
.form-navigation:has(.btn-skip) .btn-submit {
    margin-left: auto;
}

.form-navigation .btn {
    min-width: 120px;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-previous {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

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

.btn-next,
.btn-submit {
    background-color: var(--color-primary);
    border: none;
    color: var(--text-dark);
}

.btn-next:hover,
.btn-submit:hover {
    background-color: var(--color-primary-dark);
}

.btn-skip {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-skip:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.02);
}

/* Navigation avec bouton skip - alignement spécial */
.form-navigation .btn-previous {
    margin-right: auto;
}

.form-navigation .btn-skip {
    margin-left: auto;
    margin-right: var(--spacing-sm);
}

/* Error messages - Accessible and clear */
.field-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: none;
    font-weight: 500;
}

.field-error.has-error {
    display: block;
}

.field-error::before {
    content: '⚠ ';
    margin-right: var(--spacing-xs);
}

.form-control.is-invalid {
    border: 2px solid var(--color-error);
    background-color: rgba(239, 68, 68, 0.1);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
    border-color: var(--color-error);
}

/* Service type selection */
.service-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.service-type-btn {
    padding: var(--spacing-lg);
    border: 2px solid var(--border-color);
    background-color: var(--bg-secondary-solid);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    font-weight: 500;
    font-size: var(--font-size-base);
}

.service-type-btn:hover {
    border-color: var(--color-primary);
    background-color: rgba(74, 144, 226, 0.1);
}

.service-type-btn.selected {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .service-type-selection {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation .btn {
        width: 100%;
        min-width: auto;
        padding: var(--spacing-md);
        font-size: var(--font-size-base);
    }
    
    .form-step-title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
    }
    
    .form-step-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }
    
    .register-form-wrapper .form-control,
    .service-form-wrapper .form-control,
    .service-form-wrapper .form-select {
        font-size: 16px; /* Évite le zoom automatique sur iOS */
        padding: var(--spacing-md);
        min-height: 44px; /* Taille minimale recommandée pour le tactile */
    }
    
    .service-type-btn {
        padding: var(--spacing-md);
        min-height: 48px; /* Taille minimale pour les boutons tactiles */
        font-size: var(--font-size-base);
    }
    
    .field-error {
        font-size: var(--font-size-xs);
        margin-top: var(--spacing-xs);
    }
}

/* Responsive Design for Register Page */
@media (max-width: 768px) {
    .register-split-layout {
        flex-direction: column;
        min-height: auto;
    }

    .register-quote-panel {
        padding: 2rem;
        min-height: 200px;
    }

    .register-quote {
        font-size: 1.2rem;
    }

    .register-form-panel {
        padding: 2rem;
    }

    .register-form .form-row-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Common Service Template Styles (shared between offering and seeking) */
.service-container,
.seeking-service-container {
    min-height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Fix white text on white background for offering-service page */
.service-container .stepper-step.active .stepper-step-number,
.service-container .stepper-step.completed .stepper-step-number {
    color: var(--text-dark);
}

.service-container .stepper-step.completed .stepper-step-number::after {
    color: var(--text-dark);
}

.service-container .container-fluid,
.seeking-service-container .container-fluid {
    padding: 0;
    margin: 0;
}

.service-container .row {
    margin: 0;
    min-height: calc(100vh - 100px);
}

/* ============================================
   SERVICE QUOTE PANEL - Optimized
   ============================================ */
.service-quote-panel {
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl);
    position: relative;
    min-height: calc(100vh - 100px);
}

.service-quote-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
}

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

.service-quote-text {
    color: var(--text-primary);
    font-style: italic;
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-relaxed);
    font-family: var(--font-elegant);
    margin: 0;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-normal);
}

/* ============================================
   SERVICE FORM PANEL - Optimized
   ============================================ */
.service-form-panel {

    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    padding: var(--spacing-xxl);
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 100px);
}

.service-form-wrapper {
    width: 100%;
    max-width: 600px;
}

/* ============================================
   COMMON FORM STYLES - Harmonized
   ============================================ */
.service-label,
.seeking-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    letter-spacing: var(--letter-spacing-normal);
}

.service-input,
.seeking-input {

    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #FFFAFA;
    width: 100%;
}

.service-input:focus,
.seeking-input:focus {

    border: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: #FFFAFA;
    outline: none;
}

.service-input::placeholder,
.seeking-input::placeholder {
    color: #C9D1DB;
}

/* Common Photo Upload Styles (shared between service and seeking) */
.service-photo-section,
.seeking-photo-section {
    text-align: center;
}

.service-photo-upload-wrapper {
    display: inline-block;
}

.service-photo-label-wrapper,
.seeking-photo-label {
    cursor: pointer;
    display: inline-block;
    transition: all var(--transition-base);
}

.service-photo-label-wrapper:hover,
.seeking-photo-label:hover {
    transform: scale(1.05);
}

.service-photo-label-wrapper:hover .service-photo-preview,
.seeking-photo-label:hover .seeking-photo-preview {
    border-color: var(--text-primary);

}

.service-photo-preview,
.seeking-photo-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;

    border: 3px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-base);
}

.service-photo-preview.has-image,
.seeking-photo-preview.has-image {
    border: 3px solid var(--border-color);
    border-style: solid;
}

.service-photo-placeholder,
.seeking-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
}

.service-photo-upload-icon,
.seeking-photo-upload-icon {
    width: 48px;
    height: 48px;
    color: var(--blue-brand);
    transition: all var(--transition-base);
}

.service-photo-label-wrapper:hover .service-photo-upload-icon,
.seeking-photo-label:hover .seeking-photo-upload-icon {
    color: var(--text-primary);
    transform: scale(1.1);
}

.service-photo-upload-text,
.seeking-photo-upload-text {
    color: var(--blue-brand);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-base);
}

.service-photo-label-wrapper:hover .service-photo-upload-text,
.seeking-photo-label:hover .seeking-photo-upload-text {
    color: var(--text-primary);
}

.service-photo-preview-img,
.seeking-photo-preview-img,
.seeking-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-photo-icon,
.seeking-photo-icon {
    width: 80px;
    height: 80px;
}

.service-photo-label,
.seeking-photo-text {
    color: var(--blue-brand);
    font-size: 0.875rem;
    display: block;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.service-photo-label-wrapper:hover .service-photo-label,
.seeking-photo-label:hover .seeking-photo-text {
    color: var(--text-primary);
}

.service-photo-input {
    display: none;
}

/* Filters Grid */
.service-filters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.service-filter-item {
    display: flex;
    align-items: center;
}

.service-filter-checkbox {
    display: none;
}

/* Upgrade Button Style for Filters */
.service-filter-checkbox-wrapper {
    margin: 0;
    padding: 0;
    width: auto;
    display: inline-block;
}

/* Reduce spacing between filter buttons - Style compact comme chips */
.service-form .row.g-2.service-filters-row,
.service-form .service-filters-row,
.service-form .row.g-2 {
    --bs-gutter-y: 0 !important;
    --bs-gutter-x: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem 0 !important;
    row-gap: 0 !important;
    column-gap: 0.5rem !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: normal !important;
    align-items: flex-start !important;
}

.service-form .row.g-2.service-filters-row > *,
.service-form .service-filters-row > *,
.service-form .row.g-2 > * {
    margin: 0 !important;
    padding: 0 !important;
}

/* Override Bootstrap gutter variables spécifiquement pour les filtres */
.service-form .row.g-2.service-filters-row,
.service-form .service-filters-row,
.service-form .row.g-2 {
    --bs-gutter-y: 0 !important;
}

/* Force tous les enfants directs à avoir 0 margin/padding vertical */
.service-form .row.g-2.service-filters-row > *,
.service-form .service-filters-row > *,
.service-form .row.g-2 > * {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex: none !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    width: fit-content !important;
    height: fit-content !important;
}

/* Réduire la largeur des colonnes pour les filtres - style chips compact */
.service-form .row.g-2.service-filters-row .col-md-6.col-lg-4,
.service-form .service-filters-row .col-md-6.col-lg-4,
.service-form .row.g-2 .col-md-6.col-lg-4 {
    width: fit-content !important;
    max-width: fit-content !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: fit-content !important;
    min-height: 0 !important;
    flex: none !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    line-height: normal !important;
}

/* Faire en sorte que le wrapper et le label s'adaptent au contenu comme chips */
.service-form .row.g-2.service-filters-row .col-md-6.col-lg-4 .service-filter-checkbox-wrapper,
.service-form .service-filters-row .col-md-6.col-lg-4 .service-filter-checkbox-wrapper,
.service-form .row.g-2 .col-md-6.col-lg-4 .service-filter-checkbox-wrapper {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: top !important;
}

.service-form .row.g-2.service-filters-row .col-md-6.col-lg-4 .service-filter-label.service-filter-button,
.service-form .service-filters-row .col-md-6.col-lg-4 .service-filter-label.service-filter-button,
.service-form .row.g-2 .col-md-6.col-lg-4 .service-filter-label.service-filter-button {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: top !important;
}

.service-filter-label.service-filter-button {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    overflow: visible;
    line-height: 1.2;
    vertical-align: top;
}

.service-filter-button-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 0.375rem;
    min-height: 0;
    height: auto;
    width: fit-content;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 35, 50, 0.08);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    vertical-align: top;
}

.service-filter-button-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.service-filter-label.service-filter-button:hover .service-filter-button-content::before {
    left: 100%;
}

.service-filter-icon {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    transform: scale(1);
    line-height: 1;
}

.service-filter-text {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

/* Hover State */
.service-filter-label.service-filter-button:hover .service-filter-button-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(26, 35, 50, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.service-filter-label.service-filter-button:hover .service-filter-icon {
    color: var(--blue-brand);
    transform: scale(1.1);
}

/* Checked/Active State */
.service-filter-checkbox:checked + .service-filter-label .service-filter-button-content {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.9) 100%);
    border-color: var(--blue-brand);
    box-shadow: 0 4px 20px rgba(26, 35, 50, 0.2), 0 2px 8px rgba(26, 35, 50, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.service-filter-checkbox:checked + .service-filter-label .service-filter-icon {
    color: var(--accent);
    transform: scale(1.15);
}

.service-filter-checkbox:checked + .service-filter-label .service-filter-text {
    color: var(--text-dark);
    font-weight: 600;
}

/* Legacy support - keep old class names for compatibility */
.service-filter-star {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.service-filter-checkbox:checked + .service-filter-label .service-filter-star {
    color: var(--color-primary);
}

/* ============================================
   MUSIC GENRES CHECKBOXES - Style moderne chips
   ============================================ */

/* Container pour les genres musicaux */
.music-genres-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.5rem;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
    margin: 0;
    padding: 0;
}

/* Wrapper pour chaque checkbox */
.music-genre-checkbox-wrapper {
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Hide default checkbox */
.music-genre-checkbox {
    display: none;
}

/* Label style - chips modernes */
.music-genre-label {
    display: inline-block;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Contenu du chip */
.music-genre-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 35, 50, 0.1);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 2rem;
}

/* Hover state */
.music-genre-label:hover .music-genre-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(26, 35, 50, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Checked state */
.music-genre-checkbox:checked + .music-genre-label .music-genre-content {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.9) 100%);
    border-color: var(--accent);
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.25), 0 2px 6px rgba(26, 35, 50, 0.2);
    transform: translateY(-1px);
}

/* Focus state for accessibility */
.music-genre-checkbox:focus + .music-genre-label .music-genre-content {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Invalid state */
.music-genre-checkbox.is-invalid + .music-genre-label .music-genre-content {
    border-color: var(--color-error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* ============================================
   SERVICE FILTERS CHECKBOXES - Style moderne chips
   ============================================ */

/* Container pour les filtres de service */
.service-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.5rem;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
    margin: 0;
    padding: 0;
}

/* Wrapper pour chaque checkbox de filtre */
.service-filter-checkbox-wrapper {
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Hide default checkbox */
.service-filter-checkbox {
    display: none;
}

/* Label style - chips modernes pour filtres */
.service-filter-label {
    display: inline-block;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Contenu du chip pour filtres */
.service-filter-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 35, 50, 0.1);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 2rem;
}

/* Hover state pour filtres */
.service-filter-label:hover .service-filter-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(26, 35, 50, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Checked state pour filtres */
.service-filter-checkbox:checked + .service-filter-label .service-filter-content {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.9) 100%);
    border-color: var(--accent);
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.25), 0 2px 6px rgba(26, 35, 50, 0.2);
    transform: translateY(-1px);
}

/* Focus state for accessibility */
.service-filter-checkbox:focus + .service-filter-label .service-filter-content {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Invalid state */
.service-filter-checkbox.is-invalid + .service-filter-label .service-filter-content {
    border-color: var(--color-error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* ============================================
   PRODUCTIONS SECTION - Réduction espacement
   ============================================ */

/* Section productions - réduire espacement */
.productions-registration-section {
    margin-bottom: var(--spacing-md) !important;
    margin-top: 0 !important;
}

.productions-registration-section > label {
    margin-bottom: var(--spacing-sm) !important;
}

.productions-registration-section > p {
    margin-bottom: var(--spacing-sm) !important;
    margin-top: 0 !important;
}

/* Champs de production - espacement réduit */
.production-form-item {
    margin: 0;
    padding: 0;
}

.production-field {
    margin-bottom: var(--spacing-sm) !important;
    margin-top: 0 !important;
}

.production-field:first-child {
    margin-top: 0 !important;
}

.production-field:last-child {
    margin-bottom: 0 !important;
}

.production-field .form-label {
    margin-bottom: 0.375rem !important;
}

/* Row pour fichiers audio/vidéo */
.production-files-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm) !important;
    margin-top: 0 !important;
}

.production-file-field {
    margin: 0;
}

.production-file-field .form-label {
    margin-bottom: 0.375rem !important;
}

.production-file-field small {
    margin-top: 0.25rem;
    display: block;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .production-files-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICE SUBMIT BUTTONS - Harmonized
   ============================================ */
.service-submit-section,
.seeking-submit-section {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.service-submit-btn,
.seeking-submit-btn {

    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-base);
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: var(--letter-spacing-normal);
    text-transform: none;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-submit-btn:hover,
.seeking-submit-btn:hover {

    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-submit-btn:active,
.seeking-submit-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .service-quote-panel {
        min-height: auto;
        padding: 2rem;
    }

    .service-form-panel {
        border-radius: 0;
        padding: 2rem;
    }

    .service-filters-grid {
        grid-template-columns: 1fr;
    }

    .service-quote-text {
        font-size: 1.2rem;
    }
}

/* Seeking service container styles are now in common section above */

/* Left Panel: Quote Section */
.seeking-quote-panel {

    position: relative;
    min-height: calc(100vh - 100px);
    padding: 3rem;
    border-radius: 0 20px 20px 0;
}

.seeking-quote-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.seeking-quote-text {
    color: var(--text-primary);
    font-style: italic;
    font-size: 1.75rem;
    line-height: 1.6;
    font-family: var(--font-heading);
    margin: 0;
}

/* Right Panel: Form Section */
.seeking-form-panel {

    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    padding: 3rem;
    min-height: calc(100vh - 100px);
}

.seeking-form-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Seeking form styles are now in common section above */

/* Music Genres Grid */
.seeking-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.seeking-filter-item {
    display: flex;
    align-items: center;

    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}


.seeking-filter-checkbox {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;

    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    flex-shrink: 0;
}

.seeking-filter-checkbox:checked {

    border-color: #FFFAFA;

}

.seeking-filter-label {
    color: #FFFAFA;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    flex: 1;
}

.seeking-filter-star {
    font-size: 1.2rem;
    color: #FFFAFA;
    display: inline-block;
}

.seeking-filter-checkbox:checked + .seeking-filter-label .seeking-filter-star {
    color: #FFFAFA;
}

.seeking-filter-checkbox:checked + .seeking-filter-label {
    font-weight: 600;
}

/* Seeking submit button styles are now in common section above */

/* Responsive for Seeking Service */
@media (max-width: 992px) {
    .seeking-quote-panel {
        border-radius: 0;
        min-height: auto;
        padding: 2rem;
    }

    .seeking-quote-content {
        margin-bottom: 2rem;
    }

    .seeking-form-panel {
        border-radius: 0;
        padding: 2rem;
        min-height: auto;
    }

    .seeking-filters-grid {
        grid-template-columns: 1fr;
    }

    .seeking-quote-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .seeking-quote-text {
        font-size: 1.2rem;
    }

    .seeking-form-wrapper {
        max-width: 100%;
    }
}

/* User Profile Page */
.user-profil-container {
    width: 100%;
    min-height: 100vh;

    padding-top: 0;
    margin-top: 0;
}

.profile-header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.profile-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 0;
}

.profile-header-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: var(--section-padding-y) 0;
    padding-top: 140px;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

.profile-header-info {
    max-width: 600px;
    color: var(--text-primary);
}

.profile-rating {
    margin-bottom: 1rem;
}

.profile-stars {
    color: var(--text-primary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.profile-name {
    color: var(--text-primary);
    font-size: var(--font-size-5xl);
    font-family: var(--font-heading);
    font-weight: 400;
    margin: 0 0 var(--spacing-xl) 0;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    text-transform: capitalize;
}

.profile-description {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-2xl) 0;
    opacity: 0.9;
    font-family: var(--font-body);
    font-weight: 400;
    max-width: 600px;
}

/* Profil - Sous-titre élégant optionnel */
.profile-subtitle-elegant {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

.profile-edit-btn-wrapper {
    margin-top: 2rem;
}

.profile-edit-btn {
    background-color: var(--accent);
    color: var(--text-dark);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-base);
    font-weight: 500;
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: var(--letter-spacing-normal);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(201, 162, 77, 0.25);
    cursor: pointer;
}

.profile-edit-btn:hover {
    background-color: #B8943F;
    border-color: #B8943F;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.35);
    transform: translateY(-1px);
}

/* Profile Content */
/* ============================================
   PROFILE CONTENT - Optimized
   ============================================ */
.profile-content {
    width: 100%;
    padding: var(--spacing-xxl) 0;

}

/* Modern Profile Info Section */
.profile-info-modern {
    width: 100%;
    margin-top: 2rem;
}

.profile-contact-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.btn-profile-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;

    border: 1px solid var(--border-color-light);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-body);
    text-decoration: none;
}

.btn-profile-contact:hover {

    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-profile-contact svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: relative;
    background-color: var(--bg-secondary-solid);

    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    box-shadow: var(--shadow-xl);
}

.contact-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;

    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.contact-modal-close:hover {

    color: #FFFAFA;
}

.contact-modal-title {
    color: #FFFAFA;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    font-family: 'Playfair Display', serif;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;

    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.contact-info-item svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 80px;
}

.contact-info-value {
    color: #FFFAFA;
    font-size: 1rem;
    flex: 1;
}

.contact-link {
    color: #FFFAFA;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Modern Info Cards */
/* ============================================
   PROFILE INFO CARDS - Bootstrap Optimized
   ============================================ */
.profile-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
    .profile-info-cards {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background-color: var(--surface-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card:hover {
    background-color: var(--surface-white);
    border-color: var(--accent-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-card-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-functional); /* Anton */
}

.info-card-value {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.info-card-bio {
    grid-column: span 2;
}

.info-card-bio-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-body);
}

.info-card-services {
    grid-column: span 1;
}

.info-card-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    color: #FFFAFA;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.service-tag:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Legacy styles kept for compatibility */
.profile-section {
    background-color: var(--bg-secondary-solid);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-section-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Services List */
.profile-services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.profile-service-star {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.profile-service-label {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        min-height: 100vh;
    }

    .profile-header-content {
        min-height: 100vh;
        padding: 2rem 0;
        padding-top: 120px;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-description {
        font-size: 1rem;
    }

    .profile-header-info {
        max-width: 100%;
    }

    .profile-content {
        padding: 2rem 0;
    }

    .profile-section {
        padding: 1.5rem;
    }
    
    .profile-info-cards {
        grid-template-columns: 1fr;
    }
    
    .info-card-bio {
        grid-column: span 1;
    }
    
    .profile-contact-wrapper {
        justify-content: center;
    }
    
    .contact-modal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .profile-header {
        min-height: 100vh;
    }

    .profile-header-content {
        min-height: 100vh;
        padding: 1.5rem 0;
        padding-top: 100px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .profile-description {
        font-size: 0.95rem;
    }

    .profile-edit-btn {
        width: 100%;
    }
}

/* Profile Update Messages */
.profile-update-message {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
}

.profile-update-message.success-message {

    color: #155724;
    border: 1px solid #c3e6cb;
}

.profile-update-message.error-message {

    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Profile Edit Form */
.profile-edit-form-wrapper {
    margin-bottom: 3rem;
    animation: fadeIn var(--transition-base) ease-in;
}

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

.profile-edit-form-container {
    background-color: var(--bg-secondary-solid);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.profile-edit-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-edit-form-title {
    color: #FFFAFA;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.profile-edit-form-close {

    border: none;
    color: #FFFAFA;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0.7;
}

.profile-edit-form-close:hover {
    opacity: 1;

}

.profile-edit-form {
    width: 100%;
}

.profile-edit-label {
    color: #FFFAFA;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: block;
}

.profile-edit-input {

    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    width: 100%;
}

.profile-edit-input:focus {

    border: none;
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
    color: var(--text-dark);
    outline: none;
}

.profile-edit-input::placeholder {
    color: var(--text-muted);
}

.profile-edit-help-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

/* Photo Upload Section in Edit Form */
.profile-edit-photo-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-edit-current-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.profile-edit-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-edit-photo-preview-new {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.5);
    margin-bottom: 0.5rem;
}

.profile-edit-photo-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Filters Grid in Edit Form */
.profile-edit-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.profile-edit-filter-item {
    display: flex;
    align-items: center;
}

.profile-edit-filter-checkbox {
    display: none;
}

.profile-edit-filter-label {
    color: #FFFAFA;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}


.profile-edit-filter-star {
    font-size: 1.2rem;
    color: #FFFAFA;
}

.profile-edit-filter-checkbox:checked + .profile-edit-filter-label .profile-edit-filter-star {
    color: #8B5CF6;
}

/* Form Actions */
.profile-edit-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-edit-submit-btn {

    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: lowercase;
    transition: all var(--transition-base);
    cursor: pointer;
    flex: 1;
}

.profile-edit-submit-btn:hover {

    color: var(--text-primary);
}

.profile-edit-cancel-btn {

    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: lowercase;
    transition: all var(--transition-base);
    cursor: pointer;
}

.profile-edit-cancel-btn:hover {

    color: var(--text-primary);
    border-color: var(--border-color-light);
}

/* Responsive Edit Form */
@media (max-width: 768px) {
    .profile-edit-form-container {
        padding: 1.5rem;
    }

    .profile-edit-form-title {
        font-size: 1.5rem;
    }

    .profile-edit-filters-grid {
        grid-template-columns: 1fr;
    }

    .profile-edit-form-actions {
        flex-direction: column;
    }

    .profile-edit-submit-btn,
    .profile-edit-cancel-btn {
    width: 100%;
    }
}

@media (max-width: 576px) {
    .profile-edit-form-container {
        padding: 1.25rem;
    }

    .profile-edit-form-title {
        font-size: 1.25rem;
    }
}

/* Favorites Section */
.profile-favorites-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.profile-section-title {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.favorites-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.1rem;
}

.favorites-subtitle {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.favorites-subtitle:first-child {
    margin-top: 0;
}

/* Favorite Button */
.btn-profile-favorite {

    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
}

.btn-profile-favorite:hover {

    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-profile-favorite.favorited {

    border-color: var(--color-primary);
    color: var(--text-primary);
}


.btn-profile-favorite svg {
    width: 20px;
    height: 20px;
}

.profile-contact-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Favorites Users List */
.favorites-users-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.favorite-user-item {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
    position: relative;
}

.favorite-user-item:hover {
    border-color: var(--border-color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.favorite-user-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    text-decoration: none;
    color: var(--text-primary);
}

.favorite-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-user-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.favorite-user-info {
    flex: 1;
    min-width: 0;
}

.favorite-user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-user-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.favorite-remove-btn {

    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.favorite-remove-btn:hover {

    color: #EF4444;
}

/* Favorites Annonces List */
.favorites-annonces-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.favorite-annonce-item {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.favorite-annonce-item:hover {
    border-color: var(--border-color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.favorite-annonce-link {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
}

.favorite-annonce-image {
    width: 100%;
    height: 200px;
    overflow: hidden;

}

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

.favorite-annonce-info {
    padding: 1.5rem;
}

.favorite-annonce-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.favorite-annonce-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.favorite-annonce-item .favorite-remove-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;

    backdrop-filter: blur(4px);
}


/* Responsive Favorites */
@media (max-width: 768px) {
    .favorites-users-list,
    .favorites-annonces-list {
        grid-template-columns: 1fr;
    }
    
    .profile-contact-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-profile-favorite {
        margin-left: 0;
        margin-top: 0.75rem;
        width: 100%;
    }
}

/* Production Comments */
.production-comments-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.production-comments-toggle {

    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.production-comments-toggle:hover {
    color: var(--text-primary);
}

.production-comments-toggle svg {
    width: 16px;
    height: 16px;
}

.comments-count {
    font-weight: 600;
    color: var(--text-primary);
}

.comments-label {
    color: var(--text-muted);
}

.production-comments-container {
    margin-top: 1rem;
    padding-top: 1rem;
}

.production-comments-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.production-comments-list::-webkit-scrollbar {
    width: 6px;
}

.production-comments-list::-webkit-scrollbar-track {

    border-radius: 3px;
}

.production-comments-list::-webkit-scrollbar-thumb {

    border-radius: 3px;
}


.production-comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.production-comment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.production-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.production-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-comment-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.production-comment-content {
    flex: 1;
    min-width: 0;
}

.production-comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.production-comment-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.production-comment-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.production-comment-delete {

    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.production-comment-delete:hover {

    color: #EF4444;
}

.production-comment-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
}

.production-comments-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 1rem;
    font-size: 0.95rem;
}

.production-comment-form {
    margin-top: 1rem;
}

.production-comment-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.production-comment-input {
    flex: 1;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border-color var(--transition-base);
}

.production-comment-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.production-comment-input::placeholder {
    color: var(--text-muted);
}

.production-comment-submit {

    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
    min-width: 44px;
    height: 44px;
}


.production-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.production-comment-submit svg {
    width: 20px;
    height: 20px;
}

.production-comments-login-required {
    text-align: center;
    color: var(--text-muted);
    padding: 1rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Comments */
@media (max-width: 768px) {
    .production-comment-item {
        gap: 0.75rem;
    }
    
    .production-comment-avatar {
        width: 36px;
        height: 36px;
    }
    
    .production-comment-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .production-comment-submit {
        width: 100%;
    }
}

/* Production Media */
.production-media {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.production-media-item {
    width: 100%;
}

.production-audio-player,
.production-video-player {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-md);

}

.production-audio-player {
    height: 48px;
}

.production-video-player {
    max-height: 400px;
}

.production-youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.production-youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

/* Production External Links */
.production-external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.production-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.production-platform-link:hover {

    border-color: var(--border-color-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.production-platform-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.production-soundcloud {
    color: #FF5500;
}

.production-soundcloud:hover {

    border-color: #FF5500;
    color: #FF5500;
}

.production-spotify {
    color: #1DB954;
}

.production-spotify:hover {

    border-color: #1DB954;
    color: #1DB954;
}

.production-youtube {
    color: #FF0000;
}

.production-youtube:hover {

    border-color: #FF0000;
    color: #FF0000;
}

.production-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.production-external-link:hover {
    color: var(--color-primary-dark);
}

.production-external-link svg {
    width: 18px;
    height: 18px;
}

/* Production Edit Button */
.production-edit {

    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.production-edit:hover {

    color: var(--color-primary);
}

.production-edit svg {
    width: 18px;
    height: 18px;
}

.production-delete {

    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
    font-size: 1.5rem;
    line-height: 1;
    transition: all var(--transition-base);
    border-radius: var(--radius-sm);
}

.production-delete:hover {

    color: #EF4444;
}

/* Edit Production Form */
.edit-production-form-wrapper {
    margin-top: 1.5rem;
    padding: 1.5rem;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.edit-production-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Edit production form - Utilise les styles de base, override minimal si nécessaire */

.edit-production-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.edit-production-form-actions .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-base);
}

.edit-production-form-actions .btn-primary {

    color: var(--text-primary);
    border: none;
}


.edit-production-form-actions .btn-secondary {

    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}


/* Responsive Production Media */
@media (max-width: 768px) {
    .production-external-links {
        flex-direction: column;
    }
    
    .production-platform-link {
        width: 100%;
        justify-content: center;
    }
    
    .production-video-player {
        max-height: 250px;
    }
    
    .edit-production-form-wrapper {
        padding: 1rem;
    }
    
    .edit-production-form-actions {
        flex-direction: column;
    }
}

/* ============================================
   ANNONCES PAGE
   ============================================ */
.annonces-page {
    min-height: 100vh;
    background-color: var(--bg-primary);
    padding: 0 0 var(--section-padding-y);
    color: var(--text-primary);
}

.annonces-page-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    font-weight: 400;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-5xl);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    padding: 0 var(--section-padding-x);
}

.annonces-page .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

.annonces-actions {
    text-align: center;
    margin-bottom: var(--spacing-5xl);
    padding: 0 var(--section-padding-x);
}

.btn-add-annonce {

    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
    padding: 0.875rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: var(--letter-spacing-normal);
    text-transform: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-annonce:hover {

    color: var(--text-dark);
}

/* Announcements Grid */
/* Bootstrap grid will handle layout now */
.annonces-grid {
    margin-top: 0;
    padding: 0 var(--section-padding-x);
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Annonce card - Utilise la base .card-base */
.annonce-card {
    /* Hérite de .card-base - ajouter la classe .card-base dans le HTML si nécessaire */
    cursor: pointer;
}

/* S'assurer que les cards héritent bien des styles de base */
.annonce-card,
.decouvrir-user-card {
    /* Appliquer les styles de base si la classe .card-base n'est pas dans le HTML */
    background-color: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-soft);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.annonce-card:hover,
.decouvrir-user-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border-hover);
}

/* Zone image - Hauteur cohérente et élégante */
.annonce-card-image {
    height: 180px;
    overflow: hidden;
    background-color: var(--bg-main);
    flex-shrink: 0;
}

.annonce-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.annonce-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background-color: var(--bg-main);
    opacity: 0.6;
}

.annonce-card-placeholder svg {
    width: 48px;
    height: 48px;
}

/* Zone contenu - Padding confortable */
.annonce-card-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--spacing-md);
}

/* Header avec titre et bookmark */
.annonce-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin: 0;
}

/* Titre - Hiérarchie dominante mais moins massif */
.annonce-card-title {
    color: var(--text-main);
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: var(--line-height-tight);
    margin: 0;
    flex: 1;
    max-width: calc(100% - 2.5rem);
    letter-spacing: var(--letter-spacing-tight);
}

/* Bouton bookmark - Discret et élégant */
.annonce-bookmark-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-xs);
    margin: 0;
    transition: all var(--transition-base);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.annonce-bookmark-btn:hover {
    background: rgba(26, 35, 50, 0.05);
    color: var(--color-primary);
    transform: scale(1.05);
}

.annonce-bookmark-btn.favorited {
    background: transparent;
    color: var(--color-primary);
}

.annonce-bookmark-btn.favorited:hover {
    background: rgba(26, 35, 50, 0.05);
    color: var(--color-primary-dark);
}

.annonce-bookmark-btn svg {
    width: 18px;
    height: 18px;
    transition: all var(--transition-base);
}

/* Description - Secondaire, limitée visuellement */
.annonce-card-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Zone meta - Auteur et localisation regroupés (tertiaires) */
.annonce-card-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    margin: 0;
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-soft);
}

.annonce-card-author svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    opacity: 0.7;
}

.annonce-card-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    margin: 0;
    margin-top: var(--spacing-xs);
}

.annonce-card-location svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Add Announcement Form */
.add-annonce-form-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.add-annonce-form-container {
    background-color: var(--bg-secondary-solid);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.add-annonce-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.add-annonce-form-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.btn-close-form {

    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
}

.btn-close-form:hover {
    color: var(--text-muted);
}

.add-annonce-form {
    padding: 1.5rem;
}

/* Add annonce form - Utilise les styles de base */

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-submit-annonce {

    color: var(--text-dark);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-base);
    flex: 1;
}


.btn-cancel-annonce {

    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    flex: 1;
}

.btn-cancel-annonce:hover {

    color: var(--text-dark);
}

/* Announcement Modal */
.annonce-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);

    /* Au-dessus de tous les autres éléments empilés du site (chatbot, toasts, etc.) */
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.annonce-modal-content {
    background-color: var(--bg-secondary-solid);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn var(--transition-base) ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.annonce-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;

    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--transition-base);
}


.annonce-modal-body {
    padding: 2rem;
}

.annonce-modal-image {
    width: 100%;
    height: 400px;

    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.annonce-modal-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.annonce-modal-details {
    color: var(--text-primary);
}

.annonce-modal-contact-btn {
    margin-top: 1.5rem;
}

.annonce-modal-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.annonce-modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.annonce-modal-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.annonce-modal-author svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.annonce-modal-author-link {
    color: var(--color-info);
    text-decoration: none;
    transition: color var(--transition-base);
    font-weight: 500;
}

.annonce-modal-author-link:hover {
    color: var(--color-info);
    opacity: 0.8;
    text-decoration: underline;
}

.annonce-modal-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.annonce-modal-location svg {
    flex-shrink: 0;
}

.no-annonces {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-annonces p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .annonces-page {
        padding: 100px 0 var(--spacing-xxl);
    }

    .annonces-page-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-xl);
    }

    .annonce-modal-content {
        max-width: 100%;
        margin: 1rem;
    }

    .annonce-modal-image {
        height: 250px;
    }

    .annonce-modal-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   DÉCOUVRIR PAGE STYLES
   ============================================ */

.decouvrir-page {
    min-height: 100vh;
    background-color: var(--bg-primary);
    padding: 0 0 var(--spacing-5xl);
    color: var(--text-primary);
}

.decouvrir-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.decouvrir-page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.decouvrir-page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xxl);
    font-weight: 300;
    font-style: italic;
}

/* Filters Section */
.decouvrir-filters-section {
    margin-bottom: var(--spacing-xxl);
}

/* Search Bar */
.decouvrir-search-wrapper {
    margin-bottom: var(--spacing-xl);
}

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

.decouvrir-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.decouvrir-search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.decouvrir-search-input {
    width: 100%;
    background-color: #1F2A3F;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1rem;
    color: var(--text-main);
    transition: all var(--transition-base);
}

.decouvrir-search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.decouvrir-search-input::placeholder {
    color: var(--text-secondary);
}

.decouvrir-search-clear {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
    z-index: 2;
}

.decouvrir-search-clear:hover {
    color: var(--text-main);
}

/* Filters Row */
.decouvrir-filters-row {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-xl);
    background-color: #1F2A3F;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
}

.decouvrir-filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
    min-width: 200px;
}

.decouvrir-filter-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.decouvrir-filter-select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-base);
    appearance: none;
    padding-right: 2.5rem;
}

.decouvrir-filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.decouvrir-filter-select:hover {
    border-color: var(--border-color-light);
}

.decouvrir-filter-actions {
    display: flex;
    align-items: flex-end;
}

.decouvrir-clear-filters {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.decouvrir-clear-filters:hover {
    background-color: var(--surface);
    border-color: var(--accent);
    color: var(--text-main);
}

/* Active Filters Badges */
.decouvrir-active-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
}

.decouvrir-active-filters-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--font-functional); /* Anton */
    text-transform: uppercase;
    white-space: nowrap;
}

.decouvrir-active-filters-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

.decouvrir-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.4rem 0.6rem;
    background-color: var(--accent);
    color: var(--text-dark);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--font-functional); /* Anton */
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.decouvrir-filter-badge:hover {
    background-color: var(--blue-brand);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.decouvrir-filter-badge-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: 0.1rem;
    background: transparent;
    border: none;
    color: currentColor;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    opacity: 0.7;
    line-height: 1;
}

.decouvrir-filter-badge-remove:hover {
    opacity: 1;
    transform: scale(1.2);
}

.decouvrir-filter-badge-remove:active {
    transform: scale(0.95);
}

.decouvrir-filter-badge-remove svg {
    width: 12px;
    height: 12px;
    display: block;
}

/* Responsive - Active Filters Badges */
@media (max-width: 768px) {
    .decouvrir-active-filters {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .decouvrir-active-filters-label {
        font-size: 0.8rem;
        width: 100%;
    }
    
    .decouvrir-active-filters-badges {
        width: 100%;
    }
    
    .decouvrir-filter-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.65rem;
    }
}

/* Results Count */
.decouvrir-results-count {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.decouvrir-sort-indicator {
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Users Grid */
.decouvrir-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Decouvrir user card - Utilise la base .card-base avec overrides */
.decouvrir-user-card {
    /* Hérite de .card-base */
    border-radius: var(--radius-lg);
    cursor: pointer;
    position: relative;
}

/* Color distinction for service types - using palette colors */
.decouvrir-user-card-offer {
    border-top: 3px solid var(--color-beige);
}

.decouvrir-user-card-seek {
    border-top: 3px solid var(--color-primary);
}

.decouvrir-user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--border-color-light);
}

.decouvrir-user-card-offer:hover {
    border-top-color: var(--color-beige);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px hsla(24, 24%, 78%, 0.15);
}

.decouvrir-user-card-seek:hover {
    border-top-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px hsla(352, 42%, 32%, 0.2);
}

.decouvrir-user-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

/* Subtle color overlay on image based on service type - using palette colors */
.decouvrir-user-card-offer .decouvrir-user-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    pointer-events: none;
    z-index: 1;
}

.decouvrir-user-card-seek .decouvrir-user-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    pointer-events: none;
    z-index: 1;
}

.decouvrir-user-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.decouvrir-user-card:hover .decouvrir-user-card-image img {
    transform: scale(1.05);
}

.decouvrir-user-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background-color: var(--surface-hover);
    padding: var(--spacing-lg);
}

.decouvrir-user-card-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

/* Profile Badge - New indicator */
.decouvrir-profile-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 2;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    transition: all var(--transition-base);
}

.decouvrir-profile-badge-new {
    background-color: rgba(201, 169, 97, 0.2);
    color: var(--color-accent-elegant);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.decouvrir-profile-badge-active {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.decouvrir-profile-badge-curated {
    background-color: rgba(201, 169, 97, 0.15);
    color: var(--color-accent-elegant);
    border: 1px solid rgba(201, 169, 97, 0.25);
}

/* Editorial Context Block */
.decouvrir-editorial-context {
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
    text-align: center;
}

.decouvrir-editorial-context p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Header with Intention */
.decouvrir-user-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.decouvrir-user-card-name-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    min-width: 0; /* Permet au texte de se rétrécir si nécessaire */
}

.decouvrir-user-last-active {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.7;
    font-weight: 400;
}

.decouvrir-user-intention {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity var(--transition-base), color var(--transition-base);
    flex-shrink: 0;
}

.decouvrir-user-intention svg {
    flex-shrink: 0;
}

.decouvrir-user-card:hover .decouvrir-user-intention {
    opacity: 1;
}

.decouvrir-user-card-offer:hover .decouvrir-user-intention {
    color: var(--color-beige);
}

.decouvrir-user-card-seek:hover .decouvrir-user-intention {
    color: var(--color-primary-light);
}

.decouvrir-user-card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.decouvrir-user-card-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 var(--spacing-xs) 0;
    font-family: var(--font-body);
    line-height: var(--line-height-normal);
    transition: color var(--transition-base);
    word-break: break-word;
    hyphens: auto;
}

/* Subtle color accent on name based on service type */
.decouvrir-user-card-offer .decouvrir-user-card-name {
    color: var(--text-primary);
}

.decouvrir-user-card-seek .decouvrir-user-card-name {
    color: var(--text-primary);
}

.decouvrir-user-card-offer:hover .decouvrir-user-card-name {
    color: var(--color-beige);
}

.decouvrir-user-card-seek:hover .decouvrir-user-card-name {
    color: var(--color-primary-light);
}

.decouvrir-user-card-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

/* Subtle color accent on location icon based on service type */
.decouvrir-user-card-offer:hover .decouvrir-user-card-location svg {
    color: hsla(24, 24%, 78%, 0.6);
}

.decouvrir-user-card-seek:hover .decouvrir-user-card-location svg {
    color: hsla(352, 42%, 40%, 0.6);
}

.decouvrir-user-card-location svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.decouvrir-user-card-bio {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5rem;
}

.decouvrir-bio-indicator {
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.decouvrir-user-card:hover .decouvrir-bio-indicator {
    opacity: 1;
}

.decouvrir-user-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-soft);
}

.decouvrir-user-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    color: #FFFAFA;
    font-size: 0.8rem;
    font-weight: 400;
    font-family: var(--font-functional); /* Anton */
    text-transform: uppercase;
    transition: all var(--transition-base);
}

/* Clickable tags */
.decouvrir-tag-clickable {
    cursor: pointer;
}

.decouvrir-tag-clickable:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.decouvrir-tag-active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    opacity: 0.8;
}

.decouvrir-tag-more {
    cursor: default;
    opacity: 0.6;
}

/* Color distinction for tags based on service type - using palette colors */
.decouvrir-user-card-offer .decouvrir-user-tag {
    border-color: hsla(24, 24%, 78%, 0.25);
}

.decouvrir-user-card-seek .decouvrir-user-tag {
    border-color: hsla(352, 42%, 32%, 0.25);
}

.decouvrir-user-card:hover .decouvrir-user-tag {
    color: var(--text-primary);
}

.decouvrir-user-card-offer:hover .decouvrir-user-tag {
    border-color: hsla(24, 24%, 78%, 0.4);

}

.decouvrir-user-card-seek:hover .decouvrir-user-tag {
    border-color: hsla(352, 42%, 32%, 0.4);
}

/* Editorial breathing space */
.decouvrir-editorial-break {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: var(--spacing-xxl) 0;
    opacity: 0.5;
}

/* Contact Button */
.decouvrir-user-card-actions {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.decouvrir-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    width: 100%;
    justify-content: center;
}

.decouvrir-contact-btn:hover {

    border-color: var(--border-color-light);
    transform: translateY(-1px);
}

.decouvrir-contact-btn svg {
    flex-shrink: 0;
}

/* Color distinction for contact button based on service type */
.decouvrir-user-card-offer .decouvrir-contact-btn {
    border-color: hsla(24, 24%, 78%, 0.3);
}

.decouvrir-user-card-offer .decouvrir-contact-btn:hover {

    border-color: hsla(24, 24%, 78%, 0.5);
}

.decouvrir-user-card-seek .decouvrir-contact-btn {
    border-color: hsla(352, 42%, 32%, 0.3);
}

.decouvrir-user-card-seek .decouvrir-contact-btn:hover {

    border-color: hsla(352, 42%, 32%, 0.5);
}

/* No Results */
.decouvrir-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-5xl) var(--spacing-xl);
    color: var(--text-muted);
}

.decouvrir-no-results svg {
    margin: 0 auto var(--spacing-lg);
    color: var(--text-muted);
    opacity: 0.5;
}

.decouvrir-no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-md) 0;
    font-family: var(--font-heading);
}

.decouvrir-no-results p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-sm) 0;
}

.decouvrir-no-results-suggestion {
    margin-top: var(--spacing-md);
}

.decouvrir-no-results-suggestion a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base);
}

.decouvrir-no-results-suggestion a:hover {
    border-bottom-color: var(--color-primary);
}

/* ============================================
   MESSAGERIE PAGE STYLES
   ============================================ */

.messagerie-page {
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.messagerie-page .container-fluid {
    padding: 0;
    height: calc(100vh - 100px);
    margin-top: 0;
}

.messagerie-page .row {
    height: 100%;
    margin: 0;
}

/* Sidebar - Conversations List */
.messagerie-sidebar {
    background-color: var(--surface);
    border-right: 1px solid var(--border-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.messagerie-sidebar-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background-color: var(--surface);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.messagerie-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.messagerie-unread-badge {
    background-color: var(--accent);
    color: #FFFAFA;
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.messagerie-conversations-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-sm) 0;
}

.messagerie-conversation-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: background var(--transition-base);
    border-left: 3px solid transparent;
    position: relative;
}

.messagerie-conversation-item:hover {
    background-color: var(--surface-hover);
}

.messagerie-conversation-item.active {
    background-color: rgba(201, 162, 77, 0.08);
    border-left-color: var(--accent);
}

.messagerie-conversation-avatar {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(26, 35, 50, 0.06);
}

.messagerie-conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messagerie-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 35, 50, 0.05);
    color: var(--text-secondary);
}

.messagerie-avatar-placeholder.small {
    width: 32px;
    height: 32px;
}

.messagerie-conversation-unread {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent);
    color: #FFFAFA;
    border-radius: var(--radius-full);
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid #FFFAFA;
    padding: 0 4px;
}

.messagerie-conversation-content {
    flex: 1;
    min-width: 0;
}

.messagerie-conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.messagerie-conversation-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    font-family: var(--font-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messagerie-conversation-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
    font-weight: 400;
}

.messagerie-conversation-preview {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
    font-weight: 400;
}

.messagerie-empty-state {
    padding: var(--spacing-xxl);
    text-align: center;
    color: var(--text-secondary);
}

.messagerie-empty-state svg {
    margin-bottom: var(--spacing-lg);
    opacity: 0.4;
    color: var(--text-secondary);
}

.messagerie-empty-state p {
    margin: var(--spacing-sm) 0;
    font-size: 0.9375rem;
    color: var(--text-main);
    font-weight: 500;
}

.messagerie-empty-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Main Messages Area */
.messagerie-main {
    background-color: var(--bg-main);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background-color var(--transition-base);
}

.messagerie-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background-color: var(--surface);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.messagerie-header-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.messagerie-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(26, 35, 50, 0.06);
}

.messagerie-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messagerie-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.messagerie-header-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    font-family: var(--font-body);
}

.messagerie-header-location {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.messagerie-header-profile-link {
    color: var(--blue-brand);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(26, 35, 50, 0.15);
    border-radius: var(--radius-md);
    background-color: transparent;
}

.messagerie-header-profile-link:hover {
    color: var(--blue-brand);
    border-color: var(--accent);
    background-color: rgba(201, 162, 77, 0.05);
}

/* Messages Container */
.messagerie-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-xl);
    background-color: var(--bg-main);
    transition: background-color var(--transition-base);
}

.messagerie-messages-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
}

.messagerie-date-separator {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: var(--spacing-md) 0;
    position: relative;
    margin: var(--spacing-lg) 0;
    font-weight: 500;
}

.messagerie-date-separator::before,
.messagerie-date-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: rgba(26, 35, 50, 0.1);
}

.messagerie-date-separator::before {
    left: 0;
}

.messagerie-date-separator::after {
    right: 0;
}

.messagerie-message {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-sm);
    max-width: 70%;
}

.messagerie-message.own {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.messagerie-message.other {
    align-self: flex-start;
}

.messagerie-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;

}

.messagerie-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messagerie-message-content {
    flex: 1;
}

.messagerie-message-bubble {
    background-color: #1F2A3F;
    border: 1px solid rgba(26, 35, 50, 0.08);
    border-radius: 18px;
    padding: 0.75rem 1rem;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.messagerie-message.own .messagerie-message-bubble {
    background-color: var(--accent);
    border-color: var(--accent);
    border-bottom-right-radius: 4px;
    color: #FFFAFA;
    box-shadow: 0 2px 4px rgba(201, 162, 77, 0.2);
}

.messagerie-message.own .messagerie-message-text {
    color: #FFFAFA;
}

.messagerie-message.own .messagerie-message-time {
    color: rgba(255, 255, 255, 0.85);
}

.messagerie-message.other .messagerie-message-bubble {
    border-bottom-left-radius: 4px;
    background-color: var(--surface);
    border-color: var(--border-soft);
}

.messagerie-message-text {
    color: var(--text-main);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 0.25rem 0;
    word-wrap: break-word;
}

.messagerie-message-time {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    display: block;
    text-align: right;
    margin-top: 0.25rem;
    opacity: 0.7;
}

.messagerie-message.other .messagerie-message-time {
    text-align: left;
}

.messagerie-empty-conversation {
    text-align: center;
    padding: var(--spacing-5xl);
    color: var(--text-secondary);
}

.messagerie-empty-conversation p {
    margin: var(--spacing-sm) 0;
    font-size: 0.9375rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Input Container */
.messagerie-input-container {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--border-soft);
    background-color: var(--surface);
    flex-shrink: 0;
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.messagerie-input-form {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.messagerie-input {
    flex: 1;
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-main);
    font-family: var(--font-body);
    resize: none;
    min-height: 48px;
    max-height: 120px;
    transition: all var(--transition-base);
}

.messagerie-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--surface);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.messagerie-input::placeholder {
    color: var(--text-secondary);
}

.messagerie-send-btn {
    background-color: var(--accent);
    color: #FFFAFA;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(201, 162, 77, 0.2);
}

.messagerie-send-btn:hover:not(:disabled) {
    background-color: #B8923F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(201, 162, 77, 0.3);
}

.messagerie-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.messagerie-send-btn svg {
    width: 20px;
    height: 20px;
}

/* Empty Main State */
.messagerie-empty-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-secondary);
    padding: var(--spacing-xxl);
}

.messagerie-empty-main svg {
    margin-bottom: var(--spacing-xl);
    opacity: 0.3;
    color: var(--text-secondary);
}

.messagerie-empty-main h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 var(--spacing-md) 0;
    font-family: var(--font-body);
}

.messagerie-empty-main p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Scrollbar Styling */
.messagerie-conversations-list::-webkit-scrollbar,
.messagerie-messages-container::-webkit-scrollbar {
    width: 6px;
}

.messagerie-conversations-list::-webkit-scrollbar-track,
.messagerie-messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.messagerie-conversations-list::-webkit-scrollbar-thumb,
.messagerie-messages-container::-webkit-scrollbar-thumb {
    background-color: rgba(26, 35, 50, 0.2);
    border-radius: 3px;
}

.messagerie-conversations-list::-webkit-scrollbar-thumb:hover,
.messagerie-messages-container::-webkit-scrollbar-thumb:hover {
    background-color: rgba(26, 35, 50, 0.3);
}


/* New Conversation Button */
.messagerie-header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.messagerie-new-conversation-btn {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(26, 35, 50, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
    padding: 0;
}

.messagerie-new-conversation-btn:hover {
    background-color: rgba(201, 162, 77, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.messagerie-new-conversation-btn svg {
    width: 20px;
    height: 20px;
}

/* Modal */
.messagerie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-overlay);

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--spacing-xl);
}

.messagerie-modal {
    background-color: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.messagerie-modal-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background-color: var(--surface);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.messagerie-modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    font-family: var(--font-body);
}

.messagerie-modal-close {
    background-color: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.messagerie-modal-close:hover {
    background-color: rgba(26, 35, 50, 0.05);
    color: var(--text-main);
}

.messagerie-modal-body {
    padding: var(--spacing-xl);
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
}

/* Search Box */
.messagerie-search-box {
    position: relative;
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    flex-shrink: 0;
}

.messagerie-search-input {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 0.625rem var(--spacing-md) 0.625rem 2.75rem;
    font-size: 0.875rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: all var(--transition-base);
}

.messagerie-search-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--surface);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.messagerie-search-input::placeholder {
    color: var(--text-secondary);
}

.messagerie-search-icon {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* Search Results */
.messagerie-search-results {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-height: 400px;
    overflow-y: auto;
}

.messagerie-user-result {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.messagerie-user-result:hover {
    background-color: rgba(201, 162, 77, 0.05);
    border-color: var(--accent);
    transform: translateX(4px);
}

.messagerie-user-result-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;

    flex-shrink: 0;
}

.messagerie-user-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messagerie-user-result-info {
    flex: 1;
    min-width: 0;
}

.messagerie-user-result-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
    font-family: var(--font-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messagerie-user-result-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.messagerie-no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Modal Scrollbar */
.messagerie-modal-body::-webkit-scrollbar,
.messagerie-search-results::-webkit-scrollbar {
    width: 6px;
}

.messagerie-modal-body::-webkit-scrollbar-track,
.messagerie-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.messagerie-modal-body::-webkit-scrollbar-thumb,
.messagerie-search-results::-webkit-scrollbar-thumb {
    background-color: rgba(26, 35, 50, 0.2);
    border-radius: 3px;
}

.messagerie-modal-body::-webkit-scrollbar-thumb:hover,
.messagerie-search-results::-webkit-scrollbar-thumb:hover {
    background-color: rgba(26, 35, 50, 0.3);
}


/* ============================================
   OPTIMISATIONS RESPONSIVE - Très grands écrans et Ultra-wide
   ============================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container,
    .container-fluid {
        max-width: var(--container-max-width);
    }
    
    /* Optimisations pour grands écrans */
    .hero-title {
        font-size: clamp(5rem, 26vw, 20rem);
    }
    
    .about-section .container {
        max-width: var(--content-max-width);
    }
    
    /* Grilles optimisées pour grands écrans */
    .annonces-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .profile-info-cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
    :root {
        --container-max-width: 1600px;
        --content-max-width: 1400px;
        --section-padding-x: 4rem;
    }
    
    /* Centrage optimal du contenu sur ultra-wide */
    .container {
        max-width: var(--container-max-width);
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Espacement augmenté pour très grands écrans */
    .hero-section {
        padding-left: var(--section-padding-x);
        padding-right: var(--section-padding-x);
    }
    
    .about-section .container {
        max-width: var(--content-max-width);
    }
    
    /* Grilles avec plus de colonnes sur ultra-wide */
    .annonces-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: var(--spacing-xxl);
    }
}

/* Ultra-wide large (2560px+) */
@media (min-width: 2560px) {
    :root {
        --container-max-width: 1800px;
        --content-max-width: 1600px;
    }
    
    /* Prévenir l'étirement excessif sur très grands écrans */
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: clamp(5rem, 7vw, 7rem);
    }
}

/* ============================================
   MICRO-INTERACTIONS & TRANSITIONS AMÉLIORÉES
   ============================================ */

/* Amélioration des transitions globales */
.btn,
button,
a,
.card,
.annonce-card,
.info-card {
    transition: all var(--transition-base);
    will-change: transform, opacity, box-shadow;
}

/* Hover effects plus fluides */
.btn:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active,
button:active {
    transform: translateY(0);
    transition: all var(--transition-fast);
}

/* Cards avec hover amélioré - Subtil et élégant */
.card:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Hover spécifique pour annonce-card - Déjà défini plus haut, éviter la surcharge */
.annonce-card:hover {
    /* Styles définis dans la section annonce-card principale pour cohérence */
}

/* Focus states améliorés pour accessibilité */
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations d'apparition discrètes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp var(--transition-base) ease-out;
}

/* Loading states */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    margin-left: -0.5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ============================================
   OPTIMISATIONS MOBILE - Améliorations tactiles
   ============================================ */

@media (max-width: 768px) {
    /* Zones tactiles plus grandes sur mobile */
    .btn,
    button,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Meilleur espacement sur mobile */
    .container {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
    
    /* Prévenir le zoom sur input focus iOS */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* ============================================
   OPTIMISATIONS TABLETTE
   ============================================ */

@media (min-width: 768px) and (max-width: 991px) {
    /* Grilles optimisées pour tablette */
    .annonces-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .profile-info-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Espacement ajusté */
    .container {
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }
}

/* ============================================
   AMÉLIORATIONS PRINT
   ============================================ */

@media print {
    * {

        color: black !important;
        box-shadow: none !important;
    }
    
    .main-header,
    footer,
    .btn,
    button,
    nav {
        display: none !important;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* ============================================
   PROFILE TABS NAVIGATION - Style inspiré RECORD CLUB
   ============================================ */
.profile-tabs-nav {
    display: flex;
    gap: var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-xxl);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.profile-tabs-nav::-webkit-scrollbar {
    display: none;
}

.profile-tab {
    border: none;
    background: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    font-weight: 400;
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-base);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.profile-tab:hover:not(.active) {
    color: var(--text-secondary);
}

.profile-tab.active {
    color: var(--accent);
    font-weight: 600;
}

.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 2px 4px rgba(201, 162, 77, 0.3);
}

.tab-count {
    color: var(--text-muted);
    font-weight: 400;
    font-size: var(--font-size-sm);
    background-color: rgba(156, 163, 175, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.profile-tab.active .tab-count {
    color: var(--accent);
    background-color: rgba(201, 162, 77, 0.15);
    font-weight: 500;
}

/* ============================================
   PROFILE TAB CONTENT - Gestion de l'affichage des onglets
   ============================================ */
.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
    animation: fadeInUp var(--transition-base) ease-out;
}

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

/* ============================================
   RECOMMENDATIONS SECTION - Style inspiré RECORD CLUB
   ============================================ */
.recommendations-section {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    margin-top: var(--spacing-xl);
}

.recommendations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.recommendations-filters {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {

    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-family: var(--font-body);
    font-weight: 400;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.filter-btn:hover {

    border-color: var(--border-color-light);
    color: var(--text-primary);
}

.filter-btn.active {

    border-color: var(--border-color-light);
    color: var(--text-primary);
    font-weight: 500;
}

.filter-count {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

.filter-btn.active .filter-count {
    color: var(--text-primary);
}

.recommendations-sort {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.sort-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-family: var(--font-body);
}

.sort-select {

    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-base);
}

.sort-select:hover {

    border-color: var(--border-color-light);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.recommendations-empty {
    text-align: center;
    padding: var(--spacing-5xl) var(--spacing-xl);
    color: var(--text-muted);
}

.recommendations-empty p {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.recommendations-empty-hint {
    font-size: var(--font-size-sm) !important;
    color: var(--text-muted) !important;
    opacity: 0.8;
}

.recommendation-item {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    opacity: 1;
}

.recommendation-item:hover {

    border-color: var(--border-color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.recommendation-link {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.recommendation-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;

    border: 2px solid var(--border-color);
}

.recommendation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.recommendation-avatar-placeholder svg {
    width: 32px;
    height: 32px;
}

.recommendation-info {
    flex: 1;
    min-width: 0;
}

.recommendation-name {
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: var(--letter-spacing-tight);
}

.recommendation-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.recommendation-location {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-family: var(--font-body);
}

.recommendation-location svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.recommendation-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 400;
    font-family: var(--font-functional); /* Anton */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommendation-badge-offer {

    color: var(--color-accent-urban);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.recommendation-badge-seek {

    color: var(--color-accent-elegant);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.recommendation-genres {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.recommendation-genres-label {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-family: var(--font-body);
}

.recommendation-genre-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    font-family: var(--font-body);
}

.recommendation-bio {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: var(--spacing-sm) 0 0 0;
    font-family: var(--font-body);
}

.recommendation-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.btn-recommendation-contact,
.btn-recommendation-favorite {

    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.btn-recommendation-contact:hover {

    border-color: var(--color-accent-urban);
    color: var(--color-accent-urban);
}

.btn-recommendation-favorite:hover {

    border-color: var(--border-color-light);
    color: var(--text-primary);
}

.btn-recommendation-favorite.favorited {

    border-color: var(--color-accent-elegant);
    color: var(--color-accent-elegant);
}


/* Responsive Recommendations */
@media (max-width: 768px) {
    .profile-tabs-nav {
        gap: var(--spacing-xl);
        padding: var(--spacing-lg) 0;
    }
    
    .recommendations-section {
        padding: var(--spacing-xl);
    }
    
    .recommendations-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recommendation-item {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .recommendation-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
    
    .recommendation-link {
        width: 100%;
    }
}

/* ============================================
   SETTINGS PAGE - Paramètres utilisateur
   ============================================ */
.settings-section {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    margin-top: var(--spacing-xl);
}

.settings-nav {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xxl);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.settings-nav::-webkit-scrollbar {
    display: none;
}

.settings-nav-item {

    border: none;
    color: var(--text-muted);
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    font-weight: 400;
    padding: var(--spacing-sm) var(--spacing-lg);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.settings-nav-item:hover {
    color: var(--text-primary);
}

.settings-nav-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.settings-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--spacing-lg) - 1px);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: 2px;

}

.settings-content {
    position: relative;
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
    animation: fadeInUp var(--transition-base) ease-out;
}

.settings-section-title {
    font-size: var(--font-size-3xl);
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: var(--letter-spacing-tight);
}

.settings-section-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xxl);
    font-family: var(--font-body);
}

.settings-form {
    max-width: 800px;
}

.settings-form-section {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.settings-form-section-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-lg) 0;
}

.settings-section-divider {
    border: none;
    border-top: 1px solid var(--border-soft);
    margin: var(--spacing-xl) 0;
    opacity: 0.5;
}

.settings-photo-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.settings-current-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.settings-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.settings-photo-note {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

.settings-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.settings-filter-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.settings-filter-item .form-check-input {
    margin-top: 0;
    cursor: pointer;
}

.settings-filter-item .form-check-label {
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.settings-form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.statistic-card {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: all var(--transition-base);
}

.statistic-card:hover {
    background-color: rgba(31, 42, 63, 0.9);
    border-color: var(--border-color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.statistic-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent-urban);
}

.statistic-content {
    flex: 1;
    min-width: 0;
}

.statistic-value {
    font-size: var(--font-size-3xl);
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.statistic-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.statistics-info {
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.statistics-info-title {
    font-size: var(--font-size-xl);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-lg) 0;
}

.statistics-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.statistics-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.statistics-info-item:last-child {
    border-bottom: none;
}

.statistics-info-label {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
}

.statistics-info-value {
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 500;
}

/* Toggle Switches */
.settings-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.settings-toggle-item:hover {
    background-color: rgba(31, 42, 63, 0.9);
    border-color: var(--border-color-light);
}

.settings-toggle-info {
    flex: 1;
    min-width: 0;
}

.settings-toggle-title {
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.settings-toggle-description {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-family: var(--font-body);
    margin: 0;
}

.settings-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
    margin-left: var(--spacing-lg);
}

.settings-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* Style élégant - Palette Bleu & Gold */
    background: #E5E7EB;
    border: 1px solid var(--border-soft);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.05);

    transition: all var(--transition-base);
    border-radius: 26px;
}

.settings-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    
    /* Bouton circulaire élégant */
    background: #1F2A3F;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);

    transition: all var(--transition-base);
    border-radius: 50%;
}

/* État activé - avec accent gold du site */
.settings-toggle-switch input:checked + .settings-toggle-slider {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(201, 162, 77, 0.2);
}

.settings-toggle-switch input:checked + .settings-toggle-slider:before {
    transform: translateX(24px);
    background: #1F2A3F;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hover effect */
.settings-toggle-slider:hover {
    background: #D1D5DB;
    border-color: var(--border-dark);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

.settings-toggle-switch input:checked + .settings-toggle-slider:hover {
    background: #B8903A;
    border-color: #B8903A;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.15),
        0 3px 6px rgba(201, 162, 77, 0.25);
}

/* Focus effect */
.settings-toggle-switch input:focus + .settings-toggle-slider {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Active/pressed effect */
.settings-toggle-slider:active:before {
    transform: scale(0.95);
}

.settings-toggle-switch input:checked + .settings-toggle-slider:active:before {
    transform: translateX(24px) scale(0.95);
}

.settings-toggle-switch input:disabled + .settings-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Settings */
@media (max-width: 768px) {
    .settings-section {
        padding: var(--spacing-xl);
    }
    
    .settings-nav {
        gap: var(--spacing-sm);
    }
    
    .settings-nav-item {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .settings-filters-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-toggle-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .settings-toggle-switch {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* ============================================
   SETTINGS PAGE HEADER
   ============================================ */
.settings-page-container {
    background-color: var(--bg-primary);
    padding: var(--spacing-xxl) 0;
    min-height: 80vh;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.settings-header-content {
    flex: 1;
    min-width: 0;
}

.settings-page-title {
    font-size: var(--font-size-5xl);
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: var(--letter-spacing-tight);
}

.settings-page-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    font-family: var(--font-body);
    margin: 0;
}

.settings-header-actions {
    flex-shrink: 0;
}

.btn-settings-link {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: 0 2px 6px rgba(26, 35, 50, 0.15);
}

.btn-settings-link:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 35, 50, 0.25);
}

.profile-settings-link-wrapper {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.profile-edit-btn-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Settings Navigation - Update for URL-based navigation */
.settings-nav-item {
    cursor: pointer;
}

.settings-nav-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive Settings Header */
@media (max-width: 768px) {
    .settings-page-title {
        font-size: var(--font-size-4xl);
    }
    
    .settings-header {
        flex-direction: column;
    }
    
    .settings-header-actions {
        width: 100%;
    }
    
    .btn-settings-link {
        width: 100%;
        justify-content: center;
    }
}
