/* -------------------------------------------------------------------------- */
/*  Home Page                                                                 */
/* -------------------------------------------------------------------------- */
section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

section + section {
    margin-top: 1.5rem;
}

section.home-search{
    position:relative;
    display:flex;
    align-items: center;
    background:url('../img/bgvichy2.jpg');
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
    height:80vh;
    width:100%;
}
section.home-section{
    background:#fff;
}
section.home-section.bgcolor{
  background:#f8f9fa;
}
.coup-de-coeur-section{
    margin:0;
    padding:0;
}

.home-section.agence-info{
  display: flex;
  flex-direction: column;
  background:#f8f9fa;
}

.home-section.cta{
  min-height: 50vh;
  display:flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bloc{
  flex: 1;
}

.bloc.agence-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 35px;
  text-align: left;
}

.bloc.agence-image{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.bloc.agence-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit sans déformation */
  object-position: center;
  display: block;
  padding: 2rem;
  border-radius:4rem;
}

/* -------------------------------------------------------------------------- */

/*	 Media Queries
/* -------------------------------------------------------------------------- */

/* md (>=768px) : tablets */
@media (min-width: 768px){
    .home-section.agence-info{
        flex-direction: row;
        height: 100vh;
    }
    .bloc.agence-image img {
    height: 100%;
    }
}

/* lg (>=1024px) : small laptops */
@media (min-width: 1024px){
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    section + section {
        margin-top: 2rem;
    }
}

/* xl (>=1280px) : desktop */
@media (min-width: 1280px){

}