/* ========== ACCUEIL PAGE ========== */

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    width: 100%;
    display: inline-block;
}

.image_introduction {
    width: 100%;
    height: auto;
    display: block;
}


.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 75px;
    font-family: 'Parisienne', cursive;;
    text-align: center;
}


@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 40px; /* titre plus petit sur mobile */
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .image_introduction {
        height: auto;
    }
}


/* ========== SECTION À PROPOS (ACCUEIL) ========== */
.section-apropos {
    margin: 100px;
    padding: 3rem 2rem;
}

.apropos-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 100%;
    margin: 0;
    justify-content: flex-end;
    padding-right: 3rem;
}

.apropos-content {
    flex: 1;
    padding-left: 37px;
    padding-right: 37px;

}

.apropos-titles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.apropos-titles h2 {
    font-size: 45px;
    color: #470B24;
}

.apropos-titles h3 {
    font-size: 32px;
    color: #470B24;
}

.apropos-content p {
    font-size: 16px;
    margin-bottom: 1.5rem;
    max-width: 500px;
    color: #1F1B1B;
}

.button-en-savoir-plus {
    display: inline-block;
    padding: 12px 24px;
    background-color: #470B24;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.button-en-savoir-plus:hover {
    background-color: #B1BAE1;
}

.apropos-image img {
    width: 262px;
    height: 309px;
    object-fit: cover;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .apropos-container {
        flex-direction: column;
    }

    .apropos-content {
        text-align: start;
        padding: 0;
    }

    .apropos-content p {
        max-width: 100%;
        margin: 0;
    }

    .apropos-image img {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
}

/* ========== SECTION PROJETS (CARTES) ========== */

.row {
    margin-left: 40px;
    margin-right: 40px;
}

.card {
    width: 410px;
    height: 480px;
    cursor: pointer;
    transition: transform 0.15s ease;
    border: 3px solid #B1BAE1;
    border-radius: 8px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:active {
    transform: scale(0.98);
}

.card:hover {
    transform: scale(1.05);
}

.projets {
    background-color: #470B24;
    padding: 4rem 0;
}

.titre-ligne {
    text-align: center;
    margin-bottom: 2rem;
}

.titre-ligne h2 {
    font-size: 45px;
    color: white;
}

.button-voir-tous-les-projets {
    display: block;
    font-size: 20px;
    text-align: right;
    margin-right: 80px;
    background-color: none;
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .row {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card {
        width: 90%;
        height: auto;
        left: 5%;
    }

    .card img {
        height: auto;
    }

    .button-voir-tous-les-projets {
        margin: 20px 0;
        text-align: center;
    }

    .section-apropos {
        margin: 50px;
        padding: 0;
    }

    .button-en-savoir-plus {
        margin-top: 20px;
    }

    .apropos-container {
        padding-right: 0;
    }
}