@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Gebuk';
    src: url('../font/gebuk.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #315D8E, #1a3a5c);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

header img {
    width: 80px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

header h1 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ===== MAIN ===== */
main {
    flex: 1;
    padding: 30px 20px 100px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

main h2 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    text-align: center;
    margin: 0;
}

.contain-info {
    background-color: #e3e8f0;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    width: 100%;
}

.contain-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    display: none;
}

/* ===== BOUTON ACCÈS GROUPE ===== */
.acces_groupe {
    display: inline-block;
    padding: 14px 32px;
    background-color: #315D8E;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(49, 93, 142, 0.4);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.acces_admin {
    font-size: 0.8rem;
    color: #626262;
    text-decoration: none;
    transition: color 0.2s;
}

.acces_admin:hover {
    color: #315D8E;
}

.acces_groupe:hover {
    background-color: #1a3a5c;
    box-shadow: 0 6px 20px rgba(49, 93, 142, 0.5);
}

/* ===== CARTES STATS ===== */
.contain-card {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.card {
    background-color: white;
    flex: 1;
    min-width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card h3 {
    font-size: 2.2rem;
    margin: 0;
    color: #315D8E;
    font-family: 'Gebuk', sans-serif;
    line-height: 1;
}

.card p {
    font-size: 0.85rem;
    margin: 6px 0 0;
    color: #777;
    text-align: center;
    padding: 0 8px;
}

/* ===== FOOTER ===== */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a3a5c;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
}

footer p {
    margin: 0;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}
