/* =========================================================
   SITE ESTÉTICA — Design System
   Baseado na hierarquia/diagramação da referência aprovada
   ---------------------------------------------------------
   Sumário:
   01. Tokens (cores, tipografia, espaçamento)
   02. Reset e base
   03. Tipografia e utilitários
   04. Botões e links com seta
   05. Header + Menu overlay
   06. Hero
   07. Seção Propósito
   08. Seções Split (imagem + texto) com palavra de fundo
   09. Grid de tratamentos (página interna)
   09b. Páginas de detalhe (tratamento / tecnologia)
   10. Faixa CTA
   11. Contato
   12. Footer
   13. Animações de entrada
   14. Página /links (estilo linktree)
   15. Responsivo
   ========================================================= */

/* ---------- 01. TOKENS ---------- */
:root {
  /* Cores */
  --brown:        #483D39;   /* marrom principal (títulos, footer) */
  --brown-deep:   #3F3532;   /* marrom escuro (faixas) */
  --gold:         #C9AE83;   /* dourado de destaque */
  --gold-soft:    #D3C09F;   /* dourado claro (logo, labels) */
  --cream:        #F6F2EA;   /* fundo creme base */
  --cream-2:      #EFE8DC;   /* creme mais fechado (marca d'água) */
  --cream-3:      #F0EADF;   /* creme intermediário */
  --ink:          #333333;   /* texto corrido */
  --ink-soft:     #6B625E;   /* texto secundário */
  --white:        #FFFFFF;
  --line:         rgba(72, 61, 57, .16);
  --line-soft:    rgba(72, 61, 57, .09);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Marcellus', Georgia, serif;
  --font-brand:   'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Poppins', -apple-system, 'Segoe UI', sans-serif;

  /* Escala tipográfica fluida */
  --fs-hero:    clamp(2.6rem, 1.4rem + 3.4vw, 4.6rem);
  --fs-h2:      clamp(2.1rem, 1.3rem + 2.4vw, 3.5rem);
  --fs-h3:      clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  --fs-lead:    clamp(1.15rem, 1rem + .55vw, 1.5rem);
  --fs-body:    clamp(.95rem, .9rem + .18vw, 1.05rem);
  --fs-label:   .75rem;

  /* Layout */
  --container:  1400px;
  --gutter:     clamp(1.5rem, 5vw, 5.5rem);
  --section-y:  clamp(5rem, 9vw, 9.5rem);
  --header-h:   96px;

  /* Movimento */
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --dur:        .55s;
}

/* ---------- 02. RESET E BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold-soft); color: var(--brown); }

/* Foco visível e acessível */
:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brown); color: var(--cream);
  padding: .75rem 1.25rem; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 03. TIPOGRAFIA E UTILITÁRIOS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 900px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--brown);
  margin: 0;
  line-height: 1.14;
  letter-spacing: -.005em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  font-weight: 200;
  line-height: 1.5;
  color: var(--brown);
}

.text-muted { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--tint  { background: var(--cream-3); }

.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* Monograma "KS" — tipográfico, na fonte da marca. */
.monogram {
  display: block;
  font-family: var(--font-brand);
  font-size: 2.4rem;
  letter-spacing: .1em;
  color: var(--gold-soft);
  line-height: 1;
}

/* Palavra gigante de fundo (marca d'água tipográfica) */
.bgword {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4.5rem, 12vw, 12.5rem);
  line-height: .8;
  color: var(--cream-2);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: .85;
}
.bgword--top-right { top: -.3em; right: calc(var(--gutter) * -.4); }
.bgword--top-left  { top: -.3em; left: calc(var(--gutter) * -.4); }
.section--white .bgword { color: #F4EFE5; }

/* ---------- 04. BOTÕES E LINKS COM SETA ---------- */
.btn,
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.arrow-link { color: var(--brown); padding-block: .35rem; }
.arrow-link .arrow,
.btn .arrow { transition: transform var(--dur) var(--ease); }
.arrow-link:hover { color: var(--gold); }
.arrow-link:hover .arrow,
.btn:hover .arrow { transform: translateX(6px); }

/* sublinhado que cresce */
.arrow-link--underline { position: relative; }
.arrow-link--underline::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.arrow-link--underline:hover::after { width: calc(100% - 1.6rem); }

.btn {
  padding: 1.1rem 1.9rem;
  border: 1px solid var(--line);
  color: var(--brown);
  background: transparent;
}
.btn:hover { border-color: var(--brown); background: var(--brown); color: var(--cream); }

.btn--gold { border-color: var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-deep); }

.btn--solid { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.btn--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-deep); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- 05. HEADER + MENU OVERLAY ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-stuck {
  background: rgba(246, 242, 234, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-soft);
  height: 74px;
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

/* Botão MENU */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
  justify-self: start;
}
.menu-toggle__bars { display: grid; gap: 4px; width: 22px; }
.menu-toggle__bars span {
  display: block; height: 1px; background: var(--brown);
  transition: transform .35s var(--ease), opacity .35s var(--ease), width .35s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { width: 22px; }
.menu-toggle__bars span:nth-child(2) { width: 15px; }
.menu-toggle:hover .menu-toggle__bars span:nth-child(2) { width: 22px; }

/* Logo tipográfico. O nome vem primeiro no HTML e o "Clinic" embaixo, como
   descritor — é a ordem de leitura da marca. Ver README, "Nome e marca". */
.brand {
  justify-self: center;
  text-align: center;
  line-height: 1;
  color: var(--gold);
}
.brand__name {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-left: .16em;
  white-space: nowrap;
}
.brand__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 300;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin-top: .34rem;
  padding-left: .42em;
}
.header.is-stuck .brand__name { font-size: 1.45rem; }

.header__cta { justify-self: end; }
@media (max-width: 860px) { .header__cta { display: none; } }

/* Overlay de navegação */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--brown);
  color: var(--cream);
  display: grid;
  grid-template-rows: var(--header-h) 1fr auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  overflow-y: auto;
}
.nav-overlay.is-open { clip-path: inset(0 0 0 0); }

.nav-overlay__bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); width: 100%; margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-overlay .brand { color: var(--gold-soft); justify-self: auto; }

.nav-close {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream);
}
.nav-close svg { transition: transform .4s var(--ease); }
.nav-close:hover svg { transform: rotate(90deg); }

.nav-list {
  list-style: none;
  margin: 0;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter);
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  align-self: center;
}
.nav-list li { border-bottom: 1px solid rgba(246, 242, 234, .12); }
.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: clamp(.7rem, 1.6vh, 1.3rem) 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 300;
  color: var(--cream);
  transition: color .4s var(--ease), padding-left .4s var(--ease);
}
.nav-list a:hover { color: var(--gold-soft); padding-left: 1.2rem; }
.nav-list .idx {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--gold);
}

.nav-foot {
  padding: 0 var(--gutter) clamp(2rem, 5vh, 3.5rem);
  max-width: var(--container); width: 100%; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1.2rem 3rem;
  font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(246, 242, 234, .65);
}
.nav-foot a:hover { color: var(--gold-soft); }

/* ---------- 06. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  background: var(--cream);
}

/* monograma gigante de fundo */
.hero__mono {
  position: absolute;
  left: -.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-brand);
  font-size: clamp(13rem, 27vw, 26rem);
  letter-spacing: -.02em;
  line-height: .78;
  color: var(--cream-2);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* foto à direita, sangrando na borda */
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  z-index: 0;
  overflow: hidden;
}
/* A referência usava P&B, mas as fotos da Katiane são quentes e claras — em
   preto e branco a foto sumia no fundo creme. Ficou colorida, com uma
   dessaturação leve só para não brigar com a paleta. Para voltar ao P&B:
   filter: grayscale(100%) contrast(.95). */
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(.9) contrast(1.02);
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(246, 242, 234, .45) 34%, rgba(246, 242, 234, 0) 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__title { margin-bottom: 2.4rem; }
.hero__title em { font-style: italic; color: var(--gold); }

/* Grid de tratamentos do hero */
.treat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(246, 242, 234, .38);
  backdrop-filter: blur(3px);
}
.treat-grid__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 104px;
  padding: 1.4rem 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--brown);
  font-size: clamp(.95rem, .9rem + .2vw, 1.12rem);
  font-weight: 300;
  line-height: 1.25;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.treat-grid__item:hover { background: var(--brown); color: var(--cream); }
.treat-grid__item .arrow { flex: none; transition: transform var(--dur) var(--ease); }
.treat-grid__item:hover .arrow { transform: translateX(6px); }

/* ---------- 07. SEÇÃO PROPÓSITO ---------- */
.purpose {
  text-align: center;
  padding-block: clamp(5rem, 11vw, 11rem);
  background: var(--cream);
}
.purpose__mono { font-size: 3rem; margin-bottom: 2.2rem; }
.purpose__text {
  max-width: 25ch;
  margin-inline: auto;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.85rem);
  font-weight: 200;
  line-height: 1.42;
  color: var(--brown);
}

/* ---------- 08. SEÇÕES SPLIT ---------- */
.split { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 8rem); }

.split__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}
.split--reverse .split__figure { order: 2; }

.split__figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}
.split__figure img {
  object-position: 50% 22%;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__figure:hover img { transform: scale(1.04); }

.split__body { max-width: 46ch; }
.split__body h2 { margin-bottom: 1.6rem; }
.split__body p { color: var(--ink); }
.split__body .btn { margin-top: 1.4rem; }

/* Lista de destaques (números / diferenciais) */
.facts {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: baseline; }
.facts .facts__num {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--gold);
}
.facts strong { display: block; font-weight: 400; color: var(--brown); }
.facts span { color: var(--ink-soft); }

/* ---------- 09. GRID DE TRATAMENTOS (PÁGINA INTERNA) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card:hover { background: var(--white); }
.card__index {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  color: var(--gold);
}
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card ul {
  list-style: none; margin: .4rem 0 0; padding: 0;
  display: grid; gap: .45rem;
  font-size: .9rem; color: var(--ink-soft);
}
.card ul li { position: relative; padding-left: 1.1rem; }
.card ul li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 1px; background: var(--gold);
}
.card .arrow-link { margin-top: auto; padding-top: 1.4rem; }

/* Galeria simples */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.25rem);
}
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--cream-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* Cabeçalho de página interna */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.page-head__inner { position: relative; z-index: 1; max-width: 60ch; }
/* a palavra de fundo não deve encostar no header */
.page-head .bgword { top: calc(var(--header-h) * .55); }
.page-head .lead { margin-top: 1.6rem; }

.breadcrumb {
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---------- 09b. PÁGINAS DE DETALHE (tratamento / tecnologia) ---------- */
.detalhe { display: grid; gap: clamp(2.8rem, 6vw, 4.5rem); }

.detalhe__bloco h2 {
  font-size: var(--fs-h3);
  padding-bottom: 1.1rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.detalhe__bloco h3 {
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 1rem;
}
.detalhe__bloco h3:first-child { margin-top: 0; }
.detalhe__bloco .lead { margin-bottom: 1.8rem; }

/* lista com o traço dourado no lugar do marcador */
.lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.lista li { position: relative; padding-left: 1.5rem; }
.lista li::before {
  content: '';
  position: absolute; left: 0; top: .78em;
  width: 8px; height: 1px; background: var(--gold);
}
.lista strong { font-weight: 400; color: var(--brown); }

/* foto de produto dentro de um bloco (ex.: Exo.coll no rejuvenescimento) */
.detalhe__figura {
  margin: 0 auto 2.2rem;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}
.detalhe__figura img { width: 100%; height: 100%; object-fit: cover; }

/* slide 16:9 do fabricante (ex.: vantagens e programa do MPT Peptide Booster).
   object-fit: contain porque o texto do slide chega perto das bordas e não
   pode ser cortado. O fundo escuro é o do próprio material. */
.detalhe__slide {
  position: relative;
  margin: 2.4rem 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #2D2D30;
}
.detalhe__slide img { width: 100%; height: 100%; object-fit: contain; }

/* Botão que abre o slide em tela cheia. Cobre a figura inteira — clicar em
   qualquer ponto amplia — e mostra o rótulo no canto. */
.detalhe__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: .9rem;
  cursor: zoom-in;
}
.detalhe__zoom__rotulo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  background: rgba(45, 45, 48, .74);
  border: 1px solid rgba(246, 242, 234, .3);
  color: var(--cream);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.detalhe__zoom:hover .detalhe__zoom__rotulo,
.detalhe__zoom:focus-visible .detalhe__zoom__rotulo {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-deep);
}

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); }

/* ---------- 10. FAIXA CTA ---------- */
.cta-band {
  background: var(--brown-deep);
  color: var(--cream);
  padding-block: clamp(4rem, 8vw, 7.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(246, 242, 234, .72); max-width: 46ch; margin: 1.4rem auto 2.4rem; }
.cta-band .monogram { font-size: 2.5rem; margin-bottom: 1.8rem; }

/* ---------- 11. CONTATO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.info-list { display: grid; gap: 2.2rem; }
.info-list__label {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.info-list p { font-size: 1.05rem; color: var(--brown); font-weight: 300; }
.info-list a:hover { color: var(--gold); }

/* Bloco de contato direto — ocupa a coluna onde ficava o formulário.
   O site não tem formulário: o agendamento é todo pelo WhatsApp. */
.direto {
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.2rem);
  background: var(--cream);
}
.direto h2 { margin-bottom: 1.4rem; }
.direto p { color: var(--ink); max-width: 42ch; }
.direto .btn { margin-top: 2rem; }

.map-embed {
  aspect-ratio: 16 / 7;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

/* ---------- 12. FOOTER ---------- */
.footer {
  background: var(--brown);
  color: rgba(246, 242, 234, .78);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
/* Numa linha só, a pedido da cliente. O tamanho é fluido porque a coluna do
   rodapé tem ~290px no desktop e "KATIANE SOARES CLINIC" não pode quebrar. */
.footer__brand {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(.88rem, 1.2vw, 1.05rem);
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}
.footer__legal { margin-top: 1.8rem; font-size: .78rem; color: rgba(246, 242, 234, .5); line-height: 1.7; }
.footer__label {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.footer a:hover { color: var(--gold-soft); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }

.socials { display: flex; gap: .75rem; }
.socials a {
  width: 46px; height: 46px;
  border: 1px solid rgba(246, 242, 234, .22);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.socials a:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--brown); }

.footer__base {
  border-top: 1px solid rgba(246, 242, 234, .14);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
  color: rgba(246, 242, 234, .5);
}
.footer__base nav { display: flex; gap: 1rem; }

/* Botão flutuante WhatsApp */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(72, 61, 57, .28);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.wa-float:hover { transform: translateY(-4px); background: var(--gold); color: var(--brown-deep); }

/* ---------- 13. ANIMAÇÕES DE ENTRADA ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 13b. LIGHTBOX (slide em tela cheia) ----------
   Criado pelo main.js, um por página, reaproveitado por todos os slides. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(28, 24, 22, .95);
}
.lightbox.is-open { display: block; }

.lightbox__palco {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: auto;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}
/* margin auto (e não justify/align center) porque, com a imagem maior que a
   tela, centralizar por alinhamento deixa parte dela inalcançável no scroll */
.lightbox__palco img {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.lightbox__fechar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(246, 242, 234, .32);
  background: rgba(28, 24, 22, .7);
  color: var(--cream);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.lightbox__fechar:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-deep);
}

.lightbox__dica {
  display: none;
  position: absolute;
  left: 0; right: 0; bottom: .9rem;
  text-align: center;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .6);
}

/* No celular um slide 16:9 coube na largura fica ilegível. Aqui ele ocupa a
   altura da tela e o leitor arrasta na horizontal para ler. */
@media (max-width: 780px) {
  .lightbox__palco { padding: 1rem .75rem 2.6rem; }
  .lightbox__palco img {
    max-width: none;
    max-height: none;
    height: 78vh;
    width: auto;
  }
  .lightbox__dica { display: block; }
}

/* ---------- 14. PÁGINA /links (estilo linktree) ---------- */
.pagina-links {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--brown-deep) url('../img/links-fundo.jpg') center / cover no-repeat;
  padding: clamp(2.5rem, 8vw, 5rem) 1.5rem;
}
/* véu escuro: garante contraste do texto sobre qualquer foto */
.pagina-links::before {
  content: '';
  position: fixed; inset: 0;
  background: linear-gradient(180deg, rgba(45, 37, 34, .62) 0%, rgba(45, 37, 34, .78) 100%);
  pointer-events: none;
}

.links {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.links__avatar {
  width: clamp(126px, 34vw, 156px);
  height: clamp(126px, 34vw, 156px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(246, 242, 234, .38);
}

.links__perfil {
  font-family: var(--font-body);
  font-size: 1.32rem;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--cream);
  margin: 0 0 .5rem;
}

.links__frase {
  font-size: .92rem;
  font-weight: 200;
  color: rgba(246, 242, 234, .76);
  margin: 0 0 2.6rem;
}

.links__botoes { display: grid; gap: .9rem; }

.links__botao {
  display: block;
  padding: 1.15rem 1.5rem;
  border-radius: 999px;
  background: rgba(63, 53, 50, .88);
  border: 1px solid rgba(246, 242, 234, .16);
  color: var(--cream);
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.links__botao:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-deep);
  transform: translateY(-2px);
}

.links__marca { margin: 3rem 0 0; line-height: 1; }
.links__marca-nome {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.links__marca-desc {
  display: block;
  margin-top: .34rem;
  font-size: .55rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(211, 192, 159, .72);
}

/* ---------- 15. RESPONSIVO ---------- */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 78px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 3rem); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { width: 100%; opacity: .28; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(246, 242, 234, .82) 0%, rgba(246, 242, 234, .55) 100%);
  }
  .hero__mono { font-size: 20rem; }
  .hero__title { margin-bottom: 2rem; }
  .treat-grid { margin-top: 3rem; }

  .split__inner { grid-template-columns: 1fr; }
  .split--reverse .split__figure { order: 0; }
  /* NÃO usar proporção paisagem aqui: as fotos são retratos verticais e o
     object-fit: cover cortava a cabeça. Mantém 4:5, igual ao desktop. */
  .split__figure { aspect-ratio: 4 / 5; max-width: 520px; margin-inline: auto; }
  .split__body { max-width: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .duas-colunas { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  /* a coluna central do header tem ~210px num iPhone: o nome precisa
     encolher junto com a tela, senão quebra em duas linhas */
  .brand__name { font-size: clamp(.95rem, 4.4vw, 1.35rem); }
  .brand__kicker { font-size: .55rem; letter-spacing: .36em; }
  .treat-grid { grid-template-columns: 1fr; }
  .treat-grid__item { min-height: 82px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .hero__mono { font-size: 13rem; }
}
