/* ---------- Section 1-HEADER ---------- */
/* Style général */
.hero-overlay-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.hero-title-wrapper-home {
  z-index: 2;
}

.hero-image-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/home/home.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.2s ease-out;
  z-index: 0;
}


.hero-section-home {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black; /* <-- FOND NOIR derrière tout */
  overflow: hidden;
}

.hero-title-wrapper-home {
  position: absolute;
  width: 650px;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-title-wrapper-home h1 {
  font-size:4.5rem;
  white-space: nowrap;
}

.slide-left-home,
.slide-right-home {
  display: inline-block;
  opacity: 0;
  transform: translateX(0);
  animation-fill-mode: forwards;
}

.slide-left-home {
  animation: slideFromLeft 5s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;

}

.slide-right-home {
  animation: slideFromRight 5s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;

}


@keyframes slideFromLeft {
  from {
    transform: translateX(-300%);
    opacity: 0;
  }
  to {
    transform: translateX(+27%);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  from {
    transform: translateX(300%);
    opacity: 0;
  }
  to {
    transform: translateX(-27%);
    opacity: 1;
  }
}
/* Animation de disparition de "logie" derrière Pilates */
@keyframes moveLogieUnderPilates {
  0% {
    transform: translateX(0); /* "logie" commence à sa position initiale */
    opacity: 1;
  }
  50% {
    transform: translateX(40%); /* "logie" avance mais derrière Pilates */
    opacity: 1;
  }
  100% {
    transform: translateX(100%); /* "logie" disparaît complètement sous "Pilates" */
    opacity: 0;
  }
}

/* Appliquer l'animation de disparition sous "Pilates" à "logie" */
.word-second-home {
  animation: moveLogieUnderPilates 5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Pilates avec fond transparent */
.slide-right-home {
  position: relative;
  z-index: 1;
  background: transparent;
}
@media (max-width: 767px) {
  .hero-title-wrapper-home h1 {
    font-size: 3rem;   
  }
  .hero-title-wrapper-home {
    width: 500px;
}
}
@media (max-width: 590px) {
  .hero-title-wrapper-home h1 {
    font-size: 2.5rem;   
  }
  .hero-title-wrapper-home {
    width: 400px;
}
}
@media (max-width: 487px) {
  .hero-title-wrapper-home h1 {
    font-size: 2.2rem;   
  }
}
@media (max-width: 390px) {
  .hero-title-wrapper-home h1 {
    font-size: 2rem;   
  }
  .hero-title-wrapper-home {
    width: 300px;
}
}
/* Image mobile */
@media (max-width: 850px) {
  .hero-section-home {
    background-image: url("/img/home/home-mobile.webp") !important; /* Change l’image */
    background-attachment: scroll; /* Désactive le parallax sur mobile */
    background-size: cover;
    background-repeat: no-repeat; /* Empêche la répétition de l’image */
    background-position: top;
    height: 48vw;
    min-height: 250px;
  }
}
/* ---------- Section 2-PORTRAIT ---------- */
.portrait-pilates-section-home {
  background-color: var(
    --pink2-color
  ); 
  padding: 60px 20px;
}

.portrait-pilates-container-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.portrait-pilates-text-home {
  flex: 1 1 50%;
  padding: 20px;
}

.portrait-pilates-text-home h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 20px;
  
}

.portrait-pilates-text-home p {
  font-family: var(--font-secondary);
  line-height: 1.5;
  font-size: 1.25rem;
  word-wrap: break-word; /* Idem pour les paragraphes */
  hyphens: auto; /* Permet de couper les mots à la fin des lignes pour éviter le dépassement */
}

.portrait-pilates-image-home {
  flex: 1 1 50%;
  padding: 20px;
  text-align: center;
}

.portrait-pilates-image-home img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 886px) {
  .portrait-pilates-container-home {
    flex-direction: column;
  }

  .portrait-pilates-text-home,
  .portrait-pilates-image-home {
    flex: 1 1 100%;
    padding: 10px;
  }

  .portrait-pilates-text-home h2 {
    font-size: 1.5rem;
  }

  .portrait-pilates-text-home p {
    font-size: 1rem;
  }
}
/* Responsive Design */
@media (max-width: 450px) {
  .portrait-pilates-container-home {
    flex-direction: column;
  }

  .portrait-pilates-text-home,
  .portrait-pilates-image-home {
    flex: 1 1 100%;
    padding: 10px;
  }

  .portrait-pilates-text-home h2 {
    font-size: 1.5rem;
  }

  .portrait-pilates-text-home p {
    font-size: 0.9rem;
  }
}

/* -----------Section 3-DE QUOI S'AGIT-IL---------------*/
.custom-section-bandeauHome {
  width: 100%;
  min-height: 300px;
  background-color: var(--peche-color);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 40px 0px;
  text-align: center;
}


.content-block-bandeauHome {
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}


.content-block-bandeauHome h2 {
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 32px;
  word-wrap: break-word;
}

.content-block-bandeauHome p {
  font-family: var(--font-secondary);
  line-height: 1.5;
  font-size: 1.25rem;
  word-wrap: break-word; /* Idem pour les paragraphes */
  hyphens: auto; /* Permet de couper les mots à la fin des lignes pour éviter le dépassement */
}
.description-full-home {
  display: none; /* Masquer la description complète par défaut */
}
.description-preview-home {
  display: inline; /* Afficher la première partie du texte */
}
.read-more-home {
  color: var(--green-color);
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}
.read-more-home:hover {
  text-decoration: underline;
}
/* Ajout de media queries pour un meilleur ajustement sur petits écrans */
@media (max-width: 767px) {
  .content-block-bandeauHome h2 {
    font-size: 1.9rem;
  }
  .custom-section-bandeauHome p{
    font-size: 1rem;
  }
  .read-more-home {   
    font-size: 1rem;   
  }
}
@media (max-width: 450px) {
  .custom-section-bandeauHome h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .custom-section-bandeauHome p {
    font-size: 0.9rem;
  }
  .read-more-home {   
    font-size: 0.9rem;   
  }
}

/* ---------- Section 4-SALLES ---------- */
.custom-section-container {
  background-color: var(--pink2-color);
  padding: 90px 0px;
}
.custon-section-espace h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 40px;
  display: block;
}
.titre-souligne {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: black;

  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 40px;
  text-align: center;
}

.titre-souligne::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; /* Pour centrer le trait sous le texte */
  transform: translateX(-50%); /* Centre le trait par rapport au texte */
  width: 50%; /* Largeur du trait (50% de la largeur du texte) */
  height: 6px; /* Épaisseur du trait */
  background: radial-gradient(
    circle,
    green,
    transparent
  ); /* Crée un effet de courbe */
  border-radius: 10px; /* Optionnel : arrondir les bords */
}

.custom-section-un {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Centrer le contenu de la section */
  padding: 0px 24px;
  margin: 0px 59px;

  height: 27vw;
}

.text-content-un {
  width: 50%;
  margin-left: 150px;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrer verticalement le contenu à l'intérieur de la div */
  align-items: center; /* Aligner à gauche */
  text-align: center;
}

.text-content-un h2 {
  font-size: 2.5rem;
  font-weight: 100;

  margin: 20px 0px 10px;
}

.text-content-un p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.5;
  width: 80%;
}

.image-content-un {
  width: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.image-content-un img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}
.custom-section-deux {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Centrer les deux blocs horizontalement */
  padding: 0px 24px;
  margin: 0px 59px;
  height: 27vw;
}

.image-content-deux {
  width: 50%;
  display: flex;
  justify-content: flex-start; /* Aligner l'image à gauche */
}

.image-content-deux img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

.text-content-deux {
  width: 50%;
  margin-right: 150px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrer verticalement le contenu à l'intérieur de la div */
  align-items: center; /* Aligner à gauche */
  text-align: center;
}

.text-content-deux h2 {
  font-size: 2.5rem;
  margin: 20px 0px 10px;
  font-weight: 100;
  text-align: center;
}

.text-content-deux p {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
  width: 80%;
}
@media screen and (max-width: 1200px) {
  .custom-section-un {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 12px 16px 0px 16px;
    margin: 0;
  }

  .text-content-un {
    width: 100%;
    margin: 0;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .text-content-un h2 {
    font-size: 1.8rem;
  }

  .text-content-un p {
    font-size: 1rem;
    width: 90%;
  }

  .image-content-un {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }

  .image-content-un img {
    max-width: 90%;
    height: auto;
  }
}
@media screen and (max-width: 1200px) {
  .custom-section-deux {
    flex-direction: column-reverse; /* Inverse l'ordre des enfants */
    align-items: center;
    text-align: center;
    height: auto;
    padding: 32px 16px;
    margin: 0;
  }

  .text-content-deux {
    width: 100%;
    margin: 0;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .text-content-deux h2 {
    font-size: 2rem;
  }

  .text-content-deux p {
    font-size: 1.1rem;
    width: 90%;
  }

  .image-content-deux {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }

  .image-content-deux img {
    max-width: 90%;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  .custom-section-container {
    padding: 40px 0px;
  }
  .custon-section-espace h2 {
    font-size: 1.9rem;
    margin-bottom: 0px;
    text-align: center;
  }
}
@media screen and (max-width: 450px) {
  .text-content-deux h2 {
    font-size: 1.8rem;
  }
  .text-content-deux p {
    font-size: 0.9rem;
  }
  .text-content-un h2 {
    font-size: 1.8rem;
  }
  .text-content-un p {
    font-size: 0.9rem;
  }
  .custom-section-deux {
    padding-top: 0px;
  }
  .custom-section-container {
    padding: 20px 0px;
  }
}

/* ---------- Section 5-LE PLANNING ---------- */
.custom-section-bandeauPlanningHome {
  width: 100%;
  height: 348px;
  background-color: var(
    --peche-color
  ); /* Remplace par la valeur de ta couleur beige */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.content-block-bandeauPlanningHome {
  max-width: 100%;
  margin: 0 auto; /* Centrer le contenu */
  padding: 20px;
  box-sizing: border-box; /* Prendre en compte le padding dans la largeur */
  text-align: center; /* Centrer le texte */
}

.content-block-bandeauPlanningHome h2 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  font-weight: 100;
  word-wrap: break-word;
}

.content-block-bandeauPlanningHome p {
  line-height: 1.5;
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  word-wrap: break-word; /* Idem pour les paragraphes */
  hyphens: auto; /* Permet de couper les mots à la fin des lignes pour éviter le dépassement */
}
/* Ajout de media queries pour un meilleur ajustement sur petits écrans */
@media (max-width: 450px) {
  .custom-section-bandeauPlanningHome {
    padding: 15px;
    height: 300px;
  }

  .content-block-bandeauPlanningHome {
    padding: 15px;
  }

  .custom-section-bandeauPlanningHome h2 {
    font-size: 1.8rem;
  }

  .custom-section-bandeauPlanningHome p {
    font-size: 0.9rem;
  }
}
.btnPlanningHome {
  margin-top: 30px;
}

/* ---------- Section 6-NEWS ---------- */
/* Section générale */
.section-news {
  background-color: var(--pink2-color); /* Fond de la section */
  padding: 90px 5vw;
}

.card-section-news {
  padding: 0px 0px 50px; /* Padding autour de la section */
}

/* Titre de la section */
.section-title-news {
  font-weight: 100;
  font-family: var(--font-primary);
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 50px; /* Espacement en bas du titre */
}

/* Container des cartes */
.cards-container-news {
  display: flex;
  justify-content: space-around; /* Espacement entre les cartes */
  gap: 30px; /* Gap de 30px entre chaque carte */
  align-items: flex-start;
  flex-wrap: wrap; /* Permet de passer les cartes à la ligne suivante sur petit écran */
}

/* Style des cartes */
.card-news {
  width: 380px;
  min-height: 480px;
  overflow: hidden; /* Empêche le contenu de déborder */
  background-color: white; /* Fond de chaque carte */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Ombre légère autour des cartes */
  transition: all 0.3s ease;
  display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pour que la date reste en bas */
}

/* Image de la carte */
.card-img-news {
  width: 100%; /* L'image occupe toute la largeur de la carte */
  height: 250px;
  object-fit: cover; /* Permet de garder les proportions sans déformer l'image */
}

/* Contenu de la carte */
.card-content-news {
  padding: 0px 30px;
  flex: 1; /* Cette section prend tout l'espace disponible */
  display: flex;
  flex-direction: column;
  padding: 1rem;
    text-align: justify; 
}

/* Titre de la carte */
.card-title-news {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 15px; /* Marge sous le titre */
  text-align: center;
}

/* Texte de la carte */
.card-text-news {
  display: block;
  line-height: 1.5;
  font-size: 1rem;

  font-family: var(--font-secondary);
}
.card-lien-news {
  font-family: var(--font-secondary);
}

/* Date sous la carte */
.card-date-news {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  color: #adadad;
  padding: 15px 30px;
  border-top: 1px solid #ddd; /* Séparation entre le texte et la date */
  text-align: center;
  height: 47px;
  margin-top: auto; 
}
.read-more {
  font-weight: bold;
  color: #007bff; /* Couleur du lien */
  text-decoration: none;
  cursor: pointer;
  
  display: inline-block;
}
.hidden-news {
  display: none;
}

.read-more:hover {
  text-decoration: underline; /* Sous-ligner au survol */
}

.description-preview {
  display: inline;
}

.description-full {
  display: none;
}
/* Responsivité pour les écrans plus petits */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
  .cards-container-news {
    justify-content: center;
  }
  .section-news {
    padding: 40px 5vw 20px 5vw;
  }
  .card-news {
    width: 280px; /* Réduit la largeur des cartes */
    margin-bottom: 30px; /* Espacement entre les cartes */
  }
}

/* Mobiles */
@media (max-width: 480px) {
 
  .section-news {
    padding: 40px 5vw;
  }
  .section-title-news {
    font-size: 1.8rem; /* Réduit la taille du titre */
  }
  .card-section-news {
    padding: 0px;
  }

  .cards-container-news {
    flex-direction: column; /* Empile les cartes verticalement */
    gap: 20px; /* Espace entre les cartes */
    justify-content: center;
  }

  .card-news {
    width: 100%; /* Les cartes prennent toute la largeur disponible */
    height: auto; /* Laissez l'hauteur s'ajuster en fonction du contenu */
    min-height: 400px;
  }

  .card-img-news {
    height: 200px; /* Réduit la taille des images sur les petits écrans */
  }
  .card-content-news h3 {
    font-size: 1.6rem;
    text-align: center;
  }
  .card-content-news p {
    font-size: 0.9rem;
  }
}

/* ---------- Section 7-COORDONNEES ---------- */
/*Module contact*/
/* Global */
.contact-contactHome {
  padding: 30px 0;
  background-color: var(--peche-color);
}
.container-contact-contactHome {
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.header-contactHome,
.section-contactHome {
  background-color: var(--peche-color);
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

.heading-contactHome,
.subheading-contactHome,
.text-contactHome,
.supporting-text-contactHome {
  color: var(--text-color);
  text-align: center;
}

.heading-contactHome {
  font-weight: 100;
  font-size: 3rem;

  color: var(--black);
}

.btn-contactHome {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-secondary);
}

.text-contactHome {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-secondary);
}

.supporting-text-contactHome {
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-secondary);
}

/* Icon */
/* Centrer l'icône dans le conteneur */
.featured-icon-contactHome {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Ajuster la taille de l'icône */
.featured-icon-contactHome i {
  font-size: 24px; /* Taille de l'icône */
  color: var(--gray-100); /* Ou une autre couleur selon ton design */
}

/* Flexbox layout for contact info */
.contact-info-contactHome {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.contact-item-contactHome {
  font-family: var(--font-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  min-width: 240px;
}

.contact-item-contactHome div {
  text-align: center;
}


@media (max-width: 767px) {
  .contact-info-contactHome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .contact-item-contactHome {
    padding: 20px 0;
  }
  .supporting-text-contactHome {
    margin: 0 10px;
  }
  .section-contactHome {
    gap: 20px;
    padding: 0px 0px 20px 0px;
  }
 
}
@media (min-width: 501px) {
  .contact-info-contactHome > .contact-item-contactHome:nth-child(5) {
    grid-column: span 2;
    justify-self: center;
  }
}
@media (max-width: 1000px) {
  .contact-info-contactHome {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes */
    gap: 20px; /* Espacement entre les éléments */
    justify-content: center;
    text-align: center;
  }
 
  .contact-item-contactHome {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 500px) {
  .section-contactHome {
    padding: 0px 5vw 40px 5vw;
  }
  .contact-info-contactHome {
    gap: 0px; /* Espacement entre les éléments */
    grid-template-columns: repeat(
      1,
      1fr
    ); /* Une seule colonne si l'écran est trop petit */
  }
  .contact-item-contactHome {
    padding-top: 0px;
  }
  .heading-contactHome {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--black);
  }
  .featured-icon-contactHome img {
    width: 48px;
    height: 48px;
  }
}

/* ---------- Section 8-RENSEIGNEMENT ---------- */
/* ✅ Section globale */
.contact-section-renseignementHome {
  background-color: var(--pink2-color);
  padding: 50px 0;
}
.container-renseignementHome {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-content-renseignementHome {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* ✅ Première colonne */
.contact-info-renseignementHome {
  width: 780px;
  height: auto; /* Permet à la hauteur de s'adapter */
  padding: 70px 40px;
  text-align: left;
  margin: 0 auto; /* Centrer sur l'écran */
}

.contact-info-renseignementHome h2 {
  font-size: 2.2rem;
  color: var(--dark);
  font-weight: 100;
  margin-bottom: 20px;
}

.contact-text-renseignementHome {
  font-family: var(--font-secondary);
  line-height: 1.5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-links-renseignementHome {
  display: flex;
  justify-content: left; /* Centrer les liens */
  gap: 15px;
  flex-wrap: wrap;
}

.contact-box-renseignementHome {
  display: flex;
  align-items: center;
  width: 332px;
  height: 45px;
  padding: 0 20px;
  background-color: #ad9f93;
  font-family: var(--font-secondary);
  color: white;
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  justify-content: center;
}

.contact-box-renseignementHome.phone-renseignementHome {
  width: 200px;
  font-family: var(--font-secondary);
}

.contact-box-renseignementHome i {
  font-size: 20px;
  margin-right: 10px;
}

/* ✅ Description */
.contact-description-renseignementHome {
  font-family: var(--font-secondary);
  font-size: 1rem;
  padding-top: 20px;
  line-height: 1.5;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

/* ✅ Deuxième colonne */
.contact-form-renseignementHome {
  font-family: var(--font-secondary);
  width: 376px;
  height: auto;
  padding: 30px 40px;
  background-color: #ad9f93;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.renseignementHome-info-titre {
  padding-top: 10px;
}
/* ✅ Titre et texte */
.form-title-renseignementHome {
  text-align: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.consultation-semaine {
  font-size: 0.9rem;
}
.form-text-renseignementHome {
  font-size: 1.5rem;
  color: white;
  text-align: center;
  margin: 20px 0;
}

/* ✅ Champ email */
.form-group-renseignementHome {
  width: 100%;
  max-width: 283px;
  background-color: #f5f5f5;
  padding: 25px 20px;
  position: relative;
}

.form-group-renseignementHome input {
  width: 100%;
  font-size: 0.9rem;

  border: none;
  background-color: white;
  color: var(--dark);
  margin-bottom: 30px;
}

/* ✅ Responsive Design */
@media (max-width: 1180px) {
  .contact-form-renseignementHome {
    padding: 70px 20px;
  }
}
/* Tablettes (1024px et moins) */
@media (max-width: 1024px) {
  .contact-content-renseignementHome {
    flex-direction: column; /* Empile les colonnes */
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .contact-info-renseignementHome,
  .contact-form-renseignementHome {
    width: 90%; /* Adapte la largeur à l'écran */
    max-width: 780px;
  }

  .contact-description-renseignementHome {
    width: 100%;
    max-width: 700px;
  }

  .contact-form-renseignementHome {
    padding: 50px 20px;
    height: auto;
    text-align: center;
    max-width: 376px;
  }
}

/* Mobiles (768px et moins) */
@media (max-width: 768px) {
  .container-renseignementHome {
    width: 90%;
  }
  .contact-info-renseignementHome {
    padding: 40px 20px;
    width: 100%;
  }

  .contact-info-renseignementHome h2 {
    font-size: 1.5rem;
  }

  .contact-text-renseignementHome {
    font-size: 1rem;
  }

  .contact-box-renseignementHome {
    width: 100%;
    max-width: 320px;
  }

  .contact-description-renseignementHome {
    font-size: 1rem;
  }

  .contact-form-renseignementHome {
    padding: 50px 20px;
    width: 100%;
  }
  .contact-section-renseignementHome {
    padding: 20px 0px 40px 0px;
  }
}
/* Mobiles (470px et moins) */
@media (max-width: 400px) {
  .contact-section-renseignementHome {
    padding: 20px 0px 40px 0px;
  }
  .contact-box-renseignementHome {
    font-size: 0.7rem;
    letter-spacing: 0px;
  }
  .contact-info-renseignementHome {
    padding: 20px 5px;
    width: 100%;
  }
  .contact-form-renseignementHome img {
    width: 100%;
    height: auto;
  }
}
