/* Academia Bio Sport — site (modo direto, 12/11/2026). Tokens em tokens.css (marca base). */
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-VF-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bio-preto); color: var(--bio-giz); font: var(--peso-texto) var(--fs-texto)/var(--lh-texto) var(--fonte-texto); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
p { margin: 0; }
h1, h2 { font-family: var(--fonte-display); font-weight: 400; text-transform: uppercase; line-height: var(--lh-display); letter-spacing: .005em; margin: 0; }
h2 { font-size: var(--fs-h2); }
:focus-visible { outline: 3px solid var(--bio-verde); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: var(--opacidade-grao); background-image: var(--textura-grao); }
.pular { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--bio-verde); color: var(--bio-preto); padding: .75rem 1rem; }
.pular:focus { top: 1rem; }

.topo__in, .horario, .estrutura, .planos, .final, .rodape, .hero__txt { width: min(100% - 2 * var(--margem), var(--largura-max)); margin-inline: auto; }

/* tarjas: a assinatura das artes da Bio */
.tarja { display: inline-block; font-family: var(--fonte-display); text-transform: uppercase; font-size: clamp(.95rem, .85rem + .4vw, 1.25rem); letter-spacing: .02em; line-height: 1; padding: .45em .6em .4em; }
.tarja--verde { background: var(--bio-verde); color: var(--bio-preto); }
.tarja--laranja { background: var(--bio-laranja); color: var(--bio-preto); }
.rotulo { font-weight: var(--peso-rotulo); font-stretch: var(--largura-rotulo); letter-spacing: var(--rotulo-tracking); text-transform: uppercase; font-size: var(--fs-rotulo); color: var(--bio-laranja); margin-bottom: var(--esp-5); }

/* botões */
.btn { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; padding: .85rem 1.5rem; border-radius: var(--raio-pilula); font-weight: var(--peso-forte); text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: transform var(--t-medio) var(--curva-saida), color var(--t-medio); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bio-giz); transform: scaleX(0); transform-origin: left; transition: transform var(--t-lento) var(--curva-saida); }
.btn:hover { transform: translateY(var(--hover-subida)); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn svg { width: 1.2em; height: 1.2em; transition: transform var(--t-medio) var(--curva-saida); }
.btn:hover svg { transform: translateX(4px); }
.btn--laranja { background: var(--bio-laranja); color: var(--bio-preto); }
.btn--claro { background: var(--bio-giz); color: var(--bio-preto); }
.btn--claro::before { background: var(--bio-laranja); }
.btn--grande { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); min-height: 60px; padding: 1rem 1.8rem; }
.link-seta { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: var(--peso-forte); color: var(--bio-laranja); text-decoration: none; }
.link-seta span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--t-lento) var(--curva-saida); }
.link-seta:hover span { background-size: 100% 2px; }

/* topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgb(14 14 14 / .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bio-aco); }
.topo__in { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.topo__marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.topo__marca img { width: 56px; height: 56px; }
.topo__marca span { font-family: var(--fonte-display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; }
.topo__nav { display: flex; gap: 1.75rem; margin-left: auto; font-weight: 600; }
.topo__nav a { text-decoration: none; padding: .7rem 0; background: linear-gradient(var(--bio-laranja), var(--bio-laranja)) 0 85% / 0 3px no-repeat; transition: background-size var(--t-medio) var(--curva-saida); }
.topo__nav a:hover { background-size: 100% 3px; }
.topo__cta { min-height: 44px; padding: .55rem 1.2rem; }

/* 1. hero */
.hero { position: relative; min-height: calc(100svh - 76px); display: grid; align-items: end; overflow: hidden; padding-bottom: clamp(2rem, 6vh, 4.5rem); }
.hero__foto { position: absolute; inset: 0; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 14 14 / .2) 0%, rgb(14 14 14 / .5) 45%, var(--bio-preto) 100%); }
.hero__foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--textura-meio-tom); opacity: .55; -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 45%); mask-image: linear-gradient(115deg, #000 0%, transparent 45%); }
.hero__txt { position: relative; z-index: 2; }
.hero__tarja { margin-bottom: var(--esp-5); }
.hero__titulo { font-size: var(--fs-hero); max-width: 11ch; color: var(--bio-giz); }
.hero__base { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: var(--esp-6); padding-top: var(--esp-5); border-top: var(--linha-piso) solid var(--bio-laranja); }
.hero__base p { max-width: 44ch; font-size: var(--fs-texto-grande); }
.hero__selo { position: absolute; z-index: 1; right: var(--margem); top: clamp(1.5rem, 5vh, 3rem); width: clamp(110px, 14vw, 210px); height: auto; filter: drop-shadow(0 18px 40px rgb(0 0 0 / .6)); }

/* 2. horário */
.horario { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding-block: var(--secao); align-items: start; }
.horario__cab { grid-column: 1 / span 5; }
.horario__cab h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem); }
.horario__end { display: flex; gap: .6rem; margin: var(--esp-6) 0 var(--esp-3); color: var(--bio-giz); font-size: var(--fs-texto-grande); }
.horario__end svg { width: 1.3em; height: 1.3em; color: var(--bio-laranja); margin-top: .15em; }
.horario__grade { grid-column: 7 / -1; margin: 0; }
.horario__grade > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1.5rem; padding: var(--esp-5) 0; border-top: 1px solid var(--bio-aco); }
.horario__grade > div:last-child { border-bottom: 1px solid var(--bio-aco); }
.horario__grade dt { font-weight: var(--peso-forte); color: var(--bio-fumaca); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.horario__grade dd { margin: 0; display: flex; align-items: center; gap: .5em; font-family: var(--fonte-display); font-size: var(--fs-numero); line-height: 1; color: var(--bio-giz); grid-row: span 2; }
.horario__grade dd i { display: block; width: .8em; height: .12em; background: var(--bio-laranja); }
.horario__grade .tarja { justify-self: start; font-size: .85rem; }

/* 3. manifesto (fixo) */
.manifesto { position: relative; background: var(--bio-grafite); }
.manifesto__pin { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.manifesto__fotos { position: sticky; top: 76px; height: calc(100svh - 76px); overflow: hidden; }
.manifesto__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--curva-saida), transform 1.4s var(--curva-saida); }
.manifesto__fotos img.embaixo { object-position: 22% 100%; }
.manifesto__fotos img.esquerda { object-position: 6% 100%; }
.manifesto__fotos img.centro { object-position: 72% 50%; }
.cap__foto { display: none; }
.manifesto__fotos img.ativo { opacity: 1; transform: none; }
.manifesto__fotos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 82%, var(--bio-grafite)); }
.manifesto__lista { list-style: none; margin: 0; padding: 0 var(--margem); }
.cap { min-height: 80svh; align-content: center; opacity: .35; transition: opacity var(--t-lento) var(--curva-saida); }
.cap.ativo { opacity: 1; }
.cap { display: grid; gap: var(--esp-4); max-width: 34rem; }
.cap__n { font-family: var(--fonte-display); color: var(--bio-laranja); font-size: 1.3rem; }
.cap__t { font-family: var(--fonte-display); text-transform: uppercase; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem); line-height: .92; }
.cap__d { color: var(--bio-fumaca); font-size: var(--fs-texto-grande); max-width: 40ch; }

/* 4. estrutura */
.estrutura { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; padding-block: var(--secao); }
.estrutura__foto { grid-column: 1 / span 6; margin: 0; }
.moldura { overflow: hidden; aspect-ratio: 4 / 3.4; border-bottom: var(--linha-piso) solid var(--bio-laranja); }
.moldura img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva-saida); }
.estrutura__txt { grid-column: 8 / -1; }
.estrutura__txt h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.2rem); }
.estrutura__lista { list-style: none; padding: 0; margin: var(--esp-7) 0 0; }
.estrutura__lista li { display: grid; gap: .2rem; padding: var(--esp-4) 0; border-top: 1px solid var(--bio-aco); }
.estrutura__lista strong { font-family: var(--fonte-display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; letter-spacing: .01em; }
.estrutura__lista span { color: var(--bio-fumaca); }
.estrutura__lista a { color: var(--bio-laranja); font-weight: var(--peso-forte); display: inline-block; padding-block: .6rem; }

/* 5. faixa */
.faixa { position: relative; height: clamp(320px, 55vh, 620px); overflow: hidden; background: url("../img/costelas.svg") center bottom / min(900px, 90%) no-repeat, var(--bio-preto); }
.faixa__foto { position: absolute; inset: 0; opacity: .55; }
.faixa__foto img { width: 100%; height: 100%; object-fit: cover; }
.faixa__quadro { position: absolute; right: var(--margem); bottom: -1px; width: clamp(180px, 24vw, 340px); border: 6px solid var(--bio-preto); border-bottom: 0; }

/* 6. planos */
.planos { padding-block: var(--secao); display: grid; justify-items: start; gap: var(--esp-5); }
.planos h2 { max-width: 16ch; }
.planos__txt { max-width: 52ch; color: var(--bio-fumaca); font-size: var(--fs-texto-grande); }

/* 7. tipo */
.tipo { overflow: hidden; padding-block: var(--esp-8); border-block: 1px solid var(--bio-aco); }
.tipo__linha { white-space: nowrap; font-family: var(--fonte-display); text-transform: uppercase; font-size: clamp(5rem, 2rem + 14vw, 16rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--bio-laranja); }
.tipo__linha span { color: var(--bio-laranja); -webkit-text-stroke: 0; }

/* 8. final */
.final { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; padding-block: var(--secao); }
.final__selo { grid-column: 1 / span 4; width: 100%; max-width: 360px; height: auto; }
.final__txt { grid-column: 6 / -1; display: grid; justify-items: start; gap: var(--esp-5); }
.final h2 { font-size: var(--fs-h2); max-width: 12ch; }
.final__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.final__links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--bio-fumaca); text-decoration: none; background: linear-gradient(var(--bio-laranja), var(--bio-laranja)) 0 85% / 0 2px no-repeat; transition: background-size var(--t-medio) var(--curva-saida), color var(--t-medio); }
.final__links a:hover { color: var(--bio-giz); background-size: 100% 2px; }
.rodape { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: var(--esp-7) 6rem; border-top: 1px solid var(--bio-aco); color: var(--bio-fumaca); font-size: .9rem; }

.zap-fixo { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 55; display: none; justify-content: center; align-items: center; min-height: 56px; background: var(--bio-laranja); color: var(--bio-preto); font-weight: var(--peso-forte); text-decoration: none; border-radius: var(--raio-pilula); box-shadow: var(--sombra-2); }

/* movimento: visível por padrão */
@keyframes sobe { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes par { from { transform: translateY(-8%) scale(1.16); } to { transform: translateY(8%) scale(1.16); } }
@keyframes corre { from { transform: translateX(0); } to { transform: translateX(-40%); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: sobe linear both; animation-timeline: view(); animation-range: entry 5% cover 25%; }
    .parallax img { animation: par linear both; animation-timeline: view(); }
    .tipo__linha { animation: corre linear both; animation-timeline: view(); }
  }
  html.io .reveal { opacity: 0; transform: translateY(40px); transition: opacity var(--t-lento) var(--curva-saida), transform var(--t-lento) var(--curva-saida); }
  html.io .reveal.in { opacity: 1; transform: none; }
  .moldura:hover img { transform: scale(var(--zoom-foto)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .15s !important; }
}

/* responsivo */
@media (max-width: 1024px) {
  .topo__nav { display: none; }
  .topo__cta { margin-left: auto; }
  .hero__selo { display: none; }
  .horario__cab, .horario__grade { grid-column: 1 / -1; }
  .estrutura__foto { grid-column: 1 / -1; }
  .estrutura__txt { grid-column: 1 / -1; }
  .final__selo { grid-column: 1 / span 4; }
  .final__txt { grid-column: 5 / -1; }
}
@media (max-width: 760px) {
  .topo__in { min-height: 64px; }
  .topo__marca img { width: 46px; height: 46px; }
  .topo__cta { display: none; }
  .hero { min-height: calc(100svh - 64px); }
  .hero__foto img { object-position: 50% 30%; }
  .hero__selo { display: none; }
  .manifesto__pin { grid-template-columns: 1fr; }
  .manifesto__fotos { display: none; }
  .manifesto__lista { padding-block: var(--esp-8); display: grid; gap: var(--esp-9); }
  .cap { min-height: auto; opacity: 1; }
  .cap__foto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: var(--esp-3); }
  .cap__foto.embaixo { object-position: 30% 100%; }
  .final { grid-template-columns: 1fr; }
  .final__selo, .final__txt { grid-column: 1; }
  .final__selo { max-width: 160px; }
  .rodape { padding-bottom: 7rem; }
  .zap-fixo { display: flex; }
}
