/*
 * Expodonto — sistema visual do site (direção editorial).
 * Tipografia: Plus Jakarta Sans 600 (títulos) + Inter 400/500/600 (texto).
 * Texto: 16 (normal) / 14 (pequena 1) / 12 (pequena 2). Títulos: 56 / 36 / 24 / 20 / 18.
 */

/* Fontes hospedadas no próprio site (antes vinham do Google Fonts) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.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;
}

/* =====================================================================
   Base: reset de navegador, .container, .visually-hidden, utilitários
   e o modal de vídeo.
   ===================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
h1 {
  font-size: calc(1.375rem + 1.5vw);
}
h2 {
  font-size: calc(1.325rem + 0.9vw);
}
h3 {
  font-size: calc(1.3rem + 0.6vw);
}
h4 {
  font-size: calc(1.275rem + 0.3vw);
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}
@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.5rem;
  }
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}
ol,
ul {
  padding-left: 2rem;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 700;
}
dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1rem;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 0.875em;
}
a {
  color: #0d6efd;
  text-decoration: underline;
}
a:hover {
  color: #0a58ca;
}
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}
figure {
  margin: 0 0 1rem;
}
img,
svg {
  vertical-align: middle;
}
table {
  caption-side: bottom;
  border-collapse: collapse;
}
th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}
thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}
label {
  display: inline-block;
}
button {
  border-radius: 0;
}
button:focus:not(:focus-visible) {
  outline: 0;
}
input,
button,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
}
button:not(:disabled),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer;
}
textarea {
  resize: vertical;
}
iframe {
  border: 0;
}
summary {
  display: list-item;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
.container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  position: absolute !important;
}
.position-relative {
  position: relative !important;
}
.position-absolute {
  position: absolute !important;
}
.end-0 {
  right: 0 !important;
}
.p-0 {
  padding: 0 !important;
}
.bg-dark {
  background-color: #212529 !important;
}
/* Modal de vídeo (aberto pelo site.js) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}
.modal.is-open {
  display: block;
}
.modal-dialog {
  position: relative;
  width: auto;
  max-width: 800px;
  margin: 1.75rem auto;
  pointer-events: none;
}
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  pointer-events: auto;
}
.modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem;
  border-bottom: 0;
  z-index: 2;
}
.modal-body {
  position: relative;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0, 0, 0, 0.6);
}
.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.ratio > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.btn-close {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15)
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
    center / 0.8rem no-repeat;
}
.btn-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
/* Espaçamentos pontuais e o sprite de ícones SVG (fica fora da tela) */
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-64 {
  margin-top: 64px;
}
.x-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }
}

body {
  --x-bg: #faf8f5;
  --x-surface: #f2eee8;
  --x-ink: #13201f;
  --x-ink-2: #4b5654;
  --x-muted: #5f6866; /* contraste AA sobre os fundos claros */
  --x-line: #e3ddd4;
  --x-brand: #0e4647;
  --x-brand-hover: #0a3637;
  --x-accent: #b98533;
  --x-accent-ink: #8a601c; /* dourado para texto pequeno (contraste AA) */
  --x-radius: 16px;
  --x-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --x-text: "Inter", system-ui, sans-serif;
  /* Só três tamanhos para texto: normal, pequena 1 e pequena 2 */
  --x-fs: 17.92px; /* +12% (antes 16px) */
  --x-fs-sm: 15.68px; /* +12% (antes 14px) */
  --x-fs-xs: 13.44px; /* +12% (antes 12px) */
  /* Abertura de todas as páginas: começa no tom de superfície (separa do cabeçalho)
     e desce até o fundo da seção seguinte */
  --x-hero-bg: linear-gradient(180deg, var(--x-surface) 0%, var(--x-surface) 25%, var(--x-bg) 100%);
  --font-family-01: var(--x-text);

  background: var(--x-bg);
  color: var(--x-ink-2);
  font-family: var(--x-text);
  font-size: var(--x-fs);
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Tipografia ---------- */
.x h1,
.x h2,
.x h3,
.x h4 {
  font-family: var(--x-head);
  font-weight: 600;
  color: var(--x-ink);
  margin: 0;
}
.x h1 {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.56px;
  text-wrap: balance;
}
.x h2 {
  /* Tamanho único para todos os títulos de seção */
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.2px;
  text-wrap: balance;
}
.x h3 {
  font-size: 20px;
  line-height: 1.25;
}
.x h4 {
  font-size: 18px;
  line-height: 1.55;
}
.x p {
  margin: 0;
}
.x-body-lg {
  font-size: var(--x-fs);
  line-height: 1.55;
  color: var(--x-ink-2);
}
.x-body {
  font-size: var(--x-fs);
  line-height: 1.6;
}
.x a {
  color: var(--x-brand);
}

/* ---------- Botões e links ---------- */
.x-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--x-text);
  font-size: var(--x-fs-sm);
  line-height: 20.15px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s ease;
}
.x-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.x-btn.x-btn--primary {
  background: var(--x-brand);
  color: #fff;
}
.x-btn.x-btn--primary:hover {
  background: var(--x-brand-hover);
  color: #fff;
}
.x-btn.x-btn--light {
  background: #fff;
  color: var(--x-brand);
}
.x-btn.x-btn--light:hover {
  background: var(--x-bg);
  color: var(--x-brand);
}
.x-btn:focus-visible,
.x-link:focus-visible {
  outline: 2px solid var(--x-brand);
  outline-offset: 3px;
}
.x-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--x-text);
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  font-weight: 600;
  color: var(--x-ink);
  text-decoration: underline;
  text-decoration-color: var(--x-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s ease;
}
.x .x-link {
  color: var(--x-ink);
}
.x-link:hover {
  text-decoration-color: currentColor;
}
.x .x-link--light {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Seções ---------- */
.x-section {
  padding: 120px 0;
}
.x-section.x-section--sem-topo {
  padding-top: 0;
}
/* Chamada final: o mesmo respiro em cima (até a seção anterior) e embaixo (até o rodapé) */
.x-section--tight {
  padding: 112px 0;
}
/* seção anterior com o mesmo fundo creme: o respiro fica só na chamada, para a distância ser igual */
.x-section:not(.x-section--surface):has(+ .x-section--tight) {
  padding-bottom: 0;
}
.x-section--surface {
  background: var(--x-surface);
}
.x-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.x .x-head h2 {
  margin-bottom: 16px;
}
.x-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px 96px;
}
.x-split__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 992px) {
  .x-split__aside {
    position: sticky;
    top: 40px;
    align-self: start;
  }
}

/* ---------- Hero ---------- */
.x-hero {
  background: var(--x-hero-bg);
  padding: 72px 0 16px;
}
.x-hero .x-facts,
.x-page-hero .x-facts {
  border-bottom: 0;
}
.x-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 80px;
  align-items: end;
  margin-bottom: 56px;
}
.x-hero__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 6px;
}
.x-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x-hero__media .x-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x-hero__media {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--x-surface);
}
.x-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--x-line);
}
.x-facts > div {
  display: flex;
  flex-direction: column-reverse;
  padding: 36px 24px 40px 0;
}
.x-facts > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--x-line);
}
.x-facts dt {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  font-weight: 400;
  color: var(--x-muted);
}
.x-facts dd {
  margin: 0 0 6px;
  font-family: var(--x-head);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--x-ink);
}

/* ---------- Depoimentos ---------- */
.rev-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.rev-head h2 {
  max-width: 560px;
  margin-bottom: 16px;
}
.rev-head__side {
  display: flex;
  align-items: center;
  gap: 32px;
}
.x .rev-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-muted);
  text-decoration: none;
}
.rev-rating strong {
  font-family: var(--x-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--x-ink);
}
.rev-rating__stars {
  color: #f5b400;
  font-size: var(--x-fs-xs);
  letter-spacing: 2px;
}
.x .rev-rating:hover [data-reviews-count] {
  color: var(--x-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rev .car__track {
  gap: 0;
}
.rev-card {
  flex: none;
  width: clamp(280px, 27vw, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 4px 40px 4px 0;
  margin-right: 40px;
  border-right: 1px solid var(--x-line);
}
.rev-card:last-child {
  border-right: 0;
}
.rev-card__stars {
  color: #f5b400;
  font-size: var(--x-fs-xs);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
/* Depoimento é texto corrido: mesma fonte e tamanho do corpo do site */
.rev-card__text {
  flex: 1;
  margin: 0 0 20px;
  font-family: var(--x-text);
  font-size: var(--x-fs-sm);
  line-height: 1.6;
  font-weight: 400;
  color: var(--x-ink);
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rev-card__author {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-muted);
}
.rev-card__author strong,
.x .rev-card__author a {
  font-weight: 600;
  color: var(--x-ink);
  text-decoration: none;
}
@media (max-width: 767px) {
  .rev-head {
    margin-bottom: 40px;
  }
  .rev-head__side {
    width: 100%;
    justify-content: space-between;
  }
  .rev-card {
    width: 80vw;
    padding-right: 24px;
    margin-right: 24px;
  }
}

/* ---------- Seção escura com vídeo de fundo (de uma lateral à outra) ---------- */
.x-clinic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 760px;
  padding: 96px 0 56px;
  background: #070b0b; /* a capa do vídeo entra quando a seção se aproxima da tela */
  color: rgba(255, 255, 255, 0.72);
}
.x-clinic__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
/* Máscara: escurece em cima (título) e embaixo (itens), deixa o vídeo aparecer no meio */
.x-clinic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 11, 0.94) 0%,
      rgba(7, 11, 11, 0.7) 30%,
      rgba(7, 11, 11, 0.35) 52%,
      rgba(7, 11, 11, 0.8) 74%,
      rgba(7, 11, 11, 0.96) 100%
    ),
    linear-gradient(90deg, rgba(7, 11, 11, 0.55) 0%, rgba(7, 11, 11, 0) 60%);
  pointer-events: none;
}
.x-clinic__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
}
.x-clinic .car__intro {
  margin-bottom: 0;
}
.x .x-clinic h2,
.x .x-clinic h3 {
  color: #fff;
}
.x-clinic .x-body-lg {
  color: rgba(255, 255, 255, 0.66);
}
.x-clinic__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-clinic__grid li {
  padding: 20px 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.x-clinic__grid li + li {
  padding-left: 28px;
}
.x .x-clinic__grid h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 4px;
}
.x-clinic__grid p {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.x-clinic__doctor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.x-clinic__doctor img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.x-clinic__doctor div {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
}
.x-clinic__doctor strong {
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: #fff;
}

/* ---------- Carrossel que sai pela direita (tratamentos e avaliações) ---------- */
.car {
  --trat-bleed: max(12px, calc((100vw - 1320px) / 2 + 12px));
  overflow: hidden;
}
@media (max-width: 1399px) {
  .car {
    --trat-bleed: max(12px, calc((100vw - 1140px) / 2 + 12px));
  }
}
@media (max-width: 1199px) {
  .car {
    --trat-bleed: max(12px, calc((100vw - 960px) / 2 + 12px));
  }
}
@media (max-width: 991px) {
  .car {
    --trat-bleed: max(12px, calc((100vw - 720px) / 2 + 12px));
  }
}
@media (max-width: 767px) {
  .car {
    --trat-bleed: max(12px, calc((100vw - 540px) / 2 + 12px));
  }
}
@media (max-width: 575px) {
  .car {
    --trat-bleed: 16px;
  }
}
.car__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.car__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--x-line);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--x-ink);
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}
.car__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.car__btn:hover:not(:disabled) {
  border-color: var(--x-ink);
}
.car__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.car__btn:focus-visible {
  outline: 2px solid var(--x-brand);
  outline-offset: 3px;
}
.car__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--trat-bleed);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.car__viewport::-webkit-scrollbar {
  display: none;
}
.car__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.car__viewport.is-dragging a {
  pointer-events: none;
}
.car__viewport:focus-visible {
  outline: 2px solid var(--x-brand);
  outline-offset: -2px;
}
.car__track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0 var(--trat-bleed) 8px;
  list-style: none;
  width: max-content;
}
.trat-card {
  flex: none;
  width: clamp(270px, 25vw, 340px);
  scroll-snap-align: start;
}
.trat-card > a {
  display: block;
  text-decoration: none;
  -webkit-user-drag: none;
}
.trat-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--x-radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--x-line);
}
.trat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  -webkit-user-drag: none;
  user-select: none;
}
.x .trat-card h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.trat-card p {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-ink-2);
  max-width: 32ch;
}
@media (hover: hover) {
  .trat-card > a:hover .trat-card__media img {
    transform: scale(1.04);
  }
  .trat-card > a:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
}
.trat-card > a:focus-visible {
  outline: 2px solid var(--x-brand);
  outline-offset: 4px;
  border-radius: var(--x-radius);
}
.car__progress {
  position: relative;
  height: 1px;
  margin-top: 48px;
  background: var(--x-line);
}
.car__progress span {
  position: absolute;
  top: -0.5px;
  left: 0;
  height: 2px;
  width: 20%;
  background: var(--x-ink);
  transition: width 0.25s ease;
}

/* ---------- Primeira consulta ---------- */
.x-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}
.x-steps li {
  padding-top: 24px;
  border-top: 1px solid var(--x-ink);
}
.x-steps span {
  display: block;
  font-size: var(--x-fs-xs);
  line-height: 20.15px;
  font-weight: 500;
  color: var(--x-muted);
  margin-bottom: 10px;
}
.x-steps h3 {
  margin-bottom: 10px;
}
.x-steps p {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.x-faq {
  border-top: 1px solid var(--x-line);
}
.x-faq details {
  border-bottom: 1px solid var(--x-line);
}
.x-faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 24px 48px 24px 0;
  font-family: var(--x-head);
  font-size: var(--x-fs);
  line-height: 1.55;
  font-weight: 600;
  color: var(--x-ink);
}
.x-faq summary::-webkit-details-marker {
  display: none;
}
.x-faq summary::before,
.x-faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--x-ink);
  transition: transform 0.25s ease;
}
.x-faq summary::after {
  transform: rotate(90deg);
}
.x-faq details[open] summary::after {
  transform: rotate(0deg);
}
.x-faq summary:focus-visible {
  outline: 2px solid var(--x-brand);
  outline-offset: 2px;
}
.x-faq details > div {
  padding: 0 48px 28px 0;
  font-size: var(--x-fs);
  line-height: 1.6;
}

/* ---------- Localização ---------- */
.x-location {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 96px;
  align-items: stretch;
}
.x-location__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#localizacao {
  padding: 88px 0;
}
.x-location__info h2 {
  margin-bottom: 24px;
}
.x-location__info dl {
  width: 100%;
  margin: 0 0 32px;
  border-top: 1px solid var(--x-line);
}
.x-location__info dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--x-line);
}
.x-location__info dt {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  font-weight: 400;
  color: var(--x-muted);
}
.x-location__info dd {
  margin: 0;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-ink);
}
.x .x-location__info dd a {
  color: var(--x-ink);
  text-decoration: none;
  font-weight: 500;
}
.x .x-location__info dd a:hover {
  text-decoration: underline;
}
.x-location__map {
  border-radius: var(--x-radius);
  overflow: hidden;
  min-height: 380px;
  background: var(--x-line);
}
.x-location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

/* ---------- Artigos ---------- */

/* ---------- CTA final ---------- */
.x-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  padding: 64px;
  border-radius: 24px;
  background: var(--x-brand);
}
.x .x-cta h2 {
  color: #fff;
  max-width: 520px;
  margin-bottom: 12px;
}
.x-cta .x-body-lg {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Nota do Google no topo ---------- */
.g-logo {
  width: 18px;
  height: 18px;
  flex: none;
}
.x .x-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-muted);
  text-decoration: none;
}
.x-hero__rating strong {
  font-weight: 600;
  color: var(--x-ink);
}
.x-hero__rating:hover [data-reviews-count-short] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Botão contornado ---------- */
.x-btn.x-btn--outline {
  border: 1px solid var(--x-ink);
  color: var(--x-ink);
  background: transparent;
}
.x-btn.x-btn--outline:hover {
  background: var(--x-ink);
  color: #fff;
}

/* ---------- Apresentação ---------- */
.x-intro {
  padding-top: 0;
}
.x-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 80px;
  align-items: center;
  padding-top: 120px;
  border-top: 1px solid var(--x-line);
}
.x-intro__photo {
  margin: 0;
}
@media (min-width: 992px) {
  .x-intro__photo {
    order: 2;
  }
}
.x-intro__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 544;
  object-fit: cover;
  border-radius: 20px;
}
.x-intro__photo figcaption {
  margin-top: 16px;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-muted);
}
.x-intro__photo figcaption strong {
  display: block;
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-ink);
}
.x .x-intro__copy h2 {
  margin-bottom: 24px;
}
.x-intro__copy .x-body-lg {
  color: var(--x-ink);
  margin-bottom: 16px;
}
.x-intro__copy .x-body {
  margin-bottom: 36px;
}

@media (max-width: 991px) {
  .x-intro__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .x-intro__grid {
    padding-top: 72px;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
  .x h1 {
    font-size: 48px;
  }
  .x-split,
  .x-location {
    gap: 48px 56px;
  }
}
@media (max-width: 991px) {
  .x-section {
    padding: 88px 0;
  }
  .x-section--tight {
    padding: 96px 0;
  }
  .x-hero__top,
  .x-split,
  .x-location {
    grid-template-columns: 1fr;
  }
  .x-hero__media {
    aspect-ratio: 16 / 9;
  }
  .x-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
  #localizacao {
    padding: 72px 0;
  }
  .x-location__map,
  .x-location__map iframe {
    min-height: 320px;
  }
}
@media (max-width: 991px) {
  .x-clinic {
    min-height: 0;
    padding: 96px 0 64px;
  }
  .x-clinic__content {
    gap: 64px;
  }
  .x-clinic__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .x-clinic__grid li,
  .x-clinic__grid li + li {
    padding: 20px 0 0;
    border-top-color: rgba(255, 255, 255, 0.14);
  }
}
@media (max-width: 767px) {
  .x-clinic {
    padding: 80px 0 56px;
  }
  .x-clinic__grid {
    grid-template-columns: 1fr;
  }
  .x-clinic__doctor {
    flex-wrap: wrap;
  }
  .x-facts dd {
    font-size: 36px;
  }
}
@media (max-width: 767px) {
  .x h1 {
    font-size: 30px;
    letter-spacing: -0.38px;
  }
  .x h2 {
    font-size: 28px;
  }
  .x-section {
    padding: 72px 0;
  }
  .x-section--tight {
    padding: 80px 0;
  }
  .x-hero {
    padding-top: 32px;
  }
  .x-hero__top {
    margin-bottom: 32px;
  }
  .x-hero__media {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .x-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .x-facts > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .x-facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--x-line);
  }
  .car__nav {
    width: 100%;
  }
  .trat-card {
    width: 76vw;
  }
  .car__track {
    gap: 16px;
  }
  .x-steps {
    grid-template-columns: 1fr;
  }
  .x-actions .x-btn {
    width: 100%;
  }
  .x-cta {
    padding: 40px 24px;
  }
  .x-location__info dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .x-btn,
  .x-link,
  .trat-card__media img,
  .car__progress span,
  .x-faq summary::after {
    transition: none;
  }
}

/* =====================================================================
   Componentes compartilhados por todas as páginas
   ===================================================================== */

/* ---------- Cabeçalho ---------- */
.x-header {
  position: relative;
  z-index: 50;
  background: #fff; /* menu sempre branco, em todas as páginas */
}
.x-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}
.x-header__logo img {
  display: block;
  height: 60px;
  width: auto;
}
.x-header__logo {
  flex-shrink: 0;
}
.x-nav {
  margin-left: auto;
}
.x-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-nav a {
  display: block;
  padding: 8px 14px;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  font-weight: 500;
  color: var(--x-ink-2);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease;
}
.x-nav a:hover,
.x-nav a[aria-current="page"] {
  color: var(--x-ink);
}
.x-nav a[aria-current="page"] {
  font-weight: 600;
}
.x-header .x-btn {
  height: 44px;
  padding: 0 18px;
}
.x-header__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 10px;
  color: var(--x-ink);
}
.x-header__toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  margin: 6px 0;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.x-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.x-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.x-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.x-header__toggle:focus-visible,
.x-nav a:focus-visible {
  outline: 2px solid var(--x-brand);
  outline-offset: 2px;
}
@media (max-width: 991px) {
  .x-header__inner {
    height: 80px;
  }
  .x-header__logo img {
    height: 44px;
  }
  .x-header__toggle {
    display: block;
  }
  .x-header__cta {
    display: none;
  }
  .x-nav {
    position: fixed;
    inset: 80px 0 0;
    background: #fff;
    padding: 24px 16px 40px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }
  .x-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .x-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--x-line);
  }
  .x-nav a {
    padding: 18px 4px;
    font-family: var(--x-head);
    font-size: 20px; /* menu do celular usa o estilo de título (h3) */
    font-weight: 600;
    color: var(--x-ink);
    border-bottom: 1px solid var(--x-line);
    border-radius: 0;
  }
  .x-nav__cta {
    display: flex !important;
    margin-top: 32px;
    width: 100%;
  }
  body.menu-aberto {
    overflow: hidden;
  }
}
@media (min-width: 992px) {
  .x-nav__cta {
    display: none !important;
  }
}

/* ---------- Rodapé ---------- */
.x-footer {
  /* Mesmo verde dos botões e da chamada final */
  background: var(--x-brand);
  padding: 80px 0 32px;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.x-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr));
  gap: 48px;
}
.x-footer__brand > img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}
.x-footer__brand p {
  max-width: 300px;
  margin-bottom: 20px;
}
.x-footer h2 {
  font-family: var(--x-head);
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #d9b86a;
  margin: 0 0 20px;
}
.x-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.x-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.x-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.x-footer address {
  font-style: normal;
  margin: 0;
  display: grid;
  gap: 10px;
}
.x-footer__social {
  display: flex;
  gap: 8px;
}
.x-footer__social img {
  width: 32px;
  height: 32px;
}
.x-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--x-fs-xs);
  color: rgba(255, 255, 255, 0.62);
}
.x-footer__bottom a {
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 991px) {
  .x-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .x-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Topo das páginas internas ---------- */
.x-page-hero {
  background: var(--x-hero-bg);
  padding: 56px 0 72px;
}
.x-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: var(--x-fs-xs);
  line-height: 20px;
  color: var(--x-muted);
}
.x-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--x-line);
}
.x .x-breadcrumb a {
  color: var(--x-muted);
  text-decoration: none;
}
.x .x-breadcrumb a:hover {
  color: var(--x-ink);
}
.x-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 80px;
  align-items: end;
}
.x-page-hero__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 6px;
}
@media (max-width: 991px) {
  .x-page-hero__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Grade de tratamentos (página Serviços) ---------- */

/* ---------- Benefícios / pontos em colunas ---------- */
.x-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-points li {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--x-line);
}
.x .x-points h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 6px;
}
.x-points p {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
}
.x-points--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 767px) {
  .x-points,
  .x-points--3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Processo do serviço (etapas) ---------- */

/* ---------- Texto de artigo ---------- */
.x-article-hero {
  background: var(--x-hero-bg);
  padding: 48px 0 48px;
}
.x .x-article-hero h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -0.48px;
  margin-bottom: 24px;
}
.x-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}
.x-article-layout > div:first-child {
  max-width: 720px;
}
.x-prose {
  font-size: var(--x-fs);
  line-height: 1.7;
  color: var(--x-ink-2);
}
.x .x-prose > * + * {
  margin-top: 1.1em;
}
.x .x-prose p,
.x .x-prose ul,
.x .x-prose ol {
  margin-bottom: 0;
}
.x .x-prose h2 {
  font-size: 28px;
  line-height: 1.25;
  margin-top: 2em;
}
.x .x-prose h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-top: 1.8em;
}
.x .x-prose h4 {
  margin-top: 1.5em;
}
.x-prose strong {
  color: var(--x-ink);
  font-weight: 600;
}
.x .x-prose a {
  color: var(--x-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.x-prose ul,
.x-prose ol {
  padding-left: 1.25em;
}
.x-prose li + li {
  margin-top: 0.4em;
}
.x-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.x-prose figure {
  margin: 2em 0;
}
.x-prose figcaption {
  margin-top: 10px;
  font-size: var(--x-fs-sm);
  color: var(--x-muted);
}
.x-prose blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 2px solid var(--x-ink);
  font-family: var(--x-head);
  font-size: var(--x-fs);
  line-height: 1.45;
  font-weight: 600;
  color: var(--x-ink);
}
.x-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--x-fs-sm);
}
.x-prose th,
.x-prose td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--x-line);
  text-align: left;
  vertical-align: top;
}
@media (max-width: 1199px) {
  .x-article-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
@media (max-width: 767px) {
  .x .x-article-hero h1 {
    font-size: 32px;
    letter-spacing: -0.32px;
  }
  .x .x-prose h2 {
    font-size: 24px;
  }
}

/* ---------- Etiquetas (categorias e tags) ---------- */
.x-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x .x-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--x-line);
  border-radius: 999px;
  font-size: var(--x-fs-xs);
  font-weight: 500;
  color: var(--x-ink-2);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.x .x-chip:hover {
  border-color: var(--x-ink);
  color: var(--x-ink);
}
.x .x-chip[aria-current="page"] {
  background: var(--x-ink);
  border-color: var(--x-ink);
  color: #fff;
}

/* ---------- Listagem de artigos ---------- */
.x-listing__chips {
  margin-bottom: 56px;
}

/* ---------- Paginação ---------- */
.x-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 72px;
  padding: 0;
  list-style: none;
}
.x .x-pagination a,
.x-pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: var(--x-fs-sm);
  font-weight: 500;
  color: var(--x-ink-2);
  text-decoration: none;
}
.x .x-pagination a:hover {
  background: var(--x-surface);
  color: var(--x-ink);
}
.x-pagination [aria-current="page"] {
  background: var(--x-ink);
  color: #fff;
}

/* ---------- Contato ---------- */
.x-contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 96px;
  align-items: start;
}
.x-contact .x-location__info dl {
  margin-bottom: 0;
}
.x-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 40px;
  border-radius: var(--x-radius);
  background: #fff;
  border: 1px solid var(--x-line);
}
.x .x-form h2 {
  grid-column: 1 / -1;
  font-size: 24px;
  margin-bottom: 4px;
}
.x-form > p {
  grid-column: 1 / -1;
  font-size: var(--x-fs-sm);
  margin-bottom: 8px;
}
.x-form label {
  display: grid;
  gap: 8px;
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-ink);
}
.x-form label.x-form__full {
  grid-column: 1 / -1;
}
.x-form input,
.x-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--x-line);
  border-radius: 10px;
  background: var(--x-bg);
  font: inherit;
  font-size: var(--x-fs);
  font-weight: 400;
  color: var(--x-ink);
  transition: border-color 0.2s ease;
}
.x-form textarea {
  min-height: 130px;
  resize: vertical;
}
.x-form input:focus,
.x-form textarea:focus {
  outline: none;
  border-color: var(--x-brand);
  box-shadow: 0 0 0 3px rgba(14, 70, 71, 0.12);
}
.x-form .x-btn {
  grid-column: 1 / -1;
  justify-self: start;
}
/* campo invisível contra robôs */
.x-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.x-form {
  position: relative;
}
.x-form .x-form__status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(14, 70, 71, 0.08);
  color: var(--x-brand);
  font-size: var(--x-fs-sm);
  font-weight: 600;
}
.x-form .x-form__status--erro {
  background: rgba(176, 58, 46, 0.08);
  color: #9b2f24;
}
@media (max-width: 991px) {
  .x-contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .x-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ---------- Seção com título ao lado (texto longo) ---------- */
.x-text-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 96px;
}
.x-text-split .x-body-lg + .x-body-lg {
  margin-top: 16px;
}
@media (max-width: 991px) {
  .x-text-split {
    grid-template-columns: 1fr;
  }
}

/* Botão dentro do menu do celular e banner dos serviços no celular */
.x-nav .x-nav__cta {
  justify-content: center;
  height: 52px;
  padding: 0 22px;
  font-family: var(--x-text);
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: #fff;
  border: 0;
  border-radius: 10px;
}

/* Botão flutuante do WhatsApp (criado por kommo-whatsapp.js) */
#expodonto-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(19, 32, 31, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
#expodonto-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 32, 31, 0.28);
}
#expodonto-whatsapp:focus-visible {
  outline: 3px solid var(--x-ink);
  outline-offset: 3px;
}
#expodonto-whatsapp svg {
  width: 30px;
  height: 30px;
}
@media (max-width: 575.98px) {
  #expodonto-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ---------- Carrossel de tratamentos com texto sobre a foto (página Serviços) ---------- */
/* Título de um lado, texto do outro (mesmo padrão do topo das páginas) */
.car__intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 526px); /* texto ao lado do título em 3 linhas */
  margin-bottom: 56px;
}
@media (max-width: 991px) {
  .car__intro {
    grid-template-columns: 1fr;
  }
}
.car__intro .x-body-lg {
  margin: 0;
  padding-bottom: 6px;
}
.car__foot {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}
.car__foot .car__progress {
  flex: 1;
  margin-top: 0;
}
.trat-card--lux {
  width: clamp(322px, 32.2vw, 460px);
}
.trat-card--lux > a {
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
}
.trat-card--lux .trat-card__media {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 4 / 5;
}
.trat-card--lux .trat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 20, 0) 30%, rgba(8, 20, 20, 0.55) 58%, rgba(8, 20, 20, 0.92) 100%),
    linear-gradient(0deg, rgba(14, 70, 71, 0.18), rgba(14, 70, 71, 0.18));
  transition: opacity 0.5s ease;
}
.trat-card--lux .trat-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 28px 28px 30px;
  transform: translateY(8px);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.x .trat-card--lux h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #fff;
  margin-bottom: 10px;
}
.trat-card--lux p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 30ch;
  margin: 0 0 18px;
}
.trat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--x-fs-sm);
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(217, 184, 106, 0.7);
}
.trat-card__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .trat-card--lux > a:hover .trat-card__body {
    transform: translateY(0);
  }
  .trat-card--lux > a:hover h3 {
    text-decoration: none;
  }
  .trat-card--lux > a:hover .trat-card__more svg {
    transform: translateX(4px);
  }
}
@media (max-width: 575px) {
  .trat-card--lux {
    width: 80vw;
  }
  .trat-card--lux .trat-card__body {
    padding: 24px 22px 24px;
    transform: none;
  }
  .x .trat-card--lux h3 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trat-card--lux .trat-card__body,
  .trat-card__more svg {
    transition: none;
  }
}

/* ---------- Topo da página Serviços (primeira consulta) ---------- */
.x-page-hero__steps {
  margin-top: 64px;
  margin-bottom: 0;
}

/* ---------- Apresentação com vídeo (página Serviços) ---------- */
.x-intro--solo {
  padding-top: 120px;
}
.x-intro--solo .x-intro__grid {
  padding-top: 0;
  border-top: 0;
}
.x-intro__photo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 544;
  object-fit: cover;
  border-radius: 20px;
  background: var(--x-surface);
}
@media (max-width: 767px) {
  .x-intro--solo {
    padding-top: 72px;
  }
}
@media (min-width: 992px) {
  .x-intro--solo .x-intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px 72px;
  }
}

/* ---------- Carrossel padrão: complementos ---------- */
.car__intro-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 6px;
}
.car__intro .car__intro-side .x-body-lg {
  padding-bottom: 0;
}
.trat-card__tag {
  display: block;
  margin-bottom: 12px;
  font-size: var(--x-fs-xs);
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d9b86a;
}
.trat-card--lux p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Sobre: vídeo da história (centralizado, abaixo dos números) ---------- */
.x-story-video {
  padding: 24px 0 0;
}
.x-story-video__player {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: #070b0b;
  box-shadow: 0 24px 60px rgba(19, 32, 31, 0.14);
}

/* ---------- Sobre: linha do tempo em carrossel ---------- */
.x-marco {
  position: relative;
  flex: none;
  width: clamp(260px, 24vw, 320px);
  padding: 0 40px 0 0;
  scroll-snap-align: start;
}
.x-marco::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--x-line);
}
.x-marco::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--x-surface);
  border: 2px solid var(--x-accent);
}
.x-marco__ano {
  display: block;
  margin-bottom: 52px;
  font-family: var(--x-head);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--x-accent);
}
.x .x-marco h3 {
  margin-bottom: 8px;
}
.x-marco p {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  max-width: 30ch;
}
#historia .car__track {
  gap: 0;
}
@media (max-width: 767px) {
  .x-marco {
    width: 72vw;
    padding-right: 24px;
  }
  .x-story-video__player {
    border-radius: 14px;
  }
}

/* =====================================================================
   Blog (padrão AquaSampa adaptado): cards, busca, artigo, autor
   ===================================================================== */
.x .x-chip--sm {
  padding: 4px 12px;
  font-size: var(--x-fs-xs);
}

/* ---------- Cards de artigo ---------- */
.x-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}
.x-cards--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.x-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--x-line);
  border-radius: var(--x-radius);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.x-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(19, 32, 31, 0.1);
}
.x-card:focus-within {
  box-shadow: 0 0 0 3px var(--x-brand);
}
.x-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--x-surface);
}
.x-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.x-card:hover .x-card__media img {
  transform: scale(1.04);
}
.x-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 22px;
}
.x-card__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.x .x-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.x .x-card__title a {
  color: var(--x-ink);
  text-decoration: none;
}
.x .x-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.x .x-card__title a:focus-visible {
  outline: none;
}
.x-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-ink-2);
}
.x-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--x-line);
}
.x-card__meta img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.x-card__meta p {
  margin: 0;
  font-size: var(--x-fs-xs);
  line-height: 1.4;
  color: var(--x-muted);
}
.x-card__meta strong {
  display: block;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  color: var(--x-ink);
}
.x-card--featured .x-card__body {
  gap: 14px;
  padding: 24px 28px 28px;
}
.x .x-card--featured .x-card__title {
  font-size: 24px;
}
.x-card--featured .x-card__excerpt {
  font-size: var(--x-fs);
}
@media (max-width: 767px) {
  .x-cards--featured {
    grid-template-columns: 1fr;
  }
}

/* ---------- Busca do blog ---------- */
.x-search {
  position: relative;
  width: 100%;
}
.x-search > svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  fill: var(--x-muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.x-search input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--x-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: var(--x-fs);
  color: var(--x-ink);
}
.x-search input:focus {
  outline: 2px solid var(--x-brand);
  outline-offset: 2px;
}
.x-search__results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 360px;
  margin: 0;
  padding: 8px;
  overflow: auto;
  list-style: none;
  background: #fff;
  border: 1px solid var(--x-line);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(19, 32, 31, 0.12);
}
.x .x-search__results a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: var(--x-fs-sm);
  line-height: 1.4;
  color: var(--x-ink);
  text-decoration: none;
}
.x-search__results a small {
  display: block;
  font-size: var(--x-fs-xs);
  color: var(--x-muted);
}
.x .x-search__results a:hover,
.x .x-search__results a.is-active {
  background: var(--x-surface);
}
.x-search__empty {
  padding: 10px 12px;
  font-size: var(--x-fs-sm);
  color: var(--x-muted);
}

/* ---------- Artigo: topo ---------- */
.x-article-hero {
  padding: 48px 0 56px;
}
.x-article-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.x-article-hero--media .x-article-hero__grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
}
.x-article-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.x .x-article-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}
.x-article-hero__lead {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: var(--x-fs);
  line-height: 1.6;
  color: var(--x-ink-2);
}
.x-article-hero__media {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--x-surface);
  box-shadow: 0 20px 48px rgba(19, 32, 31, 0.12);
}
.x-article-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.x-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.x .x-byline__author {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.x-byline__author img {
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(19, 32, 31, 0.16);
}
.x-byline__author small {
  display: block;
  font-size: var(--x-fs-xs);
  color: var(--x-muted);
}
.x-byline__author strong {
  display: block;
  font-size: var(--x-fs-sm);
  color: var(--x-ink);
}
.x .x-byline__author:hover strong {
  text-decoration: underline;
}
.x-byline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--x-fs-xs);
  color: var(--x-ink-2);
}
.x-byline__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.x-byline__meta svg {
  width: 16px;
  height: 16px;
  fill: var(--x-accent);
}

/* ---------- Artigo: corpo, sumário e barra lateral ---------- */
.x-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 96px;
}
.x-article-main {
  min-width: 0;
  max-width: 760px;
}
.x-article-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 48px);
}
.x-prose h2[id] {
  scroll-margin-top: 24px;
}
.x-toc details {
  background: #fff;
  border: 1px solid var(--x-line);
  border-radius: 14px;
}
.x-toc summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--x-ink);
}
.x-toc ol {
  margin: 0;
  padding: 0 12px 16px;
  list-style: none;
  counter-reset: toc;
}
.x-toc li {
  counter-increment: toc;
}
.x .x-toc a {
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: var(--x-fs-sm);
  line-height: 1.4;
  color: var(--x-ink-2);
  text-decoration: none;
}
.x-toc a::before {
  content: counter(toc, decimal-leading-zero);
  padding-top: 2px;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  color: var(--x-accent-ink);
}
.x .x-toc a:hover {
  background: var(--x-surface);
  color: var(--x-ink);
}
.x .x-toc a.is-active {
  background: var(--x-surface);
  color: var(--x-ink);
  font-weight: 600;
}
.x-article-sidebar .x-toc {
  min-height: 0;
  overflow: auto;
}
.x-toc--inline {
  display: none;
  margin-bottom: 32px;
}
.x-cta-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--x-brand);
  color: rgba(255, 255, 255, 0.82);
}
.x-cta-card p {
  margin: 0 0 16px;
  font-size: var(--x-fs-sm);
  line-height: 1.5;
}
.x-cta-card .x-cta-card__title {
  margin-bottom: 8px;
  font-family: var(--x-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.x .x-cta-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 999px;
  background: #0f7a3f;
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.x-cta-card__button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.x .x-cta-card__button:hover {
  background: #0c6634;
  color: #fff;
}
.x-cta-card .x-cta-card__alt {
  margin: 12px 0 0;
  font-size: var(--x-fs-xs);
}
.x .x-cta-card__alt a {
  color: #fff;
  font-weight: 600;
}
.x-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--x-line);
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-ink-2);
}
.x-share > span {
  margin-right: 4px;
}
.x .x-share a,
.x-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--x-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: var(--x-fs-sm);
  color: var(--x-ink);
  cursor: pointer;
  text-decoration: none;
}
.x-share svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.x .x-share a:hover,
.x-share button:hover {
  border-color: var(--x-ink);
}
.x-author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  border-radius: 16px;
  background: var(--x-surface);
}
.x-author-box img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.x-author-box p {
  margin: 0;
  font-size: var(--x-fs-sm);
  line-height: 1.6;
  color: var(--x-ink-2);
}
.x-author-box .x-author-box__label {
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--x-accent-ink);
}
.x-author-box .x-author-box__name {
  margin: 2px 0 8px;
  font-family: var(--x-head);
  font-size: 20px;
  font-weight: 600;
}
.x .x-author-box__name a {
  color: var(--x-ink);
  text-decoration: none;
}
.x-author-box .x-author-box__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.x .x-author-box__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--x-brand);
}
.x-author-box__links svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 991px) {
  .x-article-hero--media .x-article-hero__grid,
  .x-article-layout {
    grid-template-columns: 1fr;
  }
  .x-article-hero--media .x-article-hero__grid {
    gap: 32px;
  }
  .x-article-sidebar {
    position: static;
    max-height: none;
  }
  .x-article-sidebar .x-toc {
    display: none;
  }
  .x-toc--inline {
    display: block;
  }
}
@media (max-width: 767px) {
  .x .x-article-hero h1 {
    font-size: 30px;
  }
  .x-author-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .x-author-box img {
    width: 72px;
    height: 72px;
  }
}

/* ---------- Página do autor ---------- */
.x-author-hero__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}
.x-author-photo {
  margin: 0;
}
.x-author-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(19, 32, 31, 0.14);
}
.x-author-eyebrow {
  margin: 0 0 8px;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--x-accent-ink);
}
.x .x-author-hero h1 {
  margin-bottom: 8px;
}
.x-author-role {
  margin: 0 0 24px;
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-ink);
}
.x-author-bio p,
.x-author-text p {
  margin: 0 0 16px;
  font-size: var(--x-fs);
  line-height: 1.6;
}
.x-author-bio {
  max-width: 640px;
  margin-bottom: 28px;
}
.x-author-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 96px;
}
.x-author-cols h2 {
  margin-bottom: 24px;
}
.x-author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x .x-author-tags a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--x-surface);
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-ink);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.x .x-author-tags a:hover {
  background: var(--x-brand);
  color: #fff;
}
.x .x-author-sub {
  margin: 32px 0 12px;
  font-size: 18px;
}
.x-author-formacao {
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-author-formacao li {
  padding: 10px 0;
  border-bottom: 1px solid var(--x-line);
  font-size: var(--x-fs-sm);
}
.x-author-formacao span {
  display: block;
  color: var(--x-muted);
}
.x-author-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 64px;
}
.x-author-articles-grid .x-author-sub {
  margin-top: 24px;
}
.x-author-articles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  font-size: var(--x-fs-sm);
  line-height: 1.5;
}
.x .x-author-articles a {
  color: var(--x-ink);
  font-weight: 500;
}
.x .x-author-articles a:hover {
  color: var(--x-brand);
}
@media (max-width: 991px) {
  .x-author-hero__grid,
  .x-author-cols,
  .x-author-articles-grid {
    grid-template-columns: 1fr;
  }
  .x-author-hero__grid {
    gap: 32px;
  }
  .x-author-photo {
    max-width: 240px;
  }
}

/* =====================================================================
   Páginas de cada tratamento de estética dental
   ===================================================================== */
/* Resposta rápida + ficha técnica */
.x-quick {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 80px;
  align-items: start;
}
.x-quick__label {
  margin: 0 0 12px;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--x-accent-ink);
}
.x .x-quick__answer h2 {
  margin-bottom: 20px;
}
.x-quick__answer .x-body-lg {
  color: var(--x-ink);
}
.x-quick__review {
  margin: 20px 0 0;
  font-size: var(--x-fs-sm);
  color: var(--x-muted);
}
.x-quick__facts {
  margin: 0;
  padding: 8px 28px;
  border-radius: 20px;
  background: var(--x-surface);
}
.x-quick__facts > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--x-line);
}
.x-quick__facts > div:last-child {
  border-bottom: 0;
}
.x-quick__facts dt {
  font-size: var(--x-fs-sm);
  font-weight: 400;
  color: var(--x-muted);
}
.x-quick__facts dd {
  margin: 0;
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-ink);
}

/* Indicado / não indicado */
.x-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.x-fit__col {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--x-line);
}
.x .x-fit__col h3 {
  margin-bottom: 20px;
}
.x-fit__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-fit__col li {
  position: relative;
  padding-left: 32px;
  font-size: var(--x-fs);
  line-height: 1.55;
}
.x-fit__col li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: var(--x-fs-xs);
  font-weight: 600;
}
.x-fit__col--sim li::before {
  content: "✓";
  background: rgba(14, 70, 71, 0.1);
  color: var(--x-brand);
}
.x-fit__col--nao li::before {
  content: "!";
  background: rgba(185, 133, 51, 0.14);
  color: var(--x-accent);
}

/* Tabela comparativa */
.x-compare {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--x-line);
  background: #fff;
}
.x-compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--x-fs-sm);
}
.x-compare th,
.x-compare td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--x-line);
}
.x-compare thead th {
  font-family: var(--x-head);
  font-size: var(--x-fs);
  font-weight: 600;
  color: var(--x-ink);
  background: var(--x-bg);
}
.x-compare tbody th {
  width: 22%;
  font-weight: 600;
  color: var(--x-ink);
}
.x-compare tbody tr:last-child th,
.x-compare tbody tr:last-child td {
  border-bottom: 0;
}

/* Cuidados */
.x-care {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cuidado;
}
.x-care li {
  position: relative;
  padding: 0 0 16px 44px;
  border-bottom: 1px solid var(--x-line);
  font-size: var(--x-fs);
  line-height: 1.6;
  counter-increment: cuidado;
}
.x-care li::before {
  content: counter(cuidado, decimal-leading-zero);
  position: absolute;
  top: 2px;
  left: 0;
  font-family: var(--x-head);
  font-size: var(--x-fs-sm);
  font-weight: 600;
  color: var(--x-accent-ink);
}

/* Outros tratamentos de estética */
.x-siblings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x .x-siblings a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 24px;
  border-radius: var(--x-radius);
  background: #fff;
  border: 1px solid var(--x-line);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.x .x-siblings a:hover {
  border-color: var(--x-ink);
  transform: translateY(-2px);
}
.x-siblings strong {
  font-family: var(--x-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--x-ink);
}
.x-siblings span {
  font-size: var(--x-fs-sm);
  line-height: 1.55;
  color: var(--x-ink-2);
}
.x-siblings__back {
  margin: 32px 0 0;
}
.x .x-points h3 a {
  color: var(--x-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media (max-width: 991px) {
  .x-quick,
  .x-fit {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .x-fit__col {
    padding: 24px;
  }
}

/* ---------- Vídeo explicativo no topo das páginas de serviço ---------- */
.x-explain {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px 64px;
  align-items: center;
  margin-top: 56px;
}
.x-explain__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: #070b0b;
  box-shadow: 0 24px 60px rgba(19, 32, 31, 0.14);
}
.x-explain__label {
  margin: 0 0 12px;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--x-accent-ink);
}
.x .x-explain__text h2 {
  margin-bottom: 16px;
}
.x-explain__text p:not(.x-explain__label) {
  margin: 0 0 12px;
  font-size: var(--x-fs);
  line-height: 1.6;
}
@media (max-width: 991px) {
  .x-explain {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .x-explain__media video {
    border-radius: 14px;
  }
}

/* ---------- Botões: crescem um pouco ao passar o mouse ---------- */
.x-cta-card__button,
.car__btn {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s ease;
}
@media (hover: hover) {
  .x-btn:hover,
  .x .x-cta-card__button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(19, 32, 31, 0.18);
  }
  .car__btn:hover:not(:disabled) {
    transform: scale(1.08);
  }
  #expodonto-whatsapp:hover {
    transform: scale(1.08);
  }
}
.x-btn:active,
.x-cta-card__button:active,
.car__btn:active:not(:disabled) {
  transform: scale(0.98);
}
@media (prefers-reduced-motion: reduce) {
  .x-btn,
  .x-cta-card__button,
  .car__btn,
  #expodonto-whatsapp {
    transition: none;
  }
  .x-btn:hover,
  .x .x-cta-card__button:hover,
  .car__btn:hover,
  #expodonto-whatsapp:hover {
    transform: none;
  }
}

/* ---------- Blog e Tratamentos: fundo branco; só a abertura mantém o degradê abaixo do menu ---------- */
body.pagina-blog,
body.pagina-branca {
  --x-bg: #fff;
  background: #fff;
}
/* Tratamentos: a seção logo abaixo do carrossel (perguntas frequentes) começa no mesmo tom e desce em degradê até o branco */
body.pagina-branca #tratamentos + .x-section {
  background: linear-gradient(180deg, var(--x-surface) 0%, #fff 100%);
}

/* Linha final do rodapé: o botão flutuante do WhatsApp não cobre o texto */
@media (min-width: 768px) {
  .x-footer__bottom {
    padding-right: 88px;
  }
}
@media (max-width: 767px) {
  .x-footer {
    padding-bottom: 88px;
  }
}

/* ---------- Etapas em carrossel (mais de 4 etapas), no modelo dos depoimentos ---------- */
.x-step-card {
  flex: none;
  width: clamp(260px, 24vw, 320px);
  scroll-snap-align: start;
  padding: 4px 40px 4px 0;
  margin-right: 40px;
  border-right: 1px solid var(--x-line);
}
.x-step-card:last-child {
  border-right: 0;
}
.x-step-card span {
  display: block;
  margin-bottom: 10px;
  font-size: var(--x-fs-xs);
  font-weight: 500;
  color: var(--x-muted);
}
.x .x-step-card h3 {
  margin-bottom: 10px;
}
.x-step-card p {
  margin: 0;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
}
.x-steps-car .rev-head .x-body-lg {
  max-width: 640px;
  margin: 0;
}
.x-steps-car__cta {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .x-step-card {
    width: 78vw;
    padding-right: 24px;
    margin-right: 24px;
  }
}

/* ---------- Mapa sob demanda (sem carregar o Google Maps até a pessoa pedir) ---------- */
.x-map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: inherit;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(14, 70, 71, 0.08), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(19, 32, 31, 0.05) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(19, 32, 31, 0.05) 38px 39px), #eee9e1;
}
.x-map-facade__pin {
  width: 44px;
  height: 44px;
  fill: var(--x-brand);
}
.x-map-facade__endereco {
  margin: 0;
  font-size: var(--x-fs);
  font-weight: 600;
  color: var(--x-ink);
}
.x-location__map iframe {
  display: block;
}

/* ---------- Galeria da clínica (Sobre): faixa que atravessa a tela, com filtro ---------- */
.x-gallery {
  overflow: hidden;
}
.x-gallery__strip {
  overflow: hidden;
}
.x-gallery__track {
  display: flex;
  gap: 20px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-gallery__track li {
  position: relative;
  flex: none;
  height: 440px;
  overflow: hidden;
  border-radius: var(--x-radius);
  background: var(--x-surface);
}
.x-gallery__track li:nth-child(even) {
  margin-top: 40px;
}
.x-gallery__track img {
  display: block;
  width: auto;
  height: 100%;
  filter: saturate(0.55) sepia(0.2) contrast(1.06) brightness(0.95);
  transition:
    filter 0.6s ease,
    transform 0.8s ease;
}
.x-gallery__track li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 70, 71, 0) 50%, rgba(14, 70, 71, 0.38) 100%);
  box-shadow: inset 0 0 0 1px rgba(185, 133, 51, 0.18);
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
@media (hover: hover) {
  .x-gallery__track li:hover img {
    filter: none;
    transform: scale(1.03);
  }
  .x-gallery__track li:hover::after {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .x-gallery__track {
    animation: x-gallery-faixa var(--x-gallery-dur, 60s) linear infinite;
  }
  .x-gallery__strip:hover .x-gallery__track {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .x-gallery__strip {
    overflow-x: auto;
  }
}
@keyframes x-gallery-faixa {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}
@media (max-width: 767px) {
  .x-gallery__track {
    gap: 12px;
  }
  .x-gallery__track li {
    height: 280px;
  }
  .x-gallery__track li:nth-child(even) {
    margin-top: 24px;
  }
  @keyframes x-gallery-faixa {
    to {
      transform: translateX(calc(-50% - 6px));
    }
  }
}

/* CTA no meio do artigo: do artigo para a página do tratamento relacionado (out/2026) */
.x-prose .x-inline-cta {
  margin: 2.2em 0;
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--x-line);
  border-left: 4px solid var(--x-accent);
  background: var(--x-surface);
}
.x .x-prose .x-inline-cta__eyebrow {
  margin: 0 0 6px;
  font-size: var(--x-fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--x-accent-ink);
}
.x .x-prose .x-inline-cta__title {
  margin: 0 0 8px;
  font-family: var(--x-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--x-ink);
}
.x .x-prose .x-inline-cta__text {
  margin: 0 0 18px;
  font-size: var(--x-fs-sm);
  line-height: 1.55;
}
.x-prose .x-inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.x .x-prose .x-inline-cta a.x-btn {
  text-decoration: none;
}
.x .x-prose .x-inline-cta a.x-btn--primary {
  color: #fff;
}
.x .x-prose .x-inline-cta a.x-btn--outline {
  color: var(--x-ink);
}
.x .x-prose .x-inline-cta a.x-btn--outline:hover {
  color: #fff;
}
.x-prose .x-inline-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@media (max-width: 575px) {
  .x-prose .x-inline-cta {
    padding: 20px 18px;
  }
  .x-prose .x-inline-cta__actions .x-btn {
    width: 100%;
  }
}
