/* --- IMPORTATION POLICE GOOGLE (Poppins) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Couleurs basées sur le logo */
:root {
    --primary-color: #581845; /* Violet foncé */
    --accent-color: #FFC300;  /* Jaune */
    --secondary-color: #C70039; /* Rouge */
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif; /* Police plus moderne */
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px); /* Effet de flou moderne */
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Boutons */
.btn {
    border-radius: 50px; /* Boutons plus arrondis (tendance actuelle) */
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a0f2d;
    border-color: #3a0f2d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 24, 69, 0.3);
}

.text-warning {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero Section avec NOUVELLE image de fond (Bâtiment) */
.hero-section {
    /* Utilisation de l'image du bâtiment avec filtre */
    background: linear-gradient(rgba(88, 24, 69, 0.6), rgba(88, 24, 69, 0.4)), url('img/france.jpeg');
    background-size: cover;
    background-position: center;
    height: 90vh; /* Un peu plus grand */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.section-title {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.custom-quote {
    border-left: 5px solid var(--accent-color); /* Jaune pour ressortir */
    padding-left: 20px;
    font-style: italic;
    color: #555;
    background: #fff;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Galerie */
.gallery-img {
    width: 100%;
    height: 200px; /* Force une hauteur identique pour la grille */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Outils accessibilité */
.accessibility-tools {
    position: fixed;
    right: 20px;
    top: 50%; /* Centré verticalement */
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.accessibility-tools button {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.accessibility-tools button:hover {
    background: var(--primary-color);
    color: white;
}