:root {
  --vinho: #460800;
  --fundo-tratamentos: #f6f2ef;
  --vinho-fundo: #2c0500;
  --vinho-claro: #5d1208;
  --preto: #211f1e;
  --ouro: #c09949;
  --papel: #fff;
  --nevoa: #f5f1ee;
  --tinta: #242220;
  --tinta-suave: #5d5956;
  --sobre-escuro: #fff;
  --sobre-escuro-suave: #e0dcd9;

  --titulo: "Urbanist", system-ui, sans-serif;
  --corpo: "Inter Tight", system-ui, sans-serif;

  --margem: clamp(20px, 5vw, 72px);
  --secao: clamp(72px, 10vw, 136px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.55 var(--corpo);
  color: var(--tinta);
  background: var(--papel);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, blockquote, figure { margin: 0; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; box-shadow: 0 0 0 5px var(--papel); border-radius: 2px; }

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.97); }
.btn--vinho { background: var(--vinho); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--vinho:hover { background: var(--vinho-claro); }
}

/* Topo */

.logo-th { fill: var(--ouro); }
.logo-nome { fill: currentColor; }

.topo {
  position: fixed;
  --topo-respiro: 12px;
  inset: var(--topo-respiro) var(--margem) auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  color: #fff;
}
.topo::before {
  content: "";
  position: absolute;
  /* o fundo sobra igual em cima e embaixo, para o conteúdo ficar centralizado */
  inset: calc(-1 * var(--topo-respiro)) calc(-1 * var(--margem));
  z-index: -1;
  pointer-events: none;
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.topo { transition: color 240ms ease; }
.topo.solido { color: var(--tinta); }
.topo.solido::before {
  background: rgb(250 247 244 / .86);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgb(70 8 0 / .08);
}
.topo.solido .topo__nav { background: rgb(255 255 255 / .62); box-shadow: inset 0 0 0 1px rgb(70 8 0 / .1); }
.topo.solido .topo__cta { --cta-fundo: var(--vinho); --cta-texto: var(--papel); }
@media (hover: hover) and (pointer: fine) {
  .topo.solido .topo__nav > a:not(.cta):hover { background: rgb(70 8 0 / .06); }
  .topo.solido .topo__cta:hover { --cta-fundo: var(--vinho-claro); --cta-texto: var(--papel); }
}
.topo__menu { display: none; }
.topo__logo { color: inherit; flex-shrink: 0; }
.topo__logo svg { width: auto; height: 44px; aspect-ratio: 350.8 / 169.4; }
.topo__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 5px;
  border-radius: 999px;
  background: rgb(36 21 20 / .48);
  box-shadow: inset 0 0 0 1px rgb(255 245 238 / .21);
  backdrop-filter: blur(16px) saturate(1.2);
  font-size: 15px;
}
.topo__nav > a:not(.cta) {
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .topo__nav > a:not(.cta):hover { background: rgb(255 245 238 / .1); }
}

/* Agendamento */
.cta {
  --cta-altura: 56px;
  --cta-fundo: var(--vinho);
  --cta-texto: var(--papel);
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms var(--ease-out);
}
.cta:active { transform: scale(.97); }
.cta__texto, .cta__icone {
  background: var(--cta-fundo);
  color: var(--cta-texto);
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out);
}
.cta__texto {
  display: inline-flex;
  align-items: center;
  min-height: var(--cta-altura);
  padding: 0 24px;
  border-radius: 999px;
  white-space: nowrap;
}
.cta__icone {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--cta-altura);
  height: var(--cta-altura);
  border-radius: 50%;
  overflow: hidden;
}
.cta__icone svg {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 240ms var(--ease-out);
}
.cta__icone svg:last-child { transform: translate(-160%, 160%); }
.topo__cta { --cta-altura: 44px; }
.topo__cta .cta__texto { padding: 0 18px; }
.topo__cta svg { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { --cta-fundo: var(--nevoa); --cta-texto: var(--vinho); }
  .cta--sobre-claro:hover { --cta-fundo: var(--vinho-claro); --cta-texto: var(--papel); }
  .cta:hover .cta__icone svg:first-child { transform: translate(160%, -160%); }
  .cta:hover .cta__icone svg:last-child { transform: none; }
}

/* Eyebrow: rótulo de seção, sempre em caixa alta */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--vinho);
  font: 600 13px/1.2 var(--titulo);
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ouro);
  box-shadow: 0 0 0 4px rgb(192 153 73 / .24);
  margin-inline: 4px 0;
}
.eyebrow--sobre-escuro { color: var(--sobre-escuro); }

/* Hero */
.hero {
  --hero-base: #231413;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: max(100svh, 720px);
  padding: 120px var(--margem) clamp(54px, 11svh, 115px);
  color: var(--sobre-escuro);
  background: var(--hero-base);
}
.hero__fundo, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__fundo { z-index: -5; object-fit: cover; }
.hero__arte {
  position: absolute;
  inset: 0 0 0 42%;
}
.hero__arte::before {
  content: "";
  z-index: -5;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 53% 54%, rgb(231 158 93 / .34), transparent 64%);
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 82%, transparent);
  pointer-events: none;
}
.hero__marca {
  z-index: -4;
  position: absolute;
  top: 10%;
  left: 48%;
  translate: -50% 0;
  width: min(82%, 650px);
  height: 82%;
  fill: #dda95f;
  filter: blur(.7px) drop-shadow(0 0 10px rgb(251 186 114 / .66)) drop-shadow(0 0 36px rgb(225 153 74 / .36));
}
.hero__vidro {
  z-index: -3;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgb(25 12 13 / .2) 0,
    transparent 3px 25px,
    rgb(255 223 186 / .10) 28px,
    rgb(255 240 215 / .23) 30px,
    rgb(25 12 13 / .2) 31px);
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .12) 12%, #000 38% 73%, transparent 100%),
    linear-gradient(180deg, transparent, #000 19% 67%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.hero__vidro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(151deg,
    transparent 21%,
    rgb(255 215 184 / .18) 34%,
    rgb(255 247 232 / .87) 40%,
    rgb(255 225 195 / .36) 43%,
    transparent 51% 65%,
    rgb(255 223 193 / .39) 73%,
    transparent 81%);
  mask-image: repeating-linear-gradient(90deg, transparent 0 25px, rgb(0 0 0 / .2) 27px, #000 30px, transparent 31px);
  mix-blend-mode: screen;
}
.hero__foto {
  z-index: -1;
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: auto;
  height: calc(100% - 100px);
  max-width: none;
  filter: drop-shadow(0 0 10px rgb(255 216 164 / .34)) drop-shadow(0 -8px 32px rgb(255 192 122 / .28));
}
.hero__foto--espelhada { transform: scaleX(-1); }
.hero::after {
  content: "";
  z-index: 0;
  background: linear-gradient(to top, var(--hero-base), transparent 34%), linear-gradient(to right, rgb(35 20 19 / .62), transparent 61%);
  pointer-events: none;
}
.hero__conteudo { position: relative; z-index: 1; width: 49%; max-width: 670px; }
.hero h1 {
  font-size: clamp(40px, 4.45vw, 73px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: initial;
}
.hero__convite { max-width: 440px; margin-top: 22px; }
.hero__convite > p { margin-bottom: 18px; color: var(--sobre-escuro-suave); font-size: 17px; line-height: 1.5; }
.topo__cta, .hero__agendar { --cta-fundo: #f2eae1; --cta-texto: var(--tinta); }
@media (hover: hover) and (pointer: fine) {
  .topo__cta:hover, .hero__agendar:hover { --cta-fundo: #ded1c4; --cta-texto: var(--tinta); }
}
.hero__avaliacao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 9px;
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  color: var(--sobre-escuro-suave);
  font-size: 15px;
  text-decoration: none;
}
.hero__avatares { display: inline-flex; padding-right: 3px; }
.hero__avatares img {
  position: relative;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border: 2px solid var(--hero-base);
  border-radius: 50%;
}
.hero__avatares img + img { margin-left: -7px; }
@media (hover: hover) and (pointer: fine) {
  .hero__avatares img:hover { z-index: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero__avatares img { transition: transform 320ms ease-in-out; }
  .hero__avatares img:hover { transform: translateY(-2px) scale(1.08); }
}
.hero__credenciais { margin: 0; padding: 0; list-style: none; }
.hero__credenciais li {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgb(255 232 220 / .2);
  border-radius: 999px;
  z-index: 1;
  background: linear-gradient(145deg, rgb(255 246 237 / .18), rgb(255 246 237 / .04)), rgb(37 20 19 / .38);
  -webkit-backdrop-filter: blur(13px) saturate(1.25);
  backdrop-filter: blur(13px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .15);
  text-shadow: 0 1px 6px rgb(24 12 12 / .7);
  color: var(--sobre-escuro);
  font-size: 14px;
  line-height: 1.3;
}
.hero__credenciais img { flex: none; }
.hero__credenciais li:nth-child(1) {
  z-index: -2;
  right: 33%;
  top: 40%;
  padding-right: clamp(24px, 4vw, 64px);
}
.hero__credenciais li:nth-child(2) { left: 51%; top: 66%; }
.hero__credenciais li:nth-child(3) { right: max(var(--margem), 13%); top: 78%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__credenciais li { animation: hero-flutuar 6s ease-in-out infinite alternate; }
  .hero__credenciais li:nth-child(2) { animation-duration: 7s; animation-delay: -4s; }
  .hero__credenciais li:nth-child(3) { animation-duration: 8s; animation-delay: -2s; }
  @keyframes hero-flutuar {
    from { transform: translateY(-4px); }
    to { transform: translateY(4px); }
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero__credenciais li:nth-child(2) { max-width: 225px; }
}
/* Onda na base do hero que leva para a próxima seção */
.hero__proxima {
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 168px;
  height: 36px;
  transform: translateX(-50%);
  color: var(--vinho);
}
.hero__proxima-onda { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--papel); }
.hero__proxima-seta {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 200ms ease;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__proxima-seta { animation: hero-cutucar 2.4s ease-in-out infinite; }
  @keyframes hero-cutucar {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(3px); }
  }
}
@media (hover: hover) and (pointer: fine) {
  .hero__proxima:hover .hero__proxima-seta { color: var(--ouro); }
}
/* Talvez você se reconheça: duas faixas de situações correndo em sentidos opostos */
.talvez { padding: var(--secao) 0; overflow: hidden; background: var(--papel); }
.talvez__cab {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px clamp(32px, 5vw, 72px);
  margin: 0 var(--margem) clamp(36px, 4.5vw, 56px);
}
.talvez__cab h2 { max-width: 20ch; font-size: clamp(32px, 3.4vw, 48px); }
.talvez__apoio { max-width: 44ch; padding-bottom: 6px; color: var(--tinta-suave); font-size: 17px; line-height: 1.6; }
.talvez__faixas { display: grid; gap: 10px; }
.faixa {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.faixa__trilho { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0 var(--margem); list-style: none; }
.faixa__trilho li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px 16px 18px;
  border-radius: 18px;
  background: #efe7e1;
  color: var(--tinta);
  font: 500 clamp(18px, 1.6vw, 23px)/1.15 var(--titulo);
  letter-spacing: -.01em;
}
.faixa__trilho svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--vinho); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.faixa__trilho li:nth-child(3n+2) { background: transparent; box-shadow: inset 0 0 0 1px #e3d8d1; }
.faixa__trilho li:nth-child(4n+3) { background: var(--vinho); color: #fff; box-shadow: none; }
.faixa__trilho li:nth-child(4n+3) svg { stroke: var(--ouro); }
.faixa--volta .faixa__trilho li:nth-child(7n+1) { background: var(--preto); color: #fff; box-shadow: none; }
.faixa--volta .faixa__trilho li:nth-child(7n+1) svg { stroke: var(--ouro); }
.faixa.rolando { display: flex; }
.faixa.rolando .faixa__trilho {
  flex: none;
  flex-wrap: nowrap;
  padding: 0 10px 0 0;
  white-space: nowrap;
  animation: faixa-corre var(--duracao, 60s) linear infinite;
}
.faixa--volta.rolando .faixa__trilho { animation-direction: reverse; }
@keyframes faixa-corre { to { transform: translateX(-100%); } }
@media (hover: hover) and (pointer: fine) {
  .talvez__faixas:hover .faixa__trilho { animation-play-state: paused; }
}
@media (max-width: 760px) {
  .talvez__cab { grid-template-columns: minmax(0, 1fr); }
}

/* Tratamentos */
.tratamentos {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(48px, 6vw, 86px) var(--margem);
  overflow: hidden;
  background: var(--fundo-tratamentos);
  color: var(--tinta);
}
#comecar { position: absolute; top: 0; }
.tratamentos__intro { max-width: 580px; }
.tratamentos__apoio { margin: 18px 0 24px; max-width: 38ch; color: var(--tinta-suave); }
@media (max-width: 960px) {
  .tratamentos { grid-template-columns: minmax(0, 1fr); }
}
.tratamentos__catalogo:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px;
  margin-top: 32px;
}
.tratamentos__catalogo dt { margin-top: 10px; font-weight: 600; }
.tratamentos__palco {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 470px) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 44px);
  padding: 40px 0 36px;
}
.tratamentos__pilha { position: relative; isolation: isolate; }
.tratamentos__pilha .tratamentos__card--saindo { position: absolute; inset: 0; pointer-events: none; }
.tratamentos__card, .tratamentos__verso {
  border: 1px solid #fff8;
  border-radius: 32px;
  background: #e9dcd5;
}
.tratamentos__card {
  position: relative;
  padding: 9px;
  box-shadow: 0 15px 35px rgb(69 30 22 / .09);
}
.tratamentos__card > img, .tratamentos__verso {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  object-position: center 22%;
}
.tratamentos__card > img { border-radius: 24px; }
.tratamentos__verso {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: .45;
  transform-origin: 42% 65%;
  transform: translate(8px, 4px) rotate(5deg) scale(.97);
}
.tratamentos__verso:nth-child(1) { transform: translate(24px, 8px) rotate(12deg) scale(.93); opacity: .21; }
.tratamentos__verso:nth-child(2) { transform: translate(16px, 6px) rotate(9deg) scale(.95); opacity: .32; }
.tratamentos__ficha { min-height: 112px; padding: 14px 13px 12px; }
.tratamentos__ficha h3 { font-size: clamp(22px, 2.5vw, 33px); }
.tratamentos__ficha p { margin-top: 5px; font-size: 16px; line-height: 1.35; }
.tratamentos__seta {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--vinho);
  color: #fff;
  font-size: 22px;
}
/* Categorias abaixo do baralho */
.tratamentos__categorias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 18px;
  max-width: 1080px;
  margin: 28px auto 0;
  text-align: center;
}
.tratamentos__categorias button {
  min-height: 44px;
  color: #685951;
  font: 600 clamp(18px, 1.9vw, 26px)/1.15 var(--titulo);
  letter-spacing: -.035em;
  transition: color 200ms ease;
}
.tratamentos__categorias sup { margin-left: 4px; font: 500 12px var(--corpo); letter-spacing: 0; vertical-align: super; }
.tratamentos__categorias button[aria-pressed="true"] { color: var(--vinho); }
@media (hover: hover) and (pointer: fine) {
  .tratamentos__seta:hover { background: var(--vinho-claro); }
  .tratamentos__categorias button:hover { color: var(--vinho); }
}

@media (prefers-reduced-motion: no-preference) {
  .tratamentos--animado :is(.tratamentos__palco, .tratamentos__categorias) {
    opacity: .35;
    transform: translateY(22px);
    transition: opacity 360ms ease, transform 440ms var(--ease-out);
  }
  .tratamentos--animado .tratamentos__pilha {
    transform: rotate(-5deg) scale(.96);
    transition: transform 500ms var(--ease-out);
  }
  .tratamentos--visivel :is(.tratamentos__palco, .tratamentos__categorias),
  .tratamentos--animado:focus-within :is(.tratamentos__palco, .tratamentos__categorias) {
    opacity: 1;
    transform: none;
  }
  .tratamentos--visivel .tratamentos__pilha,
  .tratamentos--animado:focus-within .tratamentos__pilha { transform: none; }
  .tratamentos--visivel .tratamentos__categorias { transition-delay: 60ms; }
}
.tratamentos__card > img {
  object-fit: contain;
  object-position: center;
  background: radial-gradient(ellipse at 50% 75%, #ead4bf, #cbb4a0);
}

/* Antes e depois: comparador grande com os casos ao lado */

@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.resultados {
  position: relative;
  padding: var(--secao) var(--margem);
  background:
    linear-gradient(180deg, transparent 14%, #231413 94%),
    radial-gradient(ellipse 88% 95% at 85% -28%,
      transparent 57%, rgb(169 62 43 / .14) 65%,
      rgb(219 122 88 / .24) 68%, rgb(158 57 39 / .11) 70%, transparent 77%),
    radial-gradient(ellipse 92% 88% at 73% 0%, #641e13 0%, var(--vinho) 43%, #231413 88%);
  color: #fff7f3;
}
.resultados__recorte {
  position: absolute;
  top: -1px;
  left: 50%;
  width: clamp(220px, 32vw, 580px);
  height: clamp(24px, 2.6vw, 48px);
  transform: translateX(-50%);
  fill: var(--fundo-tratamentos);
  pointer-events: none;
}
.resultados .eyebrow { color: #f4d8cc; }
.ad__cab {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  align-items: end;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.ad__cab h2 { max-width: 22ch; font-size: clamp(32px, 3.4vw, 48px); }
.ad__apoio { max-width: 44ch; padding-bottom: 6px; color: #f0ddd5; font-size: 17px; line-height: 1.6; }
.ad { display: grid; grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr); gap: 20px; align-items: start; }

.ad__palco {
  --pos: 50%;
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 28px;
  background: #1c1715;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ad__palco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ad__antes { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ad__tag {
  position: absolute;
  bottom: 16px;
  padding: 7px 14px;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 999px;
  background: rgb(28 20 18 / .42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}
.ad__tag--a { left: 16px; }
.ad__tag--d { right: 16px; }
.ad__linha {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgb(0 0 0 / .25);
  pointer-events: none;
}
.ad__linha span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: #fff;
  color: var(--vinho);
  box-shadow: 0 8px 24px rgb(0 0 0 / .28);
  transition: transform 160ms var(--ease-out);
}
.ad__linha svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad__palco.arrastando .ad__linha span { transform: scale(.92); }
.ad__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ad__palco:has(.ad__range:focus-visible) { outline: 2px solid #fff7f3; outline-offset: 3px; }
.ad__palco img.chegando { animation: ad-chega 260ms ease-out; }
@keyframes ad-chega { from { opacity: 0; } }

.ad__lado { display: flex; flex-direction: column; gap: 16px; }
.ad__casos { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ad__caso {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 16px 8px 8px;
  border-radius: 20px;
  text-align: left;
  transition: background-color 200ms ease, transform 150ms var(--ease-out);
}
.ad__caso img { flex: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.ad__caso span { display: grid; gap: 2px; min-width: 0; }
.ad__caso strong { font: 600 18px/1.2 var(--titulo); color: #fff7f3; }
.ad__caso small { color: #e6cec6; font-size: 14px; }
.ad__caso[aria-pressed="true"] {
  background: linear-gradient(145deg, rgb(255 231 217 / .21), rgb(255 230 215 / .06) 64%), rgb(255 239 229 / .04);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px rgb(255 231 217 / .14),
    inset 0 1px 0 rgb(255 240 229 / .19),
    0 8px 24px rgb(18 6 3 / .18);
}
.ad__caso:focus-visible { outline: 2px solid #fff7f3; outline-offset: 2px; }
.ad__caso:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .ad__caso:not([aria-pressed="true"]):hover { background: rgb(255 239 229 / .08); }
}

/* A Dra. Thaís */

.dra {
  overflow-x: clip;
  --avanco-retrato: clamp(24px, 2.8vw, 42px);
  --respiro-retrato: clamp(44px, 5.4vw, 82px);
  --fundo-dra:
    radial-gradient(ellipse 54% 125% at 67% -18%, rgb(173 73 51 / .48), transparent 74%),
    linear-gradient(119deg, transparent 29%, rgb(226 142 103 / .07) 39%, rgb(226 142 103 / .13) 42%, transparent 56%),
    linear-gradient(145deg, #4b1009 0%, var(--vinho) 47%, #251412 100%);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: var(--respiro-retrato) calc(var(--margem) + clamp(14px, 2vw, 32px));
  background: var(--papel);
  color: var(--sobre-escuro);
}
.dra::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(var(--respiro-retrato) + var(--avanco-retrato)) 21%;
  left: var(--margem);
  border-radius: 12px;
  background: var(--fundo-dra);
}
.dra__foto {
  position: relative;
  align-self: stretch;
  aspect-ratio: 4 / 5;
}
.dra__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  object-position: 50% 20%;
}
.dra__nome {
  position: absolute;
  font: 500 clamp(44px, 6.6vw, 108px)/.85 var(--titulo);
  letter-spacing: -.065em;
  white-space: nowrap;
  pointer-events: none;
}
.dra__nome--topo { bottom: calc(100% - .15em); left: 0; color: #b89389; opacity: .66; }
.dra__nome--base { right: .08em; bottom: -.57em; color: #925347; }
@supports (-webkit-text-stroke: 1px transparent) {
  .dra__nome--topo {
    color: rgb(140 81 69 / .065);
    -webkit-text-stroke: 1px rgb(140 81 69 / .15);
  }
  .dra__nome--base {
    color: rgb(167 109 96 / .09);
    -webkit-text-stroke: 1px rgb(167 109 96 / .20);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .dra__foto[data-anima-nome] .dra__nome {
    translate: var(--entrada-nome) 0;
    opacity: 0;
    transition: translate 760ms var(--ease-out), opacity 520ms var(--ease-out);
  }
  .dra__nome--topo { --entrada-nome: calc(-1 * clamp(22px, 5vw, 84px)); }
  .dra__nome--base { --entrada-nome: clamp(42px, 14vw, 220px); }
  .dra__foto[data-anima-nome].visto .dra__nome { translate: 0; opacity: 1; }
  .dra__foto[data-anima-nome].visto .dra__nome--topo { opacity: .66; }
}
.dra__conteudo {
  padding: calc(var(--avanco-retrato) + clamp(34px, 3vw, 54px)) 0
    calc(var(--avanco-retrato) + clamp(34px, 3vw, 54px)) clamp(12px, 3.3vw, 52px);
}
.dra__conteudo .eyebrow { color: #f0d4ca; }
.dra__conteudo h2 { max-width: 24ch; font-size: clamp(32px, 3.4vw, 48px); }
.dra__fala { margin: 24px 0 0; }
.dra__fala p { max-width: 46ch; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; color: #fff1e9; }
.dra__fala footer { margin-top: 10px; color: #e9c7bb; font-size: 15px; }
.dra__dados {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgb(255 240 228 / .24);
  list-style: none;
}
.dra__dados li { display: flex; align-items: flex-start; gap: 9px; }
.dra__icone { display: grid; flex: none; place-items: center; width: 22px; height: 22px; color: #e9c7bb; }
.dra__icone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dra__dados strong { display: block; font: 600 17px/1.25 var(--titulo); }
.dra__dados small { display: block; margin-top: 3px; color: #f0d4ca; font-size: 14px; line-height: 1.4; }

/* Avaliações: painel com nota do Google e carrossel de cards */
.aval { padding: var(--secao) var(--margem); background: var(--papel); }
.aval__cab {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px clamp(32px, 5vw, 72px);
}
.aval__cab h2 { max-width: 22ch; font-size: clamp(32px, 3.4vw, 48px); }
.aval__apoio { max-width: 44ch; padding-bottom: 6px; color: var(--tinta-suave); font-size: 17px; line-height: 1.6; }
.aval__estrelas { display: inline-flex; gap: 3px; color: var(--ouro); font-size: 15px; }
.aval__estrelas svg { width: 1.1em; height: 1.1em; }
.aval__carrossel { margin: clamp(24px, 3vw, 40px) calc(-1 * var(--margem)) 0; }
.aval__faixa {
  display: flex;
  overflow: hidden;
}
.aval__faixa:focus-visible { outline-offset: -2px; }
.aval__trilho {
  --intervalo: clamp(14px, 1.4vw, 20px);
  display: grid;
  flex: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(265px, 78vw, 410px);
  gap: var(--intervalo);
  margin: 0;
  padding: 43px var(--intervalo) 43px 0;
  list-style: none;
  animation: faixa-corre 110s linear infinite;
}
.aval__faixa--volta .aval__trilho { animation-direction: reverse; }
@media (hover: hover) {
  .aval__faixa:hover .aval__trilho { animation-play-state: paused; }
}
.aval__faixa:focus-visible { overflow-x: auto; }
.aval__faixa:focus-visible .aval__trilho { animation: none; }
.aval__faixa:focus-visible .aval__trilho--copia { display: none; }
@media (prefers-reduced-motion: reduce) {
  .aval__faixa { overflow-x: auto; }
  .aval__trilho { animation: none; }
  .aval__trilho--copia { display: none; }
}
.aval__card { display: flex; }
.aval__card figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 32px 28px 56px;
  border-radius: 24px;
  background: var(--nevoa);
}
.aval__card--topo figure { padding: 56px 28px 32px; }
.aval__card blockquote { margin: 0; color: var(--tinta-suave); font-size: 16px; line-height: 1.65; }
.aval__pilula {
  position: absolute;
  left: 24px;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 48px);
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: var(--papel);
  box-shadow: 0 1px 3px rgb(52 20 12 / .07), 0 3px 10px rgb(52 20 12 / .08);
}
.aval__card--topo .aval__pilula { inset: -30px 24px auto auto; }
.aval__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vinho);
  color: var(--papel);
  font: 600 18px var(--titulo);
}
.aval__quem { display: grid; min-width: 0; line-height: 1.3; }
.aval__quem strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.aval__quem span { color: var(--tinta-suave); font-size: 13px; }
.aval__base { display: flex; justify-content: center; padding: 0 var(--margem); margin-top: 24px; }
@media (max-width: 760px) {
  .aval__cab { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .aval__card figure { padding: 40px 36px 60px; }
  .aval__card--topo figure { padding: 60px 36px 40px; }
}

/* Como funciona: pilha de cartas que se abre em leque com a rolagem */
.passos { position: relative; background: var(--papel); }
.passos__fixo { padding: var(--secao) var(--margem); }
.passos__cab { max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.passos__cab .eyebrow { justify-content: center; }
.passos__cab h2 { font-size: clamp(32px, 3.4vw, 48px); }
.passos__cartas { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.passos__carta {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 22px;
  border-radius: 28px;
  box-shadow: 0 1px 2px rgb(52 20 12 / .05), 0 18px 40px -18px rgb(52 20 12 / .28);
}
.passos__carta--escura { background: var(--vinho); color: #fff; }
.passos__carta--clara { background: var(--papel); color: var(--tinta); }
.passos__icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.passos__carta--escura .passos__icone { background: rgb(255 255 255 / .14); }
.passos__carta--clara .passos__icone { background: rgb(70 8 0 / .07); color: var(--vinho); }
.passos__icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.passos__conta { position: absolute; top: 24px; right: 24px; font-size: 13px; font-variant-numeric: tabular-nums; opacity: .7; }
.passos__texto { margin-top: auto; padding-top: 28px; }
.passos__texto h3 { font-size: clamp(21px, 1.75vw, 25px); line-height: 1.12; }
.passos__texto p { margin-top: 10px; font-size: 15px; line-height: 1.5; opacity: .82; }

@media (min-width: 761px) and (max-width: 1023px) {
  .passos__cartas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .passos__cartas {
    --largura: min(clamp(220px, 19vw, 280px), calc((100vw - 2 * var(--margem) - 112px) / 4));
    position: relative;
    display: block;
    height: calc(var(--largura) * 4 / 3 + 40px);
  }
  .passos__carta {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--largura);
    height: calc(var(--largura) * 4 / 3);
    min-height: 0;
    margin-left: calc(var(--largura) / -2);
    /* fechado: pilha levemente desalinhada */
    transform: translate3d(0, calc(var(--i) * -6px), 0) rotate(calc((var(--i) - 1.5) * 1.6deg));
    transition: transform 720ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--i) * 45ms);
  }
  .passos__carta:nth-child(1) { --i: 0; --giro: -7deg; --queda: 26px; z-index: 4; }
  .passos__carta:nth-child(2) { --i: 1; --giro: -2.5deg; --queda: 4px; z-index: 3; }
  .passos__carta:nth-child(3) { --i: 2; --giro: 2.5deg; --queda: 4px; z-index: 2; }
  .passos__carta:nth-child(4) { --i: 3; --giro: 7deg; --queda: 26px; z-index: 1; }
  /* aberto: leque lado a lado */
  .passos--aberto .passos__carta,
  .passos:not(.passos--animado) .passos__carta {
    transform: translate3d(calc((var(--i) - 1.5) * (var(--largura) + 24px)), var(--queda), 0) rotate(var(--giro));
  }
  .passos--aberto .passos__carta { transition-delay: calc((3 - var(--i)) * 45ms); }
}
@media (prefers-reduced-motion: reduce) {
  .passos__carta { transition: none; }
}

/* Visita */

/* Onda entre avaliações e Como chegar: mesma da transição do hero, sem clique */
.aval { position: relative; }
.aval__onda {
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 168px;
  height: 36px;
  transform: translateX(-50%);
  color: var(--vinho);
  pointer-events: none;
}
.aval__onda-forma { position: absolute; inset: 0; width: 100%; height: 100%; fill: #f6f2ef; }
.aval__onda-seta { position: relative; width: 20px; height: 20px; margin-top: 8px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .aval__onda-seta { animation: hero-cutucar 2.4s ease-in-out infinite; }
}
.visita { position: relative; padding: var(--secao) var(--margem); background: #f6f2ef; }
.visita__cab {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  align-items: end;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.visita__cab h2 { font-size: clamp(32px, 3.4vw, 48px); }
.visita__apoio { max-width: 44ch; padding-bottom: 6px; color: var(--tinta-suave); font-size: 17px; line-height: 1.6; }
.visita__grade { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: 20px; }
.visita__mapa { position: relative; min-height: 460px; overflow: hidden; border-radius: 28px; background: var(--preto); }
.visita__mapa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visita__mapa::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgb(33 31 30 / .85), transparent); pointer-events: none; }
.visita__mapa-base { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.visita__rua {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 999px;
  background: rgb(33 31 30 / .5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.visita__rota {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--vinho);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease, transform 150ms var(--ease-out);
}
.visita__rota:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .visita__rota:hover { background: var(--nevoa); } }
.visita__rua svg, .visita__rota svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visita__rua svg { stroke: var(--ouro); }
.visita__osm { position: absolute; z-index: 1; top: 14px; right: 16px; color: rgb(255 255 255 / .6); font-size: 12px; }
.visita__cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.visita__cards li { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 24px; background: var(--papel); }
.visita__icone { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(70 8 0 / .07); color: var(--vinho); }
.visita__icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visita__cards h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; }
.visita__cards p { margin-top: 6px; color: var(--tinta-suave); font-size: 15px; line-height: 1.55; }
.visita__cards p a { color: inherit; text-underline-offset: 3px; }
.visita__whats { display: inline-block; margin-top: 6px; color: var(--vinho); font: 600 clamp(22px, 1.9vw, 26px)/1.2 var(--titulo); text-decoration: none; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) { .visita__whats:hover { text-decoration: underline; text-underline-offset: 4px; } }
.visita__status:empty { display: none; }
.visita__status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 500 13px var(--corpo); }
.visita__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.visita__status--aberto { background: #e6f2e8; color: #23733a; }
.visita__status--fechado { background: #f1ebe7; color: var(--tinta-suave); }

/* Rodapé */

.rodape { position: relative; padding: clamp(56px, 7vw, 96px) var(--margem) 28px; background: var(--preto); color: #fff; overflow: hidden; }
.rodape__topo { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.rodape__logo { display: inline-block; color: #fff; }
.rodape__logo svg { width: auto; height: 58px; aspect-ratio: 350.8 / 169.4; }
.rodape__marca p { max-width: 30ch; margin-top: 18px; color: var(--sobre-escuro-suave); font-size: 16px; line-height: 1.55; }
.rodape__redes { display: flex; gap: 10px; margin-top: 24px; }
.rodape__redes a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 50%;
  color: var(--sobre-escuro-suave);
  transition: background-color 200ms ease, color 200ms ease, transform 150ms var(--ease-out);
}
.rodape__redes svg { width: 18px; height: 18px; }
.rodape__redes a:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .rodape__redes a:hover { background: #fff; color: var(--vinho); } }
.rodape__coluna { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rodape__coluna h2 { margin-bottom: 6px; color: var(--ouro); font: 600 13px/1.2 var(--titulo); letter-spacing: .04em; text-transform: uppercase; }
.rodape__coluna a, .rodape__coluna p { color: var(--sobre-escuro-suave); font-size: 15px; line-height: 1.55; text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .rodape__coluna a:hover { color: #fff; } }
@media (max-width: 1100px) {
  .rodape__topo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rodape__coluna a { overflow-wrap: anywhere; }
.rodape__item { display: inline-flex; align-items: center; gap: 10px; }
.rodape__item svg { flex: none; width: 18px; height: 18px; color: var(--ouro); }
.rodape__item svg[viewBox] { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rodape__fim {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .12);
  color: var(--sobre-escuro-suave);
  font-size: 14px;
}

/* Assinatura Syme */

.syme-by { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1; color: var(--sobre-escuro-suave); text-decoration: none; transition: color 0.28s ease; }
.syme-by__txt { white-space: nowrap; transition: transform 0.28s ease; }
.syme-by__mark { position: relative; display: block; width: 20px; height: 20px; transition: width 0.28s ease; }
.syme-by__mark img { position: absolute; top: 0; left: 0; width: auto; height: 20px; max-width: none; transition: opacity 0.28s ease; }
.syme-by__full { opacity: 0; }
.syme-by:focus-visible { outline: 1px solid var(--sobre-escuro-suave); outline-offset: 6px; border-radius: 4px; color: #fff; }
.syme-by:focus-visible .syme-by__txt { transform: translateX(-4px); }
.syme-by:focus-visible .syme-by__mark { width: 74px; }
.syme-by:focus-visible .syme-by__sym { opacity: 0; }
.syme-by:focus-visible .syme-by__full { opacity: 1; }
@media (hover: none) {
  .syme-by__mark { width: 74px; }
  .syme-by__sym { opacity: 0; }
  .syme-by__full { opacity: 1; }
}
@media (hover: hover) {
  .syme-by:hover { color: #fff; }
  .syme-by:hover .syme-by__txt { transform: translateX(-4px); }
  .syme-by:hover .syme-by__mark { width: 74px; }
  .syme-by:hover .syme-by__sym { opacity: 0; }
  .syme-by:hover .syme-by__full { opacity: 1; }
}

/* Revelação ao rolar */

.js [data-revela] { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.js [data-revela].visto { opacity: 1; transform: none; }

/* Telas médias */

@media (max-width: 1180px) {
  /* Menu em painel: o botão abre a lista de seções */
  .topo__menu {
    position: relative;
    display: grid;
    place-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-radius: 50%;
    background: rgb(36 21 20 / .48);
    box-shadow: inset 0 0 0 1px rgb(255 245 238 / .21);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: inherit;
    transition: background-color 200ms ease, transform 150ms var(--ease-out);
  }
  .topo__menu:active { transform: scale(.95); }
  .topo__menu span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform 240ms var(--ease-out); }
  .topo.aberto .topo__menu span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .topo.aberto .topo__menu span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .topo.solido .topo__menu { background: rgb(255 255 255 / .62); box-shadow: inset 0 0 0 1px rgb(70 8 0 / .1); }
  .topo__nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px;
    border-radius: 24px;
    background: var(--papel);
    box-shadow: 0 1px 2px rgb(52 20 12 / .06), 0 22px 48px -18px rgb(52 20 12 / .4);
    color: var(--tinta);
    font-size: 17px;
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.97);
    transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .topo.aberto .topo__nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .topo__nav > a:not(.cta) { padding: 13px 16px; border-radius: 16px; }
  .topo.solido .topo__nav { background: var(--papel); box-shadow: 0 1px 2px rgb(52 20 12 / .06), 0 22px 48px -18px rgb(52 20 12 / .4); }
  .topo__cta { margin-top: 6px; }
  .topo__cta .cta__texto { flex: 1; justify-content: center; }
  .topo.solido .topo__cta, .topo__nav .topo__cta { --cta-fundo: var(--vinho); --cta-texto: var(--papel); }
}
@media (max-width: 1180px) and (hover: hover) and (pointer: fine) {
  .topo__nav > a:not(.cta):hover, .topo.solido .topo__nav > a:not(.cta):hover { background: var(--nevoa); }
}
@media (prefers-reduced-motion: reduce) {
  .topo__nav, .topo__menu span { transition: none; }
}

/* Celular */

@media (max-width: 760px) {
  body { font-size: 17px; }
  .topo { --topo-respiro: 10px; height: 62px; gap: 12px; }
  .topo__logo svg { height: 38px; }

  .hero { min-height: 100svh; padding-top: clamp(435px, 125vw, 570px); padding-bottom: 76px; }
  .hero__arte { inset: 72px 0 auto; height: clamp(420px, 124vw, 590px); }
  .hero__foto { height: 100%; }
  .hero__marca { top: 6%; width: 90%; }
  .hero::after {
    background: linear-gradient(to bottom, transparent 30%, rgb(35 20 19 / .42) 45%, var(--hero-base) 66%);
  }
  .hero__conteudo { width: 100%; }
  .hero__convite { max-width: 420px; }
  .hero h1 { font-size: clamp(36px, 9.7vw, 54px); }
  .hero__convite { margin-top: 17px; }
  .hero__convite > p { margin-bottom: 14px; }
  /* a base da foto se dissolve no fundo, sem corte seco */
  .hero__arte {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 60%, transparent 97%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 60%, transparent 97%);
  }
  /* selos em volta dela, sobre a foto, como no desktop */
  .hero__credenciais li { gap: 6px; padding: 6px 11px 6px 8px; font-size: 13px; }
  .hero__credenciais img { width: 15px; height: 15px; }
  .hero__credenciais li:nth-child(1) { z-index: 1; top: calc(72px + clamp(420px, 124vw, 590px) * .5); left: 14px; right: auto; padding-right: 11px; }
  .hero__credenciais li:nth-child(2) { top: calc(72px + clamp(420px, 124vw, 590px) * .66); left: auto; right: 14px; max-width: none; }
  .hero__credenciais li:nth-child(3) { top: calc(72px + clamp(420px, 124vw, 590px) * .3); right: 14px; }


  .tratamentos__palco { gap: 9px; padding: 28px 0; }
  .tratamentos__seta { width: 44px; height: 44px; }
  .tratamentos__card { padding: 6px; }
  .tratamentos__card, .tratamentos__verso { border-radius: 22px; }
  .tratamentos__card > img { border-radius: 16px; }
  .tratamentos__ficha { padding: 12px 8px 8px; min-height: 124px; }
  .tratamentos__categorias { gap: 0 15px; margin-top: 20px; }

  .ad__cab { grid-template-columns: minmax(0, 1fr); }
  .ad { grid-template-columns: minmax(0, 1fr); }
  .ad__palco { aspect-ratio: 3 / 2; border-radius: 20px; }
  .ad__casos { grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); overflow-x: auto; margin-inline: calc(var(--margem) * -1); padding-inline: var(--margem); scroll-snap-type: x proximity; scrollbar-width: none; }
  .ad__casos::-webkit-scrollbar { display: none; }
  .ad__casos li { scroll-snap-align: start; }
  .ad__caso img { width: 52px; height: 52px; border-radius: 12px; }
  .ad__caso strong { font-size: 16px; }

  .dra { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 var(--margem) 35px; }
  .dra::before { display: none; }
  .dra__conteudo {
    padding: 36px 22px 64px;
    border-radius: 12px;
    background: var(--fundo-dra);
  }
  /* No celular a foto fica no fluxo e define a própria altura (o Safari do iPhone encolhia a caixa vazia) */
  .dra__foto { align-self: start; justify-self: stretch; width: auto; margin: -28px 12px 0; aspect-ratio: auto; }
  .dra__foto img { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 1; object-position: 50% 12%; }
  .dra__nome { display: none; }
  .dra__nome--topo {
    color: rgb(255 232 221 / .12);
    -webkit-text-stroke: 1px rgb(255 232 221 / .20);
  }




  .visita__cab, .visita__grade { grid-template-columns: minmax(0, 1fr); }
  .visita__mapa { min-height: 360px; border-radius: 20px; }
  .rodape { padding-bottom: 96px; }
  .rodape__topo { grid-template-columns: minmax(0, 1fr); gap: 32px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .cta__icone svg { transition: none; }
  .cta:active { transform: none; }
  .js [data-revela] { transform: none; transition: opacity 300ms ease; }
  .ad__palco img.chegando { animation: none; }
}

/* Estrutura compartilhada pelas duas paletas. */
.hero__credenciais li { text-shadow: none; }
.resultados__recorte { fill: var(--papel); }
.rodape .syme-by__full { clip-path: inset(0 0 0 28%); }
.rodape .syme-by .syme-by__sym { z-index: 1; opacity: 1; }
@media (max-width: 760px) {
  .hero__foto { mask-image: linear-gradient(#000 72%, transparent 100%); }
}
@media (hover: hover) {
  .rodape__coluna a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

/* Terapia neural — fotografia de materiais e explicação do atendimento. */
.neural {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5.5vw, 86px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) var(--margem);
  background: var(--papel);
}
.neural__imagem {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  margin: 18px 0;
}
.neural__imagem > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 120px 24px 24px 24px;
}
.neural__marca {
  position: absolute;
  bottom: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border: 8px solid var(--papel);
  border-radius: 50%;
  background: #ead8b3;
}
.neural__marca svg { width: 44px; height: 50px; fill: #876b30; }
.neural h2 { max-width: 22ch; font-size: clamp(32px, 3.4vw, 48px); }
.neural__intro { margin: 22px 0 26px; max-width: 51ch; color: var(--tinta-suave); }
.neural h3 { font-size: 20px; line-height: 1.3; color: var(--vinho); }
.neural__explicacao p, .neural__consulta p { margin-top: 8px; max-width: 57ch; font-size: 16px; color: var(--tinta-suave); }
.neural__consulta { margin-top: 22px; }
.neural .cta { margin-top: 28px; }
@media (max-width: 760px) {
  .neural { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .neural__imagem { min-height: 0; aspect-ratio: 1.6; margin: 0 14px 0 0; }
  .neural__imagem > img { border-radius: 64px 20px 20px 20px; }
  .neural__marca { width: 74px; right: -14px; bottom: -14px; border-width: 6px; }
  .neural__marca svg { width: 34px; height: 40px; }
  .neural .cta { --cta-altura: 50px; font-size: 14px; }
  .neural .cta__texto { padding-inline: 18px; }
}

/* A lista acompanha a altura do comparador e permite percorrer todos os casos. */
@media (min-width: 761px) {
  .ad { align-items: stretch; }
  .ad__palco { align-self: start; }
  .ad__lado { position: relative; min-height: 0; }
  .ad__casos { position: absolute; inset: 0; overflow-y: auto; padding: 2px 8px 18px 2px; scrollbar-width: thin; scrollbar-color: #b9948c transparent; }
}
