* {
    margin: 0;
    box-sizing: border-box;
}
:root {
    --corColor: #ebe2d5;
    --navColor: #788D73;
    --boderColor: #e4ad50;
    --titleColor: #11421b;
    --pigmentColor: #FAA4BD;
    --coreStyle:  Nunito, sans-serif;
    --titleStyle: Playfair Display, sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    flex: 1;
    font-size: 1rem;
    background-color: var(--corColor);
    color: var(--titleColor);
    width: 100vw;
    overflow-x: hidden;
}
.header {
    display: flex;
    width: 100vw;
    height: 80px;
    background-color: var(--navColor);
    color: var(--corColor);
    flex-direction: row;
    justify-content: space-evenly;
    position: fixed;
    z-index: 11;
    font-size: 2rem;
    transition: background-color 0.4s ease;
    border-bottom: solid 2px var(--boderColor);
}

/* Variante verte (sur fond beige) */
.header.green {
    background-color: var(--navColor); /* vert */
    color: var(--corColor);            /* texte clair */
}

/* Variante beige (sur fond vert) */
.header.beige {
    background-color: var(--corColor); /* beige */
    color: var(--titleColor);          /* texte foncé */
}

/* Ajuste les liens */
.header.beige .navLink {
    color: var(--titleColor);
}
.header.green .navLink {
    color: var(--corColor);
}
/* Hover sur les liens selon le contexte */
.header.green .navLink:hover {
  color: var(--boderColor);
  transform: scale(1.1);
}

.header.beige .navLink:hover {
  color: var(--boderColor);
  transform: scale(1.1);
}
#burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--corColor);
  margin-right: 1rem;
  z-index: 10;
  cursor: pointer;
}
#burger.green {
  color: var(--navColor);
}
#burger.beige {
  color: var(--corColor);
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: right;
}

.navList {
    display: flex;
    gap: 5rem;
    margin-right: 2rem;
}
.navLink {
    text-decoration: none;
    color: var(--corColor);
    transition: 0.5s ease-in-out;
    display: inline-block;
}
.navLink:hover {
    transform: scale(1.1);
    color: var(--boderColor);
}
.navList li {
    list-style: none;
}
    .logo {
        width: auto;
        height: 100px;
        position: relative;
        margin: -0.8rem auto auto 1rem;
        transition: 0.5s ease-in-out;
    }
    .logo:hover {
        transform: scale(1.2);
    }
    .logo2 {
        width: auto;
        height: 100px;
        position: relative;
        transition: 0.5s ease-in-out;
        margin: auto auto auto 1rem;
    }
    .logo2:hover {
        transform: scale(1.1);
    }
.principalTitle {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-family: var(--titleStyle);
    text-align: center;
    margin: 2.5rem;
}

.primaryTitle {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-family: var(--titleStyle);
    color: var(--titleColor);
    text-align: center;
    margin: 4rem auto 4rem auto;
}
.secondTitle {
    margin: 2rem 2rem 2rem 3rem;
    font-size: clamp(1.1rem, 3.5vw, 2rem);
    font-family: var(--titleStyle);
    color: var(--titleColor);
}
.subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-family: var(--titleStyle);
    margin-bottom: 0.5rem;
}
/* Section 1 */

#leCheval {
    position: relative;
    height: auto;
    min-height: calc(100vh + 120px);
    padding-top: 10rem;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    justify-content: center;
    color: #0e2b14;
    text-align: center;
    z-index: 1;
    background-image: url("shadowVictoria.webp");
    font-family: var(--coreStyle);
}
    #leCheval::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: 0;
        background: rgba(235, 226, 213, 0.4);
    }
    .parallax {
        position: relative;
        z-index: 1;
        padding: 2rem;
    }
    .parallax p {
        font-size: clamp(0.9rem, 3vw, 1.5rem);
        font-family: var(--coreStyle);
        margin-top: 3rem;
    }
    .parallax p:last-of-type {
        text-decoration: underline;
    }
.wave-bottom {
  position: absolute;
  left: 0;
  bottom:0;                /* masque le petit joint éventuel */
  width: 100%;
  height: 120px;               /* doit correspondre au viewBox hauteur */
  display: block;
  margin-bottom: -2px;
}

/* section 2 */
.sectionContent {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.verticalImage {
    width: 55%;
    height: auto;
    border-radius: 20px;
}
.textContent {
    font-size: 1.5rem;
    margin: 0 0 0 2rem;
    line-height: 2rem;
    
}
.textList {
    padding: 1rem;
}
.list {
    font-family: var(--coreStyle);
    margin: 2rem;
}

/* section2 slide3 */
#sectionContent2 {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    align-items: start;
    font-size: clamp(0.9rem, 3vw, 1.5rem);
    line-height: 2rem;
    column-gap: 2rem;
    font-family: var(--coreStyle);
}
#leftColumn {
    grid-column: 1;
}
#cloud, #horse {
    display: flex;
    justify-content: center;
    margin: 4rem;
}
#cloudIcon {
    float: left;
    margin: -1rem 2rem auto;
    width: 8vw;
    height: auto;
}
#sunIcon {
    width: 15vw;
    height: auto;
}
/* section3 slide1 */
#leShiatsu {
    background-color: var(--navColor);
    color: var(--corColor);    
    font-family: var(--coreStyle);
    padding: 1rem;
}
.transition {
    clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0 100%);
    background-color: var(--navColor);
    width: 100%;
    height: 200px;
    margin-bottom: -4.1rem;
}
.transition2 {
    background-color: var(--navColor);
    width: 100vw;
    height: 200px;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
    margin-top: -1rem;
    z-index: -1;
}
#leShiatsu p:not(#precision){  
    text-align: center;
    line-height: 2rem;
    font-size: 1.5rem;
}
#leShiatsu h3{
    text-align: center;
    margin: 2rem;
}
#precision {
    margin: 1rem auto auto 1rem;
    font-size: 1.2rem;
}
/* SECTION 3 */
#présentationKaren {
    font-family: var(--coreStyle);
    line-height: 2rem;
    text-align: center;
    font-size: 1.5rem;
}
.sectionContent3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-top: 4rem;
}
.sectionContent3 p {
    margin: 4rem auto;
}
/* Slide2 */
.sectionContent4 {
    display: flex;
    width: 100vw;
    color: var(--titleColor);
    font-family: var(--coreStyle);
    text-align: center;
    margin: 2rem auto;
    font-size: 1.5rem;
    line-height: 2rem;
    justify-content: center;
    align-items: center;
}
.river {
    width: 30%;
    height: auto;
    margin-bottom: -3rem;
    margin-left: 2rem;
}
.imageFlex {
    width: 20%;
    height: auto;
    border-radius: 20px;
    margin: 2rem;
}
/* section4 */
#accompagnement {
    font-size: 1.5rem;
    font-family: var(--coreStyle);
    background-color: var(--navColor);
    color: var(--corColor);
    line-height: 2rem;
    padding: 2rem;
}
.listSection4 {
    margin: 2rem;
}
.important {
    text-align: center;
    font-size: 1.3rem;
}
#accompagnement ul {
    margin-top: 2rem;
}
.slide8, .checkbox {
    margin: 2rem auto 2rem auto;
}
.checkbox li{
    list-style: none;
    padding: 0.7rem;
    display: flex;
}
.checkbox li p {
    margin-left: 1rem;
    margin-top: -0.2rem;
}
.subSlide8 {
    text-align: center;
    font-family: var(--titleStyle);
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--titleColor);
}
#offre {
    font-size: 1.5rem;
    font-family: var(--coreStyle);
    line-height: 2rem;
    padding: 2rem;
    color: var(--titleColor);
}
#offre p {
    text-align: center;
}

#témoignages {
    width: 100vw;
}
.carousel-container {
  width: 100vw;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--navColor);
}
.carousel {
  width: 100vw;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  align-items: center;
  gap: 8rem;
}

.carousel-image {
  width: 20%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: blur(2px) brightness(0.8);
  transform: scale(0.8);
  flex-shrink: 0;
  border-radius: 10%;
}

/* Image active */
.carousel-image.active {
  filter: none;
  transform: scale(1.1);
  z-index: 2;
}

#prev, #next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: var(--boderColor);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 3;
  height: 100px;
  width: 50px;
  transition: 0.8s ease;
}
#prev {
  left: 10px;
  margin-left: 2rem;
}
#next {
  right: 10px;
  margin-right: 2rem;
}
/* CONTACT  */

.formulaire {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 3em;
    margin: auto;
    max-width: 1000px;
    color: var(--titleColor);
    font-family: var(--titleStyle), sans-serif;
}
#contact-form {
    width: 60vw;
    max-width: 500px;
    min-width: 300px;
    margin: -2.5em auto;
    padding-bottom: 2em;
}
    input:not(#conditions), textarea {
        border: 1px solid var(--titleColor);
        background-color: var(--navColor);
        width: 100%;
        min-height: 2.1em;
        margin: 1em auto;
        color: var(--titleColor);
        transition: border-color 1s ease-in-out, box-shadow 1s ease-in-out, border-radius 0.3s;
        padding: 0.8em;
    }
    input:focus:not(#conditions), textarea:focus {
        border: solid 2px var(--boderColor);
        box-shadow: 0 0 5px var(--boderColor);
        border-radius: 20px;
    }
    fieldset {
        border: none;
        padding: 2rem 0;
    }
    textarea {
        min-height: 6em;
        resize: none;
    }
    textarea::placeholder {
        color: var(--titleColor);
        font-size: 1em;
        text-align: left;
    }
#conditions {
    width: unset;
    margin: 0 2em 0 0;
    vertical-align: middle;
}
.termes {
    color: var(--textColor);
    font-family: var(--coreStyle);
}
form [type=submit] {
    display: block;
    border-radius: 20px;
    background-color: var(--boderColor);
    border: none;
    width: 50%;
    height: 2em;
    font-size: 1em;
    margin: 2em auto;
    box-shadow: 0px 2px  5px #9a7536;
    color: white;
    cursor: pointer;
}
form [type=submit]:hover {
    transform: scale(1.3);
    transition: 1s ease-in-out;
    background-color: #788D73;
    box-shadow: 2px 3px 5px #657660;
}
form [type=submit]:active {
    border: 1px solid black;
}
form a {
    text-decoration: none;
    color: var(--boderColor);
}
form a:hover {
    text-decoration: underline;
    color: var(--navColor);
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--boderColor);
  outline-offset: 1px;
}
.price {
    display: block;
    border-radius: 20px;
    background-color: var(--boderColor);
    border: none;
    width: 20%;
    height: 2em;
    font-size: 1.5em;
    margin: 2em auto;
    box-shadow: 0px 2px  5px #9a7536;
    cursor: pointer;
    font-family: var(--titleStyle);
}
.price:hover {
    transform: scale(1.3);
    transition: 1s ease-in-out;
    background-color: #788D73;
    box-shadow: 2px 3px 5px #657660;
}
.price a {
  text-decoration: none;
  color: var(--titleColor);
}
.price a:hover {
  color: var(--corColor);
  transition: 1s ease-in-out;
}
/* BACKGROUND TITRE */
.primaryWave {
  width: clamp(300px, 90vw, 1400px);
  height: clamp(60px, 8vw, 70px);
  background-color: var(--pigmentColor);
  clip-path: url(#primary-wave-clip);
  -webkit-clip-path: url(#primary-wave-clip);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 2rem auto;
  overflow: hidden;
}
.secondaryWave {
    width: clamp(300px, 90vw, 1400px);
  height: clamp(60px, 8vw, 70px);
  background-color: var(--boderColor);
  clip-path: url(#secondary-wave-clip);
  -webkit-clip-path: url(#secondary-wave-clip);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 2rem auto;
  overflow: hidden;
}
/* PAGE TARIF */
.logo3 {
  width: 60%;
  height: auto;
  display: block;
  justify-content: left;
  margin: -5% 0 0 -20%;
}
.tarifTitle {
  font-size: clamp(1.6rem, 4vw, 4rem);
  text-align: center;
  margin-top: -3.5em;
  color: var(--titleColor);
  font-family: var(--titleStyle);
}
.tarifSecondTitle {
  text-align: center;
  margin: 2em;
  color: var(--titleColor);
  font-family: var(--titleStyle);
  font-size: clamp(1.6rem, 4vw, 2.5rem)
}
hr {
  width: 20%;
  margin: 1em auto 3em auto;
  height: 5px;
  background-color: var(--boderColor);
  border: none;
}
.precisions {
  font-size: 1.5em;
  text-align: center;
  margin: 3em auto 3em auto;
}
article {
  text-align: justify;
  
}
.seance, .prix {
  display: inline-block;
  margin: 1em 15% 1em 15%;
  font-size: 1.5em;
}
.seance {
  text-align: left;
  width: 30%;
}
.prix {
  text-align: right;
}
.details {
  font-size: 1em;
  text-align: left;
  margin: -1em 15% auto 15%;
}
.contact {
  text-align: center;
  font-size: 1.5em;
}
.tarifFooter {
  display: flex;
  justify-content: space-between;
  margin: 10% 2em 1em 2em;
}
.tel-link {
  font-size: 1.5rem;
  font-family: var(--titleStyle);
  color: var(--titleColor);
  cursor: default;          /* pas la main */
  user-select: text;        /* on peut quand même copier le numéro */
  display: inline-block;
  transition: 1s ease-in-out;
}

.tel-link:hover {
  color: var(--boderColor);
  transform: scale(1.2);
}
section { 
  scroll-margin-top: 100px;
}

/* FOOTER */
footer {
    display: flex;
    width: 100%;
    height: 80px;
    justify-content: space-between;
    background-color: var(--navColor);
    align-items: center;
    overflow: hidden;
    font-family: var(--titleStyle), sans-serif;
}
    .social-icon {
        width: auto;
        height: 55px;
        margin-right: 2em; 
        gap: 5rem;
    }
    .social-icon:hover {
        transform: scale(1.3);
        transition: 1s;
    }
    .copyright {
        color: var(--titleColor);
    }
    .rgpd {
    display: flex;
    text-align: justify;
    margin: 1em;
}
.rgpd p {
    color: var(--textColor);
    margin: 2.5em auto;
}
/* ========================= */
/* 📱 RESPONSIV */
/* ========================= */
@media (max-width: 1024px) {
  .primaryWave {
    clip-path: none;
    background: linear-gradient(to right, #FAA4BD, #F8C6D4);
    padding: 1rem;
    border-left: 5px solid #F06595;
  }
  .secondaryWave {
    clip-path: none;
    background: linear-gradient(to right, var(--boderColor), #ddbf8a);
    padding: 1rem;
    border-left: 5px solid #e29b21;
  }
  .navList {
        display: none;
        flex-direction: column;
        background-color: var(--navColor);
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        padding: 1rem;
    }
    .navList {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    font-size: 1.2rem;
  }
    .navList.show {
        display: flex;
    }

    #burger {
        display: block;
        right: 0;
    }
    .price {
        width: 30%;
        font-size: 1.3em;
        height: 2.2em;
    }
}
@media (min-width: 768px) {
  .sectionContent {
    grid-template-columns: 2fr 1fr;
  }

  .sectionContent3 {
    grid-template-columns: 1fr 2fr;
  }

  .sectionContent4 {
    flex-direction: row;
  }

  .navList {
    flex-direction: row;
    gap: 3rem;
  }

  .verticalImage {
    width: 55%;
  }

  .imageFlex {
    width: 20%;
  }
   
  
}


@media (max-width: 767px) {
  .sectionContent {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .sectionContent3 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sectionContent4 {
    flex-direction: column;
    text-align: center;
  }

  .verticalImage,
  .imageFlex {
    width: 90%;
    margin: 1rem auto;
  }

  .navList {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    font-size: 1.2rem;
  }

  .textContent {
    margin: 0;
  }

  #leCheval {
    padding-top: 8rem;
  }
  #horseIcon {
    height: 150px;
  }

  .secondTitle {
    margin-left: 0;
    text-align: center;
  }

  .checkbox li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  button [type="submit"]{
    height: 60px;
    width: 40px;
    font-size: 1.5rem;
  }
  form [type=submit]:hover {
    transform: none;
    color: var(--corColor);
    background-color: var(--boderColor);
  }


    .carousel-container {
    height: auto;
    padding: 2rem 0;
    }

    .carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    }

    .carousel-track {
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 1rem;
    }

    .carousel-image {
    width: 80vw;
    max-width: 300px;
    height: auto;
    flex-shrink: 0;
    scroll-snap-align: center;
    filter: none;
    transform: scale(1);
    }
    button {
    display: none;
    }
    sectionContent,
    .sectionContent3,
    .sectionContent4,
    #sectionContent2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    text-align: center;
    }
    .navList {
        display: none;
        flex-direction: column;
        background-color: var(--navColor);
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        padding: 1rem;
    }

    .navList.show {
        display: flex;
    }

    #burger {
        display: block;
        right: 0;
    }
    /* Footer responsive */

  footer {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }

  .logo2 {
    height: 70px;
    margin: 0 auto;
  }

  .copyright {
    font-size: 0.9rem;
    margin: 0;
  }

  .icon-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
  }

  .social-icon {
    height: 40px;
    margin: 0;
  }
 
.primaryWave,
.secondaryWave {   
  height: 100px;       /* s'adapte si le texte prend plus de place */
  padding: 1rem;      /* un peu d'air */
  clip-path: none;    /* retire le clip path qui peut couper */
}

.primaryWave h2,
.secondaryWave h2 {
  line-height: 1.4;   /* espace entre les lignes */
  text-align: center;
}
.price {
        width: 40%;
        font-size: 1.2em;
        height: 2.4em;
    }
.price:hover {
  transform: none;
  background-color: var(--boderColor);
}
.price a:hover {
  color: var(--titleColor);
}
    
.item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    padding: 1.2rem;                    /* respiration */
    margin: 1rem auto;                  /* espace entre chaque */
    width: 90%;                         /* évite le bord à bord */
  }

  .seance {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .prix {
    font-size: 1.3rem;
    margin: 0.3rem 0;
    color: var(--boderColor);
  }

  .details {
    font-size: 1rem;
    margin-top: 0.3rem;
    line-height: 1.5; /* + lisible */
  }

  .tarifTitle {
    font-size: 1.8rem;
    margin: 1rem;
  }

  .tarifSecondTitle {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  .precisions, .contact {
    font-size: 1rem;
    padding: 0 1rem;
    line-height: 1.6;
  }

  .logo3 {
    width: 400px;
    margin-top: -2rem;
  }

  .tarifFooter {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .tarifFooter .social-icon {
    height: 35px;
  }

}



