/* ------------------- 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) ------------------- */
/* -- Conteneur principal du contenu -- */
main {
  max-width: 50rem;
  margin: 0 auto 5rem auto;
  padding: 1.25rem;
}

/* ------------------- SECTION ACCUEIL ------------------- */
/* -- Bloc principal de bienvenue -- */
.accueil {
  position: relative;
  padding: 2rem;
  margin-top: 7rem;
  background-color: #f8f0e8;
  z-index: 1;
  border: 3px solid #A8D5BA;
  border-radius: 1rem;
  text-align: center;
  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);
}

/* -- Titre principal accueil -- */
.accueil h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 3.5rem;
  color: #096633;
  margin-bottom: 0.625rem;
}

/* -- Paragraphe d’introduction accueil -- */
.accueil p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: #4A6B50;
}

/* ------------------- BOUTON CTA ------------------- */
/* -- Bouton Découvrir les prestations -- */
.btn-cta {
  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;
}

/* -- Effet au survol du bouton -- */
.btn-cta:hover {
  background-color: #8bb59b;
}

/* ------------------- SECTION À PROPOS ------------------- */
/* -- Conteneur principal de la section À propos -- */
.a-propos {
  position: relative;
  max-width: 50rem;
  margin: 2.5rem auto;
  background-color: #f8f0e8;
  padding: 1.875rem;
  z-index: 1;
  opacity: 1;
  border-radius: 0.9375rem;
  border: 3px solid #A8D5BA;
  text-align: center;
   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);
}

/* -- Titre section À propos -- */
.a-propos h2 {
  color: #2F5D44;
  font-size: 1.8em;
  margin-bottom: 1.25rem;
}

/* -- Conteneur interne flex -- */
.a-propos .conteneur {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  overflow: visible;
}

/* -- Texte de présentation -- */
.a-propos .texte {
  flex: 1 1 60%;
  text-align: justify;
  font-family: 'Raleway', sans-serif;
  color: #2B2B2B;
  font-size: 1.1em;
  line-height: 1.6;
}

/* -- Paragraphe à l’intérieur -- */
.a-propos p {
  font-size: 1.1em;
  line-height: 1.5;
}

/* -- Photo portrait -- */
/* -- Photo portrait (plus petite) -- */
.photo-pro {
  width: 18vw;             /* réduit la taille de l'image */
  max-width: 14rem;        /* limite la taille sur les grands écrans */
  height: auto;
  border-radius: 3.4375rem;
  box-shadow: 0 0.25rem 0.375rem rgba(0,0,0,0.1);
  float: right;            /* image à droite avec texte qui l’entoure */
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* ------------------- VERSION MOBILE : SECTION À PROPOS ------------------- */
/* -- Conteneur scroll horizontal en mobile -- */
@media (max-width: 600px) {
  .a-propos .conteneur {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .a-propos .texte,
  .a-propos .photo-pro {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-width: 85%;
    box-sizing: border-box;
    border-radius: 0.9375rem;
  }

  .a-propos .texte {
    text-align: left;
    padding: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
  }

  .photo-pro {
    margin: 0 auto;
    display: block;
    max-width: none;
  }
}


/* ------------------- ÉLÉMENTS GRAPHIQUES ------------------- */
/* -- Images décoratives monstera et chat -- */
.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;
}

.autres {
  position: absolute;
  bottom: -100vw;
  right: 70vw;
  width: 25vw; /* ← augmente la taille ici */
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  height: auto;
}
.autre {
  position: absolute;
  bottom: -200vw;
  right: 0vw;
  width: 25vw; /* ← augmente la taille ici */
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  height: auto;
}

/* -- Animation des pattes -- */
.patte-anim {
  transition: transform 0.3s ease;
  display: block;
  margin: 1.25rem auto 0.9375rem;
}

/* -- Hover animation pattes -- */
.patte-anim:hover {
  transform: scale(1.1);
}

/* ------------------- FOOTER ------------------- */
/* -- Conteneur footer fixé en bas -- */
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%);
}

/* -- Texte dans footer -- */
footer p {
  margin: 0;
  padding-top: 0.5rem;
  font-size: 1em;
  line-height: 1.4;
}

/* -- Icônes réseaux sociaux -- */
.social-icons a img {
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.3s ease;
}

/* -- Hover icônes réseaux sociaux -- */
.social-icons a:hover img {
  transform: scale(1.2);
  cursor: pointer;
}




.faq {
  position: relative;       /* nécessaire pour z-index */
  z-index: 10; 
  max-width: 50rem;
  margin: 2.5rem auto 5rem auto;
  padding: 1.875rem;
  background-color: #f8f0e8;
  border-radius: 0.9375rem;
  border: 3px solid #A8D5BA;
  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);
  font-family: 'Raleway', sans-serif;
  color: #2B2B2B;
  line-height: 1.6;
}

.faq > h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  color: #2F5D44;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Question style : case claire, alignée à droite */
.faq-item > h3 {
  background-color: #a8d5ba; /* vert moyen */
  color: #1f3d27;
  padding: 0.8rem 1.25rem;
  border-radius: 1rem 0 1rem 1rem; /* arrondi asymétrique */
  max-width: 80%;
  align-self: flex-end; /* aligne à droite */
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 2px 2px 6px rgba(46, 85, 54, 0.2);
  margin: 0; /* enlever marges par défaut */
}

/* Réponse style : case plus foncée, alignée à gauche */
.faq-item > p {
  background-color: #d8e6d8; /* vert très clair */  
  color: #2F5D44;
  padding: 1rem 1.5rem;
  border-radius: 0 1rem 1rem 1rem; /* arrondi asymétrique */
  max-width: 90%;
  align-self: flex-start; /* aligne à gauche */
  font-size: 1.1rem;
  box-shadow: inset 2px 2px 6px rgba(27, 58, 37, 0.2);
  text-align: left;
  margin: 0; /* enlever marges par défaut */
}

/* Responsive */
@media (max-width: 600px) {
  .faq-item > h3,
  .faq-item > p {
    max-width: 95%;
  }
  .faq-item > h3 {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }
  .faq-item > p {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}



/* Lien Prestations en bouton vert simple */
.btn-prestations {
  display: inline-block;
  background-color: #A8D5BA; /* vert doux */
  color: #2F5D44;           /* vert foncé pour le texte */
  padding: 0.6rem 1.4rem;
  border-radius: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-prestations:hover {
  background-color: #8bb59b; /* vert un peu plus foncé au survol */
  transform: translateY(-2px);
}