/* ===================== PAGE ACCUEIL ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: #1a1a1a;
  background-color: #f5f5f5;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #222;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.mobile-menu.open {
  display: flex;
}

/* Liens du menu mobile */
.mobile-menu nav a {
  color: white;
  font-size: 1.8rem;
  margin: 1.5rem 0;
  text-decoration: none;
  position: relative;
}

/* Lien actif mobile */
.mobile-menu nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: orange;
}

/* Bouton fermer (croix) */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.navbar {
  background-color: #2e2e2e;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.7rem;
  color: white;
  text-decoration: none;
}

.menu a {
  margin-left: 2rem;
  text-decoration: none;
  color: #ccc;
  font-weight: 600;
  position: relative;
}

.menu a.active {
  color: white;
}

.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: orange;
}


.hero {
  background-image: url('Images/accueil.webp');
  background-size: cover;
  background-position: center;
  height: 470px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0);
  color: white;
  text-align: center;
  padding: 1rem;
}

.overlay h1 {
  font-size: 3.1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.overlay button {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
}

/* ACCUEIL SECTION */
.welcome {
  text-align: center;
  padding: 3rem 2rem;
  background-color: white;
}
.welcome h2 {
  color: #f18300;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.welcome p {
  font-size: 1rem;
  color: #555;
}

/* SERVICES SECTION */
.services {
  background-color: #ececec;
  text-align: center;
  padding: 2rem;
}
.services h2 {
  color: #f18300;
  font-size: 2.2rem;
  font-weight: 800;
}

.service-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Cartes en colonnes */
.service-card {
  width: 100%;
  max-width: 510px;
  text-align: left;
  margin-top: 50px;
}

/* Image bien ajustée */
.service-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* Titres & textes */
.service-card h3 {
  color: #f18300;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #555;
  font-size: 0.90rem;
  line-height: 1.5;
}




.faq {
  padding: 2rem;
  width: 100%;
  min-height: 280px;
  margin: 0 auto;
  background-color: #fff;

}

.faq h2 {
  color: #f18300;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.faq-item {
  border: 1px solid #f18300;
  margin-bottom: 0rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background-color: #f18300;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
}

.faq-question.active .arrow {
  transform: rotate(180deg);
}

.faq-answer1,
.faq-answer2 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 1rem;
  background-color: #ececec;
  font-size: 0.90rem;
  line-height: 1.5;
  color: #555;
}

.faq-answer1 p,
.faq-answer2 p {
  margin-top: -5px;
}


.faq-answer1.show {
  opacity: 1;
  padding: 1rem;
  max-height: 600px;
}

.faq-answer2.show {
  opacity: 1;
  padding: 1rem;
  max-height: 500px;
}






.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  background-color: #fff;
  border-top: 1px solid #ccc;
}

.contact-left,
.contact-right {
  flex: 1 1 48%;
  min-width: 300px;
}

.contact-right {
  padding-left: 40px;
}

.contact-left h2 {
  color: #f18300;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-left: 400px;
}

.contact-left p {
  color: #555;
  font-size: 0.90rem;
  line-height: 1.5;
  margin-left: 400px;
}

.contact-left form {
  display: flex;
  flex-direction: column;
  margin-left: 400px;
}

.contact-left label {
  font-weight: bold;
  margin: 0.5rem 0 0.25rem;
  color: #555;
  font-size: 0.85rem;
}

.contact-left input,
.contact-left textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.4rem;
  font-size: 0.95rem;
  color: #555;
  width: 60%;
  resize: vertical;
}

.contact-left button {
  margin-top: 1rem;
  background-color: #f18300;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 60%;
}

.contact-left button:hover {
  background-color: #f18300;
}

.contact-right {
  background-color: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  max-width: 400px;
  box-sizing: border-box;
  margin-right: 400px;
}

.contact-right h2 {
  color: #f18300;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info a {
  color: #f18300;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}


.form-feedback {
    display: block;
    width: 100%;
    max-width: 385px;
    margin: 10px 0 0 0;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
}

.form-feedback.success {
    background-color: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}

.form-feedback.error {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
}




footer {
  color: white;
}

.footer-orange {
  height: 80px;
  background-color: #f18300; /* Orange vif */
}

.footer-dark {
  background-color: #2e2e2e; /* Gris foncé */
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  height: 110px;
}

.footer-dark p {
  text-align: center;
  margin-top: 30px;
}









/* ===================== PAGE TARIFS ===================== */
.tarifs-img {
  background-image: url("Images/tarifs2.webp");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 320px;
  margin-bottom: 2rem;
}

.tarifs {
  background-color: #f1f1f1;
  padding: 4rem;
  margin-top: 0rem;
}

.tarifstitre {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #f18300;
  text-align: center;
}

.tarifsdescri {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.tarif-table {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

.tarif-table th,
.tarif-table td {
  padding: 0.5rem 1rem;
  text-align: left;
}

.tarif-table thead tr:first-child {
  background-color: #f18300;
  color: white;
}

.tarif-table thead tr:last-child {
  background-color: #f18300;
  color: white;
}

.tarif-table tbody tr:nth-child(even) {
  background-color: #eaeaea;
}








/* ===================== PAGE RDV ===================== */
.rdv {
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    text-align: center;
}

/* Conteneur principal */
.rdv-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 950px;
    margin: 40px auto;
    padding: 20px;
}

/* Titre centré */
.titrerdv {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #f18300;
}

/* Conteneur du calendrier */
.calendar-container {
    width: 42%;
    height: 585px;
    background: #2e2e2e;
    color: #f1f1f1;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    float: left;
}

/* Titre "Choisissez une date" */
.calendar-container h3 {
    margin-bottom: 20px; /* Augmente l’espace sous le titre */
}

/* Sélecteur de mois */
#month-selector {
    background: white;
    color: #2e2e2e;
    padding: 8px;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
    width: 100%;
    font-weight: bold;
    text-align: center;
}

/* Conteneur des jours */
#calendar {
    width: 100%;
    margin-top: 20px; /* Augmente l’espace au-dessus */
}

/* Titre "Choisissez une date" */
.calendar-container h4 {
    margin-bottom: 10px; /* Augmente l’espace sous le titre */
}

/* Style des jours */
.day {
    background: #2e2e2e;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    width: 45px;
    margin: 6px;
    margin-top: 20px;
}


/* Au survol */
.day:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 80%; /* Pour un effet cercle */
  }

/* Jour sélectionné */
.day.selected {
    background: white; 
    color: #3b3f46;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

/* Conteneur du formulaire */
.formulaire-container {
    width: 48%;
    height: 500px; /* Même hauteur que le calendrier */
    background: #fff;
    padding: 20px;
    float: right;
    margin-top: -15px; /* Remonte le formulaire pour l'aligner avec le calendrier */
    padding-bottom: 10px;
}

/* Labels du formulaire */
#rdv-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

/* Champs du formulaire */
#rdv-form input, #rdv-form select {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 2px solid #555;
    border-radius: 5px;
    color: #333;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
}

#rdv-form option {
    font-weight: bold;
}
#month-selector option {
    font-weight: bold;
}
/* Bouton de confirmation */
#rdv-form button {
    background: #f18300;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 15px;
    width: 100%;
}

#rdv-form button:hover {
    background: #cc6a00;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.9s ease, transform 0.9s ease;
}

/* Message de confirmation */
#confirmation-message {
    margin-top: 10px;
    color: green;
    font-weight: bold;
    text-align: center;
}

/* Ajustement après les floats */
.rdv-container::after {
    content: "";
    display: block;
    clear: both;
}




























/* ===================== PAGE ACCUEIL VERSION TEL ===================== */
@media (max-width: 1000px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
  }

  .burger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    padding: 0;
    margin: 0;
  }

  .menu {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
    
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    pointer-events: auto;
  }


  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .mobile-menu nav a {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    text-align: center;
  }

  .mobile-menu nav a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: orange;
  }

  .close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  .hero {
    height: 300px;
    padding: 1rem;
  }

  .overlay h1 {
    font-size: 1.8rem;
  }

  .overlay button {
    font-size: 1rem;
    padding: 0.6rem 1.4rem;
  }

  .welcome h2,
  .services h2,
  .faq h2,
  .contact-left h2,
  .contact-right h2 {
    font-size: 1.6rem;
  }

  .service-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 100%;
    margin: 1rem 0;
  }

  .faq-answer1,
  .faq-answer2 {
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1rem;
    background-color: #ececec;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    max-height: 0;
    width: 100%;
  }
  

  .faq-item {
    width: 100%;
    max-width: 100%;
  }

  .contact-section {
    flex-direction: column;
    padding: 1rem;
  }

  .contact-left,
  .contact-right {
    flex: 1 1 100%;
    min-width: 100%;
    margin: 0;
    padding: 1rem 0;
  }

  .contact-left h2,
  .contact-left p,
  .contact-left form {
    margin-left: 0;
  }

  .contact-left input,
  .contact-left textarea,
  .contact-left button {
    width: 100%;
  }

  .contact-right {
    margin-right: 0;
    padding: 1rem;
    max-width: 100%;
  }

  .footer-dark {
    height: auto;
    padding: 1rem;
  }

  .footer-dark p {
    margin-top: 0;
  }
}




/* ===================== PAGE TARIFS VERSION TEL ===================== */
@media (max-width: 1000px) {
  .tarifs {
    padding: 2rem 1rem;
  }

  .tarifstitre {
    font-size: 1.5rem;
  }

  .tarifsdescri {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .tarif-table {
    font-size: 0.85rem;
    overflow-x: auto;
    display: block;
  }

  .tarif-table table {
    width: 100%;
    min-width: 600px;
  }

  .tarifs-img {
    height: 200px;
    background-position: center;
  }
}





/* ===================== PAGE RDV VERSION TEL ===================== */
@media (max-width: 1000px) {
  .rdv {
    height: auto;
    padding: 20px 10px;
  }

  .rdv-container {
    width: 95%;
    margin: 20px auto;
    padding: 15px;
  }

  .calendar-container,
  .formulaire-container {
    width: 100%;
    float: none;
    margin: 0 auto 20px auto;
    height: auto;
  }

  .titrerdv {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .day {
    width: 40px;
    margin: 4px;
    font-size: 0.9rem;
  }

  #rdv-form input,
  #rdv-form select,
  #rdv-form button {
    font-size: 0.9rem;
    padding: 8px;
  }

  #month-selector {
    font-size: 0.9rem;
    padding: 6px;
  }
}
