@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Caveat:wght@400..700&display=swap" rel="stylesheet">');

@font-face
{
  font-family: 'Dastin';
  src : url('../fonts/Dastin.otf') format('opentype'),
        url('../fonts/Dastin.ttf') format('trutype'),
        url('../fonts/Dastin.woff') format('woff'),
        url('../fonts/Dastin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root
{
    --noir: #000;
    --beige : #f0eee9;
    --beige2 : #ebe7e0;
    --beige3 : #F6F6F6;
    --beige4 : #FAF7F0;
    --blanc : #ffffff;
    --jaune : #fffede;
    --orange : #feae62;
    --taupe : #8e8d8a;
    --vert : #DDFFBB;
    --brun : #e8d5cc;
    --rose : #FCD1D1;
    --rose-gris : #AD9D9D;
    --brunF : #bda18a;
    --Mauve : #F1E3FF;
    --vert : #D8E2DC;
}

body
{
    overflow-x: hidden;
    min-height: 2000px;
}

h1
{
    font-weight: bolder;
}

h2, h3
{
    font-family: 'Dastin', sans-serif;
    text-align: center;
}

h1, h4, h5, h6
{
    font-family: 'Dastin', sans-serif;
}

h3
{
    font-size: clamp(1.2rem, 2vw, 2rem);
}

h4
{
    font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
}

p
{
    font-family: 'Bodoni Moda', serif !important;
    font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
}

.whiteFont
{
    color: var(--beige) !important;
}

.BodoniFont
{
    font-family: 'Bodon Moda', serif;
}

.DastinFont
{
    font-family: 'Dastin', sans-serif !important;
}

.opacity
{
  opacity: 80%;
}

/*Btn*/
.btn-order
{
    color: var(--orange);
    border-color: var(--orange);
    transition: 0.5s;
    min-width: 10rem;
    min-height: 3rem;
    font-weight: bold;
}

.btn-order:hover,
.btn-order:active
{
    color: #fff;
    background-color: var(--orange);
}

/* Indicateur de progression */

#scroll-indicator
{
  position: fixed;
  bottom: 20px;
  left: 20px;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background: conic-gradient(gray 0%, transparent 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background 0.3s ease;
}

/* Cercle intérieur pour l'effet de "remplissage circulaire" */
.inner-circle
{
  position: relative;
  width: 50px;
  height: 50px;
  background: var(--beige);
  border-radius: 50%;
}

.scroll-arrow
{
  position: absolute;
  top: 20%;
  left: 34%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: gray;
  animation: blink 1.2s infinite;
  user-select: none;
  pointer-events: none;
}

@keyframes blink
{
  0%, 100%
  {
    opacity: 1;
    transform: translateY(0);
  }
  50%
  {
    opacity: 0.3;
    transform: translateY(3px);
  }
}
/* END */

/* Section : banner */
.casaImayahTitle
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;       /* hauteur relative à la viewport */
  width: 100%;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.bannerTitle h1
{
  font-size: clamp(2rem, 5vw, 4rem); /* taille fluide selon largeur écran */
  font-weight: 600;
  font-family: 'Dastin', sans-serif;
  color: var(--blanc);
  margin: 0.5rem 0;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

.name h1
{
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.2rem;
  margin-top: 1rem;
  color: var(--blanc);
}

/* Image dans banner */
.bannerTitle img
{
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 1rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px)
{
  .casaImayahTitle
  {
    min-height: 50vh;
    padding: 1.5rem;
  }

  .bannerTitle h1
  {
    font-size: clamp(1.5rem, 6vw, 3rem);
  }

  .name h1
  {
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: 0.15rem;
  }

  .bannerTitle img
  {
    max-width: 150px;
    margin: 0.8rem 0;
  }
}

@media (max-width: 480px)
{
  .casaImayahTitle
  {
    min-height: 45vh;
    padding: 1rem;
  }

  .bannerTitle h1
  {
    font-size: clamp(1.2rem, 7vw, 2.5rem);
  }

  .name h1
  {
    font-size: clamp(1rem, 6vw, 1.8rem);
    letter-spacing: 0.1rem;
  }

  .bannerTitle img
  {
    max-width: 120px;
    margin: 0.5rem 0;
  }
}
/* END  Section : banner */

/*Parallaxe*/
.banner
{
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)), url("https://ik.imagekit.io/ru3tacudo/imayah/img/banner/banner.jpeg") center center fixed no-repeat;
    background-size: cover;
    height: 100vh;
    min-height: 500px;
}

section .bannerTitle
{
    font-size: 6rem;
    font-family: 'Dastin', sans-serif;
    color: var(--beige);
    letter-spacing: .6rem;
}

.soins
{
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)), url("https://ik.imagekit.io/ru3tacudo/imayah/img/banner/fond1.jpg") center center fixed no-repeat;
    min-height: 2800px;
}

.card-bloc
{
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("https://ik.imagekit.io/ru3tacudo/imayah/img/banner/fond2.jpg") center center fixed no-repeat;
    min-height: 1800px;
}

.card-contact
{
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("https://ik.imagekit.io/ru3tacudo/imayah/img/banner/fond3.jpeg") center center fixed no-repeat;
    background-size: cover;
    min-height: 1800px;
}
/*Parallaxe END*/


/*Section Qui sui-je ?*/
.F-A
{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.sectionQuiSuisJe p
{
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    text-align: center;
    margin: 1rem 0;
}

.sectionQuiSuisJe
{
    background-color: var(--jaune);
    min-height: 1200px;
}

.Bxl-Sicile
{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.Bxl-Sicile > div
{
  flex: 1 1 50%;
  max-width: 50%;
  position: relative;
}

.img-half
{
  height: auto;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: 50% 44%;
  display: block;
}

 /* Responsive */
 @media (max-width: 992px)
 {
  .col-lg-6.pe-5
  {
    padding-right: 1rem !important;
  }
}

@media (max-width: 768px)
{
  .sectionQuiSuisJe
  {
    padding: 2rem 1rem;
  }

  .sectionQuiSuisJe h1.mainTitles
  {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .F-A
  {
    max-width: 100%;
  }

  .col-lg-6
  {
    margin-bottom: 2rem;
    text-align: center;
  }

  .sectionQuiSuisJe article
  {
    padding: 0 1rem;
  }
}

@media (max-width: 480px)
{
  .sectionQuiSuisJe h1.mainTitles
  {
    font-size: clamp(1.2rem, 7vw, 2rem);
  }

  .sectionQuiSuisJe p
  {
    font-size: 1rem;
  }
}

/* Responsive END*/

/* Slider : cabinet */
.slider-cabinet
{
    height: 325px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-track
{
  display: flex;
  align-items: center;
  gap: 20px;
  animation: scroll 40s linear infinite;
  width: fit-content;     /* s'adapte à toutes les images */
  will-change: transform; /* optimise l'animation */
  animation: scroll 60s linear infinite;
}

.slider-item
{
  flex: 0 0 auto;       /* prend uniquement la place de son contenu */
  width: 400px;         /* largeur fixe de chaque image */
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px)
{
  .slider-item
  {
    flex: 0 0 80%; /* 1 carte centrée */
  }
}

.slider-item img
{
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

/* Rotation spécifique pour certaines images */
.rotate-90
{
    transform: rotate(90deg);
    width: auto;
    height: 400px !important;
    object-fit: cover;
}

.rotate-cabinet4
{
    transform: rotate(-90deg);
    width: auto;
    height: 400px !important;
    object-fit: cover;
}

/* Ajustement spécial pour cabinet5.jpeg */
.special-img
{
    height: 180px;
    width: auto;
    object-fit: cover;
    transform: rotate(90deg);
    height: 400px !important;
}

/* Ajustement du container slider-item */
.slider-item.special-img-container
{
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

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

  /* Supprime les espaces blancs */
.slider-track,
.slider-item
{
  margin: 0;
  padding: 0;
}

/* Affichage : mobile */
@media (max-width : 768px)
{
    .slider-cabinet
    {
        display: none !important;
    }
}

/* TABLETTE : 2 images visibles */
@media (max-width: 992px) and (orientation: landscape)
{
   .slider-cabinet
   {
        display: none !important;
   }
}

/* Slider : cabinet END*/

/*Section Qui sui-je ? END*/

/* Section : soins */
.soins .container
{
  max-width: 800px;
  margin: 0 auto;
}

.card-wrapper
{
  margin-bottom: 3rem;
}

.card
{
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: 100%;
}

.card-img-top
{
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  width: 100%;
}

.card-body
{
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card-title
{
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #222;
}

.card-body h4
{
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #444;
}

.card-text
{
  font-size: 1rem;
  color: #555;
}
/*  END Section : soins */

/*Section création*/
.sectionCreation
{
  background-color: var(--jaune);
}

.sectionCreation .card
{
  background-color: var(--jaune);
}

.card .list-group-item
{
  background-color: var(--jaune) !important;
}

section .sectionCreationTitle
{
    font-size: 3em;
    font-weight: 600;
    font-family: 'Dastin', sans-serif;
}

/* Slider container */
.slider-container-ds
{
  width: 100%;
  overflow: hidden;
}

.slider-item-creations
{
  flex: 0 0 auto;
  width: calc(100% / 3 - 1rem); /* desktop */
  aspect-ratio: 1 / 1; /* carré, change si besoin (ex: 4/3, 16/9) */
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  scroll-snap-align: start;
}

.slider-track-creations
{
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

/* Images */

.slider-item-creations img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

/* Texte sous l’image */
.slider-item-creations p
{
  margin: 0;
  padding: .5rem 0;
  text-align: center;
  font-size: 1.4rem;
  color: #555;
  border-radius: 0 0 1rem 1rem;
}

/* Responsive : slider */
/* TABLETTE */
@media (max-width: 992px)
{
  .slider-item-creations {
    width: 50%;
    height: 300px;
  }
}

/* TABLETTE */
@media (max-width: 992px)
{
  .slider-item-creations { width: 50%; aspect-ratio: 4 / 3; }
}

/* MOBILE */
@media (max-width: 768px)
{
  .slider-item-creations { width: 90%; margin: 0 auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 480px)
{
  .slider-item-creations { width: 100%; aspect-ratio: 4 / 3; }
}
/* Responsive : slider END*/

.dessinsVib p
{
    margin-top: 18px !important;
}


section .picture
{
    height: 600px;
}

.write ul > li
{
    font-size: 1.5rem;
}

/*Slider : peintures*/
.sliderPaintings
{
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.sliderPaintings .carousel-item
{
    height: 100%;
}

.sliderPaintings .carousel-item img
{
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 992px)
{
    .sliderPaintings { height: 450px; }
}

@media (max-width: 768px)
{
    .sliderPaintings { height: 320px; }
}

@media (max-width: 480px)
{
    .sliderPaintings { height: 250px; }
}
/*Responsive END*/

/*Section activités*/
#bijouxSlider,
#bijouxSlider .carousel,
#bijouxSlider .carousel-inner,
#bijouxSlider .carousel-item
{
  max-width: 100%;
  height: auto;
}

/* Images du carousel : responsive et cadrées */
.carousel-inner img,
#bijouxSlider img
{
  width: 100%;
  height: 100%;
  max-height: 400px; /* hauteur unifiée pour tous les sliders */
  object-fit: cover;
  border-radius: .5rem;
  display: block;
}

/* Uniformisation des carousels d’ateliers */
.blocAteliers .carousel
{
  width: 100%;
  max-width: 600px;
  height: 350px; /* hauteur fixe pour l’uniformité */
  overflow: hidden;
  margin: 0 auto;
}

.blocAteliers .carousel-inner
{
  width: 100%;
  height: 100%;
}

.blocAteliers .carousel-item
{
  height: 100%;
}

.blocAteliers .carousel-item img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.8s ease;
}

/* Effet de zoom doux au survol */
@media (hover: hover)
{
  .blocAteliers .carousel-item img:hover
  {
    transform: scale(1.05);
  }
}

/* Image ronde : garder la circularité et être responsive */
.atelier-row .rounded-circle,
.atelier-image .rounded-circle,
.atelier-img
{
  width: 300px;
  max-width: 80%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Réduction du padding sur la colonne du slider sur petits écrans */
.atelier-row .col-md-5
{
  padding: 0.75rem;
}

.blocBtn
{
  margin-right: -15% !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center !important;
}

.carousel.carousel-fade .carousel-item
{
  transition: opacity 2s ease-in-out;
}

/* L’image garde sa forme ronde */
.blocAteliers img.rounded-circle
{
  width: 220px !important;
  height: 220px !important;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* Le texte reste bien centré */
.blocAteliers .col-md-3 {

  text-align: center;
  order: 2;
}

/* Réduction du padding pour aérer */
.blocAteliers .col-md-5,
.blocAteliers .col-md-4
{
  padding: 1rem !important;
}

/* Responsive */
@media (max-width: 1200px)
{
  .atelier-row
  {
    flex-direction: column !important;
    align-items: center;
  }

  .atelier-row .col-md-4,
  .atelier-row .col-md-3,
  .atelier-row .col-md-5
  {
    width: 100%;
    max-width: 900px;
  }

  .atelier-row .col-md-4 { order: 1; }
  .atelier-row .col-md-3 { order: 2; }
  .atelier-row .col-md-5 { order: 3; }

  .atelier-row .rounded-circle
  {
    width: 220px;
    max-width: 60%;
  }

  .atelier-row .carousel
  {
    width: 100%;
    max-width: 700px;
    margin: 0.5rem auto;
    height: 300px; /* un peu plus bas sur tablette */
  }
}

@media (max-width: 992px)
{
  .blocAteliers .carousel
  {
    height: 280px;
  }
}

@media (max-width: 768px), (max-height : 768px) and (orientation: landscape)
{
  .blocAteliers
  {
        display: none !important;
  }
}
/* Section : Collaborations END*/

/* SectionRetraites */
.blocRetraites
{
    margin-bottom: 20% !important;
}

/* Carousel Wild Hearts */
.retraiteImg.wild-hearts .carousel-inner img,
.wild-hearts .carousel-item img,
.wild-hearts-img {
    width: 30% !important;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* Empêche les transitions de modifier la hauteur */
.retraiteImg.wild-hearts .carousel-inner
{
    display: flex;
    align-items: center;
}

.retraiteImg.wild-hearts .carousel-item
{
    transition: opacity 1s ease-in-out;
}

/* Tablettes (écrans < 992px) */
@media (max-width: 992px)
{
    .retraiteImg.wild-hearts .carousel-inner img
    {
        width: 50% !important;
        max-height: 350px;
    }
}

/* Mobiles (écrans < 768px) */
@media (max-width: 768px)
{
    .retraiteImg.wild-hearts .carousel-inner img
    {
        width: 70% !important;
        max-height: 300px;
    }
}

/* Petits smartphones (écrans < 480px) */
@media (max-width: 480px)
{
    .retraiteImg.wild-hearts .carousel-inner img
    {
        width: 90% !important;
        max-height: 250px;
    }
}

/* Carousel Wild Hearts END */

/* Carousel Soleil-Levant et autres */
.soleil-levant img,
.retraiteImg .carousel-item img
{
    width: 100%;
    aspect-ratio: 4 / 3;  /* ratio fixe */
    object-fit: cover;     /* crop si nécessaire pour remplir le container */
    border-radius: 15px;
    display: block;
}

/* Hauteur maximum sur desktop / tablette / mobile */
@media (min-width: 992px)
{
    .retraiteImg .carousel-item img { max-height: 500px; }
}

@media (max-width: 991px)
{
    .retraiteImg .carousel-item img { max-height: 400px; }
}

@media (max-width: 768px)
{
    .retraiteImg .carousel-item img { max-height: 300px; }
}

@media (max-width: 480px)
{
    .retraiteImg .carousel-item img { max-height: 250px; }
}

/* Cacher uniquement le slider du Voyage de l'âme sur mobile */
@media (max-width: 768px) and (orientation: landscape)
{
  .retraiteImg.voyage-ame > .carousel
  {
    display: none !important;
  }
}

/* END */

/* Section : Casa Imayah*/
.casaImayah img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sectionContact .btn-order
{
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.sectionContact .d-flex
{
  justify-content: center !important;
  align-items: center !important;
}

/* Responsive */
/* Version mobile */
@media (max-width: 768px)
{

}
/* Section : Casa Imayah END*/

/* Section :  sectionContact*/
.sectionContact
{
  background-color: var(--jaune);
}

label
{
  font-family: 'Dastin', sans-serif;
  font-size: 1.2rem;
  color: var(--beige);
}

input::placeholder,
textarea::placeholder
{
  font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  font-style: italic;
  color: #999;
  opacity: 1;
}

.custom-radius
{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
/*  END Section :  sectionContact*/

/* Media Queries */
/* Inactivation du parallaxe */
@media (max-width: 768px)
{
  .soins,
  .card-bloc,
  .card-contact
  {
    background: #444 !important; /* gris élégant */
    background-attachment: scroll !important;
    background-image: none !important; /* enlève l'image */
  }
}

@media (max-width: 768px)
{
  .form
  {
    background-color: var(--rose) !important;
  }

  .card-contact form
  {
    padding: 2rem 1.5rem;
  }

  .card-contact h1
  {
    font-size: 2rem;
  }

  .card-contact .form-label
  {
    font-size: 1rem;
  }

  .card-contact input,
  .card-contact textarea
  {
    font-size: 0.95rem;
  }

  .card-contact textarea
  {
    min-height: 150px;
  }

  .card-contact .btn-order
  {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.9rem;
  }
}

@media (max-width: 768px)
{
  .input-group-text
  {
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
  }

  .form-control
  {
    padding: 0.7rem 0.9rem;
  }

  .card-contact input,
  .card-contact textarea
  {
    font-size: 1rem;
    line-height: 1.4;
  }

  .card-contact input::placeholder,
  .card-contact textarea::placeholder
  {
    font-size: 0.9rem;
    white-space: normal; /* permet le retour à la ligne du placeholder */
  }

  /* Évite que les champs débordent horizontalement */
  .card-contact .input-group
  {
    flex-wrap: nowrap;
    width: 100%;
  }
}