/* EL Saúde & Estética — site público */

:root {
  --branco: #fffdfb;
  --rosa-1: #fdf3f0;
  --rosa-2: #f9e3de;
  --rosa-3: #efc9c2;
  --rosa-4: #a65e58;
  --creme: #f7f1e7;
  --ouro: #b88732;
  --ouro-claro: #d7b36a;
  --ouro-brilho: #f0d792;
  --ouro-escuro: #80591a;
  --preto: #17130f;
  --preto-2: #211b15;
  --suave: #6f665c;
  --linha: rgba(23, 19, 15, 0.13);
  --linha-ouro: rgba(184, 135, 50, 0.32);
  --linha-clara: rgba(247, 241, 231, 0.2);
  --erro: #9b2c1f;

  --titulo: "Marcellus", "Times New Roman", serif;
  --texto: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --raio: 16px;
  --raio-p: 10px;
  --suavizar: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--preto);
  background: var(--branco);
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--titulo);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  letter-spacing: -0.012em;
}

h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  letter-spacing: -0.008em;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ouro-escuro);
  outline-offset: 3px;
}

::selection {
  background: var(--rosa-3);
  color: var(--preto);
}

[hidden] {
  display: none !important;
}

.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.largura {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--preto);
  color: var(--branco);
  border-radius: var(--raio-p);
}

.pular:focus {
  top: 1rem;
}

.progresso-pagina {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 3px;
  background: linear-gradient(90deg, var(--ouro-brilho), var(--ouro));
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- botões ---------- */

.botao {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s var(--suavizar), box-shadow 0.22s, background-color 0.22s, border-color 0.22s,
    color 0.22s;
}

.botao-compacto {
  min-height: 2.75rem;
  padding: 0.5rem 1.35rem;
  font-size: 0.95rem;
}

/* Dourado com acabamento de metal: luz em cima, borda firme e sombra curta e limpa. */
.botao-ouro,
.hora[aria-pressed="true"],
.opcao[aria-pressed="true"],
.chat-enviar {
  background: linear-gradient(180deg, #f6e2a8 0%, #e2bf6c 46%, #c99c45 100%);
  border: 1px solid #a8792a;
  color: #2a1c06;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(128, 89, 26, 0.22),
    0 12px 22px -12px rgba(128, 89, 26, 0.75);
}

.botao-ouro {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* brilho que atravessa o botão dourado */
.botao-ouro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
  translate: -120% 0;
  transition: translate 0.75s var(--suavizar);
  pointer-events: none;
}

.botao-ouro:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 0 rgba(128, 89, 26, 0.22),
    0 18px 26px -12px rgba(128, 89, 26, 0.8);
}

.botao-ouro:hover:not(:disabled)::after {
  translate: 120% 0;
}

.botao-ouro:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(128, 89, 26, 0.35), 0 4px 10px -8px rgba(128, 89, 26, 0.7);
}

.botao-contorno {
  border: 1.5px solid var(--preto);
  background: transparent;
  color: var(--preto);
}

.botao-contorno:hover {
  background: var(--preto);
  color: var(--branco);
  transform: translateY(-2px);
}

.botao-contorno:active {
  transform: translateY(1px);
}

.botao:disabled {
  background: #ece4d6;
  border-color: #d9cfbd;
  color: #9a8f7c;
  box-shadow: none;
  text-shadow: none;
  cursor: not-allowed;
}

.link-botao {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ouro-escuro);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* anel dourado que acompanha o ponteiro (só em computador) */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 2.25rem;
  height: 2.25rem;
  margin: -1.125rem 0 0 -1.125rem;
  border: 1px solid var(--ouro);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, scale 0.3s var(--suavizar), background-color 0.3s;
}

.cursor.ligado {
  opacity: 0.8;
}

.cursor.sobre {
  scale: 1.7;
  background: rgba(215, 179, 106, 0.18);
}

.aviso-local {
  position: relative;
  z-index: 45;
  padding: 0.9rem 1.25rem;
  background: var(--preto);
  color: var(--creme);
  text-align: center;
}

.aviso-local strong {
  color: var(--ouro-claro);
}

/* ---------- topo ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 30;
  /* fundo quase sólido em vez de desfoque: o desfoque era recalculado a cada rolagem */
  background: rgba(255, 253, 251, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.topo.rolou {
  border-bottom-color: var(--linha-ouro);
  box-shadow: 0 6px 24px rgba(23, 19, 15, 0.06);
}

.topo-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.marca {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding-block: 0.3rem;
  text-decoration: none;
}

.marca img {
  width: auto;
  height: 4.4rem;
  transition: scale 0.4s var(--suavizar);
}

.marca:hover img {
  scale: 1.05;
}

.menu {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  font-size: 0.98rem;
  white-space: nowrap;
}

.menu a {
  position: relative;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--suave);
  transition: color 0.2s;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ouro);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--suavizar);
}

.menu a:hover,
.menu a[aria-current="true"] {
  color: var(--preto);
}

.menu a:hover::after,
.menu a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* no computador o agendamento já está no botão dourado ao lado */
.menu .menu-agendar {
  display: none;
}

.topo-acoes {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* botão de menu (só aparece no celular e tablet) */
.menu-botao {
  display: none;
  position: relative;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--linha-ouro);
  border-radius: 50%;
  background: var(--branco);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-botao span {
  position: absolute;
  left: 50%;
  width: 1.2rem;
  height: 1.5px;
  margin-left: -0.6rem;
  border-radius: 2px;
  background: var(--preto);
  transition: transform 0.3s var(--suavizar), opacity 0.2s;
}

.menu-botao span:nth-child(1) {
  top: calc(50% - 0.38rem);
}

.menu-botao span:nth-child(2) {
  top: 50%;
}

.menu-botao span:nth-child(3) {
  top: calc(50% + 0.38rem);
}

.menu-botao[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.38rem) rotate(45deg);
}

.menu-botao[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-botao[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.38rem) rotate(-45deg);
}

/* ---------- abertura: logo no centro, textos dos lados ---------- */

.abertura {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(55% 70% at 50% 45%, var(--rosa-2) 0%, var(--rosa-1) 50%, var(--branco) 100%);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4.5rem, 9vw, 7rem);
  border-radius: 0 0 50% 50% / 0 0 3.5rem 3.5rem;
}

/* foto da Dra. Ericka no fundo da abertura, bem clara, igual à página Sobre */
.abertura-fundo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.abertura-fundo img {
  position: absolute;
  top: 0;
  right: 0;
  width: min(50vw, 56rem);
  height: 100%;
  object-fit: cover;
  /* corte mais para baixo da foto, para o rosto subir e ficar na altura do texto */
  object-position: 55% 45%;
  /* o desfoque já vem pronto no arquivo (dra-ericka-fundo-suave.jpg): o navegador não precisa calcular */
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 96%);
  mask-image: linear-gradient(to left, #000 30%, transparent 96%);
  animation: abertura-fundo-entra 2.4s var(--suavizar) both;
}

/* véu: brilho rosado no centro, branco fechado à esquerda e mais aberto à direita */
.abertura-fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 60% at 50% 45%, rgba(249, 227, 222, 0.6) 0%, transparent 70%),
    linear-gradient(90deg, rgba(255, 253, 251, 0.97) 0%, rgba(255, 253, 251, 0.93) 50%,
      rgba(255, 253, 251, 0.82) 78%, rgba(255, 253, 251, 0.76) 100%);
}

@keyframes abertura-fundo-entra {
  from {
    opacity: 0;
    scale: 1.06;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.sem-animacao .abertura-fundo img {
  opacity: 1;
  scale: 1;
}

/* tablet e celular: a foto ocupa a abertura toda, com o rosto no alto, e o véu fica mais forte */
@media (max-width: 960px) {
  .abertura-fundo img {
    width: 100%;
    object-position: 50% 18%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .abertura-fundo::after {
    background: radial-gradient(60% 40% at 50% 22%, rgba(249, 227, 222, 0.5) 0%, transparent 70%),
      linear-gradient(180deg, rgba(255, 253, 251, 0.84) 0%, rgba(255, 253, 251, 0.88) 45%,
        rgba(255, 253, 251, 0.93) 100%);
  }
}

.abertura-grade {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(16rem, 30vw, 25rem) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.abertura-esquerda {
  text-align: right;
}

.abertura h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  line-height: 1.12;
}

/* cada palavra do título sobe de dentro de uma máscara */
.palavra {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.palavra > span {
  display: inline-block;
  animation: subir 0.9s var(--suavizar) both;
}

@keyframes subir {
  from {
    translate: 0 110%;
  }
  to {
    translate: 0 0;
  }
}

@keyframes surgir {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes flutuar {
  0%,
  100% {
    translate: 0 -6px;
  }
  50% {
    translate: 0 6px;
  }
}

/* a logo sozinha, sem moldura: aparece crescendo e depois flutua devagar */
.logo-central {
  --px: 0px;
  --py: 0px;
  translate: var(--px) var(--py);
  transition: translate 0.5s ease-out;
}

.logo-central img {
  display: block;
  width: 100%;
  height: auto;
  animation: logo-entra 1.3s 0.1s var(--suavizar) both, flutuar 6s 1.4s ease-in-out infinite;
}

@keyframes logo-entra {
  from {
    opacity: 0;
    scale: 0.82;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.abertura-direita {
  animation: surgir 0.9s 0.6s var(--suavizar) both;
}

.abertura-fatos {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 1.12rem;
}

.abertura-fatos li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.abertura-fatos li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--ouro);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.abertura-acoes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ---------- faixa de procedimentos ---------- */

.faixa {
  overflow: hidden;
  background: var(--preto);
  color: var(--ouro-claro);
  /* sobe por baixo da curva da abertura */
  margin-top: -3.5rem;
  padding-block: calc(3.5rem + 1rem) 1rem;
}

.faixa-trilho {
  display: flex;
  width: max-content;
  animation: correr 38s linear infinite;
}

.faixa:hover .faixa-trilho {
  animation-play-state: paused;
}

.faixa span {
  display: inline-flex;
  align-items: center;
  font-family: var(--titulo);
  font-size: 1.15rem;
  white-space: nowrap;
}

.faixa span::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-inline: 1.75rem;
  rotate: 45deg;
  background: var(--rosa-3);
}

@keyframes correr {
  to {
    translate: -50% 0;
  }
}

/* ---------- seções e revelação ao rolar ---------- */

.secao {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.secao-rosa {
  background: var(--rosa-1);
}

.secao-rosa-forte {
  background: linear-gradient(180deg, var(--rosa-2), var(--rosa-1));
}

.secao-escura {
  background: var(--preto);
  color: var(--creme);
}

.secao-escura :focus-visible,
.rodape :focus-visible {
  outline-color: var(--ouro-claro);
}

.cabecalho-secao {
  max-width: 43rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.cabecalho-secao p {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--suave);
}

.js [data-revelar] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.8s var(--suavizar), translate 0.8s var(--suavizar);
}

.js [data-revelar].visivel {
  opacity: 1;
  translate: 0 0;
}

/* ---------- procedimentos ---------- */

.carta-grupo {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--ouro);
}

.carta-grupo > h3 {
  font-size: 1.15rem;
  font-family: var(--texto);
  font-weight: 600;
  color: var(--rosa-4);
  padding-top: 0.75rem;
}

.carta-grupo dl {
  margin: 0;
}

.carta-grupo dl > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: 0.4rem 2.5rem;
  align-items: baseline;
  padding: 1.05rem 1rem;
  border-top: 1px solid var(--linha);
  border-radius: var(--raio-p);
  transition: background-color 0.3s, padding-left 0.3s var(--suavizar);
}

.carta-grupo dl > div:first-child {
  border-top-color: transparent;
}

.carta-grupo dl > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 3px;
  background: var(--ouro);
  transform: scaleY(0);
  transition: transform 0.3s var(--suavizar);
}

.carta-grupo dl > div:hover {
  background: var(--rosa-1);
  padding-left: 1.5rem;
}

.carta-grupo dl > div:hover::before {
  transform: scaleY(1);
}

.carta-grupo dt {
  font-family: var(--titulo);
  font-size: 1.55rem;
  line-height: 1.15;
}

.carta-grupo dd {
  margin: 0;
  max-width: 36rem;
  color: var(--suave);
}

/* ---------- resultados ---------- */

.cabecalho-com-controles {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.cabecalho-com-controles > div:first-child {
  max-width: 43rem;
}

.controles-galeria {
  display: flex;
  gap: 0.5rem;
}

.seta {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid var(--ouro);
  border-radius: 50%;
  background: var(--branco);
  color: var(--preto);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--suavizar);
}

.seta svg {
  width: 1.35rem;
  height: 1.35rem;
}

.seta:hover {
  background: var(--preto);
  color: var(--ouro-claro);
  transform: scale(1.08);
}

.galeria {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding-inline: max(1.25rem, (100vw - 1180px) / 2);
  padding-block: 0.5rem 1.25rem;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(1.25rem, (100vw - 1180px) / 2);
  scrollbar-width: thin;
  scrollbar-color: var(--rosa-3) transparent;
}

.galeria figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}

.foto {
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--raio);
  overflow: hidden;
  background: var(--rosa-2);
  cursor: zoom-in;
  box-shadow: 0 10px 28px rgba(23, 19, 15, 0.1);
  transition: transform 0.4s var(--suavizar), box-shadow 0.4s;
}

.foto img {
  height: clamp(21rem, 60vh, 32rem);
  width: auto;
  transition: scale 0.6s var(--suavizar);
}

.foto:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(166, 94, 88, 0.28);
}

.foto:hover img {
  scale: 1.04;
}

.galeria figcaption {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--suave);
}

.visor {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: rgba(23, 19, 15, 0.92);
  color: var(--creme);
}

.visor[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  animation: visor-abre 0.3s var(--suavizar);
}

.visor::backdrop {
  background: rgba(23, 19, 15, 0.6);
}

@keyframes visor-abre {
  from {
    opacity: 0;
    scale: 0.96;
  }
}

.visor figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.visor img {
  max-height: calc(100vh - 6rem);
  width: auto;
  border-radius: var(--raio-p);
}

.visor-seta,
.visor-fechar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--linha-clara);
  border-radius: 50%;
  background: transparent;
  color: var(--creme);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.visor-seta:hover,
.visor-fechar:hover {
  background: var(--ouro-claro);
  color: var(--preto);
}

.visor-seta svg,
.visor-fechar svg {
  width: 1.4rem;
  height: 1.4rem;
}

.visor-fechar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

.visor :focus-visible {
  outline-color: var(--ouro-claro);
}

/* ---------- como funciona ---------- */

.passos {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 2.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: passo;
}

/* linha dourada que se desenha quando a seção aparece */
.passos::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, var(--ouro-brilho), var(--ouro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--suavizar);
}

.passos.visivel::before {
  transform: scaleX(1);
}

.passos li {
  position: relative;
  counter-increment: passo;
}

.js .passos li {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.7s var(--suavizar), translate 0.7s var(--suavizar);
}

.js .passos.visivel li {
  opacity: 1;
  translate: 0 0;
}

.passos li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -2.25rem 0 1.5rem;
  border-radius: 50%;
  background: var(--preto);
  border: 1px solid var(--ouro);
  color: var(--ouro-claro);
  font-family: var(--titulo);
  font-size: 1.3rem;
  transition: background-color 0.3s, color 0.3s, scale 0.3s var(--suavizar);
}

.passos li:hover::before {
  background: var(--ouro-claro);
  color: var(--preto);
  scale: 1.12;
}

.passos h3 {
  color: var(--branco);
}

.passos p {
  margin-top: 0.6rem;
  color: rgba(247, 241, 231, 0.74);
}

/* ---------- agendamento ---------- */

.agendar-grade {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.agendar-texto > p {
  margin-top: 1.25rem;
  color: var(--suave);
}

.agendar-contato a,
.aviso-agenda a {
  color: var(--ouro-escuro);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.proximos {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem 1.2rem;
  border-radius: var(--raio);
  background: rgba(255, 253, 251, 0.75);
  border: 1px solid var(--linha-ouro);
}

.proximos h3 {
  font-size: 1.3rem;
}

.proximos-lista {
  margin-top: 0.6rem;
}

.proximos-dia {
  padding: 0.85rem 0;
  border-top: 1px solid var(--linha);
}

.proximos-dia:first-child {
  border-top: 0;
}

.proximos-dia-nome {
  font-weight: 600;
  font-size: 0.98rem;
}

.proximos-horas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.proximos-mais {
  font-size: 0.9rem;
  color: var(--suave);
  margin-left: 0.2rem;
}

.proximos-nota {
  margin-top: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--raio-p);
  background: var(--rosa-2);
  font-size: 0.95rem;
  animation: surgir 0.4s var(--suavizar);
}

.aviso-carregando,
.aviso-agenda,
.agenda-dica {
  font-size: 0.98rem;
  color: var(--suave);
}

.hora {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  min-height: 2.9rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--rosa-3);
  border-radius: 999px;
  background: var(--branco);
  color: var(--preto);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 12px -10px rgba(166, 94, 88, 0.6);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--suavizar);
}

.hora:hover:not(:disabled):not([aria-pressed="true"]) {
  border-color: var(--ouro);
  background: var(--rosa-1);
  transform: translateY(-2px);
}

.hora:disabled {
  background: transparent;
  border-style: dashed;
  border-color: var(--linha);
  box-shadow: none;
  color: rgba(23, 19, 15, 0.4);
  text-decoration: line-through;
  cursor: not-allowed;
}

.painel {
  border-radius: calc(var(--raio) + 6px);
  background: var(--branco);
  box-shadow: 0 30px 70px rgba(166, 94, 88, 0.2);
  overflow: hidden;
}

.etapas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: etapa;
  background: var(--preto);
  color: rgba(247, 241, 231, 0.55);
  font-size: 0.92rem;
  font-weight: 600;
}

.etapas li {
  counter-increment: etapa;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  transition: color 0.3s;
}

.etapas li::before {
  content: counter(etapa);
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.8rem;
}

.etapas li::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--ouro-claro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--suavizar);
}

.etapas li[aria-current="step"],
.etapas li.feita {
  color: var(--ouro-claro);
}

.etapas li[aria-current="step"]::after,
.etapas li.feita::after {
  transform: scaleX(1);
}

.etapas li.feita::before {
  background: var(--ouro-claro);
  color: var(--preto);
}

/* ----- conversa ----- */

.chat {
  display: flex;
  flex-direction: column;
  height: min(36rem, 78vh);
}

.chat-topo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--linha);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--rosa-1);
  border: 1px solid var(--linha-ouro);
}

.chat-avatar img {
  width: 2.1rem;
  height: 2.1rem;
}

.chat-nome {
  font-weight: 700;
  line-height: 1.2;
}

.chat-estado {
  font-size: 0.88rem;
  color: var(--suave);
}

.chat-progresso {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
}

.chat-progresso span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--rosa-3), var(--ouro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--suavizar);
}

.chat-mensagens {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rosa-3) transparent;
}

.msg {
  max-width: min(85%, 30rem);
  padding: 0.7rem 1rem;
  border-radius: 18px;
  animation: msg-entra 0.4s var(--suavizar) both;
  overflow-wrap: anywhere;
}

@keyframes msg-entra {
  from {
    opacity: 0;
    translate: 0 12px;
    scale: 0.96;
  }
}

.msg-bot {
  align-self: flex-start;
  background: var(--rosa-1);
  border: 1px solid var(--rosa-2);
  border-bottom-left-radius: 6px;
  transform-origin: left bottom;
}

.msg-eu {
  align-self: flex-end;
  background: var(--preto);
  color: var(--branco);
  border-bottom-right-radius: 6px;
  transform-origin: right bottom;
}

.digitando {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
}

.digitando span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rosa-4);
  animation: pular 1s ease-in-out infinite;
}

.digitando span:nth-child(2) {
  animation-delay: 0.15s;
}

.digitando span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pular {
  0%,
  60%,
  100% {
    translate: 0 0;
    opacity: 0.4;
  }
  30% {
    translate: 0 -5px;
    opacity: 1;
  }
}

.msg-resumo {
  max-width: 100%;
  align-self: stretch;
  background: var(--branco);
  border: 1px solid var(--linha-ouro);
  border-radius: var(--raio);
}

.msg-resumo dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.msg-resumo dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rosa-4);
}

.msg-resumo dd {
  margin: 0;
}

.chat-opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.25rem;
}

.chat-opcoes:not(:empty) {
  padding-bottom: 0.9rem;
}

.opcao {
  min-height: 2.6rem;
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--ouro);
  border-radius: 999px;
  background: var(--branco);
  font-weight: 600;
  cursor: pointer;
  animation: msg-entra 0.4s var(--suavizar) both;
  transition: background-color 0.2s, transform 0.2s var(--suavizar);
}

.opcao:hover {
  background: var(--rosa-1);
  transform: translateY(-2px);
}

.opcao-continuar {
  border-color: var(--preto);
  background: var(--preto);
  color: var(--branco);
}

.opcao-continuar:hover {
  background: var(--preto-2);
}

.opcao-continuar:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.chat-entrada {
  position: relative;
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem 1.1rem;
  border-top: 1px solid var(--linha);
}

.chat-entrada input[type="text"],
.chat-entrada input[type="tel"] {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--rosa-3);
  border-radius: 999px;
  background: var(--branco);
  color: var(--preto);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-entrada input:focus-visible {
  outline: none;
  border-color: var(--ouro);
  box-shadow: 0 0 0 3px rgba(215, 179, 106, 0.35);
}

.chat-entrada input:disabled {
  background: var(--rosa-1);
  border-color: var(--rosa-2);
}

.chat-enviar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s var(--suavizar), opacity 0.2s;
}

.chat-enviar svg {
  width: 1.3rem;
  height: 1.3rem;
}

.chat-enviar:hover:not(:disabled) {
  transform: scale(1.1) rotate(-8deg);
}

.chat-enviar:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.campo-isca {
  position: absolute;
  left: -200vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ----- escolha do horário ----- */

.escolha,
.agenda-confirmado {
  padding: clamp(1.25rem, 3vw, 2rem);
  animation: surgir 0.5s var(--suavizar);
}

.escolha-paciente {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--raio-p);
  background: var(--rosa-1);
  font-weight: 600;
}

.agenda-bloco {
  margin-top: 1.5rem;
}

.agenda-bloco h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.etapa-detalhe {
  font-family: var(--texto);
  font-size: 0.98rem;
  color: var(--suave);
}

.dias {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 4px 4px 0.8rem;
  margin: -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--rosa-3) transparent;
}

.dia {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  min-width: 4.9rem;
  padding: 0.65rem 0.5rem 0.6rem;
  border: 1px solid var(--rosa-3);
  border-radius: var(--raio-p);
  background: var(--branco);
  color: var(--preto);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--suavizar);
}

.dia-semana {
  font-size: 0.88rem;
  font-weight: 600;
}

.dia-numero {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.dia-mes {
  font-size: 0.85rem;
}

.dia-vagas {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--suave);
}

.dia:hover:not(:disabled) {
  border-color: var(--ouro);
  background: var(--rosa-1);
  transform: translateY(-3px);
}

.dia[aria-pressed="true"] {
  background: var(--preto);
  border-color: var(--preto);
  color: var(--branco);
}

.dia[aria-pressed="true"] .dia-vagas {
  color: var(--ouro-claro);
}

.dia:disabled {
  background: transparent;
  border-style: dashed;
  border-color: var(--linha);
  color: rgba(23, 19, 15, 0.45);
  cursor: not-allowed;
}

.horas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
  gap: 0.5rem;
}

.horas > p {
  grid-column: 1 / -1;
}

.horas .hora {
  animation: msg-entra 0.35s var(--suavizar) both;
}

.agenda-resumo {
  margin-top: 1.5rem;
  font-weight: 600;
}

.agenda-erro {
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--erro);
  border-radius: 0 var(--raio-p) var(--raio-p) 0;
  background: #f8e9e4;
  color: var(--erro);
  font-weight: 500;
}

#agenda-enviar {
  margin-top: 1.1rem;
}

.agenda-privacidade {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--suave);
}

.agenda-confirmado:focus {
  outline: none;
}

.confirmado-marca {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.1rem;
  color: var(--ouro);
}

.confirmado-marca circle {
  stroke-dasharray: 183;
  stroke-dashoffset: 183;
  animation: desenhar 0.8s 0.1s var(--suavizar) forwards;
}

.confirmado-marca path {
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  animation: desenhar 0.5s 0.7s var(--suavizar) forwards;
}

@keyframes desenhar {
  to {
    stroke-dashoffset: 0;
  }
}

.agenda-confirmado h3 {
  font-size: 1.9rem;
}

.agenda-confirmado p {
  margin-top: 0.9rem;
  max-width: 34rem;
}

#confirmado-texto {
  font-size: 1.15rem;
  font-weight: 600;
}

.confirmado-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- locais e dúvidas ---------- */

.duas-colunas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.duas-colunas h2 {
  margin-bottom: 2rem;
}

.local {
  padding-block: 1.4rem;
  border-top: 1px solid var(--ouro);
}

.local p {
  margin-top: 0.6rem;
  color: var(--suave);
  max-width: 30rem;
}

.link-forte {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--ouro-escuro);
  text-underline-offset: 0.2em;
}

.duvidas details {
  border-top: 1px solid var(--linha);
}

.duvidas details:first-child {
  border-top-color: var(--ouro);
}

.duvidas summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.duvidas summary:hover {
  color: var(--ouro-escuro);
}

.duvidas summary::-webkit-details-marker {
  display: none;
}

.duvidas summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--rosa-2);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--preto);
  transition: rotate 0.35s var(--suavizar), background-color 0.2s;
}

.duvidas details[open] summary::after {
  rotate: 45deg;
  background: var(--ouro-claro);
}

.duvidas details p {
  padding-bottom: 1.25rem;
  max-width: 36rem;
  color: var(--suave);
  animation: surgir 0.4s var(--suavizar);
}

/* ---------- rodapé ---------- */

.rodape {
  background: var(--preto);
  color: rgba(247, 241, 231, 0.84);
  padding-block: 4rem calc(2rem + env(safe-area-inset-bottom, 0px));
}

.rodape-grade {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.rodape-logo {
  width: 12rem;
  max-width: 100%;
  height: auto;
}

.rodape h2 {
  font-family: var(--texto);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ouro-claro);
  margin-bottom: 0.9rem;
}

.rodape ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.rodape a {
  text-decoration: none;
  border-bottom: 1px solid var(--linha-clara);
  overflow-wrap: anywhere;
  transition: color 0.2s, border-color 0.2s;
}

.rodape a:hover {
  color: var(--ouro-claro);
  border-bottom-color: var(--ouro-claro);
}

.rodape-fim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha-clara);
  font-size: 0.9rem;
  color: rgba(247, 241, 231, 0.62);
}

.rodape-fim p {
  max-width: 36rem;
}

/* créditos de quem fez o site: a marca do Daniel Mota, num selo escuro */
.rodape .credito {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
}

.credito-rotulo {
  font-size: 0.8rem;
  color: rgba(247, 241, 231, 0.55);
}

.credito-marca {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 1rem 0.3rem 0.35rem;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.credito-marca img {
  width: auto;
  height: 2.4rem;
  transition: rotate 0.6s var(--suavizar);
}

.credito-texto {
  display: grid;
  line-height: 1.2;
}

.credito-texto strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.credito-texto span {
  font-size: 0.75rem;
  color: #a9a9a9;
}

.rodape .credito:hover .credito-marca,
.rodape .credito:focus-visible .credito-marca {
  border-color: rgba(255, 122, 61, 0.55);
  box-shadow: 0 0 18px -4px rgba(255, 98, 48, 0.55);
}

.rodape .credito:hover .credito-marca img {
  rotate: -14deg;
}

/* ---------- detalhes de identidade ---------- */

/* arco dourado sob os títulos, o mesmo traço da logo */
main h2::after {
  content: "";
  display: block;
  width: 7.5rem;
  height: 0.8rem;
  margin-top: 0.7rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 13'%3E%3Cpath d='M2 10C30 1 80 1 118 7' fill='none' stroke='%23b88732' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat left center / contain;
}

.js [data-revelar] h2::after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s 0.35s var(--suavizar);
}

.js [data-revelar].visivel h2::after {
  clip-path: inset(0 0 0 0);
}

/* ---------- resultados: carrossel giratório em 3D ---------- */

.secao-resultados {
  position: relative;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 0%, #fbf8f2 0%, transparent 70%),
    linear-gradient(180deg, #f6f1e8 0%, #eee5d6 100%);
}

.secao-resultados .cabecalho-secao p {
  color: #6b5d4a;
}

/* texto à esquerda, carrossel à direita */
.resultados-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.resultados-grade .cabecalho-secao {
  margin-bottom: 0;
}

/* nome do procedimento da foto que está de frente */
.resultado-atual {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linha-ouro);
}

.resultado-nome {
  display: block;
  font-family: var(--titulo);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: var(--ouro-escuro);
  animation: surgir 0.45s var(--suavizar);
}

.resultado-dica {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.carrossel {
  --cartao: clamp(14.5rem, 23vw, 19rem);
  width: 100%;
}

/* palco com perspectiva: as fotos ficam em volta de um cilindro que gira */
.giro {
  position: relative;
  display: grid;
  place-items: center;
  height: calc(var(--cartao) * 1.25 + 5rem);
  perspective: 1100px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.giro.arrastando {
  cursor: grabbing;
}

.giro:focus-visible .giro-cartao.atual {
  box-shadow: 0 0 0 3px var(--ouro-escuro), 0 24px 36px -20px rgba(90, 40, 30, 0.55);
}

.giro-palco {
  position: relative;
  width: var(--cartao);
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
}

.giro-cartao {
  --sombra: 0;
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #efe7da;
  backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(184, 135, 50, 0.35), 0 24px 36px -20px rgba(90, 40, 30, 0.55);
}

/* as fotos de lado ficam mais escuras, como no giro de verdade */
.giro-cartao::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #2a1c12;
  opacity: calc(var(--sombra) * 0.55);
  pointer-events: none;
}

.giro .foto {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  cursor: inherit;
  transform: none;
}

.giro .foto:hover {
  transform: none;
  box-shadow: none;
}

.giro .giro-cartao.atual .foto {
  cursor: zoom-in;
}

.giro.arrastando .foto {
  cursor: grabbing;
}

.giro .foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.giro .foto:focus-visible {
  outline: none;
}

.giro .giro-cartao:has(.foto:focus-visible) {
  box-shadow: 0 0 0 3px var(--ouro-escuro), 0 24px 36px -20px rgba(90, 40, 30, 0.55);
}

/* pontos e contador embaixo */
.carrossel-rodape {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.galeria-pontos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
}

.galeria-ponto {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.galeria-ponto::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(128, 89, 26, 0.28);
  transition: width 0.35s var(--suavizar), background-color 0.35s;
}

.galeria-ponto:hover::before {
  background: rgba(128, 89, 26, 0.5);
}

.galeria-ponto[aria-current="true"]::before {
  width: 1.3rem;
  background: var(--ouro);
}

.carrossel-contador {
  font-family: var(--titulo);
  font-size: 0.95rem;
  color: var(--ouro-escuro);
  font-variant-numeric: tabular-nums;
}

/* tablet e celular: texto em cima, carrossel embaixo */
@media (max-width: 860px) {
  .resultados-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .carrossel {
    --cartao: min(64vw, 17rem);
    max-width: 30rem;
    margin-inline: auto;
  }

  .resultado-atual {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }
}

@media (max-width: 700px) {
  .giro {
    height: calc(var(--cartao) * 1.25 + 3.5rem);
  }

  .carrossel-contador {
    display: none;
  }
}

/* dias da agenda */
.dia {
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 14px -12px rgba(166, 94, 88, 0.7);
}

.dia[aria-pressed="true"] {
  box-shadow: inset 0 -3px 0 var(--ouro-claro), 0 12px 20px -12px rgba(23, 19, 15, 0.7);
}

.dia:disabled {
  box-shadow: none;
}

/* quando a agenda não carrega */
.sem-agenda {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--raio);
  background: var(--rosa-1);
  border: 1px solid var(--rosa-3);
}

.sem-agenda h3 {
  font-size: 1.35rem;
}

.sem-agenda p {
  margin-top: 0.6rem;
  color: var(--suave);
}

.sem-agenda .confirmado-acoes {
  margin-top: 1.25rem;
}

/* frase da abertura: centralizada embaixo de tudo, na mesma fonte do título */
.abertura-frase {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
  font-family: var(--titulo);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.3;
  color: var(--ouro-escuro);
  text-align: center;
  text-wrap: balance;
  animation: surgir 0.9s 0.9s var(--suavizar) both;
}

/* traços dourados dos dois lados da frase */
.abertura-frase::before,
.abertura-frase::after {
  content: "";
  flex: 0 0 auto;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro));
}

.abertura-frase::after {
  background: linear-gradient(90deg, var(--ouro), transparent);
}

@media (max-width: 700px) {
  .abertura-frase {
    display: block;
    max-width: 19rem;
    margin-top: 0;
    font-size: 1rem;
  }

  .abertura-frase::before,
  .abertura-frase::after {
    display: none;
  }
}

/* ---------- procedimentos em pastas ---------- */

.pastas {
  --pasta-borda: var(--linha-ouro);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.25rem, 3vw, 2.5rem);
}

/* pastas lado a lado; o conteúdo da pasta aberta ocupa a linha de baixo inteira */
.pastas > :nth-child(1) {
  grid-area: 1 / 1;
}

.pastas > :nth-child(3) {
  grid-area: 1 / 2;
}

.pastas > :nth-child(2),
.pastas > :nth-child(4) {
  grid-area: 2 / 1 / 3 / 3;
}

/* cores de cada pasta */
.pasta-facial {
  --pasta-costas: #e8b4ab;
  --pasta-frente-1: #fdeae6;
  --pasta-frente-2: #f6d2cb;
  --pasta-destaque: var(--rosa-4);
}

.pasta-corporal {
  --pasta-costas: #d6ae5f;
  --pasta-frente-1: #fbf1dc;
  --pasta-frente-2: #f0dcae;
  --pasta-destaque: var(--ouro-escuro);
}

.pasta-cabeca {
  margin: 0;
  font: inherit;
}

.pasta {
  position: relative;
  display: block;
  width: 100%;
  padding: 2.3rem 0 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}

.pasta:focus-visible {
  outline: none;
}

.pasta:focus-visible .pasta-frente {
  outline: 2px solid var(--ouro-escuro);
  outline-offset: 3px;
}

/* costas da pasta, com a aba em cima */
.pasta-fundo {
  position: absolute;
  inset: 1rem 0 0;
  border-radius: 4px 18px 18px 18px;
  background: var(--pasta-costas);
}

.pasta-fundo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 42%;
  height: 1.05rem;
  border-radius: 10px 6px 0 0;
  background: var(--pasta-costas);
  clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
}

/* folhas de papel que aparecem por trás da capa */
.pasta-papel {
  position: absolute;
  top: 1.45rem;
  left: 6%;
  right: 6%;
  height: 72%;
  border: 1px solid rgba(23, 19, 15, 0.08);
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #fbf7f1);
  box-shadow: 0 2px 6px rgba(23, 19, 15, 0.08);
  transition: transform 0.55s var(--suavizar);
}

/* linhas de "texto" desenhadas na folha */
.pasta-papel::before {
  content: "";
  position: absolute;
  inset: 0.6rem 12% auto;
  height: 0.9rem;
  background: repeating-linear-gradient(180deg, rgba(184, 135, 50, 0.35) 0 1px, transparent 1px 0.45rem);
}

.pasta-papel + .pasta-papel {
  top: 1.75rem;
  left: 11%;
  right: 3%;
  rotate: 2.5deg;
}

/* capa da frente: tomba um pouco para a frente ao passar o mouse e ao abrir */
.pasta-frente {
  position: relative;
  display: grid;
  gap: 0.3rem;
  min-height: 11.5rem;
  padding: 1.35rem 1.5rem 1.3rem;
  border-radius: 8px 8px 18px 18px;
  background: linear-gradient(170deg, var(--pasta-frente-1), var(--pasta-frente-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 -6px 14px -10px rgba(23, 19, 15, 0.35),
    0 18px 30px -18px rgba(166, 94, 88, 0.55);
  color: var(--preto);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--suavizar), box-shadow 0.4s;
}

.pasta-conta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pasta-destaque);
}

.pasta-nome {
  font-family: var(--titulo);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.1;
}

.pasta-previa {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--suave);
}

.pasta-acao {
  justify-self: start;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.45rem 0.6rem 0.45rem 1rem;
  border-radius: 999px;
  background: var(--branco);
  border: 1px solid var(--pasta-borda);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}

.pasta-acao svg {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--pasta-costas);
  color: var(--preto);
  transition: rotate 0.45s var(--suavizar);
}

/* passar o mouse: as folhas sobem um pouco */
.pasta:hover .pasta-papel {
  transform: translateY(-0.55rem);
}

.pasta:hover .pasta-papel + .pasta-papel {
  transform: translateY(-0.35rem) rotate(2deg);
}

.pasta:hover .pasta-frente {
  transform: rotateX(-9deg);
}

/* pasta aberta */
.pasta[aria-expanded="true"] .pasta-papel {
  transform: translateY(-0.95rem);
}

.pasta[aria-expanded="true"] .pasta-papel + .pasta-papel {
  transform: translateY(-0.7rem) rotate(4deg);
}

.pasta[aria-expanded="true"] .pasta-frente {
  transform: rotateX(-16deg);
}

.pasta[aria-expanded="true"] .pasta-acao {
  background: var(--preto);
  color: var(--branco);
  border-color: var(--preto);
}

.pasta[aria-expanded="true"] .pasta-acao svg {
  rotate: 45deg;
}

/* conteúdo da pasta: abre deslizando para baixo */
.pasta-conteudo {
  display: grid;
  grid-template-rows: 1fr;
}

.pasta-interior {
  min-height: 0;
  overflow: hidden;
}

.js .pasta-conteudo {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.55s var(--suavizar), visibility 0s 0.55s;
}

.js .pasta-conteudo.aberta {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.55s var(--suavizar), visibility 0s;
}

.folhas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--pasta-frente-1), var(--branco));
  border: 1px solid var(--pasta-borda);
}

/* cada procedimento é uma folha que sai da pasta */
.folha {
  position: relative;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 12px;
  background: var(--branco);
  border: 1px solid rgba(23, 19, 15, 0.08);
  box-shadow: 0 10px 20px -16px rgba(23, 19, 15, 0.5);
  transition: transform 0.3s var(--suavizar), box-shadow 0.3s;
}

.folha::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0;
  width: 2rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--pasta-costas);
}

.folha:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px -16px rgba(23, 19, 15, 0.55);
}

.folha dt {
  font-family: var(--titulo);
  font-size: 1.3rem;
  line-height: 1.15;
}

.folha dd {
  margin: 0.45rem 0 0;
  font-size: 0.97rem;
  color: var(--suave);
}

.js .pasta-conteudo .folha {
  opacity: 0;
  translate: 0 -14px;
  rotate: -1.5deg;
}

.js .pasta-conteudo.aberta .folha {
  opacity: 1;
  translate: 0 0;
  rotate: 0deg;
  transition: opacity 0.45s calc(0.12s + var(--i, 0) * 0.06s) var(--suavizar),
    translate 0.55s calc(0.12s + var(--i, 0) * 0.06s) var(--suavizar),
    rotate 0.55s calc(0.12s + var(--i, 0) * 0.06s) var(--suavizar), transform 0.3s var(--suavizar),
    box-shadow 0.3s;
}

/* no celular: uma pasta embaixo da outra, cada uma com o conteúdo logo abaixo */
@media (max-width: 700px) {
  .pastas {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .pastas > * {
    grid-area: auto !important;
  }

  .pasta-cabeca + .pasta-conteudo {
    margin-bottom: 1.25rem;
  }

  .pasta-conteudo.aberta {
    margin-top: 0.9rem;
  }

  .pasta-frente {
    min-height: 0;
    padding: 1.2rem 1.15rem 1.1rem;
  }

  .folhas {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .folha {
    padding: 1rem 1rem 1.05rem;
  }

  .folha dt {
    font-size: 1.2rem;
  }
}

/* sem animação: tudo aparece parado */
.sem-animacao .pasta-conteudo .folha {
  opacity: 1;
  translate: none;
  rotate: none;
}

/* ---------- dúvidas frequentes: um cartão que abre as perguntas e respostas ---------- */

/* frase embaixo do título "Dúvidas frequentes" */
.duas-colunas h2 + .faq-apoio {
  margin: -0.75rem 0 1.5rem;
  max-width: 30rem;
  color: var(--suave);
}

.faq-botao {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.3rem 1.25rem 1.3rem 1.5rem;
  border: 1px solid var(--linha-ouro);
  border-radius: 20px;
  background: linear-gradient(160deg, #fdf0ec 0%, #f8e1dc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 18px 30px -20px rgba(166, 94, 88, 0.6);
  color: var(--preto);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--suavizar), box-shadow 0.35s, border-radius 0.35s;
}

.faq-botao:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 24px 36px -20px rgba(166, 94, 88, 0.7);
}

.faq-botao:focus-visible {
  outline: 2px solid var(--ouro-escuro);
  outline-offset: 3px;
}

.faq-texto {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.faq-titulo {
  font-family: var(--titulo);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.2;
}

.faq-conta {
  font-size: 0.9rem;
  color: var(--rosa-4);
  font-weight: 600;
}

.faq-acao {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--linha-ouro);
  background: var(--branco);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.faq-acao svg {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--rosa-3);
  color: var(--preto);
  transition: rotate 0.45s var(--suavizar);
}

.faq-botao[aria-expanded="true"] {
  border-radius: 20px 20px 8px 8px;
}

.faq-botao[aria-expanded="true"] .faq-acao {
  background: var(--preto);
  border-color: var(--preto);
  color: var(--branco);
}

.faq-botao[aria-expanded="true"] .faq-acao svg {
  rotate: 45deg;
}

/* conteúdo: abre deslizando para baixo */
.faq-conteudo {
  display: grid;
  grid-template-rows: 1fr;
}

.faq-interior {
  min-height: 0;
  overflow: hidden;
}

.js .faq-conteudo {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.55s var(--suavizar), visibility 0s 0.55s;
}

.js .faq-conteudo.aberta {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.55s var(--suavizar), visibility 0s;
}

.faq-lista {
  display: grid;
  gap: 0.7rem;
  margin: 0.7rem 0 0;
}

/* cada pergunta com a resposta logo embaixo */
.faq-item {
  position: relative;
  padding: 1.05rem 1.2rem 1.1rem 1.35rem;
  border-radius: 14px;
  background: var(--branco);
  border: 1px solid rgba(23, 19, 15, 0.08);
  box-shadow: 0 10px 20px -16px rgba(23, 19, 15, 0.5);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--ouro);
}

.faq-item dt {
  font-weight: 700;
  line-height: 1.35;
}

.faq-item dd {
  margin: 0.4rem 0 0;
  color: var(--suave);
}

.js .faq-conteudo .faq-item {
  opacity: 0;
  translate: 0 -12px;
}

.js .faq-conteudo.aberta .faq-item {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.45s calc(0.1s + var(--i, 0) * 0.07s) var(--suavizar),
    translate 0.5s calc(0.1s + var(--i, 0) * 0.07s) var(--suavizar);
}

.sem-animacao .faq-conteudo .faq-item {
  opacity: 1;
  translate: none;
}

@media (max-width: 700px) {
  .faq-botao {
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 1.1rem;
  }

  .faq-texto {
    flex-basis: 100%;
  }

  .faq-item {
    padding: 0.95rem 1rem 1rem 1.15rem;
  }
}

/* convite depois dos procedimentos: pequeno, centralizado, com a estrela da marca */
.convite {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  max-width: 34rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 1.6rem 1.75rem 1.75rem;
  border: 1px solid var(--linha-ouro);
  border-radius: var(--raio);
  background: linear-gradient(180deg, var(--rosa-1), var(--branco));
  text-align: center;
}

.convite-estrela {
  width: 1.15rem;
  margin-bottom: 0.35rem;
  fill: var(--ouro);
  animation: cintilar 3.2s ease-in-out infinite;
}

@keyframes cintilar {
  0%,
  100% {
    scale: 0.75;
    rotate: 0deg;
  }
  50% {
    scale: 1.1;
    rotate: 45deg;
  }
}

.convite-pergunta {
  font-family: var(--titulo);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  text-wrap: balance;
}

.convite-texto {
  color: var(--suave);
}

.convite .botao {
  margin-top: 0.9rem;
}

@media (max-width: 700px) {
  .convite {
    padding: 1.4rem 1.1rem 1.5rem;
  }

  .convite .botao {
    width: 100%;
  }
}

/* ---------- economia: animações sem fim param quando a parte sai da tela ---------- */

.fora-da-tela,
.fora-da-tela *,
.fora-da-tela *::before,
.fora-da-tela *::after {
  animation-play-state: paused !important;
}

/* ---------- segurança: navegador sem animação mostra tudo parado ---------- */

.sem-animacao *,
.sem-animacao *::before,
.sem-animacao *::after {
  animation: none !important;
  transition: none !important;
}

.sem-animacao [data-revelar],
.sem-animacao .passos li {
  opacity: 1 !important;
  translate: none !important;
}

.sem-animacao [data-revelar] h2::after {
  clip-path: none !important;
}

.sem-animacao .passos::before {
  transform: none !important;
}

.sem-animacao .confirmado-marca circle,
.sem-animacao .confirmado-marca path {
  stroke-dashoffset: 0;
}

.sem-animacao .botao-ouro::after,
.sem-animacao .cursor {
  display: none;
}

/* ---------- telas menores ---------- */

/* tablet e celular */
@media (max-width: 960px) {
  .cursor {
    display: none;
  }

  /* topo: logo, botão de agendar e menu que abre para baixo */
  .topo-linha {
    gap: 0.75rem;
    min-height: 4.25rem;
  }

  .marca img {
    height: 3.6rem;
  }

  .menu-botao {
    display: block;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
    background: var(--branco);
    border-bottom: 1px solid var(--linha-ouro);
    box-shadow: 0 24px 40px -20px rgba(23, 19, 15, 0.35);
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    translate: 0 -0.75rem;
    transition: opacity 0.25s, translate 0.3s var(--suavizar), visibility 0s 0.3s;
  }

  .topo.menu-aberto .menu {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: opacity 0.25s, translate 0.3s var(--suavizar), visibility 0s;
  }

  .menu a {
    display: flex;
    align-items: center;
    min-height: 3.4rem;
    padding: 0;
    border-bottom: 1px solid var(--linha);
    color: var(--preto);
  }

  .menu a::after {
    display: none;
  }

  .menu .menu-agendar {
    display: flex;
    justify-content: center;
    margin-top: 1.1rem;
    border: 1px solid #a8792a;
    border-radius: 999px;
    background: linear-gradient(180deg, #f6e2a8 0%, #e2bf6c 46%, #c99c45 100%);
    color: #2a1c06;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 22px -12px rgba(128, 89, 26, 0.75);
  }

  /* abertura: logo em cima, textos centralizados embaixo */
  .abertura-grade {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
  }

  .logo-central {
    order: -1;
    width: min(72%, 19rem);
  }

  .abertura-esquerda {
    text-align: center;
    max-width: 34rem;
  }

  .abertura h1 {
    font-size: clamp(2rem, 6.4vw, 2.9rem);
  }

  /* a lista fica centralizada, mas as estrelas alinhadas numa coluna */
  .abertura-fatos {
    width: max-content;
    max-width: 100%;
    margin: 0 auto 1.75rem;
    justify-items: start;
    text-align: left;
  }

  .abertura-acoes {
    align-items: center;
  }

  /* agendamento: a conversa vem logo depois do título, os próximos horários depois */
  .agendar-grade,
  .duas-colunas {
    grid-template-columns: minmax(0, 1fr);
  }

  .agendar-grade {
    row-gap: 1.5rem;
  }

  .agendar-texto {
    display: contents;
  }

  .agendar-texto > h2 {
    order: 1;
  }

  .agendar-texto > p:first-of-type {
    order: 2;
    margin-top: -0.5rem;
  }

  .painel {
    order: 3;
  }

  .proximos {
    order: 4;
    margin-top: 0;
  }

  .agendar-contato {
    order: 5;
    margin-top: 0;
  }

  .passos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3.5rem;
  }

  .passos::before {
    display: none;
  }

  /* rodapé em duas colunas, logo em cima */
  .rodape-grade {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem 2rem;
  }

  .rodape-logo {
    grid-column: 1 / -1;
    width: 10rem;
  }
}

/* celular */
@media (max-width: 700px) {
  body {
    font-size: 1rem;
  }

  .largura {
    width: min(1180px, 100% - 2rem);
  }

  .secao {
    padding-block: 3.5rem;
  }

  h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.1rem);
  }

  .cabecalho-secao {
    margin-bottom: 1.75rem;
  }

  .cabecalho-secao p {
    font-size: 1rem;
  }

  .botao {
    white-space: normal;
  }

  /* abertura */
  .abertura {
    padding-block: 1.75rem 4.5rem;
    border-radius: 0 0 50% 50% / 0 0 2.25rem 2.25rem;
  }

  .faixa {
    margin-top: -2.25rem;
    padding-block: calc(2.25rem + 0.8rem) 0.8rem;
  }

  .faixa span {
    font-size: 1rem;
  }

  .faixa span::after {
    margin-inline: 1.1rem;
  }

  .logo-central {
    width: min(68%, 16rem);
  }

  .abertura h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.5rem);
  }

  .abertura-fatos {
    font-size: 1rem;
    gap: 0.6rem;
  }

  .abertura-direita,
  .abertura-acoes {
    width: 100%;
  }

  .abertura-acoes .botao {
    width: min(100%, 22rem);
  }

  /* procedimentos */
  .carta-grupo {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
    padding-block: 1.25rem;
  }

  .carta-grupo > h3 {
    padding-top: 0;
  }

  .carta-grupo dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding: 0.9rem 0.25rem;
  }

  .carta-grupo dl > div:hover {
    padding-left: 0.25rem;
    background: transparent;
  }

  .carta-grupo dl > div::before {
    display: none;
  }

  .carta-grupo dt {
    font-size: 1.35rem;
  }

  /* resultados: fotos menores, arrastando para o lado */
  .controles-galeria {
    display: none;
  }

  .galeria {
    gap: 0.9rem;
    padding-inline: 1rem;
    scroll-padding-inline: 1rem;
    scroll-snap-type: x mandatory;
  }

  /* como funciona */
  .passos {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.75rem;
  }

  /* agendamento */
  .proximos {
    padding: 1.2rem 1.1rem 1rem;
  }

  .painel {
    border-radius: var(--raio);
  }

  .etapas {
    font-size: 0.78rem;
  }

  .etapas li {
    gap: 0.3rem;
    padding: 0.75rem 0.2rem;
  }

  .etapas li::before {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.72rem;
  }

  .chat {
    height: min(34rem, calc(100svh - 6rem));
    min-height: 26rem;
  }

  .chat-topo {
    padding: 0.75rem 0.9rem;
  }

  .chat-mensagens,
  .chat-opcoes,
  .chat-entrada {
    padding-inline: 0.9rem;
  }

  .msg {
    max-width: 90%;
  }

  .escolha,
  .agenda-confirmado {
    padding: 1.1rem 1rem 1.25rem;
  }

  .agenda-bloco h3 {
    font-size: 1.2rem;
  }

  .dia {
    min-width: 4.5rem;
  }

  .horas {
    grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
  }

  .confirmado-acoes .botao,
  #agenda-enviar {
    width: 100%;
  }

  /* dúvidas e locais */
  .duas-colunas {
    gap: 3rem;
  }

  .duas-colunas h2 {
    margin-bottom: 1.25rem;
  }

  /* foto ampliada */
  .visor[open] {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.75rem;
  }

  .visor-seta {
    position: absolute;
    bottom: 1rem;
  }

  .visor-voltar {
    left: 1rem;
  }

  .visor-avancar {
    right: 1rem;
  }

  .visor img {
    max-height: calc(100svh - 9rem);
  }

  /* rodapé: tudo centralizado, um bloco embaixo do outro */
  .rodape {
    padding-top: 3rem;
    text-align: center;
  }

  .rodape-grade {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 2rem;
  }

  .rodape-logo {
    width: 8.5rem;
  }

  .rodape-grade > div {
    width: 100%;
    max-width: 20rem;
  }

  .rodape h2 {
    margin-bottom: 0.4rem;
  }

  .rodape ul {
    gap: 0;
    justify-items: center;
  }

  .rodape li {
    padding-block: 0.3rem;
  }

  .rodape li a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
  }

  .rodape-fim {
    flex-direction: column;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.85rem;
  }

  .rodape .credito {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* celulares pequenos */
@media (max-width: 380px) {
  .topo-acoes .botao {
    padding-inline: 0.95rem;
    font-size: 0.9rem;
  }

  .marca img {
    height: 3.2rem;
  }

  .dia {
    min-width: 4.2rem;
  }
}

/* ---------- menos movimento, para quem prefere ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-revelar],
  .js .passos li {
    opacity: 1;
    translate: 0 0;
  }

  .faixa-trilho {
    animation: none;
  }
}
