
.intro {
    color: #ff963f;
    text-shadow: #ff7400 1px 0 10px;
}


.projet {
    position: relative;
    overflow: hidden;
}

.projet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projet:hover .projet-overlay {
    opacity: 1;
}

.section-apercu {
    background-color: grey;
    padding: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: white; /* ou la couleur que tu veux */
}

/* Couleur du point actif */
.swiper-pagination-bullet-active {
    background-color: white; /* ou une autre couleur */
    opacity: 1;
}






.grid-accueil {
    display: grid;
    grid-template-columns: 1fr 2fr; /* image 1/3 | texte 2/3 */
    margin: 0;
    padding: 0;
    width: 100%;
    align-items: stretch;
}

.grid-accueil .image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.grid-accueil .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}

.grid-accueil .texte {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* distribue le texte + bouton sur toute la hauteur */
    padding: 2rem;
}

.grid-accueil .intro {
    font-size: 2.5rem;
    font-weight: bolder;
    margin-bottom: 0;
}

.grid-accueil .description {
    font-size: 1.5rem;
    margin-top: 0;
    line-height: 1.5;
}

.grid-accueil .bouton-milieu {
    text-align: center; /* centre horizontalement dans la colonne */
}


