/*
  Estilos do site da Clínica CardioFrequência.
  O arquivo segue a mesma ordem das partes da página, de cima para baixo.
*/

/* Fontes (Stack Sans, SIL OFL 1.1 — fonts/OFL.txt), servidas pela própria landing.
   Um arquivo variável por família cobre todos os pesos usados. Só o subconjunto "latin"
   (suficiente para português); o nome do arquivo tem versão, então pode ter cache longo. */
@font-face {
  font-family: "Stack Sans Headline";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/stack-sans-headline-latin.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Stack Sans Text";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/stack-sans-text-latin.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cores, animações e sombra usadas no site todo. Para trocar uma cor, é só mudar aqui. */
:root {
  --ivory: #fbf7f5;
  --blush: #f5e8e6;
  --white: #ffffff;
  --ink: #3a2e30;
  --soft-ink: #5e5053;
  --muted: #7d6e71;
  --line: #eadfdd;
  --red: #b41f36;
  --red-d: #931629;
  --wine: #5e1422;
  --cream: #f8ece9;
  --e: cubic-bezier(0.2, 0, 0, 1);
  --ed: cubic-bezier(0.05, 0.7, 0.1, 1);
  --shadow:
    0 2px 6px rgba(94, 20, 34, 0.05), 0 24px 50px -24px rgba(94, 20, 34, 0.25);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* Ajustes básicos que valem para a página inteira */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(90px + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family:
    "Stack Sans Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto; /* com width/height no HTML, mantém a proporção onde o CSS não define altura */
  display: block;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 10px;
}
h1,
h2,
h3 {
  font-family:
    "Stack Sans Headline", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0;
}
/* Caixa que centraliza o conteúdo e limita a largura */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== Botões ========== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font:
    600 17px/1 "Stack Sans Text",
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.3s var(--e),
    transform 0.3s var(--e),
    box-shadow 0.3s var(--e);
  isolation: isolate;
}
.btn:hover {
  transform: translateY(-2px);
}
/* Botão vermelho */
.btn-r {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(180, 31, 54, 0.7);
}
.btn-r:hover {
  background: var(--red-d);
}
/* Botão branco */
.btn-w {
  background: #fff;
  color: var(--ink);
}
.btn-w:hover {
  background: var(--cream);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
/* Efeito de "onda" quando alguém clica no botão */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.16;
  transform: scale(0);
  pointer-events: none;
  z-index: -1;
  animation: ripple 0.6s var(--ed) forwards;
}
@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ========== Menu do topo ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition:
    background 0.35s var(--e),
    box-shadow 0.35s var(--e);
}
.nav.solid {
  background: rgba(251, 247, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Símbolo + nome da clínica */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand .mk {
  width: 42px;
  height: 42px;
  flex: none;
}
.brand .mk img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.brand .tx {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand b {
  display: block;
  font-family: "Stack Sans Headline", sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--red);
  white-space: nowrap;
}
.brand b span {
  color: #2a2022;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  color: #6e6466;
  margin-top: 7px;
  white-space: nowrap;
}
/* Links do menu (computador) */
.links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 var(--line);
}
.links a {
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--soft-ink);
  transition:
    background 0.25s var(--e),
    color 0.25s var(--e);
}
.links a:hover {
  background: var(--blush);
  color: var(--ink);
}
.nav .wrap > .btn {
  min-height: 50px;
  padding: 0 22px;
  font-size: 16px;
  white-space: nowrap;
}
/* Botão de menu com os dois risquinhos (celular) */
.menubtn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menubtn i {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ed);
}
.menubtn i:first-child {
  transform: translateY(-4px);
}
.menubtn i:last-child {
  transform: translateY(4px);
}
.menubtn[aria-expanded="true"] i:first-child {
  transform: rotate(45deg);
}
.menubtn[aria-expanded="true"] i:last-child {
  transform: rotate(-45deg);
}
.menubtn:focus-visible {
  outline-offset: -2px;
}
.nav.menu-open {
  background: var(--ivory);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Menu que abre por cima da tela (celular) */
.drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--navh, 68px);
  bottom: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--ivory);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s var(--e),
    visibility 0s linear 0.3s;
}
.drawer.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s var(--e);
}
.drawer a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: "Stack Sans Headline", sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s var(--e),
    transform 0.5s var(--ed);
}
.drawer a:not(.btn)::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-top: 1.6px solid var(--muted);
  border-right: 1.6px solid var(--muted);
  transform: rotate(45deg);
}
.drawer.open a:not(.btn) {
  opacity: 1;
  transform: none;
}
.drawer.open a:nth-child(2) {
  transition-delay: 0.04s;
}
.drawer.open a:nth-child(3) {
  transition-delay: 0.08s;
}
.drawer.open a:nth-child(4) {
  transition-delay: 0.12s;
}
.drawer .dfoot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer .dfoot .btn {
  width: 100%;
}
.drawer .dfoot small {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ========== Capa (primeira parte do site) ========== */
.hero {
  position: relative;
}
.hero-g {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: min(900px, 100vh);
  min-height: min(900px, 100svh);
}
/* Lado esquerdo: título, texto e botões */
.hero-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 56px 70px max(40px, calc((100vw - 1160px) / 2));
}
.hero h1 {
  font-size: clamp(44px, 4.3vw, 72px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.045em;
}
.hero h1 b {
  font-weight: 500;
  color: var(--red);
}
.hero h1 .ln {
  display: block;
  clip-path: inset(0 -100vw);
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero h1 .ln > span {
  white-space: nowrap;
  display: inline-block;
  animation: up 1s var(--ed) both;
}
.hero h1 .ln:nth-child(2) > span {
  animation-delay: 0.09s;
}
.hero h1 .ln:nth-child(3) > span {
  animation-delay: 0.18s;
}
@keyframes up {
  from {
    transform: translateY(105%);
  }
  to {
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--soft-ink);
  max-width: 460px;
  margin: 24px 0 34px;
  animation: fade 0.8s var(--e) 0.3s both;
}
/* Grupo de botões */
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .cta {
  animation: fade 0.8s var(--e) 0.4s both;
}
/* Horário, convênio e agendamento embaixo dos botões */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  animation: fade 0.8s var(--e) 0.55s both;
}
.facts dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.facts dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}
.facts dd span {
  display: block;
  font-weight: 400;
  color: var(--soft-ink);
}
.facts dd .live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}
.facts dd .live.on {
  color: #1f7a4b;
  font-weight: 600;
}
.facts dd .live span {
  display: inline;
  color: inherit;
  font-weight: inherit;
}
.live i {
  flex: none;
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a99c9e;
}
.live.on i {
  background: #2e9d62;
}
.live.on i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2e9d62;
  animation: ping 2.4s var(--e) infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  80%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
/* Lado direito: foto grande */
.hero-r {
  position: relative;
  border-bottom-left-radius: 0;
  overflow: hidden;
  border-top-left-radius: min(38vw, 460px);
  background: var(--blush);
  animation: reveal 1.4s var(--ed) 0.1s both;
}
@keyframes reveal {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.hero-r img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hp, 50% 55%);
  transform: scale(var(--hs, 1.06));
  transform-origin: 60% 40%;
  will-change: transform;
}

/* ========== Exames (os três cartões com foto) ========== */
.exams {
  background: var(--white);
  border-radius: 48px 48px 0 0;
  padding: 110px 0;
}
/* Título das seções, com texto ou setas ao lado */
.sec-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.sec-h h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05;
  max-width: 620px;
}
.sec-h p {
  margin: 0;
  max-width: 360px;
  font-size: 18px;
  color: var(--soft-ink);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  position: relative;
  display: block;
  height: 460px;
  border: 0;
  padding: 0;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: var(--blush);
  color: #fff;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ed);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(62, 12, 22, 0.82) 0%,
    rgba(62, 12, 22, 0.25) 45%,
    rgba(62, 12, 22, 0) 70%
  );
}
.tile:hover img {
  transform: scale(1.05);
}
.tile .in {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.tile h3 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
}
.tile small {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  opacity: 0.85;
}
.tile .go {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--e);
}
.tile:hover .go {
  transform: rotate(-45deg);
}
.tile .go svg {
  width: 22px;
  height: 22px;
}

/* ========== Faixa com os nomes dos exames passando ========== */
.ticker {
  background: var(--wine);
  color: var(--cream);
  padding: 30px 0;
  overflow: hidden;
}
.tk {
  display: flex;
  width: max-content;
  animation: tk 180s linear infinite;
}
.tk span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: "Stack Sans Headline", sans-serif;
  font-weight: 300;
  font-size: 34px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.tk svg {
  width: 26px;
  height: 26px;
  color: #e27886;
  flex: none;
}
@keyframes tk {
  to {
    transform: translateX(-50%);
  }
}

/* ========== Painel lateral com a lista de exames ========== */
dialog.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(560px, 100%);
  height: 100%;
  max-height: none;
  max-width: none;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.4);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog.sheet[open] {
  animation: slide 0.5s var(--ed);
}
dialog.sheet::backdrop {
  background: rgba(58, 46, 48, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@keyframes slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
.sh-top {
  position: relative;
  height: 220px;
}
.sh-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(62, 12, 22, 0.75),
    rgba(62, 12, 22, 0) 70%
  );
}
.sh-top h3 {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-size: 36px;
}
.sh-x {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sh-body {
  padding: 24px 28px 40px;
}
.sh-body > p {
  margin: 0 0 18px;
  color: var(--soft-ink);
  font-size: 16px;
}
/* Cada exame da lista, que abre e fecha ao tocar */
.xrow {
  border-radius: 18px;
  background: #fff;
  margin-bottom: 10px;
  box-shadow: 0 1px 0 var(--line);
  overflow: hidden;
}
.xrow > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.xrow > button .pl {
  margin-left: auto;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s var(--e),
    background 0.3s;
}
.xrow.open > button .pl {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
}
.xb {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--e);
}
.xrow.open .xb {
  grid-template-rows: 1fr;
}
.xb > div {
  overflow: hidden;
}
.xb p {
  margin: 0;
  padding: 0 20px 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--soft-ink);
}
.xb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.xb a svg {
  width: 18px;
  height: 18px;
}

/* ========== Como agendar (celular com a conversa) ========== */
.how {
  padding: 120px 0;
  background: var(--blush);
}
.how-g {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.how-l {
  grid-column: 1/7;
}
.how-l h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05;
}
/* Os três passos numerados */
.st {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.st li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  font-weight: 500;
  transition:
    background 0.4s var(--e),
    box-shadow 0.4s var(--e),
    transform 0.4s var(--e);
}
.st li i {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 600;
  transition:
    background 0.4s var(--e),
    color 0.4s var(--e);
}
.st li.on {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(6px);
}
.st li.on i {
  background: var(--red);
  color: #fff;
}
.how .btn {
  margin-top: 30px;
}
/* O celular desenhado e a tela do WhatsApp */
.phone-w {
  grid-column: 8/13;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 330px;
  aspect-ratio: 720/1493;
  container-type: inline-size;
  filter: drop-shadow(0 34px 44px rgba(94, 20, 34, 0.28))
    drop-shadow(0 6px 12px rgba(94, 20, 34, 0.12));
}
.phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.screen {
  position: absolute;
  left: 5%;
  top: 1.8%;
  right: 7.2%;
  bottom: 4.2%;
  border-radius: 12.5cqw;
  overflow: hidden;
  background: #efe7de;
  display: flex;
  flex-direction: column;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Stack Sans Text", sans-serif;
}
/* Barra de hora e bateria do celular */
.sbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 12.5cqw;
  padding: 0 8cqw 0 9cqw;
  background: #f7f4f1;
  font-size: 4.4cqw;
  font-weight: 600;
  color: #1b1416;
  letter-spacing: -0.01em;
}
.sbar svg {
  height: 3.6cqw;
  width: auto;
  margin-left: 1.4cqw;
}
/* Topo da conversa com o nome da clínica */
.bar {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 1.5cqw 3.6cqw 3cqw 2.4cqw;
  background: #f7f4f1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.bar .back {
  width: 6cqw;
  height: 6cqw;
  color: #1f7a4b;
  flex: none;
}
.bar .av {
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  background: #fff;
}
.bar .who {
  flex: 1;
  min-width: 0;
}
.bar b {
  display: block;
  font-size: 4.5cqw;
  font-weight: 600;
  line-height: 1.2;
  color: #1b1416;
}
.bar .who span {
  display: block;
  font-size: 3.5cqw;
  color: #6e6466;
}
.bar .act {
  display: flex;
  gap: 4.5cqw;
  color: #1f7a4b;
}
.bar .act svg {
  width: 5.8cqw;
  height: 5.8cqw;
}
.msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.2cqw;
  padding: 3.6cqw 3.2cqw 2.4cqw;
  background: #efe7de
    radial-gradient(rgba(94, 20, 34, 0.05) 1px, transparent 1.2px) 0 0/5cqw 5cqw;
}
.day {
  align-self: center;
  padding: 1cqw 3cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, 0.8);
  font-size: 3.3cqw;
  font-weight: 500;
  color: #6e6466;
  margin-bottom: 1cqw;
}
/* Campo de digitar mensagem */
.inp {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 2.4cqw 3.2cqw 4.2cqw;
  background: #f7f4f1;
}
.inp span {
  flex: 1;
  height: 10cqw;
  border-radius: 5cqw;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 0 3.6cqw;
  font-size: 4cqw;
  color: #9a8f91;
}
.inp i {
  flex: none;
  width: 10cqw;
  height: 10cqw;
  border-radius: 50%;
  background: #1f7a4b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.inp i svg {
  width: 5cqw;
  height: 5cqw;
}
/* Balões de mensagem */
.m {
  max-width: 82%;
  padding: 2.4cqw 3.2cqw 1.6cqw;
  border-radius: 3.6cqw;
  font-size: 4.2cqw;
  line-height: 1.4;
  background: #fff;
  color: #1b1416;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom left;
  transition:
    opacity 0.45s var(--ed),
    transform 0.45s var(--ed);
}
.m.me {
  align-self: flex-end;
  background: #dcf5d0;
  transform-origin: bottom right;
}
.m.show {
  opacity: 1;
  transform: none;
}
.m small {
  display: block;
  text-align: right;
  font-size: 3cqw;
  color: #7e7577;
  margin-top: 0.6cqw;
}
.m.me small::after {
  content: " ✓✓";
  color: #3b8fd8;
  letter-spacing: -0.18em;
  margin-left: 0.3em;
}
/* Os três pontinhos de "digitando..." */
.typing {
  align-self: flex-start;
  display: none;
  gap: 1.2cqw;
  padding: 3.4cqw 3.8cqw;
  border-radius: 3.6cqw;
  background: #fff;
}
.typing.show {
  display: flex;
}
.typing i {
  width: 2cqw;
  height: 2cqw;
  border-radius: 50%;
  background: #b8aaad;
  animation: dot 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ========== A clínica (fotos passando) ========== */
.clinic {
  padding: 120px 0 110px;
  overflow: hidden;
}
.car-nav {
  display: flex;
  gap: 10px;
}
/* Botões de seta (usados aqui e nas avaliações) */
.arw {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s var(--e),
    color 0.3s var(--e),
    transform 0.3s var(--e);
}
.arw:hover {
  background: var(--red);
  color: #fff;
}
.arw svg {
  width: 20px;
  height: 20px;
}
.track {
  overflow: hidden;
  padding: 0 0 10px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.track.drag {
  cursor: grabbing;
}
.belt {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}
.track img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.slide {
  flex: none;
  width: min(520px, 78vw);
  margin: 0;
}
.slide .ph {
  height: 400px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--blush);
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ed);
}
.slide:hover img {
  transform: scale(1.04);
}
.slide figcaption {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--soft-ink);
}
/* Os três destaques embaixo das fotos */
.vals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
}
.val {
  display: flex;
  align-items: center;
  gap: 16px;
}
.val .ic {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blush);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.val .ic svg {
  width: 24px;
  height: 24px;
}
.val b {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

/* ========== Convênio (KLINI e Particular) ========== */
.conv {
  padding: 0 0 110px;
}
.conv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.conv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 44px;
  border-radius: 36px;
  color: #fff;
  overflow: hidden;
}
.conv-card::before,
.conv-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}
.conv-card::before {
  width: 320px;
  height: 320px;
  right: -100px;
  top: -150px;
}
.conv-card::after {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -90px;
}
.conv-card--klini {
  background: var(--red);
}
.conv-card--particular {
  background: var(--wine);
}
.conv-l {
  position: relative;
  z-index: 1;
}
.conv-l h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 400;
}
.conv-l p {
  margin: 0 0 24px;
  font-size: 16px;
  opacity: 0.9;
}
/* Etiquetas com os nomes dos exames */
.conv-r {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}
.conv-r span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 500;
}
.conv-r span.hl {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* ========== Avaliações dos pacientes ========== */
.revs {
  background: var(--wine);
  color: var(--cream);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.revs::before {
  content: "“";
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  font-family: "Stack Sans Headline", sans-serif;
  font-size: 420px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.rv-in {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.rv-src {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 500;
  color: #f1a7b1;
}
.stars {
  display: inline-flex;
  gap: 4px;
  color: #f5b942;
}
.stars svg {
  width: 22px;
  height: 22px;
}
.quote {
  position: relative;
  min-height: 190px;
}
.q {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s var(--e),
    transform 0.7s var(--e);
  pointer-events: none;
}
.q.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.q blockquote {
  margin: 0;
  font-family: "Stack Sans Headline", sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.q cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 17px;
  color: #d9b8bd;
}
.q cite b {
  color: #fff;
  font-weight: 600;
}
.rv-ctl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.rv-ctl .arw {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}
.rv-ctl .arw:hover {
  background: #fff;
  color: var(--wine);
}
/* Bolinhas que mostram qual avaliação está na tela */
.dots {
  display: flex;
  gap: 8px;
}
.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition:
    width 0.5s var(--e),
    background 0.5s var(--e);
}
.dots button[aria-current="true"] {
  width: 32px;
  background: #fff;
}
.glink {
  display: inline-block;
  margin-top: 30px;
  color: #f1a7b1;
  font-size: 16px;
  font-weight: 500;
}

/* ========== Onde estamos (mapa e endereço) ========== */
.loc {
  padding: 120px 0;
}
.loc-card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.loc-map {
  grid-column: 1/8;
  position: relative;
  min-height: 520px;
  background: #f3e9e6;
  isolation: isolate;
}
.loc-map .ml {
  position: absolute;
  inset: 0;
}
/* O que aparece enquanto o mapa carrega */
.map-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--soft-ink);
  font-size: 16px;
  text-align: center;
  padding: 24px;
  background: #f3e9e6
    radial-gradient(rgba(94, 20, 34, 0.07) 1px, transparent 1.3px) 0 0/18px 18px;
}
.map-ph svg {
  width: 40px;
  height: 40px;
  color: var(--red);
}
/* Marcador da clínica no mapa */
.pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 8px 14px rgba(94, 20, 34, 0.35));
}
.pin .pl {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font:
    600 14px "Stack Sans Text",
    sans-serif;
  white-space: nowrap;
}
.pin .pl img {
  width: 28px;
  height: 28px;
}
.pin .tip {
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-6px) rotate(45deg);
  border-radius: 2px;
}
.pin .dot {
  width: 14px;
  height: 14px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
}
/* Botões de zoom do mapa */
.maplibregl-ctrl-group {
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(94, 20, 34, 0.14) !important;
  overflow: hidden;
}
.maplibregl-ctrl-group button {
  width: 38px !important;
  height: 38px !important;
}
.maplibregl-ctrl-attrib {
  font-size: 11px;
}
/* Endereço, horário e telefones ao lado do mapa */
.loc-in {
  grid-column: 8/13;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.loc-in h2 {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.05;
}
.li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.li .ic {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--blush);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.li .ic svg {
  width: 22px;
  height: 22px;
}
.li b {
  display: block;
  font-weight: 600;
  font-size: 17px;
}
.li span {
  font-size: 17px;
  color: var(--soft-ink);
  line-height: 1.5;
}
/* Linhas que são links (telefone e WhatsApp) */
a.li {
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
}
a.li .ic {
  transition:
    background 0.25s var(--e),
    color 0.25s var(--e);
}
a.li:hover .ic {
  background: var(--red);
  color: #fff;
}
.loc-in .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.loc-in .btn {
  min-height: 52px;
  padding: 0 20px;
  font-size: 16px;
}
.loc-in .btn-w {
  background: var(--blush);
}

/* ========== Chamada final ========== */
.final {
  padding: 0 0 110px;
}
.fin {
  position: relative;
  text-align: center;
  padding: 90px 40px;
  border-radius: 40px;
  background: var(--blush);
  overflow: hidden;
}
.fin h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 300;
}
.fin h2 b {
  font-weight: 500;
  color: var(--red);
}
.fin p {
  margin: 18px auto 32px;
  max-width: 460px;
  color: var(--soft-ink);
  font-size: 19px;
}
.fin .cta {
  justify-content: center;
  animation: none;
}

/* ========== Rodapé ========== */
.foot {
  background: var(--wine);
  color: #e3c9cd;
  padding: 64px 0 40px;
  font-size: 16px;
  border-radius: 40px 40px 0 0;
}
.foot-g {
  display: grid;
  /* A coluna do meio (Contato) cresce o quanto precisar para o e-mail caber numa linha só */
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: 48px 64px;
}
.foot .email {
  white-space: nowrap;
}
.foot .brand b {
  color: #fff;
}
.foot .brand b span {
  color: #f3e1e4;
}
.foot .brand small {
  color: #d2aeb4;
}
.foot p {
  margin: 18px 0 0;
  line-height: 1.6;
  max-width: 320px;
}
.foot h3 {
  font-family: "Stack Sans Text", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d2aeb4;
  margin: 6px 0 18px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot a {
  color: #f3e1e4;
  text-decoration: none;
  transition: color 0.2s var(--e);
}
.foot a:hover {
  color: #fff;
}
.fl li,
.fl a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
}
.fl small {
  display: block;
  font-size: 13px;
  color: #d2aeb4;
  margin-bottom: 2px;
}
.fi {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1a7b1;
  transition:
    background 0.2s var(--e),
    color 0.2s var(--e);
}
.fi svg {
  width: 18px;
  height: 18px;
}
.fl a:hover .fi {
  background: #fff;
  color: var(--wine);
}
/* Ícones das redes sociais */
.soc {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.soc a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3e1e4;
}
.soc a:hover {
  background: #fff;
  color: var(--wine);
}
.soc svg {
  width: 20px;
  height: 20px;
}
/* Impede que o texto quebre no meio */
.nw {
  white-space: nowrap;
}
.foot-b {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #d2aeb4;
}

/* ========== Barra fixa no pé da tela com Ligar e WhatsApp (só aparece no celular) ========== */
.mbar {
  display: none;
}
/* Esconde a barra enquanto o menu do celular está aberto */
html.menu-open .mbar {
  display: none;
}

/* ========== Efeito das partes aparecendo ao rolar a página ========== */
.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ed),
    transform 0.9s var(--ed);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}
/* Para quem configurou o aparelho para ter menos animação */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }
  .m {
    opacity: 1;
    transform: none;
  }
}

/* ========== Telas menores ========== */
/* Notebook: informações da capa uma embaixo da outra */
@media (max-width: 1200px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .facts > div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
  }
  .facts dt {
    margin: 0;
    font-size: 12px;
  }
}
/* Tablet: troca os links do menu pelo botão de menu e o rodapé passa para duas colunas */
@media (max-width: 1120px) {
  .links {
    display: none;
  }
  .menubtn {
    display: inline-flex;
  }
  .nav .wrap > .btn {
    display: none;
  }
  .foot-g {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 24px;
  }
  .foot-g > :first-child {
    grid-column: 1/-1;
  }
}
/* Celular */
@media (max-width: 900px) {
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 20px;
  }
  .brand small {
    display: none;
  }
  .nav {
    padding: 12px 0;
  }
  .brand {
    gap: 10px;
  }
  .brand .mk {
    width: 34px;
    height: 34px;
  }
  .brand b {
    font-size: 15px;
    letter-spacing: 0.03em;
  }
  .hero-g {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero-l {
    padding: 108px 20px 40px;
  }
  .hero p {
    font-size: 18px;
  }
  .facts {
    margin-top: 32px;
  }
  .hero-r {
    height: 440px;
    margin: 0 20px;
    border-radius: 120px 30px 30px 30px;
  }
  .cta .btn {
    flex: 1 1 100%;
  }
  .exams {
    padding: 80px 0;
    border-radius: 32px 32px 0 0;
  }
  .tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .tile {
    height: 240px;
    border-radius: 26px;
  }
  .tk span {
    font-size: 26px;
  }
  .how {
    padding: 80px 0;
  }
  .how-l,
  .phone-w {
    grid-column: 1/-1;
  }
  .phone-w {
    margin-top: 40px;
  }
  .phone {
    width: min(300px, 78vw);
  }
  .clinic {
    padding: 80px 0;
  }
  .slide .ph {
    height: 300px;
  }
  .vals {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 40px;
  }
  .val .ic {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .val b {
    font-size: 17px;
  }
  .conv {
    padding-bottom: 80px;
  }
  .conv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .conv-card {
    padding: 34px 26px;
    border-radius: 30px;
  }
  .revs {
    padding: 80px 0;
  }
  .quote {
    min-height: 320px;
  }
  .loc {
    padding: 80px 0;
  }
  .loc-card {
    border-radius: 30px;
  }
  .loc-map,
  .loc-in {
    grid-column: 1/-1;
  }
  .loc-map {
    min-height: 340px;
  }
  .loc-in {
    padding: 30px 24px;
  }
  .fin {
    padding: 60px 24px;
    border-radius: 30px;
  }
  .foot .email {
    white-space: normal;
  }
  .final {
    padding-bottom: 80px;
  }
  .mbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 247, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mbar .btn {
    min-height: 54px;
  }
  .mbar .btn-w {
    background: #fff;
    box-shadow: 0 1px 0 var(--line);
  }
  body {
    padding-bottom: 80px;
  }
}

/* Celular pequeno: rodapé em uma coluna só */
@media (max-width: 560px) {
  .foot-g {
    grid-template-columns: minmax(0, 1fr);
  }
}
