/* =========================================
   STYLE COMPLET - SPA / COCOONING (REPLACE)
   - Background #FFF9EE
   - Palette verte douce
   - Radius global 0 except boutons (pill)
   - Playfair Display for headings, Montserrat for body
   ========================================= */

/* ------------------------------
   FONTS
   ------------------------------ */
   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
   @import url('https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap');
   
   /* ------------------------------
      RESET
      ------------------------------ */
   * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   html {
     scroll-behavior: smooth;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
   }
   body {
     font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
     background: #FFF9EE;
     color: #2F4F3E;
     line-height: 1.5;
     font-size: 16px;
   }
   
   /* ------------------------------
      THEME VARIABLES
      ------------------------------ */
   :root {
     --bg: #FFF9EE;
     --bg-soft: #FAF5E8;
     --card-bg: #FFFDF8;
     --green-deep: #2F4F3E;   /* texte principal */
     --green-eucalyptus: #7AA693; /* accents */
     --green-muted: #AAB9A2;  /* points / secondary */
     --muted: #647064;        /* texte secondaire */
     --accent-warm: #F6EDE1;
   
     --radius-global: 0;      /* global radius -> 0 per request */
     --radius-btn: 50px;      /* pill buttons */
     --shadow-soft: 0 8px 20px rgba(47,79,62,0.06);
     --transition: 0.28s ease;
   }
   
   /* ------------------------------
      TYPOGRAPHY
      ------------------------------ */
   h1, h2, .logo {
     font-family: "Playfair Display", serif;
     color: var(--green-deep);
     line-height: 1.05;
   }
   
   h1 { font-size: 2.6rem; }
   h2 { font-size: 1.8rem; font-weight: 500; }
   h3 { font-size: 1.1rem; }
   
   h3, p, li, a, input, button {
     font-family: "Fustat", sans-serif;
     color: var(--green-deep);
   }
   
   /* ------------------------------
      GLOBAL LAYOUT
      ------------------------------ */
   .container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 1.5rem;
   }
   
   a { text-decoration: none; color: inherit; }
   
   /* remove default radii on elements */
   button, input, .card, .testimonial-card, .map, table {
     border-radius: var(--radius-global);
   }

   /* ==================== LOGO IMAGE ==================== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: 0.4px;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo__img {
  height: 104px;           /* ajuste selon ton logo */
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Footer : logo + texte à côté sur desktop, empilé sur mobile */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.logo__text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--green-deep);
}

/* Mobile : texte sous le logo dans le footer */
@media (max-width: 767px) {
  .footer__logo {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
  .logo__img {
    height: 64px;
  }
}

/* ==================== BURGER → CROIX (2 lignes) ==================== */
.menu-toggle {
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1300;
  border-radius: 50%;
  transition: background 0.3s ease;
}


.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.6px;
  background: var(--green-deep);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: all 0.45s cubic-bezier(0.215, 0.61, 0.355, 1); /* Material Design ease-out */
  transform-origin: center;
}

/* Barre du haut */
.menu-toggle span:nth-child(1) {
  top: 18px;
}

/* Barre du bas */
.menu-toggle span:nth-child(2) {
  top: 28px;
}

/* ==================== ÉTAT OUVERT → CROIX (X) ==================== */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 23px;
}

.menu-toggle.active span:nth-child(2) {
  transform: rotate(-45deg);
  top: 23px;
}

/* Optionnel : couleur de la croix plus claire quand ouvert */
.menu-toggle.active span {
  background: var(--green-eucalyptus);
}
   
   /* ------------------------------
      HEADER
      ------------------------------ */
   .header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     background: transparent;
     z-index: 1200;
     backdrop-filter: blur(6px);
     padding: 0.6rem 0;
   }
   
   .header__inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 1.5rem;
   }
   
   

   
   /* NAV */
   .nav {
    position: fixed;
    top: 70px;                    /* juste sous le header */
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.38s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 1100;
  }
  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav a {
    display: block;
    padding: 1rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--green-deep);
    border-bottom: 1px solid #eee;
  }
  
  .nav a:last-child {
    border-bottom: none;
  }
  
  .nav a:hover {
    color: var(--green-eucalyptus);
    padding-left: 0.4rem;
    transition: padding-left 0.2s ease;
  }
   
   /* Desktop nav */
   @media (min-width: 768px) {
     .menu-toggle { display: none; }
     .nav {
      position: static;
      display: flex;
      gap: 2.6rem;
      opacity: 1;
      visibility: visible;
      transform: none;
      padding: 0;
      box-shadow: none;
      background: transparent;
    }
    .nav a {
      padding: 0;
      border-bottom: none;
      font-size: 1rem;
    }
    .nav a:hover {
      padding-left: 0;
      color: var(--green-eucalyptus);
    }
   }
   
   /* ------------------------------
      HERO
      ------------------------------ */
   .hero {
     padding: 7.5rem 0 1.5rem;
     text-align: center;
     background: var(--bg);
   }
   
   .hero__tagline {
     font-family: "Playfair Display", serif;
     letter-spacing: 0.18em;
     font-size: 0.9rem;
     color: var(--muted);
     margin-bottom: 2rem;
   }
   
   .hero__title {
     font-size: 2.4rem;
     margin-bottom: 2.5rem;
     color: var(--green-deep);
   }
   
   .hero__buttons {
     display: flex;
     justify-content: center;
     gap: 1rem;
   }
   
   /* ------------------------------
      BUTTONS (pill) - retained radius
      ------------------------------ */
   .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 0.9rem 1.8rem;
     min-width: 180px;
     height: 48px;
     border-radius: var(--radius-btn);
     font-weight: 600;
     font-size: 1rem;
     border: none;
     cursor: pointer;
     transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
     box-shadow: var(--shadow-soft);
   }
   
   .btn--primary {
     background: var(--green-deep);
     color: #fff;
   }
   .btn--primary:hover { background: var(--green-eucalyptus); transform: translateY(-3px); }
   
   .btn--accent {
     background: var(--green-eucalyptus);
     color: #fff;
   }
   .btn--accent:hover { background: var(--green-deep); transform: translateY(-3px); }
   
   /* small screens buttons */
   @media (max-width: 767px) {
     .btn { min-width: 140px; height: 44px; font-size: 0.95rem; }
     .hero__title { font-size: 1.8rem; }
   }
   
   /* ------------------------------
      SECTION TITLES
      ------------------------------ */
   .section-title {
     font-size: 1.6rem;
     color: var(--green-deep);
     text-align: center;
     margin-bottom: 1.6rem;
   }
   
   /* ------------------------------
      TESTIMONIALS / CAROUSEL
      (matching the infinite-loop JS)
      ------------------------------ */
   .testimonials {
     padding: 1.5rem 0;
     background: var(--bg);
   }
   
   .carousel {
     max-width: 820px;
     margin: 0 auto;
     position: relative;
   }
   
   .carousel__viewport {
     overflow: hidden;
     width: 100%;
     border-radius: var(--radius-global); /* 0 as requested */
     background: transparent;
   }
   
   .carousel__slides {
     display: flex;
     transition: transform 0.5s ease;
     will-change: transform;
   }
   
   .carousel__slides .slide {
     min-width: 100%;
     box-sizing: border-box;
     padding: 1.2rem;
   }
   
   .testimonial-card {
     background: var(--card-bg);
     padding: 1.8rem;
     border-radius: var(--radius-global); /* 0 */
     text-align: center;
     box-shadow: var(--shadow-soft);
   }
   
   .stars {
     color: #fca311;
     font-size: 1.25rem;
     margin-bottom: 0.8rem;
   }
   
   .testimonial-card .text {
     color: var(--muted);
     font-size: 1rem;
     line-height: 1.5;
     margin-bottom: 0.8rem;
   }
   
   .testimonial-card .author {
     font-weight: 600;
     color: var(--green-deep);
     font-size: 0.95rem;
   }
   
   /* nav bottom: arrows + dots */
   .carousel__nav-bottom {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 1rem;
     margin-top: 1rem;
   }


/* arrows kept similar */
.carousel__arrow {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--green-deep);
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  user-select: none;
}

   .carousel__arrow:hover {
    
     color: #000;
    
   }
   
   /* dots */
   .carousel__dots {
     display: flex;
     gap: 0.6rem;
     align-items: center;
   }
   .carousel-dot {
     width: 12px;
     height: 12px;
     border-radius: 999px;
     background: var(--green-muted);
     display: inline-block;
     cursor: pointer;
     transition: transform var(--transition), background-color var(--transition);
   }
   .carousel-dot.active {
     background: var(--green-deep);
     transform: scale(1.05);
   }
   
   /* ------------------------------
      BREATH IMAGE
      ------------------------------ */
   .breath-image {
     height: 40vh;
     min-height: 260px;
     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
     animation: fadeIn 1.2s ease;
   }
   
   /* ------------------------------
      PRESTATIONS
      ------------------------------ */
   .prestations {
     padding: 5rem 0;
     background: var(--bg);
   }
   
   #prestations-grid {
     display: grid;
     gap: 1.2rem;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     margin-top: 1.6rem;
   }
   
   .card {
     background: var(--card-bg);
     padding: 1.6rem;
     border-radius: var(--radius-global); /* 0 */
     text-align: center;
     box-shadow: var(--shadow-soft);
     transition: transform var(--transition), box-shadow var(--transition);
   }
   .card:hover {
     transform: translateY(-6px);
   }
   
   /* icon */
   .card .icon {
     font-size: 1.9rem;
     display: block;
     margin-bottom: 0.8rem;
   }
   
   /* ------------------------------
      ABOUT
      ------------------------------ */
   .about {
     padding: 5rem 0;
     background: var(--bg);
   }
   .about__grid {
     display: grid;
     gap: 1.6rem;
     grid-template-columns: 1fr;
     align-items: center;
   }
   .about__img {
     width: 100%;
     display: block;
     border-radius: var(--radius-global); /* 0 */
     box-shadow: var(--shadow-soft);
   }
   .about__text p { margin-bottom: 1rem; color: var(--muted); }
   
   /* ------------------------------
      TARIFS
      ------------------------------ */
   .tarifs {
     padding: 5rem 0;
     background: var(--bg);
   }
   .tarifs-table {
     margin-top: 1rem;
   }
   .tarifs table {
     width: 100%;
     border-collapse: collapse;
     background: #fff;
     overflow: hidden;
     border-radius: var(--radius-global); /* 0 */
     box-shadow: var(--shadow-soft);
   }
   .tarifs th, .tarifs td {
     padding: 0.9rem 1rem;
     border-bottom: 1px solid #f0eee9;
     text-align: left;
   }
   .tarifs th {
     background: var(--green-deep);
     color: #fff;
     font-weight: 600;
   }

   .tarif-title {
    padding-top: 1rem;
   }
   
   /* ------------------------------
      CONTACT
      ------------------------------ */
   .contact {
     padding: 5rem 0;
     background: var(--bg-soft);
   }
   .map {
     width: 100%;
     overflow: hidden;
     border-radius: var(--radius-global); /* 0 */
     box-shadow: var(--shadow-soft);
     margin-bottom: 1rem;
   }
   .map iframe { width: 100%; height: 380px; border: 0; }
   
   /* contact info */
   .contact-info p { font-size: 1rem; color: var(--muted); margin: 0.6rem 0; }
   
   /* ------------------------------
      HORAIRES
      ------------------------------ */
   .horaires {
     padding: 4rem 0;
     background: var(--bg);
   }
   .horaires-list {
     list-style: none;
     background: #fff;
     box-shadow: var(--shadow-soft);
     overflow: hidden;
     border-radius: var(--radius-global); /* 0 */
   }
   .horaires-list li {
     display: flex;
     justify-content: space-between;
     padding: 0.9rem 1rem;
     border-bottom: 1px dashed #efefe9;
   }
   
   /* ==================== FOOTER PROPRE & ÉLÉGANT ==================== */
.footer {
  background: var(--bg-soft);
  padding: 1rem 0 1rem;
  color: var(--green-deep);
  margin-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer .logo__img {
  height: 80px;
  margin-bottom: 1rem;
}

.footer p,
.footer a,
.footer h4 {
  color: var(--green-deep);
  font-family: "Fustat", sans-serif;
}

.footer h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer a {
  display: block;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--green-eucalyptus);
}

.legal {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e8e5e0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Desktop : 3 colonnes */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
  }
  
  .footer .logo__img {
    height: 90px;
  }
}
   
   /* ------------------------------
      UTILITIES / RESPONSIVE
      ------------------------------ */
   .text-center { text-align: center; margin-top: 1.5rem; }
   .note { color: var(--muted); margin-top: 1rem; }
   
   /* Desktop layout adjustments */
   @media (min-width: 768px) {
     .hero__title { font-size: 3.2rem; }
     .about__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
     .footer__grid { grid-template-columns: repeat(3, 1fr); }
     .header__inner { padding: 0 2rem; }
     .nav a { padding: 0; }
     .map iframe { height: 450px; }
     .carousel { max-width: 700px; }
     .breath-image { min-height: 400px; }
   }
   
   /* Larger screens */
   @media (min-width: 1024px) {
     #prestations-grid { grid-template-columns: repeat(3, 1fr); }
     .hero { padding-top: 10rem; padding-bottom: 6rem; }
   }
   
   /* ------------------------------
      ANIMATIONS
      ------------------------------ */
   @keyframes fadeIn {
     from { opacity: 0; transform: translateY(8px); }
     to { opacity: 1; transform: none; }
   }
   @keyframes fadeUp {
     from { opacity: 0; transform: translateY(20px); }
     to { opacity: 1; transform: none; }
   }

   /* CSS DE LA MODALE - Bouton "En savoir plus" dans les cards */
.btn-details {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--green-eucalyptus);
  color: white;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-details:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

/* Modale */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(47,79,62,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.active {
  display: flex;
  opacity: 1;
}

.modal__content {
  background: var(--card-bg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  animation: modalPop 0.4s ease;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--green-deep);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 1;
}
.modal__close:hover {
  background: rgba(122,166,147,0.2);
}

.modal__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.modal__body {
  padding: 2rem;
  text-align: center;
}
.modal__body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}
.modal__body .price {
  font-size: 1.4rem;
  color: var(--green-eucalyptus);
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}
.modal__body .details {
  text-align: left;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 1rem;
}
.modal__body .details ul {
  margin: 1rem 0;
  padding-left: 1.4rem;
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Mobile */
@media (max-width: 767px) {
  .modal__body { padding: 1.5rem; }
  .modal__img { height: 180px; }
}