/* ==========================================================================
   PAGE : SOINS HOMME YON-KA (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 --- */
.yonka-hero {
  padding: 160px 0 80px 0;
  background-color: var(--bg-light);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.yonka-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.scroll-down {
  animation: bounce 2s infinite;
  margin-top: 20px;
}
.scroll-down svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* --- INTRO SECTION --- */
.homme-intro {
  padding: 120px 0;
  background-color: #ffffff;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.intro-left .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-left h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.intro-left p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.intro-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.intro-right p {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- IMAGE D'AMBIANCE --- */
.offset-image-container {
  max-width: 1000px;
  margin: 0 auto 120px auto;
  padding: 0 40px;
}
.offset-image-container img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* --- SÉPARATEUR LOGO --- */
.logo-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 80px 0;
  width: 100%;
}
.logo-separator .line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--border-light);
}
.logo-separator img {
  width: 140px;
  height: auto;
  padding: 0 40px;
  opacity: 0.8;
}

/* --- TITRES DE SECTIONS --- */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 80px;
}
.section-title-wrapper h3 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 15px 0;
}
.section-title-wrapper .subtitle-bottom {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}
.section-title-wrapper .subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: block;
}

/* --- ACCORDÉONS DES SOINS --- */
.homme-treatments {
  padding: 100px 0 120px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}
.homme-treatments.bg-white {
  background-color: #ffffff;
  border-top: none;
}

.accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: start;
}
.accordion-col {
  display: flex;
  flex-direction: column;
}
.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;
  justify-content: space-between;
  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: 22px;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item.active .accordion-content {
  max-height: 1200px;
}

/* Contenu interne */
.soin-card {
  padding: 0 0 35px 0;
}
.soin-desc {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.soin-title {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

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

/* Bloc Avantage Abonné */
.soin-abonne {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.abonne-text span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-style: italic;
  color: var(--color-pink);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}
.abonne-text p {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.abonne-text p a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--text-dark);
  transition: all 0.3s;
}
.abonne-text p a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* 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) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .accordion-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 30px;
  }
  .intro-right {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .accordion-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .accordion-col:nth-child(2) .accordion-item:first-child {
    border-top: none;
  }
  .yonka-hero h1 {
    font-size: 42px;
  }
  .intro-left h2 {
    font-size: 36px;
  }
  .offset-image-container {
    padding: 0 20px;
    margin-bottom: 80px;
  }
  .offset-image-container img {
    aspect-ratio: 4/3;
  }
  .logo-separator img {
    padding: 0 20px;
    width: 100px;
  }
}
