
html {
  scroll-behavior: smooth;
}
body {

    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f5f0ff;
    color: #3c2a4d;
    line-height: 1.6;
}
h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    color: #7e57c2;
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 2rem;
}

@media (max-width: 900px) {
  .main-menu-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 2rem;
  }

  .h2-section{
    text-align: center;
  }
}

.rdv-link{
  text-decoration: none;
  color: white;
}

.h2-section{
  margin-bottom: 4rem;
}

.background-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 5% 15%, #ffffffcc, transparent),
    radial-gradient(2.5px 2.5px at 10% 50%, #b3a8ffcc, transparent),
    radial-gradient(5px 5px at 5% 15%, #ffffffdd, transparent),
    radial-gradient(4.5px 4.5px at 10% 50%, #b3a8ffcc, transparent),
    radial-gradient(6px 6px at 15% 25%, #d8b3ffcc, transparent),
    radial-gradient(5.5px 5.5px at 20% 70%, #e5d0ffcc, transparent),
    radial-gradient(4.2px 4.2px at 30% 40%, #c0b3ffdd, transparent),
    radial-gradient(7px 7px at 35% 80%, #f9dbffdd, transparent),
    radial-gradient(4px 4px at 40% 20%, #d1b3ffff, transparent),
    radial-gradient(6px 6px at 50% 10%, #ffffffdd, transparent),
    radial-gradient(5px 5px at 55% 60%, #b3a8ffcc, transparent),
    radial-gradient(7.5px 7.5px at 60% 30%, #d8b3ffcc, transparent),
    radial-gradient(5.5px 5.5px at 65% 75%, #e5d0ffcc, transparent),
    radial-gradient(6px 6px at 70% 40%, #c0b3ffdd, transparent),
    radial-gradient(8px 8px at 80% 50%, #f9dbffdd, transparent),
    radial-gradient(4.5px 4.5px at 85% 85%, #d1b3ffff, transparent),
    radial-gradient(7px 7px at 90% 30%, #ffffffdd, transparent),
    radial-gradient(5px 5px at 95% 60%, #b3a8ffcc, transparent);
  background-repeat: repeat;
  animation: stars-move 80s linear infinite;
}

/** ALERT **/
.alert{
    height: 5rem;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    padding-left: 2rem;
}
.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
}
.alert-error {
    background-color: #f2dede;
    color: #a94442;
}
.alert-warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
}
.alert-info {
    background-color: #d9edf7;
    color: #31708f;
}

/* HEADER amélioré avec étoiles et scintillement */
header {
    position: relative;
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #4b367c, #1a1a40);
    color: #e0d7ff;
    box-shadow: 0 8px 25px rgba(100, 80, 160, 0.6);
    overflow: hidden;
    z-index: 0;
}

header .stars-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    background: transparent;
    animation: twinkle 4s ease-in-out infinite;
    box-shadow: 
      5vw 15vh white,
      15vw 25vh #e5d0ffcc,
      85vw 30vh #b3a8ffcc,
      60vw 90vh #ffffffcc;
}

/* étoiles en fond */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background-image: 
    radial-gradient(3.5px 3.5px at 5% 15%, #ffffffdd, transparent),
    radial-gradient(3px 3px at 10% 50%, #b3a8ffcc, transparent),
    radial-gradient(4px 4px at 15% 25%, #d8b3ffcc, transparent),
    radial-gradient(4.2px 4.2px at 20% 70%, #e5d0ffcc, transparent),
    radial-gradient(3px 3px at 30% 40%, #c0b3ffdd, transparent),
    radial-gradient(5px 5px at 35% 80%, #f9dbffdd, transparent),
    radial-gradient(2.8px 2.8px at 40% 20%, #d1b3ffff, transparent),
    radial-gradient(4px 4px at 50% 10%, #ffffffdd, transparent),
    radial-gradient(3.5px 3.5px at 55% 60%, #b3a8ffcc, transparent),
    radial-gradient(5.5px 5.5px at 60% 30%, #d8b3ffcc, transparent),
    radial-gradient(4px 4px at 65% 75%, #e5d0ffcc, transparent),
    radial-gradient(4.5px 4.5px at 70% 40%, #c0b3ffdd, transparent),
    radial-gradient(6px 6px at 80% 50%, #f9dbffdd, transparent),
    radial-gradient(3.5px 3.5px at 85% 85%, #d1b3ffff, transparent),
    radial-gradient(5px 5px at 90% 30%, #ffffffdd, transparent),
    radial-gradient(3.8px 3.8px at 95% 60%, #b3a8ffcc, transparent);
    background-repeat: repeat;
    animation: stars-move 40s linear infinite;
    animation: stars-move 80s linear infinite;
}


@keyframes twinkle {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.5;
    filter: brightness(1.8);
  }
}


@keyframes stars-move {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 1000px 500px;
  }
}


/* scintillements
@keyframes twinkle {
  0%,
  100% {
      opacity: 1;
  }
  50% {
      opacity: 0.7;
  }
} */
/* header::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 15%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 
    80px 40px 0 0 white,
    150px 90px 0 0 white,
    220px 20px 0 0 white,
    300px 80px 0 0 white,
    350px 30px 0 0 white;
    animation: twinkle 3.5s infinite ease-in-out;
    animation-delay: 0s, 0.7s, 1.4s, 2.1s, 2.8s;
    pointer-events: none;
    z-index: 1;
} */

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 
      20vw 10vh white,
      40vw 30vh #f9dbffdd,
      60vw 20vh #ffffffdd,
      10vw 70vh #b3a8ffcc,
      80vw 50vh #e5d0ffcc,
      30vw 40vh #c0b3ffdd,
      70vw 60vh #d8b3ffcc,
      50vw 15vh #ffffffcc,
      90vw 30vh #f9dbffdd,
      15vw 90vh #b3a8ffcc,
      95vw 10vh #ffffffdd;
    animation: twinkle 5s infinite ease-in-out;
    z-index: 1;
    pointer-events: none;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
} 
header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn {
    background: #ce93d8;
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 2;
    position: relative;
}
.btn:hover {
background: #f06292;
}

/* === VERSION DESKTOP === */
.menu {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.menu ul {
  display: flex;
  gap: 3rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0e6ff;
  letter-spacing: 0.6px;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.menu a:hover {
  color: #fff0ff;
  text-shadow: 0 0 6px #ffd1ff, 0 0 12px #e0bfff;
}

.menu a.active {
  color: #fff0ff;
  text-shadow: 0 0 8px #d1b3ff, 0 0 16px rgba(209, 179, 255, 0.3);
  position: relative;
}

.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #d1b3ff 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 6px #d1b3ff;
}
/* === BURGER BUTTON === */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: #f0e6ff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* === VERSION MOBILE GAUCHE === */
@media screen and (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background-color: rgba(28, 27, 46, 0.9); /* <-- moins opaque ici */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 6rem 2rem 0 2rem;
    transition: left 0.3s ease;
    transform: none;
  }

  .menu ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .burger {
    display: flex;
  }

  .menu.open {
    left: 0;
  }

  .burger.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.open .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

section {
    margin: 4rem 0;
}
.services,
.testimonials {
    display: grid;
    gap: 2rem;
}
.services {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: center;
}
.service,
.testimonial {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(179, 157, 219, 0.2);
}
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e0d4f7;
    font-size: 0.9rem;
    color: #7b5e9c;
}
.cta {
    text-align: center;
    margin-top: 4rem;
}

/* === Prestation page === */
.prestations-section {
  /* padding: 4rem 0; */
  background: #f5f0ff;
  color: #3c2a4d; 
  font-family: "Inter", sans-serif;
}
.prestations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: left;   /* centre les cartes */
}

.prestation-footer {
  margin-top: auto; /* pousse le bouton en bas */
  width: 100%;
  text-align: center;
}
.prestation-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(179, 157, 219, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: left;
  transition: transform 0.3s ease;

  max-width: 350px;
  width: 90%;
  margin: 0 auto; /* pour centrer si elles sont seules */
}
.prestation-card:hover {
  transform: translateY(-8px);
}
.prestation-img-link {
  position: relative;
  width: 100%;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  text-decoration: none;
}
.prestation-img-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.price-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #ce93d8;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 20% 0 0 0;
}
.prestation-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #7e57c2;
  margin: 0.5rem 0 0.7rem;
  text-align: center;
}
.prestation-description {
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}
.prestation-long-description {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #5a4b81;
}
.btn-primary {
  background: #ce93d8;
  color: white;
  border: none;
  padding: 0.8rem 1.6rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #f06292;
}
.see-more-link {
  cursor: pointer;
  color: #7e57c2;
  text-decoration: underline;
  font-weight: 600;
}
.full-description {
  display: none;
}

/* === Booking page === */
.prestation-booking-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: #f9f6ff;
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
}

.prestation-booking-image .full-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prestation-booking-image-wrapper {
  max-width: 400px; /* Limite la taille, à adapter à ton layout */
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.prestation-booking-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prestation-booking-details {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prestation-booking-title {
  font-size: 2rem;
  font-weight: 700;
  color: #4b0082;
}

.prestation-booking-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: #7e57c2;
}

.prestation-booking-short-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.prestation-booking-duration {
  background-color: #d1c4e9;
  color: #4a148c;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  display: inline-block;
  font-weight: 500;
  width: fit-content;
}

.prestation-booking-description {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
}
.booking-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  max-width: 1200px;
  margin-inline: auto;
}

.prestation-description {
  width: 60%;
  margin: 0 auto 4rem;
  text-align: justify;
  font-size: 1.1rem;
  color: #5a4d7d;
  line-height: 1.5;
}

.booking-info {
  text-align: center;
  color: #ff6c00cf;
  margin-bottom: 2rem;
  font-weight: 600;
}

.booking-form {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.form-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  justify-content: center;
}

.form-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(179, 157, 219, 0.2);
  flex: 1 1 400px;
  min-width: 320px;
}

.form-submit {
  margin-top: 2rem;
}

.booking-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #4a3a7a;
  display: block;      /* agrandit la zone cliquable */
  cursor: pointer;     /* indique que c’est cliquable */
}

.booking-input {
  width: 100% !important;
  padding: 0.6rem 0.8rem !important;
  margin-bottom: 1.2rem !important;
  border-radius: 10px !important;
  border: 1.8px solid #cbb9f4 !important;
  font-size: 1rem !important;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease !important;
}

.booking-input:focus {
  border-color: #7e57c2;
  outline: none;
}

.error-message {
  color: #e53935;
  font-size: 0.9rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
  display: block;
}

.booking-button {
  background: #ce93d8;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 1.1rem;
  width: 100%;
  display: block;
}

.booking-button:hover {
  background: #f06292;
}

.availability-loader {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 0;
}

.shimmer-choice {
  border: 2px solid #cbb9f4;
  border-radius: 25px;
  padding: 1.5rem;
  min-width: 90px;
  text-align: center;
  background: linear-gradient(90deg, #f7f3ff 25%, #e0d5ff 50%, #f7f3ff 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  font-weight: 600;
  color: transparent;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.availability-section {
  color: #3c2a4d;
}

.availability-date {
  color: #7e57c2;
}

.availability-choices {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Cache les inputs radio */
.availability-choice-wrapper input[type="radio"] {
  display: none;
}

/* Style des labels simulant des boutons */
.availability-choice-wrapper label {
  border: 2px solid #cbb9f4;
  border-radius: 25px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  font-weight: 600;
  background: #f7f3ff;
  color: #5a4d7d;
  min-width: 90px;
  text-align: center;
  display: inline-block;
}

.availability-choice-wrapper label:hover {
  border-color: #7e57c2;
  background: #d6c6ff;
  color: #3c2a4d;
}

.availability-choice-wrapper input[type="radio"]:checked + label {
  background: #7e57c2;
  color: white;
  border-color: #7e57c2;
}

.availability-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #666;
}

@media (max-width: 900px) {
  .prestation-description {
    width: 90%;
  }
  .form-content {
    flex-direction: column;
  }
  .form-column {
    width: 90%;
    margin: 0 auto;
  }
}

/* === Blog page === */
.blog-page {
  background: #f5f0ff;
  padding: 4rem 2rem;
  color: #3c2a4d;
}
.blog-title {
  font-family: "Playfair Display", serif;
  color: #7e57c2;
  text-align: center;
  margin-bottom: 4rem;
}
.blog-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.blog-post {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(179, 157, 219, 0.2);
}
.blog-post-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}
.blog-post-title a {
  color: #7e57c2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-post-title a:hover {
  color: #5a3a7a;
  text-decoration: underline;
}
.blog-post-content {
  color: #5a4d7d;
  margin-bottom: 1rem;
}
.blog-post-categories span {
  background: #d6c6ff;
  color: #5a4d7d;
  border-radius: 25px;
  padding: 0.3rem 0.9rem;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}
.blog-no-posts {
  text-align: center;
  font-style: italic;
  color: #666;
  font-size: 1.1rem;
}


/* === Contact page === */
.page-title {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.contact-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  padding-bottom: 5rem;
}

.contact-method {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(179, 157, 219, 0.2);
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-method form {
  width: 95%;
}

.contact-method label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #4a3a7a;
}

.contact-method input[type="email"],
.contact-method textarea {
  width: 95%;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.2rem;
  border-radius: 10px;
  border: 1.8px solid #cbb9f4;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.contact-method input[type="email"]:focus,
.contact-method textarea:focus {
  border-color: #7e57c2;
  outline: none;
}

.contact-method button {
  background: #7e57c2;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.1rem;
  width: 100%;
  display: block;
}

.contact-method button:hover {
  background: #5a3a7a;
}

.phone-facebook {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.phone-section,
.facebook-section,
.mail-section {
  text-align: center;
}

.phone-section h3,
.facebook-section h3 {
  margin: 0;
}

.hours-section {
  text-align: center;
}

.hours-section h2 {
  margin-bottom: 1rem;
}

.opening-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #4a3a7a;
  font-weight: 500;
}

.opening-hours li {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-method {
    flex: none;
    margin: 0 auto;
  }
}