/* Page "Accueil" */

.body{
    background: url(../img/istockphoto-2021682931-1024x1024.jpg);
    height:100%;
    width:100%;
    position: fixed;
    background-repeat: no-repeat;
    z-index: -999;
}
body:after{
    content:"";
    position:fixed; /* stretch a fixed position to the whole screen */
    top:0;
    height:100vh; /* fix for mobile browser address bar appearing disappearing */
    left:0;
    right:0;
    z-index:-1; /* needed to keep in the background */
    background: url(../img/istockphoto-2021682931-1024x1024.jpg) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Bannière */
.hero {
    width: 90%;
    margin: auto;
    color: #fff;
    text-align: center;
    height: 100vh;
}

.hero h1{
    font-size: 56px;
    font-weight: 900;
    color: #a2866d;
    padding-top: 150px;
    margin-bottom: 0;
}

.hero h2{
    font-size: 35px;
    color: #a2866d;
    margin: 0;
}

.hero h3{
    font-size: 1.9rem;
    color: #a2866d;
    padding-top: 40px;
}

.hero .btn{
    margin-top: 20px;
}

.hero p{
    padding-top: 40px;
    font-size: 20px;
    color: #404958;
    font-weight: bold;
}

.hero span{
    color: #404958;
    font-size: 20px;
    font-weight: bold;
}

.scroll-link{
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: transparent;
    padding: 12px;
    border: 1px solid black;
    border-radius: 50%;
}

.fa-angle-down{
    color: #000;
}

@media screen and (max-width: 1000px) {
    .hero{
        height: auto;
    }
    .hero h1{
        font-size: 2.1rem;
    }
    .hero h2{
        font-size: 1.8rem;
    }
    .hero h3{
        font-size: 1.3rem;
    }
    .hero p{
        font-size: 1.1rem;
    }
    .hero span{
        font-size: 1.1rem;
    }
    .scroll-link{
        display: none;
    }
    .fa-angle-down{
        display: none;
    }
}

/*Section service*/

#services {
    width: 60%;
    margin: 100px auto;
    text-align: center;
}

.service{
    padding: 1px;
}

.servicesquaremosaic:not(.shifted) {
    margin-bottom: 100px; /* Ajustez la marge selon vos besoins */
}

.service-title{
    color: var(--second-color);
    font-size: 26px;
    margin-top: 100px;
    padding-bottom: 20px;
}

.service-p{
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 50px;
    color: var(--second-color);
}

.servicecontainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}

.servicesquaremosaic{
    width: 30%;
    height: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
    background-color: var(--lighter-main-color);
    color: var(--second-color);
    box-shadow: 1px 1px 10px rgba(53, 52, 52, 0.6);
    transition: transform 0.3s;
}

.servicesquaremosaic:hover{
    transform: scale(1.2);
}

.servicesquaremosaic figure{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.servicesquaremosaic span{
    padding-right: 100px;
    font-size: 80px;
}

.img-home{
    border: 3px solid var(--second-color);
    border-radius: 50%;
    padding: 10px;
}

.servicesquaremosaic img{
    width: 60px;
}

.servicesquaremosaic p{
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0;
}

.serviceplus{
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 1px 1px 10px rgba(53, 52, 52, 0.452);
}

@media screen and (max-width: 1000px) {
    #services {
        width: 90%;
    }
    .service-title{
        font-size: 1.1rem;
    }
    .service-title h2{
        font-size: 1.2rem;
    }
    .service-p{
        font-size: 0.9rem;
    }
    .servicesquaremosaic p{
        font-size: 0.8rem;
    }
}

.localisation-main {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(/img/marbre.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    margin: auto;
    padding: 50px 10%;
    text-align: center;
    color: var(--second-color);
    position: relative;
    overflow: hidden;
}

.localisation-main h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--second-color);
    padding-bottom: 40px;
}

.localisation {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 5%;
    flex-wrap: wrap; /* Assurez-vous que les éléments se replient correctement sur les petits écrans */
}

#map-container {
    width: 50%;
    margin: 0;
    display: flex;
    justify-content: center; /* Centre la carte horizontalement */
    z-index: 1;
    padding-bottom: 40px;
}

.localisation-text {
    padding-top: 1%;
    width: 50%;
    margin: 0;
    text-align: left;
    color: var(--second-color);
    font-weight: 500;
    font-size: 1.2rem;
    padding-left: 5%;
    padding-bottom: 5%;
}

.localisation-text li {
    list-style: none;
    text-align: left;
}

.background-svg-left {
    position: absolute;
    top: -14%;
    left: -37%;
    width: 100%;
    height: auto;
    z-index: 0;
}

.background-svg-right {
    position: absolute;
    top: 2%;
    left: 49%;
    width: 150%;
    height: auto;
    z-index: 0;
}

@media (max-width: 1100px) {
    .localisation {
        flex-direction: column;
        align-items: center;
    }
    .container-localisation, .localisation-text {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }
    .localisation-image img {
        width: 90%;
    }
    .localisation-main h2 {
        font-size: 1.5rem;
    }
    .background-svg-left, .background-svg-right {
        display: none;
    }
}

/*Contact*/

#contact {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(../img/marbre.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    margin: auto;
    padding: 50px 0px;
    text-align: center;
    position: relative;
    gap: 25px;
}

.citation {
    background: #fff;
    position: absolute;
    font-style: italic;
    top: 0;
    left: 50%;
    transform: translate(-50%, -30%);
    width: 90%;
    height: 189px;
    margin: 0;
    padding-top: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--main-color);
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
}

#contact h2 {
    font-size: 2.1rem;
    margin-bottom: 20px;
    padding-bottom: 75px;
}

.team-valor{
    text-align: center;
    padding-top: 150px;
}

.about-valor{
    width: 90%;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    flex-wrap: wrap;
}

.team-valor h3{
    font-size: 2rem;
    font-weight: 700;
    color: var(--second-color);
    text-transform: uppercase;
    font-style: italic;
    padding: 80px;
}

.valor-card{
    width: 20%;
    margin-bottom: 40px;
}

.about-valor img{
    width: 150px;
}

.about-valor h4{
    padding: 20px;
    color: var(--main-color);
}

.about-valor p{
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--second-color);
}

@media (max-width: 1100px) {
    #contact h2{
        font-size: 1.3rem;
    }
    .valor-card{
        width: 50%;
    }
    .about-valor p{
        font-size: 0.9rem;
    }
}

/* tableau */

.container {
    width: 75%;
    margin: 0 auto;
    padding: 20px;
    padding-top: 110px;
    border-top: 1px solid var(--second-color);
}

.container-title {
    position: relative;
    display: inline-block;
}

.background-beige {
    background-color: var(--main-color); /* Fond beige */
    width: 30%;
    height: 70%;
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 0;
}

.background-blue {
    background-color: var(--second-color); /* Fond bleu */
    padding: 30px 40px;
    position: relative;
    z-index: 1;
    color: #F2C69D; /* Couleur du texte */
}

.container h2{
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
}

.comparaison{
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(../img/marbre.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.comparison-section {
    display: flex;
    justify-content: center;
    padding: 100px 20px;
    gap: 20px;
    align-items: baseline;
}

.comparison-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    height: auto; /* Hauteur dynamique pour chaque carte */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer le contenu horizontalement */
    margin-bottom: 20px; /* Espacement entre les cartes */
}

.card-header {
    width: 100%;
    padding-top: 15px;
    display: flex;
    flex-direction: column; /* Afficher les éléments en colonne */
    align-items: center; /* Centrer horizontalement */
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-align: center; /* Centrer le texte */
    border-bottom: 1px solid var(--light-main-color);
}

.card-header h3 {
    color: var(--main-color);
}

.card-body {
    flex: 1; /* Permet au contenu de s'étendre et de remplir l'espace disponible */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--light-main-color);
    min-height: 180px; /* Hauteur minimale pour chaque élément de catégorie */
}

.comparison-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--main-color);
    padding-bottom: 10px;
}

.comparison-item p {
    margin: 10px 0;
    font-size: 18px;
    color: var(--second-color);
    padding-bottom: 10px;
}

.comparison-item i {
    font-size: 20px;
}

.mini-comparaison{
    display: flex;
    gap: 10px;
    padding-bottom: 8px;
}

.red-icon {
    color: var(--negative-color);
}

.green-icon {
    color: var(--positive-color);
}

.orange-icon {
    color: var(--neutral-color);
}

.background-svg-left-down{
    position: absolute;
    top: -1%;
    left: -84%;
    width: 150%;
    height: auto;
    z-index: -1;
}

.background-svg-right-down{
    position: absolute;
    top: 40%;
    left: 80%;
    height: auto;
    z-index: -1;
}

@media (max-width: 1100px) {
    .background-svg-left-down, .background-svg-right-down {
        display: none;
    }
}

.action-button p{
    color: var(--main-color);
    padding: 30px 0;
    font-size: 1.7rem;
    font-weight: 700;
}

.action-button a{
    margin-bottom: 100px;
}

/* Media queries pour la mise en page responsive */

@media only screen and (max-width: 1100px) {
    .comparison-item h4{
        font-size: 0.9rem
    }
    .comparison-item p{
        font-size: 0.7rem
    }
    .comparison-item small{
        font-size: 0.6rem
    }
}

@media only screen and (max-width: 600px) {
    .comparison-card {
        max-width: 100%;
        /* Cartes prennent 100% de la largeur */
    }
    .comparison-item {
        min-height: 200px; /* Hauteur minimale pour chaque élément de catégorie */
    }

    .comparison-item h4 {
        padding-bottom: 5px;
        font-size: 1.1rem;
    }

    .comparison-item p {
        padding-bottom: 5px;
        font-size: 0.8rem;
    }

    .mini-comparaison small{
        font-size: 0.7rem;
    }

    .container {
        width: 100%;
        margin: auto;
    }

    .container h2 {
        font-size: 1.5rem;
    }

    .action-button p {
        font-size: 1.3rem;
    }
    .btn{
        font-size: 1rem;
    }
}