<!-- ===== HERO ===== -->
.hero{
    /* Permet le positionnement absolu des éléments internes (comme le titre) */
    position: relative;
    max-width: 1200px;
    margin: 20px auto 40px;
    border-top: 4px solid #0ea574;
    border-bottom: 4px solid #0ea574;
}

.hero h1{

    /* Permet de placer le titre librement sur l’image */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;

    /* Ombrage pour rendre le texte lisible sur l’image */
    text-shadow:
        0 3px 10px rgba(0,0,0,0.35),
        0 8px 30px rgba(0,0,0,0.45);

    /* Met le texte au-dessus de l’image */
    z-index: 5;
}

.hero-carousel .item img{
    width: 100%;
    height: 360px;
    object-fit: cover;   
}

/* Positionne les indicateurs (points) en bas du carrousel */
#myCarousel .carousel-indicators{
    bottom: 10px;
    
}

#myCarousel .carousel-control{
    background: transparent;
    width: 8%;
}

#myCarousel .glyphicon{
    font-size: 40px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== TITRES GÉNÉRAUX ===== */
.welcome-section h2,
main h2{
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #0c6b3f;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

/* ===== WELCOME / BIENVENUE ===== */
.welcome-section{
    max-width: 1200px;
    margin: 0 auto 40px;
    background: #ffffff;
    padding: 40px 60px 60px;
}

.welcome-section p{
    font-size: 2.0rem;
    line-height: 1.8;
}

.welcome-buttons{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.btn-pill{
    background: #0ea574;
    border: none;
    border-radius: 999px;
    padding: 15px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

.btn-pill:hover,
.btn-pill:focus{
    background: #0c825c;
    color: #ffffff;
}

/* ===== A PROPOS ===== */
main{
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 40px 60px 60px;
    background: #ffffff;
}

main p{
    font-size: 2.0rem;
    line-height: 1.8;
}

main img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
}

/* ===== A PROPOS ===== */
.about-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    background: #ffffff;
    padding: 40px 60px 60px;
}

.about-title {
    font-weight: 700;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    gap: 60px;
    flex-direction: column;
}

.about-image {
    width: 30%;
    max-width: 520px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    margin: 0;
    display: block;
    border-radius: 12px;
}

.about-caption {
    margin-top: 10px;
    font-size: 1.3rem;
    font-style: italic;
    color: #555;
    text-align: left;
}

.about-image,
.about-text {
    flex: 1;
}

.about-text h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: center;
}


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


@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image img {
        max-width: 100%;
        margin: 0 auto;
    }
}
