:root {
    --font-body: "Work Sans", sans-serif;
    --font-heading: "Cormorant Garamond", serif;

    --color-primary: #B7B1A9;
    --color-background: #fbf4ec;
    --color-secondbackground:#1E1B18;
    --color-heading: #4B3A34;
    --color-text: #4b3a34a1;
    
    --color-white: #ffffff;
    --color-black: #000000;
}

/*HEADER*/
/* Container général du header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  background-color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow-x: hidden;
}

/* Logo à gauche, taille réduite */
.container-logo .logo {
  height: 60px;
  width: auto;
  max-height: 10vh;
}
#main-nav {
  max-width: 500px; /* ou la largeur que tu veux */
  width: 100%;
  margin-left: 0; /* colle à gauche */
}

/* Navigation */
#main-nav .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; /* réinitialise toutes les marges */
  padding-left: 2rem; /* espace à gauche */
  justify-content: flex-start;
  flex-wrap: wrap;
}


.nav-link {
    text-decoration: none;
    color: var(--color-heading);
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 600px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  #main-nav .nav-list {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .container-logo .logo {
    height: 50px;
  }
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}
/*ACCEUIL*/
.section-acceuil {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  margin-top: 100px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* assombrit un peu pour mieux lire le texte */
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 0 1rem;
  margin-top: 200px; /* pour éviter que le contenu soit caché par le header */
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-white);
}

.hero-buttons .btn {
  margin: 0 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.hero-buttons .btn:hover {
  background-color: var(--color-heading);
}

.section-title {
    margin-bottom: 30px;
    font-size: 3rem;
}
.gallery-section {
  background-color: var(--color-background); /* Même fond que le header */
  padding: 4rem 2rem; /* Grosse marge haut/bas, un peu moins sur les côtés */
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*GRID SECTION*/
.section-title {
    padding-top: 5%;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px; /* espace entre images */
  max-width: 900px; /* largeur max de la grille */
  margin: 40px auto; /* marge en haut et bas + centrer horizontalement */
  padding: 0 20px; /* petite marge à gauche et droite */
}

.gallery-item {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/*COMMENTAIRE SLIDE*/
/* La section prend toute la largeur */
.testimonial-section {
  width: 100vw;
  background-color: var(--color-heading);
  color: var(--color-background);
  padding: 50px 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
}

.testimonial-section .section-label {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--color-background);
}

/* Conteneur qui masque tout sauf un témoignage */
.testimonial-wrapper {
  position: relative;
  width: 100%;
  height: 150px; /* adapte selon la hauteur du texte */
  overflow: hidden;
}

/* Chaque témoignage est positionné absolument */
.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  padding: 0 20px;
  box-sizing: border-box;
  transition: transform 0.7s ease, opacity 0.7s ease;
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Citation à droite */
.testimonial cite {
  display: block;
  text-align: right;
  font-weight: 600;
  font-style: normal;
  margin-top: 15px;
  color: var(--color-background);
}

/* Etat visible */
.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 10;
}

/* Entrée depuis la gauche */
.testimonial.enter-left {
  opacity: 1;
  transform: translateX(-100%);
  position: absolute;
  z-index: 15;
}

/* Sortie vers la droite */
.testimonial.exit-right {
  opacity: 0;
  transform: translateX(100%);
  position: absolute;
  z-index: 5;
}

/*TABLEAUX DES TARIFS*/

/* Animation de zoom léger à l'apparition */
.fade-in-on-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

/* Style général des sections */
.section-services {
  padding: 5rem 2rem;
  background-color: var(--color-background); /* Assure une base neutre */
}

.services-group {
  margin: 4rem 0;
}

/* Titres */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-heading);
}

.services-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-heading);
  text-align: center;
}

/* Wrapper pour centrer les tableaux */
.services-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Style commun pour les deux tableaux */
.services-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Work Sans", sans-serif;
}

.services-table th,
.services-table td {
  padding: 1rem;
  text-align: left;
  font-size: 1rem;
}

.services-table thead th {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Couleurs personnalisées */

/* POUR ELLE */
#services-elle .services-table {
  background-color: #fbe8f0;
  color: #383633;
}

#services-elle thead {
  background-color: #f7d4e3;
}

/* POUR LUI */
#services-lui .services-table {
  background-color: #e3f1fb;
  color: #383633;
}

#services-lui thead {
  background-color: #c7e5f7;
}

/* Applique à tous les tableaux */
.services-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

/* Bordures horizontales entre chaque ligne */
.services-table-wrapper th,
.services-table-wrapper td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* ligne fine et douce */
  padding: 12px 16px;
  text-align: left;
}

/* Ligne d'en-tête un peu plus marquée */
.services-table-wrapper thead th {
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background-color: #f7d4e3;
    color: #383633;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #fbe8f0;
    /* une version un peu plus foncée du rose */
}


.button-wrapper-g {
    text-align: center;
    margin-top: 20px;
}

.btn-g {
    display: inline-block;
    background-color: #c7e5f7;
    color: #383633;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-g:hover {
    background-color: #e3f1fb;
    /* une version un peu plus foncée du bleu */
}

/*ABOUT ME*/
#about {
  width: 100vw;
  background-color: var(--color-heading);
  padding: 50px 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  margin-top: 5%;
    width: 100vw;       /* largeur égale à la largeur de la fenêtre */
  left: 0;            /* pour être bien aligné à gauche */
  margin: 0;          /* supprimer marges éventuelles */
}


#about > h2 {
  text-align: center;
  margin-bottom: 30px;
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #dcdcdc; /* gris clair, plus clair que #383633 */
}

.team-container {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.team-member {
  position: relative;
  width: 300px; /* taille fixe, à ajuster selon tes besoins */
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  flex-shrink: 0; /* empêche la réduction si écran plus petit */
}

.team-image {
  width: 100%; /* remplit tout le conteneur */
  height: auto;
  display: block;
  filter: brightness(60%);
  transition: filter 0.4s ease, transform 0.4s ease;
  border-radius: 10px;
}


.team-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  transition: opacity 0.4s ease;
  width: 80%;
  font-family: "Work Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  pointer-events: none;
}

.team-member:hover .team-text {
  opacity: 0;
}

.team-member:hover .team-image {
  filter: brightness(100%);
  transform: scale(1.05);
}

/*HORAIRE ET MAP*/

#map {
  background-color: var(--color-background);
  padding: 60px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.horaire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin-bottom: 40px;
}

.horaire-block {
  background-color: #e6e2de;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(56, 54, 51, 0.1);
  font-family: "Work Sans", sans-serif;

  display: flex;                /* Active Flexbox */
  flex-direction: column;       /* Aligne verticalement */
  justify-content: center;      /* Centre verticalement */
  align-items: center;          /* Centre horizontalement */
  text-align: center;           /* Centre le texte */
}

.horaire-block h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.horaire-block p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.map-container {
  width: 95vw;           /* Presque toute la largeur de l'écran */
  max-width: 1200px; 
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(56, 54, 51, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
}

/*FOOTER*/

footer {
  background-color: #4B3A34;
  color: #fff;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-family: "Work Sans", sans-serif;
  min-height: 120px; /* hauteur minimum pour bien espacer */
  box-sizing: border-box;

    width: 100vw;       /* largeur égale à la largeur de la fenêtre */
  left: 0;            /* pour être bien aligné à gauche */
  margin: 0;          /* supprimer marges éventuelles */
}

/* Conteneur pour les icônes et le texte "Suivez-nous" */
.social-media-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: space-between; /* très espacé */
  align-items: center;
  margin-bottom: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Style pour les icônes */
.social-media a {
  color: #fff;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #f7d4e3; /* couleur rose clair pour l’effet hover */
}

/* Texte "©" centré en bas */
footer p.copyright {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
  user-select: none;
}

/* Texte "Suivez-nous" */
footer p.follow-us {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
}
