/* ✅ Bannière de la page */
#hero-ambassadrice {
    background: url("../img/ambassadrice-banner.jpg") center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    padding: 20px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
}

/* ✅ Section Histoire */
#histoire {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.histoire-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.histoire-container img {
    width: 40%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.histoire-text {
    max-width: 50%;
    font-size: 18px;
    line-height: 1.6;
}

/* ✅ Section Engagement */
#engagement {
    text-align: center;
    padding: 50px;
    background: #f9f9f9;
}

#engagement h2 {
    color: #0096D7;
}

/* ✅ Section Citation */
#citation {
    text-align: center;
    padding: 50px;
    background: #E81E6F;
    color: white;
    font-style: italic;
    font-size: 24px;
}

/* 📌 ✅ Responsive Design - Adaptation pour Tablette et Mobile */
@media (max-width: 1024px) {
    #hero-ambassadrice {
        height: 40vh;
        font-size: 20px;
        padding: 15px;
    }

    .hero-content {
        max-width: 90%;
    }

    #histoire {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .histoire-container {
        flex-direction: column;
        gap: 20px;
    }

    .histoire-container img {
        width: 70%; /* Réduction pour tablette */
    }

    .histoire-text {
        max-width: 90%;
        font-size: 16px;
    }

    #engagement {
        padding: 40px 20px;
    }

    #citation {
        font-size: 22px;
        padding: 40px 20px;
    }
}

/* ✅ Adaptation pour mobile */
@media (max-width: 768px) {
    #hero-ambassadrice {
        height: 35vh;
        font-size: 18px;
        padding: 10px;
    }

    .hero-content {
        max-width: 95%;
    }

    #histoire {
        padding: 30px 15px;
    }

    .histoire-container img {
        width: 85%;
    }

    .histoire-text {
        max-width: 100%;
        font-size: 16px;
    }

    #engagement {
        padding: 30px 15px;
    }

    #citation {
        padding: 30px 15px;
        font-size: 20px;
    }
}

/* ✅ Ultra mobile (petits écrans type iPhone SE) */
@media (max-width: 480px) {
    #hero-ambassadrice {
        height: 30vh;
        font-size: 16px;
        padding: 5px;
    }

    .hero-content {
        padding: 12px;
        max-width: 100%;
    }

    .histoire-container img {
        width: 100%;
    }

    .histoire-text {
        font-size: 14px;
        line-height: 1.5;
    }

    #engagement {
        padding: 25px 10px;
    }

    #citation {
        font-size: 18px;
        padding: 20px 10px;
    }
}
