/* ==========================================================================
   1. VARIABLES & GLOBAUX
   ========================================================================== */
:root {
    --bg-deep: #111111;
    --bg-surface: #1C1C1C;
    --bg-surface-light: #2A2A2A;
    --blue-elec: #5a3dFF;
    --blue-dark: #392E86;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --border-color: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1em;
    color: var(--text-main);
    letter-spacing: 1px;
}

p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s ease;
}

/* ==========================================================================
   2. UTILITAIRES & BOUTONS
   ========================================================================== */
.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.align-items-start {
    align-items: flex-start !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    padding: 12px 35px;
    background-color: var(--blue-elec);
    color: var(--text-main);
    border: 2px solid var(--blue-elec);
    /* Ajout d'une bordure pour correspondre à btn-outline */
    cursor: pointer;
    position: relative;
    z-index: 1;
    transform: skewX(-10deg);
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border-radius: 4px;
    /* Optionnel: Légers arrondis si tu le souhaites, mais garde la cohérence globale */
}

.btn>span {
    display: inline-block;
    transform: skewX(10deg);
}

.btn:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: skewX(-10deg) translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-deep);
    border-color: var(--text-main);
}

.btn-outline-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    padding: 12px 35px;
    background-color: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    cursor: pointer;
    position: relative;
    z-index: 1;
    transform: skewX(0deg);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border-radius: 4px;
    /* Optionnel: À accorder avec .btn */
}

.btn-outline-2>span {
    display: inline-block;
    transform: skewX(0deg);
}

.btn-outline-2:hover {
    background-color: var(--text-main);
    color: var(--bg-deep);
    border-color: var(--text-main);
    transform: skewX(0deg) translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 1.2rem;
}

.btn-massive {
    font-size: 1.8rem;
    width: 100%;
    padding: 15px 30px;
}

/* ==========================================================================
   3. ANIMATIONS REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   4. NAVIGATION (Accueil)
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav.scrolled {
    background-color: rgba(17, 17, 17, 0.98);
    padding: 15px 5%;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-elec);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.nav-actions-desktop {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.nav-actions-mobile {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

.nav-actions-mobile .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.creation-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 10px;
}

.creation-chip-title {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 15px;
    flex-shrink: 0;
    /* Le texte reste fixe */
}

/* Nouveau sous-conteneur pour positionner les flèches correctement */
.scroll-area-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    min-width: 0;
    /* Empêche le conteneur de déborder de l'écran */
}

.creation-scroll-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-grow: 1;
    padding: 10px 40px;
}

.creation-scroll-container::-webkit-scrollbar {
    display: none;
}

.creation-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.creation-chip:hover {
    background-color: rgba(90, 61, 255, 0.15);
    border-color: var(--blue-elec);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 61, 255, 0.2);
}

/* Style global des deux flèches */
.scroll-arrow-btn {
    position: absolute;
    top: 0;
    bottom: 10px;
    width: 60px;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.scroll-arrow-btn:hover {
    color: var(--text-main);
}

/* Flèche Droite */
.scroll-arrow-btn.right {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(to right, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 1) 60%);
}

/* Flèche Gauche */
.scroll-arrow-btn.left {
    left: 0;
    justify-content: flex-start;
    background: linear-gradient(to left, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 1) 60%);
    opacity: 0;
    /* Masquée par défaut car on est tout à gauche */
    pointer-events: none;
}

/* ==========================================================================
   5. SECTIONS & GRILLES (Accueil)
   ========================================================================== */
.section {
    padding: 100px 5%;
}

.bg-surface {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.section-header p.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ==========================================================================
   6. COMPOSANTS ACCUEIL (Hero, Cartes, Features, Stats, Carrousel, Footer)
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 160px 5% 100px;
    min-height: 90vh;
    position: relative;
    background-image: linear-gradient(to left, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0.7) 40%, rgba(17, 17, 17, 0.4) 100%), url("/src/img/hero-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.cta-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.sub-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

#chiffres-cles {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(-135deg,
            rgba(90, 61, 255, 0.22) 0%,
            rgba(90, 61, 255, 0.10) 25%,
            rgba(17, 17, 17, 0.95) 55%,
            rgba(17, 17, 17, 1) 100%),
        linear-gradient(180deg, var(--bg-deep) 0%, #151515 100%);
}

#chiffres-cles>* {
    position: relative;
    z-index: 2;
}

.icon-feature {
    text-align: center;
    padding: 20px;
}

.icon-feature svg {
    width: 48px;
    height: 48px;
    stroke: var(--blue-elec);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: 20px;
}

.icon-feature h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.icon-feature p {
    font-size: 1rem;
    margin-bottom: 0;
}

.card {
    background-color: var(--bg-surface-light);
    padding: 40px;
    border-left: 3px solid var(--blue-elec);
    transition: all 0.3s;
    border-radius: 4px;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card.step-card {
    border-left: none;
    border-top: 3px solid var(--blue-elec);
    text-align: center;
}

.card .step-num {
    font-family: 'Teko', sans-serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 0.8;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card:hover .step-num {
    color: rgba(90, 61, 255, 0.2);
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    font-size: 1rem;
    margin-bottom: 0;
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
}

.testimonial {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-style: italic;
    position: relative;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Teko', sans-serif;
    font-size: 4rem;
    color: var(--blue-elec);
    opacity: 0.3;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--blue-elec);
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--blue-elec);
    color: var(--text-main);
}

.align-items-start {
    align-items: flex-start !important;
}

.result-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--blue-elec);
    padding: 25px;
    border-radius: 0 8px 8px 0;
    font-size: 1.15rem;
    color: var(--text-main);
    margin-top: 10px;
}

.result-box.mobile-only {
    display: none;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.problem-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.problem-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.problem-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: stroke 0.3s ease;
}

.problem-card:hover .problem-icon svg {
    stroke: #ff4d4d;
}

.problem-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-main);
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.problem-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: stroke 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: var(--blue-elec);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-main);
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .problem-card:hover {
        transform: translateY(-5px);
    }
}

.offre-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.offre-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offre-list li {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.offre-list li:last-child {
    margin-bottom: 0;
}

.offre-list li svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--blue-elec);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

footer {
    background-color: var(--bg-surface);
    padding: 60px 5% 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--blue-elec);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #666;
}

ul.standard-list {
    list-style: none;
    padding: 0;
}

ul.standard-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

ul.standard-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--blue-elec);
    transform: skewX(-10deg);
}

.process-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-num-minimal {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 0.8;
    margin-bottom: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.process-step:hover .step-num-minimal {
    color: rgba(90, 61, 255, 0.3);
    transform: translateY(-5px);
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.process-step p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.process-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--blue-elec);
    opacity: 0.6;
}

.process-arrow svg {
    width: 100%;
    height: 100%;
}

.glow-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(90, 61, 255, 0.12) 0%, rgba(17, 17, 17, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card-agressive {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(145deg, #1f1f1f, #151515);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--blue-elec);
    padding: 35px 30px;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefit-card-agressive:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 61, 255, 0.25);
    border-color: var(--blue-elec);
    z-index: 2;
}

.benefit-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: rgba(90, 61, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.benefit-card-agressive:hover .benefit-icon {
    background: var(--blue-elec);
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--blue-elec);
    transition: all 0.4s ease;
}

.benefit-card-agressive:hover .benefit-icon svg {
    stroke: var(--text-main);
}

.benefit-text h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.benefit-text p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.highlight-result-massive {
    display: inline-block;
    font-size: 2rem;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    color: var(--text-main);
    background: var(--blue-elec);
    padding: 10px 40px;
    border-radius: 4px;
    letter-spacing: 1px;
    transform: skewX(-10deg);
    box-shadow: 0 10px 30px rgba(90, 61, 255, 0.3);
}

.pricing-card {
    max-width: 550px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1f1f1f 0%, #111111 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--blue-elec);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(90, 61, 255, 0.2);
    border-color: rgba(90, 61, 255, 0.5);
}

.pricing-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.pricing-badge {
    display: inline-block;
    background: rgba(90, 61, 255, 0.15);
    color: var(--blue-elec);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 30px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(90, 61, 255, 0.3);
}

.pricing-price {
    font-family: 'Teko', sans-serif;
    font-size: 6rem;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 15px;
}

.pricing-price span {
    font-size: 2rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-transform: lowercase;
}

.pricing-desc {
    font-size: 1.1rem;
    margin: 0;
}

.pricing-body {
    padding: 40px;
}

.offre-list-pro {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.offre-list-pro li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.offre-list-pro li:last-child {
    margin-bottom: 0;
}

.offre-list-pro li strong {
    color: #fff;
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--blue-elec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(90, 61, 255, 0.4);
}

.check-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pricing-footer {
    padding: 0 40px 40px;
}

.btn-massive {
    font-size: 1.8rem;
    width: 100%;
    padding: 15px 30px;
}

.stats-container {
    padding-right: 20px;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 25px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateX(10px);
}

.stat-number {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    color: var(--text-main);
    line-height: 0.8;
    text-shadow: 0 0 20px rgba(90, 61, 255, 0.4);
    min-width: 130px;
    text-align: right;
}

.stat-item:hover .stat-number {
    color: var(--blue-elec);
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.4;
}

.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(90, 61, 255, 0.35) 0%, rgba(17, 17, 17, 0) 70%);
    z-index: 1;
    filter: blur(50px);
    pointer-events: none;
}

.nav-actions-desktop {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.nav-actions-mobile {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

.nav-actions-mobile .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 1.2rem;
}

#pour-qui {
    background-image: linear-gradient(180deg, rgba(17, 17, 17, 0.7) 0%, rgba(28, 28, 28, 0.75) 100%), url('/src/img/solutions.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* ==========================================================================
   7. PAGES D'AUTHENTIFICATION (Login / Register)
   ========================================================================== */
.auth-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    background-image: linear-gradient(180deg, var(--bg-deep) 0%, #151515 100%);
    position: relative;
}

.glow-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(90, 61, 255, 0.12) 0%, rgba(17, 17, 17, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.auth-card {
    background-color: var(--bg-surface-light);
    padding: 50px 40px;
    border-top: 3px solid var(--blue-elec);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--blue-elec);
    border-radius: 4px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header img {
    height: 55px;
    width: auto;
    margin-bottom: 20px;
    display: inline-block;
}

.auth-header h1 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.auth-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-elec);
    box-shadow: 0 0 0 2px rgba(90, 61, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Style du fond des listes déroulantes pour le thème sombre */
select option {
    background-color: var(--bg-surface);
    /* Fond sombre */
    color: var(--text-main);
    /* Texte blanc */
}

/* Optionnel : appliquer une couleur légèrement différente au survol (bien que limité selon les navigateurs) */
select option:checked,
select option:hover {
    background-color: var(--blue-elec);
    color: var(--text-main);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--text-muted);
}

.auth-links a:hover {
    color: var(--blue-elec);
}

#login-error {
    display: none;
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* ==========================================================================
   8. RESPONSIVE (MEDIA QUERIES GLOBALES)
   ========================================================================== */

@media (max-width: 992px) {

    .app-header {
        padding: 0 15px;
        gap: 10px;
    }

    .app-header .logo-container {
        width: auto;
        min-width: 0;
        flex: 1;
        max-width: 140px;
    }

    .app-header .logo-container img {
        height: 26px !important;
        /* Taille ajustée pour petit écran */
        max-width: 100%;
        object-fit: contain;
    }

    .header-search-wrapper {
        margin: 0 !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }

    .app-user-nav {
        gap: 14px;
        flex-shrink: 0;
        /* Empêche le conteneur de déborder */
    }

    .app-avatar {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3-inline,
    .grid-4-inline {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card-agressive {
        flex-direction: column;
        text-align: center;
        border-left: 1px solid var(--border-color);
        border-bottom: 5px solid var(--blue-elec);
        padding: 30px 20px;
    }

    .highlight-result-massive {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-actions-desktop {
        display: none;
    }

    .nav-actions-mobile {
        display: flex;
    }

    .nav-links {
        justify-content: flex-start;
        padding-top: 100px;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    .hero {
        justify-content: center;
        text-align: center;
        background-image: linear-gradient(to top, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0.8) 60%, rgba(17, 17, 17, 0.3) 100%), url("/src/img/hero-bg.jpg");
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .cta-container {
        justify-content: center !important;
    }

    .grid-3-inline,
    .grid-4-inline {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .pricing-header,
    .pricing-body,
    .pricing-footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .pricing-price {
        font-size: 4rem;
    }

    .btn-massive {
        font-size: 1.5rem;
    }

    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
        background: rgba(255, 255, 255, 0.02);
        padding: 20px;
        border-radius: 8px;
        border-left: 3px solid var(--blue-elec);
    }

    .stat-number {
        text-align: left;
        font-size: 4rem;
    }

    .result-box.desktop-only {
        display: none;
    }

    .result-box.mobile-only {
        display: block;
    }

    .carousel-wrapper {
        display: block;
        padding: 0 45px;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }
}

/* ==========================================================================
   9. LAYOUT APP CONNECTÉE (Dashboard)
   ========================================================================== */
.app-body {
    background-color: var(--bg-deep);
}

/* --- HEADER FIXE --- */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
}

.app-header .logo-container {
    width: 220px;
    /* Aligné avec la largeur de la sidebar */
}

.app-header .logo-container h2 {
    font-size: 2.2rem;
    margin: 0;
    font-style: italic;
    color: var(--text-main);
}

/* --- BARRE DE RECHERCHE --- */
.app-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.app-search input {
    width: 100%;
    background-color: var(--bg-deep);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 15px 12px 45px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.app-search input:focus {
    outline: none;
    border-color: var(--blue-elec);
}

.app-search input::placeholder {
    color: var(--text-muted);
}

.app-search svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
}

/* --- ICNONES UTILISATEUR (Droite) --- */
.app-user-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.app-notification {
    position: relative;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.app-notification:hover {
    color: var(--text-main);
}

.app-notification .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ff4d4d;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.app-avatar:hover {
    border-color: var(--blue-elec);
}

.app-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* --- STRUCTURE EN COLONNES --- */
.app-sidebar-left {
    position: fixed;
    top: 70px;
    left: 0;
    width: 250px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 20px 0;
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    z-index: 900;
}

.app-sidebar-right {
    position: fixed;
    top: 70px;
    right: 0;
    width: 340px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 30px;
    background-color: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 900;
}

.app-main {
    margin-left: 250px;
    margin-right: 340px;
    margin-top: 70px;
    padding: 30px 40px;
    min-height: calc(100vh - 70px);
}

/* --- MENU GAUCHE --- */
.app-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-nav-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 12px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.app-nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.app-nav-item.active a {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-left-color: var(--text-main);
    /* Barre blanche selon la maquette */
}

.app-nav-item a svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.nav-text-wrapper {
    display: block;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
    mask-image: linear-gradient(to right, black 75%, transparent 100%);
}

.nav-text-wrapper span {
    display: inline-block;
    transition: transform 1.5s ease-in-out;
    transition-delay: 0.2s;
}

.app-nav-item a:hover .nav-text-wrapper span {
    transform: translateX(min(0px, calc(140px - 100%)));
}

/* --- WIDGETS DROITE --- */
.widget {
    background-color: var(--bg-surface-light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.widget h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    text-transform: none;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: normal;
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.widget-item:hover h4 {
    color: var(--blue-elec);
}

.widget-item-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: var(--bg-deep);
    overflow: hidden;
    flex-shrink: 0;
}

.widget-item.rounded-img .widget-item-img {
    border-radius: 50%;
}

.widget-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-item-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    text-transform: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.2s;
}

.widget-item-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- RESPONSIVE BASIQUE --- */
@media (max-width: 1200px) {
    .app-sidebar-right {
        display: none;
    }

    .app-main {
        margin-right: 0;
    }
}

@media (max-width: 992px) {
    .app-sidebar-left {
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 1001;
    }

    .app-sidebar-left.open {
        transform: translateX(0);
    }

    .app-main {
        margin-left: 0;
        padding: 20px;
    }

    .app-search {
        display: none;
        /* À remplacer par une icône loupe sur mobile */
    }
}

/* ==========================================================================
   ONGLETS DU FIL D'ACTUALITÉ
   ========================================================================== */
.feed-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.feed-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Teko', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.feed-tab:hover {
    color: var(--text-main);
}

.feed-tab.active {
    color: var(--blue-elec);
}

/* Petite barre animée sous l'onglet actif */
.feed-tab::after {
    content: '';
    position: absolute;
    bottom: -7px;
    /* Alignée exactement sur la bordure de .feed-tabs */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--blue-elec);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feed-tab.active::after {
    transform: scaleX(1);
}

/* Adaptation mobile pour que les onglets ne débordent pas */
@media (max-width: 500px) {
    .feed-tabs {
        gap: 15px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .feed-tab {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   10. FIL D'ACTUALITÉS (News Cards en Grid)
   ========================================================================== */
.feed-header {
    position: sticky;
    top: 70px;
    background-color: #111111;
    z-index: 90;
    padding-top: 10px;
    margin-bottom: 10px;
}

.feed-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    padding-bottom: 10px;
}

/* Transformation du conteneur en grille (2 colonnes) */
#news-feed-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

#news-feed-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Espace vertical entre chaque ligne */
}

#news-feed-container.list-view .feed-list-card {
    width: 100%;
    margin-bottom: 0;
}

.news-card {
    background-color: var(--bg-surface-light);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Permet aux cartes d'une même ligne d'avoir la même taille */
}

.news-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-deep);
    flex-shrink: 0;
}

.news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-meta {
    flex: 1;
}

.news-meta h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-main);
}

.news-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-options {
    cursor: pointer;
    color: var(--text-muted);
}

.news-options svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.news-body {
    margin-bottom: 15px;
    flex-grow: 1;
    /* Pousse l'image et le bouton vers le bas si le texte est court */
}

.news-body p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.news-hashtag {
    color: var(--blue-elec);
    font-size: 0.9rem;
    margin-top: 5px;
    display: inline-block;
}

.news-image {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-bottom: 15px;
    background-color: var(--bg-deep);
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-actions {
    margin-top: auto;
    /* Garde le bouton collé en bas */
}

/* Nouveau bouton "Lire la suite" */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: rgba(90, 61, 255, 0.1);
    color: var(--blue-elec);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: var(--blue-elec);
    color: var(--text-main);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --- RESPONSIVE : 1 Colonne sur Mobile / Tablette --- */
@media (max-width: 992px) {
    #news-feed-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   11. SHORTS VIDEOS
   ========================================================================== */
#shorts-preview-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE / Edge */
    cursor: grab;
    user-select: none;
    gap: 15px;
    padding-bottom: 5px;
    margin-bottom: 40px;
}

#shorts-preview-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

#shorts-preview-container.grabbing {
    cursor: grabbing;
    scroll-behavior: auto;
}

.short-thumbnail,
.short-add-btn {
    flex: 0 0 160px;
    /* Empêche le rétrécissement des vignettes */
}

#shorts-player-wrapper.slide-out-up {
    transform: translateY(-100%);
    opacity: 0;
}

#shorts-player-wrapper.slide-out-down {
    transform: translateY(100%);
    opacity: 0;
}

#shorts-player-wrapper.slide-in-from-bottom {
    animation: slideInBottom 0.25s ease-out forwards;
}

#shorts-player-wrapper.slide-in-from-top {
    animation: slideInTop 0.25s ease-out forwards;
}

@keyframes slideInBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.short-add-btn {
    position: sticky;
    left: 0;
    z-index: 5;
    background-color: var(--bg-deep);
    aspect-ratio: 9 / 16;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
    text-decoration: none;
    flex-shrink: 0;
}

.short-add-btn:hover {
    border-color: var(--blue-elec);
    color: var(--text-main);
    background-color: #191528;
    transform: scale(1.02);
}

.short-add-btn svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    margin-bottom: 15px;
}

.short-add-btn span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-transform: uppercase;
}

.short-thumbnail {
    aspect-ratio: 9 / 16;
    background-color: var(--bg-deep);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
}

.short-thumbnail:hover {
    transform: scale(1.02);
}

.short-thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.short-thumbnail-overlay h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- MODAL SHORTS --- */
#shorts-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px;
}

#shorts-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#shorts-close:hover {
    background: rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    border-color: #ff4d4d;
    transform: scale(1.05);
}

/* Wrapper avec marges, bords arrondis et halo bleu électrique */
#shorts-player-wrapper {
    position: relative;
    height: min(calc(100vh - 100px), 800px);
    width: fit-content;
    max-width: 90vw;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(90, 61, 255, 0.18);
    box-shadow: 0 0 140px 30px rgba(90, 61, 255, 0.12),
        0 0 60px 10px rgba(90, 61, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#shorts-video {
    height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 18px;
    cursor: pointer;
}

#shorts-info {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 5;
}

#shorts-info h4 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

#shorts-info p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.shorts-hint {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 5;
}

/* Flèches latérales Desktop */
.shorts-desktop-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.shorts-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.shorts-nav-btn:hover {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
    box-shadow: 0 0 18px rgba(90, 61, 255, 0.5);
    transform: scale(1.1);
}

.shorts-sound-btn {
    position: absolute;
    bottom: 25px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.shorts-sound-btn:hover {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
    transform: scale(1.1);
}

/* Adaptation Mobile (Plein écran sans bordure ni halo) */
@media (max-width: 768px) {
    #shorts-modal {
        padding: 0;
        gap: 0;
        background-color: #000;
    }

    #shorts-player-wrapper {
        height: 100vh;
        max-height: 100vh;
        max-width: 100vw;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    #shorts-video {
        border-radius: 0;
    }

    .shorts-desktop-nav {
        display: none;
    }

    #shorts-close {
        top: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   RECHERCHE AVANCÉE (HEADER)
   ========================================================================== */
.header-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Ajustez selon la taille de votre barre dans le header */
}

#main-search-input {
    width: 100%;
    /* Vos styles actuels pour l'input du header */
}

/* ==========================================================================
   RECHERCHE AVANCÉE EN PLEIN ÉCRAN
   ========================================================================== */
#advanced-search-panel {
    display: none;
    width: 100%;
    background-color: transparent;
    padding: 0;
    animation: fadeInDown 0.3s ease;
}

.advanced-search-header {
    max-width: 1000px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.advanced-search-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--blue-elec);
}

#search-form {
    max-width: 1000px;
    margin: 0 auto;
}

/* Flèches Acteurs */
.actor-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.actor-scroll-wrapper .search-category-tabs {
    flex-grow: 1;
    margin-bottom: 0;
    border-bottom: none;
    padding: 0 45px;
    /* Espace pour les flèches */
}

.actor-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.actor-arrow-btn:hover {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
}

.actor-arrow-btn.left {
    left: 0;
}

.actor-arrow-btn.right {
    right: 0;
}

/* Sliders Double-Sélection */
.dual-range-container {
    position: relative;
    width: 100%;
    height: 40px;
    margin-top: 5px;
}

.dual-range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    z-index: 1;
}

.dual-range-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background-color: var(--blue-elec);
    border-radius: 3px;
    z-index: 2;
}

.dual-range-container input[type="range"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background: none;
    pointer-events: none;
    /* Le clic traverse l'input invisible */
    -webkit-appearance: none;
    -moz-appearance: none;
    z-index: 3;
    margin: 0;
}

/* Le "thumb" (bouton) attrape le clic */
.dual-range-container input[type="range"]::-webkit-slider-thumb {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue-elec);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: grab;
}

.dual-range-container input[type="range"]::-moz-range-thumb {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue-elec);
    pointer-events: auto;
    cursor: grab;
}

.dual-range-values {
    display: flex;
    justify-content: space-between;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Classe ajoutée par le JS pour l'afficher */
#advanced-search-panel.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.advanced-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color, #333);
}

.advanced-search-header h3 {
    margin: 0;
    font-family: 'Teko', sans-serif;
    /* Votre police de titres */
    font-size: 1.5rem;
    color: var(--blue-elec, #007bff);
}

#close-advanced-search {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#pageContent {
    transition: opacity 0.3s ease;
}

#advanced-search-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
}

#advanced-search-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CARTES DE RÉSULTATS DE RECHERCHE
   ========================================================================== */
#search-results {
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.search-result-card {
    background-color: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.search-result-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-elec);
}

.search-result-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-result-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.search-result-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: var(--text-main);
    text-transform: none;
    letter-spacing: normal;
}

.search-result-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

.search-result-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.search-result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.search-result-rating {
    color: #ffb84d;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   STYLE INTERNE DU FORMULAIRE DE RECHERCHE AVANCÉE
   ========================================================================== */
/* Positionner correctement la barre dans le header */
.header-search-wrapper {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

#main-search-input {
    width: 100%;
    background-color: var(--bg-deep);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 15px 12px 20px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

#main-search-input:focus {
    outline: none;
    border-color: var(--blue-elec);
}

/* Structure en grille des filtres */
#advanced-search-panel form .flex-rows {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 15px;
}

#advanced-search-panel form .input-range.row {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

#advanced-search-panel form label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

#advanced-search-panel form select,
#advanced-search-panel form input[type="text"] {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-main);
    outline: none;
}

#advanced-search-panel form select:focus,
#advanced-search-panel form input[type="text"]:focus {
    border-color: var(--blue-elec);
}

/* Onglets de Géolocalisation */
.geo-tabs .flex-rows {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.geo-tabs input[type="radio"] {
    margin-right: 5px;
    accent-color: var(--blue-elec);
}

.geo-tabs label {
    margin-bottom: 0 !important;
    margin-right: 15px;
    cursor: pointer;
}

#search-form>.flex-rows:first-of-type {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
}

#search-form>.flex-rows:first-of-type select {
    flex: 1;
    width: auto;
    margin: 0;
}

#search-form>.flex-rows:first-of-type .btn {
    transform: none;
    border-radius: 6px;
    padding: 6px 15px;
    height: 100%;
    margin: 0;
    white-space: nowrap;
    font-size: 18px;
}

#search-form>.flex-rows:first-of-type .btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 500px) {
    #search-form>.flex-rows:first-of-type {
        flex-wrap: wrap;
    }

    #search-form>.flex-rows:first-of-type select,
    #search-form>.flex-rows:first-of-type .btn {
        width: 100%;
    }
}

/* ==========================================================================
   STYLE DES CARTES EN LISTE (EVENT / ANNONCE)
   ========================================================================== */
.feed-list-card {
    display: flex;
    flex-direction: row;
    background-color: #1e1e1e;
    /* Fond de la carte (mode sombre) */
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feed-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Zone Image à gauche */
.list-card-img {
    width: 250px;
    flex-shrink: 0;
    /* Empêche l'image de rétrécir */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Optionnel : si vous voulez une séparation visuelle */
    border-right: 1px solid #333;
}

/* Contenu à droite */
.list-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Prend tout l'espace restant */
}

/* En-tête de la carte (Catégorie + Dates) */
.list-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.badge-category {
    color: var(--blue-elec, #007bff);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Titre et description */
.list-card-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #ffffff;
}

.list-card-desc {
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Bouton d'action */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.btn-view-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background-color: var(--blue-elec, #007bff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-view-card:hover {
    background-color: #0056b3;
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE (Version Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .feed-list-card {
        flex-direction: column;
        /* L'image passe au-dessus du texte sur mobile */
    }

    .list-card-img {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .list-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Masquer la loupe sur Desktop par défaut */
.mobile-search-icon {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px;
}

/* === MODIFICATIONS POUR MOBILE ET TABLETTE === */
@media (max-width: 992px) {

    /* 1. Affichage de la loupe et masquage de l'input */
    #main-search-input {
        display: none !important;
    }

    .mobile-search-icon {
        display: block;
    }

    /* 2. Transformation des Shorts en Carrousel */
    #shorts-preview-container {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Masquer la barre de défilement (esthétique) */
        scrollbar-width: none;
        padding-bottom: 10px;
    }

    #shorts-preview-container::-webkit-scrollbar {
        display: none;
    }

    /* Largeur fixe pour chaque short dans le carrousel mobile */
    #shorts-preview-container>div,
    #shorts-preview-container>a {
        flex: 0 0 130px;
        scroll-snap-align: start;
    }
}

/* ==========================================================================
   POPUP NOTIFICATIONS
   ========================================================================== */
.notification-popup {
    position: absolute;
    top: 45px;
    right: -10px;
    /* Aligné avec la droite de la cloche */
    width: 350px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    cursor: default;
    /* Enlève le pointeur sur la popup elle-même */
}

.notification-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-surface-light);
    border-radius: 8px 8px 0 0;
}

.notification-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    color: var(--text-main);
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    text-decoration: none;
    color: var(--text-main);
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Style pour les notifications non lues */
.notification-item.unread {
    background-color: rgba(90, 61, 255, 0.08);
}

.notif-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.notif-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    filter: brightness(0) invert(1);
}

.notif-content h5 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    color: var(--text-main);
}

.notif-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.notif-date {
    font-size: 0.75rem;
    color: var(--blue-elec);
    margin-top: 5px;
    display: block;
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {
    .notification-popup {
        position: fixed;
        top: 70px;
        /* Sous le header principal */
        right: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        border-radius: 0;
        max-height: none;
        border: none;
    }

    .notification-list {
        max-height: none;
        flex-grow: 1;
    }
}

/* ==========================================================================
   ERGONOMIE RECHERCHE AVANCÉE (TABS & ANIMATIONS)
   ========================================================================== */
/* Conteneur des onglets (Scroll horizontal fluide sur mobile) */
.search-category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Cache la barre sur Firefox */
}

.search-category-tabs::-webkit-scrollbar {
    display: none;
}

/* Cache la barre sur Chrome */

/* Design des boutons d'onglets (Style Pilule) */
.search-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-tab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    transform: translateY(-2px);
}

.search-tab.active {
    background: var(--blue-elec);
    color: var(--text-main);
    border-color: var(--blue-elec);
    box-shadow: 0 4px 15px rgba(90, 61, 255, 0.4);
}

/* Animation douce d'apparition pour le bloc de filtres actif */
.search-box {
    animation: slideFadeUp 0.4s ease forwards;
    display: none;
    /* Géré par JS */
}

@keyframes slideFadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modernisation des champs (Inputs, Selects, Dates) */
#advanced-search-panel form label {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
}

#advanced-search-panel form select,
#advanced-search-panel form input[type="text"],
#advanced-search-panel form input[type="date"] {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

#advanced-search-panel form select:focus,
#advanced-search-panel form input[type="text"]:focus {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: var(--blue-elec);
    box-shadow: 0 0 0 3px rgba(90, 61, 255, 0.15);
}

/* Amélioration du bouton Soumettre final */
.btn-submit-search {
    width: 100%;
    margin-top: 30px !important;
    font-size: 1.3rem;
    padding: 15px;
    border-radius: 8px;
    transform: none;
    /* Retire l'effet penché pour le bouton principal de validation */
}

.btn-submit-search>span {
    transform: none;
}

/* Styles spécifiques à la page Event */
.event-detail-header {
    width: 100%;
    height: 350px;
    background-color: var(--bg-surface-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.event-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.event-detail-title-block {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 20px;
    background: linear-gradient(transparent, rgba(17, 17, 17, 1));
}

.event-detail-title-block h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .event-detail-title-block h1 {
        font-size: 1.6rem;
    }
}

.event-badge {
    display: inline-block;
    background-color: var(--blue-elec);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card svg {
    width: 30px;
    height: 30px;
    stroke: var(--blue-elec);
    fill: none;
    flex-shrink: 0;
}

.info-card-text h5 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: none;
}

.info-card-text p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.event-description {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    line-height: 1.7;
    color: var(--text-main);
}

.event-description h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.external-links-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.annonce-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.annonce-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--blue-elec);
}

.annonce-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.annonce-item strong {
    color: white;
    font-size: 0.95rem;
}

/* Pointeur sur l'image pour indiquer qu'elle est cliquable */
.event-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.event-detail-cover:hover {
    opacity: 0.8;
}

/* Modal Image Plein Écran */
#image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#close-image-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    line-height: 1;
}

#modal-image-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Styles spécifiques pour le profil utilisateur */
.profile-header {
    position: relative;
    background: linear-gradient(135deg, var(--bg-surface-light), var(--bg-deep));
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--blue-elec);
    background: #000;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    color: white;
    line-height: 1.1;
}

.profile-badge {
    display: inline-block;
    background-color: var(--blue-elec);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.profile-premium-badge {
    background-color: #ffd700;
    color: #000;
    margin-left: 10px;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.stat-card svg {
    width: 30px;
    height: 30px;
    stroke: var(--blue-elec);
    fill: none;
    flex-shrink: 0;
}

.stat-card-text {
    flex: 1;
    min-width: 0;
}

.stat-card-text h5 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: none;
}

.stat-card-text p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.profile-section {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.profile-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.external-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.relation-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================
* Page de connexion
===========================*/

/* Styles spécifiques pour le form d'inscription (Grilles et sélecteur de rôle) */
.auth-card-large {
    max-width: 650px;
    /* Plus large que le login pour accommoder les champs en 2 colonnes */
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.role-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 5px;
}

.role-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.role-card:hover {
    border-color: rgba(90, 61, 255, 0.5);
    background-color: rgba(90, 61, 255, 0.05);
    color: var(--text-main);
}

.role-card.active {
    background-color: rgba(90, 61, 255, 0.15);
    border-color: var(--blue-elec);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(90, 61, 255, 0.2);
}

.role-card svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--blue-elec);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.checkbox-group a {
    color: var(--blue-elec);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .role-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- SYSTÈME DE SÉLECTION MULTIPLE CUSTOM --- */
.custom-multi-select {
    position: relative;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.multi-select-header {
    min-height: 48px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.multi-select-header:hover,
.custom-multi-select.open .multi-select-header {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: var(--blue-elec);
    box-shadow: 0 0 0 3px rgba(90, 61, 255, 0.15);
}

.multi-select-placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
    user-select: none;
}

.multi-select-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.multi-select-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background-color: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 100;
    display: none;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    scrollbar-width: thin;
    scrollbar-color: var(--blue-elec) transparent;
}

.custom-multi-select.open .multi-select-dropdown {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.multi-select-dropdown label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    color: var(--text-main);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background 0.2s;
    margin: 0;
    font-weight: 400;
}

.multi-select-dropdown label:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.multi-select-dropdown input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue-elec);
    cursor: pointer;
    margin: 0;
}

.multi-tag {
    background-color: rgba(90, 61, 255, 0.15);
    border: 1px solid var(--blue-elec);
    color: var(--text-main);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.multi-tag-close {
    cursor: pointer;
    color: var(--blue-elec);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.2s;
}

.multi-tag-close:hover {
    color: #ff4d4d;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
*  Page create event
============================== */

/* Boutons d'ajout (Pointillés) */
.btn-add-custom {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: transparent;
    border: 2px dashed var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-custom:hover {
    border-color: var(--blue-elec);
    color: var(--text-main);
    background: rgba(90, 61, 255, 0.05);
}

.btn-add-custom.active-custom {
    border: 2px solid var(--blue-elec);
    color: var(--blue-elec);
    background: rgba(90, 61, 255, 0.1);
}

/* Modales d'ajout de texte */
.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.custom-modal-box {
    background: var(--bg-surface-light);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.custom-modal-box h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--text-main);
}

.custom-modal-btn-close {
    background: #000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.custom-modal-btn-close:hover {
    background: #333;
}

.profile-toggle-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.profile-toggle-card:hover {
    border-color: rgba(90, 61, 255, 0.4);
    background: rgba(90, 61, 255, 0.05);
    transform: translateY(-2px);
}

.profile-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-muted);
    fill: none;
    transition: all 0.3s ease;
}

.check-indicator {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.check-indicator svg {
    width: 14px;
    height: 14px;
    stroke: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- ÉTATS ACTIFS (Quand la case cachée est cochée) --- */
.profil-checkbox:checked+.profile-toggle-card {
    border-color: var(--blue-elec);
    background: rgba(90, 61, 255, 0.1);
    box-shadow: 0 5px 15px rgba(90, 61, 255, 0.15);
}

.profil-checkbox:checked+.profile-toggle-card .profile-icon {
    background: var(--blue-elec);
}

.profil-checkbox:checked+.profile-toggle-card .profile-icon svg {
    stroke: white;
}

.profil-checkbox:checked+.profile-toggle-card .check-indicator {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
}

.profil-checkbox:checked+.profile-toggle-card .check-indicator svg {
    opacity: 1;
    transform: scale(1);
}

.btn-favorite {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-favorite.active {
    background: rgba(255, 77, 77, 0.1);
    border-color: #ff4d4d;
    color: #ff4d4d;
}

.btn-favorite svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s ease;
}

.btn-favorite.active svg {
    fill: #ff4d4d;
    stroke: #ff4d4d;
}

/* Animation au clic */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.btn-favorite.animating svg {
    animation: heartBeat 0.3s ease-in-out;
}

.step-badge {
    width: 24px;
    height: 24px;
    background: var(--blue-elec);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(90, 61, 255, 0.4);
}

/* ==========================================
   INFORMATIONS & SONDAGES COMPACTS
   ========================================== */
.info-survey-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-box-compact {
    background: rgba(90, 61, 255, 0.06);
    border: 1px solid rgba(90, 61, 255, 0.3);
    border-left: 4px solid var(--blue-elec);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box-compact h4 {
    font-size: 1.1rem;
    margin: 0 0 3px 0;
    color: var(--text-main);
}

.info-box-compact p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.survey-box-compact {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px 22px;
    transition: all 0.3s ease;
}

.survey-box-compact h4 {
    font-size: 1.15rem;
    margin: 0 0 5px 0;
    color: var(--text-main);
}

.survey-box-compact p {
    font-size: 0.88rem;
    margin: 0 0 14px 0;
    color: var(--text-muted);
}

.survey-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.survey-option-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.survey-option-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.survey-option-pill input[type="radio"] {
    accent-color: var(--blue-elec);
    margin: 0;
}

.survey-option-pill:has(input:checked) {
    background: rgba(90, 61, 255, 0.15);
    border-color: var(--blue-elec);
    color: #fff;
    font-weight: 600;
}

.info-carousel-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(90, 61, 255, 0.06);
    border: 1px solid rgba(90, 61, 255, 0.3);
    border-left: 4px solid var(--blue-elec);
    border-radius: 10px;
    padding: 12px 18px;
}

.info-carousel-box .info-box-compact {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.info-carousel-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.info-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.info-nav-btn:hover {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
}

/* Bouton favoris sur les cartes d'évènements et annonces */
.btn-fav-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-fav-card:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: scale(1.05);
}

.btn-fav-card svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: all 0.2s ease;
}

.btn-fav-card.active {
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.4);
    color: #ff4d4d;
}

.btn-fav-card.active svg {
    fill: #ff4d4d;
    stroke: #ff4d4d;
}

/* ==========================================
   STYLES DES BANNIÈRES PARTENAIRES
   ========================================== */
.sponsor-card-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 10px 0 20px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Force la bannière à occuper toute la largeur des 2 colonnes */
#news-feed-container:not(.list-view) .sponsor-card-wrapper {
    grid-column: 1 / -1;
}

/* Format compact et moderne */
/* Format plus grand et plus imposant */
.sponsor-card-wrapper .sponsor-banner {
    border-radius: 12px;
    min-height: 190px !important;
    /* Augmentation de la hauteur */
    height: auto !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
}

.sponsor-card-wrapper .sponsor-banner .content {
    min-height: 190px !important;
    padding: 30px 40px !important;
    /* Plus d'espace interne */
    display: flex;
    align-items: center;
}

.sponsor-card-wrapper .sponsor-banner h3 {
    font-size: 1.6rem !important;
    /* Titre plus gros */
    margin-bottom: 10px !important;
    letter-spacing: 0.5px;
}

.sponsor-card-wrapper .sponsor-banner p {
    font-size: 1.0rem !important;
    /* Description agrandie */
    line-height: 1.2 !important;
    margin: 0 !important;
}

.sponsor-card-wrapper .sponsor-banner .logo {
    width: 110px !important;
    /* Logo plus grand */
    height: 110px !important;
    left: 35px !important;
}

.sponsor-card-wrapper .sponsor-banner-logo .content {
    margin-left: 170px !important;
    /* Décalage adapté au nouveau logo */
}

/* Sidebar droite */
.sidebar-sponsor-box {
    margin-bottom: 25px;
}

.sidebar-sponsor-box .sponsor-banner {
    min-height: 180px !important;
}

.sidebar-sponsor-box .sponsor-banner-logo .content {
    margin-left: 0 !important;
    padding: 80px 20px 20px 20px !important;
}

.sidebar-sponsor-box .sponsor-banner .logo {
    width: 60px !important;
    height: 60px !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .sponsor-card-wrapper .sponsor-banner .logo {
        width: 55px !important;
        height: 55px !important;
        left: 15px !important;
    }

    .sponsor-card-wrapper .sponsor-banner-logo .content {
        margin-left: 85px !important;
        padding: 15px !important;
    }

    .sponsor-card-wrapper .sponsor-banner h3 {
        font-size: 1.3rem !important;
    }

    .sponsor-card-wrapper .sponsor-banner p {
        font-size: 1rem !important;
    }
}

/* ==========================================
   CARTES DE SÉLECTION DE LANGUE
   ========================================== */
.lang-card-v2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    min-height: 110px;
}

.lang-card-v2:hover {
    border-color: rgba(90, 61, 255, 0.4);
    background: rgba(90, 61, 255, 0.05);
    transform: translateY(-2px);
}

.lang-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.lang-flag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.lang-card-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    color: var(--text-main);
}

.lang-card-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* État actif */
.lang-card-v2.active {
    border-color: var(--blue-elec);
    background: rgba(90, 61, 255, 0.12);
    box-shadow: 0 4px 18px rgba(90, 61, 255, 0.25);
}

.lang-card-v2.active .lang-flag-badge {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
}

.lang-card-v2.active .check-indicator {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
}

.lang-card-v2.active .check-indicator svg {
    opacity: 1;
    transform: scale(1);
}

.profile-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.profile-actions-bar .btn,
.profile-actions-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    transform: none;
    box-sizing: border-box;
}

/* Comportement sur mobile (1 par ligne et 100% de largeur) */
@media (max-width: 768px) {
    .profile-actions-bar {
        flex-direction: column;
        width: 100%;
    }

    .profile-actions-bar .btn,
    .profile-actions-bar button {
        width: 100%;
        padding: 10px 16px;
        /* Légèrement plus haut pour un meilleur confort tactile */
    }
}

/* Styles Modal Avis */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
    box-sizing: border-box;
}

.modal-box {
    background: #18191c;
    border: 1px solid var(--border-color, #2a2b2f);
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color, #2a2b2f);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted, #888);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.modal-close:hover {
    color: white;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Carte d'un avis */
.review-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color, #2a2b2f);
    border-radius: 8px;
    padding: 14px;
}

.review-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h5 {
    margin: 0;
    color: white;
    font-size: 0.95rem;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
}

.review-comment {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Réponse du profil */
.review-response {
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid var(--blue-elec, #00b4d8);
}

/* Étoiles interactives */
.star-rating-select .star-item {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #ffc107;
    stroke-width: 2;
    transition: transform 0.15s ease, fill 0.15s ease;
}

.star-rating-select .star-item.active {
    fill: #ffc107;
}

.star-rating-select .star-item:hover {
    transform: scale(1.15);
}

/* ==========================================================================
   PAGE MES AVIS & ÉVALUATIONS
   ========================================================================== */
.reviews-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 5%;
}

.section-title-wrap {
    margin-bottom: 30px;
}

.section-title-wrap h2 {
    font-size: 1.8rem;
    margin: 0 0 8px;
    color: var(--text-main);
}

.section-title-wrap p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Sections & En-têtes */
.reviews-section {
    margin-bottom: 45px;
}

.reviews-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.reviews-section-header h3 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin: 0;
}

.badge-count {
    background: var(--blue-elec);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Cartes des avis */
.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card.waiting-card {
    border-left: 3px solid #ffc107;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author-name {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 3px;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: normal;
}

.review-date-account {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.review-rating-badge {
    color: #ffc107;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px;
}

/* Bloc réponse */
.review-response-block {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(90, 61, 255, 0.08);
    border-left: 2px solid var(--blue-elec);
    border-radius: 0 8px 8px 0;
}

.review-response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-response-title {
    color: var(--blue-elec);
    font-weight: 600;
    font-size: 0.85rem;
}

.review-response-text {
    color: #d1d5db;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .review-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-reply-full {
        width: 100%;
        justify-content: center;
    }
}

.app-nav-chat {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: color 0.3s;
}

.app-nav-chat:hover {
    color: var(--text-main) !important;
}

.app-nav-chat .badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: #ff4d4d;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Position relative obligatoire sur la carte */
.search-result-card {
    position: relative;
}

/* Carte profil boosté */
.search-result-card.boosted {
    border: 2px solid var(--blue-elec);
    box-shadow: 0 0 20px rgba(90, 61, 255, 0.18);
}

.search-result-card.boosted:hover {
    box-shadow: 0 0 25px rgba(90, 61, 255, 0.3);
}

/* Badge Sponsorisé */
.search-sponsor-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--blue-elec);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(90, 61, 255, 0.4);
}

/* Évite que le texte de l'en-tête ne passe sous le badge sponsorisé */
.search-result-card.boosted .search-result-header {
    padding-right: 100px;
}

.search-sp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.35);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
    width: fit-content;
}

.search-sp-badge .sp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4caf50;
    box-shadow: 0 0 6px #4caf50;
}

/* ==========================================================================
   SWITCH TOGGLE SPARRING PARTNER
   ========================================================================== */
.switch-sp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    user-select: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.switch-sp-container:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(90, 61, 255, 0.4);
}

.switch-sp-container span:first-child {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.switch-sp-container input[type="checkbox"] {
    display: none;
}

.custom-switch-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.custom-switch-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-sp-container input[type="checkbox"]:checked+.custom-switch-slider {
    background-color: var(--blue-elec);
}

.switch-sp-container input[type="checkbox"]:checked+.custom-switch-slider::after {
    transform: translateX(20px);
}

/* Bouton Notification Évènement */
.btn-notif {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-notif:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-notif.active {
    background: var(--blue-elec);
    border-color: var(--blue-elec);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(90, 61, 255, 0.4);
}

.btn-notif.active svg {
    fill: #ffffff;
    stroke: #ffffff;
}

.btn-notif.active:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #ffffff;
}

.btn-notif svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s ease;
}

/* Overlay au survol de l'avatar */
.avatar-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}

.app-avatar-wrapper:hover .avatar-hover-overlay {
    opacity: 1;
}

/* Overlay de progression circulaire */
#avatar-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 5;
    border-radius: 50%;
}

#avatar-progress-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.avatar-progress-bar-container {
    width: 75%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

#avatar-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--blue-elec);
    border-radius: 3px;
    transition: width 0.15s ease;
}

.search-status-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-block;
}

.search-status-badge.status-1 {
    /* Disponible */
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.search-status-badge.status-2 {
    /* Blessé */
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.search-status-badge.status-3 {
    /* Hors saison */
    background: rgba(158, 158, 158, 0.15);
    color: #bdbdbd;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.search-status-badge.status-4 {
    /* En camp d'entraînement */
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

/* ==========================================================================
   MENU MULTI-COMPTES (V2)
   ========================================================================== */
.app-avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Zone invisible pont pour éviter la fermeture au survol */
.account-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.account-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 270px;
    background: #16171b;
    border: 1px solid var(--border-color, #2a2b2f);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

/* Affichage au survol sur Desktop */
@media (min-width: 993px) {
    .app-avatar-wrapper:hover .account-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.account-dropdown-header {
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted, #a0a0a0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.5px;
}

.account-dropdown-list {
    max-height: 280px;
    overflow-y: auto;
}

.account-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    transition: background 0.15s ease;
}

.account-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.account-dropdown-item.active {
    background: rgba(90, 61, 255, 0.08);
    border-left: 3px solid var(--blue-elec, #5a3dff);
}

.account-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.account-item-photo {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.account-item-photo img:first-child {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.account-item-certified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
}

.account-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.account-item-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-item-type {
    color: var(--text-muted, #a0a0a0);
    font-size: 0.75rem;
}

.account-item-delete {
    color: var(--text-muted, #a0a0a0);
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.account-item-delete:hover {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

.account-dropdown-footer {
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.btn-add-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--blue-elec, #5a3dff);
    background: rgba(90, 61, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s ease;
}

.btn-add-account:hover {
    background: rgba(90, 61, 255, 0.2);
}

/* Bouton "Mes comptes" dans la sidebar (Masqué sur Desktop, affiché sur Mobile) */
.mobile-accounts-nav-item {
    display: none;
}

@media (max-width: 992px) {
    .mobile-accounts-nav-item {
        display: block;
    }

    .sidebar-accounts-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
        padding: 10px 14px;
        border-radius: 6px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .sidebar-accounts-btn .chevron-icon {
        transition: transform 0.2s ease;
    }

    .sidebar-accounts-btn.active {
        border-color: var(--blue-elec, #5a3dff);
        background: rgba(90, 61, 255, 0.1);
    }

    .sidebar-accounts-btn.active .chevron-icon {
        transform: rotate(180deg);
    }

    .sidebar-accounts-collapse {
        margin-top: 8px;
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 6px;
        padding: 6px;
    }
}

/* ==========================================================================
   WIDGET SIGNALEMENT (#beta-alert)
   ========================================================================== */
.beta-alert-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.beta-alert-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e2026;
    color: #ffb830;
    border: 1px solid rgba(255, 184, 48, 0.4);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.beta-alert-trigger:hover {
    background: #252830;
    border-color: #ffb830;
    transform: translateY(-2px);
}

.beta-alert-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #18191c;
    border: 1px solid var(--border-color, #2a2b2f);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: fadeInMenu 0.15s ease-out;
}

.beta-alert-popup.form-open {
    display: block;
}

.beta-alert-header h4 {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.beta-alert-popup textarea {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color, #2a2b2f);
    border-radius: 6px;
    padding: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    resize: none;
    outline: none;
}

.beta-alert-popup textarea:focus {
    border-color: var(--blue-elec, #5a3dff);
}

@media (max-width: 768px) {
    .beta-alert-container {
        bottom: 15px;
        right: 15px;
    }

    .beta-alert-popup {
        width: calc(100vw - 30px);
        max-width: 320px;
        right: 0;
    }
}

/* ==========================================================================
   UI GÉOLOCALISATION AVANCÉE
   ========================================================================== */
.geo-tabs-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.geo-tab-pill {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 14px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.geo-tab-pill input[type="radio"] {
    display: none;
}

.geo-tab-pill svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    transition: stroke 0.2s;
}

.geo-tab-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.geo-tab-pill:has(input:checked) {
    background: rgba(90, 61, 255, 0.1);
    border-color: var(--blue-elec);
    color: #fff;
}

.geo-tab-pill:has(input:checked) svg {
    stroke: var(--blue-elec);
}

.distance-pills-wrapper {
    display: flex;
    gap: 10px;
}

.distance-pill {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.distance-pill input {
    display: none;
}

.distance-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.distance-pill:has(input:checked) {
    background: var(--blue-elec);
    color: white;
    border-color: var(--blue-elec);
}

/* ==========================================
   ENCART STATUT ATHLÈTE (STYLE BANDEAU INFO)
   ========================================== */
.user-status-box {
    background: rgba(90, 61, 255, 0.08);
    border: 1px solid rgba(90, 61, 255, 0.35);
    border-left: 4px solid var(--blue-elec);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(90, 61, 255, 0.12);
}

.user-status-label {
    font-family: 'Teko', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.user-status-select-wrap {
    position: relative;
    width: 100%;
}

.user-status-select {
    width: 100%;
    padding: 9px 30px 9px 12px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(90, 61, 255, 0.4);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a3dFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    transition: all 0.2s ease;
}

.user-status-select:hover,
.user-status-select:focus {
    border-color: var(--blue-elec);
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px rgba(90, 61, 255, 0.35);
}

.user-status-select option {
    background-color: var(--bg-surface);
    color: #ffffff;
}