/*p {
  font-size: 14px;
} */

a {
  text-decoration: none;
}

.carousel-control-prev,
.carousel-control-next {
  top: auto;
  /* Override the default top positioning */
  bottom: 10px;
  /* Position it at the bottom */
  width: auto;
  /* Override the default width */
}

.carousel-control-next {
  right: auto;
  /* Reset the default right positioning */
  left: 60px;
  /* Position it next to the previous button */
}

.carousel-control-prev {
  left: 10px;
  /* Set the position from left */
}

.carousel-caption-right {
  right: 10%;
  /* Set the position from right */
  top: 50%;
  /* Set the position from top */
  bottom: auto;
  /* Override the default bottom positioning */
  left: auto;
  /* Override the default left positioning */
  transform: translateY(-50%);
  /* This is to center vertically */
  text-align: right;
  /* Align text to right */
}


.carousel-caption-left {
  left: 10%;
  /* Set the position from right */
  top: 50%;
  /* Set the position from top */
  bottom: auto;
  /* Override the default bottom positioning */
  right: auto;
  /* Override the default left positioning */
  transform: translateY(-50%);
  /* This is to center vertically */
  text-align: left;
  /* Align text to right */
}

.carousel-caption-middle {
  top: 50%;
  /* Set the position from top */
  bottom: auto;
  /* Override the default bottom positioning */
  transform: translateY(-50%);
  /* This is to center vertically */
}

.t-left {
  text-align: left;
}

.t-right {
  text-align: right;
}

.t-middle {
  text-align: center;
}

.titre-carousel {
  z-index: 10;
  font-family: Quicksand;
  visibility: visible;
  line-height: 35px;
  letter-spacing: 0px;
  font-weight: 300;
  font-size: 50px;
  border-color: rgb(117, 117, 117);
  border-style: none;
  border-radius: 0px;
  padding: 0px;
  text-decoration: none;
  white-space: nowrap;
  width: auto;
  height: 44px;
  min-height: 0px;
  min-width: 0px;
  max-height: none;
  max-width: none;
  opacity: 1;
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  transform-origin: 50% 50% 0px;
}


.text-carousel {
  z-index: 9;
  font-family: Quicksand;
  visibility: visible;
  line-height: 20px;
  letter-spacing: 0px;
  font-weight: 300;
  font-size: 20px;
  border-color: rgb(117, 117, 117);
  border-style: none;
  border-radius: 0px;
  padding: 0px;
  color: rgb(255 255 255);
  text-decoration: none;
  white-space: normal;
  height: auto;
  min-height: 0px;
  min-width: 0px;
  max-height: none;
  max-width: none;
  opacity: 1;
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  transform-origin: 50% 50% 0px;
}


@media (max-width: 767px) {
  .carousel-caption-right {
    top: 20%;
  }

  .carousel-caption-left {
    top: 20%;
  }

  .carousel-caption-middle {
    top: 20%;
    width: 100%;
    right: 0;
    left: 0;

  }

  .titre-carousel {
    font-size: 26px;
    /* ou la taille que vous désirez */
  }

  .text-carousel {
    width: auto;
  }

  .center-phone {
    text-align: center !important;
  }


  .justify-phone {
    text-align: justify !important;
  }

  .no-margin-phone {
    margin: 0 !important;
  }
}

/* CSS */
.animate-title {
  opacity: 0;
  transform: translateY(40px);
  animation: animateTitle 1.2s ease-out forwards;
}

.animate-description {
  opacity: 0;
  transform: translateY(40px);
  animation: animateDescription 1.2s ease-out forwards;
  animation-delay: 1s;
}

.animate-button {
  opacity: 0;
  transform: translateY(40px);
  animation: animateButton 1.2s ease-out forwards;
  animation-delay: 2s;
}

@keyframes animateTitle {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animateDescription {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animateButton {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.img-3 {
  max-width: 400px;
  height: 1024;
}

.img-2 {
  max-width: 100%;
  height: auto;
}

.imgRound {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.imgRound:hover {
  background: rgba(164, 164, 164, 0.556);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.hover-background {
  position: relative;
}

.hover-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  /* background-image: url(https://www.humanandtea.com/wp-content/uploads/2023/03/Bannière-centrale-printemps.png); */
  opacity: 0;
  transition: opacity 1s;
  z-index: -1;
}

.hover-background-Baudelaire::before {
  background-image: url(/uploads_compressor/Baudelaire-2.webp);
}

.hover-background:hover::before {
  opacity: 1;
}

.hover-background-2 {
  position: relative;
}



.hover-background-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url(https://www.humanandtea.com/wp-content/uploads/2023/03/jasmin.png); */
  opacity: 0;
  transition: opacity 1s;
  z-index: -1;
}

.hover-background-2:hover::before {
  opacity: 1;
}

.hover-background-3 {
  position: relative;
}

.hover-background-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/uploads_compressor/fumé-background.webp);
  opacity: 0;
  transition: opacity 1s;
  z-index: -1;
}

.hover-background-3:hover::before {
  opacity: 1;
}

.hover-background-3 {
  position: relative;
  background-color: #A9988A;
  /* Ou une couleur de fond de votre choix */
  transition: background-color 0.5s;
}

.hover-background-3:hover {
  background-color: transparent !important;
}



/* Produit css */

.article {
  padding: 20px;
  height: 500px;
}

.speed-article {
  /* Votre code CSS ici */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-decoration: none !important;
  box-shadow: 0 0 0 transparent;
}

.speed-article:hover {
  cursor: pointer;
  transform: scale(1.1);
  /* --bs-card-border-color: var(--bs-border-color-translucent) !important; */
  box-shadow: 0px 2px 7px rgb(37 47 93 / 12%);
}

.btn-human-blanc {
  /* Votre code CSS ici */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-decoration: none !important;
  box-shadow: 0 0 0 transparent;
  /* Initialise une valeur pour box-shadow */
}

.btn-human-blanc:hover {
  cursor: pointer;
  transform: scale(1.1);
  box-shadow: 0 7px 30px rgb(37 47 93 / 12%) !important;
}

.btn-matcha {
  background-color: #bed7a2;
  color: #ffffff;
  font-size: 18px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-matcha:hover {
  transform: scale(1.1);
  background-color: #ffffff;
  color: #bed7a2;
  font-weight: bolder;
}


a.row.justify-content-center.d-flex {
  text-decoration: none;
}

/* style.css */

.card-img-hover {
  position: relative;
  max-height: 25rem;
  overflow: hidden;
}
.card-img-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}
.card-img-hover img.secondary-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.card-img-hover:hover img.primary-image {
  opacity: 0;
}
.card-img-hover:hover img.secondary-image {
  opacity: 1;
}

.bio-label-card {
  height: 60%;
}

.image-container-seeyok {
  position: relative;
}
.top-right-seeyok, .bottom-right-seeyok {
  position: absolute;
  padding: 10px;
  border-radius: 5px;
  max-width: 90%;
}
.top-right-seeyok {
  top: 8%;
  right: 6%;
}
.bottom-right-seeyok {
  bottom: 12%;
  right: 8%;
}

.bottom-right-seeyok p {
  font-size: 4rem;
}

@media (max-width: 450px) {
  .top-right-seeyok {
    top: 1% !important;
    right: 0% !important;
    width: 15rem !important;
    left: 30% !important;
  }

  .bottom-right-seeyok {
    right: 3% !important;
    bottom: 1% !important;
    width: 10rem !important;
  }
  .top-right-seeyok h5, .top-right-seeyok p, .bottom-right-seeyok p {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .top-right-seeyok {
    top: 5%;
    right: 5%;
    left: 5%;
  }
  .bottom-right-seeyok {
    right: 8%;
    bottom: 8%;
  }
  .top-right-seeyok h5, .top-right-seeyok p, .bottom-right-seeyok p {
    font-size: 1.5rem;
  }

  .btn-darjeeling {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    background-color: #5a4448;
    border-color: #5a4448;
    color: #ffffff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }

  .btn-darjeeling:hover {
    transform: scale(1.1);
    color: #5a4448;
    border-color: #5a4448;
    border-width: 1.5px;
    background-color: unset;
    font-weight: bolder;
  }
}
.btn-darjeeling {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border-color: #5a4448;
  background-color: #5a4448;
  color: #ffffff;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-darjeeling:hover {
  transform: scale(1.1);
  color: #5a4448;
  border-color: #5a4448;
  border-width: 1.5px;
  background-color: unset;
  font-weight: bolder;
}

.img-size {
  width: 100%;
  height: auto;
}

.card {
  width: 30%;
  margin: 1%;
}

.card-title {
  font-size: 18px;
  font-weight: bolder;
  justify-content: center;
  padding-top: 1.5rem;
  width: auto;
}

.card-text {
  font-size: 14px;
  padding-top: 0.5rem;
  text-align: justify;

}

.card-button {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: inherit;
  padding-top: 0.5rem;
}



/* À gérer plus tard pour le btn découvrir

.card-button::after { 
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  background-color: currentColor;
}

*/








/* 

.container-fluid {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
*/
.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo img {
  max-width: 150px;
  margin-bottom: 20px;
  /* Ajoutez un peu d'espace entre le logo et le menu */
}

.main-nav ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  padding: 0;
  justify-content: center;
  /* Pour centrer les éléments du menu principal horizontalement */
}

.menu-item:hover+.submenu,
.submenu:hover {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  /* pour qu'il apparaisse sous le menu principal */
  left: 50%;
  /* à partir de la moitié de l'écran */
  transform: translateX(-50%);
  /* pour centrer le sous-menu */
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
}

.submenu ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  margin: 0 auto;
}

.burger-icon {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .burger-icon {
    display: block;
  }

  .img-2 {
    max-width: 350px;
    padding-top: 1rem;
  }

  .img-3 {
    max-width: 350px;
    padding-top: 1rem;
  }

  .bloc-step {
    height: 2rem;
  }

  .img-distortion {
    max-height: 20rem;
  }
}


/* Optimisations générales */
.carousel-item .row {
  position: relative;  /* Contexte de positionnement */
}

.carousel-text {
  z-index: 2;  /* Assure que le texte reste au-dessus */
}

/* Styles des boutons */
.btn-carousel-bootstrap {
  background-color: transparent;
  color: black;
  border: 1px solid black;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.btn-carousel-bootstrap::after {
  content: '➔';
  font-size: 16px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.btn-carousel-bootstrap:hover {
  background-color: #dcc2b0;
  color: white;
  border-color: #dcc2b0;
  text-decoration: none;
}

.btn-carousel-bootstrap:hover::after {
  color: white;
}

/* Style au survol du bouton */
.btn-discover:hover {
  background-color: #dcc2b0; 
  color: white; 
  border-color: #dcc2b0;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); 
}
@media only screen and (max-width: 767px) {
  .carousel {
    margin-top: 0;
    height: auto; 
    min-height: 400px;
    margin-bottom: 2rem;
  }

  .carousel-item {
    height: auto !important;  /* Permet au carousel de s'adapter à son contenu */
  }

  .carousel-item .container-fluid {
    height: auto !important;  /* Supprime la hauteur fixe */
    min-height: auto !important;  /* Supprime la hauteur minimale fixe */
  }

  .carousel-item .row {
    min-height: auto !important;  /* Permet à la rangée de s'adapter à son contenu */
    height: auto !important;
  }

  /* Ajustement spécifique pour la section Matcha */
  .carousel-item[style*="background-color:#cdb4ad"] {
    height: auto !important;
  }

  .carousel-item[style*="background-color:#cdb4ad"] .row {
    height: auto !important;
    padding-bottom: 20px;  /* Ajoute un peu d'espace en bas */
  }

  .carousel-text {
    padding: 20px 15px;  /* Ajuste le padding */
    height: auto !important;
  }

  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .container.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }

  .carouselx3 {
    margin-top: 2rem;
    overflow: hidden;
  }

  .carousel-item .col-12 {
    padding-left: 0;
    padding-right: 0;
  }

  /* Ajustement des images Matcha */
  .matcha-circle-img {
    width: 80px;  /* Réduit la taille en mobile */
    height: 80px;
  }

  /* Ajustement du conteneur des cercles Matcha */
  .row.mt-4 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  /* Ajustements pour la section texte en mobile */
  .carousel-item .col-12:last-child {
    height: 550px !important; /* Hauteur fixe pour la section texte */
    display: flex;
    align-items: center;
  }

  .carousel-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1rem;
  }

  .carousel-text > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Ajustements spécifiques pour le slide Matcha */
  .carousel-item[style*="background-color:#cdb4ad"] .carousel-text > div {
    justify-content: space-between;
  }

  .carousel-item[style*="background-color:#cdb4ad"] .row.mt-4 {
    margin-top: 1rem !important;
  }

  /* Ajustements des espacements */
  .carousel-text h2 {
    margin-bottom: 0.5rem;
  }

  .carousel-text p {
    margin-bottom: 0.5rem;
  }

  .carousel-text .btn-carousel-bootstrap {
    margin-top: 0.5rem;
  }
}

.carousel-item .row {
  position: relative;
}

.carousel-text {
  z-index: 2;
}
@media only screen and (min-width: 768px) and (max-width: 968px) {
  /* Assure un layout horizontal */
  .carousel-item .row {
    flex-direction: row !important;
    height: auto !important;
    min-height: 500px !important;
  }

  /* Force la largeur des colonnes */
  .carousel-item .col-12.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 15px !important; /* Rétablit les paddings Bootstrap */
    padding-right: 15px !important;
  }

  /* Force l'ordre des colonnes */
  .carousel-item .col-12.order-md-1 {
    order: 1 !important; /* Texte à gauche */
  }

  .carousel-item .col-12.order-md-2 {
    order: 2 !important; /* Image à droite */
  }

  /* Alignement du texte */
  .carousel-item .carousel-text > div {
    text-align: left !important;
  }

  .carousel-item .text-center.text-md-end.text-end {
    text-align: right !important;
  }

  /* Ajustements pour la section texte */
  .carousel-item .carousel-text {
    height: auto !important;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start !important; /* Aligne le texte à gauche */
  }

  .carousel-item .col-12:last-child {
    height: auto !important;
  }

  /* Rétablit les tailles par défaut pour le slide Matcha */
  .matcha-circle-img {
    width: 120px !important;
    height: 120px !important;
  }

  .matcha-kanji-img {
    width: 150px !important;
  }
}
@media (max-width: 768px) {
  .item p {
    font-size: 0.8rem;
  }
}