@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400&display=swap');
@import url('https://fonts.cdnfonts.com/css/safira-march-personal-use');

html,
body {
	overflow-x: hidden;
	overflow-y: hidden !important;
	scroll-behavior: smooth;
}

body {
	padding-top: 105px;
	overflow-y: scroll !important;
	background-color: #FEFDFB;
	color: #2F3333;
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Regular */
}

/* Gère l'affichage des sous-menus sur mobile */
.submenu-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submenu-container.active {
    display: block;
}

.back-btn {
    font-weight: bold;
    color: #007bff;
}


select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  
  width: 100% !important;
  padding: 10px !important;
  padding-right: 35px !important;
  
  border: 2px solid #756DB1 !important;
  border-radius: 5px !important;
  background-color: #FEFDFB !important;
  font-size: 16px !important;
  
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF781F' width='24px' height='24px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 16px !important;
}

select:focus {
  border-color: #FF781F; /* Bordure orange au focus */
  outline: none;
}

.tinymce-bouton {

}

.accordion-item {
	border: 0;
}

.accordion-body
{
	background-color: #FEFDFB;
	padding: 0;
}

.accordion-button, .accordion-button:not(.collapsed) {
    color: #FF781F;
    background-color: #FEFDFB;
	padding-left: 0;
}

.accordion-button:focus, .accordion-button:active {
    box-shadow: none !important;
    outline: none !important;
}

.accordion-button::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #756DB1;
    background-image: none !important;
}

.accordion-button::before {
    content: "\f30b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    color: #756DB1;
    margin-right: 0.75rem;
    animation: fa-fade 2s infinite; 
}

@media print {
    .accordion-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .accordion-button::after {
        content: none !important;
    }
	
    .accordion-button {
        display: none !important;
    }
}

.montserrat-semi-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; 
}

.citation-accueil {
    font-family: 'Caveat', sans-serif;
    font-weight: 400;
	font-size: 30px !important;
}

a {
	color: #FF781F;
}

.bg-peau {
	background-color: #F9F3EE;
}

.pacifico-font {
	font-size: 15px !important;
    font-family: 'Courier Prime', monospace;
}

p {
	color: #2F3333
}

.mt-6 {
	margin-top: 80px;
}

.navbar-custom {
	height: 80px;
}

@media (max-width: 991.98px) {
    .offcanvas-collapse {
		top : 90px !important;
	}
}

@media (min-width: 992px) {
	.custom-bg-light {
	  background-color: #f8f9fa;
	}
}
  
.blanc-transparent {
    background-color: rgba(255, 255, 255, 0.6);
}

.bg-blanc {
    background-color: #ffffff;
}

.team-box {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .box-outline {
        position: relative;
        z-index: 1;
        display: inline-block;
        padding-top: 20px;
    }
}

.sticky-container {
  position: sticky;
  top: 50px;
}

.team-image-box {
    position: relative;
    max-width: 295px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .box-outline {
        position: relative; /* Assurez-vous que le parent est positionné pour le pseudo-élément */
    }

    .box-outline > *:nth-child(1):before {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: -1;
        border: 2px solid #756DB1;
        content: "";
        transform: translate(-22px, -20px);
        transition: 550ms ease-in-out;
    }

    .box-outline:hover > *:nth-child(1):before {
        transform: translate(-22px, -20px) scale(0.9); /* Réduit la taille du cadre au survol */
    }
}

#map-praticien {
	height: 300px;
	width: 100%;
}

.container-bandeau {
	padding-right: 0 !important;
	padding-left: 0 !important;
	top: -10px;
}

.container-content, .container-footer  {
	position: relative;
	top: 10px;
}

.container-footer {
	background-color: #746DB1;
	color: #DEF675 !important;
}

.link-jaune, .text-jaune {
	color: #DEF675 !important;
}

/* News Ticker */
.news-ticker {
  overflow: hidden;
  height: 40px;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-left 50s linear infinite;
}

.ticker-item {
  padding: 0 2rem;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.8rem !important;
}

@keyframes scroll-left {
  0% {
	transform: translateX(0%);
  }
  100% {
	transform: translateX(-50%);
  }
}

.baseline {
	color: #512260;
	padding: 10px;
	font-size: 1.2rem;
	border-radius: 10px;
	position: relative;
	top: 30px;
}

.text-blanc {
    color: #ffffff;
}

.text-orange {
    color: #756DB1;	
}

.text-jaune {
    color: #E1FB74;	
}

.text-indigo {
    color: #FF781F;	
}

.text-violet-leger {
    color: #E8D0FC;	
}

.text-vert {
    color: #133D3A;	
}

.network {
	color: #FF781F;
}
.network:hover {
	color: #FF781F;
}

.btn-indigo {
    color: #FF781F;
    background-color: transparent;
    border: 2px solid #FF781F;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-indigo:hover {
    color: white;
    background-color: #FF781F;
    border: 2px solid #FF781F;
}

.zoom-container {
    overflow: hidden;
}

.zoom-content {
    transition: transform 0.9s ease;
}

.zoom-content-bordure {
    transition: transform 0.9s ease;
}

.zoom-container:hover .zoom-content {
    transform: scale(1.2);
}

.zoom-content-bordure {
	border: 2px solid transparent;
	 transform: scale(0.9);
}

.zoom-container:hover .zoom-content-bordure {
    transform: scale(1);
	border: 2px solid #756DB1;
}

.hr-gradient {
    border: none;
    height: 4px;
    background: linear-gradient(to right, #756DB1, white);
}

.peinture-orange {
    background-image: url('../img/peinture-orange.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.peinture-orange-gauche {
    background-image: url('../img/peinture-orange-gauche.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.peinture-orange-droite {
    background-image: url('../img/peinture-orange-droite.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-blanc-casse {
	background-color: #e9ecef;
}

.nav-item {
	margin: 0 10px 0 0;
	color: #133D3A !important;
}

.nav-link {
	color: #133D3A !important;
}

.nav-link:hover {
	color: #1C5C55 !important;
}

.nav-item:hover {
	color: #1C5C55 !important;
	margin: 0 10px 0 0;
}

.nav-item:hover .nav-link {
    color: #1C5C55 !important;
}

.dropdown .dropdown-menu {
  display: none; /* Par défaut, le menu est caché */
  background-color: #F9F3EE;
}

.dropdown.show .dropdown-menu {
  display: block; /* Affiche le sous-menu quand le parent a .show */
}

@media screen and (min-width: 1400px) { /* Seulement pour les grands écrans */
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    transition: all 0.3s ease-in-out;
  }
}


.dropdown.show .dropdown-menu {
  visibility: visible;
  opacity: 1;
}

.dropdown-item:hover {
  background-color: #FEFDFB;
}

@media screen and (min-width: 1400px) { /* Seulement sur écran large */
  .dropdown:hover > .dropdown-menu,
  .dropend:hover > .dropdown-menu {
    display: block;
    margin-top: 0em;
    margin-left: 0.125em;
    transition: all 1.3s ease;
  }
}

.dropdown-menu .montserrat-semi-bold {
    font-family: inherit !important;
    font-weight: inherit !important;
}

.dropdown-menu .nav-link {
    color: inherit !important;
}

@media screen and (min-width: 1400px) {
  .dropend:hover > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
  }
  .dropend .dropdown-toggle {
    margin-left: 0.5em;
  }
}

.nav-item .dropdown-menu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-left: 0px;
}

.offcanvas-collapse.show {
  max-height: 100vh;
  overflow-y: auto; 
}

.sticky-btn {
    z-index: 1030;
}

.no-pd {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.container-article > h1 {
	padding:5px 5px 5px 5px;
	margin-top:40px;
	margin-bottom:40px;
	color: #133D3A;
	position: relative;
}

h2 {
	padding:5px 5px 5px 30px;
	margin-top:40px;
	margin-bottom:40px;
	/*color: #133D3A;*/
	color: #756DB1;
	position: relative;
    /*font-family: 'Montserrat', sans-serif;*/
	font-family: 'Safira March Personal Use', sans-serif;
    font-weight: 900;
	font-size: 18px;
	line-height: 2.0;
}

.titre-accueil {
	padding:5px 5px 5px 30px;
	margin-top:40px;
	margin-bottom:40px;
	/*color: #133D3A;*/
	color: #756DB1;
	position: relative;
    /*font-family: 'Montserrat', sans-serif;*/
	font-family: 'Safira March Personal Use', sans-serif;
    font-weight: 900;
	font-size: clamp(1.2rem, 4vw, 1.8rem);
	line-height: 2.0;
}

@media screen and (max-width: 768px) {
	h2 {
		padding:5px 5px 5px 5px;
		font-size: 14px;
		line-height: 1.8;
	}
}

@media screen and (max-width: 480px) {
	h2 {
		padding:5px 5px 5px 5px;
		font-size: 12px;
		line-height: 1.6;
	}
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #E1FB74, white);
}

h3 {
	padding:20px 20px 20px 20px;
	margin-top:40px;
	margin-bottom:40px;
	color: #133D3A;
    font-family: 'Caveat', sans-serif;
    font-weight: 200;
	font-size: 36px;
}

h3::before {
    content: '« ';
    margin-right: 5px;
	color: #756DB1;
}

h3::after {
    content: ' »';
    margin-left: 5px;
	color: #756DB1;
}

h4 {
	padding:5px 5px 5px 30px;
	margin-top:40px;
	margin-bottom:40px;
	color: #133D3A;
	position: relative;
	font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Semi Bold */
}

h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #756DB1, white);
}

ul:not(.navbar-collapse ul) {
    list-style-type: none !important;
    padding-left: 0;
}

ul:not(.navbar-collapse ul) > li {
    position: relative;
    padding-left: 30px;
    color: rgb(100, 100, 100);
    margin-bottom: 15px;
    list-style: none;
}

ul:not(.navbar-collapse ul) > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background-image: url('../../assets/img/puce2.png');
    background-size: contain;
    background-repeat: no-repeat;
}

#btn-back-to-top {
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 10000;
	border: 2px solid #FF781F;
	outline: none;
	background-color: #fff;
	color: #FF781F;
	cursor: pointer;
	padding: 15px;
	border-radius: 50%;
	font-size: 18px;
}
#btn-back-to-top:hover {
	background-color: #FF781F;
	color: #fff;
}


@media (max-width: 991.98px) {
  .offcanvas-collapse {
	position: fixed;
	top: 56px;
	bottom: 0;
	left: 100%;
	width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
	overflow-y: auto;
	visibility: hidden;
	background-color: #fff;
	transition: transform .3s ease-in-out, visibility .3s ease-in-out;
	}
  .offcanvas-collapse.open {
	visibility: visible;
	transform: translateX(-100%);
	}
}

.pointer {
	cursor: pointer;
}

.slide-in-left {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 2.5s ease-in-out, opacity 1s ease-in-out;
}

.slide-in-left.visible {
  transform: translateX(0);
  opacity: 1;
}

.grow-in {
      transform: scale(0);
      opacity: 0;
      transition: transform 1.5s ease-in-out, opacity 1s ease-in-out;
      will-change: transform, opacity;
} 

.grow-in.visible {
  transform: scale(1);
  opacity: 1;
}

.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 2.5s ease-in-out, opacity 1s ease-in-out;
}

.slide-in-right.visible {
  transform: translateX(0);
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
	position: absolute;
	bottom: 10px; /* Place les boutons à 10px du bas */
	top: auto;    /* Supprime la position par défaut depuis le haut */
	width: 40px;  /* Ajustez la largeur si nécessaire */
	height: 40px; /* Ajustez la hauteur si nécessaire */
}
.carousel-control-prev {
	left: 10px; /* Positionne le bouton précédent à gauche */
}
.carousel-control-next {
	right: 10px; /* Positionne le bouton suivant à droite */
}

.carousel-fixed {
	height: 250px;
	overflow-y: auto;
}

@media (max-width: 767px) {
    .carousel-fixed {
        height: auto;
    }

}

.effet-wrapper {
position: relative;
display: inline-block;
width: 100%;
overflow: hidden; /* important pour que l'image ne dépasse pas */
}

.effet-wrapper img.effet {
display: block;
width: 100%;
height: auto;
border-radius: 8px;
transition: transform 0.4s ease;
}

.effet-wrapper:hover img.effet {
transform: scale(1.05);
}

.effet-overlay {
position: absolute;
bottom: 10px;
left: 10px;
right: 10px;
height: 33%;
background: rgba(117, 109, 177, 0.9);
color: #fff;
font-size: 22px;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 10px;
border-radius: 20px;
}

.effet-wrapper:hover .effet-overlay {
opacity: 1;
}

img.pivote {
  transition: transform 0.4s ease;
}

img.pivote:hover {
  transform: rotate(2deg);
}



img.relief {
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}

img.relief:hover {
  transform: rotateX(5deg) rotateY(5deg);
}



img.liseret {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: box-shadow 0.4s ease, outline 0.4s ease;
  box-sizing: border-box;
  position: relative;
}

img.liseret:hover {
  outline: 3px solid rgba(117, 109, 177, 1);
  box-shadow: inset 0 0 0 2px rgba(117, 109, 177, 0.8);
}



img.light {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

img.light:hover {
  transform: scale(1.1);
  opacity: 0.9; 
}


/* Conteneur du carrousel avec effet de livre */
.testimonial-carousel .carousel-inner {
    perspective: 1500px;
}

.testimonial-carousel .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.testimonial-carousel .carousel-item .book-page {
    width: 250px;
    height: 350px;
    margin: 0 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: absolute;  /* Assurer que les pages se chevauchent */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 1s ease;
    z-index: 1; /* Empilement des pages */
}

/* Styles spécifiques pour la page gauche et droite */
.testimonial-carousel .carousel-item .book-page.left {
    transform-origin: right;
}

.testimonial-carousel .carousel-item .book-page.right {
    transform-origin: left;
}

/* Animation de retournement */
.testimonial-carousel .carousel-item .book-page.active.left {
    transform: rotateY(-180deg);
}

.testimonial-carousel .carousel-item .book-page.active.right {
    transform: rotateY(180deg);
}

/* Textes du témoignage sur la page gauche */
.testimonial-carousel .book-page.left .testimonial-content {
    padding: 20px;
    text-align: center;
    position: absolute;  /* Positionner le texte de manière absolue */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Textes du témoignage sur la page droite */
.testimonial-carousel .book-page.right .testimonial-content {
    padding: 20px;
    text-align: left;
    font-size: 1.2rem;
    color: #333;
    position: absolute;  /* Positionner le texte de manière absolue */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Contrôles du carrousel */
.testimonial-carousel .carousel-control-prev, .testimonial-carousel .carousel-control-next {
    z-index: 10;
}

.heureux {
	background-image: url("https://www.somatao.fr/assets/img/heureux-avis.jpg");
	padding-top: 350px;
	padding-bottom: 0px;
	background-position: top -400px right 60%;
}

@media (max-width: 768px) {
  .heureux {
	padding-top: 0px;
    padding-bottom: 0px;
	background-image: none;
  }
}