/* ============================================================
   sections.css — estilos de cada section da página
   ============================================================ */

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding-top: 9.25rem;
  padding-bottom: 7.5rem;
  overflow: clip;
}

/* Dissolve também o brilho dos mockups, que fica acima do vídeo. */
.hero::after {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 3;
  height: clamp(10rem, 16vw, 15rem);
  background-image: linear-gradient(
    180deg,
    #ffffff00 0%,
    #ffffffa6 34%,
    #fffffff2 58%,
    #ffffff 72%,
    #ffffff 100%
  );
  pointer-events: none;
  content: "";
}

/* ---------- Fundo ------------------------------------------
   Três camadas empilhadas atrás do conteúdo: o vídeo, um véu
   claro e desfocado que rebaixa o contraste, e um degradê que
   apaga a base no branco da section seguinte.
   ------------------------------------------------------------ */

.hero__bg {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-height: 90.25rem;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #fff9;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mix-blend-mode: screen;
}

.hero__fade {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  width: 100%;
  height: clamp(20rem, 30vw, 28rem);
  background-image: linear-gradient(
    180deg,
    #ffffff00 0%,
    #ffffff59 22%,
    #ffffffd1 46%,
    #fffffff7 62%,
    #ffffff 72%,
    #ffffff 100%
  );
  pointer-events: none;
}

/* ---------- Texto ------------------------------------------- */

.hero__content {
  max-width: 45.25rem;
  margin-inline: auto;
  margin-bottom: 5rem;
  text-align: center;
}

.hero__tag {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border-radius: var(--r-xs);
  background-color: var(--silver-white);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.hero__tag-flex {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.hero__tag-badge {
  padding: 0.5rem;
  border-radius: var(--r-3xs);
  background-image: var(--gradient-primary);
  color: var(--brand-deep);
  font-size: var(--fs-caption);
  line-height: var(--lh-100);
  font-weight: var(--fw-bold);
}

.hero__tag-text {
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

.hero__title {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: var(--fs-h1);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.hero__text {
  max-width: 37.5rem;
  margin-inline: auto;
  margin-bottom: 2.125rem;
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

.hero__actions {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Mockup ------------------------------------------ */

.hero__mockup {
  position: relative;
}

.hero__dashboard {
  width: 100%;
  border-radius: var(--r-sm);
  box-shadow:
    inset 88.92px 56.21px 68.48px #ffffff26,
    0 0 61.32px #20c7b71a,
    0 8.18px 255.52px #0d7f740d,
    0 10.22px 10.22px -3.83px #0000000f;
}

/* Coluna sobreposta ao mockup, encostada à direita. */
.hero__overlays {
  position: absolute;
  inset: 15.5% 2% auto auto;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  width: 100%;
  max-width: 76%;
  height: 100%;
  max-height: 80%;
  gap: 1.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0.5rem;
}

.hero__stat {
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow:
    0 0 61.32px #20c7b71a,
    0 8.18px 255.52px #0d7f740d,
    0 10.22px 10.22px -3.83px #0000000f;
}

.hero__stat--bordered {
  border: 1px solid var(--border-light);
}

.hero__stat img {
  width: 100%;
}

/* ---------- Peças flutuantes: estado inicial -----------------
   As seis peças sobrepostas ao mockup (quatro cartões de métrica,
   o painel de chamada e o de chat) começam espalhadas e tortas, e
   se acomodam nos seus lugares conforme a página rola.

   Cada peça declara o próprio deslocamento em três números soltos:
   --fx em vw, --fy em vh, --fr em graus. O `transform` abaixo os
   converte em unidades, e o js/hero.js lê os mesmos três valores
   para montar a animação — um lugar só define a posição de
   partida, sem risco de CSS e JS discordarem.

   As unidades são vw/vh de propósito: a dispersão acompanha o
   tamanho da janela, então a composição se mantém em qualquer
   tela. Sem JS as peças ficam paradas aqui, que é exatamente como
   a página abre. */

.hero__float {
  transform: translate3d(calc(var(--fx) * 1vw), calc(var(--fy) * 1vh), 0)
    rotate(calc(var(--fr) * 1deg));
}

.hero__stat[data-float="1"] { --fx: -21.96; --fy: -27.95; --fr: -11.74; }
.hero__stat[data-float="2"] { --fx: -15.97; --fy: -17.97; --fr:  -6.99; }
.hero__stat[data-float="3"] { --fx:  -4.99; --fy: -16.97; --fr:  10.98; }
.hero__stat[data-float="4"] { --fx:   1.00; --fy: -28.95; --fr:  -8.98; }

.hero__panels {
  display: grid;
  grid-template-columns: 2.55fr 1fr;
  align-items: start;
  gap: 0.75rem;
}

.hero__call {
  position: relative;
  --fx: -4.99;
  --fy: -9.98;
  --fr: -3.99;
}

.hero__call-video {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  box-shadow:
    0 0 45.05px #20c7b71a,
    0 6.01px 187.7px #0d7f740d,
    0 7.51px 7.51px -2.82px #0000000f;
}

/* Barra de controles pendurada na base do vídeo da chamada. */
.hero__call-controls {
  position: absolute;
  inset: auto auto -6% 50%;
  max-width: 40%;
  border-radius: var(--r-pill);
  transform: translateX(-50%);
  box-shadow:
    0 0 45.05px #20c7b71a,
    0 6.01px 187.7px #0d7f740d,
    0 7.51px 7.51px #0000000f;
}

.hero__chat {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  --fx: 2.99;
  --fy: -4.99;
  --fr: 7.99;
  box-shadow:
    0 0 45.05px #20c7b71a,
    0 6.01px 187.7px #0d7f740d,
    0 7.51px 7.51px -2.82px #0000000f;
}

.hero__chat img {
  width: 100%;
}

/* ============================================================
   About us
   ============================================================ */

/* O título desta section é um bloco de texto corrido, maior que
   os demais cabeçalhos, por isso não usa o tamanho de --fs-h2. */
.about__lede {
  margin-bottom: 1.5rem;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---------- Cartão ------------------------------------------
   Em repouso é branco com borda lilás. Sob o cursor, um painel em
   gradiente sobe atrás do conteúdo (opacidade 0 → 1) e todos os
   textos invertem para branco.

   O gradiente vive num elemento próprio, com z-index negativo, em
   vez de ser background do cartão: é a única forma de transicionar
   um gradiente suavemente, já que background-image não interpola.
   ------------------------------------------------------------ */

.about-card {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem 1.875rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xs);
  background-color: var(--white);
  overflow: hidden;
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.about-card__body {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
  gap: 2.25rem;
}

.about-card__title {
  margin-bottom: 0.375rem;
  color: var(--text-color);
  font-size: var(--fs-h4);
  line-height: var(--lh-140);
  font-weight: var(--fw-medium);
  transition: color 0.4s ease;
}

.about-card__text {
  max-width: 11rem;
  color: var(--paragraph-color);
  font-size: var(--fs-sm);
  line-height: var(--lh-150);
  font-weight: var(--fw-light);
  transition: color 0.4s ease;
}

.about-card__rule {
  flex: none;
  width: 100%;
  height: 1px;
  background-color: var(--border-light);
  transition: background-color 0.4s ease;
}

.about-card__stat {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.about-card__icon {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-circle);
  background-color: var(--light-bg);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.about-card__value {
  margin-bottom: 0.313rem;
  color: var(--black);
  font-size: var(--fs-lg);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
  transition: color 0.4s ease;
}

.about-card__label {
  color: var(--paragraph-color);
  font-size: var(--fs-caption);
  line-height: var(--lh-120);
  font-weight: var(--fw-light);
  transition: color 0.4s ease;
}

.about-card__hover {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xs);
  background-image: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover .about-card__hover,
.about-card:focus-within .about-card__hover {
  opacity: 1;
}

.about-card:hover .about-card__title,
.about-card:focus-within .about-card__title,
.about-card:hover .about-card__value,
.about-card:focus-within .about-card__value {
  color: var(--white);
}

.about-card:hover .about-card__text,
.about-card:focus-within .about-card__text,
.about-card:hover .about-card__label,
.about-card:focus-within .about-card__label {
  color: var(--white-70);
}

.about-card:hover .about-card__rule,
.about-card:focus-within .about-card__rule {
  background-color: #dff8ef99;
}

/* ============================================================
   Overview
   ============================================================ */

/* O trilho existe só para gerar curso de rolagem: são 300vh de
   altura para o painel preso ter por onde correr. */
.overview__track {
  height: 300vh;
}

.overview__sticky {
  position: sticky;
  top: 6.25rem;
}

.overview__layout {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.overview__media,
.overview__panel {
  width: 100%;
  max-width: 39.75rem;
}

.overview__image {
  border-radius: var(--r-xs);
  overflow: hidden;
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.overview__image img {
  width: 100%;
}

.overview__title {
  max-width: 31.25rem;
}

.overview__text {
  max-width: 24rem;
}

/* ---------- Pilha de cartões --------------------------------
   O primeiro cartão ocupa o fluxo e define a altura da pilha. Os
   outros dois ficam absolutos sobre ele, empurrados 200% para
   baixo, e sobem conforme a rolagem (js/overview.js). O z-index
   crescente garante que cada um cubra o anterior ao chegar.
   ------------------------------------------------------------ */

.overview__stack {
  position: relative;
}

.overview__item {
  width: 100%;
}

.overview__item[data-overview-item="1"] {
  position: relative;
  z-index: 1;
}

.overview__item[data-overview-item="2"],
.overview__item[data-overview-item="3"] {
  position: absolute;
  inset: 0 0 auto;
  transform: translate(0, 200%);
}

.overview__item[data-overview-item="2"] { z-index: 2; }
.overview__item[data-overview-item="3"] { z-index: 3; }

/* ---------- Cartão ------------------------------------------ */

.overview-card {
  width: 100%;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

/* Cartão de destaque da pilha. */
.overview-card--accent {
  background-image: var(--gradient-primary);
}

.overview-card__top {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.375rem;
}

.overview-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-3xs);
  background-color: var(--white);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.overview-card__icon img {
  width: 1.75rem;
  height: 1.75rem;
}

.overview-card__tag {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-3xs);
  background-color: var(--white);
  color: var(--text-color);
  font-size: var(--fs-sm);
  line-height: var(--lh-100);
  font-weight: var(--fw-regular);
  text-align: center;
}

.overview-card__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 0.5rem;
  background-color: var(--stroke);
}

.overview-card__title {
  margin-bottom: 0.375rem;
  color: var(--text-color);
  font-size: var(--fs-h4);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.overview-card__text {
  max-width: 28rem;
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

/* No cartão de destaque o texto inverte para branco e a régua
   passa a ser um branco translúcido. */
.overview-card--accent .overview-card__title {
  color: var(--white);
}

.overview-card--accent .overview-card__text {
  color: var(--light-paragraph);
}

.overview-card--accent .overview-card__rule {
  background-color: var(--border-white);
}

/* ============================================================
   Process
   ============================================================ */

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.process-card {
  margin-inline: auto;
  padding: 1.5rem 0.75rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

/* O texto recebe recuo lateral próprio para a foto poder encostar
   nas bordas internas do cartão. */
.process-card__body {
  margin-bottom: 1.5rem;
  padding-inline: 0.75rem;
}

.process-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.375rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-circle);
  background-color: var(--light-bg);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.process-card__icon img {
  width: 1rem;
  height: 1rem;
}

.process-card__title {
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: var(--fs-h4);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.process-card__text {
  color: var(--paragraph-color);
  font-size: var(--fs-sm);
  line-height: var(--lh-150);
  font-weight: var(--fw-light);
}

.process-card__media {
  aspect-ratio: 1.15 / 1;
  border-radius: var(--r-3xs);
  overflow: hidden;
}

.process-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ============================================================
   Key metrics (abas)
   ============================================================ */

.metrics__panels {
  /* O cartão de consulta escapa da foto, então nada aqui pode
     recortar o conteúdo. */
  overflow: visible;
}

.metrics__panel[hidden] {
  display: none;
}

.metrics__panel {
  position: relative;
}

.metrics__media {
  height: 28.5rem;
  border-radius: var(--r-xs);
  overflow: hidden;
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.metrics__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metrics__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
  gap: 1.5rem;
}

/* ---------- Aba ---------------------------------------------
   Mesmo padrão do link de navegação: o gradiente vive num
   elemento próprio atrás do conteúdo, para poder transicionar.
   ------------------------------------------------------------ */

.metrics-tab {
  position: relative;
  z-index: 1;
  padding: 1.375rem 0.75rem;
  border-radius: var(--r-3xs);
  background-color: var(--white);
  text-align: left;
  overflow: hidden;
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.metrics-tab__row {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.metrics-tab__id {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.metrics-tab__icon {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-circle);
  background-color: var(--light-bg);
  overflow: hidden;
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.metrics-tab__icon img {
  width: 1.125rem;
  height: 1.125rem;
}

.metrics-tab__title {
  color: var(--text-color);
  font-size: var(--fs-lg);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
  transition: color 0.3s ease;
}

.metrics-tab__info {
  color: var(--primary-color);
  font-size: var(--fs-base);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
  transition: color 0.3s ease;
}

.metrics-tab__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metrics-tab.is-active .metrics-tab__bg {
  opacity: 1;
}

.metrics-tab.is-active .metrics-tab__title {
  color: var(--white);
}

.metrics-tab.is-active .metrics-tab__info {
  color: var(--white-70);
}

/* ---------- Cartão de consulta sobreposto ------------------- */

.appointment {
  position: absolute;
  inset: 50% 2.75rem auto auto;
  width: 100%;
  max-width: 28.438rem;
  max-height: 80%;
  padding: 1.125rem;
  border-radius: var(--r-xs);
  background-color: var(--white);
  overflow: auto;
  transform: translateY(-50%);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.appointment__top {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.appointment__title {
  color: var(--text-color);
  font-size: var(--fs-h6);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.appointment__arrow {
  width: 10px;
}

.appointment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.125rem;
  gap: 1.125rem;
}

.appointment__cell {
  padding: 0.875rem;
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.appointment__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
}

.appointment__value {
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: var(--fs-base);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.appointment__label {
  color: var(--paragraph-color);
  font-size: var(--fs-caption);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.appointment__doctor {
  padding: 0.875rem;
  border-radius: var(--r-xs);
  background-image: linear-gradient(
    283deg,
    var(--grad-1),
    var(--grad-2) 44%,
    var(--grad-1)
  );
  overflow: hidden;
}

.appointment__doctor-row {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.appointment__doctor-id {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.625rem;
}

.appointment__avatar {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-circle);
}

.appointment__doctor-name {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: var(--fs-base);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.appointment__doctor-role {
  color: var(--light-paragraph);
  font-size: var(--fs-caption);
  line-height: var(--lh-130);
  font-weight: var(--fw-medium);
}

.appointment__chat {
  max-width: 1.75rem;
}

/* ============================================================
   Features (carrossel)
   ============================================================ */

/* O respiro embaixo é o que abre espaço para as setas, que ficam
   ancoradas na base do slider. */
.slider {
  position: relative;
  padding-bottom: 7rem;
}

/* A janela não recorta: o slide inteiro cabe na largura do
   container, então não há transbordo lateral a esconder. */
.slider__viewport {
  max-width: 100%;
  overflow: hidden;
}

.slider__track {
  display: flex;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
}

.slide__grid {
  display: grid;
  grid-template-columns: 1fr 1.41fr;
  gap: 1.5rem;
}

.slide__media {
  border-radius: var(--r-xs);
  overflow: hidden;
}

.slide__media img {
  width: 100%;
  height: 100%;
  border-radius: var(--r-xs);
  object-fit: cover;
}

.slide__panel {
  padding: 1.5rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xs);
  background-color: var(--white);
  overflow: hidden;
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.slide__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r-circle);
  background-color: var(--white);
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.slide__title {
  margin-bottom: 0.375rem;
  color: var(--black);
  font-size: var(--fs-h4);
  line-height: var(--lh-140);
  font-weight: var(--fw-medium);
}

.slide__text {
  margin-bottom: 1.625rem;
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

/* ---------- Setas -------------------------------------------
   As duas ficam na base, lado a lado no centro, afastadas 2rem
   do eixo — daí o deslocamento somado à translação de centragem.
   ------------------------------------------------------------ */

.slider__arrow {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-circle);
  background-color: var(--white);
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 6px 10px -3.75px #0000000f;
}

.slider__arrow--prev {
  left: 50%;
  margin-left: -2rem;
  transform: translateX(-50%);
}

.slider__arrow--next {
  right: 50%;
  margin-right: -2rem;
  transform: translateX(50%);
}

.slider__arrow img {
  display: none;
}

.slider__arrow::before {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  background-image: var(--gradient-primary);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  content: "";
}

.slider__arrow--prev::before {
  mask-image: url("../assets/icons/features-slider-button-arrow.svg");
  -webkit-mask-image: url("../assets/icons/features-slider-button-arrow.svg");
}

.slider__arrow--next::before {
  mask-image: url("../assets/icons/features-slider-button-arrow-2.svg");
  -webkit-mask-image: url("../assets/icons/features-slider-button-arrow-2.svg");
}

.slider__arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ============================================================
   Reviews
   ============================================================ */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review {
  padding: 2rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

/* Empurra o bloco do autor para a base, para os cartões da linha
   alinharem o rodapé mesmo com depoimentos de tamanhos diferentes. */
.review__body {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
}

.review__rating {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.review__score {
  color: var(--black);
  font-size: var(--fs-base);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
}

.review__stars {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.125rem;
}

.review__text {
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

.review__bottom {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.review__author {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.review__avatar {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-3xs);
}

.review__name {
  margin-bottom: 0.313rem;
  color: var(--text-color);
  font-size: var(--fs-base);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
}

.review__role {
  color: var(--paragraph-color);
  font-size: var(--fs-caption);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
}

.review__quote {
  max-width: 2.5rem;
}

/* ============================================================
   Pricing
   ============================================================ */

.plans {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  gap: 3.75rem;
}

/* Cada plano ocupa uma faixa dividida em duas colunas iguais. */
.plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plan__summary {
  padding: 1.625rem 2rem 2rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px #0000000f;
}

/* Empurra o botão para a base para que os dois cartões da faixa
   terminem alinhados. */
.plan__summary-inner {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
  gap: 1.75rem;
}

.plan__head {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
}

.plan__price {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.25rem;
  gap: 0.5rem;
}

.plan__amount {
  color: var(--black);
  font-size: var(--fs-title-md);
  line-height: var(--lh-120);
  font-weight: var(--fw-medium);
}

.plan__period {
  color: var(--paragraph-color);
  font-size: var(--fs-md);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
}

.plan__note {
  color: var(--paragraph-color);
  font-size: var(--fs-md);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
}

.plan__name {
  color: var(--black);
  font-size: var(--fs-h4);
  line-height: var(--lh-140);
  font-weight: var(--fw-medium);
}

.plan__cta {
  display: flex;
  flex-flow: column;
}

.plan__features {
  padding: 2rem 2.5rem;
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.plan__features-title {
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: var(--fs-h5);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

.plan__features-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--stroke);
}

/* Lista em duas colunas naturais: os itens quebram por largura,
   não por número fixo de colunas. */
.plan__feature-list {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.25rem;
}

.plan__feature {
  padding-left: 1.875rem;
  background-image: url("../assets/plan-feature-check-dentrio.svg");
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  color: var(--gray);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

/* ============================================================
   Blog
   ============================================================ */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post {
  padding: 2rem 2rem 1.5rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xs);
  background-color: var(--white);
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

/* A altura mínima mantém os três cartões iguais mesmo com títulos
   de tamanhos diferentes. */
.post__inner {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  min-height: 22.75rem;
  gap: 2rem;
}

.post__top {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.post__tag {
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-3xs);
  background-color: var(--white);
  color: var(--primary-color);
  font-size: var(--fs-base);
  line-height: var(--lh-100);
  font-weight: var(--fw-medium);
  text-align: center;
  box-shadow:
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 10px 10px -3.75px #0000000f;
}

.post__media {
  width: 100%;
  max-width: 11.25rem;
  border-radius: var(--r-3xs);
  overflow: hidden;
}

.post__media img {
  width: 100%;
}

.post__meta {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.post__meta-item {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.625rem;
}

.post__meta-icon {
  flex: none;
  width: 1rem;
  height: 1rem;
}

.post__meta-text {
  color: var(--paragraph-color);
  font-size: var(--fs-sm);
  line-height: var(--lh-120);
  font-weight: var(--fw-regular);
}

.post__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--stroke);
}

.post__title {
  display: inline-block;
  color: var(--text-color);
  font-size: var(--fs-lg);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

/* ============================================================
   Rodapé
   ============================================================ */

.footer {
  padding-top: var(--section-gap);
}

/* ---------- Newsletter -------------------------------------- */

.newsletter {
  margin-bottom: 3.75rem;
  padding: 2.5rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xs);
  background-color: var(--white);
  overflow: clip;
  box-shadow:
    inset 87px 55px 67px #ffffff26,
    0 0 60px #20c7b71a,
    0 8px 250px #0d7f740d,
    0 6px 10px #0000000f;
}

.newsletter__inner {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.newsletter__title {
  margin-bottom: 0.375rem;
  color: var(--text-color);
  font-size: var(--fs-h4);
  line-height: var(--lh-140);
  font-weight: var(--fw-medium);
}

.newsletter__text {
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

.newsletter__form-wrap {
  width: 100%;
  max-width: 38.5rem;
}

/* O botão flutua dentro do campo, encostado à direita. */
.newsletter__form {
  position: relative;
}

.newsletter__field {
  width: 100%;
  height: 3.875rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--r-pill);
  background-color: var(--bg);
  color: var(--text-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
}

.newsletter__field::placeholder {
  color: var(--paragraph-color);
}

.newsletter__submit {
  position: absolute;
  inset: 50% 0.375rem auto auto;
  padding: 0.875rem 2rem;
  border-radius: var(--r-pill);
  background-image: var(--gradient-primary);
  color: var(--brand-deep);
  font-size: var(--fs-base);
  line-height: var(--lh-130);
  font-weight: var(--fw-medium);
  text-align: center;
  overflow: clip;
  transform: translateY(-50%);
  box-shadow: 0 28px 17px #00000005;
}

/* ---------- Contatos e links -------------------------------- */

.footer__main {
  margin-bottom: 3.25rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.3fr) repeat(2, minmax(8rem, 0.7fr)) minmax(12rem, 1fr);
  gap: 2rem;
  align-items: start;
}

.footer__contact--right {
  text-align: right;
}

.footer__contact-label {
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

.footer__contact-value {
  color: var(--paragraph-color);
  font-size: var(--fs-lg);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

.footer__col-title {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: var(--fs-caption);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

.footer__links {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__link {
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-regular);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--primary-color);
}

/* ---------- Barra final ------------------------------------- */

.footer__bottom {
  padding-block: 1.25rem;
  border-top: 1px solid var(--stroke);
}

.footer__bottom-row {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__copy {
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

.footer__copy-link {
  border-bottom: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.footer__social-wrap {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.footer__social-label {
  color: var(--paragraph-color);
  font-size: var(--fs-base);
  line-height: var(--lh-150);
  font-weight: var(--fw-medium);
}

.footer__social-list {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Os ícones sociais são glifos da Font Awesome Brands, não
   imagens — daí virem de `content` em vez de <img>. */
.footer__social {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--stroke);
  border-radius: 2px;
  color: var(--text-color);
  font-family: var(--font-fa-brands);
  font-size: var(--fs-caption);
  line-height: var(--lh-100);
  transition: color 0.2s ease;
}

.footer__social:hover {
  color: var(--primary-color);
}

.footer__social--facebook::before  { content: "\f39e"; }
.footer__social--dribbble::before  { content: "\f17d"; }
.footer__social--linkedin::before  { content: "\f0e1"; }
.footer__social--instagram::before { content: "\f16d"; }

/* ============================================================
   Reveal de inclinação
   ============================================================ */

/* Os cartões de Process e de Reviews entram tortos e se endireitam
   conforme sobem na tela. O ângulo de partida de cada um vem do
   atributo --rot no HTML, porque é dado de conteúdo — a sequência
   de ângulos é o que dá o efeito de pilha bagunçada.

   Ao contrário das revelações por opacidade, o estado inicial fica
   no CSS: um cartão torto ainda é legível, então não há risco de
   sumir se o JS falhar. */
.tilt {
  transform: rotate(calc(var(--rot, 0) * 1deg));
}

/* Os cartões de Process partem empilhados no centro, deslocados de
   uma largura de cartão. Abaixo de 992px o original não anima esta
   section, então a regra fica presa ao desktop e nas demais larguras
   os cartões já nascem no lugar. */
@media (min-width: 992px) {
  .tilt--spread {
    transform: translateX(calc(var(--shift, 0) * 1%))
      rotate(calc(var(--rot, 0) * 1deg));
  }
}

/* ============================================================
   Adaptação Dentrio
   ============================================================ */

#produto {
  background: var(--white);
}

#indicadores,
#equipe,
#seguranca {
  background-image: var(--gradient-soft);
}

.hero__dashboard,
.hero__stat img,
.hero__call-video,
.hero__call-controls,
.hero__chat img,
.overview__image img,
.slide__media img,
.process-card__media img,
.metrics__media img {
  display: block;
}

.hero__dashboard,
.hero__stat img,
.hero__call-video,
.hero__chat img {
  object-fit: contain;
}

.hero__call-controls {
  max-width: 46%;
}

.about-card:hover .about-card__title,
.about-card:focus-within .about-card__title,
.about-card:hover .about-card__value,
.about-card:focus-within .about-card__value,
.about-card:hover .about-card__text,
.about-card:focus-within .about-card__text,
.about-card:hover .about-card__label,
.about-card:focus-within .about-card__label,
.overview-card--accent .overview-card__title,
.overview-card--accent .overview-card__text {
  color: var(--brand-deep);
}

.about-card:hover .about-card__rule,
.about-card:focus-within .about-card__rule,
.overview-card--accent .overview-card__rule {
  background-color: #063f3b33;
}

.process-card__icon strong {
  color: var(--brand-deep);
  font-size: var(--fs-h5);
  line-height: 1;
}

#indicadores .metrics__media {
  background-image: var(--gradient-soft);
}

#indicadores .metrics__media img {
  padding: 0;
  object-fit: cover;
}

#indicadores .appointment__avatar {
  padding: 0.3rem;
  background-image: var(--gradient-soft);
  object-fit: contain;
}

.review__eyebrow {
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  font-size: var(--fs-sm);
  line-height: var(--lh-120);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews--benefits .review {
  min-height: 15rem;
}

.reviews--benefits .review:nth-child(2),
.reviews--benefits .review:nth-child(5) {
  background-image: var(--gradient-soft);
}

.plan:nth-child(2) .plan__summary,
.plan:nth-child(2) .plan__features {
  background-image: var(--gradient-soft);
}

.plan__amount {
  color: var(--brand-deep);
}

.posts--security .post {
  background-image: linear-gradient(145deg, #ffffff 0%, #f4fcf8 100%);
}

.posts--security .post__inner {
  min-height: 19rem;
}

.post__media--brand {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 5rem;
  padding: 0.75rem;
  border-radius: var(--r-circle);
  background-image: var(--gradient-soft);
}

.newsletter--cta {
  background-image: var(--gradient-soft);
}

.newsletter__brand,
.newsletter__actions {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.newsletter__brand {
  max-width: 42rem;
  gap: 1.25rem;
}

.newsletter__brand > img {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
}

.newsletter__actions {
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer__contact {
  max-width: 18rem;
}

.tag__icon,
.overview-card__icon img,
.metrics-tab__icon img,
.slide__icon img {
  filter: hue-rotate(278deg) saturate(0.72);
}
