/* --- GLOBAL --- */

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    color: #fff;

    background-image: url("img/Fond1.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* --- LOGO --- */

.logo-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.logo {
    width: 340px;
    height: auto;
    opacity: 0.95;
}

/* --- CARDS --- */

.cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 40px;
    flex-wrap: wrap;
}

/* PANNEAU CLIQUABLE */
.panel {
    width: 260px;
    height: 420px;

    border-radius: 20px;
    overflow: hidden;

    background-size: cover;
    background-position: center;

    clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);

    display: block;
    transition: transform 0.25s ease-out;
    position: relative;

    background-image: var(--img);
}

/* HOVER → SWAP IMAGE */
.hover-swap:hover {
    background-image: var(--imghover);
}

/* ZOOM */
.panel:hover {
    transform: translateY(-10px) scale(1.04);
}

/* --- MOBILE --- */

@media (max-width: 900px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
}
