/* Jota Treinamento Personalizado
   Cores tiradas da logo: marinho, azul e prata. */

@font-face {
  font-family: "Saira";
  src: url("assets/fonts/saira.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --marinho: #0b1630;
  --marinho-2: #142447;
  --azul: #1f4fa8;
  --azul-claro: #8fb4ef;
  --prata: #c6cdd9;
  --gelo: #e9edf3;
  --branco: #fff;

  /* Cores que mudam com o tema */
  --fundo: var(--gelo);
  --superficie: var(--branco);
  --texto: var(--marinho);
  --texto-suave: #48546d;
  --linha: var(--prata);
  --realce: var(--azul);
  --faixa: var(--marinho);
  --faixa-linha: var(--marinho-2);
  --bloco: var(--azul);
  --btn-hover: var(--marinho);
  color-scheme: light;

  --titulo: "Saira", "Segoe UI", sans-serif;
  --corpo: "Figtree", "Segoe UI", sans-serif;

  --margem: clamp(1.25rem, 4vw, 2.5rem);
  --respiro: clamp(4.5rem, 9vw, 8rem);
  --inclina: -12deg; /* mesma inclinação do J da logo */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--titulo);
  font-stretch: 112%;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.4rem); font-weight: 750; letter-spacing: -.015em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.25; }
p { margin: 0 0 1rem; max-width: 62ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, 100% - 2 * var(--margem)); margin-inline: auto; }
.secao { padding-block: var(--respiro); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--superficie); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--realce); outline-offset: 3px; }
.treinos :focus-visible, .comecar :focus-visible, .rodape :focus-visible, .credenciais :focus-visible { outline-color: var(--branco); }

/* Botões: paralelogramo, na inclinação da logo */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.4rem;
  padding: .75rem 1.9rem;
  border: 0;
  background: none;
  color: var(--branco);
  font-family: var(--titulo);
  font-stretch: 106%;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--azul);
  border-radius: 4px;
  transform: skewX(var(--inclina));
  transition: background-color .2s;
}
.btn:hover::before { background: var(--btn-hover); }
.btn--menor { min-height: 2.75rem; padding: .5rem 1.35rem; font-size: .92rem; }
.btn--claro { color: var(--marinho); }
.btn--claro::before { background: var(--branco); }
.btn--claro:hover::before { background: var(--prata); }

.link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
  text-decoration-color: var(--realce);
}
.link:hover { text-decoration-thickness: 4px; }

/* Topo */
.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--fundo);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topo.rolou { border-color: var(--linha); }
.topo__linha { display: flex; align-items: center; gap: 1.25rem; min-height: 4.75rem; }
.marca { display: flex; align-items: center; gap: .75rem; }
.marca img { width: 48px; }
.marca .marca__nome { width: 104px; }
.menu { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.menu > a:not(.btn) { text-decoration: none; font-weight: 600; padding-block: .4rem; border-bottom: 2px solid transparent; }
.menu > a:not(.btn):hover { border-color: var(--realce); }
.menu-btn { display: none; width: 3rem; height: 3rem; border: 0; background: none; color: var(--texto); cursor: pointer; }
.menu-btn__barras, .menu-btn__barras::before, .menu-btn__barras::after {
  display: block; width: 1.6rem; height: 3px; background: currentColor; transform: skewX(-30deg); transition: transform .2s;
}
.menu-btn__barras { position: relative; margin: auto; }
.menu-btn__barras::before, .menu-btn__barras::after { content: ""; position: absolute; left: 0; transform: none; }
.menu-btn__barras::before { top: -8px; }
.menu-btn__barras::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__barras { background: transparent; transform: none; }
.menu-btn[aria-expanded="true"] .menu-btn__barras::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__barras::after { top: 0; transform: rotate(-45deg); }

/* Abertura */
.abertura { overflow: hidden; }
.abertura__grade {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  min-height: min(760px, calc(100svh - 4.75rem));
}
.abertura__texto { align-self: center; padding-block: 3rem 4rem; }
.abertura__apoio { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--texto-suave); max-width: 34ch; margin-top: 1.5rem; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; margin-top: 2rem; }
.abertura__palco { position: relative; align-self: stretch; min-height: 520px; container-type: size; }
.pista { position: absolute; inset: 2rem 0 0; width: 100%; height: calc(100% - 2rem); }
.pista__campo { fill: var(--azul); }
.pista__raias path { stroke: rgb(255 255 255 / .45); stroke-width: 2; stroke-dasharray: 1; animation: corre 1.4s cubic-bezier(.6, 0, .2, 1) both; }
.pista__raias path:nth-child(2) { animation-delay: .12s; }
.pista__raias path:nth-child(3) { animation-delay: .24s; }
.pista__raias path:nth-child(4) { animation-delay: .36s; }
@keyframes corre { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.abertura__foto {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 94%;
  height: min(94%, 138cqw); /* nunca fica mais larga que a pista */
  width: auto;
  max-width: none;
  filter: drop-shadow(0 10px 14px rgb(11 22 48 / .22));
}

/* Credenciais */
.credenciais { background: var(--faixa); color: var(--branco); padding-block: 2.25rem; }
.credenciais__lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.credenciais li { border-left: 4px solid var(--azul); padding-left: 1rem; }
.credenciais strong { display: block; font-family: var(--titulo); font-stretch: 105%; font-weight: 650; line-height: 1.3; }
.credenciais span { display: block; margin-top: .3rem; font-size: .93rem; color: var(--prata); line-height: 1.45; }

/* Sobre */
.sobre { background: var(--superficie); }
.sobre__grade { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.sobre__foto { margin: 0; position: sticky; top: 6.5rem; }
.sobre__foto img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px 80px 4px 4px; }
.sobre figcaption { margin-top: .75rem; font-size: .93rem; color: var(--texto-suave); }
.destaque { font-size: 1.3rem; line-height: 1.5; font-weight: 600; margin-top: 1.5rem; max-width: 40ch; }
.sobre h2 + .destaque + p { color: var(--texto-suave); }
.trajetoria { margin-top: 2.75rem; }
.trajetoria li { position: relative; padding: 0 0 2rem 2.5rem; }
.trajetoria li::before { /* marcador */
  content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 12px;
  background: var(--azul); transform: skewX(var(--inclina));
}
.trajetoria li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 1.55rem; bottom: .15rem; width: 2px; background: var(--linha); }
.trajetoria p { margin: .35rem 0 0; color: var(--texto-suave); }

/* Treinos: lista em raias */
.treinos { background: var(--faixa); color: var(--branco); }
.treinos__grade { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.treinos__intro p { margin-top: 1.25rem; color: var(--prata); max-width: 34ch; }
.raias { border-top: 2px solid rgb(255 255 255 / .22); }
.raias details { border-bottom: 2px solid rgb(255 255 255 / .22); }
.raias summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem .25rem;
  cursor: pointer; list-style: none;
  font-family: var(--titulo); font-stretch: 112%; font-weight: 650;
  font-size: clamp(1.25rem, 2.6vw, 2rem); line-height: 1.2;
  transition: padding .2s, color .2s;
}
.raias summary::-webkit-details-marker { display: none; }
.raias summary::after {
  content: "+"; flex: none; width: 2.5rem; height: 2rem; display: grid; place-items: center;
  background: var(--marinho-2); border-radius: 3px; font-size: 1.4rem; font-weight: 500;
}
.raias summary:hover { color: var(--azul-claro); padding-left: .75rem; }
.raias details[open] summary { color: var(--azul-claro); }
.raias details[open] summary::after { content: "−"; background: var(--azul); color: var(--branco); }
.raias__corpo { padding: 0 .25rem 1.75rem; }
.raias__corpo p { color: var(--gelo); font-size: 1.1rem; max-width: 52ch; }

/* Método */
.metodo h2 { max-width: 22ch; }
.metodo__apoio { margin-top: 1.25rem; color: var(--texto-suave); font-size: 1.15rem; }
.passos { counter-reset: passo; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.passos li { counter-increment: passo; position: relative; padding-top: 4.25rem; }
.passos li::before {
  content: counter(passo); position: absolute; top: 0; left: 0; z-index: 1;
  width: 3rem; height: 2.75rem; display: grid; place-items: center;
  font-family: var(--titulo); font-weight: 700; font-size: 1.2rem; color: var(--branco);
  background: var(--azul); border-radius: 4px; transform: skewX(var(--inclina));
}
.passos li:not(:last-child)::after { content: ""; position: absolute; top: 1.35rem; left: 3.75rem; right: -.75rem; height: 3px; background: var(--linha); }
.passos p { margin-top: .5rem; color: var(--texto-suave); max-width: 28ch; }

/* Resultados */
.resultados { background: var(--superficie); }
.resultados__topo p { margin-top: 1rem; color: var(--texto-suave); }
.relato { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 4.5rem); border-bottom: 1px solid var(--linha); }
.relato--inverso .relato__midia { order: 2; }
.relato__midia { margin: 0; width: 100%; max-width: 480px; justify-self: center; }
.relato__midia > img { width: 100%; border-radius: 4px; }
.relato__midia--story { max-width: 380px; }
.comparativo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 460px; }
.comparativo div { position: relative; }
.comparativo img { width: 100%; height: 100%; aspect-ratio: 3 / 8.6; object-fit: cover; object-position: 50% 62%; border-radius: 4px; }
.comparativo figcaption { position: absolute; left: .6rem; bottom: .6rem; background: var(--marinho); color: var(--branco); padding: .2rem .75rem; border-radius: 3px; font-weight: 700; font-size: .9rem; }
.relato h3 { font-size: 1.15rem; color: var(--realce); }
.relato__marca { margin-top: .5rem; font-family: var(--titulo); font-stretch: 108%; font-weight: 700; font-size: clamp(1.5rem, 2.7vw, 2.2rem); line-height: 1.18; max-width: 22ch; text-wrap: balance; }
.relato blockquote { margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--linha); }
.relato blockquote p { margin: 0; font-size: 1.12rem; max-width: 48ch; }
.prints { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.print { width: 9.5rem; padding: 0; border: 0; background: none; font: 700 .93rem var(--corpo); color: var(--texto); text-align: left; cursor: zoom-in; }
.print img { width: 100%; height: 8.5rem; object-fit: cover; object-position: top; border-radius: 4px; border: 3px solid var(--linha); transition: border-color .2s; }
.print:hover img { border-color: var(--realce); }
.print span { display: block; margin-top: .5rem; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--realce); text-decoration-thickness: 2px; }
.print--larga { width: 14rem; }
.print--larga img { height: auto; }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 440px; }
.dupla img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
/* card com vídeo e foto lado a lado, na mesma proporção 9:16 */
.relato--video { grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 3fr)); grid-template-areas: "texto video foto"; column-gap: clamp(1rem, 2.5vw, 2rem); }
.relato--video .relato__texto { grid-area: texto; }
.relato--video .relato__midia { max-width: min(360px, max(240px, calc((100vh - 12rem) * .5624))); align-self: start; }
.relato--video .video { grid-area: video; }
.relato--video .relato__foto { grid-area: foto; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; object-fit: contain; background: var(--marinho); border-radius: 4px; cursor: pointer; }
.video__controles { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .75rem; }
.video__btn { min-height: 2.85rem; min-width: 6.5rem; padding: .4rem .6rem; border: 2px solid var(--linha); border-radius: 4px; background: none; font: 700 .95rem var(--corpo); color: var(--texto); cursor: pointer; transition: border-color .2s; }
.video__btn:hover { border-color: var(--realce); }
.habitos__titulo { margin: 1.75rem 0 0; font-weight: 700; }
.habitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: .35rem 2rem; margin: .6rem 0 0; padding-left: 1.4rem; max-width: 34rem; list-style: decimal; }
.habitos li::marker { color: var(--realce); font-weight: 700; }
.aviso { margin: 2rem 0 0; font-size: .9rem; color: var(--texto-suave); max-width: 80ch; }

/* Começar */
.comecar { background: var(--bloco); color: var(--branco); }
.comecar__grade { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.monte { min-width: 0; }
.monte__apoio { margin-top: 1rem; }
fieldset { border: 0; margin: 2rem 0 0; padding: 0; min-width: 0; }
legend, .campo { font-family: var(--titulo); font-stretch: 105%; font-weight: 650; font-size: 1.1rem; padding: 0; margin-bottom: .85rem; }
.campo { display: block; margin-top: 2rem; }
.opcoes { display: flex; flex-wrap: wrap; gap: .65rem; }
.opcoes label { position: relative; cursor: pointer; }
.opcoes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcoes span { display: flex; align-items: center; min-height: 2.85rem; padding: .45rem 1.1rem; border: 2px solid rgb(255 255 255 / .5); border-radius: 4px; font-weight: 600; transition: background-color .15s, border-color .15s; }
.opcoes label:hover span { border-color: var(--branco); }
.opcoes input:checked + span { background: var(--branco); border-color: var(--branco); color: var(--marinho); }
.opcoes input:focus-visible + span { outline: 3px solid var(--branco); outline-offset: 3px; }
.campo__input { width: min(100%, 22rem); min-height: 3rem; padding: .5rem .9rem; border: 2px solid rgb(255 255 255 / .5); border-radius: 4px; background: var(--marinho-2); color: var(--branco); font: inherit; }
.previa { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--faixa); border-radius: 4px 56px 4px 4px; }
.balao { position: relative; align-self: end; background: var(--gelo); color: var(--marinho); border-radius: 18px 18px 4px 18px; padding: 1.15rem 1.3rem; margin-top: 1.5rem; }
.balao p { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.previa__nota { margin: 0; font-size: .9rem; color: var(--prata); text-align: center; align-self: center; }

/* Rodapé */
.rodape { background: var(--faixa); color: var(--branco); padding-block: 4rem 6.5rem; }
.rodape__grade { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 2rem clamp(2rem, 8vw, 7rem); align-items: center; }
.rodape__logo { width: 100%; max-width: 300px; }
.rodape__contato ul { margin-top: 1.5rem; display: grid; gap: .9rem; }
.rodape__contato a { font-size: 1.15rem; font-weight: 600; text-underline-offset: .35em; text-decoration-color: var(--azul-claro); overflow-wrap: anywhere; }
.rodape__legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--faixa-linha); font-size: .9rem; color: var(--prata); max-width: none; }

/* WhatsApp flutuante, piscando */
.zap {
  position: fixed; z-index: 45;
  right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: 3.75rem; height: 3.75rem; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 8px 28px rgb(37 211 102 / .45);
  animation: pisca 1.6s ease-in-out infinite;
  transition: transform .2s;
}
.zap::before, .zap::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; pointer-events: none; opacity: 0;
  animation: onda 1.6s ease-out infinite;
}
.zap::after { animation-delay: .8s; }
.zap svg { width: 2rem; height: 2rem; fill: currentColor; }
.zap:hover { transform: scale(1.08); }
@keyframes pisca {
  0%, 100% { background-color: #25d366; box-shadow: 0 0 0 0 rgb(37 211 102 / .35), 0 8px 28px rgb(37 211 102 / .35); }
  50% { background-color: #3ff07f; box-shadow: 0 0 0 6px rgb(37 211 102 / .22), 0 8px 36px rgb(37 211 102 / .8); }
}
@keyframes onda { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.65); opacity: 0; } }

/* Visor das mensagens */
.visor { width: min(560px, 100% - 1.5rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 8px; background: var(--marinho); color: var(--branco); overflow: hidden; }
.visor[open] { display: flex; flex-direction: column; }
.visor::backdrop { background: rgb(5 10 24 / .85); }
.visor__barra { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; }
.visor__barra p { margin: 0; font-weight: 700; line-height: 1.35; }
.visor__fechar { flex: none; padding: .5rem .9rem; border: 2px solid var(--prata); border-radius: 4px; background: none; color: inherit; font: 700 .9rem var(--corpo); cursor: pointer; }
.visor__rolagem { overflow-y: auto; min-height: 0; }
.visor img { width: 100%; }
body.travado { overflow: hidden; }

/* Cliques sempre no próprio botão (necessário para o gatilho do Tag Manager) */
[data-gtm-event] * { pointer-events: none; }

/* Botão de tema */
.tema { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 2px solid var(--linha); border-radius: 50%; background: none; color: var(--texto); cursor: pointer; transition: border-color .2s; }
.tema:hover { border-color: var(--realce); }
.tema svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tema escuro */
html[data-tema="escuro"] {
  --fundo: #070d1d;
  --superficie: #0d1833;
  --texto: #eef2f8;
  --texto-suave: #aab7d0;
  --linha: #263860;
  --realce: #8fb4ef;
  --faixa: #040914;
  --faixa-linha: #17264a;
  --bloco: #173d85;
  --btn-hover: #2f66c4;
  color-scheme: dark;
}
.so-escuro, html[data-tema="escuro"] .so-claro { display: none !important; }
html[data-tema="escuro"] .so-escuro { display: block !important; }
html[data-tema="escuro"] .relato__midia img { filter: brightness(.92); }

/* Abertura com a logo enquanto carrega */
.carregando { display: none; }
.js .carregando {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  background: #0b1630;
  transition: opacity .4s ease, visibility .4s ease;
  /* segurança: some sozinho se o script não carregar */
  animation: libera 0s linear 4s forwards;
}
.carregando img { width: min(60vw, 260px); animation: surge .6s cubic-bezier(.2, .7, .2, 1) both; }
.carregando__barra { width: min(40vw, 180px); height: 5px; background: var(--marinho-2); transform: skewX(var(--inclina)); overflow: hidden; }
.carregando__barra::after { content: ""; display: block; height: 100%; background: #4a86e0; animation: enche 1s cubic-bezier(.5, 0, .2, 1) both; }
.js .carregando.saindo { opacity: 0; visibility: hidden; }
@keyframes surge { from { opacity: 0; transform: translateX(-18px) scale(.96); } }
@keyframes enche { from { transform: translateX(-100%); } }
@keyframes libera { to { opacity: 0; visibility: hidden; } }
/* as raias começam a correr quando a abertura sai */
.js .pista__raias path { animation-delay: 1.15s; }
.js .pista__raias path:nth-child(2) { animation-delay: 1.27s; }
.js .pista__raias path:nth-child(3) { animation-delay: 1.39s; }
.js .pista__raias path:nth-child(4) { animation-delay: 1.51s; }

/* Telas médias */
@media (max-width: 960px) {
  .menu-btn { display: block; order: 3; }
  .tema { order: 2; margin-left: auto; }
  .topo__linha { gap: .5rem; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .75rem var(--margem) 1.5rem;
    background: var(--fundo); border-bottom: 3px solid var(--realce);
    max-height: calc(100dvh - 4.75rem); overflow-y: auto;
  }
  .js .menu { display: none; }
  .js .menu.aberto { display: flex; }
  html:not(.js) .topo { position: static; }
  html:not(.js) .menu { position: static; width: 100%; }
  html:not(.js) .topo__linha { flex-wrap: wrap; }
  html:not(.js) .menu-btn { display: none; }
  .menu > a:not(.btn) { padding-block: .75rem; font-size: 1.15rem; }
  .menu .btn { margin-top: .75rem; }
  .credenciais__lista { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: 1fr; gap: 0; margin-top: 2.5rem; }
  .passos li { padding: 0 0 2rem 4.75rem; min-height: 4.75rem; }
  .passos li:not(:last-child)::after { top: 3rem; bottom: .25rem; left: 1.4rem; right: auto; width: 3px; height: auto; }
  .passos p { max-width: 44ch; }
}

@media (max-width: 860px) {
  .abertura__grade { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .abertura__texto { padding-block: 2rem 1.5rem; }
  .abertura__palco { min-height: 0; height: min(118vw, 560px); width: 100%; max-width: 520px; justify-self: center; }
  .pista { inset: 1rem 0 0; height: calc(100% - 1rem); }
  .abertura__foto { height: min(96%, 138cqw); }
  .sobre__grade, .treinos__grade, .relato, .comecar__grade { grid-template-columns: minmax(0, 1fr); }
  .sobre__foto { position: static; max-width: 480px; }
  .relato--inverso .relato__midia { order: 0; }
  .relato--video { grid-template-areas: "video" "texto" "foto"; grid-template-columns: minmax(0, 1fr); }
  .prints { justify-content: center; }
  .print { text-align: center; }
  .previa { position: static; }
  .rodape__grade { grid-template-columns: 1fr; justify-items: start; }
  .rodape__logo { max-width: 220px; justify-self: center; }
}

@media (max-width: 520px) {
  .credenciais__lista { grid-template-columns: 1fr; gap: 1.25rem; }
  .acoes .btn { width: 100%; }
  .acoes { justify-content: center; }
  .opcoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opcoes label:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .opcoes span { justify-content: center; text-align: center; height: 100%; padding-inline: .6rem; }
  .prints:has(.print + .print) .print { width: min(9.5rem, calc(50% - .5rem)); }
}

@media (max-width: 360px) {
  .opcoes span { padding-inline: .25rem; font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .carregando { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
