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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Image de fond */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Logo centré */
.hero-logo-center {
    display: block;
    max-width: 300px;
    margin: 40px auto 10px auto;
    position: relative;
    z-index: 2;
}

/* Overlay texte (facultatif) */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* --- BOUTONS / LIENS SECTIONS --- */
.link-container {
    display: inline-block;
    margin: 20px;
    text-align: center;
}

.btn-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #ffffff;
    color: #222;
    border: 3px solid #37a9bc;
    border-radius: 15px;
    width: 300px;
    height: 300px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.4rem;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
}

.btn-link:hover {
    background-color: #e1f5fa;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.btn-link:hover .btn-img {
    transform: scale(1.1);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .link-container {
        display: block;
        margin: 20px auto;
    }

    .btn-link {
        width: 90%;
        max-width: 320px;
        height: auto;
        padding: 25px;
    }

    .btn-img {
        width: 120px;
        height: 120px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-logo-center {
        max-width: 200px;
        margin-top: 10px;
        transform: translateY(-30px);
        /* Réhaussement mobile */
    }
}