/* ========================= */
/* BOUTONS VISUELS */
/* ========================= */

.glass-buttons {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.glass-btn {
    position: relative;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

.glass-btn:hover {
    transform: translateY(-4px);
}

/* IMAGE = FOND DU BOUTON */
.glass-btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* REMPLIT LE BOUTON */
}

/* FILTRE POUR LIRE LE TEXTE */
.glass-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.05)
    );
}

/* TEXTE SUR IMAGE */
.glass-btn span {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgb(35, 129, 133);
    text-align: center;
}
/* ========================= */
/* RESET & BASE */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(180deg, #c382e4, #be85d3);
    color: #fff3f3;
    min-height: 100vh;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
    background: linear-gradient(135deg, #6a0572, #b06ab3);
    color: rgb(180, 126, 126);
    padding: 42px 16px 30px;
    text-align: center;
}

.hero h1 {
    font-size: 1.55rem;
    font-weight: 600;
}

.hero p {
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.95;
}

/* ========================= */
/* BOUTONS VISUELS (CONSERVÉS) */
/* ========================= */

.glass-buttons {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.glass-btn {
    position: relative;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.glass-btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glass-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.05)
    );
}

.glass-btn span {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

/* ========================= */
/* CARTES */
/* ========================= */

.card {
    background: rgba(255, 255, 255, 0.95);
    max-width: 520px;
    margin: 15px auto;
    border-radius: 10px;
    box-shadow: 0 7px 15px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* IMAGE CARTE – PROPRE & ENTIÈRE */
.card img {
    width: 100%;
    height: auto;          /* IMPORTANT */
    object-fit: contain;
    display: block;
}

/* EFFET FLOTTANT SUR LA PHOTO */
.card:hover img {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 20px 40px rgba(106, 5, 114, 0.35);
}


/* CONTENU */
.card h2 {
    padding: 16px 16px 6px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #6a0572;
}

.card p {
    padding: 0 16px 18px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #333;
}

/* ========================= */
/* TABLEAU */
/* ========================= */

table {
    width: 92%;
    margin: 16px auto 24px;
    border-collapse: collapse;
    font-size: 0.8rem;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

th {
    background: #6a0572;
    color: white;
    padding: 10px;
}

td {
    padding: 9px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* ========================= */
/* BOUTON FLOTTANT */
/* ========================= */

.floating-btn {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    background: #6a0572;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.3);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.4rem;
    }
}
/* ========================= */
/* FOOTER */
/* ========================= */

.site-footer {
    background: linear-gradient(135deg, #6a0572, #b06ab3);
    color: white;
    text-align: center;
    padding: 16px 10px;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.site-footer a:hover {
    color: #f1c1f5;
}


