/* ─────────────────────────────────────────────────────────
   spa-card.css — card de experiência compartilhado
   Usado em index.html e reservar.html

   v7 — Sem overlay verde sobre a foto. Ícone + nome + descrição
        centralizados no banner. "Incluso na experiência X" vira
        uma aba verde-escura entre o banner e a esteira de rituais,
        que também é verde-escura. Sem body/CTA abaixo.
───────────────────────────────────────────────────────── */

.spa-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--ink, #2A2420);
  border: 1px solid var(--ink, #2A2420);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  color: var(--cream, #FAF7F2);
}
.spa-card:hover {
  box-shadow: 0 12px 40px rgba(42,36,32,0.24);
  transform: translateY(-3px);
}

/* ── Banner ──
   margin-bottom forte pra foto filtrada vazar atrás da aba/esteira —
   qualquer subpixel de hover fica coberto pela seção ink de baixo. */
.spa-card-banner {
  height: 340px;
  margin-bottom: -40px;
  overflow: hidden;
  position: relative;
  background: var(--ink, #2A2420);   /* match card bg exatamente */
  flex-shrink: 0;
}
.spa-card-banner img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transform-origin: center center;
  backface-visibility: hidden;
  filter: saturate(0.75) brightness(0.92);
  transition: filter 0.3s ease, transform 0.5s ease;
}
.spa-card:hover .spa-card-banner img {
  filter: saturate(0.85) brightness(0.96);
  transform: scale(1.06);
}
/* Grain analógico monocromático, leve */
.spa-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.85 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* Overlay de leitura — só uma sombra radial no centro pro nome/descrição ler.
   Sem gradiente de base: evitava criar uma listra escura logo acima da aba. */
.spa-card-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0) 85%);
}

/* ── Ícone + nome (Wandery) + descrição, tudo centralizado ── */
.spa-card-banner-center {
  position: absolute;
  inset: 0;
  padding: 24px 32px 56px;
  z-index: 3;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;                 /* nome colado embaixo do ícone */
  text-align: center;
  pointer-events: none;
}
.spa-card-icon {
  width: auto;
  height: 146px;            /* +30% sobre 112 */
  max-width: 76%;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55));
  transition: transform 0.25s ease;
}
.spa-card:hover .spa-card-icon {
  transform: scale(1.04);
}
.spa-card-icon img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}
.spa-card-name {
  display: block;
  font-family: 'Wandery', 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400;
  color: var(--cream, #FAF7F2);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
  margin: 0;
  max-width: 100%;
  word-break: break-word;
}
/* Descrição dentro do banner, embaixo do nome — em cream e largura máx 400px */
.spa-card-banner-center .spa-card-desc {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--cream, #FAF7F2);
  line-height: 1.55;
  text-align: center;
  max-width: 400px;
  width: 100%;
  margin: 6px auto 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Nome também respeita os 400px pra alinhar com a descrição */
.spa-card-name {
  max-width: 400px;
}

/* ── Duração + preço como etiqueta preta no canto superior direito ── */
.spa-card-banner-meta {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  isolation: isolate;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  background: var(--ink, #2A2420);
  color: var(--cream, #FAF7F2);
  font-family: 'Jost', sans-serif;
}
.spa-card-duration {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.95;
}
.spa-card-banner-meta::before {
  content: '·';
  opacity: 0.5;
  font-size: 0.8rem;
  line-height: 1;
  margin: 0 -2px;
  order: 1;
}
.spa-card-duration { order: 0; }
.spa-card-banner-price { order: 2; }
.spa-card-banner-meta:has(> :only-child)::before { display: none; }
.spa-card-banner-price {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

/* ── Aba "Incluso na experiência X:" ──
   Auto-width alinhada à esquerda, mesmo ink da esteira embaixo. */
/* ── Rótulo "Incluso na experiência X:" ──
   Fica como uma aba visual em cima da esteira. Não é mais interativa
   (acordeão removido). */
.spa-card-rituals-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0 0 -1px 0;
  padding: 9px 16px;
  background: var(--ink, #2A2420);
  border: none;
  appearance: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream, #FAF7F2);
  position: relative;
  z-index: 2;
  pointer-events: none;       /* clicar nela passa pro card */
}

/* ── Esteira de rituais (sempre visível, sem acordeão) ── */
.spa-card-rituals {
  background: var(--ink, #2A2420);
  margin-top: -3px;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}
.spa-card-rituals-inner {
  background: var(--ink, #2A2420);
}
.spa-card-rituals-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.spa-card-rituals-track::-webkit-scrollbar { display: none; }

.spa-card-ritual-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: 104px;
  padding: 8px 6px;
  border-radius: 2px;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.72);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
/* Ritual com conteúdo extra (vídeo / foto / descrição) — clicável,
   ganha um quadradinho de highlight no hover indicando que abre "Saber mais". */
.spa-card-ritual-item.has-detail { cursor: pointer; }
.spa-card-ritual-item.has-detail:hover {
  background: rgba(250, 247, 242, 0.1);
  color: var(--cream, #FAF7F2);
  box-shadow: 0 0 0 1px rgba(250, 247, 242, 0.12) inset;
}
.spa-card-ritual-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  color: rgba(250, 247, 242, 0.88);
}
.spa-card-ritual-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.spa-card-ritual-label {
  line-height: 1.25;
  /* Deixa o nome quebrar em até 2 linhas (antes era nowrap e estourava a
     largura do chip), mas nunca no meio de uma palavra. */
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
}
/* Etiqueta "trocável" — slot de grupo de substituição. Sinaliza que o ritual
   exibido é o padrão e pode ser trocado por outro do grupo (clique abre a lista). */
.spa-card-ritual-swap {
  display: inline-block;
  margin-top: 1px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--sage, #7A8C72);
  color: var(--cream, #FAF7F2);
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── Legado — body/footer antigos não são mais renderizados, mas
      deixamos as regras silenciadas caso sobre algum card cacheado. ── */
.spa-card-body,
.spa-card-footer,
.spa-card-cta,
.spa-card-price { display: none; }
