.titre-page {
    font-family: 'Virtual', sans-serif;  
    font-size: 5rem;                   
    color: #A28873;                     
    text-align: center;               
    margin: 60px 0 40px 0;          
    letter-spacing: 1px;               
}

/* CONTACT */
.contact-container {
    padding: 50px 50px;
}

.text-contact {
    padding: 60px auto 40px 60px;
    text-align: center;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.text-contact h2 {
    font-family: 'Virtual', sans-serif;
    font-size: 4rem;
    color: #A28873;
}

.text-contact p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.form-message {
    max-width: 700px;
    margin: 20 auto 20px auto;
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none; /* empêche de gêner le clic */
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background-color: #9DA374;
    color: #020302;
}

.form-message.error {
    background-color: #F7B595;
    color: #020302;
}

.contact-form {
    max-width: 700px;
    margin: 10px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #F7E7D7;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font-family: 'Quicksand', sans-serif;
}

.contact-form label {
    font-weight: 600;
    font-size: 1rem;
    color: #A28873;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #A28873;
    border-radius: 15px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #F7E7D7;
    box-shadow: 0 0 10px rgba(162, 136, 115, 0.4);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    background-color: #A28873;
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form .btn:hover {
    background-color: #F7E7D7;
    color: #020302;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

/* À PROPOS */
.gwendo-container {
    position: relative;
    max-width: 1200px;
    margin: 60px auto; /* centré horizontalement */
    padding: 0 20px;
}

/* Bloc texte couleur plein largeur */
.text-block {
    background-color: #F7E7D7;
    padding: 60px 40px 40px 40px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Texte et titre */
.text-block h2 {
    font-family: 'Virtual', sans-serif;
    font-size: 4rem;
    color: #A28873;
    margin-bottom: 20px;
}

.text-block p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-right: 420px; 
}

/* Image chevauchante à droite */
.img-container {
    position: absolute;
    top: -30px; /* décalage depuis le haut du bloc */
    right: 0;
    width: 400px;
    z-index: 2;
}

.img-container img {
    width: 100%;
    border-radius: 15px;
}

.mission-container {
    position: relative;
    max-width: 1200px;
    margin: 260px auto 80px auto; /* centré horizontalement */
    padding: 0 20px;
}

/* Bloc texte couleur plein largeur */
.text-gwendo-essenciel {
    background-color: #F7E7D7;
    padding: 60px 40px 40px 450px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Texte et titre */
.text-gwendo-essenciel h2 {
    font-family: 'Virtual', sans-serif;
    font-size: 4rem;
    color: #A28873;
}

.text-gwendo-essenciel p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Image chevauchante à gauche */
.img-mission {
    position: absolute;   /* pour sortir du flux et chevaucher */
    top: -30px;           /* léger décalage depuis le haut du bloc */
    left: 0;
    width: 400px;
    z-index: 10;          /* plus haut que le bloc couleur */
    border-radius: 15px;
}

.img-mission img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.btn-container {
    display: flex;
    position: absolute;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start; /* alignés à gauche */
}

.btn-container .btn {
    background-color: #A28873;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    color: #FFFFFF;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-container .btn:hover {
    background-color: #F7E7D7;
    color: #020302;
    transform: scale(1.05);
}

.google {
    text-align: center;
    padding: 40px 40px;
}

.google a {
    background-color: #A28873;
    padding: 10px 10px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ANIMATIONS JS */
.animate-img {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-img-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-active {
    opacity: 1;
    transform: translateX(0);
}

.animate-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-btn-active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Query */
@media (max-width: 1024px) {

    /* Container général */
    .gwendo-container,
    .mission-container {
        margin: 40px auto;
        padding: 0 20px;
    }

    /* Bloc texte */
    .text-block,
    .text-gwendo-essenciel {
        padding: 40px 20px;
        border-radius: 15px;
    }

    /* Titres et paragraphes */
    .text-block h2,
    .text-gwendo-essenciel h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .text-block p,
    .text-gwendo-essenciel p {
        font-size: 1rem;
        margin: 0; /* supprime l'espace réservé à l'image */
        text-align: center;
    }

    /* Images chevauchantes deviennent normales, sous le bloc */
    .img-container,
    .img-mission {
        position: relative; /* remet dans le flux */
        top: 0;
        left: 0;
        right: 0;
        width: 60%;
        margin: 20px auto;
    }

    .img-container img,
    .img-mission img {
        width: 100%;
        border-radius: 15px;
    }

    /* Boutons */
    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-container .btn {
        width: 80%;
        text-align: center;
    }

    /* Google / lien centré */
    .google {
        padding: 20px 20px;
    }

    .google a {
        display: inline-block;
        width: 80%;
        text-align: center;
    }
}

/* MEDIA QUERY PETIT MOBILE / SMARTPHONE */
@media (max-width: 480px) {

    .text-block h2,
    .text-gwendo-essenciel h2 {
        font-size: 2rem;
    }

    .text-block p,
    .text-gwendo-essenciel p {
        font-size: 0.9rem;
    }

    .btn-container .btn,
    .google a {
        width: 100%;
    }
}

/* MENTIONS LÉGALES - CGV - CONFIDENTIALITÉ */
.mentionslegales,
.confidentialite,
.cgv {
    max-width: 900px;     
    margin: 40px auto;     
    padding: 40px;         
    background-color: #F7E7D7; 
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #020302;
}

.mentionslegales h3,
.confidentialite h3,
.cgv h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    color: #A28873;
    margin-top: 30px;
    margin-bottom: 10px;
}

.cgv h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    color: #5C4033;
    margin-bottom: 10px;
}

.mentionslegales p,
.confidentialite p,
.cgv p {
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 20px;
}

.mentionslegales a,
.confidentialite a,
.cgv a {
    color: #A28873;
    text-decoration: underline;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mentionslegales a:hover,
.confidentialite a:hover,
.cgv a:hover {
    color: #020302;
    transform: scale(1.05);
}

.cgv ul {
    margin-left: 30px;
    margin-bottom: 20px;
    padding-left: 15px;
}

.cgv ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Media Query */
@media (max-width: 1024px) {
    .mentionslegales,
    .confidentialite,
    .cgv {
        width: 90%;
        max-width: 700px;
        margin: 30px auto;
        padding: 30px 20px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .mentionslegales h3,
    .confidentialite h3,
    .cgv h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .cgv h4 {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .cgv ul {
        margin-left: 15px;
        margin-bottom: 15px;
        padding-left: 15px;
    }

    .cgv ul li {
        margin-bottom: 5px;
        line-height: 1.4;
    }

    .mentionslegales p,
    .confidentialite p,
    .cgv p {
        text-align: justify;
    }

    .mentionslegales a,
    .confidentialite a,
    .cgv a {
        display: inline-block;
        margin-top: 5px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mentionslegales,
    .confidentialite,
    .cgv {
        width: 95%;
        max-width: 100%;
        margin: 20px auto;
        padding: 20px 15px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .mentionslegales h3,
    .confidentialite h3,
    .cgv h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .mentionslegales p,
    .confidentialite p,
    .cgv p {
        text-align: left;
    }

}

/* MES ACCOMPAGNEMENTS */
.accompagnement {
  width: 100%;
  padding: 40px 20px;
  margin: 40px 0; 
  box-sizing: border-box;
}

.accompagnement-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.accompagnement-text {
  flex: 1;
}

.accompagnement-text h2 {
  font-family: 'Virtual', serif;
  font-size: 4rem;
  margin-bottom: 30px;
  color: #A28873;
}

.accompagnement-text h3 {
  font-family: 'Quicksand', serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #A28873;
}

.accompagnement-text p {
    font-size: 1rem;
    font-family: 'Quicksand', serif;
    color: #020302;
}

.intro {
  font-size: 1rem;
  font-family: 'Quicksand', serif;
  margin-bottom: 25px;
  color: #020302;
}

/* COULEURS */
.retraites {
  background: #F7E7D7;
}

.soins {
  background: #F7E7D7;
}

.hypnose {
  background: #F7E7D7;
}

.accompagnement-centered {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.accompagnement-centered h2 {
    font-family: 'Quicksand', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #A28873;
}

.accompagnement-centered p {
    font-size: 1rem;
    font-family: 'Quicksand', serif;
    color: #020302;
}

.btn-rdv {
    text-align: center;      
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 0;            
    background: transparent; 
}

.btn-rdv .btn {
    display: inline-block;   
    padding: 15px 30px;      /* taille du bouton */
    background-color: #A28873; 
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-rdv .btn:hover {
    background-color: #F7E7D7;
    color: #020302;
    transform: scale(1.05);
}

/* CAROUSEL PORTRAIT */
.carousel {
    flex: unset;               /* supprime la largeur forcée */
    width: 100%;               /* prend toute la largeur max du bloc texte */
    max-width: 380px;          /* largeur max du carousel */
    height: auto;              /* garde auto pour le ratio */
    aspect-ratio: 3/4;         /* portrait */
    position: relative;        /* important pour les images en absolute */
    overflow: hidden;          /* cache les images hors cadre */
    margin: 0 auto;            /* centre le carousel */
    border-radius: 15px;
}

.carousel img {
    position: absolute;       /* il faut absolument rester en absolute pour le JS */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}

/* CARDS SOINS */
.card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.animate-block {
    opacity: 0;
    transform: translateY(40px); /* léger décalage vers le bas au départ */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-block-active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Query */
/* Media query mobile/tablette corrigée */
@media (max-width: 992px) {

  .accompagnement-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    padding: 20px;
  }

  .accompagnement-text {
    flex: unset;
    max-width: 800px;
  }

  .accompagnement-text h2,
  .accompagnement-centered h2 {
    font-size: 3rem;
  }

  .accompagnement-text h3 {
    font-size: 1.3rem;
  }

  .accompagnement-text p,
  .accompagnement-centered p,
  .intro {
    font-size: 1rem;
  }

  /* Carousel centré et plus petit */
  .carousel {
    flex: unset;
    width: 100%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 3/4;
    position: relative;  /* important pour superposer les images */
    overflow: hidden;
    margin: 0 auto;
  }

  .carousel img {
    position: absolute; /* doit rester absolute pour que le carousel fonctionne */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
  }

  .carousel img.active {
    opacity: 1;
  }

  .btn-rdv .btn {
    display: inline-block;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .accompagnement-text h2,
  .accompagnement-centered h2 {
    font-size: 2rem;
  }

  .accompagnement-text h3 {
    font-size: 1rem;
  }

  .accompagnement-text p,
  .accompagnement-centered p,
  .intro {
    font-size: 0.9rem;
  }

  .carousel {
    max-width: 260px;
    aspect-ratio: 3/4;
  }
}

/* FORMATIONS */
.titre-page-intro {
    font-family: 'Virtual', sans-serif;  
    font-size: 5rem;                   
    color: #A28873;                     
    text-align: center;               
    margin: 60px 0 5px 0;          
    letter-spacing: 1px;               
}

.intro-formations {
    font-size: 1rem;
    font-family: 'Quicksand', serif;
    margin-bottom: 25px;
    color: #020302;
    padding: 20px 50px;
    text-align: center;
}

.formations-section {
    padding: 0 8% 80px 8%;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.formation-card {
    background: linear-gradient(145deg, #f6ede6, #ffffff);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.formation-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #5C4033;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
}

.formation-card h4 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 17px;
    color: #8a6f5a;
    font-family: 'Quicksand', sans-serif;
}

.formation-card p {
    margin-top: 10px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Quicksand', sans-serif;
}

.formation-card ul {
    margin-bottom: 15px;
    padding-left: 20px;
    font-family: 'Quicksand', sans-serif;
}

.formation-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-family: 'Quicksand', sans-serif;
}

.bandeau {
    width: 100%;
    padding: 80px 10%;
    text-align: center;
    background-color: #5C4033;
    color: white;
    position: relative;
    margin: 80px 0;
}

.bandeau:nth-of-type(even) {
    background-color: #EBD3BB;
    color: #5C4033;
}

.bandeau-content {
    max-width: 850px;
    margin: 0 auto;
}

.bandeau h2 {
    font-size: 30px;
    margin-bottom: 25px;
}

.bandeau p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.bandeau ul {
    list-style: none;
    padding: 0;
}

.bandeau ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.btn-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 25px; 
}

.btn-action {
    display: inline-block;
    margin-top: 30px 25px 0 0;
    padding: 14px 32px;
    background-color: #FFFFFF;
    color: #5C4033;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: #f3e3d6;
    transform: translateY(-3px);
}

/* Media Query */
@media (max-width: 1200px) {

    .titre-page-intro {
        font-size: 4rem;
    }

    .formations-grid {
        gap: 40px;
    }

    .formation-card {
        padding: 35px;
    }
}

/* Tablette */
@media (max-width: 992px) {

    .titre-page-intro {
        font-size: 4rem;
    }

    .intro-formations {
        padding: 20px 30px;
        font-size: 0.95rem;
    }

    .formations-grid {
        grid-template-columns: 1fr; /* 👈 passe en 1 colonne */
        gap: 40px;
    }

    .formation-card {
        padding: 35px;
    }

    .bandeau {
        padding: 60px 8%;
        margin: 60px 0;
    }

    .bandeau h2 {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .titre-page-intro {
        font-size: 4rem;
    }

    .intro-formations {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .formation-card {
        padding: 25px;
    }

    .formation-card h3 {
        font-size: 20px;
    }

    .formation-card h4 {
        font-size: 16px;
    }

    .formation-card p,
    .formation-card ul li {
        font-size: 0.9rem;
    }

    .bandeau {
        padding: 50px 6%;
        margin: 50px 0;
    }

    .bandeau h2 {
        font-size: 22px;
    }

    .bandeau p,
    .bandeau ul li {
        font-size: 0.9rem;
    }

    .btn-action {
        padding: 12px 26px;
        font-size: 0.9rem;
    }
}

/* Petit mobile */
@media (max-width: 480px) {

    .intro-formations {
        padding: 10px 15px;
    }

    .formation-card {
        padding: 20px;
    }

    .bandeau {
        padding: 40px 5%;
    }

}