:root {
  --Bleu: #274472;
  --Beige: #F5F2EC;
  --Doree: #D4A055;
  --fs-base: clamp(0.65rem, 1vw + 0.3rem, 1rem);
  --fs-h1: clamp(1.2rem, 2vw + 0.5rem, 2rem);
  --fs-menu: clamp(0.6rem, 1vw, 3rem);
}
.titre{
  font-size: var(--fs-h1);
}

h1 {
  font-size: var(--fs-h1);
}

h2:not(.titre) {
  font-size: calc(var(--fs-h1) - 0.3rem);
}

p,
.Cabinet,
.Cabinet2>p {
  font-size: var(--fs-base);
}

.Cabinet2>p {
  margin-bottom: 0;
  margin-left: 0.2rem;
}

.sous_titre {
  font-size: calc(var(--fs-base) - 0.2rem);
}

.slogan>p {
  font-size: clamp(1rem, 1vw, 1.8rem);
}

.slogan>h1 {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.6rem);
}

footer>p {
  font-size: clamp(0.6rem, 0.8vw, 0.75rem);
}



body {
  background-color: var(--Beige);
  height: auto;
  min-height: fit-content;
}

header {
  background-color: var(--Bleu);
}

.Nom {
  border: solid 2.7px var(--Doree);
  border-radius: 10px;
  background-color: var(--Beige);
}

.logo img {
  width: 7rem;
  height: auto;
  border-radius: 50%;
  display: block;
  border: solid 2.7px var(--Doree);
}

.Cabinet b,
.Cabinet2 b {
  color: var(--Doree);
}

ul {
  padding-left: 15px !important;
}

.rdv {
  border-radius: 0.4rem;
  background-color: var(--Doree);
  color: white;

}
.navbar-toggler {
  border-color: var(--Doree) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4A055' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link,
.nav-item {
  font-family: 'Playfair Display', serif;
  font-size: calc(var(--fs-menu));
  color: white;
}

@media (max-width: 1080px) {
  .navbar-collapse {
    display: none !important;
  }

  .navbar-toggler {
    display: block !important;
  }
}

@media (min-width: 1081px) {
  .navbar-collapse {
    display: flex !important;
  }

  .navbar-toggler {
    display: none !important;
  }
}

nav .nav-link {
  color: white !important;
  text-decoration: none;
}

nav .nav-link:hover {
  color: white !important;
  text-decoration: underline;
}

.offcanvas-header {
  background-color: var(--Bleu) !important;
}

.offcanvas-body {
  background-color: var(--Bleu);
  padding-left: 2%;
}

.offcanvas {
  width: 45%;
  z-index: 9999;
}

.alignement_b {
  margin-bottom: 1.2rem;
  align-self: center;
}

footer {
  background-color: var(--Bleu);
  color: white;
}

footer>p {
  margin-bottom: 0;
  font-style: italic;
  margin: 1rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 2px #D4A055;
}

.amovible {
  background-color: var(--Bleu);
  margin-bottom: 1.5rem;
}

.remontant {
  padding-top: 8rem;
  background-color: var(--Bleu);
  color: white;
  font-family: 'Lato', sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer,
.amovible {
  flex-shrink: 0;
}

.footer-img {
  width: 2rem;
  height: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.footer-info {
  font-family: 'Lato', sans-serif;
  color: white;
  margin-bottom: 0;
  margin-right: 1rem;
}

.footer-info>p {
  padding-top: 6px;
  margin-bottom: 0 !important;
  text-decoration: none;
}

.footer-info>a {
  text-decoration: none;
  color: white;
  display: inline-block;
}

.footer-info>a:hover {
  transform: scale(1.1);
}

.mail {
  margin-top: 0.6rem;
}

.linkednl {
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin-right: 1rem;
  margin-bottom: 0.4rem;
}

.pourquoi_bloc {
  margin-top: 2%;
  width: 79rem;
  height: auto;
  border-radius: 10px;
  color: var(--Bleu);

  img{ 
    width:68%;
    height: 75% !important;
  }
}

.pourquoi_bloc li {
  font-size: var(--fs-base);
}


.logo_mail {
  width: 3rem;
  height: 3rem;
}

.cartes_box {
  display: flex;
  margin-top: 6%;
  height: 19%;
}

.carte {
  width: 22%;
  min-width: 180px;
  height: auto;
  border-radius: 10px;
  font-size: 100%;
  color: var(--Bleu);
  padding-bottom: 2%;
}

.carte:hover {
  transform: scale(1.05);
  z-index: 2;

}


.carte_titre {
  margin-bottom: 10%;
  font-family: 'Playfair Display', 'sans-serif';
}

.carte-img{
height: 13vh;
width: 13vh;

}

.carte_texte{
  margin-bottom: 5%;
}
@media(max-width:1238px) {
  .pourquoi_bloc {
    width: 95% !important;
    height: auto;

    img {
      width: 95% !important;
    }
  }

  .texte-pourquoi {
    padding-left: 14px;

  }
}

@media (max-width: 792px) {
  .pourquoi_bloc {
    width: 40rem !important;
    height: auto;
    p{
      font-size: var(--fs-base);
    }

    img {
      max-width: fit-content;
      align-items: left;
    }

    .texte-pourquoi {
      margin-top: 3%;
      width: 100%;

    }

    .container-img-pourquoi {
      width: 100%;
    }

    li {
      font-size: var(--fs-base);
    }

  }

  .row-bloc {
    display: flex;
    flex-direction: column;

  }


  .centre {
    padding: 0 !important;
    font-family: 'Fairplay Display', 'sans-serif';
  }

  .droite {
    text-align: left !important;
    padding-left: 1rem !important;
    font-family: 'Lato', sans-serif;
    padding: 0;
  }


}

@media(max-width:542px) {
  .offcanvas {
    width: 38%;
  }

  .offcanvas-body {
    font-size: var(--fs-menu);
    padding-left: 5%;
  }

  .menu {
    width: 140px;
  }
}

@media (max-width: 576px) {
  .logo {
    width: 5rem;
  }

  .Nom.cabinet>p {
    font-size: 3px;
  }

  .sous_titre {
    font-size: 10px;
  }
}

.cartes_box {
  display: flex;
}

.carousel {
  display: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media (max-width: 1000px) {
  .cartes_box {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
  }

  .carousel {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible;
    margin-top: 15%;
  }

  .mail {
    margin-top: 1rem;
  }


}

@media(max-width:1700px) {
  .pourquoi_bloc {
    width: 80%;
    img{
      width: 75%;
    }
  }
}

@media(max-width:390px) {
    .icon{
  width: 2rem !important;
  height: 2rem !important;
}
  .pourquoi_bloc {
    width: 90%;
  }

  .offcanvas {
    width: 55% !important;
  }

  .icon{
  width: 8rem;
  height: 8rem;
}

}

@media(max-width:500px) {

  .offcanvas {
    width: 50%;
  }

  .offcanvas-body {
    font-size: var(--fs-menu);
    padding-left: 5%;
  }

  .menu {
    width: 170px;
  }


  .pourquoi_bloc {
    width: 85% !important;
    height:   auto;
    .texte-pourquoi {
      margin-top: 1% !important;

    }

    img {
      width: 100% !important;
    }
  }
 
  .calendly-inline-widget{
    width: 24% !important;
    height: 100%;
  }

  .accompagnement_bloc h2{
    margin-top: 16px;
  }

  .img-contact{

  width: 30px !important;
  height: 30px !important;
  padding-bottom:5% ;
  padding-right: 1%;



}

.contact-linkdnl{
    width: 1vh !important;
  height: 1vh !important;
  padding-top: 4%;
  padding-right: 1%;

}
.tel-contact{
  padding-bottom: 15%;
}

}

 

.carte_body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.carte-background{
  min-height: unset !important;
  height: auto !important;
}




.carousel .carte {
  width: clamp(280px, 70%, 400px);
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  filter: invert(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  z-index: 5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  filter: invert(60%);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
  width: 100%;
  height: 100%;
}

.modal-header {
  text-align: center;
  color: var(--Bleu);
  font-family: 'Fairplay Display', 'sans-serif';
}

.modal-body {
  color: var(--Bleu);
}

.modal-content {
  background-color: var(--Beige) !important;
  color: var(--Bleu) !important;
}

@media(min-width:767px) {
  .offcanvas-body {
    font-size: var(--fsbase);
    padding-left: 5%;
  }

  .menu {
    width: 230px;
  }

  .offcanvas {
    width: 35%;
  }
}

@media(min-width:1023px) {
  .offcanvas-body {
    font-size: var(--fsbase);
    padding-left: 5%;
  }

  .menu {
    width: 160px;
  }

  .offcanvas {
    width: 25%;
  }


}

.tel>a {
  text-decoration: none;
  color: white;
}

.tel>a:hover {
  transform: scale(1.5);

}

.contact-info > a{
  color:var(--Bleu) !important;
  
}



.valeurs {
  margin-top: 6%;
}
.calendly-inline-widget {
  width: 100% !important;
  overflow: hidden !important;
  border: none !important;
  height: 38rem;
}

.img-avantage-dispo{
  height: auto !important;
  width: clamp(40px, 8vw, 80px) !important;
}
.img-avantage{
  height: auto !important;
  width: clamp(35px, 6vw, 70px) !important;
}
.img-avantage-suivi{
  height: auto !important;
  width: clamp(35px, 7vw, 75px) !important;
}
.img-avantage-economie{
  height: auto !important;
  width: clamp(40px, 8vw, 85px) !important;
}
.phrase-conclu{
  color: var(--Doree);
  font-weight: bold;
}@media(max-width:768px){
  .img-contact{

  width: 5% !important;
  height: 5% !important;
  padding-bottom:5% ;
  padding-right: 20%;
}

.contact-mail{
  width: 5% !important;
  height: 5% !important;
  padding-top: 4%;
  padding-right: 20%;

}

.contact-linkednl{
    width: 5% !important;
  height: 5% !important;
  padding-bottom: 5%;
  padding-right: 20%;

}

  .accompagnement_bloc h4 {
    margin-top: 1.2rem;
  }
}

.img-contact{

  width: 3vh !important;
  height: 3vh !important;
  padding-bottom:5% ;
  padding-right: 20%;
}

.contact-mail{
  width: 4vh !important;
  height: 2vh !important;
  padding-top: 4%;
  padding-right: 20%;

}

.contact-linkednl{
    width: 2vh !important;
  height: 2vh !important;
  padding-bottom: 5%;
  padding-right: 20%;

}


.btn-top{
  background-color: var(--Bleu);
  border-radius: 50%;
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  right: 2%;
  bottom: 15%;
  cursor: pointer;

}
.icon{
  width: 4rem;
  height: 4rem;
}
.btn-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

.btn-top.visible {
  opacity: 1;
  pointer-events: auto;

}

#popupMessage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #274472;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  font-size: 1.2rem;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#popupMessage.show {
  display: block;
  opacity: 1;
}

.pop-up{
  font-size: var(--fs-menu);
}
.identite-img{
  max-width: 300px !important;
  max-height: 300px !important;
}
.mention{
  padding-top:9rem ;
}
.aspect-mention{
  text-decoration: none !important;
  color: white;
}

.aspect-mention:hover{
  color: white;
  transform: scale(1.5);
}
.lien-section{
  margin-top: 5%;
}