/* ==========================================================================
   Dr. Marcos Rodrigues — Oftalmologista em Palmas, TO
   Landing page de conversão · catarata e transplante de córnea

   Estratégia responsiva:
   · Tipografia e espaçamento FLUIDOS via clamp() — a página escala em
     qualquer largura, não apenas nos breakpoints.
   · Layouts INTRÍNSECOS (auto-fit + minmax) — as colunas se ajustam à
     largura disponível, eliminando quebras em larguras "no meio do
     caminho" (ex.: 520px, 860px, 1180px).
   · CONTAINER QUERIES — os cards respondem ao próprio contêiner, e não ao
     viewport, mantendo proporção correta em 1, 2, 3 ou 4 colunas.
   · Apenas 3 breakpoints reais, para o que é estrutural (nav, hero, grids).

   Acessibilidade: público 50+ com visão comprometida por catarata.
   Corpo de texto nunca abaixo de 1rem, contraste alto, alvos de toque de
   48px e nada de texto sobre imagem em movimento.
   ========================================================================== */

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

:root {
  /* ── Cores (paleta Blue Vision Premium do briefing) ── */
  --deep: #083d54;
  --mid: #0d6c93;
  --bright: #1a8ab5;
  --light: #7db9d6;
  --light-soft: rgba(125, 185, 214, 0.16);
  --bg: #edf0fb;
  --bg-warm: #f6f8fd;
  --ink: #22303a;
  --ink-soft: #5b6a75;
  --white: #ffffff;
  --wa: #25d366;
  --star: #f5a623;

  --radius: 14px;
  --radius-lg: 22px;

  /* ── Escala tipográfica fluida (320px → 1280px) ── */
  --fs-xs: clamp(0.75rem, 0.73rem + 0.09vw, 0.81rem);
  --fs-sm: clamp(0.88rem, 0.85rem + 0.13vw, 0.94rem);
  --fs-base: clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --fs-md: clamp(1.06rem, 1.01rem + 0.25vw, 1.22rem);
  --fs-lg: clamp(1.19rem, 1.09rem + 0.5vw, 1.44rem);
  --fs-xl: clamp(1.38rem, 1.16rem + 1.09vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.31rem + 2.19vw, 2.69rem);
  --fs-3xl: clamp(2.06rem, 1.4rem + 3.28vw, 3.44rem);
  /* headline do hero: começa menor que --fs-3xl para que a promessa, a
     objeção e o CTA caibam juntos acima da dobra em telas de 360-390px */
  --fs-hero: clamp(1.63rem, 1.15rem + 2.4vw, 3.31rem);

  /* ── Espaçamento fluido ── */
  --space-2xs: clamp(0.25rem, 0.23rem + 0.1vw, 0.31rem);
  --space-xs: clamp(0.5rem, 0.46rem + 0.2vw, 0.63rem);
  --space-sm: clamp(0.75rem, 0.66rem + 0.44vw, 1rem);
  --space-md: clamp(1.25rem, 1.11rem + 0.7vw, 1.63rem);
  --space-lg: clamp(2rem, 1.73rem + 1.36vw, 2.75rem);
  --space-xl: clamp(3rem, 2.36rem + 3.2vw, 4.75rem);

  /* ── Layout ── */
  --nav-h: 66px;
  --gutter: clamp(1.15rem, 0.85rem + 1.5vw, 2rem);
  --measure: 68ch;
  --bar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  --shadow-sm: 0 2px 10px rgba(8, 61, 84, 0.06);
  --shadow-md: 0 8px 30px rgba(8, 61, 84, 0.1);
  --shadow-lg: 0 22px 60px rgba(8, 61, 84, 0.22);

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* saída rápida e pouso suave: entradas e microinterações */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grad: linear-gradient(135deg, #083d54 0%, #0d6c93 48%, #1a8ab5 100%);

  /* ── Estados do formulário (contraste AA sobre branco) ── */
  --err: #b42318;
  --err-soft: #fef3f2;
  --ok: #15803d;
  --field-border: rgba(8, 61, 84, 0.24);
}

html {
  scroll-behavior: smooth;
  /* âncoras nunca ficam escondidas atrás do header fixo */
  scroll-padding-top: calc(var(--nav-h) + var(--space-sm));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* espaço para a barra fixa de CTA no mobile */
  padding-bottom: calc(var(--bar-h) + var(--safe-b));
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

strong {
  font-weight: 700;
  color: var(--deep);
}

/* ── ACESSIBILIDADE ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--deep);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-sm);
}

:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* alvos de toque confortáveis em telas por toque — público 50+ */
@media (pointer: coarse) {
  a,
  button {
    min-height: 48px;
  }
  .nav__links a,
  .footer a {
    min-height: 0;
  }
}

/* ── UTILITÁRIOS ── */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 52rem;
}

.section {
  padding-block: var(--space-xl);
}
.section--white {
  background: var(--white);
}
.section--tint {
  background: var(--bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: var(--space-sm);
  padding: 0.35em 0.9em;
  border: 1px solid rgba(13, 108, 147, 0.28);
  border-radius: 999px;
  background: var(--light-soft);
  color: var(--mid);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.hero .eyebrow {
  display: none;
}
@media (min-width: 48rem) {
  .hero .eyebrow {
    display: inline-flex;
  }
}
.hero .eyebrow,
.eyebrow--light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.display {
  font-size: var(--fs-2xl);
  color: var(--deep);
  margin-bottom: var(--space-sm);
}
.display em {
  font-style: italic;
  color: var(--mid);
}

.lede {
  max-width: var(--measure);
  font-size: var(--fs-md);
  color: var(--ink-soft);
}

.section-head {
  margin-bottom: var(--space-lg);
}
.section-head--center {
  text-align: center;
}
.section-head--center .lede {
  margin-inline: auto;
}

.prose > * + * {
  margin-top: var(--space-sm);
}
.prose {
  max-width: var(--measure);
  color: var(--ink-soft);
}
.prose h3 {
  margin-top: var(--space-md);
  font-size: var(--fs-lg);
  color: var(--deep);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* entrada em cascata dos cards: o script define --i em cada filho e, ao
   terminar, marca .is-done para o atraso não pesar no hover */
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js .reveal-stagger.visible > * {
  opacity: 1;
  transform: none;
}
html.js .reveal-stagger.is-done > * {
  transition-delay: 0s;
}

/* ícone de sprite (<svg class="icon"><use href="#…"/></svg>) */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ── BOTÕES / CTV ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border: 0;
  border-radius: 999px;
  background: var(--mid);
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(13, 108, 147, 0.3);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    color 0.22s var(--ease);
}
.cta-btn:hover {
  background: var(--bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 108, 147, 0.38);
}
/* pressionar: o botão "afunda" de leve, resposta imediata ao toque */
.cta-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.08s;
}
.cta-btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}
/* seta que avança no hover: indica que o botão leva ao formulário */
.cta-btn__seta {
  margin-left: -0.15em;
  transition: transform 0.25s var(--ease-out);
}
.cta-btn:hover .cta-btn__seta,
.cta-btn:focus-visible .cta-btn__seta {
  transform: translateX(4px);
}
/* reflexo que atravessa o botão uma vez a cada hover */
.cta-btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  pointer-events: none;
}
.cta-btn--shine:hover::after {
  transform: translateX(120%);
  transition: transform 0.7s var(--ease-out);
}
.cta-btn--block {
  width: 100%;
}
.cta-btn--wa {
  background: var(--wa);
  color: #05331a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.34);
}
.cta-btn--wa:hover {
  background: #1fc15b;
  color: #05331a;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42);
}
.cta-btn--lg {
  padding: 1.05em 2em;
  font-size: var(--fs-md);
}
.cta-btn--light {
  background: var(--white);
  color: var(--deep);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}
.cta-btn--light:hover {
  background: var(--bg);
  color: var(--deep);
}
.cta-btn--outline {
  background: transparent;
  color: var(--mid);
  border: 2px solid var(--mid);
  box-shadow: none;
}
.cta-btn--outline:hover {
  background: var(--mid);
  color: var(--white);
}

.cta-btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.cta-note {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
/* texto pequeno sobre o degradê: .9 garante AA até no trecho mais claro */
.hero .cta-note {
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.cta-row--center {
  justify-content: center;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 61, 84, 0.08);
  transition: box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(13, 108, 147, 0.14);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding: var(--space-xs) var(--gutter);
  /* NÃO usar min-height: var(--nav-h) aqui — o script mede esta barra para
     definir --nav-h, e a referência circular faz a navbar crescer sem parar. */
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.nav__brand > span {
  min-width: 0;
}
.nav__brand svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--mid);
}
/* o registro só entra quando há largura para ele inteiro */
.nav__brand-crm {
  display: none;
}
@media (min-width: 30rem) {
  .nav__brand-crm {
    display: inline;
  }
}
.nav__brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.2;
  color: var(--deep);
  /* sem o overflow o nome vaza do próprio box e cobre o primeiro link */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav__brand-role {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.3;
  color: var(--ink-soft);
  /* uma linha sempre: a marca não pode fazer a navbar crescer */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* links inline aparecem só no desktop */
.nav__links {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(0.6rem, 0.05rem + 0.9vw, 1.4rem);
}
.nav__links a {
  position: relative;
  padding: 0.4em 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--mid);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--deep);
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex: none;
}

.nav__tel {
  display: none;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 1em;
  border: 1px solid rgba(13, 108, 147, 0.3);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  white-space: nowrap;
}
.nav__tel:hover {
  background: var(--bg);
}
.nav__tel svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* o CTA nunca é escondido — em telas estreitas vira apenas "Agendar" */
.nav__cta {
  padding: 0.7em 1.15em;
  font-size: var(--fs-sm);
  box-shadow: none;
}
.nav__cta-full {
  display: none;
}
.nav__cta-short {
  display: inline;
}
@media (min-width: 26rem) {
  .nav__cta-full {
    display: inline;
  }
  .nav__cta-short {
    display: none;
  }
}

/* ── Botão hamburger ── */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(8, 61, 84, 0.16);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav__toggle:hover {
  background: var(--bg);
}
/* sem JS o menu não funcionaria — o botão não aparece */
html:not(.js) .nav__toggle {
  display: none;
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--deep);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s var(--ease);
}
.nav__toggle-bars {
  position: relative;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle-bars::before {
  top: -6px;
}
.nav__toggle-bars::after {
  top: 6px;
}

/* estado aberto: vira um "X" */
.nav__toggle[aria-expanded="true"] .nav__toggle-bars {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   MENU OFF-CANVAS (drawer)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(8, 61, 84, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 200;
  width: min(23rem, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: var(--safe-b);
}
.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid rgba(8, 61, 84, 0.1);
}
.drawer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.25;
  color: var(--deep);
}
.drawer__marca {
  width: 30px;
  height: 30px;
  color: var(--mid);
}
.drawer__brand span {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
.drawer__close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 61, 84, 0.16);
  border-radius: 12px;
  background: var(--white);
  color: var(--deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.drawer__close:hover {
  background: var(--bg);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: var(--space-xs) var(--space-sm);
}
.drawer__nav a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem var(--space-sm);
  border-radius: 12px;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.drawer__nav a:hover {
  background: var(--bg);
}
@keyframes drawer-link {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.drawer.is-open .drawer__nav a,
.drawer.is-open .drawer__foot {
  animation: drawer-link 0.4s var(--ease-out) backwards;
  animation-delay: calc(0.08s + var(--i, 0) * 30ms);
}
.drawer.is-open .drawer__foot {
  --i: 12;
}
.drawer__nav em {
  flex: none;
  width: 1.9rem;
  font-family: var(--display);
  font-style: normal;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--light);
}

.drawer__foot {
  margin-top: auto;
  padding: var(--space-md);
  border-top: 1px solid rgba(8, 61, 84, 0.1);
  background: var(--bg);
}
.drawer__cta {
  width: 100%;
}
.drawer__contact {
  list-style: none;
  margin-top: var(--space-sm);
  display: grid;
  gap: 0.35rem;
  font-size: var(--fs-sm);
}
.drawer__contact a {
  color: var(--mid);
  font-weight: 600;
  text-decoration: none;
}
.drawer__contact a:hover {
  text-decoration: underline;
}
.drawer__hours {
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* trava o scroll da página enquanto o menu está aberto */
html.menu-aberto,
html.menu-aberto body {
  overflow: hidden;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--grad);
  color: var(--white);
  padding-top: calc(var(--nav-h) + var(--space-md));
  padding-bottom: var(--space-xl);
  overflow: hidden;
  isolation: isolate;
}
/* halos decorativos, sem custo de imagem */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -12%;
  width: min(46rem, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(125, 185, 214, 0.28) 0%,
    transparent 62%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,32L60,26.7C120,21,240,11,360,10.7C480,11,600,21,720,26.7C840,32,960,32,1080,26.7C1200,21,1320,11,1380,5.3L1440,0L1440,48L0,48Z'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: var(--space-md);
  align-items: center;
}

.hero__headline {
  font-size: var(--fs-hero);
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.hero__headline em {
  font-style: italic;
  color: var(--light);
}


.hero__sub {
  max-width: 44ch;
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-md);
}

.hero__trust {
  /* com a faixa de prova social fora da página, os diferenciais do copy são
     o único reforço de confiança acima da dobra: ficam visíveis também no
     celular, empilhados, e viram linha a partir de 48rem */
  display: flex;
  flex-direction: column;
  list-style: none;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
@media (min-width: 48rem) {
  .hero__trust {
    flex-direction: row;
  }
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.45em;
}
.hero__trust svg {
  width: 17px;
  height: 17px;
  flex: none;
  stroke: var(--light);
  fill: none;
  stroke-width: 2.4;
}

/* No celular a foto vem ANTES do texto: o rosto do médico é o primeiro
   elemento de confiança. A ordem do DOM continua texto-primeiro para que o
   H1 seja o primeiro conteúdo lido por leitores de tela e rastreadores. */
.hero__visual {
  order: -1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.hero__photo-wrap {
  position: relative;
  width: min(12rem, 48%);
}

/* ── Anéis de "lente que entra em foco" ──
   Três círculos finos atrás do retrato, desenhados uma única vez na
   entrada (stroke-dashoffset). O traço curto em destaque é o reflexo. */
.hero__rings {
  position: absolute;
  z-index: -1;
  top: -4%;
  left: 50%;
  width: min(19rem, 86%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
}
.hero__rings circle,
.hero__rings path {
  fill: none;
  stroke: rgba(125, 185, 214, 0.42);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.hero__rings circle:nth-child(2) {
  stroke: rgba(125, 185, 214, 0.3);
}
.hero__rings circle:nth-child(3) {
  stroke: rgba(255, 255, 255, 0.22);
}
.hero__rings-glint {
  stroke: rgba(255, 255, 255, 0.85) !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round;
}
html.js .hero__rings circle,
html.js .hero__rings path {
  animation: anel-desenha 1.1s var(--ease-out) both;
}
html.js .hero__rings circle:nth-child(1) {
  animation-delay: 0.15s;
}
html.js .hero__rings circle:nth-child(2) {
  animation-delay: 0.3s;
}
html.js .hero__rings circle:nth-child(3) {
  animation-delay: 0.45s;
}
html.js .hero__rings-glint {
  animation-delay: 0.95s !important;
  animation-duration: 0.6s !important;
}
@keyframes anel-desenha {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* chip "+15 anos" flutuando ao lado do retrato (só onde há espaço) */
.hero__chip {
  display: none;
}

/* ── Entrada do hero ──
   Cascata curta (≈70 ms entre itens). O título parte de opacidade 0.01, e
   não 0, para continuar contando como pintado no LCP. */
@keyframes hero-entra {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-entra-titulo {
  from {
    opacity: 0.01;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
html.js .hero__text > * {
  animation: hero-entra 0.6s var(--ease-out) backwards;
}
html.js .hero__text > .hero__headline {
  animation-name: hero-entra-titulo;
  animation-delay: 0.05s;
}
html.js .hero__text > .hero__sub {
  animation-delay: 0.14s;
}
html.js .hero__text > .hero__trust {
  animation-delay: 0.21s;
}
html.js .hero__text > .hero__actions {
  animation-delay: 0.28s;
}
html.js .hero__badge,
html.js .hero__chip {
  animation: hero-entra 0.6s var(--ease-out) 0.5s backwards;
}
/* aura atrás do recorte, para o médico não "flutuar" no degradê */
.hero__photo-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -14% -2% -14%;
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(
    ellipse at 50% 62%,
    rgba(125, 185, 214, 0.34) 0%,
    transparent 68%
  );
  z-index: -1;
}
/* a sombra fica no <picture>, e não na <img>: na mesma camada da máscara
   abaixo, ela seria recortada na borda da foto e desenharia um retângulo */
.hero__photo-wrap picture {
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.42));
}
.hero__photo {
  width: 100%;
  height: auto;
  /* o recorte termina na altura das pernas; sem isso a onda da base da seção
     corta a foto num traço reto. O esmaecimento dissolve a borda em qualquer
     largura, sem depender de onde a onda cai. */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}

/* selo em vidro: marca + nome + registros */
.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.7em;
  width: max-content;
  max-width: 100%;
  padding: 0.6em 1.15em 0.6em 0.7em;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(8, 61, 84, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 14px 34px rgba(3, 26, 37, 0.32);
  text-align: left;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}
.hero__badge-marca {
  width: 34px;
  height: 34px;
  flex: none;
  padding: 6px;
  border-radius: 50%;
  background: rgba(125, 185, 214, 0.2);
  color: var(--light);
}
.hero__badge strong {
  display: block;
  font-family: var(--display);
  font-size: var(--fs-sm);
  color: var(--white);
}

/* ==========================================================================
   IDENTIFICAÇÃO / PAIN POINTS
   ========================================================================== */
.pain__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16.5rem, 100%), 1fr));
  gap: var(--space-sm);
}
.pain__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-left: 3px solid var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg);
  font-size: var(--fs-base);
  line-height: 1.5;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.pain__item:hover {
  background: var(--white);
  border-color: var(--mid);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.pain__item svg {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  stroke: var(--mid);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   SOBRE / AUTORIDADE
   ========================================================================== */
.sobre__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.sobre__visual {
  position: relative;
  justify-self: center;
  width: min(24rem, 100%);
}
/* painel escuro para o jaleco branco ganhar contraste */
.sobre__panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--grad);
  overflow: hidden;
  isolation: isolate;
}
.sobre__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(125, 185, 214, 0.3) 0%,
    transparent 65%
  );
}
.sobre__photo {
  width: 100%;
  height: auto;
  display: block;
}
.sobre__card {
  position: relative;
  z-index: 2;
  margin: -2.5rem var(--space-md) 0;
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.sobre__card h3 {
  font-size: var(--fs-md);
  color: var(--deep);
}
.sobre__card p {
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.sobre__card span {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: var(--mid);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.sobre__body > * + * {
  margin-top: var(--space-sm);
}
.sobre__body p {
  max-width: var(--measure);
  color: var(--ink-soft);
}
.sobre__body .cta-row {
  margin-top: var(--space-md);
}

/* ── Credenciais (E-E-A-T) ── */
.sobre__inner + .cred__grid {
  margin-top: var(--space-xl);
}
.cred__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: var(--space-md);
}
.cred__card {
  container-type: inline-size;
  padding: var(--space-md);
  border: 1px solid rgba(8, 61, 84, 0.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
/* hover só em quem tem mouse: no toque o card ficaria "preso" levantado */
@media (hover: hover) {
  .cred__card:hover,
  .why__item:hover,
  .tech__card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 138, 181, 0.32);
    box-shadow:
      0 0 0 1px rgba(26, 138, 181, 0.12),
      var(--shadow-md);
  }
  .cred__card:hover .cred__icon,
  .tech__card:hover .cred__icon {
    transform: rotate(-6deg) scale(1.06);
  }
}
.cred__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-sm);
  border-radius: 12px;
  background: var(--mid);
  box-shadow: 0 6px 16px rgba(13, 108, 147, 0.28);
  transition: transform 0.35s var(--ease-out);
}
.cred__icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cred__card h3 {
  font-size: var(--fs-md);
  color: var(--deep);
  margin-bottom: var(--space-2xs);
}
.cred__card p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
/* card largo (1 coluna): ícone ao lado do título */
@container (min-width: 30rem) {
  .cred__icon {
    float: left;
    margin-right: var(--space-sm);
  }
}

/* ==========================================================================
   ARTIGOS SEO (catarata / córnea)
   ========================================================================== */
.artigo__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}
.artigo__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* a coluna de texto é bem mais alta que a foto: em vez de deixar um vazio,
   a imagem acompanha a leitura */
@media (min-width: 48rem) {
  .artigo__figure {
    position: sticky;
    top: calc(var(--nav-h) + var(--space-md));
  }
}
.artigo__figure img {
  width: 100%;
  height: auto;
}
.artigo__cta {
  margin-top: var(--space-md);
}

/* variação em 3 blocos (título / foto / texto): no mobile a foto entra logo
   abaixo do título, em vez de sobrar no fim da seção */
.artigo__inner--split {
  row-gap: var(--space-md);
}
.artigo__inner--split .display {
  margin-bottom: 0;
}
/* em coluna única a foto entre o título e o texto não pode virar um paredão:
   trava a largura para não afastar demais a leitura */
.artigo__inner--split .artigo__figure {
  max-width: 24rem;
  margin-inline: auto;
}
@media (min-width: 48rem) {
  .artigo__inner--split {
    row-gap: var(--space-sm);
  }
  .artigo__inner--split .artigo__head {
    grid-column: 2;
    grid-row: 1;
  }
  .artigo__inner--split .artigo__figure {
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: none;
    margin-inline: 0;
  }
  .artigo__inner--split .artigo__body {
    grid-column: 2;
    grid-row: 2;
  }
}

/* lista de sintomas */
.checklist {
  list-style: none;
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--light-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6c93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* ── TECNOLOGIA ── */
.tech__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: stretch;
}
.tech__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.tech__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech__cards {
  display: grid;
  /* lado a lado quando há espaço: sem isso a linha de leitura chega a 1100px */
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: var(--space-md);
  align-content: center;
}
.tech__card {
  position: relative;
  padding: var(--space-md);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
/* anel decorativo no canto, eco da marca */
.tech__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -3.5rem;
  right: -3.5rem;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(13, 108, 147, 0.14);
  box-shadow:
    0 0 0 1.4rem rgba(13, 108, 147, 0.035),
    0 0 0 2.8rem rgba(13, 108, 147, 0.025);
  pointer-events: none;
}
.tech__card--deep::after {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1.4rem rgba(255, 255, 255, 0.04),
    0 0 0 2.8rem rgba(255, 255, 255, 0.03);
}
.tech__card--deep {
  background: var(--grad);
  color: var(--white);
}
.tech__card h3 {
  font-size: var(--fs-lg);
  color: var(--deep);
  margin-bottom: var(--space-2xs);
}
.tech__card--deep h3 {
  color: var(--white);
}
.tech__card p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.tech__card--deep p {
  color: rgba(255, 255, 255, 0.84);
}
.tech__card .cred__icon {
  background: var(--mid);
}
.tech__card--deep .cred__icon {
  background: rgba(255, 255, 255, 0.18);
}

/* ── POR QUE (WHY US) ── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: var(--space-md);
}
.why__item {
  container-type: inline-size;
  padding: var(--space-md);
  border: 1px solid transparent;
  border-top: 3px solid var(--light);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .why__item:hover {
    border-top-color: var(--mid);
  }
}
.why__item h3 {
  font-size: var(--fs-md);
  color: var(--deep);
  margin-bottom: var(--space-2xs);
}
.why__item p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* ── COMO FUNCIONA ── */
.passos {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: passo;
  max-width: 46rem;
}
.passos li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
}
.passos li:last-child {
  padding-bottom: 0;
}
.passos li::before {
  counter-increment: passo;
  content: counter(passo);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mid);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-md);
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
html.js .passos li::before {
  transform: scale(0.5);
  transition: transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms + 0.1s);
}
html.js .passos.visible li::before {
  transform: none;
}
html.js .passos li:not(:last-child)::after {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms + 0.25s);
}
html.js .passos.visible li:not(:last-child)::after {
  transform: none;
}
/* linha ligando os passos */
.passos li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--light), rgba(125, 185, 214, 0.15));
}
.passos h3 {
  font-size: var(--fs-md);
  color: var(--deep);
  margin-bottom: var(--space-2xs);
  padding-top: 0.35rem;
}
.passos p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* ── ATENDIMENTO PARTICULAR ── */
.atendimento__box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.atendimento__list {
  list-style: none;
  display: grid;
  gap: var(--space-xs);
}
.atendimento__list li.atendimento__list-titulo {
  font-weight: 600;
  color: var(--deep);
}
.atendimento__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}
.atendimento__list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 4px;
  stroke: var(--mid);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── DEPOIMENTOS ── */
.depo__rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  padding: 0.5em 1.1em;
  border: 1px solid rgba(8, 61, 84, 0.12);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.depo__rating strong {
  color: var(--deep);
}

.depo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: var(--space-md);
}
.depo__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid rgba(8, 61, 84, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.depo__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.depo__stars {
  color: var(--star);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
}
.depo__card blockquote {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}
.depo__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(8, 61, 84, 0.08);
}
.depo__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--mid);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.depo__author b {
  display: block;
  font-size: var(--fs-sm);
  color: var(--deep);
  line-height: 1.3;
}
.depo__author span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
.depo__nota {
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  text-align: center;
}

/* ── LOCALIZAÇÃO ── */
.local__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}
.local__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--bg);
}
.local__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.local__nap {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
  margin-block: var(--space-md);
}
.local__nap li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}
.local__nap svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 4px;
  stroke: var(--mid);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.local__nap b {
  display: block;
  color: var(--deep);
}
.local__nap a {
  color: var(--mid);
  font-weight: 600;
}

/* ── FAQ ── */
.faq__list {
  display: grid;
  gap: var(--space-xs);
  max-width: 48rem;
  margin-inline: auto;
}
.faq__item {
  border: 1px solid rgba(8, 61, 84, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md);
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
  color: var(--deep);
  text-align: left;
  cursor: pointer;
}
.faq__q::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6c93' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / 15px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq__item.open .faq__q::after {
  transform: rotate(45deg);
}
/* transição sem max-height fixo — respostas longas não são cortadas */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__item.open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a > div {
  overflow: hidden;
}
.faq__a p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink-soft);
}
/* sem JS todas as respostas ficam abertas e legíveis */
html:not(.js) .faq__a {
  grid-template-rows: 1fr;
}
html:not(.js) .faq__q::after {
  display: none;
}

/* ==========================================================================
   AGENDAMENTO — seção do formulário
   Celular: título → formulário → "o que acontece depois".
   Desktop: texto à esquerda, formulário fixo à direita.
   ========================================================================== */
.booking {
  position: relative;
  isolation: isolate;
  padding-block: var(--space-xl);
  /* degradê mais fechado que o do hero: o texto menor desta seção precisa
     de contraste AA mesmo no canto mais claro */
  background: linear-gradient(145deg, #062f42 0%, #083d54 45%, #0a587a 100%);
  color: var(--white);
  overflow: hidden;
}
.booking__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mix-blend-mode: luminosity;
}
/* anéis grandes e estáticos no canto: o mesmo motivo do hero */
.booking__rings {
  position: absolute;
  z-index: -1;
  right: -18rem;
  bottom: -16rem;
  width: 44rem;
  aspect-ratio: 1;
  pointer-events: none;
}
.booking__rings circle {
  fill: none;
  stroke: rgba(125, 185, 214, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.booking__inner {
  display: grid;
  gap: var(--space-lg);
  grid-template-areas:
    "head"
    "form"
    "aside";
}
.booking__head {
  grid-area: head;
}
.booking__head h2 {
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.booking__head h2 em {
  font-style: italic;
  color: var(--light);
}
.booking__head p {
  max-width: 46ch;
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.86);
}

.booking__aside {
  grid-area: aside;
  display: grid;
  gap: var(--space-md);
  align-content: start;
}
.booking__steps-title {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfe0ef;
}
.booking__steps {
  list-style: none;
  counter-reset: depois;
  display: grid;
  gap: var(--space-sm);
  margin-top: calc(var(--space-sm) * -0.5);
}
.booking__steps li {
  position: relative;
  padding-left: 3rem;
  min-height: 2.2rem;
}
.booking__steps li::before {
  counter-increment: depois;
  content: counter(depois);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--display);
  font-weight: 700;
  color: var(--white);
}
.booking__steps b {
  display: block;
  font-size: var(--fs-base);
  color: var(--white);
  line-height: 1.35;
}
.booking__steps span {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.82);
}

.booking__alt {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(3, 26, 37, 0.22);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.86);
}
.booking__alt li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.booking__alt .icon {
  width: 18px;
  height: 18px;
  color: var(--light);
}
.booking__alt a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}
.booking__alt a:hover {
  text-decoration-color: var(--white);
}

.booking__assinatura {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
.booking__assinatura svg {
  width: 42px;
  height: 42px;
  flex: none;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.booking__assinatura strong {
  display: block;
  font-family: var(--display);
  font-size: var(--fs-md);
  color: var(--white);
}
.booking__assinatura em {
  display: block;
  font-style: normal;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   FORMULÁRIO
   ========================================================================== */
.form-card {
  grid-area: form;
  position: relative;
  width: 100%;
  max-width: 34rem;
  justify-self: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow:
    0 30px 70px rgba(3, 26, 37, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  /* sem scroll-margin: o scroll-padding do <html> já desconta o header, e
     os dois somados deixariam um vão acima do card */
}
@media (min-width: 30rem) {
  .form-card {
    padding: var(--space-lg);
  }
}
.form-card.is-shake {
  animation: tremor 0.42s var(--ease) both;
}
@keyframes tremor {
  0%,
  100% {
    transform: none;
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(2px);
  }
}

.form-card__head {
  margin-bottom: var(--space-md);
}
.form-card__title {
  font-size: var(--fs-xl);
  color: var(--deep);
}
.form-card__title:focus {
  outline: none;
}
.form-card__sub {
  margin-top: 0.3rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.lead-form {
  display: grid;
  gap: var(--space-md);
}

/* ── Campo com rótulo flutuante ── */
.field {
  position: relative;
}
.field__input {
  width: 100%;
  height: 3.6rem;
  padding: 1.35rem 2.8rem 0.4rem 1rem;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--sans);
  font-size: max(1rem, var(--fs-base)); /* ≥16px: o iPhone não dá zoom */
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field__input:hover {
  border-color: rgba(8, 61, 84, 0.42);
}
.field__input:focus {
  outline: none;
  border-color: var(--mid);
  box-shadow: 0 0 0 4px rgba(26, 138, 181, 0.2);
}
.field__label {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-size: var(--fs-base);
  color: var(--ink-soft);
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 0.2s var(--ease-out),
    color 0.2s var(--ease);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__input:-webkit-autofill + .field__label {
  transform: translateY(-0.68rem) scale(0.78);
  color: var(--mid);
  font-weight: 600;
}
.field__input::placeholder {
  color: transparent;
}
.field__ok {
  position: absolute;
  right: 1rem;
  top: 1.15rem;
  width: 22px;
  height: 22px;
  color: var(--ok);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.2s var(--ease),
    transform 0.3s var(--ease-out);
}
.field.is-valid .field__ok {
  opacity: 1;
  transform: none;
}
.field.is-valid .field__input {
  border-color: rgba(21, 128, 61, 0.55);
}
.field__input[aria-invalid="true"] {
  border-color: var(--err);
  background: var(--err-soft);
}
.field__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.16);
}
.field__input[aria-invalid="true"] + .field__label {
  color: var(--err);
}
.field__hint {
  margin-top: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--err);
  animation: erro-entra 0.25s var(--ease-out);
}
.field__error[hidden] {
  display: none;
}
.field__error .icon {
  width: 17px;
  height: 17px;
  margin-top: 0.1em;
}
@keyframes erro-entra {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* ── Escolhas em "chips" (rádio nativo, acessível por teclado) ── */
.choice-group {
  border: 0;
  min-width: 0;
}
.choice-group__legend {
  margin-bottom: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--deep);
}
/* sempre 2 × 2: quatro opções simétricas e alvos de toque largos */
.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.chip {
  position: relative;
  display: block;
  cursor: pointer;
}
.chip__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip__face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--field-border);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--deep);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease);
}
.chip__check {
  width: 0;
  height: 16px;
  opacity: 0;
  transform: scale(0.3);
  transition:
    width 0.22s var(--ease-out),
    opacity 0.2s var(--ease),
    transform 0.25s var(--ease-out);
}
.chip:hover .chip__face {
  border-color: var(--mid);
  background: var(--bg-warm);
}
.chip__input:active + .chip__face {
  transform: scale(0.97);
}
.chip__input:checked + .chip__face {
  border-color: var(--mid);
  background: var(--mid);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(13, 108, 147, 0.28);
}
.chip__input:checked + .chip__face .chip__check {
  width: 16px;
  opacity: 1;
  transform: none;
}
.chip__input:focus-visible + .chip__face {
  outline: 3px solid var(--bright);
  outline-offset: 2px;
}
.choice-group.is-invalid .chip__face {
  border-color: var(--err);
}

/* ── Caixas de seleção ── */
.check-row {
  display: grid;
  gap: 0.3rem;
}
.check-row--remember {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-top: calc(var(--space-sm) * -0.6);
}
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.check__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check__box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1.5px solid rgba(8, 61, 84, 0.4);
  border-radius: 7px;
  background: var(--white);
  color: var(--white);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease-out);
}
.check__box .icon {
  width: 15px;
  height: 15px;
  opacity: 0;
  transform: scale(0.3) rotate(-12deg);
  transition:
    opacity 0.15s var(--ease),
    transform 0.28s var(--ease-out);
}
.check:hover .check__box {
  border-color: var(--mid);
}
.check__input:checked + .check__box {
  border-color: var(--mid);
  background: var(--mid);
}
.check__input:checked + .check__box .icon {
  opacity: 1;
  transform: none;
}
.check__input:active + .check__box {
  transform: scale(0.9);
}
.check__input:focus-visible + .check__box {
  outline: 3px solid var(--bright);
  outline-offset: 2px;
}
.check__input[aria-invalid="true"] + .check__box {
  border-color: var(--err);
  background: var(--err-soft);
}
.check__text a {
  color: var(--mid);
  font-weight: 600;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--mid);
  text-decoration: underline;
  text-decoration-color: rgba(13, 108, 147, 0.4);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.link-btn:hover {
  color: var(--deep);
  text-decoration-color: currentColor;
}
.link-btn[hidden] {
  display: none;
}
@media (pointer: coarse) {
  .link-btn {
    min-height: 44px;
  }
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--bg-warm);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-soft);
}
.privacy-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 0.1em;
  color: var(--mid);
}

/* honeypot: fora da tela, mas não display:none (alguns robôs ignoram) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Alerta de falha no envio ── */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(180, 35, 24, 0.3);
  border-radius: 12px;
  background: var(--err-soft);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: #7a1a12;
  animation: erro-entra 0.3s var(--ease-out);
}
.form-alert[hidden] {
  display: none;
}
.form-alert > .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
  color: var(--err);
}
.form-alert__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  margin-top: 0.3rem;
}

/* ── Botão de envio: rótulo, ícone e spinner ── */
.lead-form__submit {
  margin-top: calc(var(--space-sm) * -0.4);
}
.lead-form__submit:disabled {
  cursor: progress;
  transform: none;
  background: var(--deep);
  box-shadow: none;
}
.btn__spinner {
  display: none;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
}
.lead-form__submit.is-loading .btn__spinner {
  display: inline-block;
  animation: gira 0.7s linear infinite;
}
.lead-form__submit.is-loading .lead-form__wa {
  display: none;
}
@keyframes gira {
  to {
    transform: rotate(360deg);
  }
}

/* ── Confirmação: os anéis convergem e o check se desenha ── */
.form-success {
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
  text-align: center;
}
.form-success[hidden] {
  display: none;
}
.form-success:focus {
  outline: none;
}
.success-mark {
  width: 120px;
  height: 120px;
  overflow: visible;
}
.success-mark__ring {
  fill: none;
  stroke: var(--light);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.success-mark__ring:nth-child(2) {
  opacity: 0.7;
}
.success-mark__ring:nth-child(3) {
  opacity: 0.45;
}
.success-mark__disc {
  fill: var(--mid);
  transform-origin: 60px 60px;
}
.success-mark__check {
  fill: none;
  stroke: var(--white);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.form-success.is-playing .success-mark__ring {
  transform-origin: 60px 60px;
  animation: sucesso-anel 0.75s var(--ease-out) both;
}
.form-success.is-playing .success-mark__ring:nth-child(2) {
  animation-delay: 0.08s;
}
.form-success.is-playing .success-mark__ring:nth-child(3) {
  animation-delay: 0.16s;
}
.form-success.is-playing .success-mark__disc {
  animation: sucesso-disco 0.5s var(--ease-out) 0.25s both;
}
.form-success.is-playing .success-mark__check {
  animation: sucesso-check 0.4s var(--ease-out) 0.55s both;
}
.form-success.is-playing > :not(.success-mark) {
  animation: hero-entra 0.5s var(--ease-out) 0.45s backwards;
}
@keyframes sucesso-anel {
  from {
    stroke-dashoffset: 1;
    transform: scale(1.25);
    opacity: 0;
  }
}
@keyframes sucesso-disco {
  from {
    transform: scale(0);
  }
  70% {
    transform: scale(1.08);
  }
  to {
    transform: none;
  }
}
@keyframes sucesso-check {
  from {
    stroke-dashoffset: 1;
  }
}
.form-success__title {
  font-size: var(--fs-xl);
  color: var(--deep);
}
.form-success__text {
  max-width: 34ch;
  color: var(--ink-soft);
}
.form-success .cta-btn {
  margin-top: var(--space-xs);
}

/* ── RODAPÉ ── */
.footer {
  background: #14232c;
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--space-lg);
  font-size: var(--fs-sm);
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__title {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-sm);
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--white);
}
.footer__brand svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--light);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.footer a {
  color: var(--light);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer__bottom {
  padding-top: var(--space-md);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom p + p {
  margin-top: var(--space-xs);
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── BARRA FIXA (mobile/tablet) ──
   Ligar · WhatsApp · Agendar. O agendamento leva a maior parte da largura:
   é a ação principal da página. */
.mobile-cta-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 150;
  display: flex;
  gap: 1px;
  background: rgba(8, 61, 84, 0.2);
  box-shadow: 0 -4px 20px rgba(8, 61, 84, 0.18);
  padding-bottom: var(--safe-b);
  /* desliza para fora enquanto o topo da página está visível */
  transform: translateY(110%);
  transition: transform 0.35s var(--ease-out);
}
.mobile-cta-bar.is-visible {
  transform: translateY(0);
}
/* sobre o formulário a barra só competiria com o botão de envio */
.mobile-cta-bar.is-visible.is-near-form {
  transform: translateY(110%);
}
html:not(.js) .mobile-cta-bar {
  transform: translateY(0);
}
.mobile-cta-bar a {
  flex: 1 1 auto;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s var(--ease);
}
.mobile-cta-bar a:active {
  filter: brightness(0.92);
}
.mobile-cta-bar .icon {
  width: 19px;
  height: 19px;
}
.mobile-cta-bar__tel {
  flex: 0 0 auto;
  padding-inline: 1.1rem;
  background: var(--white);
  color: var(--deep);
}
.mobile-cta-bar__wa {
  flex: 0 0 var(--bar-h);
  background: var(--wa);
  color: #05331a;
}
.mobile-cta-bar__wa .icon {
  width: 24px;
  height: 24px;
}
.mobile-cta-bar__agendar {
  background: var(--mid);
  color: var(--white);
}

/* ── BOTÃO FLUTUANTE WHATSAPP (desktop) ──
   Entra depois do hero com dois pulsos discretos e some sobre o formulário,
   para não disputar atenção com o botão de envio. */
.wa-float {
  display: none;
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--space-md) + var(--safe-b));
  z-index: 160;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6) translateY(12px);
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease),
    transform 0.4s var(--ease-out),
    box-shadow 0.25s var(--ease);
}
html:not(.js) .wa-float,
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-float.is-visible.is-near-form {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6) translateY(12px);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  pointer-events: none;
}
.wa-float.is-visible::before {
  animation: pulso 1.8s var(--ease-out) 0.6s 2;
}
@keyframes pulso {
  to {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}
.wa-float .icon {
  width: 28px;
  height: 28px;
}
.wa-float__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(8px, -50%);
  transition:
    opacity 0.2s var(--ease),
    transform 0.25s var(--ease-out);
  pointer-events: none;
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ── POLÍTICA DE PRIVACIDADE ── */
.pagina-legal {
  padding-bottom: 0;
}
.legal {
  padding-top: calc(var(--nav-h) + var(--space-lg));
  padding-bottom: var(--space-xl);
  background: var(--bg-warm);
}
.legal__inner {
  max-width: 52rem;
}
.legal__head {
  margin-bottom: var(--space-lg);
}
.legal__data {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.legal__body h2 {
  margin-top: var(--space-lg);
  font-size: var(--fs-lg);
  color: var(--deep);
}
.legal__body ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.2rem;
}
.legal__body a:not(.cta-btn) {
  color: var(--mid);
  font-weight: 600;
}
.legal__fim {
  margin-top: var(--space-lg);
}
.legal__voltar-seta {
  transform: rotate(180deg);
}

/* ==========================================================================
   BREAKPOINTS ESTRUTURAIS
   Só o que os layouts intrínsecos não resolvem sozinhos.
   ========================================================================== */

/* ── Tablet retrato ── */
@media (min-width: 40rem) {
  :root {
    --nav-h: 72px;
  }
  .nav__brand > span {
  min-width: 0;
}
.nav__brand svg {
    width: 30px;
    height: 30px;
  }
  .nav__brand-name {
    font-size: var(--fs-base);
  }
}

@media (min-width: 48rem) {
  .nav__tel {
    display: inline-flex;
  }
  .artigo__inner,
  .tech__inner,
  .local__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .artigo__inner--reverse .artigo__figure {
    order: -1;
  }
  .local__map {
    aspect-ratio: 1 / 1;
  }
  .sobre__inner {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  }
  .sobre__visual {
    width: 100%;
  }
  /* entre tablet e desktop o hero ainda é uma coluna, com a foto no topo */
  .hero__photo-wrap {
    width: min(15rem, 40%);
  }
}

/* ── Desktop: navegação inline substitui o hamburger ── */
@media (min-width: 64rem) {
  :root {
    --nav-h: 78px;
  }
  .nav__links {
    display: flex;
  }
  /* entre 64rem e 80rem a barra fica apertada: os links têm prioridade sobre
     o telefone, que continua no rodapé, na seção de localização e no CTA final */
  .nav__tel {
    display: none;
  }
  .nav__toggle,
  html.js .nav__toggle {
    display: none;
  }

  /* a coluna de texto precisa comportar os dois CTAs na mesma linha; a foto
     cede o excedente que sobrava sobre seu próprio limite de 31rem */
  .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: var(--space-lg);
    min-height: calc(100svh - var(--nav-h));
    align-content: center;
  }
  /* CTA principal e secundário lado a lado: trocam o corpo maior pelo base,
     mantendo a altura generosa do --lg */
  .hero__actions .cta-row {
    flex-wrap: nowrap;
    gap: var(--space-xs);
    /* a borda de 2px do secundário o deixaria 4px mais alto que o primário */
    align-items: stretch;
  }
  .hero__actions .cta-btn--lg {
    padding-inline: 1.35em;
    font-size: var(--fs-base);
    white-space: nowrap;
  }
  /* no desktop a foto volta para a direita e ganha presença */
  .hero__visual {
    order: 0;
    position: relative;
    justify-content: center;
    gap: 0;
  }
  .hero__photo-wrap {
    width: min(31rem, 100%);
  }
  .hero__rings {
    top: 2%;
    width: min(30rem, 96%);
  }
  /* com a foto grande, o selo volta a ser sobreposto. Centralizado por
     margem, e não por transform, para não brigar com a animação de entrada */
  .hero__badge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7%;
    margin-inline: auto;
  }
  .hero__chip {
    position: absolute;
    top: 18%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.55em;
    padding: 0.65em 1em;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(3, 26, 37, 0.25);
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.88);
  }
  .hero__chip b {
    font-family: var(--display);
    font-size: 2em;
    line-height: 1;
    color: var(--white);
  }

  /* agendamento: texto à esquerda, formulário à direita acompanhando a rolagem */
  .booking__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
    grid-template-areas:
      "head form"
      "aside form";
    grid-template-rows: auto 1fr;
    column-gap: var(--space-xl);
    row-gap: var(--space-lg);
    align-items: start;
  }
  .form-card {
    position: sticky;
    top: calc(var(--nav-h) + var(--space-md));
    max-width: none;
  }

  .sobre__inner {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .tech__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .local__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .local__map {
    aspect-ratio: 4 / 3;
  }

  /* no desktop a barra fixa dá lugar ao botão flutuante */
  .mobile-cta-bar {
    display: none;
  }
  .wa-float {
    display: grid;
  }
  body {
    padding-bottom: 0;
  }
}

/* ── Telas largas: mais respiro, sem esticar a leitura ── */
@media (min-width: 80rem) {
  .nav__tel {
    display: inline-flex;
  }
}

@media (min-width: 90rem) {
  .container {
    max-width: 76rem;
  }
  .nav__inner {
    max-width: 76rem;
  }
}

/* ── Celular deitado: altura é o recurso escasso ──
   Em 360px de altura a dobra só comporta a promessa e o CTA. O que sai daqui
   (selos, subtítulo) reaparece no selo sob a foto e nas seções seguintes. */
@media (max-width: 63.99rem) and (orientation: landscape) and (max-height: 30rem) {
  .hero {
    padding-top: calc(var(--nav-h) + var(--space-sm));
    padding-bottom: var(--space-md);
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
    gap: var(--space-md);
    align-items: center;
  }
  .hero .eyebrow,
  .hero__sub,
  .hero__trust,
  .hero .cta-note,
  .hero__badge {
    display: none;
  }
  .hero__headline {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xs);
  }
  .hero__visual {
    order: 0;
    justify-content: center;
  }
  .hero__photo-wrap {
    width: min(11rem, 100%);
  }
  .cta-btn--lg {
    padding: 0.8em 1.5em;
    font-size: var(--fs-base);
  }
  .drawer__foot {
    padding: var(--space-sm) var(--space-md);
  }
  .drawer__hours {
    display: none;
  }
}

/* ── BRILHO NOS BOTÕES DE WHATSAPP ──
   Pulso de brilho discreto nos botões que abrem a conversa direto. O hover
   pausa o pulso e assume a sombra do próprio botão. Quem prefere menos
   movimento fica só com a sombra fixa. */
.cta-btn--wa {
  --wa-sombra: 0 8px 26px rgba(37, 211, 102, 0.34);
}
.wa-float {
  --wa-sombra: 0 6px 24px rgba(37, 211, 102, 0.42);
}
@keyframes wa-brilho {
  0%,
  100% {
    box-shadow: var(--wa-sombra), 0 0 0 0 rgba(37, 211, 102, 0);
  }
  50% {
    box-shadow: var(--wa-sombra), 0 0 24px 4px rgba(37, 211, 102, 0.45);
  }
}
/* na barra fixa o botão encosta nas bordas: o brilho fica por dentro */
@keyframes wa-brilho-interno {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: inset 0 0 18px 2px rgba(255, 255, 255, 0.55);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cta-btn--wa,
  .wa-float {
    animation: wa-brilho 2.8s ease-in-out infinite;
  }
  .mobile-cta-bar__wa {
    animation: wa-brilho-interno 2.8s ease-in-out infinite;
  }
  .cta-btn--wa:hover,
  .wa-float:hover {
    animation: none;
  }
}

/* ==========================================================================
   PREFERÊNCIAS DO USUÁRIO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  html.js .reveal-stagger > *,
  html.js .passos li::before,
  html.js .passos li:not(:last-child)::after {
    opacity: 1;
    transform: none;
  }
  .wa-float.is-visible::before {
    animation: none;
  }
  .cta-btn--shine::after {
    display: none;
  }
  .cta-btn:hover,
  .wa-float:hover,
  .cred__card:hover,
  .why__item:hover,
  .tech__card:hover,
  .depo__card:hover,
  .pain__item:hover {
    transform: none;
  }
}

/* sem JavaScript o conteúdo permanece visível */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* modo de alto contraste do Windows */
@media (forced-colors: active) {
  .cta-btn,
  .nav__toggle,
  .faq__item,
  .depo__card,
  .chip__face,
  .check__box,
  .field__input {
    border: 1px solid ButtonText;
  }
  .chip__input:checked + .chip__face,
  .check__input:checked + .check__box {
    background: Highlight;
    color: HighlightText;
  }
}
