/* ==========================
   🎨 VARIABLES GLOBALES
   ========================== */
:root {
  --color-to-test: #2d4f50;
  /* Background-color */
  --dark-bg-color: #2F4F4F;
  --light-bg-color: #F8F6F1;
  --transparent-bg-color: #87CEEB20;

  /* Hover background-color */
  --hover-dark-bg-color: #1e3939;
  --hover-light-bg-color: #d9c48f;

  /* Foreground color */
  --dark-fg-color: #2F4F4F;
  --light-fg-color: #F8F6F1;

  /* Hover foreground-color */
  --hover-dark-fg-color: #2F4F4F;
  --hover-light-fg-color: #F8F6F1;

}

/* ==========================
     🔄 RESET & BASE STYLES
     ========================== */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: var(--light-bg-color);
  color: var(--dark-fg-color);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.2rem;
}

.button-appointment {
  display: inline-block;
  padding: 10px 20px;
  font-size: 20px;
  color: var(--light-fg-color);
  background-color: var(--dark-bg-color);
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  align-items: center;
}

.button-appointment:hover {
  background-color: var(--hover-dark-bg-color);
}


.primary-button {
  background-color: var(--dark-bg-color);
  color: var(--light-fg-color);
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  width: 270px;
  margin: auto;
  transition: background 0.3s ease;
  display: flex;

}

.primary-button:hover {
  background-color: var(--hover-dark-bg-color);
}

.primary-button text {
  text-align: center;
  vertical-align: center;
}

.primary-button img {
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.secondary-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--light-bg-color);
  color: var(--dark-fg-color);
  text-decoration: none;
  font-size: 1rem;
  border-width: 1px;
  border-color: var(--dark-fg-color);
  border-radius: 50px;
  border-style: solid;
  transition: background-color 0.3s ease;
}

.secondary-button:hover {
  background-color: var(--hover-light-bg-color);
  text-decoration: underline;
}

/* ==========================
     📌 STRUCTURE GLOBALE
     ========================== */
.u-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

}

/* ==========================
     🏠 BANNIÈRE & MENU
     ========================== */
.Banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}

.Banner-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.Banner-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-fg-color);
}

.Banner-menu {
  display: flex;
  gap: 15px;
  list-style: none;
}

.Banner-link {
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--dark-fg-color);
}

.Banner-link:hover {
  text-decoration: underline;
}

/* 🍔 Menu Burger (Mobile) */
.Banner-burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.Banner-burger div {
  width: 30px;
  height: 3px;
  background-color: var(--dark-bg-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.Banner-menu.open {
  display: flex;
}

.Banner-site-logo {
  max-height: 60px;
  /* Ajuster selon vos besoins */
  width: auto;
}

.Banner-title-info {
  display: flex;
  flex-direction: column;
}

.Banner-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-fg-color);
}

.Banner-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dark-fg-color);
}

.Banner-burger.active div:nth-child(1) {
  background-color: var(--light-bg-color);
}

.Banner-burger.active div:nth-child(3) {
  background-color: var(--light-bg-color);
}

/* ==========================
     🏠 BANNIÈRE & MENU
     ========================== */
.Banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}

.Banner-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.Banner-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-fg-color);
}

.Banner-menu {
  display: none;
  gap: 15px;
  list-style: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background-color: var(--dark-bg-color);
  z-index: 1000;
  justify-content: center;
  margin: auto auto 0 auto;
}

.Banner-link {
  text-decoration: none;
  font-size: 28px;
  color: var(--light-fg-color);
  padding-right: 20px;
}

.Banner-link:hover {
  text-decoration: underline;
}

/* 🍔 Menu Burger (Mobile) */
.Banner-burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.Banner-burger div {
  width: 30px;
  height: 3px;
  background-color: var(--dark-bg-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.Banner-menu.open {
  display: flex;
}

/* Menu burger actif */
.Banner-burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(6px, 5px);
}

.Banner-burger.active div:nth-child(2) {
  opacity: 0;
}

.Banner-burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -5px);
}

/* ==========================
     👤 SECTION PROFIL
     ========================== */
.profile-section-title {
  padding: 15px 0;
  display: flex;
}

.profile-title {
  display: block;
  font-size: 28px;
  margin: 0 0 50px 15%;
}

.profile-subtitle {
  display: block;
  font-size: 18px;
  margin: 0 0 50px 15%;
  text-align: left
}


.profile-section-content {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.profile-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  /* 👈 permet à l'image de prendre la hauteur du texte */
  width: 100%;
  max-width: 2400px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 0 0 15%;
}


.profile-text {
  flex: 0 1 70%;
  /* 👈 prend 70% de la largeur */
  padding: 0 20px;
  text-align: left;
}

.profile-text p {
  margin-top: 10px
}

.profile-image {
  flex: 0 1 30%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.profile-image img {
  width: 100%;
  max-width: 800px;

  object-fit: cover;
}

/* ==========================
     🖥️ RESPONSIVE DESIGN
     ========================== */
@media (max-width: 999px) {
  .Banner-menu {
    display: none;
  }

  .Banner-burger {
    display: flex;
    width: 50%;
    z-index: 1100;
    align-items: center;
    width: 20%;
  }

  .Banner-burger.active div:nth-child(1) {
    background-color: var(--light-bg-color);
  }

  .Banner-burger.active div:nth-child(3) {
    background-color: var(--light-bg-color);
  }

  .profile-container {
    flex-direction: column;
    text-align: left;
    padding: 0 0 0 5%;
  }

  .profile-text,
  .profile-image {
    max-width: 100%;
    padding: 10px;
  }

  .profile-image img {
    width: 80%;
  }

  .profile-title {
    font-size: 18px;
  }

  .Banner-left {
    width: 60%;
    margin: 5%;
    align-items: center;
  }

  .Banner-right {
    width: 100%;
    align-items: center;
    margin: 0 10% 0 10%;
  }

  .button-appointment {
    justify-content: center;
    width: 100%;
    text-align: center;

  }

  .footer__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .longTextArea {
    background-color: var(--light-bg-color);
    padding: 0;
    margin: 0 0 0 0;
    border-radius: 10px;
    font-family: 'Segoe UI', sans-serif;
    color: var(--dark-fg-color);
  }

  .longTextArea h2 {
    text-align: left;
    margin-top: 10px;
    padding-left: 10px;
  }

  .longTextArea p {
    text-align: left;
    margin-top: 10px;
    padding-left: 10px;
  }

  .longTextArea ul {
    text-align: left;
    margin-left: 20px;
    padding-left: 20px;
  }

}


@media (min-width: 1000px) {
  .Banner-menu {
    display: flex;
    /* Menu classique visible sur desktop */
    flex-direction: row;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    gap: 10px;

    .footer__container {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }

    .footer__left,
    .footer__right {
      flex: 1;
    }
  }

  .Banner-menu a {
    color: var(--dark-fg-color)
  }

  .Banner-menu a:hover {
    color: var(--hover-dark-fg-color);
  }

  .Banner-burger {
    display: none;
    /* Masquer le burger en desktop */
  }

  .profile-text {
    max-width: 50%;
  }

  .profile-image {
    max-width: 60%;
  }

  .u-wrapper {
    max-width: 70%;
    margin: auto;
  }

  .u-padding {
    padding: 0 1rem;
  }

  .longTextArea {
    background-color: var(--light-bg-color);
    padding: 10px;
    border-radius: 10px;
    font-family: 'Segoe UI', sans-serif;
    color: var(--dark-fg-color);
    max-width: 1050px;
    margin: 0 0 50px 15%;
  }

  .longTextArea h2 {
    text-align: left;
    margin-top: 10px
  }

  .longTextArea p {
    text-align: left;
    margin-top: 10px
  }

  .longTextArea ul {
    text-align: left;
    margin-left: 20px
  }

}

/* Réinitialisation de base */


/* Conteneur global */
.appointment-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

/* Carte principale */
.appointment-card {
  background: var(--transparent-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 320px;
}

/* Carte Google Maps */
.appointment-map {
  height: 200px;
  width: 100%;
}

.appointment-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.appointment-map img {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Contenu de la carte */
.appointment-content {
  padding: 20px;
  text-align: center;

}

.appointment-content-img {
  width: 40px;
  height: 30px;
}

/* Titre */
h2 {
  font-size: 20px;
  color: var(--dark-fg-color);
  margin-bottom: 10px;
  text-align: center;
}

/* Drapeau */
.appointment-flag {
  width: 40px;
  height: auto;
  margin: 10px 0;
  border-radius: 5px;
  display: inline-block
}

/* Ligne de séparation */
hr {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}

/* Tarification et durée */
.appointment-tarif,
.appointment-duree {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

nav {
  position: sticky;
}

/**
 Foms
 **/
/* Formulaire principal */
form#contactForm {
  background-color: var(--dark-fg-color);
  padding: 2rem;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  color: var(--light-bg-color);
  max-width: 600px;
  margin: auto;
}

form#contactForm fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

form#contactForm legend {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Labels */
form#contactForm label {
  display: block;
  margin: 1rem 0 0.25rem;
  font-weight: 500;
}

/* Inputs, selects, textareas */
form#contactForm input[type="text"],
form#contactForm input[type="email"],
form#contactForm input[type="tel"],
form#contactForm select,
form#contactForm textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #ffffff;
  color: var(--dark-fg-color);
  box-sizing: border-box;
}

form#contactForm textarea {
  min-height: 250px;
  resize: none;
}

form#contactForm a {
  color: var(--hover-light-fg-color)
}

/* Placeholder style */
form#contactForm input::placeholder,
form#contactForm textarea::placeholder {
  color: #8fa08f;
}

/* Groupe téléphone */
form#contactForm div {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}



/* Message de confirmation */
#confirmation-message {
  margin-top: 1rem;
  font-weight: bold;
}

/* Boutons radio */
form#contactForm input[type="radio"] {
  margin-right: 0.5rem;
}

form#contactForm p {
  margin-top: 1rem;
}

/* Question sécurité sociale */
form#contactForm .radio-group {
  margin-top: 1rem;
}

form#contactForm .radio-group label {
  display: inline-block;
  margin-right: 1.5rem;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

div#response-panel {
  background-color: var(--dark-fg-color);
  padding: 2rem;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  color: var(--light-bg-color);
  max-width: 600px;
  margin: auto;
}

.footer {
  background-color: var(--dark-bg-color);
  color: var(--light-fg-color);
  padding: 2rem 1rem;
  margin-top: 50px;
  font-size: 0.95rem;
}

.footer__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer__left,
.footer__center,
.footer__right {
  flex: 1 1 300px;
}


.footer__right h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer__logo {
  width: 50px;
  height: auto;
}

.footer__addresses {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__address {
  flex: initial;
}

.footer__address h4 {
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer__sitemap {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__sitemap li {
  margin-bottom: 0.5rem;
}

.footer__sitemap a {
  color: var(--light-fg-color);
  text-decoration: none;
}

.footer__sitemap a:hover {
  text-decoration: underline;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

.error-message {
  color: #ff9f9f;
  font-size: 0.9em;
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}

.phoneContact {
  background-color: var(--dark-fg-color);
  padding: 2rem;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  color: var(--light-bg-color);
  max-width: 600px;
  margin: auto auto 20px auto;
}

.phoneContact h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
  font-weight: normal;
  color: var(--light-bg-color);
}