/* (c) 2026 - Created by Philazerty

/* ===== POLICES LOCALES ===== */
/* MuseoModerno - Polices personnalisées */
@font-face {
    font-family: 'MuseoModernoThin';
    src: url('../fonts/MuseoModerno-Thin.woff2') format('woff2'),
         url('../fonts/MuseoModerno-Thin.woff') format('woff'),
         url('../fonts/MuseoModerno-Thin.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Affiche le texte pendant le chargement */
}

@font-face {
    font-family: 'MuseoModernoBold';
    src: url('../fonts/MuseoModerno-Bold.woff2') format('woff2'),
        url('../fonts/MuseoModerno-Bold.woff') format('woff'),
        url('../fonts/MuseoModerno-Bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoModernoItalic';
    src: url('../fonts/MuseoModerno-ThinItalic.woff2') format('woff2'),
         url('../fonts/MuseoModerno-ThinItalic.woff') format('woff'),
         url('../fonts/MuseoModerno-ThinItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ==== NAVBAR ==== */


/* ===== STYLES DE BASE ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('../images/background3_color_light.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* optionnel : effet parallax figé */

    /* On empèche le scroll horizontal */
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== POLICE POUR LES TITRES ===== */
/* Applique MuseoModerno à TOUS les titres (h1 à h6) */
h1, h2, h3, h4, h5, h6,
.display-4, .display-5, .display-6,
.navbar-brand, .card-title {
    font-family: 'MuseoModernoThin', sans-serif !important;
    font-weight: 400; /* Poids normal pour MuseoModerno */
}

/* Style spécifique pour les titres principaux */
.display-4, .display-5 {
    letter-spacing: -0.5px;
}

/* ===== STYLE DES CARTES ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ===== STYLE DES BOUTONS ===== */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.3s ease;
    font-family: 'MuseoModernoThin', sans-serif; /* Police pour les boutons */
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    font-family: 'MuseoModernoThin', sans-serif; /* Police pour les boutons */
}

/* ===== STYLE DE LA NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: normal;   /* autorise le retour à la ligne si besoin */
    word-break: break-word;
}
.navbar-nav {
        align-items: center;
    }
.nav-link {
        display: inline-flex;
        align-items: center;
        height: 40px; /* Hauteur uniforme */
        padding: 0 0.5rem;
}
.navbar .nav-link.active {
        color: white !important; /* Lien actif : blanc pur */
        font-weight: bold; /* En gras pour plus de visibilité */
    }
.nav-link:hover {
    color: #81aae8 !important;
}
.navbar-brand {
        height: 40px;
 }

.tooltip {
        --bs-tooltip-bg: #0d6efd; /* Fond bleu Bootstrap */
        --bs-tooltip-color: white; /* Texte blanc */
        --bs-tooltip-arrow-bg: #0d6efd; /* Flèche bleue */
    }

h3 {
  font-weight: 900 !important;
}

/* ===== SECTION HERO ===== */
/* Fond semi-transparent (le texte reste net) */
.hero-section {
    background-color: rgba(255, 255, 255, 0.8); /* ajuste 0.5 selon l'effet voulu */
}

/* ===== STYLE DES 3 CADRES (Features) ===== */
/* Remplace le bg-light plein par un fond blanc semi-transparent, texte inchangé */
.feature-box {
    background-color: rgba(255, 255, 255, 0.8) !important; /* ajuste 0.6 selon l'effet voulu */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-box:hover {
    background-color: rgba(255, 255, 255) !important;
    transform: translateY(-8px);
}

/* ===== STYLE DU FOOTER ===== */
footer {
    margin-top: 2rem;
    font-family: 'MuseoModernoThin', sans-serif !important;
    font-weight: 400; /* Poids normal pour MuseoModerno */
    opacity: 0.8;
}

footer a {
        text-decoration: none !important;
    }

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }
    .navbar {
            background-color: rgba(0, 0, 0, 0.7) !important; /* Fond blanc transparent */
            /*  backdrop-filter: blur(5px); /* Effet flou */
        }
    }
}