/* ==========================================================================
   FOR HIM v1 — "a carga sai" (hefesto, sessão 52, 23/09/2026)
   Fonte: .scratch/produto-20260922/afrodite-for-him-v1.md
   Arquivo PRÓPRIO desta página (Vitor: "cada pagina tera um tema diferente,
   composicao diferente e cara propria") — prefixo "fh-" só existe aqui.
   Regra de composição (§1): tudo RETO (border-radius:0, exceção só o botão
   .sl-btn compartilhado), DUAS fases de campo (--umbra carga / --sala
   alívio) com UMA troca, peso que assenta (y negativo→0) na carga e alívio
   que sobe (y positivo→0) depois. Anima só transform/opacity.
========================================================================== */

:root {
  --fh-gap-dense: 48px;
  --fh-gap-dense-gutter: 16px;
  --fh-gap-open: 144px;
}
@media (max-width: 767px) {
  :root {
    --fh-gap-dense: 32px;
    --fh-gap-open: 64px;
  }
}

main > .fh-carga,
main > .fh-alivio { background-image: none; }

/* ==========================================================================
   .fh-carga — FASE 1: a carga (S0 hero + S1 pacotes), campo --umbra
========================================================================== */
.fh-carga {
  background-color: var(--umbra);
  color: var(--sala);
  position: relative;
  z-index: 2;
}

/* ---- S0 · hero ---- */
.fh-hero {
  padding-top: calc(var(--sl-nav-h, 72px) + 32px);
  padding-bottom: 0;
}
.fh-hero-head {
  padding: 0 20px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .fh-hero-head { padding: 0 160px; }
}
.fh-h1 {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 700;
  font-size: clamp(2.75rem, 1.4rem + 4.2vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--sala);
  max-width: 16ch;
  margin: 0 0 20px;
}
.fh-hero-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 900px) {
  .fh-hero-row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
  }
}
.fh-lead {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: var(--neblina);
  max-width: 38ch;
  margin: 0;
}
@media (min-width: 900px) {
  .fh-lead { font-size: 19px; }
}
.fh-hero-row .sl-btn { flex: none; }
@media (max-width: 767px) {
  .fh-hero-row .sl-btn { width: 100%; text-align: center; }
}

.fh-slab {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 21 / 9;
  background: var(--vela-soft);
}
@media (max-width: 767px) {
  .fh-slab { aspect-ratio: 3 / 2; }
}
.fh-slab video,
.fh-slab img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.fh-pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: none;
  background: rgba(45, 30, 24, 0.88);
  color: var(--sala);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.fh-pause:focus-visible { outline: 2px solid var(--iris-claro); outline-offset: 2px; }
.fh-pause svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- S1 · pacotes ---- */
.fh-packages {
  padding: var(--fh-gap-dense) 20px calc(var(--fh-gap-dense) + 8px);
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .fh-packages { padding-left: 160px; padding-right: 160px; }
}
.fh-packages-h2 {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--sala);
  margin: 0 0 24px;
}
@media (min-width: 900px) {
  .fh-packages-h2 { font-size: 32px; }
}
.fh-plates {
  display: flex;
  flex-direction: column;
  gap: var(--fh-gap-dense-gutter);
}
.fh-plate {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--vela-soft);
  border: none;
  border-radius: 0;
  padding: 24px;
  color: var(--sala);
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease;
}
@media (min-width: 900px) {
  .fh-plate {
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 32px;
    align-items: start;
  }
}
.fh-plate:hover,
.fh-plate:focus-visible { transform: translateY(2px); }
.fh-plate:active { transform: translateY(3px); }
.fh-plate:focus-visible { outline: 2px solid var(--iris-claro); outline-offset: 4px; }
.fh-plate:hover .fh-plate-price,
.fh-plate:focus-visible .fh-plate-price { color: var(--iris-claro); }

.fh-plate-name {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--sala);
}
@media (min-width: 900px) { .fh-plate-name { font-size: 40px; } }
.fh-plate-comp {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 16px;
  color: var(--neblina);
  margin: 0;
}
@media (min-width: 900px) {
  .fh-plate-comp { grid-row: 2; grid-column: 1; }
}
.fh-plate-name { grid-row: 1; grid-column: 1; }
.fh-plate-right {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}
@media (min-width: 900px) {
  .fh-plate-right {
    grid-row: 1 / 3;
    grid-column: 2;
    align-items: flex-end;
    margin-top: 0;
    text-align: right;
  }
}
.fh-plate-price {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 600;
  font-size: 36px;
  font-variant-numeric: tabular-nums;
  color: var(--sala);
  white-space: nowrap;
}
@media (min-width: 900px) { .fh-plate-price { font-size: 56px; } }
.fh-plate-save {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 15px;
  margin: 4px 0 0;
  color: var(--neblina);
}
.fh-plate-save b { color: var(--iris-claro); font-weight: 600; }

/* ==========================================================================
   .fh-alivio — FASE 2: o alívio, campo --sala (do S2 ao fecho)
========================================================================== */
.fh-alivio { background-color: var(--sala); color: var(--tinta); }

.fh-relief {
  padding: 64px 20px;
  text-align: left;
}
@media (min-width: 900px) {
  .fh-relief { padding: 96px 160px 64px; }
}
.fh-relief-h2 {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  color: var(--tinta);
  margin: 0;
  max-width: 20ch;
}

/* ---- S3 · tratamentos ---- */
.fh-treatments {
  padding: var(--fh-gap-open) 20px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .fh-treatments { padding: var(--fh-gap-open) 160px; }
}
.fh-treatments-h2 {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--tinta);
  margin: 0 0 40px;
  max-width: 22ch;
}
@media (min-width: 900px) { .fh-treatments-h2 { font-size: 44px; } }

.fh-zone { margin-bottom: 40px; }
.fh-zone:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .fh-zone {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
  }
}
.fh-zone-label {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
  margin: 0 0 16px;
  text-transform: none;
}
.fh-zone-media {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) {
  .fh-zone-media { aspect-ratio: 16 / 9; margin-bottom: 0; }
}
.fh-zone-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.fh-rows { display: flex; flex-direction: column; }
.fh-row {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 40px;
  font: inherit;
  color: var(--tinta);
  cursor: pointer;
  min-height: 72px;
}
@media (min-width: 900px) { .fh-row { min-height: 88px; } }
.fh-row:last-child { margin-bottom: 0; }
.fh-row:focus-visible { outline: 2px solid var(--iris); outline-offset: 4px; }

.fh-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
@media (min-width: 900px) {
  .fh-row-top { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 24px; }
}
.fh-row-name {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--tinta);
  margin: 0;
}
@media (min-width: 900px) { .fh-row-name { font-size: 30px; } }
.fh-row-min {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-weight: 500;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--tinta-suave);
  white-space: nowrap;
}
.fh-row-price {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-weight: 500;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--tinta);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fh-row-arrow { opacity: 0; transition: opacity 0.2s, transform 0.2s; transform: translateX(-6px); color: var(--iris); }
.fh-row:hover .fh-row-price,
.fh-row:focus-visible .fh-row-price { color: var(--iris); }
.fh-row:hover .fh-row-arrow,
.fh-row:focus-visible .fh-row-arrow { opacity: 1; transform: translateX(0); }
.fh-row-desc {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 16px;
  color: var(--tinta-suave);
  margin: 8px 0 0;
  max-width: 60ch;
}
.fh-ruler {
  display: block;
  height: 2px;
  background: var(--tinta-suave);
  margin-top: 16px;
  transform-origin: 0 50%;
  max-width: 100%;
}

/* ---- S4 · perguntas ---- */
.fh-faq {
  padding: var(--fh-gap-open) 20px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .fh-faq { padding: var(--fh-gap-open) 160px; }
}
.fh-faq-h2 {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--tinta);
  margin: 0 0 40px;
}
@media (min-width: 900px) { .fh-faq-h2 { font-size: 44px; } }
.fh-faq-item {
  display: block;
  margin-bottom: 48px;
}
.fh-faq-item:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .fh-faq-item { display: grid; grid-template-columns: 400px 1fr; gap: 40px; margin-bottom: 64px; }
}
.fh-faq-q {
  font-family: var(--font-display, "Bricolage Grotesque", serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--tinta);
  max-width: 22ch;
  margin: 0 0 12px;
}
@media (min-width: 900px) { .fh-faq-q { font-size: 24px; margin: 0; } }
.fh-faq-a {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 17px;
  color: var(--tinta-suave);
  max-width: 60ch;
  margin: 0;
}

/* ---- S5 · fecho vive em .sl-closing (compartilhado); sem override de tema aqui ---- */

/* ==========================================================================
   Barra fixa 390 (K) — troca de estilo conforme o campo sob ela
========================================================================== */
.mobile-sticky-cta.fh-cta-dark .contact-chip.is-primary {
  background: var(--iris-claro);
  color: var(--umbra);
}
body.fh-contact-in-view .mobile-sticky-cta { transform: translateY(110%); }

/* ==========================================================================
   prefers-reduced-motion — estado final estático, sem transform residual
========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .fh-h1, .fh-lead, .fh-hero-row .sl-btn, .fh-slab, .fh-plate,
  .fh-relief-h2, .fh-zone, .fh-row, .fh-faq-item { opacity: 1 !important; transform: none !important; }
  .fh-ruler { transform: none !important; }
}
