@charset "UTF-8";
/* ==========================================================================
   MEDICI HUMANITATIS — Folha de estilo principal
   Concierge médico diplomático · Brasília, DF
   Construída do zero. Sem frameworks, sem dependências externas.
   --------------------------------------------------------------------------
   Sumário
   00 · Fontes                 10 · Cena 1 — Abertura
   01 · Tokens                 11 · Cena 2 — O Conceito
   02 · Reinício e base        12 · Cena 3 — A Estética
   03 · Tipografia             13 · Cena 4 — Honorários
   04 · Primitivas de layout   14 · Cena 5 — Diagnósticos
   05 · Cabeçalho              15 · Cena 6 — Corpo Diplomático
   06 · Botões                 16 · Cena 7 — Direção Médica
   07 · Cursor                 17 · Cena 8 — Protocolo
   08 · Abertura animada       18 · Cena 9 — Chamada final
   09 · Revelações             19 · Rodapé
                               20 · Diálogo e formulário
                               21 · Canal direto
                               22 · Responsivo
                               23 · Movimento reduzido e impressão
   ========================================================================== */

/* ==========================================================================
   00 · FONTES  (hospedadas localmente — nenhuma requisição a terceiros)
   ========================================================================== */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-italic-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;
}
@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jakarta-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: 'Jakarta';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jakarta-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;
}

/* ==========================================================================
   01 · TOKENS
   ========================================================================== */
:root {
  /* Paleta oficial da marca */
  --ink:          #0C1628;   /* Azul Ardósia Diplomático */
  --ink-deep:     #070E1B;
  --ink-soft:     #24344E;   /* Azul Noturno Suave */
  --gold:         #B89358;   /* Ouro Champanhe Acetinado */
  --gold-light:   #C5A880;
  --gold-pale:    #E8D7BE;
  --gold-deep:    #8E6E3E;
  --alabaster:    #FAF8F5;   /* Alabastro Quente */
  --linen:        #F1EAE1;
  --chancery:     #64748B;   /* Cinza Chancelaria */
  --alert:        #C0392B;

  /* Tinta e superfície do trecho em curso (redefinidos por cena) */
  --surface:      var(--alabaster);
  --surface-alt:  var(--linen);
  --text:         var(--ink);
  --text-muted:   #55617A;
  --text-faint:   #6F7A91;
  --hairline:     rgba(12, 22, 40, 0.14);
  --hairline-soft:rgba(12, 22, 40, 0.07);

  /* Tipografia */
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Jakarta', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --t-display: clamp(2.9rem, 1.15rem + 6.4vw, 7.4rem);
  --t-h2:      clamp(2.3rem, 1.1rem + 4.3vw, 5.1rem);
  --t-h3:      clamp(1.45rem, 1.05rem + 1.45vw, 2.25rem);
  --t-h4:      clamp(1.08rem, 0.95rem + 0.5vw, 1.35rem);
  --t-lead:    clamp(1.02rem, 0.93rem + 0.38vw, 1.28rem);
  --t-body:    clamp(0.94rem, 0.89rem + 0.2vw, 1.03rem);
  --t-small:   0.845rem;
  --t-eyebrow: 0.688rem;

  /* Ritmo espacial */
  --gutter:    clamp(1.25rem, 0.6rem + 2.6vw, 3.75rem);
  --shell:     min(1520px, 100% - (var(--gutter) * 2));
  --measure:   62ch;
  --scene-y:   clamp(5.5rem, 3rem + 9vw, 12.5rem);
  --bridge:    clamp(4rem, 2rem + 7vw, 9rem);

  /* Movimento */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0.9, 0.25, 1);
  --dur:       0.62s;
  --dur-slow:  1.05s;

  /* Altura da barra fixa superior, lida pelo JavaScript */
  --chrome-h: 104px;
}

/* Cenas claras e escuras ------------------------------------------------- */
.stage--light {
  --surface: var(--alabaster);
  --surface-alt: var(--linen);
  --text: var(--ink);
  --text-muted: #55617A;
  --text-faint: #6F7A91;
  --hairline: rgba(12, 22, 40, 0.14);
  --hairline-soft: rgba(12, 22, 40, 0.07);
}
.stage--linen { --surface: var(--linen); --surface-alt: var(--alabaster); }
.stage--dark {
  --surface: var(--ink);
  --surface-alt: var(--ink-deep);
  --text: #F3F0EB;
  --text-muted: #A4AEC1;
  --text-faint: #8D97AB;
  --hairline: rgba(197, 168, 128, 0.22);
  --hairline-soft: rgba(197, 168, 128, 0.11);
}
.stage--deep {
  --surface: var(--ink-deep);
  --surface-alt: var(--ink);
  --text: #F3F0EB;
  --text-muted: #A4AEC1;
  --text-faint: #8D97AB;
  --hairline: rgba(197, 168, 128, 0.22);
  --hairline-soft: rgba(197, 168, 128, 0.11);
}

/* ==========================================================================
   02 · REINÍCIO E BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--chrome-h) + 1.5rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.004em;
  color: var(--text);
  background-color: var(--ink);
  overflow-x: hidden;
  min-height: 100svh;
}
body.is-locked { overflow: hidden; }

img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; background-color: color-mix(in srgb, var(--ink) 92%, var(--gold)); }
ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
button { cursor: pointer; }

::selection { background: var(--gold); color: var(--ink-deep); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: var(--ink-deep);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.28s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   03 · TIPOGRAFIA
   ========================================================================== */
.display,
.scene__title,
.t-serif { font-family: var(--serif); font-weight: 400; }

.display {
  font-size: var(--t-display);
  line-height: 0.96;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.display em,
.scene__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

.scene__title {
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h3, .t-h3 {
  font-family: var(--serif);
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
h4, .t-h4 {
  font-family: var(--sans);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.005em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.58;
  color: var(--text-muted);
  max-width: var(--measure);
  text-wrap: pretty;
}

p { text-wrap: pretty; }

.eyebrow {
  display: block;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-small { font-size: var(--t-small); line-height: 1.6; }
.t-muted { color: var(--text-muted); }
.t-faint { color: var(--text-faint); }

/* Numeral tabular para preços e índices */
.tnum { font-variant-numeric: tabular-nums lining-nums; }

/* ==========================================================================
   04 · PRIMITIVAS DE LAYOUT
   ========================================================================== */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.scene {
  position: relative;
  background-color: var(--surface);
  color: var(--text);
  padding-block: var(--scene-y);
  isolation: isolate;
}

/* Transição orgânica entre cenas: o degradê dissolve a linha de corte */
.scene[data-bridge]::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: var(--bridge);
  background: linear-gradient(to bottom, var(--bridge-from), transparent);
  pointer-events: none;
  z-index: -1;
}
.scene[data-bridge='from-dark']  { --bridge-from: var(--ink); }
.scene[data-bridge='from-deep']  { --bridge-from: var(--ink-deep); }
.scene[data-bridge='from-light'] { --bridge-from: var(--alabaster); }
.scene[data-bridge='from-linen'] { --bridge-from: var(--linen); }

/* Cabeçalho de cena: índice romano, título, texto de apoio */
.scene__head { margin-bottom: clamp(2.75rem, 1.5rem + 3.6vw, 5.5rem); }
.scene__head .eyebrow { margin-bottom: clamp(1rem, 0.7rem + 1vw, 1.75rem); }
.scene__head .lead { margin-top: clamp(1.25rem, 0.9rem + 1.2vw, 2rem); }

.scene__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2.4vw, 3.5rem);
}
@media (min-width: 62rem) {
  .scene__head--split { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: end; }
  .scene__head--split .lead { margin-top: 0; padding-bottom: 0.4rem; }
}

/* Fio de cabelo com esmaecimento nas pontas */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(to right, transparent, var(--hairline) 12%, var(--hairline) 88%, transparent);
}
.rule--tight { background: var(--hairline); }

/* O elemento <picture> precisa herdar a caixa do quadro, senão a imagem
   não preenche a proporção definida e sobra fundo vazio embaixo. */
.hero__media > picture,
.gallery__frame > picture,
.diplomatic__frame > picture,
.authority__frame > picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Transição orgânica entre cenas
   Duas curvas sobrepostas em profundidades diferentes, tracejadas por um fio
   de ouro. A cena que chega invade a anterior: não há linha de corte nem
   degradê chapado.
   -------------------------------------------------------------------------- */
.morph {
  --morph-h: clamp(90px, 11.5vw, 190px);
  position: absolute;
  inset-inline: 0;
  top: calc(-1 * var(--morph-h) + 1px);
  height: var(--morph-h);
  /* Recorta tudo na altura do relevo: a camada de trás pode andar na
     rolagem sem nunca deixar aparecer a própria borda de baixo. */
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.morph__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.morph__layer--back {
  top: 0;
  height: calc(100% + 60px);
  opacity: 0.55;
  will-change: transform;
}
/* Um toque de ouro na camada de trás: sobre o azul ela virava um cinza
   chumbo, frio demais para a paleta. */
.morph__layer--back path { fill: color-mix(in srgb, var(--surface-alt) 84%, var(--gold) 16%); }
.morph__fill { fill: var(--surface); }
.morph__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  opacity: 0.72;
}

.scene > .shell { position: relative; z-index: 1; }

/* Malha vertical decorativa usada sobre imagens de fundo */
.warp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--hairline-soft) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: 0.75;
  z-index: 1;
}

/* ==========================================================================
   05 · CABEÇALHO FIXO
   A barra de credenciais e a barra de navegação vivem dentro de um único
   contêiner fixo. Nada se sobrepõe: a altura total é medida e devolvida ao
   documento na variável --chrome-h.
   ========================================================================== */
.chrome {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  color: #F3F0EB;
  transition: background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
              box-shadow 0.5s var(--ease), color 0.45s var(--ease);
}
.chrome::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: rgba(197, 168, 128, 0.16);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.chrome.is-solid {
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}
.chrome.is-solid::after { opacity: 1; }

/* Sobre cenas claras o cabeçalho inverte a tinta */
.chrome.is-onlight { color: var(--ink); }
.chrome.is-onlight.is-solid {
  background: color-mix(in srgb, #FAF8F5 88%, transparent);
}
.chrome.is-onlight.is-solid::after { background: rgba(12, 22, 40, 0.12); }

/* Véu de legibilidade sobre a imagem de abertura */
.chrome:not(.is-solid)::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 190%;
  background: linear-gradient(to bottom, rgba(7, 14, 27, 0.72), transparent);
  pointer-events: none;
  z-index: -1;
}
.chrome.is-onlight:not(.is-solid)::before {
  background: linear-gradient(to bottom, rgba(250, 248, 245, 0.85), transparent);
}

/* Barra de credenciais ---------------------------------------------------- */
.credentials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: var(--shell);
  margin-inline: auto;
  height: 34px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.82;
  transition: height 0.5s var(--ease), opacity 0.4s var(--ease);
}
.chrome.is-solid .credentials { height: 0; opacity: 0; }

.credentials__set { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.credentials__set:last-child { flex: none; }
.credentials__item { overflow: hidden; text-overflow: ellipsis; }

.lang {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  flex: none;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.185em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lang__label {
  display: none;
  margin-right: 0.45rem;
  opacity: 0.52;
}
@media (min-width: 48rem) { .lang__label { display: inline; } }
.lang--drawer .lang__label { display: inline; }
.masthead .lang { display: none; }
@media (min-width: 34rem) { .masthead .lang { display: flex; } }
.lang--drawer {
  display: flex;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 168, 128, 0.16);
  width: 100%;
  font-size: 0.72rem;
  color: #F3F0EB;
}
.lang--drawer .lang__btn { padding: 0.35rem 0.55rem; }
.lang__btn {
  padding: 0.2rem 0.4rem;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: inherit;
  opacity: 0.5;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.lang__btn:hover { opacity: 0.85; }
.lang__btn[aria-pressed='true'] { opacity: 1; color: var(--gold-light); }
.chrome.is-onlight .lang__btn[aria-pressed='true'] { color: var(--gold-deep); }
.lang__sep { opacity: 0.3; }

/* Barra de navegação ------------------------------------------------------ */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.6vw, 2rem);
  width: var(--shell);
  margin-inline: auto;
  height: 70px;
  transition: height 0.5s var(--ease);
}
.chrome.is-solid .masthead { height: 62px; }

.brand { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.brand__mark { flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
/* O logotipo nunca é truncado: encolhe para caber, inteiro, em qualquer tela */
.brand__name {
  font-family: var(--serif);
  font-size: clamp(0.72rem, 0.55rem + 0.75vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__mark { width: clamp(28px, 2.4vw, 34px); height: clamp(28px, 2.4vw, 34px); }

.nav { display: none; }
@media (min-width: 82rem) {
  .nav { display: block; margin-inline: auto; min-width: 0; }
  .nav__list { display: flex; align-items: center; gap: clamp(0.7rem, 1vw, 1.15rem); }
}
.nav__link {
  position: relative;
  display: block;
  padding-block: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 0.28s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.1rem;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s var(--ease);
}
.nav__link:hover, .nav__link[aria-current='true'] { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current='true']::after { transform: scaleX(1); transform-origin: left; }

.masthead__actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.btn.masthead__cta { display: none; padding: 0.85rem 1.5rem; font-size: 0.68rem; }
@media (min-width: 105rem) { .btn.masthead__cta { display: inline-flex; } }

/* Botão do menu em telas estreitas */
.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-right: 0;
}
@media (min-width: 82rem) { .burger { display: none; } }
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s 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); }

/* Painel de navegação em telas estreitas */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  align-content: center;
  padding: calc(var(--chrome-h) + 2rem) var(--gutter) 3rem;
  background: var(--ink-deep);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.drawer.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
@media (min-width: 82rem) { .drawer { display: none; } }

.drawer__list { display: grid; gap: 0.35rem; }
.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1rem + 3vw, 2.6rem);
  line-height: 1.1;
  color: #F3F0EB;
  border-bottom: 1px solid rgba(197, 168, 128, 0.14);
  opacity: 0;
  transform: translateY(14px);
}
.drawer.is-open .drawer__link {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease) calc(0.08s + var(--i, 0) * 0.045s),
              transform 0.5s var(--ease) calc(0.08s + var(--i, 0) * 0.045s);
}
.drawer__link i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.drawer__foot { margin-top: 2.5rem; display: grid; gap: 1rem; justify-items: start; }

/* No celular o cabeçalho não flutua sobre a fotografia: fundo azul sólido,
   brasão maior e tinta sempre clara. A marca precisa de contraste. */
@media (max-width: 47.999rem) {
  .chrome,
  .chrome.is-onlight,
  .chrome.is-solid,
  .chrome.is-onlight.is-solid {
    background: var(--ink);
    color: #F3F0EB;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .chrome::before,
  .chrome.is-onlight::before { display: none; }
  .chrome::after,
  .chrome.is-onlight::after { opacity: 1; background: rgba(197, 168, 128, 0.2); }
  .chrome.is-onlight .lang__btn[aria-pressed='true'] { color: var(--gold-light); }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 0.8rem; letter-spacing: 0.17em; }
  .masthead { height: 62px; }
}

/* ==========================================================================
   06 · BOTÕES
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 1.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.185em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
              background-color 0.4s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: scaleY(1); }

.btn--solid {
  background: var(--gold);
  color: var(--ink-deep);
  border-color: var(--gold);
}
.btn--solid::before { background: var(--gold-pale); }
.btn--solid:hover { color: var(--ink-deep); }

.btn--line {
  color: currentColor;
  border-color: color-mix(in srgb, currentColor 34%, transparent);
}
.btn--line::before { background: var(--gold); transform-origin: bottom; }
.btn--line:hover { color: var(--ink-deep); border-color: var(--gold); }

.btn--ghost {
  padding-inline: 0;
  border: 0;
  color: currentColor;
}
.btn--ghost::before {
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn--ghost:hover::before { transform: scaleX(0); }
.btn--ghost::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: color-mix(in srgb, currentColor 30%, transparent);
}
.btn--lg { padding: 1.25rem 2.6rem; font-size: 0.76rem; }
.btn--block { display: flex; width: 100%; }

/* Seta que avança no hover */
.btn__arrow { transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   07 · CURSOR PERSONALIZADO  (apenas em ponteiro fino)
   ========================================================================== */
.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cursor {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--gold);
}
.cursor-ring {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(184, 147, 88, 0.55);
  transition: opacity 0.3s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease),
              margin 0.4s var(--ease), background-color 0.4s var(--ease),
              border-color 0.4s var(--ease), mix-blend-mode 0s;
}
body.has-cursor .cursor,
body.has-cursor .cursor-ring { opacity: 1; }

.cursor-ring.is-link {
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  border-color: rgba(184, 147, 88, 0.9);
  background: rgba(184, 147, 88, 0.1);
}
.cursor-ring.is-media {
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  background: var(--gold-pale);
  border-color: transparent;
  mix-blend-mode: difference;
}
body.has-cursor.is-media-hover .cursor { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ==========================================================================
   08 · ABERTURA ANIMADA
   ========================================================================== */
.overture {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2.25rem;
  background: var(--ink-deep);
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.overture.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
/* Rede de segurança: se o JavaScript não rodar, a abertura sai sozinha */
.overture { animation: overtureOut 0.7s var(--ease) 3.2s forwards; }
@keyframes overtureOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.overture__crest { width: clamp(78px, 13vw, 116px); height: auto; }
.overture__crest path, .overture__crest circle {
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
  animation: draw 1.5s var(--ease) forwards;
}
.overture__crest circle { animation-duration: 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.overture__word {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.overture__bar {
  width: clamp(120px, 18vw, 200px);
  height: 1px;
  background: rgba(197, 168, 128, 0.22);
  overflow: hidden;
}
.overture__bar i {
  display: block;
  width: 100%; height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

/* ==========================================================================
   09 · REVELAÇÕES POR ROLAGEM
   ========================================================================== */
/* Palavra mascarada: cada palavra sobe de dentro de uma fenda */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.word > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease) var(--d, 0s);
}
.is-revealed .word > i { transform: translateY(0); }

/* Blocos que sobem e aparecem */
[data-rise] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease) var(--d, 0s),
              transform 0.85s var(--ease) var(--d, 0s);
}
[data-rise].is-revealed { opacity: 1; transform: none; }

/* Fios que se desenham */
[data-draw] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) var(--d, 0s);
}
[data-draw].is-revealed { transform: scaleX(1); }

/* Imagem que se revela por máscara e distende o zoom */
[data-unveil] { overflow: hidden; }
[data-unveil] > img,
[data-unveil] > picture > img {
  transform: scale(1.14);
  transition: transform 1.5s var(--ease), filter 1.5s var(--ease);
  filter: saturate(0.82) brightness(0.96);
}
[data-unveil].is-revealed > img,
[data-unveil].is-revealed > picture > img {
  transform: scale(1);
  filter: none;
}
[data-unveil]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  transform-origin: bottom;
  transition: transform 1.15s var(--ease);
  z-index: 2;
}
[data-unveil].is-revealed::after { transform: scaleY(0); }

/* Números que contam o passo a passo */
.index {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4.4rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-stroke: 1px var(--gold);
}

/* ==========================================================================
   10 · CENA 1 — ABERTURA
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--chrome-h) + clamp(2rem, 6vw, 5rem)) clamp(2rem, 4vw, 4rem);
  background: #150F0A;
  color: #F3F0EB;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -8% 0 -12%;
  z-index: -3;
  will-change: transform;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 42%; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Véu quente: âmbar sobre a luz da janela, castanho profundo sob o texto.
     O azul ardósia só reaparece no rodapé da cena, para emendar com a seguinte. */
  /* A camada de emenda vem primeiro para ficar por cima das quentes:
     o pé da cena precisa chegar ao azul ardósia sem linha de corte. */
  background:
    linear-gradient(to bottom, rgba(22, 15, 10, 0.5) 0%, transparent 26%, rgba(16, 17, 24, 0.55) 74%, rgba(9, 15, 27, 0.92) 92%, var(--ink-deep) 100%),
    radial-gradient(125% 85% at 74% 24%, rgba(222, 170, 98, 0.26) 0%, rgba(190, 142, 82, 0.1) 36%, transparent 64%),
    linear-gradient(100deg, rgba(26, 18, 12, 0.95) 0%, rgba(30, 21, 14, 0.89) 28%, rgba(34, 25, 17, 0.6) 50%, rgba(38, 28, 19, 0.16) 74%, rgba(26, 19, 13, 0.52) 100%);
}
.hero .warp { z-index: -1; --hairline-soft: rgba(243, 240, 235, 0.055); }

.hero__inner { width: var(--shell); margin-inline: auto; position: relative; z-index: 2; }
@media (min-width: 62rem) { .hero__inner { padding-bottom: 3.25rem; } }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }
  .hero__content { grid-column: 1 / span 7; }
  .hero__aside   { grid-column: 9 / span 4; }
}

/* Selo da marca: o brasão se desenha traço a traço quando a cena abre */
.hero__seal {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
}
.hero__seal::before {
  content: '';
  position: absolute;
  left: clamp(26px, 2.7vw, 37px);
  top: 50%;
  width: clamp(120px, 13vw, 180px);
  height: clamp(120px, 13vw, 180px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 158, 92, 0.3) 0%, transparent 68%);
  animation: halo 7s ease-in-out 2s infinite;
  pointer-events: none;
}
@keyframes halo {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.92); }
  50%      { opacity: 0.8;  transform: translate(-50%, -50%) scale(1.06); }
}
.seal {
  position: relative;
  width: clamp(52px, 5.4vw, 74px);
  height: auto;
  flex: none;
}
.seal path,
.seal circle {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 1.5s var(--ease) 0.45s forwards;
}
.seal circle { animation-duration: 1.9s; }
.hero__sealword {
  font-family: var(--serif);
  font-size: clamp(0.66rem, 0.55rem + 0.28vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  color: var(--gold-pale);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.25s forwards;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero__badge::before {
  content: '';
  width: clamp(28px, 4vw, 54px);
  height: 1px;
  background: var(--gold);
  flex: none;
}

.hero__title { margin-bottom: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); max-width: 16ch; }
.hero__lead { max-width: 52ch; color: #DCD2C6; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

/* Assinatura da médica titular */
.hero__signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);
  padding-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-top: 1px solid rgba(213, 176, 118, 0.3);
  max-width: 34rem;
}
.hero__signature svg { width: 40px; height: 40px; flex: none; }
.hero__signature strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero__signature span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #BCB1A2;
  margin-top: 0.3rem;
}

/* Brasão monumental cortado pela borda da tela */
.hero__crest {
  position: absolute;
  top: 50%;
  right: clamp(-12rem, -14vw, -4rem);
  width: clamp(26rem, 42vw, 46rem);
  transform: translateY(-52%);
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
@media (max-width: 61.999rem) { .hero__crest { opacity: 0.06; right: -30%; } }

/* Cartão de resposta rápida */
.hero__card {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: rgba(30, 22, 15, 0.7);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(197, 168, 128, 0.28);
}
.hero__card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 34px; height: 34px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero__card h2 {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.16;
  margin-bottom: 0.75rem;
  color: var(--gold-pale);
}
.hero__card p { font-size: 0.88rem; line-height: 1.62; color: #CFC5B8; }

/* Convite à rolagem */
.hero__scroll {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #8C95A8;
}
@media (min-width: 62rem) { .hero__scroll { display: flex; } }
.hero__scroll i {
  display: block;
  width: 58px; height: 1px;
  background: rgba(197, 168, 128, 0.3);
  overflow: hidden;
  position: relative;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: sweep 2.6s var(--ease) infinite;
}
@keyframes sweep {
  0%   { transform: scaleX(0); transform-origin: left; }
  45%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ==========================================================================
   11 · CENA 2 — O CONCEITO
   ========================================================================== */
.concept__grid {
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
}
@media (min-width: 62rem) {
  .concept__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .concept__before { grid-column: 1 / span 5; padding-top: clamp(3rem, 6vw, 6rem); }
  .concept__after  { grid-column: 7 / span 6; }
}

.concept__label {
  display: block;
  margin-bottom: 1.75rem;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.concept__before h3 {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.concept__list { display: grid; gap: 1.1rem; }
.concept__list li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.concept__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.concept__list svg { width: 1rem; height: 1rem; margin-top: 0.34em; flex: none; }
.concept__before svg { color: var(--text-faint); opacity: 0.7; }

/* Painel elevado do serviço */
.concept__after {
  position: relative;
  padding: clamp(2rem, 1.2rem + 3.2vw, 3.75rem);
  background: var(--alabaster);
  color: var(--ink);
  overflow: hidden;
}
.concept__after::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-pale) 60%, transparent);
}
.concept__after .concept__label { color: var(--gold-deep); }
.concept__after h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.concept__after .concept__list li { color: #3C4761; border-bottom-color: rgba(12, 22, 40, 0.08); }
.concept__after svg { color: var(--gold-deep); }
.concept__crest {
  position: absolute;
  right: -4rem; bottom: -5rem;
  width: 20rem;
  opacity: 0.05;
  pointer-events: none;
}
@media (min-width: 62rem) { .concept__after { margin-top: -4rem; } }

/* ==========================================================================
   12 · CENA 3 — A ESTÉTICA DO CUIDADO (faixa de transição)
   As três fotografias atravessam a curva: nascem sobre o azul e terminam
   sobre o alabastro. Cada uma anda a uma velocidade diferente na rolagem.
   ========================================================================== */
.band { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(4rem, 2.5rem + 6vw, 8rem); }

.band__grid { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
@media (min-width: 62rem) {
  .band__grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    align-items: start;
    gap: clamp(2rem, 3vw, 4rem);
  }
  .band__head { padding-top: clamp(3rem, 7vw, 7rem); }
  .band__strip { margin-top: clamp(-11rem, -10vw, -5rem); }
}
.band__head .scene__title { margin-block: clamp(0.85rem, 1.4vw, 1.4rem); }
.band__head .lead { font-size: var(--t-body); }

.band__strip {
  position: relative;
  aspect-ratio: 1 / 1;
}
@media (min-width: 62rem) { .band__strip { aspect-ratio: 5 / 4; } }

.band__plate { position: absolute; will-change: transform; }
.band__plate--1 { left: 0;   top: 8%;  width: 44%; z-index: 1; }
.band__plate--2 { left: 33%; top: 0;   width: 36%; z-index: 3; }
.band__plate--3 { left: 50%; top: 44%; width: 50%; z-index: 2; }

.band__frame {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: 0 34px 64px -34px rgba(7, 14, 27, 0.68);
}
.band__plate--1 .band__frame { aspect-ratio: 3 / 4; }
.band__plate--2 .band__frame { aspect-ratio: 4 / 5; }
.band__plate--3 .band__frame { aspect-ratio: 16 / 10; }
.band__frame > picture { display: block; width: 100%; height: 100%; }
.band__frame img { width: 100%; height: 100%; object-fit: cover; }

.band__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.5rem 0.75rem;
  background: var(--ink-deep);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  line-height: 1;
  z-index: 4;
}

.band__notes {
  display: grid;
  gap: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  padding-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 52rem) { .band__notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.band__notes li { display: grid; gap: 0.45rem; }
.band__notes .tnum {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}
.band__notes h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); }
.band__notes p { font-size: 0.88rem; line-height: 1.62; color: var(--text-muted); }

/* ==========================================================================
   13 · CENA 4 — HONORÁRIOS
   ========================================================================== */
.tiers {
  display: grid;
  gap: clamp(1.25rem, 0.7rem + 2vw, 2rem);
}
@media (min-width: 46rem) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 84rem) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }


/* Consulta agendada e urgência são o mesmo atendimento: muda só o prazo.
   Nenhuma das quatro modalidades recebe tratamento preferencial. */
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 1.05rem + 1.9vw, 2.4rem);
  background: var(--surface-alt);
  border: 1px solid var(--hairline-soft);
  transition: border-color 0.5s var(--ease);
}
.tier::before {
  content: '';
  position: absolute;
  inset-inline: -1px;
  top: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.tier:hover { border-color: var(--hairline); }
.tier:hover::before { transform: scaleX(1); }

.tier__name { margin-bottom: 0.6rem; font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.6rem); }
.tier__when {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
}
.tier__desc { font-size: 0.88rem; line-height: 1.62; color: var(--text-muted); }

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: clamp(1.35rem, 1rem + 1.1vw, 1.85rem) 0 0.3rem;
  font-family: var(--serif);
}
.tier__cur { font-size: 1rem; font-weight: 500; color: var(--gold); transform: translateY(-0.9em); }
.tier__val { font-size: clamp(2.6rem, 1.9rem + 2.2vw, 3.6rem); font-weight: 400; line-height: 0.9; letter-spacing: -0.03em; }
.tier__code { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; color: var(--text-faint); }

/* Missões e retainer não têm tabela: são cotados caso a caso */
.tier__quote {
  margin: clamp(1.35rem, 1rem + 1.1vw, 1.85rem) 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold-light);
}
.tier--institutional .tier__quote { color: var(--gold-pale); }

.tier__brl { font-size: 0.79rem; line-height: 1.55; color: var(--text-muted); margin-bottom: 1.35rem; }

.tier__features { display: grid; margin-bottom: 1.85rem; }
.tier__features li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.tier__features svg { width: 0.8rem; height: 0.8rem; margin-top: 0.4em; color: var(--gold); }
.tier__action { margin-top: auto; }
/* Nome, prazo, descrição, preço, nota, itens e botão: sete faixas.
   A grade-filha trava as quatro colunas na mesma linha de base — o preço
   de um cartão nunca fica mais alto que o do vizinho. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 46rem) {
    .tier {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 7;
      align-content: start;
    }
    .tier__action { margin-top: 0; align-self: end; }
  }
}

/* Em quatro colunas o cartão fica estreito: o rótulo do botão quebra
   em duas linhas em vez de transbordar. */
.tier__action .btn {
  white-space: normal;
  line-height: 1.35;
  padding-inline: 1rem;
  text-wrap: balance;
}
@media (min-width: 84rem) {
  .tier { padding: clamp(1.4rem, 0.9rem + 1.1vw, 1.9rem); }
  .tier__name { font-size: clamp(1.15rem, 0.95rem + 0.5vw, 1.38rem); }
  .tier__val { font-size: clamp(2.4rem, 1.7rem + 1.5vw, 3.1rem); }
  .tier__quote { font-size: clamp(1.5rem, 1.15rem + 0.7vw, 1.85rem); }
  .tier__features li { font-size: 0.8rem; padding-block: 0.65rem; }
  .tier__action .btn { font-size: 0.64rem; letter-spacing: 0.14em; padding-block: 0.95rem; }
}

/* O plano institucional é de outra natureza — campo escuro, brasão discreto */
.tier--institutional {
  background: var(--ink-deep);
  color: #F3F0EB;
  border-color: rgba(197, 168, 128, 0.22);
  overflow: hidden;
}
.tier--institutional .tier__desc,
.tier--institutional .tier__brl,
.tier--institutional .tier__features li { color: #A9B2C4; }
.tier--institutional .tier__features li { border-bottom-color: rgba(197, 168, 128, 0.16); }
.tier--institutional .btn--line { border-color: rgba(197, 168, 128, 0.4); }
.tier__crest {
  position: absolute;
  top: -1.75rem;
  right: -1.75rem;
  width: 9.5rem;
  opacity: 0.16;
  pointer-events: none;
}

/* Aviso de emergência dentro da seção de honorários */
.honorarios__alarm { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.honorarios__alarm .alarm { max-width: 62rem; margin-inline: auto; }

/* ==========================================================================
   14 · CENA 5 — ESTRUTURA DIAGNÓSTICA MÓVEL
   ========================================================================== */
.finder {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
}
@media (min-width: 62rem) {
  .finder { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); align-items: center; gap: 2rem; }
}

.finder__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* No celular os seis filtros empilhados comiam meia tela.
   Viram uma fita que desliza com o dedo. */
@media (max-width: 45.999rem) {
  .finder__pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
  }
  .finder__pills::-webkit-scrollbar { display: none; }
  .pill { scroll-snap-align: start; }
}
.pill {
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--hairline);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.pill:hover { color: var(--text); border-color: var(--gold); }
.pill[aria-pressed='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
}

.finder__search { position: relative; }
.finder__search svg {
  position: absolute;
  left: 0; top: 50%;
  width: 15px; height: 15px;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}
.finder__search input {
  width: 100%;
  padding: 0.85rem 0 0.85rem 1.6rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.86rem;
  color: var(--text);
  transition: border-color 0.35s var(--ease);
}
.finder__search input::placeholder { color: var(--text-faint); }
.finder__search input:focus { outline: none; border-bottom-color: var(--gold); }
.finder__search input:focus-visible { outline: none; }

/* No máximo seis por vez. O restante vem pelo avanço lateral, deslizando
   com o dedo, com a roda do mouse na horizontal ou pelas setas. */
.exams { position: relative; }
.exams__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.exams__viewport::-webkit-scrollbar { display: none; }
.exams__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.exams__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
}
/* Os fios da grade nascem nos próprios cartões, não de um fundo atrás deles.
   Assim, quando a última fileira fica incompleta, o lugar vago some no fundo
   da cena em vez de virar um quadrado cinza. */
.exams__page {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline-soft);
  border-left: 1px solid var(--hairline-soft);
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.exams__page > .exam,
.exams__page > .exams__empty {
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
@media (min-width: 46rem) { .exams__page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .exams__page { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.exams__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
.exams__tally { font-size: var(--t-small); color: var(--text-faint); }
.exams__nav { display: flex; align-items: center; gap: 0.85rem; flex: none; }
.exams__counter {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 3.5rem;
  text-align: center;
}
.exams__arrow {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  color: var(--text);
  border-radius: 50%;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.exams__arrow svg { width: 17px; height: 17px; }
.exams__arrow:hover:not(:disabled) { border-color: var(--gold); background: var(--gold); color: var(--ink-deep); }
.exams__arrow:disabled { opacity: 0.28; cursor: not-allowed; }

/* Versão estática, servida a quem navega sem JavaScript */
.exams--static {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline-soft);
  border-left: 1px solid var(--hairline-soft);
}
.exams--static > .exam {
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
@media (min-width: 46rem) { .exams--static { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .exams--static { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.exam {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  background: var(--surface);
  transition: background-color 0.45s var(--ease);
  animation: examIn 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 38ms);
}
@keyframes examIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.exam::after {
  content: '';
  position: absolute;
  inset-inline: 0; top: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.exam:hover { background: var(--surface-alt); }
.exam:hover::after { transform: scaleX(1); }

.exam__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.exam__cat {
  padding: 0.35rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.exam__when { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-faint); text-align: right; }
.exam__title { margin-bottom: 0.75rem; font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem); }
.exam__desc { font-size: 0.86rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.25rem; }
.exam__points { display: grid; gap: 0.5rem; margin-bottom: 1.75rem; }
.exam__points li {
  display: grid;
  grid-template-columns: 0.8rem 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.exam__points svg { width: 0.7rem; height: 0.7rem; margin-top: 0.45em; color: var(--gold); }
.exam__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline-soft);
}
.exam__note { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); }
.exam__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.exam__cta svg { width: 0.85rem; height: 0.85rem; transition: transform 0.4s var(--ease); }
.exam__cta:hover svg { transform: translateX(4px); }

.exams__empty {
  grid-column: 1 / -1;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--surface);
  text-align: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text-muted);
}

/* ==========================================================================
   15 · CENA 6 — CORPO DIPLOMÁTICO
   ========================================================================== */
.diplomatic__grid { display: grid; gap: clamp(2.5rem, 1.2rem + 4.6vw, 5rem); }
@media (min-width: 62rem) {
  .diplomatic__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: start; }
}
.diplomatic__media { position: relative; }
@media (min-width: 62rem) {
  .diplomatic__media { position: sticky; top: calc(var(--chrome-h) + 3rem); }
}
.diplomatic__frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.diplomatic__frame img { width: 100%; height: 100%; object-fit: cover; }
.diplomatic__stamp {
  position: absolute;
  left: 0; bottom: 0;
  padding: 1.1rem 1.4rem;
  background: var(--ink-deep);
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
}

.features { display: grid; margin-top: clamp(2rem, 1.2rem + 2.4vw, 3rem); }
.features > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding-block: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border-top: 1px solid var(--hairline);
}
.features > li:last-child { border-bottom: 1px solid var(--hairline); }
.features__no {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 0.35em;
}
.features h3 { font-size: clamp(1.2rem, 1.05rem + 0.65vw, 1.55rem); }
.features p { font-size: 0.93rem; line-height: 1.66; color: var(--text-muted); max-width: 58ch; }

.insurers { margin-top: clamp(2rem, 1.2rem + 2.4vw, 3rem); }
.insurers__label {
  display: block;
  margin-bottom: 1rem;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.insurers__set { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.insurers__set .chip { color: var(--text-muted); border-color: var(--hairline); }

/* ==========================================================================
   16 · CENA 7 — DIREÇÃO MÉDICA
   ========================================================================== */
.authority__grid { display: grid; gap: clamp(2.5rem, 1.2rem + 4.6vw, 5rem); }
@media (min-width: 62rem) {
  .authority__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}
.authority__media { position: relative; }
.authority__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.authority__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Placa de credenciais — bloco exigido pela Resolução CFM 2.336/2023 */
.plate {
  position: relative;
  z-index: 3;
  margin: -3.5rem 0 0 clamp(0rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.85rem);
  background: var(--ink-deep);
  border: 1px solid rgba(197, 168, 128, 0.32);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}
.plate svg { width: 42px; height: 42px; flex: none; }
.plate strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-pale);
  line-height: 1.2;
}
.plate span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.6;
  color: #9FA9BD;
}

.timeline { display: grid; margin-top: clamp(2rem, 1.2rem + 2.4vw, 3rem); }
.timeline > li {
  position: relative;
  padding: 0 0 clamp(1.75rem, 1rem + 2vw, 2.5rem) clamp(1.75rem, 1rem + 2vw, 2.5rem);
  border-left: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
}
.timeline > li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline > li::before {
  content: '';
  position: absolute;
  left: -4px; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline > li:last-child::after {
  content: '';
  position: absolute;
  left: -1px; top: 0.55em;
  width: 1px; height: 0;
  background: var(--hairline);
}
.timeline h4 { margin-bottom: 0.6rem; color: var(--gold-light); font-family: var(--serif); font-size: var(--t-h3); font-weight: 500; }
.timeline p { font-size: 0.93rem; line-height: 1.66; color: var(--text-muted); max-width: 60ch; }

.fasttrack {
  position: relative;
  margin-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  border: 1px solid rgba(197, 168, 128, 0.28);
  background: color-mix(in srgb, var(--gold) 5%, transparent);
}
.fasttrack h4 { color: var(--gold-pale); margin-bottom: 0.75rem; font-family: var(--serif); font-size: var(--t-h3); font-weight: 500; }
.fasttrack p { font-size: 0.93rem; line-height: 1.66; color: var(--text-muted); }

/* ==========================================================================
   17 · CENA 8 — O PROTOCOLO
   ========================================================================== */
.protocol { position: relative; display: grid; gap: clamp(2rem, 1rem + 3vw, 3rem); }
@media (min-width: 46rem) { .protocol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .protocol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 2.4vw, 2.75rem); } }

.step { position: relative; padding-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); }
.step::before {
  content: '';
  position: absolute;
  inset-inline: 0; top: 0;
  height: 1px;
  background: var(--hairline);
}
.step::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2.5rem; height: 1px;
  background: var(--gold);
}
.step .index { display: block; margin-bottom: 1.5rem; }
.step h3 { margin-bottom: 0.85rem; }
.step p { font-size: 0.9rem; line-height: 1.65; color: var(--text-muted); }

/* ==========================================================================
   18 · CENA 9 — CHAMADA FINAL
   ========================================================================== */
.finale {
  position: relative;
  text-align: center;
}
.finale .shell { position: relative; z-index: 1; }
.finale__crest {
  position: absolute;
  z-index: 0;
  left: 50%; top: 50%;
  width: min(92%, clamp(20rem, 46vw, 40rem));
  transform: translate(-50%, -50%);
  opacity: 0.06;
  pointer-events: none;
}
.finale__title {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
}
.finale__note {
  margin-top: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   19 · RODAPÉ
   ========================================================================== */
.footer {
  background: var(--ink-deep);
  color: #C9CEDA;
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(2rem, 1.2rem + 2vw, 3rem);
  --hairline: rgba(197, 168, 128, 0.18);
  --hairline-soft: rgba(197, 168, 128, 0.09);
  --text-faint: #8D97AB;
  --text-muted: #9FA9BD;
}
.footer__grid { display: grid; gap: clamp(2.5rem, 1.2rem + 4vw, 4.5rem); }
@media (min-width: 52rem) { .footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.9fr); } }

.footer__brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem; }
.footer__brand svg { width: 44px; height: 44px; flex: none; }
.footer__brand b {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F3F0EB;
}
.footer__desc { font-size: 0.9rem; line-height: 1.66; color: var(--text-muted); max-width: 44ch; }

/* O aviso aparece em três lugares — rodapé, honorários e pedido de
   atendimento — sobre fundos opostos. As cores vêm de variáveis próprias. */
.alarm {
  --alarm-line: rgba(192, 57, 43, 0.45);
  --alarm-bg: rgba(192, 57, 43, 0.08);
  --alarm-icon: #E4796B;
  --alarm-text: #E6C9C4;
  --alarm-strong: #F1A99E;
  margin-top: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--alarm-line);
  background: var(--alarm-bg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  max-width: 46rem;
}
.stage--light .alarm,
.stage--linen .alarm,
.form .alarm {
  --alarm-line: rgba(160, 44, 32, 0.34);
  --alarm-bg: rgba(192, 57, 43, 0.05);
  --alarm-icon: #A83322;
  --alarm-text: #6E2F26;
  --alarm-strong: #8E2417;
}
.alarm svg { width: 1.1rem; height: 1.1rem; margin-top: 0.15em; color: var(--alarm-icon); flex: none; }
.alarm p { font-size: 0.78rem; line-height: 1.6; color: var(--alarm-text); }
.alarm strong { color: var(--alarm-strong); font-weight: 600; letter-spacing: 0.06em; }

.footer__title {
  display: block;
  margin-bottom: 1.35rem;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__nav { display: grid; gap: 0.65rem; }
.footer__nav a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--gold-light); }

.footer__contact { display: grid; gap: 1.25rem; }
.footer__contact dt {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}
.footer__contact dd a {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #F3F0EB;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  overflow-wrap: anywhere;
}
.footer__contact dd a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.footer__legal {
  margin-top: clamp(3rem, 1.5rem + 4vw, 5rem);
  padding-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border-top: 1px solid var(--hairline-soft);
  display: grid;
  gap: 1rem;
}
@media (min-width: 62rem) { .footer__legal { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2.5rem; } }
.footer__cfm { font-size: 0.72rem; line-height: 1.68; color: var(--text-faint); max-width: 92ch; }
.footer__rights { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
@media (min-width: 62rem) { .footer__rights { white-space: nowrap; } }

/* ==========================================================================
   20 · DIÁLOGO E FORMULÁRIO
   ========================================================================== */
.dialog {
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 0;
  background: var(--alabaster);
  color: var(--ink);
  border: 0;
  overflow: visible;
}
.dialog::backdrop {
  background: rgba(7, 14, 27, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.dialog[open]::backdrop { opacity: 1; }
.dialog[open] { animation: dialogIn 0.5s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.dialog__scroll { max-height: calc(100svh - 2rem); overflow-y: auto; padding: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); }

.dialog__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 42px; height: 42px;
  display: grid;
  place-content: center;
  color: var(--ink);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
  z-index: 4;
}
.dialog__close:hover { color: var(--gold-deep); transform: rotate(90deg); }
.dialog__close svg { width: 16px; height: 16px; }

.dialog__head { margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); }
.dialog__head svg { width: 46px; height: 46px; margin-bottom: 1.1rem; }
.dialog__head h2 { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 500; line-height: 1.12; margin-bottom: 0.75rem; }
.dialog__head p { font-size: 0.9rem; line-height: 1.62; color: #55617A; max-width: 52ch; }

.form { display: grid; gap: 1.35rem; }
@media (min-width: 40rem) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.5rem; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7690;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.1rem;
  border-bottom: 1px solid rgba(12, 22, 40, 0.2);
  font-size: 0.94rem;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.6; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, #6B7690 50%), linear-gradient(135deg, #6B7690 50%, transparent 50%);
  background-position: right 0.55rem center, right 0.25rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 1.6rem;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-bottom-color: var(--gold); }
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: var(--alert); }

.form__action { grid-column: 1 / -1; margin-top: 0.5rem; }
.form .alarm { margin-top: 0; max-width: none; }
.form .field--wide:has(.alarm) { grid-column: 1 / -1; }

.form__note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #6B7690;
}
.form__note svg { width: 0.9rem; height: 0.9rem; margin-top: 0.15em; color: var(--gold-deep); }

/* ==========================================================================
   21 · CANAL DIRETO
   ========================================================================== */
.direct {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  background: var(--ink-deep);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: var(--gold-light);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              background-color 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.direct.is-shown { opacity: 1; transform: none; }
.direct:hover { background: var(--gold); color: var(--ink-deep); border-color: var(--gold); }
.direct svg { width: 18px; height: 18px; flex: none; }
.direct span { display: none; }
@media (min-width: 40rem) { .direct span { display: inline; } }

/* ==========================================================================
   22 · RESPONSIVO — ajustes finos
   ========================================================================== */
@media (max-width: 61.999rem) {
  .concept__after { margin-top: 0; }
  .hero { align-items: flex-end; }
}
@media (max-width: 45.999rem) {
  :root { --chrome-h: 96px; }
  .credentials__item--loc { display: none; }
  /* O registro profissional exigido pelo CFM não pode ser cortado:
     em telas estreitas a barra cresce e o texto quebra em duas linhas. */
  .credentials {
    height: auto;
    min-height: 32px;
    padding-block: 0.4rem;
    align-items: flex-start;
    white-space: normal;
    line-height: 1.5;
    gap: 0.85rem;
  }
  .chrome.is-solid .credentials { min-height: 0; padding-block: 0; }
  .lang { padding-top: 0.05rem; }
  .hero__title { max-width: 100%; }
  .plate { margin-left: 0; }
  .btn { padding: 0.95rem 1.5rem; font-size: 0.68rem; }
}
@media (max-width: 29.999rem) {
  .credentials__item--crm { font-size: 0.54rem; letter-spacing: 0.1em; }
  .tier__val { font-size: 3rem; }
}

/* ==========================================================================
   23 · MOVIMENTO REDUZIDO E IMPRESSÃO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .word > i { transform: none !important; }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  [data-draw] { transform: scaleX(1) !important; }
  [data-unveil] > img, [data-unveil] > picture > img { transform: none !important; filter: none !important; }
  [data-unveil]::after { transform: scaleY(0) !important; }
  .cursor, .cursor-ring { display: none !important; }
  .hero__media { transform: none !important; }
}

@media print {
  .chrome, .drawer, .direct, .overture, .cursor, .cursor-ring, .hero__scroll { display: none !important; }
  .scene, .hero, .footer { background: #fff !important; color: #000 !important; padding-block: 1.5rem !important; }
  .word > i, [data-rise] { opacity: 1 !important; transform: none !important; }
  [data-unveil]::after { display: none !important; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.7em; color: #555; }
}
