/* ==========================================================
   Home
   ========================================================== */

/* ---------- 1. Boas vindas: o ritual de frente para o mar ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.hero-text {
  grid-column: 1 / span 6;
  align-self: center;
  padding-top: clamp(32px, 6vh, 72px);
  padding-bottom: clamp(40px, 8vh, 96px);
  padding-right: 0;
}
.hero-tag { color: var(--ink-soft); }
@media (max-width: 1199px) {
  .hero-tag > .bar { display: none; }
  .hero-tag > .nw { display: block; }
}
.hero-name {
  margin-top: 22px;
  font-size: clamp(3.4rem, 7.2vw, 7.25rem);
  line-height: .95;
  letter-spacing: -.015em;
}
.hero-welcome {
  margin-top: clamp(24px, 3.4vh, 36px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  line-height: 1.25;
  color: var(--rose);
}
.hero-lead { margin-top: 14px; max-width: 30em; }
.hero-actions {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.hero-more { font-size: .9375rem; }
.hero-photo {
  grid-column: 7 / -1;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.js .hero-photo img { animation: revelar 1.4s var(--ease) both; }
@keyframes revelar { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.js .hero-text > * { animation: surgir .9s var(--ease) both; }
.js .hero-text > :nth-child(2) { animation-delay: .08s; }
.js .hero-text > :nth-child(3) { animation-delay: .16s; }
.js .hero-text > :nth-child(4) { animation-delay: .22s; }
.js .hero-text > :nth-child(5) { animation-delay: .28s; }
@keyframes surgir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Celular: a primeira tela cabe na área visível (svh = altura com a barra do
   navegador aparente). Foto em cima, nome e botão embaixo, tudo encolhe junto. */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; }
  .hero-photo { order: -1; flex: none; height: 40svh; min-height: 200px; }
  .hero-photo img { object-position: 50% 30%; }
  .hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(16px, 2.6svh, 28px);
    padding-bottom: calc(clamp(16px, 3svh, 28px) + env(safe-area-inset-bottom));
    padding-right: var(--gutter);
  }
  .hero-tag { font-size: .6875rem; letter-spacing: .22em; line-height: 1.8; }
  .hero-name { margin-top: clamp(8px, 1.4svh, 14px); font-size: clamp(2.5rem, min(6.6svh, 12vw), 3.5rem); }
  .hero-welcome { margin-top: clamp(10px, 1.8svh, 18px); font-size: clamp(1.125rem, 2.8svh, 1.375rem); }
  .hero-lead, .hero-more { display: none; }
  .hero-actions { margin-top: clamp(14px, 2.6svh, 26px); }
  .hero-actions .btn { width: 100%; min-height: clamp(48px, 7svh, 56px); }
}

/* ---------- 2. Home Spa ---------- */

.homespa { padding-top: var(--section); }

.homespa-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: center;
}
.homespa-photo {
  grid-column: 1 / span 5;
  margin-left: calc(var(--gutter) * -1);
}
.homespa-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 40%;
}
.homespa-text { grid-column: 7 / span 6; }
.homespa-text h2 {
  font-size: var(--h2);
  max-width: 9.5em;
}
.homespa-text .lead { margin-top: clamp(24px, 3vw, 40px); }

@media (max-width: 899px) {
  .homespa { padding-top: clamp(56px, 12vw, 88px); }
  .homespa-photo { grid-column: 1 / -1; margin-right: calc(var(--gutter) * -1); }
  .homespa-photo img { aspect-ratio: 4 / 5; }
  .homespa-text { grid-column: 1 / -1; margin-top: 44px; }
}

/* Bairros: lista discreta, como uma agenda de endereços */
.bairros { margin-top: clamp(36px, 4vw, 56px); }
.bairros-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--rose);
}
.bairros-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 36px);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 1200px) { .bairros-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bairros-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 10px 0 9px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}
.bairros-list .arrow {
  font-family: var(--sans);
  font-size: .875rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.bairros-list a:hover,
.bairros-list a:focus-visible { color: var(--rose); }
.bairros-list a:hover .arrow,
.bairros-list a:focus-visible .arrow { opacity: 1; transform: none; }
@media (hover: none) { .bairros-list .arrow { opacity: .35; transform: none; } }
.bairros-hint { margin-top: 12px; color: var(--ink-soft); font-size: .875rem; }

/* ---------- 3. Técnicas ---------- */

.tecnicas { padding-top: var(--section); }

.tec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 20px;
  align-items: end;
}
.tec-head h2 {
  grid-column: 1 / span 8;
  font-size: var(--h2);
  line-height: 1;
  letter-spacing: -.01em;
}
.tec-head .lead { grid-column: 9 / span 4; padding-bottom: .6em; }
@media (max-width: 899px) {
  .tec-head h2, .tec-head .lead { grid-column: 1 / -1; }
}

.chooser {
  margin-top: clamp(40px, 5vw, 72px);
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.chooser .caps { color: var(--ink-soft); }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  font-size: .9375rem;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chooser-result {
  margin-top: 14px;
  min-height: 1.6em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}
.chooser-result:empty { display: none; }

.tec-layout { margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 1024px) {
  .tec-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2vw, 32px);
    align-items: start;
  }
  .tec-list { grid-column: 1 / span 7; }
  .tec-panel {
    grid-column: 9 / span 4;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    margin-top: 58px;
  }
}
@media (max-width: 1023px) { .tec-panel { display: none; } }

.tec-group {
  margin-top: clamp(40px, 5vw, 64px);
  padding-bottom: 12px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-strong);
}
.tec-group:first-child { margin-top: 0; }

.tec { transition: opacity 420ms var(--ease); }
.tec.is-dim { opacity: .26; }
.tec.is-dim:hover, .tec.is-dim:focus-within { opacity: .7; }

.tec-row {
  width: 100%;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
  padding: clamp(14px, 1.6vw, 20px) 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  text-align: left;
}
.tec-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: color var(--fast) var(--ease);
}
.tec-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.375rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  transition: color var(--fast) var(--ease);
}
.tec-time {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.tec-time .bar { margin: 0 .5em; }
.tec-row:hover .tec-name { color: var(--rose); }
.tec.is-active .tec-name,
.tec.is-open .tec-name { color: var(--rose); }
.tec.is-active .tec-num,
.tec.is-open .tec-num,
.tec.is-match .tec-num { color: var(--rose); }

/* Detalhe da técnica (inline no celular, clonado no painel no desktop) */
.tec-detail { padding: 8px 0 36px 2.6em; }
.js .tec-detail { display: none; }
.js .tec.is-open .tec-detail { display: block; animation: abrir 520ms var(--ease) both; }
@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) {
  .js .tec.is-open .tec-detail { display: none; }
}
@media (max-width: 599px) {
  .tec-row { grid-template-columns: 2em minmax(0, 1fr); }
  .tec-time { grid-column: 2; margin-top: 4px; }
  .tec-detail { padding-left: 0; }
}

.tec-how {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
}
.tec-facts { margin: 22px 0 0; }
.tec-facts div + div { margin-top: 16px; }
.tec-facts dt { color: var(--ink-soft); font-size: .6875rem; }
.tec-facts dd { margin: 4px 0 0; }
.tec-compare {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--paper-deep);
  font-size: .9375rem;
  line-height: 1.55;
}
.tec-compare strong { font-weight: 500; }

.tec-prices { margin: 24px 0 0; border-top: 1px solid var(--rule); }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.price-row dt { font-family: var(--serif); font-size: 1.375rem; }
.price-row dd { margin: 0; text-align: right; }
.price-row .valor { font-family: var(--serif); font-size: 1.375rem; }
.price-row .consulta { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.price-row small { display: block; font-size: .8125rem; color: var(--ink-soft); }
.tec-cta { margin-top: 26px; }
@media (max-width: 599px) { .tec-cta { width: 100%; } }

/* Painel: um cartão, como o da Paloma */
.tec-card {
  position: relative;
  padding: clamp(28px, 2.6vw, 44px);
  background: var(--paper-hi);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(36,27,39,.04), 0 24px 48px -32px rgba(36,27,39,.28);
}
.tec-card .card-kicker { color: var(--ink-soft); }
.tec-card .card-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1.05;
}
.tec-card .tec-detail { display: block !important; padding: 0; margin-top: 18px; }
.tec-card.is-swapping { animation: trocar 460ms var(--ease) both; }
@keyframes trocar { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 4. Resultados ---------- */

.resultados { padding-top: var(--section); }
.res-head h2 { font-size: var(--h2); line-height: 1; letter-spacing: -.01em; }
.res-head .lead { margin-top: clamp(14px, 1.6vw, 22px); max-width: 30em; }

.res-grid {
  margin-top: clamp(40px, 5vw, 72px);
  max-width: 1240px;
  display: grid;
  /* colunas proporcionais ao formato de cada par: os três ficam com a mesma altura */
  grid-template-columns: .889fr 1.098fr .891fr;
  column-gap: clamp(16px, 2.2vw, 32px);
  row-gap: 32px;
  align-items: start;
}
.pair { display: grid; gap: 6px; }
.pair--side { grid-template-columns: 1fr 1fr; }
@media (max-width: 899px) {
  .res-grid { grid-template-columns: 1fr; }
}
.shot { position: relative; background: var(--paper-deep); }
.shot img { width: 100%; }
.tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 9px 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: .625rem;
  letter-spacing: .22em;
}

/* ---------- 5. Quem já recebeu ---------- */

.clientes {
  margin-top: var(--section);
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--on-ink);
}
.clientes :focus-visible { outline-color: var(--rose-light); }
.cli-title { font-size: var(--h2); line-height: 1; letter-spacing: -.01em; }
.cli-names {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  line-height: 1.35;
  color: var(--rose-light);
}
.cli-names { --sep-gap: .5em; }
.cli-names > li::before { background: var(--on-ink); opacity: .3; }

.cli-grid {
  margin-top: clamp(64px, 9vw, 136px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 56px;
  align-items: center;
}
.cli-video { grid-column: 1 / span 4; }
.cli-video video { width: 100%; aspect-ratio: 440 / 726; object-fit: cover; background: #120d14; }
.cli-video figcaption { margin-top: 12px; color: var(--on-ink-soft); }
.cli-quotes { grid-column: 6 / span 7; }
.quote + .quote { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(247,236,239,.14); }
.quote p { font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.25; }
.quote--lg p { font-size: clamp(1.75rem, 2.8vw, 2.75rem); line-height: 1.15; }
.quote footer { margin-top: 18px; color: var(--on-ink-soft); }
.quote cite { font-style: normal; color: var(--on-ink); }
@media (max-width: 899px) {
  .cli-video { grid-column: 1 / -1; max-width: 420px; }
  .cli-quotes { grid-column: 1 / -1; }
}

/* ---------- 6. Quem cuida de você ---------- */

.sobre {
  padding-top: var(--section);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 44px;
  align-items: end;
}
.sobre-text { grid-column: 1 / span 6; grid-row: 1; }
.sobre-photo { grid-column: 9 / span 4; grid-row: 1; margin-right: calc(var(--gutter) * -1); }
/* retrato de corpo inteiro: formato vertical, sem cortar cabeça nem pés */
.sobre-photo img { width: 100%; max-height: 88svh; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; }
.sobre-text h2 { font-size: var(--h2); }
.sobre-text .lead { margin-top: clamp(24px, 3vw, 40px); color: var(--ink); }
.sobre-text p + p { margin-top: 18px; }
.sobre-text > p:not(.lead):not(.sobre-motto) { max-width: 34em; color: var(--ink-soft); }
.sobre-motto {
  margin-top: clamp(40px, 5vw, 72px) !important;
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.875rem);
  line-height: 1.1;
  color: var(--rose);
  max-width: 11em;
}
@media (max-width: 899px) {
  .sobre-photo { grid-column: 1 / -1; grid-row: 1; margin-left: calc(var(--gutter) * -1); }
  .sobre-text { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- 7. Agendar ---------- */

.agendar-cta { padding: var(--section) 0; }
.agendar-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 56px;
  align-items: center;
}
.ag-text { grid-column: 1 / span 7; }
.ag-text h2 { font-size: var(--h2); line-height: 1; letter-spacing: -.01em; }
.steps {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.steps li { padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.step-n {
  display: block;
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--rose);
}
.steps p { margin-top: 12px; font-size: 1rem; }
.ag-actions { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.ag-alt { color: var(--ink-soft); font-size: .9375rem; }
.ag-photo { grid-column: 9 / span 4; margin-right: calc(var(--gutter) * -1); }
.ag-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 899px) {
  .agendar-grid { row-gap: 40px; }
  .ag-text, .ag-photo { grid-column: 1 / -1; }
  /* no celular a foto abre a seção, de borda a borda, com o monograma PB em destaque */
  .ag-photo { grid-row: 1; margin-left: calc(var(--gutter) * -1); }
  .ag-photo img { aspect-ratio: 4 / 3; object-position: 50% 10%; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 2.2em 1fr; align-items: baseline; padding: 16px 0; }
  .steps p { margin-top: 0; }
  .step-n { font-size: 1.75rem; }
  .ag-actions .btn { width: 100%; }
}

/* Espaço para a barra fixa no celular */
@media (max-width: 899px) { .site-footer { padding-bottom: 104px; } }
