@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    font-family: "Poppins", sans-serif;
}

/* ----------------- Header ----------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #dbe5f1;
    height: 76px;
}

.column {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav {
    gap: 0;
}

.nav-btn {
    background-color: #dbe5f1;
    color: black;
    font-family: 'Poppins', sans-serif;
    border: none;
    height: 96px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease-in-out, font-size 0.3s, color 0.3s;
}

.nav-btn:hover {
    background-color: #0056b3;
    color: white;
    font-size: 1.2em;
}

/* ----------------- Brand ----------------- */
.brand-name {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f8f8;
}

.brand-name h1 {
    font-size: 3em;
    color: #333;
}

/* ----------------- Cards ----------------- */
.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px auto;
}

.card {
    flex: 0 0 auto;
    width: 80%;
    /* max-width: 400px; */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    background-color: white;
}

.card img {
    width: 100%;
    height: auto;
    /* Hauteur auto pour conserver les proportions */
    object-fit: contain;
    /* Pas de rognage */
    border-radius: 8px;
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    /* taille ajustée pour mobile */
}

.view-btn {
    margin-top: 10px;
    padding: 10px 25px;
    font-size: large;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.view-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.view-btn:not(:hover) {
    background-color: #007bff;
    transform: scale(1);
}

/* ----------------- Footer ----------------- */
.site-footer {
    background-color: #f0f0f0;
    color: #333;
    padding: 30px 20px;
    font-size: 0.95em;
    border-top: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-item {
    flex: 1 1 200px;
}

.footer-item a {
    color: #0056b3;
    text-decoration: none;
}

.footer-item a:hover {
    text-decoration: underline;
}

/* ----------------- Media Queries Mobile ----------------- */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .header img {
        width: 60px;
        /* Ajuste selon besoin */
        height: auto;
    }

    .nav-btn {
        font-size: 0.9em;
        height: auto;
    }

    .brand-name h1 {
        font-size: 2em;
        padding: 30px 0 20px 0;
    }

    .card-container {
        flex-direction: column;
        gap: 15px;
    }

    .card {
        width: 95%;
        height: auto;
    }

    .card h3 {
        font-size: 1.2em;
    }

    .view-btn {
        padding: 8px 20px;
        font-size: 1em;
    }
}