/* ============================================================
   LP DR. VITOR BARION DE PADUA · INSTITUTO BARION
   Joelho no esporte (publico jovem: LCA e menisco)
   ------------------------------------------------------------
   Direcao: limpa e sofisticada. Base branca, cinza e preto, com
   o verde Barion (#00302B) como cor principal. A cor viva fica
   com as fotografias; a interface so organiza.
   Uma familia so: Archivo variavel (peso 300-600, largura
   100-125%), usada em dois registros: titulos leves e grandes,
   rotulos expandidos em caixa alta.
   Mobile-first. Anima so transform, opacity e clip-path.
   ------------------------------------------------------------
   A mesma identidade serve a LP do publico maduro: troque
   fotos e textos, nao os tokens.
============================================================ */

/* ============================================================
   1. FONTE (self-hosted, so o subconjunto latino)
============================================================ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 600;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(fonts/archivo-300-600-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;
}

/* ============================================================
   2. TOKENS
============================================================ */
:root {
  /* Verde Barion: cor principal da marca */
  --green:      #00302B;
  --green-90:   #0A4038;
  --green-60:   #4F6E68;
  --green-10:   #E6EDEB;
  --cream:      #FCF9F3;   /* creme do logo: so sobre o verde */

  /* Preto, cinzas e branco */
  --ink:        #0F1312;
  --ink-80:     #2A302E;
  --gray-60:    #59605D;   /* texto corrido */
  --gray-40:    #8A918E;   /* legendas */
  --gray-20:    #C5CAC8;
  --line:       #E3E6E4;   /* fios sobre branco */
  --line-mist:  #D9DDDB;   /* fios sobre cinza */
  --mist:       #F3F4F2;
  --white:      #FFFFFF;
  --black:      #0A0C0B;

  /* Sobre o verde */
  --on-green:      rgba(252, 249, 243, 0.78);
  --on-green-soft: rgba(252, 249, 243, 0.58);
  --on-green-line: rgba(252, 249, 243, 0.16);

  --font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ease:     cubic-bezier(0.25, 0.7, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter:   20px;
  --gap:      16px;
  --max:      1360px;
  --header-h: 64px;
  --section:  92px;

}

@media (min-width: 768px) {
  :root { --gutter: 40px; --gap: 24px; --section: 128px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 78px; --section: 160px; }
}

@media (min-width: 1440px) {
  :root { --gutter: 64px; }
}

/* ============================================================
   3. RESET E BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-60);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
strong { font-weight: 500; color: var(--ink); }

::selection { background: var(--green); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.on-dark :focus-visible,
.hero :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible { outline-color: var(--cream); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 22px;
  background: var(--green);
  color: var(--cream);
  font-size: 14px;
}
.skip-link:focus { left: 0; }

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

/* ============================================================
   4. LAYOUT
============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--mist  { background: var(--mist); }
.section--green { background: var(--green); color: var(--on-green); }

/* Cabecalho padrao de secao: titulo a esquerda, texto de apoio a direita */
.head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 7vw, 96px);
}

@media (min-width: 1024px) {
  .head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .head-main { grid-column: 1 / 8; }
  .head-side { grid-column: 9 / 13; }
}

/* ============================================================
   5. TIPOGRAFIA
============================================================ */
h1, h2, h3 {
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.title {
  font-size: clamp(38px, 6.4vw, 76px);
  margin-top: 22px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-80);
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
}

/* Rotulo: caixa alta expandida, pequena, em verde */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--green);
}

.caps {
  font-size: 11px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ============================================================
   6. BOTOES E LINKS
============================================================ */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--cream);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 11.5px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn:hover { --btn-bg: var(--ink); }

.btn .i-wa    { width: 18px; height: 18px; flex: none; }
.btn .i-arrow { width: 22px; height: 12px; flex: none; transition: transform 0.5s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(6px); }

/* Sobre foto ou verde */
.btn--light { --btn-bg: var(--white); --btn-fg: var(--green); }
.btn--light:hover { --btn-bg: var(--green); --btn-fg: var(--cream); }

.btn--small { min-height: 44px; padding: 0 18px; font-size: 10.5px; gap: 12px; }

/* Link com fio que se refaz no hover */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 11.5px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 36px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.link:hover::after { animation: link-wipe 0.9s var(--ease-out); }

.link .i-arrow { width: 22px; height: 12px; transition: transform 0.5s var(--ease-out); }
.link:hover .i-arrow { transform: translateX(6px); }

.link--green { color: var(--green); }
.link--light { color: var(--white); }
.link--cream { color: var(--cream); }

@keyframes link-wipe {
  0%   { transform: scaleX(1); transform-origin: right; }
  45%  { transform: scaleX(0); transform-origin: right; }
  46%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ============================================================
   7. HEADER
   Transparente sobre o hero; branco depois dele. Some ao rolar
   para baixo e volta ao rolar para cima.
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
              box-shadow 0.45s var(--ease), transform 0.6s var(--ease-out);
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  backdrop-filter: saturate(1.2) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 25px;
  height: 31px;
  flex: none;
  fill: currentColor;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 30%, transparent);
  line-height: 1.25;
}

.brand-name {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.brand-meta {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  white-space: nowrap;
}

/* No celular o CRM/RQE fica; a especialidade sai para caber */
.brand-meta-role { display: none; }

.nav { display: none; }

.header-cta-mobile {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 40%, transparent);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header-cta-mobile svg { width: 18px; height: 18px; fill: currentColor; }
.header-cta-mobile:hover { border-color: currentColor; }

@media (min-width: 768px) {
  .brand-mark { width: 28px; height: 35px; }
  .brand-name { font-size: 15px; }
  .brand-meta { font-size: 9.5px; }
  .brand-meta-role { display: inline; }
}

@media (min-width: 1100px) {
  .header-cta-mobile { display: none; }

  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: none;
  }

  .nav-links { display: flex; gap: 26px; white-space: nowrap; }
  .nav .btn { white-space: nowrap; }

  /* Ate 1440px a especialidade sai do header para caber o menu */
  .brand-meta-role { display: none; }

  .nav-links a {
    position: relative;
    font-size: 10.5px;
    font-weight: 600;
    font-stretch: 125%;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 0;
    opacity: 0.86;
    transition: opacity 0.3s var(--ease);
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
  }

  .nav-links a:hover { opacity: 1; }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

  /* Botao do header acompanha o estado (sobre foto x sobre branco) */
  .site-header:not(.is-solid) .nav .btn { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.55); }
  .site-header:not(.is-solid) .nav .btn:hover { --btn-bg: var(--white); --btn-fg: var(--green); --btn-bd: var(--white); }
}

@media (min-width: 1440px) {
  .brand-meta-role { display: inline; }
  .nav { gap: 36px; }
  .nav-links { gap: 30px; }
}

/* ============================================================
   8. HERO
   Fotos que se alternam; a ultima linha do titulo troca junto
   com o esporte.
   Celular: foto em cima (o atleta nunca fica atras do texto) e
   texto embaixo, sobre fundo escuro. A partir de 768px: foto em
   tela cheia com o texto por cima.
============================================================ */
.hero {
  --panel: #0B100F;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--panel);
}

.hero-media {
  position: relative;
  order: 1;
  overflow: hidden;
  height: 52vh;
  height: 52svh;
  min-height: 330px;
  max-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide.is-prev   { opacity: 1; z-index: 1; transition: none; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.04);
}

.hero-slide.is-active img { animation: hero-drift 9s var(--ease-out) both; }
.hero.is-paused .hero-slide img { animation-play-state: paused; }

@keyframes hero-drift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}

/* Veus para leitura: topo (header) e base (indice e texto) */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 10, 9, 0.55) 0%, rgba(6, 10, 9, 0) 30%),
    linear-gradient(0deg, var(--panel) 0%, rgba(11, 16, 15, 0.55) 22%, rgba(11, 16, 15, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 4;
  order: 3;
  padding: 30px 0 44px;
}

.hero-title { color: var(--white); font-weight: 300; }

.hero-kicker {
  display: flex;
  margin-bottom: 16px;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.86);
}

.hero-line {
  display: block;
  font-size: clamp(46px, 13.2vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

/* Linha que troca: mais larga (eixo wdth) e mascarada */
.hero-line--word {
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  font-stretch: 125%;
  letter-spacing: -0.04em;
}

.hero-word { display: inline-block; will-change: transform; }

.hero-sub {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

.hero-sub strong { font-weight: 600; color: var(--white); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 30px;
  margin-top: 26px;
}

/* Celular: botao na largura toda, centralizado; o link vem logo abaixo */
@media (max-width: 767px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .link { align-self: center; }
}

/* Indice: so as barrinhas; a do esporte da vez enche no tempo da foto.
   No celular fica sobre a base da foto. */
.hero-index {
  position: relative;
  z-index: 4;
  order: 2;
  margin-top: -34px;
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.hero-tab {
  position: relative;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Area de toque maior que o fio */
.hero-tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -12px; bottom: -8px;
}

.hero-tab::before,
.hero-tab-bar {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 2px;
}

.hero-tab::before {
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s var(--ease);
}

.hero-tab:hover::before { background: rgba(255, 255, 255, 0.55); }

.hero-tab-bar {
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-tab.is-active .hero-tab-bar { animation: tab-fill var(--slide-dur, 7s) linear forwards; }
.hero.is-paused .hero-tab.is-active .hero-tab-bar { animation-play-state: paused; }
.hero.is-static .hero-tab.is-active .hero-tab-bar { animation: none; transform: scaleX(1); }

@keyframes tab-fill { to { transform: scaleX(1); } }

/* Tablet e desktop: foto em tela cheia, texto por cima */
@media (min-width: 768px) {
  /* Foto espelhada para o atleta ficar a direita, longe do titulo.
     'scale' (e nao transform) para somar com o zoom lento do slide. */
  .hero-slide--flip img { scale: -1 1; }

  .hero {
    display: block;
    height: 100vh;
    height: 100svh;
    min-height: 640px;
    max-height: 1200px;
    background: #101413;
  }

  .hero-media { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(6, 10, 9, 0.5) 0%, rgba(6, 10, 9, 0) 24%),
      linear-gradient(0deg, rgba(6, 10, 9, 0.82) 0%, rgba(6, 10, 9, 0.42) 36%, rgba(6, 10, 9, 0) 64%);
  }

  .hero-content {
    position: absolute;
    left: 0; right: 0;
    bottom: 110px;
    padding: 0;
  }

  .hero-kicker { margin-bottom: 22px; font-size: 11px; letter-spacing: 0.22em; }
  .hero-line { font-size: clamp(80px, 9.2vw, 132px); }
  .hero-sub { margin-top: 26px; font-size: 18px; max-width: 36ch; }
  .hero-actions { margin-top: 32px; }

  .hero-index {
    position: absolute;
    left: 0; right: 0;
    bottom: 40px;
    margin: 0;
  }

  .hero-tabs { gap: 14px; }
}

@media (min-width: 1024px) {
  .hero { min-height: 700px; }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(6, 10, 9, 0.45) 0%, rgba(6, 10, 9, 0) 22%),
      linear-gradient(0deg, rgba(6, 10, 9, 0.7) 0%, rgba(6, 10, 9, 0.2) 40%, rgba(6, 10, 9, 0) 62%),
      linear-gradient(90deg, rgba(6, 10, 9, 0.42) 0%, rgba(6, 10, 9, 0) 58%);
  }

  .hero-content { bottom: 116px; }
  .hero-kicker { margin-bottom: 26px; }
  .hero-sub { margin-top: 30px; font-size: 19px; }
  .hero-actions { margin-top: 38px; }

  .hero-index { bottom: 48px; }
  .hero-tabs { gap: 20px; }
}

/* ============================================================
   9. ABERTURA
============================================================ */
.intro-grid { display: grid; gap: 30px; }

.statement {
  font-size: clamp(30px, 4.7vw, 62px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: pretty;
}

.statement .muted { color: var(--gray-40); }

.intro-text { margin-top: 36px; max-width: 58ch; }

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}

.signature img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex: none;
}

.signature-name { display: block; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.signature-role { display: block; margin-top: 4px; color: var(--gray-40); }

@media (min-width: 1024px) {
  .intro-text { font-size: 18px; }
}

/* Rotulo na margem so quando a coluna comporta a linha inteira */
@media (min-width: 1200px) {
  .intro-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .intro-label { grid-column: 1 / 4; padding-top: 16px; }
  .intro-body  { grid-column: 4 / 12; }
}

/* ============================================================
   10. LESOES (compacta)
   Tres caixas brancas sobre o cinza. Fechadas, mostram foto e
   nome da lesao; a seta abre a descricao e os sinais comuns.
============================================================ */
.injury-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.injury { background: var(--white); }

.injury-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  height: clamp(180px, 34vw, 280px);
  background: #E4E7E5;
}

.injury-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1.2s var(--ease-out);
}

.injury:hover .injury-media img { transform: scale(1.04); }

.injury-box { padding: 0 22px; }

/* O h3 e so semantico: a tipografia vem dos spans do botao */
.injury-head { font-size: 16px; letter-spacing: normal; line-height: 1.3; }

.injury-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.injury-name { display: grid; gap: 6px; min-width: 0; }

.injury-num { color: var(--gray-40); }

.injury-title {
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
}

.injury-aka { color: var(--green); }

.injury-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-20);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease), transform 0.5s var(--ease-out);
}

.injury-arrow svg { width: 14px; height: 8px; }

.injury-toggle:hover .injury-arrow,
.injury-toggle[aria-expanded="true"] .injury-arrow {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

.injury-toggle[aria-expanded="true"] .injury-arrow { transform: rotate(180deg); }

/* Painel: abre animando grid-template-rows, sem medir altura no JS */
.injury-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.injury-panel-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.55s;
}

.injury-panel.is-open { grid-template-rows: 1fr; }
.injury-panel.is-open .injury-panel-inner { visibility: visible; transition-delay: 0s; }

.injury-text {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}

.injury-signs-title { margin-top: 22px; color: var(--gray-40); }

.injury-signs { margin-top: 8px; }

.injury-signs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}

.injury-signs li:last-child { border-bottom: 1px solid var(--line); }
.injury-signs li span { font-size: 10.5px; font-weight: 600; font-stretch: 125%; letter-spacing: 0.18em; color: var(--gray-40); }

/* Margem dentro do painel: some junto quando ele fecha */
.injury-panel .link { margin: 20px 0 24px; }

@media (min-width: 1024px) {
  .injury-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .injury-media { height: auto; aspect-ratio: 3 / 2; }
  .injury-box { padding: 0 26px; }
  .injury-toggle { padding: 26px 0; }
}

/* Quatro caixas (LP de protese): duas por linha no tablet, quatro no desktop largo */
@media (min-width: 768px) {
  .injury-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
}

@media (min-width: 1024px) {
  .injury-grid--4 .injury-media { height: auto; aspect-ratio: 3 / 2; }
}

@media (min-width: 1200px) {
  .injury-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .injury-grid--4 .injury-box { padding: 0 22px; }
}

/* Tambem trato */
.also {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line-mist);
}

.also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.also-list li:not(:last-child)::after {
  content: '/';
  margin: 0 14px;
  color: var(--gray-20);
}

@media (min-width: 1024px) {
  .also {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .also-label { grid-column: 1 / 4; padding-top: 6px; }
  .also-list  { grid-column: 4 / 13; }
}

/* ============================================================
   11. SINAIS DE ALERTA
============================================================ */
.signs-grid { display: grid; gap: 48px; }

.signs-head .lead { margin-top: 26px; max-width: 36ch; }
.signs-head .link { margin-top: 26px; }

.signs-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
}

.signs-list li:last-child { border-bottom: 1px solid var(--line); }

.sign-num {
  padding-top: 9px;
  font-size: 10.5px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  color: var(--green);
}

.sign-title {
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
}

.sign-text { grid-column: 2; margin-top: 10px; max-width: 54ch; font-size: 15.5px; }

.signs-note {
  margin-top: 36px;
  max-width: 62ch;
  font-size: 14px;
  color: var(--gray-40);
}

@media (min-width: 1024px) {
  .signs-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .signs-head {
    grid-column: 1 / 6;
    position: sticky;
    top: calc(var(--header-h) + 48px);
  }
  .signs-body { grid-column: 7 / 13; }
  .signs-list li { grid-template-columns: 72px minmax(0, 1fr); padding: 34px 0 36px; }
}

/* ============================================================
   12. FAIXA DE FOTO (frase de impacto)
============================================================ */
.feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 86vh;
  min-height: 86svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #1A1E1D;
}

.feature-media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  will-change: transform;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 10, 9, 0.76) 0%, rgba(6, 10, 9, 0.28) 46%, rgba(6, 10, 9, 0.08) 100%);
}

.feature-content { width: 100%; padding-block: 72px; }
.feature .eyebrow { color: rgba(255, 255, 255, 0.86); }

.feature-title {
  margin-top: 22px;
  font-size: clamp(42px, 8.4vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--white);
}

.feature-title em { font-style: normal; letter-spacing: -0.04em; }

/* A versao larga so cabe numa linha a partir do tablet */
@media (min-width: 768px) {
  .feature-title em { font-stretch: 125%; }
}

/* Variante calma (LP do publico maduro): frase mais longa, corpo menor,
   sem a largura expandida */
.feature--calm .feature-title { font-size: clamp(40px, 6.6vw, 96px); }
.feature--calm .feature-title em { font-stretch: 100%; }

.feature-text {
  margin-top: 24px;
  max-width: 40ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 1024px) {
  .feature::after {
    background:
      linear-gradient(0deg, rgba(6, 10, 9, 0.62) 0%, rgba(6, 10, 9, 0.12) 50%, rgba(6, 10, 9, 0) 100%),
      linear-gradient(90deg, rgba(6, 10, 9, 0.5) 0%, rgba(6, 10, 9, 0) 60%);
  }
  .feature-content { padding-block: 112px; }
}

/* ============================================================
   13. METODO (do diagnostico a volta)
============================================================ */
.steps { display: grid; }

.step {
  position: relative;
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 160ms);
}

.step-num {
  display: block;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--gray-20);
  transition: color 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 160ms + 200ms);
}

.step.is-on::before { transform: scaleX(1); }
.step.is-on .step-num { color: var(--green); }

.step-title {
  margin-top: 26px;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--ink);
}

.step-text { margin-top: 12px; font-size: 15.5px; max-width: 40ch; }

.method-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: 64px;
}

.method-cta p { font-size: 14px; color: var(--gray-40); max-width: 40ch; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding: 36px 0 0; }
}

/* ============================================================
   14. O MEDICO
============================================================ */
/* clip (e nao hidden) para o retrato poder ficar fixo (sticky) ao rolar */
.doctor { overflow: hidden; overflow: clip; }

.doctor h2,
.doctor h3 { color: var(--cream); }

.doctor-grid { position: relative; z-index: 1; display: grid; gap: 52px; }

.doctor-media { margin: 0; }

.doctor-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #22332F;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.doctor-media figcaption {
  margin-top: 16px;
  color: var(--on-green-soft);
}

.doctor .eyebrow { color: var(--on-green); }

.doctor-name {
  margin-top: 22px;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.doctor-name span { display: block; }

.doctor-lead {
  margin-top: 30px;
  max-width: 44ch;
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(252, 249, 243, 0.9);
}

.doctor-lead strong { color: var(--cream); font-weight: 500; }

/* Tres numeros, em linha, como ficha tecnica */
.facts {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--on-green-line);
}

.fact {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--on-green-line);
}

.fact-num {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--cream);
}

.fact-label { font-size: 14px; line-height: 1.45; color: var(--on-green); }

@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-top: 28px; }
  .fact { display: block; padding: 0; border: 0; }
  .fact-num { font-size: clamp(38px, 4.2vw, 56px); }
  .fact-label { margin-top: 14px; font-size: 13.5px; }
}

.creds { margin-top: 44px; }

.cred {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--on-green-line);
}

.cred:last-child { border-bottom: 1px solid var(--on-green-line); }
.cred dt { font-size: 16px; font-weight: 400; color: var(--cream); }
.cred dd { font-size: 14.5px; line-height: 1.55; color: var(--on-green); }

.doctor-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 40px;
}

.doctor-place {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-green-soft);
}

.doctor-place svg { width: 16px; height: 20px; fill: currentColor; flex: none; }

/* Selo Barion ao fundo, quase imperceptivel */
.doctor-seal {
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 420px;
  opacity: 0.05;
  pointer-events: none;
  animation: seal-turn 120s linear infinite;
}

@keyframes seal-turn { to { transform: rotate(360deg); } }

@media (min-width: 1024px) {
  .doctor-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .doctor-media { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 40px); }
  .doctor-body  { grid-column: 7 / 13; padding-top: 8px; }
  .cred { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; }
  .doctor-seal { right: -120px; bottom: -140px; width: 560px; }
}

/* ============================================================
   15. ATENDIMENTO
============================================================ */
.visit-grid { display: grid; gap: 48px; }

.visit-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #E1E4E2;
}

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

.visit-media figcaption {
  position: absolute;
  left: 18px; bottom: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.visit-body .lead { margin-top: 24px; max-width: 40ch; }

.info { margin-top: 40px; }

.info-row {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line-mist);
}

.info-row:last-child { border-bottom: 1px solid var(--line-mist); }
.info-row dt { color: var(--gray-40); }
.info-row dd { font-size: 16.5px; color: var(--ink); line-height: 1.5; }
.info-row dd a { border-bottom: 1px solid var(--gray-20); transition: border-color 0.3s var(--ease); }
.info-row dd a:hover { border-color: var(--ink); }
.info-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--gray-40); }

/* Mais de um endereco: um bloco por consultorio, cada um com o seu mapa */
.addr-list { display: grid; gap: 18px; }
.addr { display: block; }
.addr strong { font-weight: 500; }
.addr a { display: inline-block; margin-top: 4px; font-size: 14px; }
.addr .nowrap { white-space: nowrap; }

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  margin-top: 36px;
}

.visit-note { margin-top: 28px; font-size: 14px; color: var(--gray-40); }

.visit .title { font-size: clamp(38px, 4.6vw, 64px); }

@media (min-width: 560px) {
  .info-row { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: baseline; }
}

/* Tablet em coluna unica: foto mais baixa, para nao ocupar a tela toda */
@media (min-width: 600px) and (max-width: 1023px) {
  .visit-media { aspect-ratio: 4 / 3; }
}

@media (min-width: 1024px) {
  .visit-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: center;
  }
  .visit-media { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
  .visit-body  { grid-column: 7 / 13; }
}

@media (min-width: 1280px) {
  .visit-media { grid-column: 1 / 7; aspect-ratio: 5 / 6; }
  .visit-body  { grid-column: 8 / 13; }
}

/* ============================================================
   16. PERGUNTAS FREQUENTES
============================================================ */
.faq-grid { display: grid; gap: 44px; }

.faq-head .lead { margin-top: 24px; max-width: 34ch; }
.faq-head .link { margin-top: 22px; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.faq-q:hover { color: var(--green); }

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}

.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.55s;
}

.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a.is-open > div { visibility: visible; transition-delay: 0s; }

.faq-a p { padding-bottom: 30px; max-width: 62ch; font-size: 16px; }

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .faq-head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 48px); }
  .faq-list { grid-column: 6 / 13; }
  .faq-q { padding: 30px 0; }
}

/* ============================================================
   17. ENCERRAMENTO
============================================================ */
.closing {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: var(--white);
  background: #1A1E1D;
}

.closing-media { position: absolute; inset: 0; z-index: -2; }

.closing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.closing::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 10, 9, 0.5) 0%, rgba(6, 10, 9, 0.28) 50%, rgba(6, 10, 9, 0.6) 100%);
}

.closing-inner { padding-block: 120px; }

/* Celular: texto na base, sobre o mar; o surfista fica livre em cima */
@media (max-width: 767px) {
  .closing { align-items: flex-end; }
  .closing-inner { padding-block: 96px 64px; }
  .closing::after {
    background: linear-gradient(180deg, rgba(6, 10, 9, 0.35) 0%, rgba(6, 10, 9, 0) 30%, rgba(6, 10, 9, 0.55) 62%, rgba(6, 10, 9, 0.85) 100%);
  }
}
.closing .eyebrow { color: rgba(255, 255, 255, 0.88); }

.closing-title {
  max-width: 13ch;
  margin: 24px auto 0;
  font-size: clamp(46px, 8.2vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--white);
}

.closing-text {
  max-width: 40ch;
  margin: 26px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.closing .btn { margin-top: 42px; }

/* Variante: texto no alto, sobre o ceu, para fotos com a cena na metade
   de baixo. Fica depois do bloco do celular para valer em todas as larguras. */
.closing--high { align-items: flex-start; }
.closing--high .closing-inner { padding-block: calc(var(--header-h) + 56px) 96px; }
.closing--high .closing-title { max-width: 16ch; }

.closing--high::after {
  background:
    linear-gradient(180deg, rgba(6, 10, 9, 0.7) 0%, rgba(6, 10, 9, 0.42) 38%, rgba(6, 10, 9, 0.08) 66%, rgba(6, 10, 9, 0.18) 100%);
}

/* ============================================================
   18. RODAPE
============================================================ */
.site-footer {
  padding: 88px 0 calc(110px + env(safe-area-inset-bottom, 0px));
  background: var(--black);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
}

.footer-top { display: grid; gap: 52px; }

.footer-logo img { width: 148px; height: auto; }

.footer-tagline {
  margin-top: 26px;
  max-width: 30ch;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h2 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10.5px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col li + li { margin-top: 10px; }

.footer-col a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }

.footer-legal {
  display: grid;
  gap: 6px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a { color: rgba(255, 255, 255, 0.78); border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.footer-legal a:hover { color: var(--white); border-color: var(--white); }

/* Assinatura da agencia: obrigatoria, sempre a ultima linha do rodape */
.footer-kraft {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-stretch: 112%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer-kraft strong { font-weight: 600; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; column-gap: var(--gap); }
}

@media (min-width: 1024px) {
  .site-footer { padding-bottom: 48px; }
  .footer-top { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-brand   { grid-column: 1 / 5; }
  .footer-col--nav { grid-column: 6 / 8; }
  .footer-col--contact { grid-column: 9 / 13; }
  .footer-legal { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .footer-kraft { grid-column: 1 / -1; }
}

/* ============================================================
   19. DOCA DE CTA (surge depois do hero)
============================================================ */
.dock {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  width: min(calc(100% - 28px), 400px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 130%);
  transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease), visibility 0.7s;
}

.dock.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dock .btn {
  width: 100%;
  min-height: 58px;
  box-shadow: 0 2px 6px rgba(0, 20, 17, 0.12), 0 22px 44px -18px rgba(0, 20, 17, 0.55);
}

/* Sobre a secao verde do medico o botao inverte, para nao sumir */
.dock.is-on-green .btn { --btn-bg: var(--cream); --btn-fg: var(--green); }
.dock.is-on-green .btn:hover { --btn-bg: var(--white); }

@media (min-width: 1024px) {
  .dock {
    left: auto;
    right: 32px;
    bottom: 32px;
    width: auto;
    transform: translateY(130%);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { padding: 0 30px; }
}

/* ============================================================
   20. PAGINA DE TEXTO LEGAL (politica de privacidade)
============================================================ */
.legal { padding-top: calc(var(--header-h) + 72px); }
.legal-inner { max-width: 820px; }

.legal-back { margin-bottom: 36px; }
.legal-back::after { left: 36px; right: 0; }
.legal-back .i-arrow { transform: scaleX(-1); }
.legal-back:hover .i-arrow { transform: scaleX(-1) translateX(6px); }

.legal h1 { font-size: clamp(36px, 5.4vw, 64px); }

.legal-meta { margin-top: 18px; color: var(--gray-40); }

.legal-lead {
  margin-top: 36px;
  padding: 26px 28px;
  background: var(--mist);
  border-left: 2px solid var(--green);
  font-size: 16px;
}

.legal h2 {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green);
}

.legal p { margin-top: 14px; font-size: 16px; }

.legal-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
  font-size: 16px;
}

.legal-list li::marker { color: var(--green); }

.legal a:not(.btn):not(.link) {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gray-20);
}

.legal-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.legal-table caption {
  padding: 14px 18px;
  text-align: left;
  background: var(--mist);
  color: var(--gray-60);
  font-size: 13px;
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.legal-table th {
  font-size: 10.5px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.legal-end { margin-top: 64px; }

/* ============================================================
   20B. VARIANTE SOBRIA (LP de protese, publico mais velho)
   Mesma identidade, mais contida: letra maior e mais escura,
   titulos em peso regular, rotulos menos espacados, botoes
   maiores e quase nenhum movimento decorativo.
============================================================ */
.hero-title--sober {
  font-weight: 400;
  letter-spacing: -0.025em;
}

/* Comeco da frase menor; o foco fica em "busca manter o corpo em movimento" */
.hero-title-lead {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(20px, 5.4vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-title-focus {
  display: block;
  max-width: 14ch;
  font-size: clamp(36px, 10vw, 54px);
  line-height: 1.06;
}

@media (min-width: 768px) {
  .hero-title-lead { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 16px; }
  .hero-title-focus { font-size: clamp(54px, 5.8vw, 84px); }
}

.sobria { font-size: 17px; color: #474D4A; }
.sobria p { color: inherit; }
@media (min-width: 1024px) { .sobria { font-size: 18px; } }

.sobria h1, .sobria h2, .sobria h3,
.sobria .statement, .sobria .injury-title, .sobria .sign-title,
.sobria .step-num, .sobria .fact-num { font-weight: 400; letter-spacing: -0.02em; }

.sobria .title { font-size: clamp(34px, 5.2vw, 60px); }
.sobria .statement { font-size: clamp(28px, 3.8vw, 50px); }
.sobria .statement .muted { color: #6E7572; }

.sobria .eyebrow,
.sobria .caps,
.sobria .btn,
.sobria .link,
.sobria .nav-links a {
  font-stretch: 100%;
  letter-spacing: 0.12em;
}

.sobria .eyebrow { font-size: 12px; }
.sobria .btn { min-height: 60px; font-size: 13px; }
.sobria .link { font-size: 13px; }
.sobria .hero-sub { font-size: 18px; color: rgba(255, 255, 255, 0.92); }
.sobria .sign-text,
.sobria .step-text,
.sobria .injury-text,
.sobria .faq-a p { font-size: 17px; }

/* Movimento so o essencial: sem zoom lento nas fotos nem selo girando */
.sobria .hero-slide img,
.sobria .hero-slide.is-active img { animation: none; transform: none; }
.sobria .doctor-seal { animation: none; }
.sobria .feature-title { font-size: clamp(38px, 5.6vw, 80px); }
.sobria .feature-title em,
.sobria .closing-title { font-stretch: 100%; }
.sobria .closing-title { font-size: clamp(38px, 6vw, 88px); font-weight: 400; }

/* ============================================================
   21. PENDENCIAS DE CONTEUDO (somem quando o dado chegar)
============================================================ */
.ph {
  padding: 0 5px;
  background: rgba(0, 48, 43, 0.07);
  border-bottom: 1px dashed var(--green);
  color: var(--green);
  font-style: normal;
}

.ph--dark {
  background: rgba(252, 249, 243, 0.08);
  border-bottom-color: rgba(252, 249, 243, 0.6);
  color: var(--cream);
}

/* ============================================================
   22. REVELACAO AO ROLAR (so quando o JS assume)
============================================================ */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Fotos: cortina de baixo para cima, com leve recuo do zoom.
   O recorte fica na <img>, nao no quadro observado: com o quadro
   recortado, o IntersectionObserver nunca o veria entrar na tela. */
.js-reveal .reveal-img { background: transparent; }

.js-reveal .reveal-img img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.14);
  transition: clip-path 1.4s var(--ease-out), transform 2s var(--ease-out);
}

.js-reveal .reveal-img.is-in img {
  clip-path: inset(0 0 0 0);
  transform: none;
}

/* ============================================================
   23. MOVIMENTO REDUZIDO
============================================================ */
@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;
    transition-delay: 0s !important;
  }

  .hero-slide img,
  .hero-slide.is-active img { animation: none; transform: none; }
  .doctor-seal { animation: none; }
  .js-reveal .reveal,
  .js-reveal .reveal-img img { opacity: 1; transform: none; clip-path: none; }
}

/* ============================================================
   24. IMPRESSAO
============================================================ */
@media print {
  .site-header, .dock, .hero-index { display: none !important; }
  .hero, .feature, .closing { min-height: 0; height: auto; color: var(--ink); }
  .hero-content { position: static; padding: 40px 0; }
  .hero-title, .feature-title, .closing-title { color: var(--ink); }
}
