

/**************  STYLE PAGE CONTACT  ****************************************/

.banniere {
    background-image: 
    linear-gradient(90deg, rgba(30, 30, 30, 0.80) 0%, rgba(30, 30, 30, 0.00) 100%),
    linear-gradient(180deg, rgba(22, 112, 112, 0.00%) 0%, var(--vert) 100%),
    url('../img/contact/chemin_vert.jpg') /*image de la banniere*/;
    
    background-size: 
    60% 100%, /* Taille du 1er dégradé (40% largeur, 100% hauteur) */
    100% 40%,
    cover;   /*taille de l'image*/
    
    background-position: 
    left,
    bottom,
    0 75%; 
    background-repeat: no-repeat;     /* Empêche la répétition de l'image */
    height: auto;                     /* Ajuste la hauteur selon le contenu */
    width: auto;                      /* Ajuste la largeur selon le texte */
    color: var(--blanc);
    width: 100%;
    position: relative;
    height: 30rem;
    overflow: hidden;
}

.contact .banniere h2{
    font-size: 52px;
    margin: 0;
}

.contact .textPhare {
    width: 35%;
    height: 60%;
    display: flex;
    flex-direction: column;
    margin: 120px 10% 0;
}

.contact .textPhare p {
    font-size: var(--texte1);
}

.logoContact h2 {
    font-family: 'Alte';
    font-size: 6em;
    margin: 0;
    letter-spacing: 2px;
    padding-left: 2rem;
    font-weight: normal;
    color: var(--vert);
    line-height: 1;
    max-width: 350px;
}
.logoContact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    width: 70%;
    justify-content: flex-start;
}

.logoContact img {
    height: 200px;
}

.entreprise {
    font-size: var(--texte2);
}

.coordonnees a{
    font-weight: bold;
    font-size: var(--texte1);
    color:var(--gris);
    margin: 5px 0;
    font-family: var(--font-logo);
    display: block;
    text-decoration: none;
}


.infosEntreprise {
    width: 50%;
}
.coordonnees {
    width: 100%;
    margin-bottom: 15px;

}

.nom {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.MDepinoy {
    font-family: var(--font-logo);
    font-size: 52px;
    color: var(--vert);
    font-weight: 600;
    margin: 0;
}

.baseline {
    font-size: var(--texte2);
    color: var(--gris);
    font-weight: 600;
    margin: 5px 0 0 2px;
}
.contactContent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto 100px auto;
    padding: 2rem 0;
}

.contactInfos {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.CTA {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content:flex-end;
    margin-right: 50px;
    width: 50%;
}

.CTA p {
    font-size: 52px;
    color: var(--gris);
    margin: 0;
    font-weight: 600; 
    text-align: right;   
    
}
.CTA a {
    text-decoration: none;
    color: var(--blanc);
    background-color: var(--vert);
    padding: 10px 20px;
    border-radius: 10px 0 10px 0px;
    font-size: var(--texte2);
    font-weight: 600;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}
.CTA a:hover {
    background-color: var(--blanc);
    color: var(--vert);
    transform: scale(1.05);
}

.CTA i {
    font-size: 24px;
}

@media (max-width:800px) {
    .contact .textPhare {
        gap:40px
    }
    .contactContent{
        flex-direction: column-reverse;
    }
    .CTA {
        width: 100%;
        margin-top: 100px;
    }
    .contactInfos {
        width: 100%;
        margin: 0;
    }
    .MDepinoy {
        margin-bottom: 50px;
    }
}