/* Background image global de la page */
body {
    background-image: url(/images/bg.jpg);
}

:root{
    --mabb-blue-1:#0b4fa3;
    --mabb-blue-2:#063a55;
    --mabb-orange:#ff8c00; /* modifié : #ff7a00 → #ff8c00 (plus lumineux, demande Willy) */
    --mabb-red:#ff3b2f;
}

/* Fond bleu global de la page (car ton div principal a style="") */
.mabb-hero{
    min-height: 100vh;
    display:flex;
    align-items:center;
    padding: 90px 0 40px; /* laisse de la place si navbar fixe */
    background: radial-gradient(circle at 20% 20%, #1c88b6 0%, var(--mabb-blue-1) 45%, var(--mabb-blue-2) 100%);
}

/* Titre effet "lettres qui ressortent" */
.mabb-title{
    font-weight: 800;
    letter-spacing: .5px;
    text-shadow:
        0 3px 0 rgba(0,0,0,0.20),
        0 10px 25px rgba(0,0,0,0.45);
}

/* Bloc image plus "premium" */
.mabb-photo{
    border: 6px solid rgba(255,255,255,0.75);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.06);
}

/* Texte: rendre lisible sur fond bleu */
.mabb-desc p{
    color: rgba(255, 255, 255, 0.973);
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
    line-height: 1.8;
    text-shadow:
        0 3px 0 rgba(0,0,0,0.20),
        0 10px 25px rgba(0,0,0,0.45);
}

.mabb-desc p.text-white-50{
    color: rgba(255, 255, 255, 0.966) !important;
}

/* Boutons sociaux : ombre + relief + hover rouge */
.mabb-btn{
    background: linear-gradient(90deg, #ff8c00, #ff5500); /* modifié */
    border: none;

    box-shadow:
        0 7px 0 rgba(0,0,0,0.22),
        0 18px 35px rgba(0,0,0,0.35);

    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, filter .12s ease;
}

.mabb-btn:hover{
    background: linear-gradient(90deg, var(--mabb-red), var(--mabb-orange));
    transform: translateY(-2px);
    filter: brightness(1.05);

    box-shadow:
        0 9px 0 rgba(0,0,0,0.22),
        0 22px 40px rgba(0,0,0,0.45);
}

.mabb-btn:active{
    transform: translateY(2px);
    box-shadow:
        0 4px 0 rgba(0,0,0,0.20),
        0 12px 22px rgba(0,0,0,0.30);
}

/* Option: rendre les boutons plus "carrd" (même hauteur partout) */
.mabb-btn.btn-lg{
    height: 56px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Responsive: aérer un peu sur mobile */
@media (max-width: 991px){
    .mabb-hero{ padding-top: 30px; }
}

/* =================================================================
   AJOUTS — restructuration vitrine mars 2026
   ================================================================= */

/* Textes blancs sur fond bleu — règle globale
   Problème identifié : .section-title utilisait color:#063a55 partout,
   même sur les sections à fond bleu → illisible.
   Règle : fond bleu = texte blanc / fond blanc ou gris = texte dark */

.mabb-hero h1, .mabb-hero h2, .mabb-hero h3,
.mabb-hero .section-title,
.mabb-hero p:not(.text-white):not(.text-white-50) {
    color: #ffffff;
}

.page-header h1, .page-header h2, .page-header p {
    color: #ffffff;
}
.page-header .text-muted {
    color: rgba(255,255,255,0.75) !important;
}

.section-blue h1, .section-blue h2, .section-blue h3,
.section-blue p, .section-blue .section-title {
    color: #ffffff;
}
.section-blue .text-muted {
    color: rgba(255,255,255,0.75) !important;
}

/* Bouton "Aide au devoir" bleu */
.btn-bleu-mabb {
    background: #1c88b6;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-bleu-mabb:hover {
    background: #0b4fa3;
    color: #fff;
    transform: translateY(-1px);
}

/* Bouton filtre page Membres — défini dans vitrine.css (blanc + border orange) */

/* Bouton inscription (navbar) */
.btn-inscription {
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
    text-decoration: none;
}
.btn-inscription:hover {
    background: linear-gradient(135deg, #ff5500, #ff8c00);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,140,0,.35);
}

/* Navbar fond bleu MABB */
.navbar-mabb {
    background: linear-gradient(135deg, #063a55, #0b4fa3) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Backgrounds orange — réservés pages joueuses (Phase V2) */
.bg-orange-1 {
    background-image: url('/images/bg-orange1.png');
    background-size: cover;
    background-position: center;
}
.bg-orange-2 {
    background-image: url('/images/bg-orange2.png');
    background-size: cover;
    background-position: center;
}
.bg-2 {
    background-image: url('/images/bg2.png');
    background-size: cover;
    background-position: center;
}
