
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

   
/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; scroll-padding-top: 10vh;}
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; background: white; color: #333; }
a { text-decoration: none; color: inherit; display: inline-block;}
h1{ font-size: 2.2rem;}
h2{ font-size: 2rem; font-family: 'ZCOOL+XiaoWei';}
p{ font-size: 1.2rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 400;}

/* == Header Yoga Céline == */
header {
  width: 100vw;
  height: 10vh;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 56px;
  height: 11vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  color: #4E5148;
  padding: 1.2em 4em;
  z-index: 9999;
  transition: background 0.28s;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
}
nav a {
  color: #4E5148;
  font-family: 'ZCOOL XiaoWei', serif;
  font-weight: 400;
  letter-spacing: 2.5px;
  font-size: clamp(1em, 2vw, 1.6em);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
  padding: 0.5em 0.4em;
  border-radius: 5px;
}
nav a:hover {
  background: #C2DFD0;
  color: #51715e;
}

/* ----------- LOGO CELINE ----------- */
.logo-celine {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: clamp(1.4em, 3vw, 2.1rem);
  color: #4E5148;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 600;
}

/* ======= Burger Menu Button ======= */
.burger {
  display: none;
  background: none;
  border: none;
  outline: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  cursor: pointer;
  z-index: 10001;
  transition: filter 0.2s;
}
.burger span {
  display: block;
  height: 4px;
  width: 32px;
  background: #4E5148;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.32s cubic-bezier(.4,2,.6,1);
  pointer-events: none;
}
/* --- Burger to Cross Animation --- */
.burger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.1);
}
.burger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ======= Menu Overlay ======= */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #E3F1E8;
  z-index: 10000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  animation: menuIn 0.28s;
}
.mobile-menu-overlay.open {
  display: flex;
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-menu-header {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  padding: 2.5em 2em 1.5em 2em;
  background: transparent;
}

.mobile-menu-header .logo-celine {
  font-size: 2.1rem;
}

/* Liens menu mobile */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 4.5vh;
  gap: 2.4em;
  width: 100vw;
}
.mobile-menu-links a {
  color: #4E5148;
  text-decoration: none;
  font-family: 'ZCOOL XiaoWei', serif;
  font-weight: 500;
  font-size: 2.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.15s;
  border-radius: 4px;
  padding: 0.25em 0.8em;
}
.mobile-menu-links a:hover {
  background: #c2dfd0;
  color: #51715e;
}

/* Responsive : masque nav, affiche burger sur mobile */
@media (max-width: 900px) {
  header { justify-content: space-between; padding: 1.3em 2em; }
  nav a { display: none; }
  .burger { display: flex; }
}

/* Ajuste la taille du header et overlay sur mobile si besoin */
@media (max-width: 540px) {
  header {
    min-height: 42px;
    padding: 0.7em 1.3em;
  }
  .mobile-menu-header .logo-celine {
      font-size: clamp(1.4em, 3vw, 2.1rem);
  }
  .mobile-menu-links {
    gap: 1.6em;
    margin-top: 2.5vh;
  }
  .mobile-menu-links a {
    font-size: 1.18rem;
    letter-spacing: 0.12em;
    padding: 0.2em 0.3em;
  }
}

/* Body no-scroll quand menu ouvert (optionnel, JS) */
body.menu-open {
  overflow: hidden;
}

/* Header fond vert clair au scroll (adapte le color si tu veux un effet foncé/clair) */
header.header-scrolled {
  background: #E3F1E8 !important;
  box-shadow: 0 3px 14px #0001;
  transition: background 0.25s;
}



/* == Section Hero == */

.hero {
  position: relative;
  background-color: #E3F1E8;
  min-height: 60vh;
  display: flex;
  align-items: center;
  gap: 2%;
  color: white;
  padding: 2em 8em;
  box-sizing: border-box;
  overflow: visible;
}

/* ========== MOT "YOGA" VERTICAL DROITE (DESKTOP) ========== */
.hero-yoga-word-desktop {
  position: absolute;
  top: -5vh;
  right: 3vw;
  bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(6rem, 18vw, 15rem);
  font-weight: 900;
  color: #dbe9dc;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  text-align: center;
  line-height: 0.95;
  user-select: none;
  z-index: 99;
  transform: rotate(180deg);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 1;
}

/* ========== MOT "YOGA" À GAUCHE (MOBILE) ========== */
.hero-yoga-word-mobile {
  display: none;
}

@media (max-width: 800px) {
  /* Cache desktop, affiche mobile */
  .hero-yoga-word-desktop { display: none; }
  .hero-yoga-word-mobile {
    display: none;
    position: static;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 35vw, 6rem);
    font-weight: 900;
    color: #dbe9dc;
    letter-spacing: 0.04em;
    align-items: flex-end;
    justify-content: flex-start;
    transform: rotate(180deg);
    z-index: 2;
    pointer-events: none;
    height: auto;
    margin: 0;
    line-height: 0.95;
    order: 1;
    opacity: 1;
  }
}

/* (optionnel : mobile très petit) */
@media (max-width: 480px) {
  .hero-yoga-word-mobile {
    display: flex;
    font-size: clamp(1.1rem, 20vh, 6rem);
  }
}

/* ========== HERO TEXT & IMG ========== */
.hero-text {
  max-width: 43%;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3em;
  z-index: 3;
  position: relative;
}
.hero-visuals {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
  min-width: 280px;
  max-width: 57%;
}
.hero-img img {
  object-fit: cover;
  width: 100%;
  background: none;
  box-shadow: none;
  border-radius: 0;
  z-index: 100;
  position: relative;
}

/* == TITRE == */
.hero h1 {
  color: #4E5148;
  font-family: 'ZCOOL XiaoWei', serif;
  margin: 0;
  font-weight: 200;
  line-height: 1.15;
  font-size: clamp(1.2rem, 4vw, 2.7rem);
}
.hero h1 span {
  font-size: clamp(1.2em, 2vw, 1.6em);
  font-weight: 500;
  display: inline-block;
  margin-top: 0.13em;
}
.hero p {
  margin: 0;
  color: #4E5148;
  font-size: clamp(1rem, 1.2vw, 1.18em);
  line-height: 1.6;
}
.hero button {
  background-color: #7EA68D;
  color: white;
  border: none;
  font-size: clamp(1em, 1.5vw, 1.25em);
  width: 100%;
  max-width: 310px;
  height: 52px;
  margin-top: 28px;
  box-shadow: 0 2px 10px #0001;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.hero button:hover { background: #4E5148; }

/* ----------- RESPONSIVE TWEAKS ------------ */

/* Tablette (≤ 1100px) */
@media (max-width: 1100px) {
  .hero { padding: 2em 2.5em; }
  .hero-text { max-width: 45%; }
  .hero-visuals { max-width: 35%; justify-content: flex-start; }
  .hero-img{ width: 100%;}
  .hero-img img { width: 100%; height: auto; }
}

/* Mobile large (≤ 800px) */
@media (max-width: 800px) {
  .hero { padding: 2em 4em; gap: 0.8em; flex-direction: column;}
  .hero-text { gap: 0.77em; max-width: 90%; }
  .hero-visuals { max-width: 80%; margin-top: 2em; gap: 0.01em; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .hero-img{ width: 80%; min-height: 300px; display: flex; justify-content: center; align-items: center;}
  .hero-img img { width: 100%; height: 100%; }
  .hero button{ max-width: 200px; max-height: 50px;}
  .hero-yoga-word-mobile{ display: flex;}
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
  .hero { padding: 1em 0.1em 1.4em 0.1em; gap: 0.8em; flex-direction: column;}
  .hero-text { gap: 0.77em; }
  .hero-visuals { margin-top: 0.8em; gap: 0.01em; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .hero-img{ width: 80%; min-height: 300px; display: flex; justify-content: center; align-items: center;}
  .hero-img img { width: 100ù; height: 100%; }
  .hero button{ max-width: 200px; max-height: 50px;}
}




    /* == Infos == */

    .infos{
      padding: 2rem;
      background-color: #F2F8F4;
      text-align: center;
    }

    .infos h2{
      margin-bottom: 2%;
      color: #7EA68D;
      font-weight: 200;
    }

    .infos p{
      font-size: clamp(1.2em, 1vw, 2em);
      margin-bottom: 2%;
    }

    .infos .yoga-infos-quote{
      font-size: clamp(1.4em, 2vw, 2em);
      color: #7EA68D;
    }

    @media (max-width: 480px){
      .infos h2{ line-height: 1.2em; margin-bottom: 2vh;}
      .yoga-infos-quote{ margin-top: 2vh;}
    }


/* == Reviews  == */

.testimonial-slider {
  /*display: none; /* TEMPORAIRE POUR RESPONSIVE !!!!*/
  max-width: 1600px;
  margin: 0 auto;
  margin-bottom: 2vh;
  padding: 4em 0;
  width: 100vw;
}

.slider-header {
  text-align: center;
  margin-bottom: 50px;
}
.slider-header h2 {
  color: #6A8B76;
  font-size: 2.3rem;
  font-weight: 400;
  margin-bottom: 0.25em;
  letter-spacing: 1px;
}
.slider-header p {
  color: #6A8B76;
  font-size: 1.7rem;
  font-weight: 300;
  margin: 0;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  gap: 2em;
  margin: 0 auto;
  overflow: visible;
}

.slider-arrow {
  background: none;
  border: none;
  color: #B6CFC1;
  font-size: 2.7rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 3;
  margin: 0 12px;
}
.slider-arrow:hover {
  color: #6A8B76;
}

.carousel-track {
  display: flex;
  gap: 4em;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
  transition: all 0.8s cubic-bezier(.38,1.18,.63,1.01);
  height: 340px;
}

.carousel-slide {
  position: relative;
  min-width: 0;
  margin: 0 8px;
  transition: flex-grow 0.45s cubic-bezier(.38,1.18,.63,1.01), opacity 0.3s, transform 0.45s;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px #0001;
  padding: 48px 20px 32px 20px;
  opacity: 0.4;
  z-index: 1;
}

.carousel-slide.left,
.carousel-slide.right {
  flex-grow: 2;
  flex-basis: 0;
  opacity: 0.4;
  transform: scale(0.92);
  pointer-events: none;
}
.carousel-slide.active {
  flex-grow: 20;
  flex-basis: 0;
  opacity: 1;
  z-index: 2;
  transform: scale(1.06);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
}

.carousel-slide.active .testimonial-text{
  visibility: visible;
  opacity: 1;
}

.carousel-slide:not(.active) .testimonial-photo {
  opacity: 0.4;
  filter: grayscale(0.5);
}
.carousel-slide:not(.active) .testimonial-text{
  visibility: hidden;
  opacity: 0;
}

.carousel-slide .testimonial-photo {
  position: absolute;
  left: 5%;
  top: -5%;
  transform: translateX(-50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 2px 10px #0001;
  object-fit: cover;
  background: #fff;
  z-index: 2;
}

/* ----- Témoignages et guillemets stylés ----- */

.carousel-slide .testimonial-text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3em;
  width: 100%;
  font-size: 1.18rem;
  color: #A0A0A0;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  margin-top: 28px;
  position: relative;
  padding: 0 0.8em;
  transition: opacity 1s ease;
}

.carousel-slide .testimonial-message {
  flex: 1 1 auto;
  display: block;
}

.carousel-slide .quote-mark {
  font-size: 7em;
  color: #7FA78E;
  font-family: serif;
  font-weight: 700;
  user-select: none;
  line-height: 1;
  align-self: flex-start;
  margin-top: -0.2em;
}

.carousel-slide .quote-mark.left {
  margin-right: 0.15em;
}
.carousel-slide .quote-mark.right {
  margin-left: 0.15em;
}

/* Masquer les slides non visibles */
.carousel-slide:not(.left):not(.active):not(.right) {
  display: none !important;
}

@media( max-width: 1100px){
  .carousel-track{ width: 90%;}
  .quote-mark.right, .quote-mark.left{ font-size: 4em;}
  .testimonial-message{ font-size: 0.8em;}
}

@media (max-width: 900px) {
  .carousel-wrapper{
    width: 90%;
  }
  .carousel-track {
    width: 60%;
    gap: 0; /* Plus d'espace entre les slides */
    max-width: 60vw;
    margin: 0;
    height: auto;
    justify-content: center;
  }
  .carousel-slide {
    width: 100%;
    min-width: 60vw;
    max-width: 70vw;
    padding: 38px 8vw 22px 8vw;
    margin: 0;
    border-radius: 14px;
    box-shadow: 0 2px 8px #0001;
    opacity: 1 !important; /* On gère tout avec display */
    transform: scale(1) !important;
    flex-grow: 0 !important;
  }
  .carousel-slide:not(.active) {
    display: none !important;
  }
  .carousel-slide.active {
    display: flex !important;
    opacity: 1;
    z-index: 2;
    padding: 2em 1em;
    box-shadow: 0 4px 22px #0002;
    pointer-events: auto;
    flex-grow: 0 !important;
    transform: scale(1.02);
  }
  .carousel-slide .testimonial-photo {
    left: 50% !important;
    top: -48px;
    transform: translateX(-50%);
    width: 76px;
    height: 76px;
    border-width: 4px;
  }
  .slider-arrow {
    font-size: 2.1rem;
    margin: 0 8px;
    position: static;
    z-index: 4;
    width: 20%;
  }
  .testimonial-slider {
    padding: 2.4em 0 1.2em 0;
    max-width: 100vw;
    width: 100vw;
  }
  .quote-mark.left, .quote-mark.right{ font-size: 5em;}
  .testimonial-message{ font-size: .8em;}
  .testimonial-text{ font-size: 1em;}
}

@media (max-width: 600px) {
  .carousel-track {
    width: 80vw;
    max-width: 80vw;
  }
  .carousel-slide {
    width: 70vw;
    min-width: 70vw;
    max-width: 100vw;
    padding: 38px 4vw 20px 4vw;
    border-radius: 11px;
  }
  .carousel-slide .testimonial-photo {
    width: 58px;
    height: 58px;
    top: -35px;
  }
  .slider-header h2 {
    font-size: 1.5rem;
  }
  .slider-header p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px){
  .carousel-wrapper{ gap: .8em;}
  .quote-mark.left, .quote-mark.right{ font-size: 2em;}
  .testimonial-message{ font-size: .6em;}
}



/* == Section About */

.about{
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #FAFAFA;
  text-align: left;
  padding: 2em 4em;
}

.about-text{
  width: 50%;
  z-index: 2;
}

.about-img{
  width: 15%;
  min-width: 250px;
  z-index: 99;
}

.about-img img{
  width: 100%;
  object-fit: cover;
}

.about-text h2{
  margin-bottom: .5em;
  font-weight: 200;
  color: #7EA68D;
}

.about-text p{
  margin-bottom: .5em;
}

.about-text .quote{
  color: #7EA68D;
  font-size: 1.8em;
  font-weight: 700;
}

.yoga-about-bg{
  position: absolute;
  top: 0;
  right: 0;
  max-width: 40vw;
  height: 100%;
  z-index: 1;
}

@media (max-width: 900px){
  .about{ padding: 2em 2em}
  .about-img{
    min-width: 200px;
  }
}

@media (max-width: 600px){
  .about{
    flex-direction: column;
  }
  .about-text{
    width: 90%;
  }
}

@media (max-width: 480px){
  .about{
    padding: 1em 1em;
  }
  .about-img{
    min-width: 150px;
  }
  .about-text p{
    font-size: 1em;
    margin-bottom: 3vh;
  }
  .about-text .quote{
    font-size: 1.2em;
  }
}

/* == Section Contact == */

.contact{
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 3em 6em;
  background-color: #F2F8F4;
}

.contact-left{
  max-width: 30%;
}

.contact-left h2{
  color: #7EA68D;
  font-weight: 200;
  margin-bottom: .8em;
}

.contact-left img{
  object-fit: cover;
  width: 100%;
  max-height: 300px;
}


.contact-right{
  width: 45%;
  padding: 2em;
}

.contact-right form{
  display: flex;
  flex-direction: column;
}

.contact-right form div{
  display: flex
}

.contact-right form .column{
  flex-direction: column;
}
.contact-right form .row{
  flex-direction: row;
  justify-content: space-between;
}

.contact-right label{
  padding-left: 10px;
}

.contact-right input{
  height: 45px;
  max-height: 45px;
  max-width: 850px;
  margin-bottom: 5px;
  padding-left: 1%;
}

.contact-right input::placeholder{
  padding-left: 10px;
}

.contact-right textarea::placeholder{
  padding-top: 10px;
  padding-left: 10px;
}

.contact-right textarea{
  height: 80px;
  resize: none;
}

@media (max-width: 1100px){
  .contact-right{
    width: 65%;
  }
}

@media (max-width: 900px){
  .contact{
    flex-direction: column;
    padding: 2em 2em;
  }
  .contact-right{
    padding: 1em;
    width: 80%;
  }
  .contact-left{
    max-width: 100%;
  }
  .contact-left img{
    display: none;
  }
}

@media (max-width: 600px){
  .contact{
    padding: 2em 2em;
    flex-direction: column;
  }
  .contact-left img{
    display: none;
  }
  .contact-right{
    z-index: 100;
    width: 100%;
    padding: 0;
  }
  .contact-left{
    max-width: 90%;
  }
}

@media (max-width: 480px){
  .contact-right input{
    font-size: .6em;
  }
}

/* == Footer == */

footer{
  background-color: #E3F1E8;
  padding: 2em 4em;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

footer .socials{
  text-align: center;
  width: 40%;
}

.socials a{
  margin-right: 1em;
}

.socials img{
  width: 25px;
  height: 25px;
}

footer .footer-nav{
  width: 55%;
}

.footer-nav a{
  margin-right: 1em;
  font-size: clamp(0.8em, 2vw, 1.2em);
}

@media(max-width: 800px){
  footer{
    padding: 1.5em 2em;
  }
}

@media (max-width: 480px){
  footer{
    padding: 1em 1em;
    align-items: center;
  }
  .socials{
    gap: .4em;
  }
  .socials a{
    margin-right: 10px;
  }
  .footer-nav{
    padding: .4em;
    width: 60%;
    line-height: 1em;
  }
  .footer-nav a{
    padding-bottom: 10px;
  }
}