/*
Theme Name: Beat Learn
Author: Beat Learn Team
Description: Thème sur mesure (Version Finale final)
Version: 10.1
*/

/* ==========================================================================
   1. VARIABLES & CONFIGURATION
   ========================================================================== */
:root {
    --bg-dark: #050A19; 
    --bg-card: #060B1E; 
    --color-pink: #FFC1C1; 
    --color-pink-dark: #d69595; 
    --color-pink-hover: #fea3a3; 
    --color-blue: #ffffff; 
    --color-purple: #8C52FF; 
    --color-green: #2ecc71; 
    --color-yellow: #f1c40f;
    --text-gray: #9CA3AF; 
    --border-color: #1e293b;
    --input-bg: #020617; 
}

html { scroll-behavior: smooth; }

body { 
    background-color: var(--bg-dark); 
    color: white; 
    font-family: 'Open Sans', sans-serif; 
    font-weight: 400; 
    margin: 0; 
    overflow-x: hidden; 
    padding-bottom: 0;
    min-height: 100vh;
    position: relative;
}

/* Base Links */
a { text-decoration: none; color: inherit; transition: color 0.2s ease, opacity 0.2s ease; }

/* Typographie DM Sans */
h1, h2, h3, h4, h5, h6, 
.fw-bold, .btn, .auth-title, .cat-label, .category-badge,
.hero-title, .section-title, .contact-label, .logo-text, .switch-text, .menu-text { 
    font-family: 'DM Sans', sans-serif; 
    font-weight: 700; 
}

.text-gray { color: var(--text-gray) !important; }
.text-pink { color: var(--color-pink) !important; }
.text-green { color: var(--color-green) !important; }
.text-small { font-size: 0.8rem; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.header-overlay, .header-logged { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; }

.header-logged { 
    background-color: var(--bg-dark); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    margin-bottom: 0; 
}

.header-container, .header-content { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }

.nav-center { display: flex; gap: 15px; }
.nav-link-custom { color: var(--text-gray); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 8px 16px; border-radius: 20px; transition: all 0.2s ease; letter-spacing: 0.5px; }
.nav-link-custom:hover, .nav-link-custom.active { color: white; background-color: rgba(255, 255, 255, 0.1); }
.nav-buttons-right, .nav-right { display: flex; align-items: center; gap: 20px; }

/* Dropdown Menu */
.hide-arrow::after { display: none !important; }
.user-avatar-trigger:hover { transform: scale(1.05); border-color: var(--color-pink-hover) !important; }

.custom-dropdown { background-color: var(--bg-card) !important; border: 1px solid var(--border-color) !important; padding: 10px !important; margin-top: 15px !important; min-width: 220px; border-radius: 12px !important; animation: fadeUp 0.2s ease-out; }
.custom-dropdown .dropdown-item { color: var(--text-gray) !important; font-size: 0.9rem; font-weight: 600; padding: 12px 15px; border-radius: 8px; transition: all 0.2s ease; display: flex; align-items: center; }
.custom-dropdown .dropdown-item:hover { background-color: rgba(255, 255, 255, 0.05) !important; color: white !important; transform: translateX(5px); }
.custom-dropdown .dropdown-item.text-danger:hover { background-color: rgba(220, 53, 69, 0.1) !important; color: #ff4d4d !important; }
.dropdown-divider { border-color: var(--border-color) !important; opacity: 0.5; margin: 8px 0; }

/* ==========================================================================
   3. LAYOUT & SPLIT PAGE (LOGIN / REGISTER / CONTACT / ACCUEIL)
   ========================================================================== */
.split-page { display: flex; width: 100%; min-height: 100vh; }

/* --- SIDEBAR GAUCHE (VIDÉO BACKGROUND) --- */
.left-side { 
    width: 50%; 
    height: 100vh; 
    position: fixed; 
    top: 0; 
    left: 0; 
    background-color: #000; 
    overflow: hidden; 
    z-index: 0; 
}

/* FIX CRITIQUE : La vidéo doit remplir TOUT le conteneur gauche */
.left-side video, .left-side img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    filter: brightness(0.7); 
    display: block;
}

/* Configuration de la partie droite */
.right-side { 
    width: 50%; 
    margin-left: 50%; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 2rem; 
    position: relative; 
    z-index: 1; 
}
.right-side.article-scroll { justify-content: flex-start; padding-top: 120px; padding-bottom: 80px; }

/* --- GESTION DU SCROLL INTELLIGENT & ESPACEMENT TITRE --- */
@media (min-width: 992px) {
    /* Sur PC : On bloque le body et on laisse scroller la droite */
    body.page-template-page-contact, 
    body.page-template-template-register, 
    body.page-template-template-login,
    body.home:not(.logged-in) {
        overflow: hidden;   
    }
    
    .contact-right, .right-side {
        height: 100vh;      
        overflow-y: auto;
        /* ALIGNEMENT HAUT + MARGE HEADER */
        justify-content: flex-start !important; 
        padding-top: 140px !important; 
        padding-bottom: 50px;
    }
}

@media (max-width: 991px) {
    /* Sur Mobile : Header fixe aussi, donc on pousse le contenu */
    .contact-right, .right-side { 
        height: auto; 
        justify-content: flex-start !important;
        padding-top: 120px !important; 
        padding-bottom: 50px;
    }
}

.main-dashboard { max-width: 1400px; margin: 0 auto; padding: 160px 20px 80px 20px; }
.dashboard-hero { background-color: rgba(6, 11, 30, 0.8); border-radius: 16px; padding: 60px; margin-bottom: 40px; border: 1px solid var(--border-color); text-align: center; }
.hero-title { font-size: 2rem; margin-bottom: 10px; }

/* ==========================================================================
   4. BOUTONS & FORMULAIRES
   ========================================================================== */
.btn-post-submit, .btn-header-signup, .submit-btn, input[type="submit"] {
    border-radius: 50px; padding: 12px 30px; font-weight: 700; cursor: pointer; 
    display: inline-block; text-align: center; font-size: 0.9rem; text-transform: uppercase; 
    text-decoration: none; font-family: 'DM Sans', sans-serif; transition: all 0.2s ease;
}

/* --- BOUTON PLEIN (ROSE) --- */
.btn-fill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-pink);
    color: var(--bg-dark); 
    border: 2px solid var(--color-pink);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 200px; 
}
.btn-fill:hover {
    background-color: white; 
    border-color: white; 
    color: var(--bg-dark); 
    transform: translateY(-2px);
}

/* --- BOUTON CONTOUR (OUTLINE) --- */
.btn-outline, .btn-outline-custom {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 200px; 
}
.btn-outline:hover, .btn-outline-custom:hover {
    background-color: white;
    border-color: white;
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Bouton Like (Cœur) : Taille automatique */
.like-btn {
    min-width: auto !important; 
    padding: 5px 15px !important;
}

/* Formulaires */
.form-control-custom, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea {
    width: 100%; padding: 14px 16px; background-color: var(--input-bg); border: 1px solid var(--border-color);
    border-radius: 8px; color: white; margin-bottom: 10px; box-sizing: border-box; font-family: 'Open Sans', sans-serif;
}
.form-control-custom:focus, input:focus, textarea:focus { border-color: var(--color-blue); outline: none; }
.auth-card { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }

/* Switch Login/Register */
.auth-toggle-pill { background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 50px; padding: 4px; display: inline-flex; }
.toggle-link { padding: 8px 20px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; color: var(--text-gray); text-decoration: none; transition: all 0.2s ease; }
.toggle-link:hover { color: white; }
.toggle-link.active { background-color: var(--color-pink); color: var(--bg-dark); }

.role-selector { background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.2s ease; height: 100%; display: flex; align-items: center; justify-content: center; }
.role-selector:hover { border-color: var(--color-pink-hover); transform: translateY(-2px); }
.role-selector.active { background: rgba(255, 193, 193, 0.1); border-color: var(--color-pink); }
.hover-pink:hover { color: var(--color-pink-hover) !important; }

/* Switch Studio */
.role-switch-container { display: inline-flex; align-items: center; gap: 20px; margin-top: 20px; background-color: rgba(255, 255, 255, 0.05); padding: 10px 30px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.1); }
.switch-text { font-size: 0.9rem; font-weight: 800; color: white; opacity: 0.5; text-transform: uppercase; cursor: pointer; transition: all 0.2s ease; }
.switch-text.active { color: var(--color-pink); opacity: 1; }
.switch { position: relative; display: inline-block; width: 60px; height: 30px; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #0B1120; transition: .4s; border: 1px solid var(--border-color); border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--color-pink); border-color: var(--color-pink); }
input:checked + .slider:before { transform: translateX(28px); background-color: #050A19; }

/* ==========================================================================
   5. CARTES & GRILLES
   ========================================================================== */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.cat-card, .video-card { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Badges */
.category-badge {
    position: absolute; top: 15px; left: 15px; padding: 6px 14px; border-radius: 50px; 
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase; z-index: 10; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.bg-green { background-color: var(--color-green); color: #050A19; }
.bg-pink { background-color: var(--color-pink); color: #050A19; }
.bg-purple { background-color: var(--color-purple); color: white; }

/* Styles spécifiques cartes (Images) */
.cat-card, .news-card { background-color: white; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.news-card { background-color: var(--bg-card); border: 1px solid var(--border-color); }

.cat-img, .news-img { height: 180px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; position: relative; }
.cat-img img, .news-img img { width: 100%; height: 100%; object-fit: cover; }

.cat-label {
    padding: 20px 15px; text-align: center; color: white; background-color: #131829; 
    font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 0.95rem; 
    text-transform: uppercase; letter-spacing: 2px; border-top: 1px solid rgba(0,0,0,0.05); 
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.cat-card:hover .cat-label { color: var(--color-pink-hover); letter-spacing: 3px; }

/* News Card Specifics (Communauté) */
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.read-more { margin-top: auto; font-size: 0.8rem; font-weight: 700; color: var(--color-pink); transition: color 0.2s ease; }
.read-more:hover { color: var(--color-pink-hover); }

/* --- GRILLE COMMUNAUTÉ (3 Colonnes) --- */
.comm-grid { 
    display: grid; 
    grid-template-columns: 260px 1fr 260px; 
    gap: 30px; 
    align-items: start; 
    position: relative;
}
.left-sidebar, .right-sidebar { width: 100%; }

/* Filtres Communauté */
.filter-link { padding: 12px 15px; border-radius: 8px; transition: all 0.2s ease; font-weight: 600; font-size: 0.9rem; color: var(--text-gray); display: flex; align-items: center; border-left: 3px solid transparent; }
.filter-link:hover { background-color: rgba(255, 255, 255, 0.05); color: white !important; padding-left: 20px; }
.filter-link.active-filter { background-color: rgba(255, 193, 193, 0.1); color: white !important; border-left-color: var(--color-pink); }

/* Posts Communauté */
.feed-posts .auth-card { border-left: 4px solid var(--color-pink); transition: transform 0.2s; }
.feed-posts .auth-card:hover { transform: translateY(-2px); }
.like-btn.liked i { font-weight: 900; color: #e91e63; animation: heartBeat 0.3s; }
.like-btn.liked span { color: #e91e63; font-weight: bold; }
@keyframes heartBeat { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* ==========================================================================
   6. RESPONSIVE & MOBILE
   ========================================================================== */
@media (max-width: 1200px) {
    .comm-grid { grid-template-columns: 220px 1fr; }
    .right-sidebar { display: none; }
}

@media (max-width: 992px) {
    .header-content { padding: 15px 20px; }
    .nav-center { display: none !important; }
    .categories-grid { grid-template-columns: 1fr; }
    .main-dashboard { padding: 160px 20px; }
    
    .split-page { flex-direction: column; }
    .left-side { width: 100%; height: 35vh; position: relative; }
    .right-side { width: 100%; margin-left: 0; min-height: 65vh; padding: 40px 20px; justify-content: flex-start; }
    .right-side .hero-title { font-size: 2rem; }
    
    /* --- COMMUNAUTÉ MOBILE (Version App Optimisée) --- */
    
    /* 1. Layout principal */
    .comm-grid { 
        display: flex; 
        flex-direction: column; 
        gap: 20px; 
    }

    /* 2. Sidebar Gauche (Filtres) */
    .left-sidebar { 
        display: block !important; 
        width: 100%;
        order: -1; 
        overflow: hidden; 
    }

    .left-sidebar .auth-card {
        padding: 5px 0 !important;
        background: transparent !important;
        border: none !important;
        margin-bottom: 0 !important;
        position: static !important; 
    }
    
    .left-sidebar h5 { display: none; } 

    /* Liste horizontale défilante */
    .left-sidebar .nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;       
        overflow-y: hidden;
        white-space: nowrap;    
        padding-bottom: 10px;   
        gap: 12px !important;
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none;  
        padding-left: 5px; 
    }
    .left-sidebar .nav::-webkit-scrollbar { display: none; }

    /* Boutons Filtres */
    .filter-link {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color) !important; 
        border-radius: 50px !important; 
        padding: 8px 20px;
        font-size: 0.85rem;
        flex-shrink: 0; 
        margin-bottom: 0;
        white-space: nowrap; 
    }
    .filter-link.active-filter {
        background-color: var(--color-pink);
        color: var(--bg-dark) !important;
        border-color: var(--color-pink);
    }
    .filter-link:hover { padding-left: 20px; background-color: var(--bg-card); color: var(--text-gray); }
    .filter-link.active-filter:hover { background-color: var(--color-pink); color: var(--bg-dark); }
    
    .filter-link i { margin-right: 8px !important; width: auto !important; }

    /* 3. Fil d'actualité */
    .center-feed { width: 100%; }

    .auth-card { padding: 20px !important; }

    /* Formulaire de publication empilé */
    .comm-grid form .d-flex { flex-wrap: wrap; gap: 15px !important; }
    .comm-grid form button { width: 100%; min-width: auto !important; }
    .comm-grid form select { width: 100% !important; background: var(--input-bg) !important; }

    /* 4. Masquer droite */
    .right-sidebar { display: none; }
    
    /* Formulaires Mobile */
    .role-switch-container { flex-direction: column; width: 100%; gap: 10px; }
}

/* ==========================================================================
   7. MODALES & MENU MOBILE (OFFCANVAS)
   ========================================================================== */
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(5, 10, 25, 0.85); backdrop-filter: blur(5px); z-index: 99999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.custom-modal-overlay.active { opacity: 1; visibility: visible; }
.custom-modal-box { width: 95%; max-width: 550px; background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 50px; transform: scale(0.8); transition: transform 0.4s; }
.custom-modal-overlay.active .custom-modal-box { transform: scale(1); }

/* Menu Mobile (Bouton flottant) */
.menu-floater { display: flex; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; background: #206BC4; border-radius: 50%; align-items: center; justify-content: center; color: white; border: none; z-index: 1050; font-size: 0.7rem; font-weight: 700; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.menu-floater.hidden { transform: translateX(-50%) scale(0); opacity: 0; }
.offcanvas-bottom { height: auto !important; max-height: 80vh; background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.1); border-radius: 25px 25px 0 0; }
.menu-carousel { display: flex; gap: 20px; overflow-x: auto; padding: 30px 20px; justify-content: flex-start; scroll-behavior: smooth; }
.menu-carousel::-webkit-scrollbar { display: none; }

/* Bouton Fermer Restauré */
.btn-close-menu { display: block; margin: 0 auto 30px auto; background: rgba(255,255,255,0.1); color: var(--text-gray); padding: 10px 30px; border-radius: 50px; border: none; font-size: 0.7rem; font-weight: 700; }
.modal-content { background-color: #000; border: 1px solid #333; }
.btn-close-white { filter: invert(1); }

/* ==========================================================================
   8. LOADER & ANIMATION GLOBALE
   ========================================================================== */
.loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-dark); z-index: 99999; display: flex; justify-content: center; align-items: center; flex-direction: column; transition: opacity 0.6s ease, visibility 0.6s ease; will-change: opacity; }
.loader-content { width: 300px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.loader-logo { width: 100px; height: auto; margin-bottom: 30px; animation: pulseLogo 2s infinite ease-in-out; }
.progress-container { width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; margin-bottom: 15px; position: relative; }
.progress-bar { height: 100%; width: 0%; background-color: var(--color-pink); border-radius: 10px; transition: width 0.1s linear; }
.progress-text { color: var(--text-gray); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; }
@keyframes pulseLogo { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }
.loader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

body.animations-start header, body.animations-start main, body.animations-start .split-page, body.animations-start .main-dashboard, body.animations-start .article-container, body.animations-start footer { animation: fadeUp 1.2s ease-out forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   9. STYLE DU MENU MOBILE (LINEICONS & TUILES "FLAT")
   ========================================================================== */

/* Conteneur principal de l'élément menu */
.menu-item {
    display: flex;             /* Active Flexbox */
    flex-direction: column;    /* Empile l'icône et le texte verticalement */
    align-items: center;       /* Centre tout horizontalement */
    justify-content: flex-start; 
    gap: 15px;                 /* Force un espace exact de 15px */
    
    min-width: 110px;          
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

/* Texte sous l'icône */
.menu-text {
    color: white;
    font-size: 0.8rem;         
    font-weight: 700;          
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Tuile de base (Sans "glow", sans gradient, style "Flat") */
.menu-icon-tile {
    width: 80px;
    height: 80px;
    margin: 0 auto; /* Centrage parfait */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: rgba(255, 255, 255, 0.03); /* Fond uni très léger */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Bordure discrète */
    transition: all 0.2s ease; /* Transition rapide */
    color: var(--text-gray);
}

/* Couleurs spécifiques (Icônes et Bordures uniquement) */
.tile-purple { color: #8C52FF; border-color: rgba(140, 82, 255, 0.3); }
.tile-blue   { color: #4AA3DF; border-color: rgba(74, 163, 223, 0.3); }
.tile-pink   { color: var(--color-pink); border-color: rgba(255, 193, 193, 0.3); }
.tile-green  { color: #2ecc71; border-color: rgba(46, 204, 113, 0.3); }
.tile-yellow { color: #f1c40f; border-color: rgba(241, 196, 15, 0.3); }
.tile-orange { color: #e67e22; border-color: rgba(230, 126, 34, 0.3); }
.tile-red    { color: #e74c3c; border-color: rgba(231, 76, 60, 0.3); }
.tile-gray   { color: #bdc3c7; border-color: rgba(189, 195, 199, 0.3); }

/* Effet Hover Menu (Sobre : remonte légèrement + couleur de bordure plus vive) */
.menu-item:active .menu-icon-tile,
.menu-item:hover .menu-icon-tile { 
    transform: translateY(-5px); 
    background-color: rgba(255, 255, 255, 0.08); 
    border-color: currentColor; 
}

/* CORRECTION: Couleur foncée au survol */
.menu-item:hover .tile-pink {
    color: var(--color-pink-hover);
    border-color: var(--color-pink-hover);
}

.menu-item:hover { opacity: 1; }

/* ==========================================================================
   10. STYLE DU PIED DE PAGE & ICÔNES SOCIALES
   ========================================================================== */

/* Cercles des réseaux sociaux */
.social-circle {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray); font-size: 1.2rem; transition: all 0.2s ease; text-decoration: none;
}

/* Cercles MINI (Pour le Menu Mobile) */
.social-circle.social-mini { width: 32px; height: 32px; font-size: 0.9rem; border-color: rgba(255, 255, 255, 0.05); }

/* Hover Social (Simple changement de couleur, pas de halo) */
.social-circle:hover { background-color: var(--color-pink-hover); color: var(--bg-dark); transform: translateY(-3px); border-color: var(--color-pink-hover); }

/* Lien Privacy Policy */
.hover-white:hover { color: white !important; text-decoration: underline !important; }

/* ==========================================================================
   11. STYLE PAGE CONTACT (COULEUR & ANIMATION TUILES)
   ========================================================================== */
.contact-box {
    background-color: rgb(6, 11, 30) !important; /* COULEUR FIXE DEMANDÉE */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Au survol de la boîte, l'icône grandit légèrement, sans lueur */
.contact-box:hover .menu-icon-tile {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   12. FIX: CENTRAGE VERTICAL ACCUEIL (FRONT-PAGE)
   ========================================================================== */
@media (min-width: 992px) {
    /* On cible spécifiquement la page d'accueil (.home) pour annuler le padding top et forcer le centrage */
    body.home .right-side {
        justify-content: center !important; 
        padding-top: 0 !important;          
        padding-bottom: 0 !important;
    }
}

/* ==========================================================================
   13. FIX: VIDÉOS & EMBEDS RESPONSIVES
   ========================================================================== */
.entry-content iframe, 
.video-container iframe,
iframe[src*="youtube.com"],
iframe[src*="vimeo.com"],
embed, object {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* Assure un format vidéo parfait */
    display: block;
}

/* ==========================================================================
   14. UNIFORMISATION DES FORMULAIRES (AJOUT)
   ========================================================================== */

/* Conteneur principal (Largeur Login) */
.content-box-auth {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Labels des formulaires */
.form-label-custom {
    color: white;
    font-size: 0.85rem; /* small */
    font-weight: 700;   /* fw-bold */
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'DM Sans', sans-serif;
}

/* Champs de saisie standardisés */
.form-control-custom {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    width: 100%;
    margin-bottom: 15px; /* Espacement standard */
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--color-pink) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 193, 193, 0.1);
    background-color: #081025 !important; /* Très léger éclaircissement au focus */
}

/* Boutons de soumission (Style Login) */
.btn-auth-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-pink);
    color: var(--bg-dark);
    font-weight: 800;
    border-radius: 50px;
    border: 2px solid var(--color-pink);
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background-color: white;
    border-color: white;
    color: var(--bg-dark);
    transform: translateY(-2px);
}