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

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    color: #2c3e50;
    line-height: 1.6;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section img:first-child {
    width: 170px;
    margin-bottom: 25px;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 1;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- BOUTON RETOUR --- */
.retour {
    margin: 40px 0 30px;
    text-align: center;
}

.retour a {
    background-color: #0d6efd;
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.retour a:hover {
    background-color: #084fc1;
    transform: translateY(-2px);
}

/* --- TARIF SECTION --- */
.tarif-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #fff;
}

.tarif-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    width: 270px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarif-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.tarif-item h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 10px;
}

.tarif-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
}

/* --- PRODUITS --- */
.products-section {
    padding: 70px 20px;
    text-align: center;
    background-color: #f1f4f8;
}

.products-section h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 10px;
}

.products-section h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.product-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.product-list li {
    list-style: none;
    width: 600px;
    height: 650px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.product-list li:hover {
    transform: scale(1.015);
}

.product-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-list img:hover {
    transform: scale(1.05);
}

/* --- WARNING --- */
.warning {
    background-color: #dc3545;
    color: white;
    font-weight: 600;
    padding: 18px;
    margin: 50px auto;
    max-width: 850px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
}

/* --- FORMULAIRE --- */
.form-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.2rem;
    }

    .product-list {
        flex-direction: column;
    }

    .product-list li {
        width: 100%;
        height: auto;
    }

    .tarif-item {
        width: 90%;
    }

    .tarif-section {
        padding: 40px 15px;
    }
}