/*banner*/
.banner                       { margin-top: 160px; position: relative; }
.banner img                   { width: 100%; height: auto; object-fit: cover; display: block; border-radius: var(--border-radius); }
.banner .texte                { width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center;}
.banner .texte span           { display: block; }
.banner .link                 { background: url('../images/formulaire.svg') calc(0% + 30px) center no-repeat var(--main-color); padding-left: 60px;}


@media (min-width: 1700px)    { 
.banner_wrap {max-width: none; margin: 0; width: 100vw;}
.banner img                   { width: 100vw; height: 80vh; max-height: 720px; max-width: none; border-radius: 0; }
}

@media (min-width: 1201px) {
.banner .link:hover           { background: url('../images/formulaire.svg') calc(0% + 30px) center no-repeat var(--dark-blue);}
}
@media (max-width: 1200px) {
.banner                       { margin-top: 90px; }
}
@media (max-width: 1000px) {
.banner                       { margin-top: 130px; }
.banner .texte                { width: 80%; top: 65%;}
.banner img                   { filter: brightness(0.8);}
}

@media (max-width: 700px) {
.banner                       { margin-top: 140px; }
}
@media (max-width: 500px) {
.banner .texte                { top: 50%; }
.banner .texte span           { margin-top: 5px;}
}


/* intro */
.intro                                { display: grid; grid-template-columns: 400px 1fr;grid-gap: 40px; align-items: center; margin: 80px auto; }
.intro .photo                         { justify-self: end; }
.intro .texte                         { max-width: 1000px;}
@media (max-width:1200px) {
.intro                                { grid-template-columns: auto 1fr; margin: 80px auto; }
.intro .photo                         { justify-self: start; }
}
@media (max-width:700px) {
.intro                                { grid-template-columns: 1fr;grid-gap: 20px; align-items: center; margin: 40px auto; }
.intro .photo                         { justify-self: center; }
.intro .photo img                     { max-height: 65px;}
} 




/* Services */
.services                               { position: relative; display: grid; grid-template-columns: auto 1fr; grid-gap: 40px; margin: 80px 0; max-width: 1500px;}
.services .matieres                     { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 40px;}
.services .item                         { position: relative;}
.services .row                         	{ position: relative; height: 100%; padding: 40px; border-radius: var(--border-radius); border: 1px solid var(--light-blue); transition: all 400ms ease-in-out;}
.services .row .sous_titre              { font-size: 20px; line-height: 30px; margin-top: 5px; letter-spacing: 0.8px; font-weight: 500; text-transform: none;}
.services .row p                  		  { margin-bottom: 10px;}
.services .row  a                 		  { content: ''; width: 100%; height: 18px; background: url('../images/arrow_visit.svg') right center no-repeat; display: block; margin-top: 10px;}
.services .row .link                   	{ margin: 15px 0 0 0;}
.services .photo                        { /*grid-row: span 2;*/ /*padding: 0 40px 0 0;*/ background: none; border: none;}
.services .photo img                    { width: auto; height: auto; object-fit: cover; border-radius: var(--border-radius);}
.services .quote                        { text-align: center; margin: 40px auto 0 auto; max-width: 280px;}

@media (min-width:1201px) {
.services .row a:hover                  { transform: translatex(10px);}
}
@media (max-width:1200px) {
.services                               { grid-template-columns: 1fr; grid-gap: 30px;}
.services .row .sous_titre              { font-size: 18px; line-height: 28px;}
.services .photo                        { display: none;}
.services .matieres_wrap > .sous_titre  { margin-bottom: 20px;}
}
@media (max-width:1000px) {
.services                               { margin: 60px 0;}
.services .matieres                     { grid-template-columns: 1fr; grid-gap: 20px;}
}
@media (max-width:700px) {
/*.services .matieres_wrap > .sous_titre  { margin-bottom: 15px;}*/
.services                               { grid-gap: 15px; margin: 40px 0;}
.services .row                          { padding: 0 80px 0 0; height: 80px; display: grid; grid-template-columns: 80px 80%; grid-gap: 0; align-items: center;}
.services .row img                      { height: 35px; margin: 0 auto}
.services .row p                  		  { display: none;}
.services .row .sous_titre              { font-size: 15px; line-height: 25px; margin-bottom: 5px;}
.services .row  a                 		  { content: ''; width: 100%; height: 100%; background: url('../images/arrow_visit.svg') calc(100% - 20px) center no-repeat; margin-top: 0px; position: absolute;}
}


/* about */
.grid_home                                  { display: grid; grid-template-columns: 470px 700px; grid-gap: 80px; max-width: 1500px; align-items: center; justify-content: end; margin: 80px 0; }
.grid_home .photo                           { font-size: 0; line-height: 0; position: relative}
.grid_home .photo img                       { border-radius: var(--border-radius); width: 100%; height: auto; display: block; object-fit: cover; }
.grid_home .photo:after                     { content: ''; display: block; width: 50vw; height: 100%; position: absolute; top: 0; left: calc(100% + 20px); background: var(--light-blue); border-radius: var(--border-radius); }
.grid_home .sous_titre                      { margin-bottom: 5px; }
.grid_home .link                            { margin-top: 20px; }


.grid_home.reverse                          { grid-template-columns: 700px 470px ; justify-content: start;}
.grid_home.reverse .photo                   { grid-area: 1 / 1; }
.grid_home.reverse .photo:after             { left: unset; right: calc(100% + 20px); }
.grid_home.reverse .texte                   { grid-area: 1 / 2; }


@media (max-width: 1500px) {
                          
.grid_home,
.grid_home.reverse                          { grid-template-columns: 1fr 1fr;}
}
@media (max-width: 1200px) {
.grid_home,
.grid_home.reverse                          { grid-gap: 40px;}
}

@media (max-width: 1000px) {
.grid_home,
.grid_home.reverse                          { grid-template-columns: 1fr; gap: 20px; margin: 60px 0; }
.grid_home .photo                           { grid-area: 1;}
  .grid_home.reverse .texte                    { grid-area: 2;}
.grid_home .photo img                       { max-height: 50vw;}
.grid_home .photo:after                     { display: none; }
.grid_home.reverse .photo:after             { display: none; }
}
@media (max-width: 700px) {
.grid_home,
.grid_home.reverse                          { margin: 40px 0; }

}


