/*** Modifs ***/

body{
    background-color: #fbece4;
    caret-color: transparent; /* supprime le curseur de saisie */
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    background-color: #e05b54;
}

.btn-primary-outline-0 {
    border: 0;
    color: var(--bs-white) !important;
}

.btn-light-outline-0 {
    border: 0;
    color: #7f0f09 !important;
}

.btn-primary-outline-0:hover {
    background-color: #7f0f09 !important;
    color: var(--bs-white) !important;
}

.btn-light-outline-0:hover {
    background-color: #7f0f09!important;
    color: var(--bs-white) !important;
}

/*** Modifs ***/

.btn-primary-outline-0{
    background-color: #e05b54;
}

.fa-facebook-f{
    color: white;
}

.btn-square:hover{
    background-color: #7f0f09;
}

/*** Topbar Start ***/
.sticky-top {
    transition: 0.5s;
    background: #dca588;/*change color*/
}

.topbar {
    padding: 10px 0;
    background: #dca588 !important;/*change color */
}

/**** Suppression du rose sur les boutons actifs *****/

.btn-check:checked+.btn-primary:focus, .btn-check:active+.btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 .25rem #7f0f09 !important;
    border-color: #7f0f09 !important;
}

.btn-check:checked+.btn-primary, .btn-check:active+.btn-primary, .btn-primary:active, .btn-primary.active, .show>.btn-primary.dropdown-toggle{
    background-color: #7f0f09 !important;
    border-color: #7f0f09 !important;
}

a:active{
    background-color: #7f0f09;
    border-color: #7f0f09 !important;
}

a:focus{
    background-color: #7f0f09 !important;
    border-color: #7f0f09 !important;
}

/* couleurs (modifie selon ta charte) */
:root{
  --btn-bg: #e05b54 ;   /* couleur normale (beige) */
  --btn-bg-hover: #7f0f09;/* couleur au hover (marron foncé) */
  --btn-border: #dca588;  /* bordure = beige */
}

/* état normal */
.btn-primary {
  background-color: var(--btn-bg) !important;
  border-color: var(--btn-border) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* hover (sombre quand on survole) */
.btn-primary:hover {
  background-color: var(--btn-bg-hover) !important;
  border-color: var(--btn-bg-hover) !important;
}

/* active (pendant l'appui) : on peut garder le même que hover */
.btn-primary:active {
  background-color: var(--btn-bg-hover) !important;
  border-color: var(--btn-bg-hover) !important;
}

/* focus (après le clic ou navigation clavier) : revenir au style normal
   et supprimer le ring/ombre Bootstrap qui donne l'effet 'rose' */
.btn-primary:focus,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--btn-bg) !important;
  border-color: var(--btn-border) !important;
  box-shadow: none !important;   /* supprime l'ombre colorée */
  outline: none !important;
}

/* garder une indication pour les utilisateurs clavier (accessibilité) */
.btn-primary:focus-visible {
  box-shadow: 0 0 0 .25rem rgba(220,165,136,0.25) !important; /* anneau discret */
}

/* Supprimer le fond au clic sur les liens de la navbar */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Supprimer aussi sur les liens de la topbar */
.topbar a:focus,
.topbar a:active {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Désactiver la main (curseur normal) sur certains liens */
.no-cursor {
  cursor: default !important;
  pointer-events: none; /*empêche le clic */
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.nav-link{
    color: white !important; /*change color*/
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #7f0f09 !important; /* change color*/
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}

 /*** Modif ***/

.text-primary{
    color: white !important;
}

.title{
    font-size: 40px;
}

.display-4{
    color: white;
}

.bg-light{
    background-color: #efcbb8 !important;
}

@media (max-width: 768px) {
  .navbar-brand h1 {
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
  }
  .navbar-toggler {
    margin-left: auto;
  }
}

/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    position: relative;
    min-height: 100vh
    
}

.carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0.5));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent;
}

#carouselId .carousel-indicators {
    padding-bottom: 30px;
}

@media (max-width: 768px){
    #carouselId .carousel-indicators{
        padding-bottom: 50px;
    }
}

#carouselId .carousel-indicators li {
    border-top: 10px solid var(--bs-white);
    border-bottom: 10px solid var(--bs-white);
    border-right: 5px solid var(--bs-white);
    border-left: 5px solid var(--bs-white);
    margin-right: 10px;
    border-radius: 10px;
    transition: 0.5s;
}

#carouselId .carousel-indicators li.active {
    background-color: #e05b54;
    border-color: #e05b54;
    border-right: 15px solid #e05b54 ;
    border-left: 15px solid #e05b54;
}
/*** Carousel End ***/


.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/energetique-chinoise1.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Services Start ***/
.services .services-item {
    transition: 0.5s;
}

.services .services-item:hover {
    background: #e05b54 !important;
    border-color: #7f0f09 !important;
}

.services .services-item:hover .services-content p,
.services .services-item:hover .services-content h3 {
    color: var(--bs-white);
    transition: 0.5s;
}

.services .services-item:hover .services-content a.btn {
    background: var(--bs-white);
    color: black !important;
}

.services .services-item:hover .services-content a.btn:hover {
    color: var(--bs-white) !important;
}

.services .services-item .services-img {
    overflow: hidden;
}

.services .services-item .services-img img {
    transition: 0.5s;
}

.services .services-item .services-img img:hover {
    transform: scale(1.3);
}

/* Modifs */

.col-lg-6 :hover{
    color: white;
}

.text-end{
    text-align: left !important;
}

.img-services {

    object-fit: contain;
    border-radius: 10px;
    height: 300px;
    align-items: center;
    justify-content: center;

}

@media (max-width: 768px){
    .img-services{
        object-fit: contain;
        height: 150px;
    }
}


/*** Services End ***/

/*** Rajout about ***/

#a-propos{
    background-color: #efcbb8 ;
    margin-bottom: 120px;
}

/*** About End ***/


/*** Appointment  Start ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/energetique-chinoise1.webp);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 120px;
}

.appointment .appointment-form {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, .4));
    object-fit: cover;
    border-radius: 10px;
}

.appointment .appointment-time {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, .2));
    object-fit: cover;
    border-radius: 10px;
}

/***** Modifs *****/

.places-hours{
    width: 100%;
}

.horaires{
    font-size: 30px !important;
    margin-bottom: 30px;
}

.display-5 {
    color: white !important;
    text-align: center;
}

.justify-content-between {
    justify-content: flex-start !important;
}

.places-hours h4 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #fff;
  font-family: "Open Sans", sans-serif;
}

.places-hours p {
  font-size: 20px;
  line-height: 1.4;
  color: #f0f0f0;
  font-family: "Open Sans", sans-serif;
}

@media (max-width: 768px) {
    .horaires{
        font-size: 26px;
        text-align: center;
    }

    .places-hours h4{
        font-size: 20px;
    }

    .places-hours p{
        font-size: 18px;
    }

    .text-center{
        gap: 30px;
    }
}

/*** Appointment End ***/


/*** Events Start ***/

.gallery .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.gallery .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.gallery .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.gallery .gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.img-fluid{
  width: 100%;
  aspect-ratio: 1/1;   /* carré parfait */
  object-fit: cover;
}

.gallery .gallery-img img {
    transition: 0.5s;
}

.gallery .gallery-img:hover img {
    transform: scale(1.3);
}

.gallery .gallery-img .gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.gallery .gallery-img .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
    
}

.gallery .gallery-img:hover .gallery-overlay,
.gallery .gallery-img:hover .search-icon {
    opacity: 1;
}

.text-on-image {
    color: black !important;
}

/*** Events End ***/


/*** Pricing Start ***/
.pricing {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/price-img.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pricing .pricing-item {
    color: var(--bs-white);
}

.pricing .pricing-item .pricing-content {
    background: rgba(255, 255, 255, 0.4);
}

.pricing .owl-carousel.pricing-carousel {
    position: relative;
}

.pricing .owl-carousel.pricing-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-white);

}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev,
.pricing .owl-carousel.pricing-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.pricing .owl-carousel.pricing-carousel .owl-nav .owl-prev:hover,
.pricing .owl-carousel.pricing-carousel .owl-nav .owl-next:hover {
    color: #e05b54; /*change color*/
}

.text-muted{
    color: white !important;
}

.border-primary{
    border-color: #e05b54 !important;
}

/*** Pricing End ***/

/***** Gallery *****/

.gallery{
    color: black !important;
}

.img-title{
    color: black !important;
}

/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/appointment.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .testimonial-item {
    background: rgba(0, 0, 0, 0.4);
}

.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-white);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: #e05b54;
}

.text-secondary{
    color: var(--bs-white) !important;
}

/*** testimonial end ***/

/**** follow me *****/

.bg-primary{
    background-color: #dca588 !important;
}

/*** Contact Start ***/
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/appointment-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact .contact-form {
    background: rgba(255, 255, 255, 0.6);
}
/*** Contact End ***/

/***** infos-map *****/

.info-window-map {
  max-width: 200px;
}

.info-window-map h6 {
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
}

.info-window-map p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.info-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 5px;
}

/*** footer start ***/
.footer {
    background: #dca588;
}

.justify-content-center{
    text-align: center !important;
    font-size: 26px !important;
}

.footer .footer-item a,
.footer .footer-item p {
    color: var(--bs-white);
    line-height: 40px;
    font-size: 17px;
    transition: 0.5s;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: #7f0f09 !important;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #efcbb8 !important;
}

a{
    color: var(--bs-white) !important;
}
/*** copyright end ***/

/****** Cookies *****/

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f8f9fa;
  padding: 15px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  font-size: 14px;
  z-index: 9999; /* important pour que ça passe au-dessus du contenu */
}

.cookie-banner button {
  background: #e05b54;
  color: white;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.cookie-banner #reject-cookies {
  background: #aaa;
}

.cookie-banner button:hover {
 background: #7f0f09;
}

.cookie-banner #reject-cookies:hover{
background: #555;
}

/***** Modal RDV *****/

.contact-infos {

  display: flex;
  flex-direction: column; 
  gap: 10px;
  padding-bottom: 15px; 

}

/* Écrans petits (mobiles ≤ 480px) */
@media (max-width: 480px) {
  .navbar-brand h1 {
    font-size: 16px; /* plus petit que sur 768px */
  }

  .horaires {
    font-size: 20px; /* au lieu de 26px */
  }

  .places-hours h4 {
    font-size: 18px;
  }

  .places-hours p {
    font-size: 16px;
  }

  .img-services {
    height: 120px; /* réduire encore */
  }
}