/* ==========================================================================
   PAGE : SOINS MAINS & PIEDS (Design Éditorial)
   ========================================================================== */

:root {
  --color-accent: #c49d79;
  --color-plum: #9a1c6a;
  --color-pink: #b82b70;
  --bg-light: #fdfbf7;
  --text-dark: #1a1614;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.08);
}

.text-pink {
  color: var(--color-pink);
  font-style: italic;
  font-weight: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- HERO SECTION --- */
.mains-hero {
  padding: 160px 0 80px 0;
  background-color: var(--bg-light);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.mains-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 30px;
}

/* --- INTRO SECTION --- */
.intro-section {
  background-color: #ffffff;
  padding: 120px 0;
}

.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-img-wrapper {
  position: relative;
}
.intro-img-wrapper img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.intro-text .subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: block;
}
.intro-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 25px;
}
.intro-text p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.btn-reserve-intro {
  display: inline-block;
  padding: 16px 45px;
  background-color: var(--text-dark);
  color: #ffffff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
}
.btn-reserve-intro:hover {
  background-color: var(--color-accent);
}

/* --- GRILLES DE PRIX (MENU SPA) --- */
.pricing-section {
  padding: 100px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.pricing-col {
  margin-bottom: 60px;
}
.pricing-col h4 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}
.pricing-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
}
.price-item:last-child {
  border-bottom: none;
}
.price-item .name {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-item .prices {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--text-dark);
  display: flex;
  gap: 8px;
  align-items: center;
}
.price-item .prices .abo {
  color: var(--color-pink);
  font-style: italic;
  font-size: 16px;
}
.price-item .prices .separator {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #ccc;
}

.pricing-legend {
  text-align: center;
  margin-bottom: 60px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-legend span.abo-legend {
  color: var(--color-pink);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 16px;
  margin-left: 5px;
}

/* Bouton réservation par catégorie */
.btn-reserve-categorie {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 10px 25px;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
}
.btn-reserve-categorie:hover {
  background-color: var(--text-dark);
  color: #ffffff;
}

/* --- SECTION HOMME --- */
.homme-section {
  background-color: #ffffff;
  padding: 60px 50px;
  margin-top: 40px;
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.homme-section .subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: block;
}
.homme-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.homme-section p.desc {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* --- INFORMATIONS COMPLÉMENTAIRES (ACCORDÉONS) --- */
.complementaire-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}
.section-title-wrapper h3 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.section-title-wrapper p.subtitle-bottom {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-muted);
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}
.accordion-item:first-child {
  border-top: 1px solid var(--border-light);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-dark);
  transition: color 0.3s;
}
.accordion-header:hover {
  color: var(--color-accent);
}
.accordion-icon {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--color-accent);
  margin-right: 20px;
  width: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.accordion-item.closed .accordion-content {
  max-height: 0;
  padding-bottom: 0;
}
.accordion-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-bottom: 30px;
}

.soin-card .soin-title {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
.soin-card .soin-desc {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* BOUTON SCROLL TOP */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#myBtn:hover {
  background-color: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .pricing-grid {
    gap: 60px;
  }
  .intro-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 30px;
  }
  .intro-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mains-hero h1 {
    font-size: 42px;
  }
  .homme-section h3 {
    font-size: 32px;
  }
  .accordion-header {
    font-size: 20px;
  }
}
