/* ============================================
   BYA — Institut de beauté
   SECTIONS — blocs de contenu partagés entre les pages
   ============================================ */

.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kicker i {
  font-style: normal;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--bronze);
}

.kicker::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--bronze);
}

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.img-frame {
  position: relative;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 20px -16px -16px 20px;
  border: 1px solid var(--gold);
  z-index: -1;
  opacity: 0.75;
  transition: inset 0.6s var(--ease), opacity 0.6s;
}

.img-frame:hover::before {
  inset: 14px -20px -20px 14px;
  opacity: 1;
}

.img-portrait {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.img-portrait img {
  transition: transform 1.2s var(--ease);
}

.img-portrait:hover img {
  transform: scale(1.04);
}

.img-wide {
  aspect-ratio: 16/10;
  overflow: hidden;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--bronze);
  line-height: 1;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Signature quote strip */
.quote-band {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(139, 98, 68, 0.35), transparent 70%),
    linear-gradient(160deg, #2a1a12 0%, var(--espresso) 45%, #1a100c 100%);
  color: var(--ivory);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-band::before,
.quote-band::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

.quote-band::before { top: 36px; }
.quote-band::after { bottom: 36px; }

.quote-band .label {
  color: var(--gold-bright);
  margin-bottom: 22px;
  display: inline-block;
}

.quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.28;
  max-width: 880px;
  margin: 0 auto 22px;
  letter-spacing: -0.01em;
}

.quote-band cite {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  font-style: normal;
  color: var(--gold);
}

/* Ritual cards */
.rituals {
  display: grid;
  gap: 22px;
}

.ritual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
  border-radius: 2px;
}

.ritual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
  z-index: -1;
  filter: saturate(0.92);
}

.ritual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 23, 16, 0.08) 0%, rgba(36, 23, 16, 0.35) 45%, rgba(36, 23, 16, 0.82) 100%);
  z-index: 0;
  transition: background 0.7s var(--ease);
}

.ritual:hover img {
  transform: scale(1.1);
  filter: saturate(1.08);
}

.ritual:hover::after {
  background:
    linear-gradient(180deg, rgba(36, 23, 16, 0.05) 0%, rgba(36, 23, 16, 0.28) 40%, rgba(36, 23, 16, 0.78) 100%);
}

.ritual-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 440px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.6s var(--ease);
}

.ritual:hover .ritual-body {
  transform: translateY(-6px);
}

.ritual .num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: rgba(251, 246, 240, 0.28);
  transition: color 0.5s;
}

.ritual:hover .num {
  color: rgba(224, 199, 168, 0.55);
}

.ritual h3 {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ritual p {
  color: var(--sand);
  margin: 10px 0 18px;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Gallery mosaic (home preview) */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 12px;
}

.mosaic a,
.mosaic figure {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 100%;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
}

.mosaic a:hover img,
.mosaic figure:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.mosaic figcaption {
  position: absolute;
  inset: auto 12px 12px 12px;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.4s var(--ease);
}

.mosaic a:hover figcaption,
.mosaic figure:hover figcaption {
  opacity: 1;
  transform: none;
}

.tall { grid-row: span 2; min-height: 420px; }
.wide { grid-column: span 2; min-height: 240px; }

/* CTA band */
.cta-band {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.95);
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}

.cta-band:hover img {
  transform: scale(1.08);
}

.cta-band .inner {
  position: relative;
  z-index: 1;
  padding: 56px 24px;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  margin: 14px 0 22px;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

/* Page hero (inner pages: prestations, galerie, à propos, réservation) */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  background:
    radial-gradient(ellipse 90% 80% at 15% 0%, rgba(201, 168, 130, 0.22), transparent 55%),
    linear-gradient(180deg, #f0e6d8 0%, var(--ivory) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 480px;
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.ornament {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--bronze), transparent);
  margin: 26px 0 0;
  position: relative;
}

.ornament::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bronze);
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

@media (min-width: 720px) {
  .rituals {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .mosaic {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
  }

  .tall { grid-row: 1 / 3; min-height: auto; }
  .wide { grid-column: span 2; min-height: auto; }
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .split.reverse {
    grid-template-columns: 1fr 1fr;
  }

  .split.reverse .copy { order: 1; }

  .rituals {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }

  .hero-copy {
    padding: 0 24px 10vh;
  }
}
