/* Landing publica do CT BioFitness — "editorial de forca".

   O desenho anterior (D-042) acertou a narrativa do produto, mas empilhava
   linguagens: cartoes de 18px de raio ao lado de botoes de 4px, tres <h2> do
   mesmo tamanho em sequencia e o mesmo CTA repetido seis vezes com o mesmo
   peso. Aqui a pagina passa a se comportar como uma revista de treino:

   - uma so escala tipografica, sem raio de borda (canto vivo em tudo)
   - foto em paisagem sangrando na borda direita, em vez de espremida num
     retrato 800x900 que cortava o atleta fora do quadro
   - fio de 1px separando conteudo no lugar de cartao com sombra
   - o laco do produto (chegou -> registrou -> sequencia -> ranking) vira uma
     faixa numerada, nao uma grade de cards

   Sem atributo `style=` e sem bloco `<style>`: a CSP nao aceita nenhum dos
   dois (D-040 e sua emenda). Sem fonte ou asset externo: quebra a PWA offline
   (D-019). Paleta e familia tipografica sao as da marca (D-027).
*/

/* ==================================================================
   1. Tokens
   ================================================================== */

:root {
  --bf-bg: #080808;
  --bf-soft: #0e0e0e;
  --bf-surface: #141414;
  --bf-red: #e1202f;
  --bf-red-hot: #f4293a;
  --bf-white: #f6f6f4;
  --bf-steel: #b8bdc3;
  --bf-muted: #9aa0a6;
  --bf-border: rgba(255, 255, 255, .13);
  --bf-hairline: rgba(255, 255, 255, .08);

  /* Oswald e Raleway sao auto-hospedadas em static/vendor/fonts (D-019).
     Raleway no corpo por ser a fonte da marca desde a D-027 -- trocar por
     Inter aqui fragmentaria a identidade contra o app do aluno. */
  --bf-display: "Oswald", "Arial Narrow", sans-serif;
  --bf-body: "Raleway", "Segoe UI", sans-serif;

  /* Escala unica. Quatro tamanhos de display, tres de corpo -- a versao
     anterior tinha nove tamanhos avulsos espalhados pelo arquivo. */
  --fs-display-xl: clamp(2.9rem, 6vw, 6rem);
  --fs-display-l: clamp(2.3rem, 5vw, 4.4rem);
  --fs-display-m: clamp(1.5rem, 2.6vw, 2.1rem);
  --fs-display-s: 1.05rem;
  --fs-body: .95rem;
  --fs-small: .8rem;
  --fs-micro: .68rem;

  --gap-section: clamp(2.4rem, 4vw, 4.2rem);
}

/* ==================================================================
   2. Base
   ================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.site-body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bf-bg);
  color: var(--bf-white);
  font-family: var(--bf-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Grao sobre a pagina inteira: da a textura impressa que sustenta o tom
   editorial. `pointer-events: none` mantem tudo clicavel por baixo. */
body.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* Foco visivel: nao existia na folha anterior -- navegar por teclado era
   navegar as cegas. Branco puro para contrastar com qualquer fundo daqui. */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-container { max-width: 1320px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1200;
  padding: .75rem 1rem;
  background: #fff;
  color: #111;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Titulos: uma unica regra para toda a pagina. */
.hero h1,
.section-head h2,
.contact-copy h2 {
  font-family: var(--bf-display);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero h1 { font-size: var(--fs-display-xl); }
.section-head h2,
.contact-copy h2 { font-size: var(--fs-display-l); }

.hero h1 em,
.section-head h2 em { color: var(--bf-red); font-style: normal; }
.contact-copy h2 em { color: #fff; font-style: normal; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.15rem;
  color: var(--bf-steel);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span { flex: 0 0 auto; width: 34px; height: 2px; background: var(--bf-red); }
.eyebrow-light { color: rgba(255, 255, 255, .82); }
.eyebrow-light span { background: #fff; }

.section-head { margin-bottom: clamp(1.3rem, 2.2vw, 1.9rem); }
.section-note {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: var(--bf-muted);
  font-size: var(--fs-small);
}

.empty-note {
  padding: 2rem 0;
  color: var(--bf-muted);
  border-top: 1px solid var(--bf-border);
}
.empty-note a { color: #fff; text-underline-offset: .25em; }

/* A animacao de entrada so existe depois que o script marca `js-reveal` na
   raiz. Antes disso nada fica escondido: `opacity: 0` esperando JavaScript
   significa pagina em branco se o script falhar, for bloqueado ou demorar --
   caro demais para a porta de entrada da academia. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ==================================================================
   3. Botoes
   ================================================================== */

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: 0;
  padding: .7rem 1.3rem;
  background: none;
  color: inherit;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.button-lg { min-height: 54px; padding: .85rem 1.7rem; font-size: .72rem; }

.button-primary { background: var(--bf-red); border-color: var(--bf-red); color: #fff; }
.button-primary:hover { background: var(--bf-red-hot); border-color: var(--bf-red-hot); color: #fff; transform: translateY(-2px); }

.button-ghost { border-color: rgba(255, 255, 255, .24); color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; }

.button-light { background: #fff; border-color: #fff; color: #111; }
.button-light:hover { background: #111; border-color: #111; color: #fff; transform: translateY(-2px); }

.button-text { padding-inline: .3rem; color: var(--bf-steel); }
.button-text:hover { color: #fff; }
.button-text i { transition: transform .18s ease; }
.button-text:hover i { transform: translateX(3px); }

/* ==================================================================
   4. Navegacao
   ================================================================== */

.site-header { position: relative; z-index: 1040; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  min-height: 88px;
  padding: 0;
  background: rgba(8, 8, 8, .88);
  border-bottom: 1px solid var(--bf-hairline);
  backdrop-filter: blur(16px);
}
.site-nav-inner { display: flex; align-items: center; }

.site-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
/* Logotipo oficial. A 40px o "FITNESS" vira borrao -- a 56px o conjunto le,
   e a 88px respira. Por isso a barra ganhou altura: emblema empilhado precisa
   de mais espaco vertical que um wordmark horizontal. */
.brand-logo { display: block; width: auto; }
.brand-nav { height: 56px; }

.site-links { gap: .1rem; }
.site-nav .navbar-nav .nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .45rem;
  padding: .7rem .85rem;
  color: #c9c9c9;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  right: .85rem;
  bottom: .4rem;
  left: .85rem;
  height: 2px;
  background: var(--bf-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .nav-link:focus { color: #fff; }
.site-nav .navbar-nav .nav-link:hover::after,
.site-nav .navbar-nav .nav-link:focus::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: .6rem; margin-left: 1.2rem; }
.site-toggler { border-color: rgba(255, 255, 255, .25); border-radius: 0; }
.site-offcanvas { background: #0b0b0b; color: #fff; border-left: 1px solid var(--bf-border); }

/* ==================================================================
   5. Heroi
   ================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(78vh, 690px);
  padding: 132px 0 clamp(2.4rem, 4.5vw, 3.6rem);
  overflow: hidden;
  background: var(--bf-bg);
}

.hero-figure { position: absolute; inset: 0; margin: 0; }
.hero-figure picture { display: block; width: 100%; height: 100%; }
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Preto e branco: a foto vira textura de fundo e devolve o vermelho da
     marca como unica cor viva da dobra. */
  filter: grayscale(1) contrast(1.12) brightness(.85);
}
/* Foto vinda do admin (`BannerImage`) tambem entra em preto e branco: decisao
   do responsavel, tomada depois de ver as duas versoes. Contraste mais alto e
   escurecimento menor que na foto generica, porque a foto do salao ja e escura
   -- e o P&B ainda ajuda a disfarcar a resolucao baixa do original, que sobe
   ampliado no desktop. */
.hero-figure-real img { filter: grayscale(1) contrast(1.18) brightness(.92); }
.hero-figure-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .78) 0%, rgba(8, 8, 8, .86) 50%, var(--bf-bg) 100%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 40rem; }
.hero-lead {
  max-width: 34rem;
  margin-top: 1.3rem;
  color: var(--bf-steel);
  font-size: 1.02rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.6rem;
}

/* Tres fatos secos no lugar das antigas "pilulas de prova": endereco e
   horario saem de configuracao e do banco (D-025, D-036). */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 46rem;
  margin: clamp(1.7rem, 3.5vw, 2.6rem) 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--bf-border);
}
.hero-facts dt {
  color: var(--bf-red);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-facts dd {
  margin: .45rem 0 0;
  color: var(--bf-steel);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.hero-facts dd a { color: var(--bf-steel); text-decoration: none; border-bottom: 1px solid var(--bf-border); }
.hero-facts dd a:hover { color: #fff; border-color: #fff; }

/* Selo "TA PAGO!": o gesto que define o produto, tratado como carimbo. */
.hero-stamp {
  position: absolute;
  z-index: 4;
  left: 1.2rem;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 216px;
  padding: .9rem 1.1rem;
  background: rgba(10, 10, 10, .93);
  border: 1px solid var(--bf-border);
  border-left: 3px solid var(--bf-red);
}
.stamp-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bf-red);
  color: #fff;
  font-size: 1.15rem;
}
.stamp-copy { display: grid; }
.stamp-copy small { color: var(--bf-muted); font-size: .57rem; letter-spacing: .12em; text-transform: uppercase; }
.stamp-copy strong { margin-top: .2rem; font-family: var(--bf-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .05em; }

/* ==================================================================
   6. Manifesto (faixa em movimento)
   ================================================================== */

.manifesto {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: .95rem 0;
  background: var(--bf-red);
}
.manifesto-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--bf-display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: manifestoMove 32s linear infinite;
}
.manifesto-track i { width: 5px; height: 5px; background: #fff; transform: rotate(45deg); }
@keyframes manifestoMove { to { transform: translateX(-50%); } }

/* ==================================================================
   7. A experiencia
   ================================================================== */

.experience { padding: var(--gap-section) 0; background: var(--bf-bg); }

.story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(1.4rem, 2.5vw, 2.2rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--bf-border);
  border-bottom: 1px solid var(--bf-border);
}
.story-step { padding: 1.3rem 1.4rem 1.4rem; border-right: 1px solid var(--bf-hairline); }
.story-step:first-child { padding-left: 0; }
.story-step:last-child { padding-right: 0; border-right: 0; }

.story-number {
  display: block;
  margin-bottom: .75rem;
  color: rgba(255, 255, 255, .16);
  font-family: var(--bf-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
}
@supports (-webkit-text-stroke: 1px red) {
  .story-number { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); }
  .story-step:first-child .story-number { -webkit-text-stroke-color: var(--bf-red); }
}
.story-step h3 {
  margin-bottom: .6rem;
  font-family: var(--bf-display);
  font-size: var(--fs-display-s);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story-step p { color: var(--bf-muted); font-size: var(--fs-small); line-height: 1.65; }

/* A prova: o app do aluno ao lado do argumento, nao dentro de um card. */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(1.8rem, 3.2vw, 2.8rem);
}
.proof-copy h3 {
  margin-bottom: 1.1rem;
  font-family: var(--bf-display);
  font-size: var(--fs-display-m);
  font-weight: 500;
  line-height: 1.15;
}
.proof-copy > p { max-width: 32rem; color: var(--bf-muted); line-height: 1.8; }
.proof-copy .button { margin-top: 1.4rem; }

.app-mock { padding: 1.6rem; background: var(--bf-surface); border: 1px solid var(--bf-border); }
.app-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; }
.app-hello { display: grid; }
.app-hello small { color: var(--bf-muted); font-size: .62rem; }
.app-hello strong { font-size: .84rem; }
.app-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--bf-red);
  font-family: var(--bf-display);
  font-weight: 700;
}
.app-top > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--bf-border);
  border-radius: 50%;
  font-size: .9rem;
}

.streak-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  padding: .95rem 1.05rem;
  border: 1px solid rgba(225, 32, 47, .38);
  background: linear-gradient(135deg, rgba(225, 32, 47, .18), rgba(225, 32, 47, .02));
}
.streak-card span { display: grid; }
.streak-card small { color: var(--bf-muted); font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.streak-card strong { margin-top: .2rem; font-family: var(--bf-display); font-size: 1.28rem; font-weight: 500; text-transform: uppercase; }
.streak-card strong i { color: var(--bf-red); }
.streak-card b { color: var(--bf-steel); font-size: .62rem; font-weight: 600; text-transform: uppercase; }

.checkin-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .9rem;
  margin-top: .85rem;
  padding: 1rem;
  background: var(--bf-red);
}
.fingerprint {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  font-size: 1.2rem;
}
.checkin-copy { display: grid; }
.checkin-copy small { font-size: .56rem; letter-spacing: .06em; }
.checkin-copy strong { margin-top: .12rem; font-family: var(--bf-display); font-size: .96rem; font-weight: 600; letter-spacing: .06em; }
.location-ok {
  grid-column: 1 / -1;
  padding-top: .55rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: .6rem;
}
.location-ok i { margin-right: .35rem; }

.app-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-top: .85rem; }
.app-bottom span {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: .6rem .2rem;
  border: 1px solid var(--bf-hairline);
  color: var(--bf-muted);
  font-size: .54rem;
}
.app-bottom i { color: var(--bf-red); font-size: .95rem; }

/* ==================================================================
   8. Modalidades e horarios — duas colunas do mesmo bloco
   ================================================================== */

/* "O que se treina" e "quando" lado a lado: empilhadas custavam um scroll
   inteiro entre uma metade e a outra da mesma pergunta. */
.grade { padding: var(--gap-section) 0; background: var(--bf-soft); }
.grade-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.2rem, 5vw, 4.5rem);
}
.grade-hours h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }

.modality-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--bf-border); }
.modality {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1.1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--bf-hairline);
}
.modality > i { flex: 0 0 auto; width: 1.6rem; color: var(--bf-red); font-size: 1.1rem; }
.modality-name {
  font-family: var(--bf-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.1;
  text-transform: uppercase;
}
.modality-when {
  margin-left: auto;
  color: var(--bf-steel);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.modality-when b { color: #fff; font-family: var(--bf-display); font-size: .95rem; letter-spacing: .06em; }
.modality-when a { color: var(--bf-steel); }
.modality-desc {
  flex-basis: 100%;
  padding-left: 2.7rem;
  color: var(--bf-muted);
  font-size: var(--fs-small);
}

/* ==================================================================
   9. Planos — tabela editorial, uma linha por plano
   ================================================================== */

.plans { padding: var(--gap-section) 0; background: var(--bf-bg); }

.plan-table { border-top: 1px solid var(--bf-border); }
.plan-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(8rem, 1.05fr) minmax(7rem, .85fr) minmax(0, 1.4fr) auto;
  grid-template-areas: "idx name price cond cta";
  align-items: center;
  gap: 1.4rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--bf-hairline);
}
.plan-index {
  grid-area: idx;
  color: var(--bf-muted);
  font-family: var(--bf-display);
  font-size: .82rem;
  letter-spacing: .1em;
}
.plan-id { grid-area: name; }
.plan-id h3 {
  font-family: var(--bf-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.plan-badge {
  display: inline-block;
  margin-top: .45rem;
  padding: .18rem .55rem;
  background: var(--bf-red);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.plan-price {
  grid-area: price;
  display: flex;
  align-items: baseline;
  gap: .3rem;
  font-family: var(--bf-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}
.plan-currency { color: var(--bf-muted); font-size: .95rem; }
.plan-price small { color: var(--bf-muted); font-family: var(--bf-body); font-size: .74rem; font-weight: 500; }

/* Condicoes em linha, nao empilhadas: com tres bullets por plano e seis
   planos, a lista sozinha respondia por quase um terco da altura da secao. */
.plan-conditions {
  grid-area: cond;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan-conditions li {
  position: relative;
  padding-left: .85rem;
  color: var(--bf-steel);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.plan-conditions li::before {
  content: "";
  position: absolute;
  top: .5rem;
  left: 0;
  width: .3rem;
  height: .3rem;
  background: var(--bf-red);
}
.plan-cta { grid-area: cta; }

/* Plano em destaque: um bloco vermelho a esquerda e o CTA solido. Sem sombra
   colorida -- o destaque vem da cor e do peso, nao de brilho. */
.plan-row-featured {
  padding-left: 1.3rem;
  border-left: 3px solid var(--bf-red);
  background: linear-gradient(90deg, rgba(225, 32, 47, .12), rgba(225, 32, 47, 0) 55%);
}

/* Coluna dos horarios (mesmo bloco `.grade` da secao 8). */
.hours-table { margin: 0; border-top: 1px solid var(--bf-border); }
.hours-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--bf-hairline);
}
.hours-row dt {
  font-family: var(--bf-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hours-row dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 2rem; margin: 0; }
.period {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  font-family: var(--bf-display);
  font-size: 1.3rem;
  font-weight: 400;
}
.period i { color: var(--bf-muted); font-size: .9rem; }
.period a { color: #fff; }
.hours-note { flex-basis: 100%; color: var(--bf-muted); font-size: var(--fs-small); }

/* ==================================================================
   11. Contato
   ================================================================== */

.contact { padding: var(--gap-section) 0 0; background: var(--bf-bg); }

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  overflow: hidden;
  background: var(--bf-red);
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  background: repeating-linear-gradient(120deg, transparent 0 22px, #fff 22px 23px);
}
.contact-copy { position: relative; z-index: 2; padding: clamp(2.2rem, 4vw, 3.2rem) clamp(1.5rem, 3.5vw, 3rem); }
.contact-copy p { margin: 1rem 0 1.8rem; max-width: 28rem; color: rgba(255, 255, 255, .88); }

.contact-links { position: relative; z-index: 2; display: grid; background: rgba(8, 8, 8, .96); }
/* A fachada abrindo a coluna de contato. `aspect-ratio` fixa a altura antes de
   a imagem chegar, entao a lista de links nao pula quando ela carrega. */
.contact-sign { margin: 0; border-bottom: 1px solid var(--bf-hairline); background: #050505; }
.contact-sign img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: contain;
}

.contact-links > a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid var(--bf-hairline);
  color: #fff;
  text-decoration: none;
}
.contact-links > a:last-child { border-bottom: 0; }
.contact-links > a > i:first-child {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--bf-border);
  color: var(--bf-red);
}
.contact-links > a > i:last-child { color: #777; transition: color .18s ease, transform .18s ease; }
.contact-links > a:hover { background: rgba(255, 255, 255, .04); }
.contact-links > a:hover > i:last-child { color: var(--bf-red); transform: translate(3px, -3px); }
.contact-links span { display: grid; min-width: 0; font-size: var(--fs-small); font-weight: 600; }
.contact-links small {
  margin-bottom: .15rem;
  color: var(--bf-muted);
  font-size: .53rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ==================================================================
   12. Rodape e flutuante
   ================================================================== */

.site-footer { margin-top: clamp(1.6rem, 3vw, 2.4rem); padding: 1.1rem 0 1.4rem; background: var(--bf-bg); border-top: 1px solid var(--bf-hairline); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.6rem; }
.footer-grid small { margin-left: auto; }
.footer-grid a {
  color: var(--bf-steel);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-grid a:hover { color: #fff; }
.footer-grid p, .footer-grid small { color: var(--bf-muted); font-size: var(--fs-micro); }
.footer-grid button {
  border: 0;
  background: none;
  color: var(--bf-steel);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-grid button:hover { color: #fff; }

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1020;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .65rem .95rem;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(16, 16, 16, .94);
  color: #fff;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}
.floating-whatsapp i { color: var(--bf-red); font-size: 1.2rem; }
.floating-whatsapp:hover { background: var(--bf-red); color: #fff; }
.floating-whatsapp:hover i { color: #fff; }

/* ==================================================================
   13. Modal de acesso
   ================================================================== */

.login-modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--bf-border);
  border-radius: 0;
  background: #0d0d0d;
  color: #fff;
}
.login-modal .modal-header { align-items: flex-start; padding: 1.8rem 1.8rem 1rem; }
.login-modal .modal-header p { margin: .35rem 0 0; color: var(--bf-muted); font-size: var(--fs-small); }
.modal-kicker { color: var(--bf-steel); font-size: .58rem; font-weight: 700; letter-spacing: .2em; }
.login-modal .modal-title { margin-top: .35rem; font-family: var(--bf-display); font-size: 1.85rem; font-weight: 500; text-transform: uppercase; }
.login-modal .modal-body { padding: 0 1.8rem 1.8rem; }

.login-tabs { gap: .3rem; margin-bottom: 1.2rem; padding: .25rem; background: #070707; border: 1px solid var(--bf-border); }
.login-tabs .nav-link {
  border-radius: 0;
  color: var(--bf-muted);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.login-tabs .nav-link.active { background: var(--bf-red); color: #fff; }

.form-field { display: grid; gap: .4rem; margin-bottom: .9rem; }
.form-field label { color: var(--bf-steel); font-size: var(--fs-small); font-weight: 600; }
.form-field input {
  min-height: 46px;
  padding: .65rem .8rem;
  border: 1px solid var(--bf-border);
  border-radius: 0;
  outline: 0;
  background: #161616;
  color: #fff;
}
.form-field input:focus { border-color: var(--bf-red); box-shadow: 0 0 0 3px rgba(225, 32, 47, .18); }
.forgot-link { display: block; margin-top: .9rem; color: var(--bf-muted); font-size: var(--fs-small); text-align: center; }
.forgot-link:hover { color: #fff; }

/* ==================================================================
   14. Respiro por largura
   ================================================================== */

@media (min-width: 992px) {
  .site-offcanvas {
    position: static;
    visibility: visible !important;
    transform: none !important;
    background: transparent;
    border: 0;
  }
  .site-offcanvas .offcanvas-header { display: none; }
  .site-offcanvas .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    overflow: visible;
  }

  /* A foto deixa de cobrir a secao e passa a sangrar so na metade direita
     da janela; o degrade a dissolve dentro do fundo da pagina. */
  .hero-figure { inset: 0 0 0 auto; width: min(46vw, 780px); }
  .hero-figure-shade {
    background:
      linear-gradient(90deg, var(--bf-bg) 0%, rgba(8, 8, 8, .6) 26%, rgba(8, 8, 8, 0) 62%),
      linear-gradient(180deg, rgba(8, 8, 8, .5) 0%, rgba(8, 8, 8, 0) 32%, rgba(8, 8, 8, .8) 100%);
  }
  .hero-copy { max-width: min(40rem, 44vw); }
  .hero-facts { max-width: min(46rem, 48vw); }
  /* O carimbo cavalga a borda esquerda da foto -- a sobreposicao e o que
     amarra a coluna de texto a imagem. Fica longe do botao flutuante do
     WhatsApp, que e fixo no canto inferior direito. */
  .hero-stamp { left: -1.6rem; bottom: 3rem; }
}

@media (max-width: 991.98px) {
  .site-nav { min-height: 76px; }
  .brand-nav { height: 46px; }
  .site-offcanvas .offcanvas-body { display: flex; flex-direction: column; }
  .site-links { width: 100%; margin-top: 1rem; }
  .site-nav .navbar-nav .nav-link { padding: .95rem 0; border-bottom: 1px solid var(--bf-hairline); }
  .nav-actions { width: 100%; flex-direction: column; align-items: stretch; margin: auto 0 0; padding-top: 2rem; }

  .hero { min-height: auto; padding-top: 120px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .grade-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-step { padding: 1.9rem 1.4rem; border-bottom: 1px solid var(--bf-hairline); }
  .story-step:nth-child(2n) { padding-right: 0; border-right: 0; }
  .story-step:nth-child(2n+1) { padding-left: 0; }
  .story-step:nth-last-child(-n+2) { border-bottom: 0; }

  .proof { grid-template-columns: 1fr; }
  .app-mock { max-width: 420px; }

  .plan-row {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
      "idx name"
      ".   price"
      ".   cond"
      ".   cta";
    align-items: start;
    gap: .9rem 1rem;
  }
  .plan-cta { justify-self: start; margin-top: .5rem; }

  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .hero-facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .story { grid-template-columns: 1fr; }
  .story-step { padding: 1.7rem 0; border-right: 0; border-bottom: 1px solid var(--bf-hairline); }
  .story-step:last-child { border-bottom: 0; }
  .hours-row { grid-template-columns: 1fr; gap: .6rem; }
  .footer-grid small { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 575.98px) {
  .site-container { padding-right: 1.2rem; padding-left: 1.2rem; }
  .brand-nav { height: 42px; }

  .hero { padding-top: 108px; }
  .hero-lead { font-size: .95rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button-primary { width: 100%; }
  .hero-stamp { right: 1rem; bottom: 1rem; min-width: 0; padding: .7rem .85rem; }
  .stamp-copy strong { font-size: 1.1rem; }

  .app-mock { padding: 1.2rem; }
  .streak-card { align-items: flex-start; }
  .streak-card b { display: none; }
  .app-bottom { grid-template-columns: 1fr 1fr; }

  .modality-when { flex-basis: 100%; margin-left: 0; padding-left: 2.7rem; }
  .modality-desc { padding-left: 2.7rem; }

  .plan-row { padding: 1.5rem 0; }
  .plan-cta { width: 100%; }
  .plan-row-featured { padding-left: 1rem; }

  .contact-links > a { padding: .9rem 1.1rem; }

  .floating-whatsapp { width: 50px; height: 50px; justify-content: center; padding: 0; }
  .floating-whatsapp span { display: none; }

  .login-modal .modal-dialog { margin: .8rem; }
  .login-modal .modal-header { padding: 1.4rem 1.3rem .9rem; }
  .login-modal .modal-body { padding: 0 1.3rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
