/* ============================================================
   Dr. Márcio Dornelles — Medicina do Esporte
   Sistema visual: preto puro + ouro reservado
   ============================================================ */

/* ---------- Fontes ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Ground: preto puro. O escuro não é estilo, é a arquibancada à noite. */
  --ink-000: #000000;
  --ink-050: #08080a;
  --ink-100: #0e0e11;
  --ink-200: #16161a;
  --ink-300: #1f1f25;
  --ink-400: #2c2c34;

  /* Ouro. Saturado + glow é reservado por lei à ação primária. */
  --gold-900: #6b4e1e;
  --gold-700: #8b6a2b;
  --gold-500: #c9a44c;
  --gold-300: #e8c87a;
  --gold-100: #f5e3b8;
  /* Ouro apagado: o segmento que não acende também é desenhado. */
  --gold-ghost: #52411f;

  --paper: #ffffff;
  --paper-dim: #b4aea3;
  --paper-faint: #7d776e;

  --danger: #e8836a;

  --shell: min(1220px, 100% - 3rem);
  --shell-narrow: min(760px, 100% - 3rem);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Sombras com offset e desfoque reais, nunca halo. */
  --lift-1: 0 1px 2px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.45);
  --lift-2: 0 2px 4px rgba(0, 0, 0, 0.65), 0 14px 40px rgba(0, 0, 0, 0.55);
  --lift-3: 0 4px 8px rgba(0, 0, 0, 0.7), 0 32px 80px rgba(0, 0, 0, 0.65);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);

  --nav-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink-000);
  color: var(--paper);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Superfícies do navegador ---------- */
::selection {
  background: var(--gold-500);
  color: var(--ink-000);
}
:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 2px;
}
* { scrollbar-width: thin; scrollbar-color: var(--gold-900) var(--ink-100); }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: var(--ink-100); }
*::-webkit-scrollbar-thumb {
  background: var(--gold-900);
  border-radius: var(--r-pill);
  border: 3px solid var(--ink-100);
}
*::-webkit-scrollbar-thumb:hover { background: var(--gold-700); }

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

a {
  color: var(--gold-300);
  text-decoration-color: color-mix(in srgb, var(--gold-300) 40%, transparent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-color: var(--gold-300); }

/* ---------- Tipografia ---------- */
.display,
h1,
h2,
h3 {
  font-variation-settings: 'wdth' 112;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
  font-weight: 800;
}

h1, .t-hero {
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  font-weight: 900;
}
h2, .t-sec {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}
h3, .t-sub {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* O ouro no texto é cor sólida: o peso carrega a ênfase, não um degradê. */
.gold { color: var(--gold-300); }
.dim { color: var(--paper-dim); }

p { margin: 0 0 1.1em; max-width: 68ch; }
.lede {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.55;
  color: var(--paper-dim);
  max-width: 60ch;
}

.rule {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--paper-faint);
  font-variation-settings: 'wdth' 100;
}

/* ---------- Layout ---------- */
.shell { width: var(--shell); margin-inline: auto; }
.shell-narrow { width: var(--shell-narrow); margin-inline: auto; }

section { position: relative; }
.band { padding-block: clamp(5rem, 11vw, 9.5rem); }
.band-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* Ritmo: mais ar acima de um título do que abaixo dele. */
.band > .shell > h2,
.band > .shell > .t-sec,
.split > div > h2,
.split > div > h1,
.shell-narrow > h2 { margin-bottom: 1.6rem; }

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
  z-index: 2;
}

/* ============================================================
   Navegação
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 90;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--ink-000) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--ink-300);
}
.nav__in {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
}
/* O logotipo original é azul-turquesa e brigaria com o ouro:
   neutralizado para monocromático claro, forma preservada. */
.brand img {
  height: 30px;
  width: auto;
  filter: grayscale(1) brightness(2.4) contrast(1.25);
}
.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__txt b {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variation-settings: 'wdth' 108;
}
.brand__txt span {
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}

.nav__links {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current='page'] { color: var(--paper); }
.nav__links a[aria-current='page']::after {
  transform: scaleX(1);
  background: var(--gold-700);
}

/* O botão dentro do menu não herda a cor dos links de navegação:
   `.nav__links a` tem especificidade maior que `.btn-gold`. */
.nav__links a.btn-gold { color: #130d02; }
.nav__links a.btn-ghost { color: var(--paper); }
.nav__links a.btn::after { display: none; }
.nav__links a.btn:hover { color: #130d02; }
.nav__links a.btn-ghost:hover { color: var(--paper); }

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--ink-400);
  border-radius: var(--r-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Botões — o brilho pertence só à ação primária
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--r-pill);
  padding: 0.95rem 1.7rem;
  min-height: 48px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-gold {
  color: #130d02;
  background: linear-gradient(103deg, var(--gold-500) 0%, var(--gold-100) 46%, var(--gold-300) 100%);
  box-shadow: var(--lift-1), 0 0 0 0 rgba(232, 200, 122, 0);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--lift-2), 0 0 34px -6px rgba(232, 200, 122, 0.5);
}
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--ink-400);
}
.btn-ghost:hover {
  border-color: var(--gold-700);
  background: color-mix(in srgb, var(--gold-500) 7%, transparent);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.5);
}

.btn__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.16);
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn__arrow svg { width: 13px; height: 13px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ============================================================
   Hero — quatro planos, velocidades distintas
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
/* ---------- Fotos de fundo ----------
   Uma classe por imagem para que o celular baixe a versão pequena.
   O enquadramento (background-position) fica no HTML, pois varia
   por página; só a fonte muda aqui. */
.shot-campo { background-image: url('../img/campo-gremio-1600.webp'); }
.shot-congresso { background-image: url('../img/congresso-1600.webp'); }
.shot-libertadores { background-image: url('../img/libertadores-1600.webp'); }
.shot-campnou { background-image: url('../img/campnou-1400.webp'); }
.shot-retrato { background-image: url('../img/retrato-760.webp'); }
.shot-entrevista { background-image: url('../img/entrevista-1000.webp'); }
.shot-atendimento { background-image: url('../img/atendimento-1000.webp'); }

@media (max-width: 860px) {
  .shot-campo { background-image: url('../img/campo-gremio-800.webp'); }
  .shot-congresso { background-image: url('../img/congresso-800.webp'); }
  .shot-libertadores { background-image: url('../img/libertadores-800.webp'); }
  .shot-campnou { background-image: url('../img/campnou-800.webp'); }
  .shot-retrato { background-image: url('../img/retrato-400.webp'); }
  .shot-entrevista { background-image: url('../img/entrevista-600.webp'); }
  .shot-atendimento { background-image: url('../img/atendimento-600.webp'); }
}

/* Páginas internas: mesma construção, altura menor — o conteúdo
   começa antes, mas a abertura tem o mesmo peso da home. */
.hero--sub {
  min-height: min(70svh, 660px);
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
/* O display interno é menor que o da home: a altura é menor e o
   título precisa caber em duas ou três linhas, não quatro. */
.hero--sub h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  max-width: 16ch;
}
.hero--sub .lede { margin-bottom: 0; }

.hero__stage {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero__shot {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 28%;
  filter: grayscale(0.62) contrast(1.12) brightness(0.74);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.5s var(--ease);
}
/* O primeiro quadro pinta sem esperar o JS: isso adianta o LCP e
   garante a foto mesmo se o script falhar. O JS só cuida da troca. */
.hero__shot:first-child { opacity: 1; }
.hero__shot.is-live {
  opacity: 1;
  animation: kenburns 15s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1.15); }
}

/* Véu: preto que sobe pela esquerda e pelo pé, como no card de referência. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--ink-000) 5%, rgba(0, 0, 0, 0.72) 40%, rgba(0, 0, 0, 0.3) 78%),
    linear-gradient(to right, var(--ink-000) 4%, rgba(0, 0, 0, 0.88) 30%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.15) 82%);
}

/* O momento autoral: um refletor de estádio varre a foto, uma única vez. */
.hero__sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    104deg,
    transparent 32%,
    rgba(232, 200, 122, 0.14) 46%,
    rgba(245, 227, 184, 0.24) 50%,
    rgba(232, 200, 122, 0.1) 55%,
    transparent 68%
  );
  transform: translateX(-115%);
}
.hero.is-lit .hero__sweep { animation: sweep 2.4s cubic-bezier(0.3, 0, 0.2, 1) 0.35s forwards; }
@keyframes sweep {
  to { transform: translateX(115%); }
}

.hero__body {
  position: relative;
  z-index: 3;
  width: var(--shell);
  margin-inline: auto;
  will-change: transform;
}
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
  display: block;
}
.hero .lede { margin-top: 1.5rem; margin-bottom: 2.2rem; }

/* Assinatura de credencial: vem depois do título, nunca antes.
   Uma etiqueta acima do heading seria um eyebrow, e o heading
   carrega o próprio peso. */
.hero__sig {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: -0.6rem 0 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  max-width: none;
}
.hero__sig::before {
  content: '';
  width: 34px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

/* ============================================================
   Faixa de credenciais
   ============================================================ */
.creds {
  border-block: 1px solid var(--ink-300);
  background: var(--ink-050);
  padding-block: 1.6rem;
  overflow: hidden;
}
.creds__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem 2rem;
  align-items: start;
}
.creds__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.78rem;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  text-align: center;
}
.creds__item b {
  color: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
  font-variation-settings: 'wdth' 106;
  letter-spacing: -0.01em;
}

/* ============================================================
   Blocos editoriais
   ============================================================ */
/* Item de grid tem min-width auto e se recusa a encolher abaixo do
   próprio conteúdo, o que empurra a página alguns pixels para fora
   no celular. min-width 0 é o que deixa a coluna ceder. */
.split > *,
.grid-2 > *,
.grid-3 > *,
.titem > *,
.info__row > *,
.creds__item { min-width: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--wide { grid-template-columns: 1.15fr 1fr; }

.plate {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--lift-3);
  isolation: isolate;
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.06);
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.plate:hover img { filter: grayscale(0); transform: scale(1.03); }
.plate::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 76, 0.18);
  border-radius: inherit;
}
.plate__cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4rem 1.6rem 1.35rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.88) 42%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
  font-size: 0.82rem;
  color: var(--paper-dim);
  line-height: 1.45;
}
.plate__cap b { margin-bottom: 0.2rem; }
.plate__cap b { color: var(--paper); display: block; font-weight: 700; }

/* ============================================================
   Tratamentos — lista com régua, não grade de cartões
   ============================================================ */
.tlist {
  border-top: 1px solid var(--ink-300);
  margin-top: 3rem;
}
.titem {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.8rem;
  align-items: start;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--ink-300);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.4s var(--ease);
}
.titem::before {
  content: '';
  position: absolute;
  inset: 0 -1.5rem;
  background: linear-gradient(100deg, color-mix(in srgb, var(--gold-500) 6%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: var(--r-md);
  z-index: -1;
}
.titem:hover::before { opacity: 1; }

/* O ícone em repouso é desenhado, não ausente: o traço fica no ouro apagado. */
.titem__ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-ghost);
  display: grid;
  place-items: center;
  color: var(--gold-500);
  flex-shrink: 0;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.titem:hover .titem__ic {
  color: var(--gold-300);
  border-color: var(--gold-700);
  background: color-mix(in srgb, var(--gold-500) 9%, transparent);
}
.titem__ic svg { width: 21px; height: 21px; }

.titem__txt h3 { margin-bottom: 0.55rem; }
.titem__txt p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.98rem;
  max-width: 62ch;
}
.titem__go {
  align-self: center;
  color: var(--gold-700);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.titem:hover .titem__go { color: var(--gold-300); transform: translateX(4px); }
.titem__go svg { width: 20px; height: 20px; }

/* ============================================================
   Quadros de conteúdo
   ============================================================ */
.panel {
  background: var(--ink-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  padding: clamp(1.7rem, 3.4vw, 2.6rem);
}
.panel h3 { margin-bottom: 0.9rem; }
.panel p:last-child { margin-bottom: 0; }

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

/* Listas de sintomas — marcador desenhado */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--paper-dim);
  font-size: 0.97rem;
  line-height: 1.5;
}
.ticks li::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  border-radius: 50%;
  border: 1px solid var(--gold-ghost);
  background:
    linear-gradient(var(--gold-500), var(--gold-500)) center / 6px 1.5px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: 0.85rem;
  color: var(--paper-dim);
  border: 1px solid var(--ink-400);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.95rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chips li:hover { border-color: var(--gold-900); color: var(--paper); }

/* ============================================================
   Citação
   ============================================================ */
.quote {
  border-left: 1px solid var(--gold-700);
  padding-left: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 46ch;
}
.quote p {
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variation-settings: 'wdth' 108;
  color: var(--paper);
  margin-bottom: 1rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}

/* ============================================================
   Formulário de agendamento
   ============================================================ */
.form-wrap {
  background: linear-gradient(168deg, var(--ink-200), var(--ink-050) 65%);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  padding: clamp(1.7rem, 4vw, 3rem);
  box-shadow: var(--lift-2);
  position: relative;
  overflow: hidden;
}
.form-wrap::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-700), transparent);
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 0.5rem;
}
.field .req { color: var(--gold-500); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--ink-000);
  border: 1px solid var(--ink-400);
  border-radius: var(--r-md);
  padding: 0.9rem 1.05rem;
  min-height: 50px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  appearance: none;
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: var(--paper-faint); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-400); background: var(--ink-050); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-700);
  background: var(--ink-050);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-500) 15%, transparent);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23c9a44c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.8rem;
  cursor: pointer;
}
.field select:invalid { color: var(--paper-faint); }
.field option { background: var(--ink-100); color: var(--paper); }

.field[data-invalid='true'] input,
.field[data-invalid='true'] select {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.field__err {
  display: none;
  margin-top: 0.45rem;
  font-size: 0.83rem;
  color: var(--danger);
  line-height: 1.4;
}
.field[data-invalid='true'] .field__err { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

.form-note {
  font-size: 0.8rem;
  color: var(--paper-faint);
  margin: 1.1rem 0 0;
  line-height: 1.5;
  max-width: none;
}

.form-ok {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.form-ok svg { width: 46px; height: 46px; color: var(--gold-300); margin: 0 auto 1rem; }
/* Confirmação de envio: parece um título, mas não é um nível de
   estrutura — vira parágrafo para não furar a hierarquia. */
.form-ok__t {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 700;
  font-variation-settings: 'wdth' 112;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 auto 0.6rem;
  color: var(--paper);
}
.form-ok p { color: var(--paper-dim); margin-inline: auto; }
form.is-sent .form-ok { display: block; }
form.is-sent .form-live { display: none; }

/* Estado de envio */
.btn.is-busy { pointer-events: none; opacity: 0.75; }
.btn.is-busy .btn__arrow svg { animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Modal de agendamento
   Todo CTA de WhatsApp passa por aqui: o lead é qualificado
   antes da conversa, inclusive nas páginas sem formulário.
   ============================================================ */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(560px, 100% - 2rem);
  width: 100%;
  max-height: min(92svh, 900px);
  overflow: visible;
  color: var(--paper);
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px) saturate(0.8);
  -webkit-backdrop-filter: blur(8px) saturate(0.8);
}

.modal__panel {
  position: relative;
  background: linear-gradient(168deg, var(--ink-200), var(--ink-050) 62%);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-3);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  max-height: min(92svh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal__panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--gold-700), transparent);
}

.modal__head { margin-bottom: 1.5rem; padding-right: 3rem; }
.modal__head h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin-bottom: 0.6rem;
}
.modal__head p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

.modal__x {
  position: absolute;
  top: clamp(1.1rem, 3vw, 1.5rem);
  right: clamp(1.1rem, 3vw, 1.5rem);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--ink-400);
  color: var(--paper-dim);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
  z-index: 2;
}
.modal__x:hover {
  color: var(--paper);
  border-color: var(--gold-700);
  background: color-mix(in srgb, var(--gold-500) 8%, transparent);
}
.modal__x svg { width: 17px; height: 17px; }

.modal[open] { animation: modal-in 0.4s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.35s var(--ease); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Em tela baixa o botão de envio precisa estar ao alcance sem rolar muito. */
@media (max-width: 760px), (max-height: 800px) {
  .modal__head { margin-bottom: 1.1rem; }
  .modal__head p { font-size: 0.9rem; }
  .modal .field { margin-bottom: 0.85rem; }
  .modal .field-row { gap: 0.85rem; }
  .modal .field textarea { min-height: 72px; }
  .modal .form-note { margin-top: 0.8rem; }
  .modal .btn-gold { font-size: 0.84rem; letter-spacing: 0.035em; padding-inline: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal[open]::backdrop { animation: none; }
}

/* ============================================================
   Bio — hub de links
   ============================================================ */
.bio {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5rem) 0 3rem;
}
.bio__head { text-align: center; margin-bottom: 2.6rem; }
.bio__av {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 14%;
  margin: 0 auto 1.3rem;
  border: 1px solid var(--gold-900);
  box-shadow: var(--lift-2), 0 0 44px -12px rgba(201, 164, 76, 0.4);
}
.bio__head h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 0.4rem;
}
.bio__head .rule { color: var(--gold-500); }
.bio__crm {
  font-size: 0.82rem;
  color: var(--paper-faint);
  margin-top: 0.7rem;
}

.hub {
  width: min(620px, 100% - 2.5rem);
  display: grid;
  gap: 1rem;
}
.hubcard {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--paper);
  aspect-ratio: 1024 / 400;
  background: var(--ink-100);
  border: 1px solid var(--ink-300);
  box-shadow: var(--lift-1);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  isolation: isolate;
}
.hubcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift-2);
  border-color: var(--gold-900);
}
.hubcard__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(1) contrast(1.15) brightness(0.8);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.hubcard:hover .hubcard__bg { transform: scale(1.05); filter: grayscale(0.75) brightness(0.85); }
.hubcard__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg, var(--ink-000) 34%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.28) 100%);
}
.hubcard__in {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: clamp(1.1rem, 4vw, 1.9rem);
}
.hubcard__tag {
  align-self: flex-start;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper-dim);
  border: 1px solid var(--ink-400);
  border-radius: var(--r-sm);
  padding: 0.32rem 0.65rem;
  background: rgba(0, 0, 0, 0.45);
}
.hubcard h2 {
  font-size: clamp(1.35rem, 5.2vw, 2.1rem);
  line-height: 1.04;
  max-width: 13ch;
}
.hubcard h2 em { font-style: normal; color: var(--gold-300); }
.hubcard__act {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  align-self: flex-start;
}
.hubcard__act span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1305;
  background: linear-gradient(103deg, var(--gold-700), var(--gold-300) 55%, var(--gold-500));
  padding: 0.6rem 1.15rem;
  border-radius: var(--r-pill);
}
.hubcard__act i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -12px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--ink-000);
  color: var(--paper);
  transition: transform 0.4s var(--ease);
}
.hubcard:hover .hubcard__act i { transform: translate(3px, -3px); }
.hubcard__act svg { width: 13px; height: 13px; }

/* ============================================================
   Contato
   ============================================================ */
.info { display: grid; gap: 1.6rem; }
.info__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.info__ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-ghost);
  display: grid;
  place-items: center;
  color: var(--gold-500);
}
.info__ic svg { width: 18px; height: 18px; }
.info__row b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper-faint);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.info__row p { margin: 0; color: var(--paper); font-size: 1rem; }
.info__row a { color: var(--paper); text-decoration: none; }
.info__row a:hover { color: var(--gold-300); }

.map {
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--lift-2);
  background: var(--ink-100);
}
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(1) invert(0.9) contrast(0.85); }

/* ============================================================
   Rodapé
   ============================================================ */
.foot {
  border-top: 1px solid var(--ink-300);
  background: var(--ink-050);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.foot__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 1rem;
  font-weight: 600;
}
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.foot__col a { color: var(--paper-dim); text-decoration: none; font-size: 0.92rem; }
.foot__col a:hover { color: var(--gold-300); }
.foot__col p { color: var(--paper-dim); font-size: 0.92rem; max-width: 34ch; }

.foot__legal {
  border-top: 1px solid var(--ink-300);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--paper-faint);
}
.foot__legal p { margin: 0; max-width: 72ch; }

/* Botão flutuante de WhatsApp */
.wfloat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold-700), var(--gold-300));
  color: #14100a;
  box-shadow: var(--lift-2), 0 0 30px -8px rgba(232, 200, 122, 0.55);
  transition: transform 0.35s var(--ease);
}
.wfloat:hover { transform: scale(1.07) translateY(-2px); }
.wfloat svg { width: 26px; height: 26px; }

/* ============================================================
   Revelação por scroll
   ============================================================ */
.rise {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.rise.is-in { opacity: 1; transform: none; }
.rise:nth-child(2) { transition-delay: 0.07s; }
.rise:nth-child(3) { transition-delay: 0.14s; }
.rise:nth-child(4) { transition-delay: 0.21s; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 980px) {
  :root { --shell: min(1220px, 100% - 2.5rem); }
  .split, .split--wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .creds__track { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: min(1220px, 100% - 1.75rem); --nav-h: 66px; }

  .burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: color-mix(in srgb, var(--ink-000) 97%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ink-300);
    padding: 0.5rem 1.75rem 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--ink-200);
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav__links a::after { display: none; }
  .nav__links .btn { margin-top: 1rem; justify-content: center; }

  .hero { min-height: min(94svh, 780px); }
  .hero__shot { background-position: 62% 26%; }
  .hero__veil {
    background:
      linear-gradient(to top, var(--ink-000) 8%, rgba(0, 0, 0, 0.62) 46%, rgba(0, 0, 0, 0.3) 82%),
      linear-gradient(to right, var(--ink-000) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.25) 100%);
  }

  .grid-2, .grid-3, .field-row { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 2rem; }

  .titem { grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.7rem 0; }
  .titem__go { display: none; }

  .creds__track { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.5rem; }

  .wfloat { width: 50px; height: 50px; right: 1rem; bottom: 1rem; }
}

@media (max-width: 420px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
}

/* ============================================================
   Movimento reduzido e impressão
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rise { opacity: 1; transform: none; }
  .hero__shot { opacity: 1; animation: none; transform: scale(1.04); }
  .hero__sweep { display: none; }
  .hero__stage, .hero__body { transform: none !important; }
}

@media print {
  .nav, .wfloat, .hero__sweep, .grain { display: none; }
  body { background: #fff; color: #000; }
}
