/* ------------------- BASE GÉNÉRALE ------------------- */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #f8f0e8;
}

/* ------------------- En-tête du site (HEADER) ------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  background-color: #A8D5BA;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  box-sizing: border-box;
  z-index: 1000;


  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to bottom, black calc(100% - 20px), transparent 100%);
}


header img {
  width: clamp(100px, 25vw, 200px);
  height: auto;
  object-fit: contain;
  cursor: pointer;
  margin-bottom: 0.5rem;
  position: static;
  transition: width 0.3s ease;
}

/* Image à droite */
header img.header-right-img {
  width: clamp(80px, 15vw, 150px);
  height: auto;
  cursor: default;
  opacity: 0.8;
  flex-shrink: 0;
  flex-grow: 0;
  margin-left: 1rem; /* un petit espace entre menu et image */
}

@media (max-width: 600px) {
  header img {
    height: clamp(1.2rem, 4vw, 2rem);
  }
}


/* ------------------- MENU ------------------- */
nav {
  display: flex;
  justify-content: center;
  gap: 1.875rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

nav a {
  color: #5A6B57;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 0.1875rem;
  border-bottom: 0.125rem solid transparent;
}

nav a:hover {
  color: #224b35;
  border-bottom: 0.125rem solid #2F5D44;
  cursor: pointer;
}
nav a.active {
  color: #42747c;
  border-bottom: 0.125rem solid  #42747c;
}  
/* =================== CONTENU PRINCIPAL (MAIN) =================== */

main {
  max-width: 50rem;
  margin: 0 auto 5rem auto;
  padding: 1.25rem;
}

/* =================== BOUTON "JE RÉSERVE" =================== */

.btn-resa {
  display: block;
  margin: 0 auto;
  padding: 0.75rem 1.875rem;
  font-size: 1.2em;
  background-color: #A8D5BA;
  color: #2F5D44;
  border: none;
  border-radius: 1.5625rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-resa:hover {
  background-color: #8bb59b;
}

/* =================== TITRE DES PRESTATIONS =================== */

.titreprestations {
  display: flex;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 2rem;
  margin-top: 7rem;
  background-color: #f8f0e8;
  border: 3px solid #A8D5BA;
  border-radius: 15px;
  box-shadow:
    6px 6px 12px rgba(46, 85, 54, 0.4),
    -6px -6px 12px rgba(173, 214, 174, 0.8),
    inset 3px 3px 6px rgba(173, 214, 174, 0.6),
    inset -3px -3px 6px rgba(46, 85, 54, 0.15);
  text-align: center;
}

.titreprestations h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #096633;
  font-family: 'Roboto Slab', serif;
  font-size: 3.5rem;
}

.titreprestations p {
  margin-top: 0;
  margin-bottom: 0;
  color: #4A6B50;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
}

/* =================== SECTION PRESTATIONS =================== */

.prestations {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 2rem;
  position: relative;
  box-sizing: border-box;
}

/* =================== BLOC INDIVIDUEL DE PRESTATION =================== */

.presta-bloc {
  position: relative;
  background-color: #f8f0e8;
  z-index: 1;
  border: 3px solid #A8D5BA;
  border-radius: 15px;
  padding: 1.875rem;
  box-shadow:
    6px 6px 12px rgba(46, 85, 54, 0.4),
    -6px -6px 12px rgba(173, 214, 174, 0.8),
    inset 3px 3px 6px rgba(173, 214, 174, 0.6),
    inset -3px -3px 6px rgba(46, 85, 54, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 650px;  /* augmenté de 540px à 650px */
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;  /* prend toute la colonne */
  max-width: 600px; /* tu peux augmenter jusqu’à 600px, ou enlever */
  height: 650px;
  box-sizing: border-box;
  text-align: center;
  opacity: 1;
  margin: 0;
}

.presta-bloc h3 {
  font-family: 'Amatic SC', cursive;
  font-size: 1.8em;
  margin-bottom: 0.3rem;
  color: #2F5D44;
}

.presta-bloc .tarif {
  font-weight: 700;
  color: #2f5d48;
  font-size: 1.1em;
  margin-bottom: 1rem;
  font-family: 'Raleway', sans-serif;
}

.presta-bloc ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  color: #4a6b50;
}

.presta-bloc ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.presta-bloc ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: #ec6f45;
}


/* Par défaut : caché */
.extra-text {
  display: none; /* au lieu d’opacity 0 et max-height 0 */
  text-align: justify;
  font-family: 'Raleway', sans-serif;
  color: #2B2B2B;
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.toggle-description {

  color: #2F5D44; /* texte vert foncé */
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem; /* plus petit */
  padding: 0.25rem 0.5rem; /* moins de largeur */
  border: none;
  border-radius: 12px; /* arrondi plus discret */
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block; /* garde la taille du texte */
  width: auto; /* pas de largeur fixe */
}

.toggle-description:hover {
  background-color: #8bb59b; /* un peu plus foncé au survol */
}


/* =================== BOUTON RETOUR ACCUEIL =================== */

.btn-cta-img {
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 70px; /* ajuste selon la taille du visuel */
  height: auto;
  background-color: rgba(168, 213, 186, 0.9); /* même couleur avec transparence */
  border-radius: 50%; /* arrondi total, tu peux mettre 1.5625rem si tu veux comme le bouton */
  padding: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  z-index: 1000;
}

.btn-cta-img:hover {
  transform: scale(1.05);
  background-color: rgba(168, 213, 186, 1);
}


/* =================== ÉLÉMENTS GRAPHIQUES =================== */

.monstera, .chat ,.chatgif {
  position: absolute;
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  height: auto;
}

.monstera {
  bottom: 0;
  left: 5vw;
  width: 25vw;
}

.chat {
  top: 0;
  right: 5vw;
  width: 20vw;
}
.chatgif {
  position: absolute;
  bottom: -50vw;
  right: 0vw;
  width: 25vw; /* ← augmente la taille ici */
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  height: auto;
}

.patte-anim {
  transition: transform 0.3s ease;
  display: block;
  margin: 1.25rem auto 0.9375rem;
  width: 150px; /* ou une taille en % selon ton besoin */
  max-width: 100%;
}

.patte-anim:hover {
  transform: scale(1.1);
}

/* =================== FOOTER / BAS DE PAGE =================== */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  background-color: #A8D5BA;
  color: #407c5be0;
  text-align: center;
  padding: 1.5rem 0.625rem 1rem 0.625rem;
  box-shadow: 0 -0.125rem 0.375rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  box-sizing: border-box;
  z-index: 1000;
  -webkit-mask-image: linear-gradient(to top, black calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to top, black calc(100% - 20px), transparent 100%);
}

footer p {
  margin: 0;
  padding-top: 0.5rem;
  font-size: 1em;
  line-height: 1.4;
}

.social-icons a img {
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  cursor: pointer;
}


