/* Permet à body de prendre toute la hauteur et de gérer le footer */
html, body {
    height: 100%;
    margin: 0;
}

.welcome {
    display: flex;
    flex-direction: column;
    background: url('../images/divers/background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Le contenu principal prend tout l'espace disponible */
.main-content {
    flex: 1;
}

.main-content .row {
    max-width: 1100px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: white;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ccc; /* optionnel, pour un petit séparateur */
}

/* Responsive si tu utilises Bootstrap */
.row {
    margin: 0;
}

/* Card avec fond semi-transparent */
.hover-card {
    background-color: rgba(255, 255, 255, 0.85); /* blanc translucide */
    border-radius: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(5px); /* effet glassmorphism */
}

.hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Bandeau mini juste au-dessus du footer */
.stats-mini-footer {
    background: #fff;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;   /* très fin */
    max-width: 60%;
    margin: 2rem auto 1rem auto;  /* espace au-dessus et en dessous */
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Chaque item */
.stat-item {
    min-width: 60px;
}

/* Chiffre principal */
.stat-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4f46e5;
    line-height: 1.2;
}

/* Icône sous le chiffre */
.stat-icon {
    font-size: 0.7rem;
    line-height: 1.1;
}

/* Label très petit */
.stat-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.3px;
}

.qui-sommes-nous {
    background: #f8f9fa; /* léger gris clair pour distinguer la section */
    border-radius: 12px;
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.qui-sommes-nous h2 {
    color: #1f2937;
}

.qui-sommes-nous p {
    color: #6b7280;
    font-size: 1rem;
}

/* Image responsive et esthétique */
.qui-sommes-nous img {
    max-width: 100%;
    height: auto;
}

#flash-message-user {
  padding-bottom: 25px;
  padding-top: 25px;

}

#flash-message{
  padding-bottom: 0px;
  padding-top: 0px;

}

.small-section {
    font-size: 0.9rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
    background: #f8f9fa;
}

.small-section h6 {
    font-size: 1rem;
    cursor: pointer;
}

.toggle-icon {
    font-size: 0.9rem;
    margin-left: 6px;
    color: #6c757d;
}