/* =========================================================
   ESTILOS â€” seÃ§Ãµes, componentes e responsivo
   Dr. Maycon Gomes Â· CirurgiÃ£o-Dentista
   ========================================================= */

/* ============================ HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 0.9rem;
  /* com viewport-fit=cover, o header precisa sair de baixo do notch */
  padding-top: calc(0.9rem + env(safe-area-inset-top, 0px));
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(7, 27, 51, 0.1);
  padding-block: 0.55rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #062030;
  background: var(--grad-accent);
  box-shadow: 0 8px 22px rgba(20, 214, 196, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand-mark--logo {
  background: transparent;
  box-shadow: 0 10px 26px rgba(4, 16, 31, 0.35);
}

.brand-mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.brand-text small {
  font-size: 0.73rem;
  /* tracking largo so faz sentido em caixa alta; aqui quebra o agrupamento
     de caracteres do subtitulo e desacelera a leitura */
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.site-header.is-scrolled .brand-text strong { color: var(--ink-900); }
.site-header.is-scrolled .brand-text small { color: var(--ink-400); }

/* NavegaÃ§Ã£o */
.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

/* Marca da seção ativa: um ponto teal com halo suave. O antigo ícone de
   dente pesava demais no header e competia com o texto do item. */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.22rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 214, 196, 0.16);
  transform: translateX(-50%) scale(0.4);
  transform-origin: center center;
  opacity: 0;
  transition: transform 0.34s var(--ease), opacity 0.34s var(--ease),
              box-shadow 0.34s var(--ease);
}

.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.nav-list a.is-active::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(20, 214, 196, 0.2), 0 0 12px rgba(20, 214, 196, 0.55);
}

.site-header.is-scrolled .nav-list a { color: var(--ink-600); }
.site-header.is-scrolled .nav-list a:hover { color: var(--navy-900); background: rgba(7, 27, 51, 0.06); }
.site-header.is-scrolled .nav-list a.is-active { color: var(--navy-900); font-weight: 600; }
/* teal-500 quase some no branco: um degrau mais escuro para o header claro */
.site-header.is-scrolled .nav-list a.is-active::after { background-color: var(--teal-600); }

.nav-cta { white-space: nowrap; }

/* HambÃºrguer */
.nav-toggle {
  display: none;
  position: relative;
  /* o overlay do menu (.nav) cobre a tela toda e vem depois no DOM, entao
     pinta por cima do header. Sem este z-index o botao vira invisivel
     quando o menu abre -- e o visitante fica preso, sem como fechar. */
  z-index: 110;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled .nav-toggle {
  background: rgba(7, 27, 51, 0.06);
  border-color: var(--line-strong);
}

.site-header.is-scrolled .nav-toggle-bar { background: var(--ink-900); }

body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: clamp(2rem, 5vh, 4.5rem);
  background: var(--grad-dark);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.hero-orb--1 {
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(20, 214, 196, 0.34), transparent 68%);
}

.hero-orb--2 {
  width: 620px; height: 620px;
  bottom: -260px; left: -180px;
  background: radial-gradient(circle, rgba(46, 123, 232, 0.26), transparent 68%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}

.container.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  width: min(var(--container), 100% - var(--gutter) * 2);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.74rem, 1.1vw, 0.83rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  padding: 0.5rem 1rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(20, 214, 196, 0.35);
  border-radius: 999px;
  background: rgba(20, 214, 196, 0.08);
}

.hero-title {
  color: #fff;
  margin-bottom: 1.35rem;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(115deg, var(--teal-400), var(--teal-500) 45%, #6ea8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  line-height: 1.75;
  color: var(--on-dark-soft);
  max-width: 54ch;
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--on-dark-soft);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-chips li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 214, 196, 0.18);
}

/* ComposiÃ§Ã£o da foto */
.hero-visual { display: flex; justify-content: center; }

.hero-frame {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100svh - var(--header-h) - 14rem);
  aspect-ratio: 4 / 5;
}

.hero-blob {
  position: absolute;
  inset: -6% -8%;
  background: linear-gradient(150deg, var(--teal-500), var(--blue-500) 60%, var(--navy-700));
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  filter: blur(2px);
  opacity: 0.55;
  animation: blobFloat 14s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  0%   { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 54% 46% 44% 56% / 52% 58% 42% 48%; transform: rotate(4deg) scale(1.02); }
  100% { border-radius: 48% 52% 58% 42% / 44% 52% 48% 56%; transform: rotate(-3deg) scale(1); }
}

.hero-ring {
  position: absolute;
  inset: -14px;
  border: 1.5px dashed rgba(20, 214, 196, 0.4);
  border-radius: 44% 56% 50% 50% / 50% 44% 56% 50%;
  animation: ringSpin 40s linear infinite;
}

@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 44% 56% 50% 50% / 46% 44% 56% 54%;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(2, 10, 22, 0.55);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 20%;
}

/* Cards flutuantes */
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  background: rgba(8, 32, 59, 0.78);
  border: 1px solid rgba(20, 214, 196, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(2, 10, 22, 0.5);
  color: var(--on-dark);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 3;
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}

.hero-card span { color: var(--on-dark-mute); font-size: 0.78rem; }

.hero-card--name {
  left: -8%;
  bottom: 13%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  animation: floatY 7s ease-in-out infinite;
}

.hero-card--cro {
  right: -6%;
  top: 11%;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  /* o CRO e uma leitura: numero alinhado, nao texto decorativo */
  font-variant-numeric: tabular-nums;
  color: var(--teal-300);
  animation: floatY 7s ease-in-out -2.33s infinite;
}

.hero-card--insta {
  right: -4%;
  bottom: 7%;
  color: var(--on-dark-soft);
  text-decoration: none;
  animation: floatY 7s ease-in-out -4.66s infinite;
}

.hero-card--insta:hover,
.hero-card--insta:focus-visible {
  border-color: rgba(20, 214, 196, 0.75);
  color: var(--teal-300);
}

.hero-card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 5px rgba(20, 214, 196, 0.16);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* Dica de rolagem */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-scroll-line {
  width: 1.5px;
  height: 42px;
  background: linear-gradient(180deg, var(--teal-500), transparent);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, #fff, transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================ IMPACTO ============================ */
.impact {
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(20, 214, 196, 0.1), transparent 65%),
    linear-gradient(180deg, var(--navy-950), #061730);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-top: 1px solid rgba(20, 214, 196, 0.14);
}

.impact-inner {
  max-width: 880px;
  text-align: center;
}

.impact-title {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.4rem;
}

.impact-title em {
  font-style: normal;
  display: block;
  background: linear-gradient(110deg, var(--teal-400), #6ea8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.impact-text {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: var(--on-dark-soft);
  max-width: 64ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.impact-text strong { color: var(--teal-300); font-weight: 600; }

/* ============================ SOBRE ============================ */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.sobre-visual { position: relative; }

.sobre-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--surface-soft);
}

.sobre-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(7, 27, 51, 0.35));
}

.sobre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 18%;
  transition: transform 1.2s var(--ease);
}

.sobre-visual:hover .sobre-photo img { transform: scale(1.045); }

.sobre-visual::before {
  content: "";
  position: absolute;
  inset: auto -22px -22px auto;
  width: 62%;
  height: 58%;
  border: 2px solid var(--teal-500);
  border-radius: var(--radius-xl);
  opacity: 0.35;
  z-index: -1;
}

.sobre-badge {
  position: absolute;
  left: -22px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.sobre-badge-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-accent);
  color: #062030;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.sobre-badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: 0.98rem;
}

.sobre-badge span { font-size: 0.8rem; color: var(--ink-400); }

.sobre-tag {
  position: absolute;
  top: 26px;
  right: -14px;
  padding: 0.55rem 1.1rem;
  background: var(--navy-900);
  color: var(--teal-300);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.sobre-copy h2 { margin-bottom: 1.2rem; }

/* Texto de apoio da secao Sobre: vem logo apos a frase-chave */
.sobre-texto {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink-500);
}

.sobre-texto strong {
  font-weight: 600;
  color: var(--ink-900);
}

/* o espaco entre a frase-chave e o texto de apoio vem do p + p do site */
.sobre-copy p + p { margin-top: 1rem; }

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.4rem;
  margin: 1.8rem 0 2.2rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-800);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(20, 214, 196, 0.15);
  border: 1.5px solid var(--teal-500);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.55rem;
  width: 0.48rem;
  height: 0.28rem;
  border-left: 2px solid var(--teal-600);
  border-bottom: 2px solid var(--teal-600);
  transform: rotate(-45deg);
}

.sobre-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================ APARELHOS ============================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.4rem;
  counter-reset: step;
  margin-bottom: 1.6rem;
}

/* Mesmos materiais dos cards de tratamento: fundo navy em
   gradiente, brilho turquesa no topo e icone no mesmo tom */
.step-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(20, 214, 196, 0.25);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-xs);
  color: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 300px at 88% -20%, rgba(20, 214, 196, 0.2), transparent 62%);
  pointer-events: none;
}

.step-card > * { position: relative; }

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 214, 196, 0.6);
}

.step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  /* algarismos de largura fixa: a escala 01-02-03 alinha como numa regua */
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.09);
  transition: color 0.4s var(--ease);
}

.step-card:hover .step-num { color: rgba(20, 214, 196, 0.26); }

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  color: var(--teal-300);
  background: rgba(20, 214, 196, 0.14);
  border: 1px solid rgba(20, 214, 196, 0.35);
  transition: transform 0.4s var(--ease);
}

.step-icon svg { width: 26px; height: 26px; }

.step-card:hover .step-icon { transform: rotate(-6deg) scale(1.08); }

.step-card h3 { margin-bottom: 0.6rem; color: #fff; }
.step-card > p { font-size: 0.93rem; line-height: 1.65; color: var(--on-dark-soft); }

.tratamentos .fine-print { margin-bottom: 3rem; }

/* --- Cabecalho em destaque: selo + titulo com palavra em gradiente ---
   Compartilhado pelas secoes Tratamentos e Sobre */
.cab-destaque .eyebrow {
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 214, 196, 0.1);
  border: 1px solid rgba(20, 214, 196, 0.3);
  margin-bottom: 1.35rem;
}

.cab-destaque .eyebrow::before { width: 18px; }

.cab-destaque h2 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cab-destaque h2 em {
  font-style: normal;
  background: linear-gradient(112deg, #0a9e8e, #12c2b1 42%, var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tratamentos: centralizado e maior */
.trat-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.trat-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 0;
}

/* Sobre: dentro da coluna de texto, ao lado da foto */
.sobre-copy.cab-destaque h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
}

/* SeÃ§Ã£o Ãºnica de tratamentos */
.tratamentos .trat-steps { margin-top: clamp(3rem, 6vw, 4.5rem); }
.tratamentos .trat-steps[hidden] { display: none; }
.tratamentos [id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ============================ ALINHAMENTOS ============================ */
.alinha-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.alinha-copy h2 { margin-bottom: 1.2rem; }
.alinha-copy .lead { margin-bottom: 1.8rem; }

.alinha-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.alinha-chips li {
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(20, 214, 196, 0.35);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.alinha-chips li:hover { background: rgba(20, 214, 196, 0.16); transform: translateY(-3px); }

.alinha-note {
  display: flex;
  gap: 0.9rem;
  padding: 1.15rem 1.3rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alinha-note svg { flex: 0 0 auto; color: var(--teal-400); margin-top: 2px; }
.alinha-note p { font-size: 0.92rem; line-height: 1.65; color: var(--on-dark-soft); }

/* Visual */
.alinha-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: clip;
}

.alinha-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(20, 214, 196, 0.35);
}

.alinha-ring--1 { inset: 6%; animation: ringSpin 34s linear infinite; }
.alinha-ring--2 { inset: 17%; border-style: solid; border-color: rgba(46, 123, 232, 0.28); animation: ringSpin 26s linear infinite reverse; }
.alinha-ring--3 { inset: 28%; border-color: rgba(20, 214, 196, 0.22); }

.alinha-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--teal-400);
  background: radial-gradient(circle at 35% 30%, rgba(20, 214, 196, 0.24), rgba(7, 27, 51, 0.9));
  border: 1.5px solid rgba(20, 214, 196, 0.45);
  box-shadow: 0 0 70px rgba(20, 214, 196, 0.28), inset 0 0 40px rgba(20, 214, 196, 0.12);
}

.alinha-core svg { width: 52%; }

.alinha-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--on-dark);
  background: rgba(8, 32, 59, 0.85);
  border: 1px solid rgba(20, 214, 196, 0.32);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(2, 10, 22, 0.45);
  white-space: nowrap;
}

.alinha-float strong {
  font-family: var(--font-display);
  color: var(--teal-400);
  font-size: 0.9rem;
}

.alinha-float--1 { top: 9%; left: 4%; animation: floatY 6s ease-in-out infinite; }
.alinha-float--2 { top: 44%; right: -3%; animation: floatY 7s ease-in-out 1s infinite; }
.alinha-float--3 { bottom: 8%; left: 12%; animation: floatY 6.5s ease-in-out 2s infinite; }

/* ============================ PROCEDIMENTOS ============================ */
.trat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.trat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 44px e o piso de alvo de toque: vale em todas as larguras,
     em vez de depender do padding de cada breakpoint */
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              transform 0.35s var(--ease);
}

.trat-tab:hover {
  color: var(--navy-800);
  border-color: rgba(20, 214, 196, 0.5);
}

.trat-tab.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Halo teal pulsando no item ativo: a lista de filtros precisa dizer
   "isto aqui se clica" sem depender do mouse — no celular ninguem passa
   o cursor. O movimento e desligado em prefers-reduced-motion (base.css). */
.trat-tab.is-active {
  animation: tratTabPulse 2.6s var(--ease) infinite;
}

.trat-tab.is-active:hover,
.trat-tab.is-active:focus-visible { animation-play-state: paused; }

@keyframes tratTabPulse {
  0%, 100% { box-shadow: var(--shadow-sm), 0 0 0 0 rgba(20, 214, 196, 0.5); }
  60%      { box-shadow: var(--shadow-sm), 0 0 0 9px rgba(20, 214, 196, 0); }
}

.trat-tab:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 2px; }

.proc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.4rem;
}

.proc-grid[hidden] { display: none; }

.proc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem;
  /* o fio de luz no topo e o que separa o card do fundo texturizado
     atras dele -- sem ele o branco do card e o branco do bloco viram
     a mesma superficie. */
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.proc-card[hidden] { display: none; }

.proc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 214, 196, 0.4);
}

.proc-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  color: var(--navy-800);
  background: linear-gradient(140deg, rgba(20, 214, 196, 0.16), rgba(46, 123, 232, 0.12));
  border: 1px solid rgba(20, 214, 196, 0.3);
  transition: transform 0.4s var(--ease);
}

.proc-icon svg { width: 26px; height: 26px; }
.proc-card:hover .proc-icon { transform: rotate(-6deg) scale(1.08); }

.proc-card h3 { margin-bottom: 0.6rem; }
.proc-card > p { font-size: 0.93rem; line-height: 1.65; color: var(--ink-500); }

/* --- Visual escuro de todos os cards de tratamento --- */
.proc-card--featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  border-color: rgba(20, 214, 196, 0.25);
  color: #fff;
}

.proc-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 300px at 88% -20%, rgba(20, 214, 196, 0.2), transparent 62%);
  pointer-events: none;
}

.proc-card--featured > * { position: relative; }

.proc-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 214, 196, 0.6);
}

.proc-card--featured h3 { color: #fff; }
.proc-card--featured > p { color: var(--on-dark-soft); }

.proc-card--featured .proc-icon {
  color: var(--teal-300);
  background: rgba(20, 214, 196, 0.14);
  border-color: rgba(20, 214, 196, 0.35);
}

/* ============================ VÃDEO ============================ */
.video-section {
  padding-top: clamp(2.5rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

/* --- Palavras do especialista ---
   O .cab-destaque h2 em usa um teal escuro que nÃ£o contrasta sobre o
   fundo navy desta seÃ§Ã£o, entÃ£o aqui reescrevemos com as cores claras
   que jÃ¡ sÃ£o usadas no hero. */
.video-copy.cab-destaque h2 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--teal-400), var(--teal-500) 45%, #6ea8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Moldura com brilho que respira, para chamar o olhar --- */
.video-frame {
  animation: videoFrameBreath 6s ease-in-out infinite alternate;
}

@keyframes videoFrameBreath {
  from { box-shadow: 0 40px 90px rgba(2, 10, 22, 0.6), 0 0 0 rgba(20, 214, 196, 0); }
  to   { box-shadow: 0 40px 90px rgba(2, 10, 22, 0.6), 0 0 70px rgba(20, 214, 196, 0.25); }
}

/* --- Play: anel pulsando --- */
.video-play-icon { position: relative; }

.video-play-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal-400);
  animation: videoPlayPulse 2.8s var(--ease) infinite;
  pointer-events: none;
}

@keyframes videoPlayPulse {
  0%   { transform: scale(1); opacity: 0.75; }
  70%  { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* --- Palavras do especialista ---
   Lado a lado: o texto ocupa a coluna da esquerda e o vÃ­deo a da
   direita. O vÃ­deo Ã© 16:9 de verdade, entÃ£o em duas colunas ele
   preenche o quadro sem faixas borradas nas laterais.
   A coluna do vÃ­deo Ã© a mais larga de propÃ³sito: ele Ã© o assunto da
   seÃ§Ã£o e precisa dominar. A do texto encolhe sÃ³ o bastante para
   caber o tÃ­tulo em duas linhas. */
.video-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.25rem);
}

.video-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.video-copy .eyebrow { justify-content: flex-start; }

.video-copy h2 {
  margin-bottom: 0;
  max-width: 16ch;
}

.video-player {
  width: 100%;
  max-width: 780px;
  justify-self: end;
}

.video-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--on-dark-mute);
  padding: 0.6rem 1.1rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.video-hint svg { color: var(--teal-400); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-950);
  /* Anel externo suave + brilho da moldura. Sem borda dura: o traÃ§o
     fica por conta do ::before, em degradÃª. */
  box-shadow:
    0 50px 110px rgba(2, 10, 22, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(20, 214, 196, 0.12),
    0 0 44px rgba(20, 214, 196, 0.14);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  /* TraÃ§o mais fino e mais presente: branco frio no topo (luz de cima),
     teal Ã  esquerda e azul Ã  direita, como um vidro iluminado. */
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(20, 214, 196, 0.65) 32%,
    rgba(20, 214, 196, 0.12) 52%,
    rgba(46, 123, 232, 0.5) 78%,
    rgba(120, 170, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  pointer-events: none;
  z-index: 3;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(circle at 50% 50%, rgba(4, 16, 31, 0.15), rgba(4, 16, 31, 0.62));
  transition: background 0.4s var(--ease);
}

.video-play:hover { background: radial-gradient(circle at 50% 50%, rgba(4, 16, 31, 0.05), rgba(4, 16, 31, 0.5)); }

.video-play-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: #062030;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-500));
  box-shadow: 0 0 0 12px rgba(20, 214, 196, 0.16), 0 0 60px rgba(20, 214, 196, 0.5);
  padding-left: 5px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.video-play:hover .video-play-icon {
  transform: scale(1.09);
  box-shadow: 0 0 0 18px rgba(20, 214, 196, 0.14), 0 0 70px rgba(20, 214, 196, 0.6);
}

.video-play-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  z-index: 4;
}

.video-unavailable {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 2rem;
  background: rgba(4, 16, 31, 0.92);
  backdrop-filter: blur(6px);
  color: var(--on-dark-soft);
}

.video-unavailable strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--teal-300);
}

.video-unavailable p { font-size: 0.92rem; max-width: 44ch; }
.video-unavailable code {
  font-size: 0.85rem;
  background: rgba(20, 214, 196, 0.12);
  border: 1px solid rgba(20, 214, 196, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  color: var(--teal-300);
}

/* O botÃ£o encosta na coluna do texto, embaixo do tÃ­tulo, para fechar a
   mesma linha de leitura: olho â†’ tÃ­tulo â†’ botÃ£o, com o vÃ­deo ao lado.
   Centralizado no container ele ficava solto no meio, longe do texto
   e fora do eixo do vÃ­deo. */
.video-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.4rem;
  margin-top: clamp(1.5rem, 2.6vw, 2.1rem);
  text-align: left;
}

.video-cta p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: #fff;
}

/* ============================ ANTES E DEPOIS ============================ */
.cases-carousel { position: relative; }

/* Pista deslizante: 4 fotos no desktop, menos conforme a tela encolhe.
   O scroll-snap Ã© nativo â€” funciona mesmo sem JavaScript. */
.cases-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1.4rem) / 4);
  gap: 1.4rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.2rem 0.9rem;
  margin: -0.5rem -0.2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cases-track::-webkit-scrollbar { display: none; }

.case-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  cursor: pointer;
  text-align: left;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 214, 196, 0.5);
}

/* brilho diagonal que corre pela foto ao passar o mouse */
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.3) 50%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.case-card:hover::after { transform: translateX(130%); }

.case-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1s var(--ease);
}

.case-card:hover .case-media img { transform: scale(1.06); }

/* lupa em disco de vidro no canto â€” visÃ­vel sempre */
.case-zoom {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(4, 16, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  color: #fff;
  pointer-events: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.case-zoom::after {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21M8.5 11h5M11 8.5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21M8.5 11h5M11 8.5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.case-card:hover .case-zoom,
.case-card:focus-visible .case-zoom {
  background: var(--teal-500);
  border-color: transparent;
  color: #062030;
  transform: scale(1.08);
}

/* --- controles do carrossel --- */
.cases-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.cases-arrow {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-800);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.cases-arrow:hover:not(:disabled) {
  background: var(--teal-500);
  border-color: transparent;
  color: #062030;
  transform: translateY(-2px);
}

.cases-arrow:disabled { opacity: 0.35; cursor: default; }

.cases-arrow svg { width: 20px; height: 20px; }

.cases-dots {
  display: flex;
  align-items: center;
  gap: 0;
}

/* O ponto visivel continua pequeno (8px, como sempre foi); a area de
   toque e de 44x44, o minimo para o dedo. O desenho foi para o ::before
   justamente para nao aumentar o tamanho ocupado na linha. */
.cases-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.cases-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(7, 27, 51, 0.2);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.cases-dot:hover::before { background: rgba(20, 214, 196, 0.6); }

.cases-dot:focus-visible { border-radius: 999px; }

.cases-dot.is-active::before {
  width: 26px;
  background: var(--grad-accent);
}

.casos .fine-print { max-width: 72ch; }

/* ============================ CONHEÃ‡A O LOCAL ============================
   ComposiÃ§Ã£o prÃ³pria, diferente de "Palavras do especialista" (texto ao
   lado do vÃ­deo, sobre fundo escuro): aqui o vÃ­deo vertical Ã© encaixado
   num painel claro, saindo por cima e por baixo da borda, e o texto fica
   Ã  direita sobre um fundo suave em gradiente. */
.local {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.local-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  /* o par video+texto fica no centro do painel: antes tudo se
     espremia na esquerda e sobrava uma area morta a direita */
  justify-content: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 10px);
  box-shadow: var(--shadow-sm);
}

/* faixa suave atrÃ¡s do vÃ­deo, com o lado direito em arco */
.local-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: min(48%, 480px);
  border-radius: calc(var(--radius-xl) + 10px) 46% 46% calc(var(--radius-xl) + 10px);
  background: linear-gradient(155deg, rgba(20, 214, 196, 0.18), rgba(110, 168, 255, 0.1));
  pointer-events: none;
}

.local-video {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  /* transborda o painel em cima e embaixo â€” cria profundidade */
  margin-block: -2.75rem;
}

/* O arquivo Ã© vertical (480x854), entÃ£o ele vai num quadro retrato:
   respeita o formato original em vez de esticar em 16:9. A altura Ã© a
   que manda â€” a largura sai da proporÃ§Ã£o e nunca passa de ~315px. */
.local-video-frame {
  position: relative;
  height: clamp(500px, 64vh, 620px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-950);
  border: 3px solid #fff;
  box-shadow: 0 30px 70px rgba(7, 27, 51, 0.18);
  animation: localFrameBreath 6s ease-in-out infinite alternate;
}

@keyframes localFrameBreath {
  from { box-shadow: 0 30px 70px rgba(7, 27, 51, 0.18), 0 0 0 rgba(20, 214, 196, 0); }
  to   { box-shadow: 0 30px 70px rgba(7, 27, 51, 0.18), 0 0 60px rgba(20, 214, 196, 0.3); }
}

.local-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* o botÃ£o de play jÃ¡ Ã© estilizado por .video-play; aqui sÃ³ ajustamos
   o tamanho do rÃ³tulo para o quadro menor */
.local-video-frame .video-play { gap: 0.9rem; }

.local-video-frame .video-play-label { font-size: 0.85rem; }

.local-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.local-copy .section-head { margin-bottom: 0; }

/* ============================ DEPOIMENTOS EM VÃDEO ============================ */
/* O padding padrÃ£o da seÃ§Ã£o Ã© folgado demais para um bloco tÃ£o alto
   como este. Aqui ele Ã© apertado para o leque caber sem a seÃ§Ã£o
   passar da dobra. */
.depoimentos {
  padding-block: clamp(2.4rem, 4vw, 3.5rem);
}

/* Titulo desta secao e mais leve e arejado que o padrao das demais:
   aqui o assunto e o leque de videos, e um titulo pesado competiria
   com ele. Peso menor, tracking um pouco mais aberto e entrelinhas
   maior. */
.depoimentos .section-head h2 {
  font-size: clamp(1.72rem, 3vw, 2.42rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.012em;
  margin-bottom: 0.85rem;
}

/* Os loops decorativos do hero param quando ele sai da tela:
   animaÃ§Ã£o fora do campo de visÃ£o Ã© render gasto Ã  toa. */
.hero.is-off .hero-blob,
.hero.is-off .hero-ring,
.hero.is-off .hero-card { animation-play-state: paused; }

/* --- Leque simetrico ---
   Cada carta recebe a sua posicao no arco por --d: negativo a
   esquerda, zero a da frente, positivo a direita. O arco vem de tres
   movimentos somados (recuo, virada de lado e inclinacao), e a carta
   da frente cresce um pouco, como na mao que abre o leque.

   O JS so mexe em --d. Girar o leque e passar a carta da frente para
   tras e trocar esse numero de lugar. */
.vid-dep-fan {
  --fan-janela: 2;
  --fan-spread: clamp(5rem, 11vw, 9rem);
  --fan-giro: 20deg;
  --fan-inclinacao: 7deg;
  --fan-escala: 0.1;
  --fan-fade: 0.24;
  --fan-centro: 0;
}

.vid-dep-fan[hidden] { display: none; }

.vid-dep-palco {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* altura justa para a carta da frente: nem sobra vazio, nem corta
     as cartas laterais */
  height: clamp(288px, 22vw, 312px);
  perspective: 1600px;
  perspective-origin: 50% 46%;
}

.vid-dep {
  position: absolute;
  /* retrato 3:4, o formato dos depoimentos gravados no celular */
  width: min(205px, 62vw);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 44px rgba(2, 10, 22, 0.55);
  cursor: pointer;
  text-align: left;
  transform:
    translateX(calc(var(--d, 0) * var(--fan-spread)))
    rotateY(calc(var(--d, 0) * var(--fan-giro) * -1))
    rotateZ(calc(var(--d, 0) * var(--fan-inclinacao)))
    scale(calc(1 - var(--ad, 0) * var(--fan-escala)));
  opacity: calc(1 - var(--ad, 0) * var(--fan-fade));
  z-index: calc(60 - var(--ad, 0) * 10);
  transition: transform 0.68s var(--ease), opacity 0.68s var(--ease),
    box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform, opacity;
}

/* fora da janela do arco some sem transicao, para nao atravessar a tela */
.vid-dep[data-fora="1"] {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.vid-dep--frente {
  border-color: rgba(20, 214, 196, 0.5);
  box-shadow: 0 34px 80px rgba(2, 10, 22, 0.7), 0 0 60px rgba(20, 214, 196, 0.18);
}

.vid-dep:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
}

/* miniatura em retrato 3:4 â€” o formato dos videos gravados no celular */
.vid-dep-mid {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--navy-950);
}

.vid-dep-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.7s var(--ease), opacity 0.45s var(--ease);
}

/* Enquanto o video nao tem miniatura: moldura discreta do prÃ³prio
   consultÃ³rio, sem imagem de banco nem card quebrado. */
.vid-dep-sem-thumb {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(20, 214, 196, 0.16), transparent 55%),
    linear-gradient(330deg, rgba(46, 123, 232, 0.18), transparent 60%),
    var(--navy-900);
}

.vid-dep-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 50% 50%, rgba(4, 16, 31, 0.12), rgba(4, 16, 31, 0.5));
  transition: background 0.4s var(--ease);
}

.vid-dep-play-icone {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border-radius: 50%;
  color: #062030;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-500));
  box-shadow: 0 0 0 10px rgba(20, 214, 196, 0.16), 0 0 54px rgba(20, 214, 196, 0.45);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* anel pulsando, o mesmo gesto do player da seÃ§Ã£o de vÃ­deo */
.vid-dep-play-icone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal-400);
  animation: vidDepPulse 2.8s var(--ease) infinite;
  pointer-events: none;
}

@keyframes vidDepPulse {
  0%   { transform: scale(1); opacity: 0.75; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.vid-dep-play-texto {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* o nome so aparece quando o paciente autoriza a publicacao */
.vid-dep-nome {
  display: block;
  padding: 0.95rem 1.15rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}

/* --- Setas do leque: substituidas pelos pontos do rodape --- */
/* hover so quando existe cursor de verdade: no celular o :hover gruda
   depois do toque e o card levantaria para sempre. */
@media (hover: hover) {
  .vid-dep--frente:hover {
    transform: translateY(-6px) scale(calc(1 - var(--ad, 0) * var(--fan-escala)));
    border-color: rgba(20, 214, 196, 0.55);
  }
  .vid-dep--frente:hover .vid-dep-play-icone {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(20, 214, 196, 0.13), 0 0 64px rgba(20, 214, 196, 0.55);
  }
}

/* --- Rodape do leque: arco, pontos e convite --- */
.vid-dep-rodape {
  position: relative;
  margin-top: clamp(0.9rem, 1.8vw, 1.5rem);
}

.vid-dep-arco {
  display: block;
  width: 100%;
  height: clamp(30px, 3.6vw, 46px);
  color: rgba(20, 214, 196, 0.34);
  margin-bottom: -0.3rem;
}

/* Setas + lentes: juntos dizem com clareza que ali se passa de um
   depoimento para o outro. So as lentes pareciam enfeite. */
.vid-dep-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 1.9rem);
}

.vid-dep-seta {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(40px, 4.2vw, 46px);
  height: clamp(40px, 4.2vw, 46px);
  padding: 0;
  border-radius: 50%;
  color: var(--teal-300);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(20, 214, 196, 0.32);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.vid-dep-seta svg { width: 20px; height: 20px; }

.vid-dep-seta:hover {
  background: var(--teal-500);
  border-color: transparent;
  color: #062030;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 214, 196, 0.28);
}

.vid-dep-seta:active { transform: translateY(0) scale(0.96); }

.vid-dep-seta:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
}

.vid-dep-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 1.1vw, 0.85rem);
}

/* Indicador em forma de lente (almoeda vertical). O video da frente
   acende em teal e cresce; os outros ficam pequenos e apagados. */
.vid-dep-ponto {
  position: relative;
  display: grid;
  place-items: center;
  width: 13px;
  height: 38px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width 0.45s var(--ease), height 0.45s var(--ease);
}

.vid-dep-ponto svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vid-dep-ponto path {
  fill: rgba(255, 255, 255, 0.2);
  transition: fill 0.4s var(--ease), filter 0.4s var(--ease);
}

.vid-dep-ponto:hover path { fill: rgba(20, 214, 196, 0.55); }

.vid-dep-ponto:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 4px;
  border-radius: 999px;
}

/* a lente da frente: maior, acesa, com halo suave */
.vid-dep-ponto.is-ativo {
  width: 25px;
  height: 74px;
}

.vid-dep-ponto.is-ativo path {
  fill: var(--teal-400);
  filter: drop-shadow(0 0 7px rgba(20, 214, 196, 0.75)) drop-shadow(0 0 18px rgba(20, 214, 196, 0.35));
}

/* halo largo em volta da lente ativa, como na referencia */
.vid-dep-ponto.is-ativo::before {
  content: "";
  position: absolute;
  inset: -22% -46%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(20, 214, 196, 0.16), transparent 68%);
  pointer-events: none;
}

/* --- Video dentro do lightbox (o mesmo modal da galeria de fotos) --- */
.lightbox-video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  /* contain, nunca cover: os depoimentos sao gravados no celular, na
     vertical, e cover cortaria o rosto de quem fala. */
  object-fit: contain;
}

.lightbox-video[hidden] { display: none; }

/* ============================ FAQ ============================ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-intro h2 { margin-bottom: 1.6rem; }

/* BotÃ£o em duas linhas: a pergunta em letra miÃºda acima e o convite
   principal em destaque â€” deixa claro qual Ã© a aÃ§Ã£o do clique. */
.btn-faq {
  gap: 1.1rem;
  padding: 0.95rem 1.6rem;
  text-align: left;
}

.btn-faq .btn-faq-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.btn-faq small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.78;
}

.btn-faq strong {
  font-size: 1.04rem;
  font-weight: 700;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.acc-item.is-open {
  border-color: rgba(20, 214, 196, 0.55);
  box-shadow: var(--shadow-sm);
}

.acc-title { font-size: 1rem; font-weight: 600; line-height: 1.45; }

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.99rem;
  color: var(--ink-900);
}

.acc-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.acc-trigger:hover .acc-icon { border-color: var(--teal-500); }

.acc-item.is-open .acc-icon {
  background: var(--grad-accent);
  border-color: transparent;
  transform: rotate(180deg);
}

.acc-item.is-open .acc-icon::before,
.acc-item.is-open .acc-icon::after { background: #062030; }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-panel { padding: 0 1.4rem 1.3rem; }

.acc-panel p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink-500);
  border-top: 1px dashed var(--line-strong);
  padding-top: 1rem;
}

.acc-panel[hidden] { display: none; }

/* ============================ CONTATO / MAPA ============================ */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: stretch;
}

.contato-info h2 { margin-bottom: 1.1rem; }

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.8rem;
  margin-bottom: 2.2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-list { font-variant-numeric: tabular-nums; }
.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--navy-800);
  background: rgba(20, 214, 196, 0.1);
  border: 1px solid rgba(20, 214, 196, 0.32);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 0.15rem;
}

.contact-list address,
.contact-list p {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink-900);
  text-decoration: none;
}

.contato-map {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface-soft);
  min-height: 420px;
}

.contato-map iframe {
  flex: 1;
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

/* Mapa 3D â€” MapLibre com imagem de satÃ©lite inclinada */
.contato-map .map-canvas {
  flex: 1;
  width: 100%;
  min-height: 420px;
  filter: saturate(0.92) contrast(1.02);
}

.map-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.map-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ============================ CTA FINAL ============================ */
.cta-final {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(46, 123, 232, 0.22), transparent 60%),
    radial-gradient(900px 500px at 85% 100%, rgba(20, 214, 196, 0.24), transparent 60%),
    linear-gradient(140deg, var(--navy-850), var(--navy-950));
  overflow: hidden;
  text-align: center;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.cta-bg { position: absolute; inset: 0; pointer-events: none; }

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb--1 { width: 420px; height: 420px; top: -140px; left: -100px; background: rgba(20, 214, 196, 0.22); }
.cta-orb--2 { width: 460px; height: 460px; bottom: -180px; right: -120px; background: rgba(46, 123, 232, 0.24); }

.cta-inner {
  position: relative;
  max-width: 820px;
  padding: clamp(2.7rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.2rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--radius-xl) + 10px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(4, 16, 31, 0.45);
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 230, 214, 0.75), rgba(110, 168, 255, 0.65), transparent);
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-wrap: balance;
  margin-bottom: 2.3rem;
}

.cta-inner h2 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--teal-400), var(--teal-500) 45%, #6ea8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================ FOOTER ============================ */
.site-footer {
  /* o rodape recebe o mesmo tratamento das secoes escuras: um halo
     teal bem aberto no topo esquerdo, para nao terminar a pagina num
     retangulo preto colado no cta-final. */
  background:
    radial-gradient(900px 380px at 18% -15%, rgba(20, 214, 196, 0.09), transparent 62%),
    radial-gradient(700px 320px at 92% 110%, rgba(46, 123, 232, 0.07), transparent 62%),
    var(--navy-950);
  color: var(--on-dark-mute);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* o rodape precisa ficar acima da barra de gesto do iPhone */
.site-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-text small { color: var(--on-dark-mute); }

.footer-brand > p {
  margin: 1.2rem 0 1.3rem;
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 34ch;
}

.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal-400);
  text-decoration: none;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.footer-insta:hover { color: var(--teal-300); gap: 0.8rem; }

.footer-col h3 {
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.15rem;
}

.footer-col ul { display: grid; gap: 0.65rem; }

.footer-col a,
.footer-col li {
  font-size: 0.92rem;
  color: var(--on-dark-mute);
  text-decoration: none;
  line-height: 1.6;
}

.footer-col a { transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--teal-400); padding-left: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-note { color: rgba(255, 255, 255, 0.4); }

/* ============================ LIGHTBOX ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: lbFade 0.35s var(--ease);
}

@keyframes lbFade { from { opacity: 0; } }

.lightbox-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(940px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  animation: lbPop 0.4s var(--ease);
}

@keyframes lbPop {
  from { opacity: 0; transform: scale(0.94) translateY(14px); }
}

.lightbox-img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  background: var(--navy-900);
}

.lightbox-caption {
  text-align: center;
  font-size: 0.93rem;
  color: var(--on-dark-soft);
}

.lb-btn {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.lb-btn:hover { background: rgba(20, 214, 196, 0.3); transform: scale(1.08); }

.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

.lb-counter {
  position: absolute;
  z-index: 3;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

body.lightbox-open { overflow: hidden; }

/* ============================ RESPONSIVO ============================ */

/* --- Notebook grande / telas médias --- */
@media (max-width: 1120px) {
  .cases-track { grid-auto-columns: calc((100% - 2 * 1.4rem) / 3); }

  /* o leque aperta o arco: menos abertura e cartas menores */
  .vid-dep-fan { --fan-spread: clamp(3rem, 9vw, 6rem); --fan-giro: 18deg; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Menu: 5 itens cabem no header; abaixo de 1040px vira hambúrguer --- */
@media (max-width: 1040px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    padding: calc(var(--header-h) + 1.6rem) 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
    /* base solida + degradê: se o var(--navy-*) faltar, o menu continua
       opaco em vez de deixar a página aparecer por trás */
    background-color: var(--navy-950);
    background-image: linear-gradient(165deg, var(--navy-900), var(--navy-950));
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }

  body.nav-open .nav { opacity: 1; visibility: visible; z-index: 99; }
  body.nav-open { overflow: hidden; }

  /* backdrop-filter torna o header containing block: sem desligá-lo o
     overlay fixed do menu fica preso na altura da barra e os itens
     "vazam" para fora do painel, sobre a foto do hero. */
  body.nav-open .site-header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* margin auto em vez de justify-content: center — centraliza o grupo
     sem cortar o topo quando a lista não cabe na tela */
  .nav-list { flex-direction: column; gap: 0.4rem; margin-block: auto; }

  .nav-list a {
    color: #fff !important;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    background: transparent !important;
  }

  .nav-list a::after { bottom: 0.3rem; }

  .nav-cta { font-size: 1rem; padding: 0.95rem 2rem; }

  /* X sempre legível: com o header claro o botão e as barras escurecem,
     e someiam sobre o painel escuro. */
  body.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
  }

  body.nav-open .nav-toggle-bar { background: #fff; }

  /* o botão flutuante do chat tem z-index 250: some enquanto o menu abre */
  body.nav-open .chat-fab { opacity: 0; pointer-events: none; }
}

/* Redundante de proposito: cobre o filtro tambem fora do bloco acima,
   caso o .nav-open seja setado num tamanho maior. */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* --- Tablet --- */
@media (max-width: 920px) {
  :root { --header-h: calc(68px + env(safe-area-inset-top, 0px)); }

  /* Palavras do especialista — empilha no celular */
  .video-grid { grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 2.5rem); }
  .video-copy { align-items: center; text-align: center; }
  .video-copy .eyebrow { justify-content: center; }
  .video-copy h2 { max-width: 18ch; }
  .video-player { justify-self: center; max-width: 560px; }

  .container.hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(1rem, 3svh, 2.5rem);
  }

  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; gap: 0.7rem; }
  .hero-chips { justify-content: center; }
  .hero-visual { order: -1; }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + clamp(0.6rem, 2svh, 2rem));
    padding-bottom: clamp(0.9rem, 2.5svh, 3rem);
  }

  .hero-frame { width: min(300px, 32svh, 78vw); max-height: none; }
  .hero-eyebrow { margin-bottom: clamp(0.55rem, 1.8svh, 1.4rem); }

  .hero-title {
    font-size: clamp(1.6rem, 6.4vw, 2.4rem);
    margin-bottom: clamp(0.7rem, 2svh, 1.35rem);
  }

  .hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    line-height: 1.62;
    margin-bottom: clamp(0.9rem, 2.5svh, 2rem);
  }

  .hero-chips { gap: 0.5rem; }
  .hero-chips li { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
  .hero-card--name { left: -8px; bottom: 9%; }
  .hero-card--cro { right: -8px; top: 0; }
  .hero-card--insta { right: -8px; bottom: 3%; }
  .hero-scroll { display: none; }

  .sobre-grid,
  .alinha-grid,
  .faq-grid,
  .contato-grid { grid-template-columns: 1fr; }

  .sobre-visual { max-width: 460px; margin-inline: auto; }
  .sobre-visual::before { inset: auto -10px -10px auto; }
  .check-list { grid-template-columns: 1fr; }

  /* Sobre no celular: coluna unica centralizada, linha de leitura curta
     e titulo com escala propria — sem o texto esticado de ponta a ponta. */
  .sobre-copy {
    text-align: center;
    max-width: 34rem;
    margin-inline: auto;
  }

  .sobre-copy .eyebrow { justify-content: center; }

  .sobre-copy.cab-destaque h2 {
    font-size: clamp(1.62rem, 6.4vw, 2.2rem);
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .sobre-copy .lead {
    font-size: clamp(1rem, 3.6vw, 1.1rem);
    line-height: 1.62;
    max-width: 32ch;
    margin-inline: auto;
  }

  .sobre-texto {
    font-size: clamp(0.96rem, 3.4vw, 1.04rem);
    line-height: 1.7;
    max-width: 38ch;
    margin-inline: auto;
  }

  .check-list {
    gap: 0.95rem;
    max-width: 22rem;
    margin: 1.7rem auto 2.1rem;
    text-align: left;
  }

  .check-list li { font-size: 0.97rem; }

  .sobre-actions { justify-content: center; }

  .alinha-visual { max-width: 420px; margin-inline: auto; width: 100%; }

  /* Empilha como flex e usa display:contents no intro para tirar o botao
     de dentro do bloco de texto e coloca-lo depois das perguntas. */
  .faq-grid { display: flex; flex-direction: column; gap: 1.6rem; }
  .faq-intro { display: contents; text-align: center; }
  .faq-intro .eyebrow { order: 0; justify-content: center; }
  .faq-intro h2 { order: 1; margin-bottom: 0; }
  .accordion { order: 2; }
  .faq-intro .lead { margin-inline: auto; }
  .faq-intro .btn { margin-inline: auto; }
  .faq-intro .btn-faq { order: 3; text-align: center; margin-top: 0.4rem; }

  .contato-info { text-align: center; }
  .contato-info .eyebrow { justify-content: center; }
  .contact-list { max-width: 440px; margin-inline: auto auto; margin-bottom: 0; text-align: left; }

  .local-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .local-video { margin-block: -3rem -1rem; }
  .local-copy { max-width: 620px; margin-inline: auto; }
  .local-copy .section-head { margin-inline: auto; }
  .local-copy .lead { margin-inline: auto; }

  .local-panel::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 54%;
    border-radius: calc(var(--radius-xl) + 10px) calc(var(--radius-xl) + 10px) 3rem 3rem;
  }
}

/* --- Mobile grande --- */
@media (max-width: 720px) {
  .brand-text strong { font-size: 0.92rem; }
  .brand-text small { font-size: 0.75rem; }
  .brand-mark { width: 44px; height: 44px; font-size: 0.92rem; }

  .steps { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }

  .trat-tabs {
    justify-content: center;
    gap: 0.5rem;
  }

  .trat-tab {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  .vid-dep-fan {
    --fan-janela: 1;
    --fan-spread: 2.2rem;
    --fan-giro: 17deg;
    --fan-inclinacao: 6deg;
    --fan-escala: 0.08;
    --fan-fade: 0.2;
  }

  .vid-dep { width: min(168px, 54vw); }
  .vid-dep-palco { height: clamp(250px, 68vw, 300px); }
  .vid-dep-rodape { margin-top: 0.8rem; }

  .sobre-copy.cab-destaque h2 em { display: block; margin-top: 0.15em; }

  .sobre-actions { width: 100%; }
  .sobre-actions .btn { width: 100%; max-width: 22rem; }

  .cases-track {
    grid-auto-columns: 100%;
    gap: 1rem;
    padding-inline: 0;
    margin-inline: 0;
  }

  .cases-controls { flex-wrap: nowrap; gap: 0.4rem; }
  .cases-dot { width: 32px; height: 32px; }

  .fine-print { font-size: 0.9rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }

  .local-video-frame { height: clamp(340px, 50vh, 420px); }

  .video-cta { flex-direction: column; }

  .hero-actions .btn,
  .cta-actions .btn { width: 100%; max-width: 380px; }

  .hero-actions,
  .cta-actions { width: 100%; }

  /* cascate do hero: foto acima */
  .hero-card { font-size: 0.78rem; padding: 0.6rem 0.9rem; }
  .hero-card--name { left: -3%; bottom: 10%; }
  .hero-card--insta { display: none; }
}

/* --- Mobile pequeno --- */
@media (max-width: 480px) {
  :root { --gutter: 1.1rem; }

  .hero-eyebrow { font-size: 0.66rem; padding: 0.45rem 0.85rem; letter-spacing: 0.1em; }
  .hero-frame { width: min(280px, 30svh, 88vw); }
  .hero-card--cro { top: 0; right: -8px; }

  .btn-lg { padding: 0.95rem 1.5rem; font-size: 0.95rem; }
  .btn { padding: 0.85rem 1.4rem; font-size: 0.92rem; }

  .sobre-badge { left: -8px; bottom: 20px; padding: 0.75rem 1rem; }
  .sobre-tag { right: -6px; }

  .step-card { padding: 1.7rem 1.4rem 1.6rem; }

  .trat-tabs { gap: 0.4rem; }
  .trat-tab { padding: 0.45rem 0.85rem; font-size: 0.78rem; }

  .lb-prev { left: 0.6rem; }
  .lb-next { right: 0.6rem; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-close { top: 0.8rem; right: 0.8rem; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Telas grandes --- */
@media (min-width: 1440px) {
  .hero-frame { width: 470px; }
}
