/* =====================================================================
   PAGE SPA / HAMMAM — styles dédiés (complète styles.css)
   ===================================================================== */

/* — Hero — */
.hero--spa { height: 88vh; min-height: 600px; }
.hero--spa h1 em { color: color-mix(in oklch, var(--or) 75%, #fff); }
.spa-badge {
  display: inline-flex; align-items: center; gap: .7em;
  margin-top: 26px; padding: .6em 1.2em;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.spa-badge svg { width: 17px; height: 17px; stroke: var(--or); fill: none; }

/* — Promesse (bandeau sombre éditorial) — */
.spa-promise { background: var(--cedre); color: #fff; text-align: center; }
.spa-promise .wrap { max-width: 940px; }
.spa-promise .eyebrow { justify-content: center; color: var(--or); margin-bottom: 28px; }
.spa-promise .eyebrow::before { display: none; }
.spa-promise h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; color: #fff; margin-bottom: 30px; }
.spa-promise h2 em { font-style: italic; color: var(--or); }
.spa-promise p { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.8; color: rgba(255,255,255,.78); }
.spa-promise p + p { margin-top: 22px; }

/* — Galerie dynamique : showcase Ken Burns + vignettes — */
.spa-showcase { background: var(--blanc); }
/* Titres élargis : utilisent l'espace à droite */
.spa-showcase .section-head, .spa-benefits .section-head { align-items: flex-end; gap: clamp(30px, 5vw, 80px); }
.spa-showcase .section-head .sh-left, .spa-benefits .section-head .sh-left { max-width: none; flex: 1 1 60%; }
.spa-showcase .section-head .sh-left h2, .spa-benefits .section-head .sh-left h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 18ch; }
.spa-showcase .section-head .sh-right, .spa-benefits .section-head .sh-right { flex: 0 1 34ch; }
.showcase-stage {
  position: relative; width: 100%;
  height: clamp(420px, 60vh, 720px);
  overflow: hidden; border-radius: 3px;
  background: var(--cream-2);
}
.showcase-stage .sc-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.showcase-stage .sc-slide.active { opacity: 1; }
.showcase-stage .sc-slide image-slot { width: 100% !important; height: 100% !important; }
@media (prefers-reduced-motion: no-preference) {
  .showcase-stage .sc-slide.active image-slot { animation: kenburns 9s ease-out forwards; }
}
@keyframes kenburns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.14); }
}
.showcase-stage .sc-cap {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  padding: clamp(26px, 4vw, 50px);
  background: linear-gradient(0deg, rgba(20,14,6,.8), transparent);
  color: #fff; width: 100%;
  pointer-events: none;
}
.showcase-stage .sc-cap .k { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in oklch, var(--or) 80%, #fff); }
.showcase-stage .sc-cap h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-top: 8px; max-width: 22ch; }
.showcase-dots { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.showcase-dots button {
  width: 38px; height: 3px; border-radius: 2px; border: 0;
  background: var(--line); cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.showcase-dots button.active { background: var(--accent); transform: scaleY(2); }

/* Mosaïque animée (révélation + zoom survol) */
.spa-mosaic { background: var(--cream); }
.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 210px); gap: clamp(12px, 1.4vw, 20px); }
.mosaic-grid image-slot { width: 100% !important; height: 100% !important; border-radius: 2px; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mosaic-cell { overflow: hidden; border-radius: 2px; }
.mosaic-cell:hover image-slot { transform: scale(1.07); }
.m-wide { grid-column: span 2; }
.m-tall { grid-row: span 2; }
@media (max-width: 760px) { .mosaic-grid { grid-template-columns: repeat(2, 1fr); } }

/* — Bénéfices — */
.spa-benefits { background: var(--blanc); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.benefit {
  padding: clamp(26px, 2.6vw, 38px);
  background: var(--cream); border-radius: 3px;
  border: 1px solid var(--line-soft);
  transition: transform .4s ease, box-shadow .4s ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(44,31,14,.45); }
.benefit .bi {
  width: 56px; height: 56px; border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.benefit .bi svg { width: 27px; height: 27px; stroke: var(--accent); fill: none; }
.benefit h3 { font-size: 1.5rem; color: var(--emeraude); margin-bottom: 12px; }
.benefit p { font-size: .98rem; line-height: 1.65; color: var(--cedre-2); }

/* — Packs / tarifs — */
.spa-packs { background: var(--cedre); color: #fff; }
.spa-packs .section-head h2 { color: #fff; }
.spa-packs .section-head .sh-right { color: rgba(255,255,255,.7); }
.packs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 32px); align-items: stretch; }
.pack {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14); border-radius: 4px;
  padding: clamp(28px, 2.6vw, 40px);
  position: relative; transition: transform .4s ease, border-color .4s, background .4s;
}
.pack:hover { transform: translateY(-8px); border-color: rgba(181,146,76,.6); background: rgba(255,255,255,.06); }
.pack.featured { border-color: var(--or); background: rgba(181,146,76,.1); }
.pack .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--or); color: var(--cedre);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .55em 1.2em; border-radius: 999px; white-space: nowrap;
}
.pack .p-name { font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.pack .p-sub { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-top: 8px; }
.pack .p-price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; }
.pack .p-price .amt { font-family: var(--font-display); font-size: 3rem; color: #fff; line-height: 1; }
.pack .p-price .cur { font-size: 1.1rem; color: var(--or); }
.pack .p-for { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.pack .p-dur { display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.pack .p-dur svg { width: 16px; height: 16px; stroke: var(--or); fill: none; }
.pack ul { list-style: none; margin: 0 0 30px; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 13px; flex: 1; }
.pack ul li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; color: rgba(255,255,255,.82); }
.pack ul li svg { width: 17px; height: 17px; stroke: var(--or); fill: none; flex: none; margin-top: 3px; }
.pack .btn { width: 100%; justify-content: center; }
.pack.featured .btn { background: var(--or); border-color: var(--or); color: var(--cedre); }
.pack.featured .btn:hover { background: #fff; border-color: #fff; }

/* — CTA — */
.spa-cta { background: var(--ocre); color: var(--cedre); text-align: center; }
.spa-cta .wrap { max-width: 720px; }
.spa-cta .eyebrow { justify-content: center; color: var(--cedre); margin-bottom: 22px; }
.spa-cta .eyebrow::before { display: none; }
.spa-cta h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); color: var(--cedre); margin-bottom: 22px; }
.spa-cta p { color: rgba(44,31,14,.78); font-size: 1.08rem; margin-bottom: 36px; }
.spa-cta .btn.solid { background: var(--emeraude); border-color: var(--emeraude); color: #fff; }
.spa-cta .btn.solid:hover { background: var(--cedre); border-color: var(--cedre); }

/* — Responsive — */
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .packs-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .benefits-grid { grid-template-columns: 1fr; }
}
