/* =================================================================
   ESPACE ARTISTE - STYLES HARMONISÉS AVEC LE SITE PRINCIPAL
   Structure : Hero (texte + image) + Section connexion (fond blanc)
   ================================================================= */

/* Hero spécifique à l'espace artiste - fond d'image avec overlay */
#espace-artiste.hero {
    background: linear-gradient(180deg, rgba(7,11,18,.72) 0%, rgba(7,11,18,.92) 100%),
                url('../../images/soaimadagasikara_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Badge live dans le hero */
#espace-artiste .badge-live {
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

#espace-artiste .badge-live .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FBBF24;
    display: inline-block;
    box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.14);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Texte secondaire dans le hero */
#espace-artiste .text-body-secondary {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* Image de la fille dans le hero */
#espace-artiste .img-fluid {
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

/* Boutons dans le hero */
#espace-artiste .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

#espace-artiste .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =================================================================
   SECTION CONNEXION - FOND BLANC
   ================================================================= */

#connexion,
#inscription {
    background: #ffffff;
}

#connexion .card,
#inscription .card {
    background: #ffffff;
    border-radius: 1rem;
}

#connexion .form-control,
#inscription .form-control {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #070b12;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

#connexion .form-control:focus,
#inscription .form-control:focus {
    background: #ffffff;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.15);
    outline: none;
}

#connexion .form-control::placeholder,
#inscription .form-control::placeholder {
    color: #6c757d;
}

#connexion .form-label,
#inscription .form-label {
    color: #070b12;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#connexion .btn-primary,
#inscription .btn-primary {
    padding: 0.75rem 2rem;
}

#connexion .card-body h2,
#inscription .card-body h2 {
    color: #070b12;
}

#connexion .card-body p,
#inscription .card-body p {
    color: #6c757d;
}

#connexion .link-primary,
#inscription .link-primary {
    color: #0EA5E9;
    text-decoration: none;
}

#connexion .link-primary:hover,
#inscription .link-primary:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Textes d'aide du formulaire */
#inscription .form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Validation Bootstrap 5 */
#inscription .is-invalid {
    border-color: #dc3545;
}

#inscription .is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

#inscription .is-valid {
    border-color: #198754;
}

#inscription .is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.15);
}

/* =================================================================
   SECTION INFORMATIONS - FOND GRIS CLAIR
   ================================================================= */

section.bg-body-tertiary .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

section.bg-body-tertiary .card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

section.bg-body-tertiary .icon {
    font-size: 2.5rem;
    line-height: 1;
}

section.bg-body-tertiary .card-body h3 {
    color: #070b12;
}

section.bg-body-tertiary .card-body p {
    color: #6c757d;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 991.98px) {
    #espace-artiste.hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    #espace-artiste h1 {
        font-size: 2rem;
    }
    
    #espace-artiste .img-fluid {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    #espace-artiste h1 {
        font-size: 1.75rem;
    }
    
    #connexion .card-body {
        padding: 2rem 1.5rem;
    }
}
