@import url('cabinet-grotesk.css');

*{
  font-family: 'CabinetGrotesk-Variable';
}

body{
    background: linear-gradient(140deg, #ffffff85,#E1EEFD8F);
  height: 100%;
  min-height:100vh;
}
main{
    min-height: calc(100vh - 522px);
}

.recap {
  text-align: center;
  margin: auto;
}

footer{
    flex-direction:column;
      background: #C6C1B5;
      color:#212b40;
}
footer a{
    text-decoration:none;
    color:#212b40;
}
footer .infos{
    display: flex;
      width: 100%;
      justify-content: space-around;
      margin-bottom:20px;
      padding:20px 0;
    gap: 40px;
    flex-direction:column;
}
footer .rs{
    display:flex;
    gap:40px;
}

footer h3:not(:first-child){
    margin-top:8px;
}

footer h3{
    text-transform:uppercase;
    font-size:1rem;
    letter-spacing:1px;
}

footer h5{
    margin-bottom: 4px;
  font-size: 1rem;
  opacity: .7;
  font-weight: 400;
}
footer h5:not(:first-of-type){
    margin-top:8px;
}

footer img+p{
    opacity:0.5;
}
footer .copyrights{
    opacity: .5;
  border-top: solid 1px #72757a;
  width: 100%;
  padding: 20px;
  text-align: center;
}

.statut {
  display: flex;
  width: fit-content;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 8px 0;
  cursor: pointer;
}
.hero .photos img {
  height: 200px;
  width:auto !important;
  border: solid 15px white;
  border-radius: 4px;
  cursor:pointer;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15),inset 0 -1px 0 rgba(255,255,255,0.15);
}
.carousel-item{
  display: block;
  margin-right: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) !important;
  width: 100% !important;
  height: 200px;
}
.carousel-item.active{
  z-index: 1;
}
.hero .photos #photo1{
  transform: rotate(-3deg);
}
.hero .photos #photo2{
  transform: rotate(5deg);
}
.hero .photos #photo3{
  transform: rotate(-2deg);
}
.hero .photos img:hover{
  z-index: 2;
  transform-origin: center bottom;
  transition: all ease-in-out .4s;
}
.hero .photos {
    width:100vw;
  overflow: hidden;
  padding: 20px 0;
  margin-top: -60px;
  height: 250px;
}

.hero{
  padding: 40px 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #212B40;
}
.hero h5{
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom : 0;
}
.hero p{
  font-size: 1rem;
  font-weight: 300;
  max-width: 500px;
  opacity:0.7;
}
.card{
  cursor: pointer;
}
p{
  margin-bottom: 0;
}

.btn-primary{
    background: linear-gradient(60deg, #212B40, #23221E);
  border: none;
  transition: all ease-in-out .4s;
}
.btn-primary:hover{
    background: linear-gradient(60deg, #23221E, #23221E);
  border: none;
}
.card{
    border: var(--bs-border-width) solid #E1EEFD;
    height: 100%;
}
.card.Immobilier:hover{
  border-color: #00C7D8;
}
.card.Architecture:hover{
  border-color: #00E676;
}
.card.Construction:hover{
  border-color: #00E676;
}
.card.Financement:hover{
  border-color: #FFBE0C;
}
.card.Travaux:hover{
  border-color: #FF6542;
}

.newProspect::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:-1;
}
h5.card-title{
    font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
}
h5.card-title::after{
    content: '';
  display: block;
  height: 1px;
  width: 40px;
  position: relative;
  background: linear-gradient(60deg, #212B40, #23221E);
  margin: auto;
    margin-top: auto;
  margin-top: 8px;
  opacity: .5;
}
h5.card-subtitle{
    font-weight: 400;
  font-size: .9rem;
  margin: 8px 0;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}
p.card-text{
    opacity:.6;
}
.card-actions{
    gap: 8px;
  display: flex;
  flex-wrap: wrap;
    justify-content: flex-end;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}
.newProspect.Immobilier::before{
  background-color: #00C7D8;
}
.newProspect.Architecture::before{
  background-color: #00E676;
}
.newProspect.Construction::before{
  background-color: #00E676;
}
.newProspect.Financement::before{
  background-color: #FFBE0C;
}
.newProspect.Travaux::before{
  background-color: #FF6542;
}

.newProspect form{
  padding: 40px;
  background-color: white;
  -webkit-box-shadow: 0px 8px 20px rgba(0,0,0,0.06);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.06);
  border-radius: -4px;
}

main.container{
  min-height:calc(100vh - 208px);
  gap: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.newProspect{
  max-width: 500px;
  margin: auto;
  width: 100%;
}
.prospects-list{
    display: grid;
  grid-template-columns: 1fr;
}

.prospects-list nav{
    grid-row-start: 2;
}

legend{
  font-weight: 500;
  font-size: 1.15rem;
  display: flex;
  gap: 8px;
}

a, .btn-link{
  padding: 8px 0;
  text-decoration: none;
}

.form-label{
    margin-bottom:0;
    margin-top:1rem;
}
.form-control, .form-select, .form-check-input{
    border: var(--bs-border-width) solid #E1EEFD;
}

.accordion{
    margin-bottom:40px;
}
.accordion, .accordion-item{
    background-color:transparent;
}
.accordion-button, .accordion-button:not(.collapsed){
    background-color: transparent;
    padding: 20px 0;
    box-shadow: none;
}
.accordion-body{
    padding: 0;
}

.main-infos{
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr));
}
.comments{
  gap: 12px;
  display: flex;
  flex-direction: column;
  margin: 20px auto;
}
.comment{
  background: #E1EEFD;
  padding: 12px 20px;
  border-radius: 4px;
  margin: 4px;
}
.comment span{
  opacity: .7;
  font-size: small;
}

@media (min-width: 992px) {
    .offcanvas-lg .offcanvas-body {
      flex-direction: column;
    }
  .prospects-list nav{
    grid-column-start: 2;
  }
  .hero h5{
  font-size: 2rem;
}
.hero p{
  font-size: 1.25rem;
}
footer .infos{
    flex-direction:row;
}
.prospects-list{
    display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 40px;
}

}