:root {
  --preto: #0c0d0b;
  --preto-2: #151713;
  --preto-3: #1e211b;
  --fio: #2c3027;
  --verde: #9fe02a;
  --verde-escuro: #6fa313;
  --texto: #eceee6;
  --texto-2: #c4c8bb;
  --claro: #f2f3ee;
  --tinta: #141612;
  --raio: 6px;
  --lado: clamp(16px, 4.5vw, 64px);
  --titulo: 'Saira', system-ui, sans-serif;
  --corpo: 'Figtree', system-ui, sans-serif;
  --titulo-largura: 112%;
  --titulo-peso: 800;
  --titulo-esp: -0.02em;
}
html[data-fonte='b'] { --titulo: 'Archivo', system-ui, sans-serif; --corpo: 'Archivo', system-ui, sans-serif; --titulo-largura: 118%; --titulo-esp: -0.025em; }
html[data-fonte='c'] { --titulo: 'Unbounded', system-ui, sans-serif; --corpo: 'Onest', system-ui, sans-serif; --titulo-largura: 100%; --titulo-peso: 700; --titulo-esp: -0.03em; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--corpo);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 {
  font-family: var(--titulo);
  font-weight: var(--titulo-peso);
  font-stretch: var(--titulo-largura);
  letter-spacing: var(--titulo-esp);
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(32px, 4.4vw, 52px); }
p { margin: 0; }
strong { font-weight: 700; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--raio);
  font: 700 17px/1.1 var(--corpo);
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-whats { background: var(--verde); color: var(--preto); }
.btn-whats:hover { background: #b6f04a; }
.btn-whats::before {
  content: '';
  width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2c-1.5 0-3-.4-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.8-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2c0 1.3.9 2.5 1 2.7.1.2 1.8 2.8 4.4 3.9 1.6.7 2.3.8 3.1.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2c-1.5 0-3-.4-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.8-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2c0 1.3.9 2.5 1 2.7.1.2 1.8 2.8 4.4 3.9 1.6.7 2.3.8 3.1.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn-apagado { background: var(--preto-3); color: var(--texto); }
.btn-apagado:hover { background: var(--fio); }
.btn-linha { background: var(--preto-3); color: var(--texto); }
.btn-linha:hover { background: var(--fio); }
.btn-grande { min-height: 60px; font-size: 19px; padding: 0 32px; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

/* ---------- topo ---------- */
.topo {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--lado);
}
.marca { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.marca-forte {
  font-family: 'Saira', var(--titulo);
  font-weight: 900;
  font-style: italic;
  font-stretch: 112%;
  font-size: 34px;
  letter-spacing: -0.01em;
  color: var(--verde);
}
.marca-academia { font-size: 12.5px; font-weight: 600; color: var(--texto); letter-spacing: .32em; margin-top: 1px; padding-left: .32em; }
.topo-status { margin-left: auto; color: var(--texto-2); font-size: 16px; display: flex; align-items: center; gap: 10px; }
.topo-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #6b6f63; }
.topo-status.aberto { color: var(--texto); }
.topo-status.aberto::before { background: var(--verde); box-shadow: 0 0 0 0 rgba(159, 224, 42, .6); animation: pulsa 2.4s infinite; }
@keyframes pulsa { 70% { box-shadow: 0 0 0 9px rgba(159, 224, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 224, 42, 0); } }
.topo-btn { min-height: 46px; padding: 0 18px; font-size: 16px; }

/* ---------- abertura ---------- */
.abertura {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: 'texto foto' 'dia dia';
  column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(12px, 2vw, 28px) var(--lado) 0;
}
.abertura-texto { grid-area: texto; align-self: center; padding-bottom: 32px; }
.abertura h1 { font-size: clamp(40px, 4.9vw, 74px); }
.abertura-sub { margin-top: 20px; max-width: 34ch; color: var(--texto-2); font-size: clamp(18px, 1.5vw, 21px); }
.abertura-foto { grid-area: foto; margin: 0; position: relative; }
.abertura-foto img { width: 100%; height: clamp(280px, 40svh, 470px); object-fit: cover; object-position: 50% 62%; border-radius: var(--raio); }

/* ---------- o dia ---------- */
.dia {
  grid-area: dia;
  margin: 28px calc(var(--lado) * -1) 0;
  padding: 26px var(--lado) 34px;
  background: var(--preto-2);
  border-top: 1px solid var(--fio);
  border-bottom: 1px solid var(--fio);
  overflow: clip;
}
.dia-cabeca { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.dia-titulo { font-size: clamp(26px, 2.6vw, 34px); }
.dias { display: flex; gap: 4px; flex-wrap: wrap; }
.dias button {
  appearance: none;
  border: 0;
  background: none;
  color: var(--texto-2);
  font: 600 17px/1 var(--corpo);
  padding: 10px 10px 12px;
  cursor: pointer;
  position: relative;
}
.dias button .d-longo { display: none; }
.dias button.hoje::after { content: 'hoje'; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: var(--verde); }
.dias button[aria-checked='true'] { color: var(--texto); box-shadow: inset 0 -3px 0 var(--verde); }
.dias button:hover { color: var(--texto); }

.regua { position: relative; margin-top: 14px; padding-top: 92px; padding-bottom: 30px; user-select: none; touch-action: pan-y; }
.regua-trilho { position: relative; height: 56px; background: var(--preto); border-radius: var(--raio); overflow: hidden; }
.regua-aberto { position: absolute; top: 0; bottom: 0; background: var(--preto-3); }
.regua-passou {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: rgba(159, 224, 42, .09);
  transform-origin: left;
}
.anima .regua-passou { transform: scaleX(0); }
.anima.pronto .regua-passou { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.2, .7, .1, 1) .2s; }
.regua-agora { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--texto); opacity: .7; }
.regua-agora span { position: absolute; bottom: 4px; left: 6px; font-size: 13px; font-weight: 600; color: var(--texto); white-space: nowrap; }

.regua-aulas { position: absolute; left: 0; right: 0; top: 0; height: 92px; z-index: 2; pointer-events: none; }
.aula {
  position: absolute;
  bottom: 0;
  height: calc(var(--y, 0px) + 48px);
  border-left: 2px solid var(--verde);
  padding-left: 7px;
}
.aula span { display: inline-block; position: relative; z-index: 2; background: var(--preto-2); padding-right: 8px; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--texto); line-height: 1.2; }
.aula.n1 { z-index: 1; }
.aula.fim span { position: absolute; right: 0; top: 0; text-align: right; padding: 0 0 0 8px; }
.aula.n0 { z-index: 2; }
.aula em { display: block; font-style: normal; font-weight: 500; color: var(--texto-2); font-size: 14px; }
.aula.ativa span { color: var(--verde); }
.aula::after { content: ''; position: absolute; left: -2px; bottom: -56px; height: 56px; width: calc(100% + 2px); min-width: 6px; background: var(--verde); opacity: .45; }
.aula.ativa::after { opacity: .9; }

.regua-horas { position: relative; height: 26px; margin-top: 8px; }
.regua-horas span { position: absolute; transform: translateX(-50%); font-size: 14px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.regua-horas span:first-child { transform: none; }

.regua-range {
  -webkit-appearance: none; appearance: none;
  position: absolute; left: -32px; top: 92px; z-index: 4;
  width: calc(100% + 64px); height: 56px; margin: 0;
  background: none; cursor: grab;
}
.regua-range:active { cursor: grabbing; }
.regua-range:disabled { cursor: default; }
.regua-range::-webkit-slider-runnable-track { height: 56px; background: none; }
.regua-range::-moz-range-track { height: 56px; background: none; }
.regua-range::-webkit-slider-thumb { -webkit-appearance: none; width: 64px; height: 56px; border: 0; background: transparent; }
.regua-range::-moz-range-thumb { width: 64px; height: 56px; border: 0; background: transparent; }
.regua-range:focus-visible { outline: none; }
.regua-alca {
  position: absolute; top: 92px; z-index: 3;
  left: clamp(32px, var(--p, 50%), calc(100% - 32px));
  height: 56px; width: 0;
  pointer-events: none;
}
.regua-alca::before { content: ''; position: absolute; left: -1.5px; top: -8px; bottom: -8px; width: 3px; background: var(--verde); }
.regua-alca span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  background: var(--verde); color: var(--preto);
  font: 800 16px/1 var(--corpo); font-variant-numeric: tabular-nums;
  padding: 9px 10px; border-radius: 4px; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.regua-range:focus-visible ~ .regua-alca span { outline: 3px solid var(--texto); outline-offset: 2px; }
.regua.fechado .regua-alca { display: none; }

.dia-leitura { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 10px; }
.leitura { font-size: clamp(19px, 1.7vw, 23px); max-width: 52ch; color: var(--texto-2); }
.leitura strong { color: var(--texto); }

/* ---------- planos ---------- */
.planos { padding: clamp(72px, 9vw, 120px) var(--lado) 0; }
.planos-cabeca { display: flex; align-items: end; justify-content: space-between; gap: 16px 48px; flex-wrap: wrap; }
.planos-cabeca p { color: var(--texto-2); max-width: 40ch; }
.planos-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--fio); }
.plano {
  appearance: none; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
  display: grid; align-content: start; gap: 6px;
  padding: 26px 24px 30px;
  border-right: 1px solid var(--fio);
  border-bottom: 1px solid var(--fio);
  font: inherit;
  transition: background-color .2s;
}
.plano:last-child { border-right: 0; }
.plano:hover { background: var(--preto-2); }
.plano[aria-checked='true'] { background: var(--verde); color: var(--preto); }
.plano-nome { font: 700 20px/1.2 var(--corpo); }
.plano-preco { font-family: var(--titulo); font-weight: var(--titulo-peso); font-stretch: var(--titulo-largura); font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.plano-preco small { font-size: .36em; font-weight: 700; letter-spacing: 0; margin: 0 4px 0 0; vertical-align: .9em; }
.plano-preco small:last-child { margin: 0 0 0 4px; vertical-align: 0; }
.plano-dia { font-weight: 700; font-size: 17px; margin-top: 4px; }
.plano-total { font-size: 16px; color: var(--texto-2); }
.plano[aria-checked='true'] .plano-total { color: #26300f; }

.planos-fim { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'exp btn' 'exp resumo'; gap: 10px 48px; align-items: center; margin-top: 36px; }
.experimental { grid-area: exp; color: var(--texto-2); max-width: 46ch; }
.planos-fim .btn { grid-area: btn; justify-self: end; }
.resumo { grid-area: resumo; font-size: 15.5px; color: var(--texto-2); text-align: right; max-width: 38ch; justify-self: end; }

/* ---------- espaço ---------- */
.espaco { padding: clamp(80px, 10vw, 140px) var(--lado) 0; }
.espaco-fotos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 36px; }
.espaco figure { margin: 0; }
.espaco img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--raio); }
.f-salao { grid-row: span 2; }
.f-salao img { aspect-ratio: auto; min-height: 100%; }
.f-prof img, .f-cheio img { aspect-ratio: 4 / 3; }
.espaco figure { display: flex; flex-direction: column; gap: 10px; }
.f-salao { min-height: 0; }
.f-salao img { flex: 1; min-height: 0; }
.espaco figcaption { font-size: 16px; color: var(--texto-2); }

/* ---------- google ---------- */
.google { padding: clamp(80px, 10vw, 140px) var(--lado) 0; }
.google-cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; }
.google-cabeca p { color: var(--texto-2); }
.google-cabeca strong { color: var(--texto); }
.google-cabeca a { color: var(--verde); font-weight: 600; text-underline-offset: 3px; }
.google-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; align-items: start; }
.gcard { background: var(--claro); color: var(--tinta); border-radius: 10px; padding: 20px 22px 22px; }
.gcard header { display: flex; align-items: center; gap: 12px; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 800 19px/1 var(--corpo); flex: none; }
.gquem { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.gquem strong { font-size: 16.5px; }
.gquem span { font-size: 15px; color: #5d6258; }
.g { width: 22px; height: 22px; margin-left: auto; flex: none; }
.estrelas { display: flex; gap: 2px; margin: 14px 0 8px; }
.estrelas svg { width: 18px; height: 18px; fill: #f5b400; }
.gtexto { font-size: 17px; line-height: 1.5; color: #23261f; }
.gtexto.cortado { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gmais { appearance: none; border: 0; background: none; padding: 6px 0 0; font: 700 16px var(--corpo); color: #3d6a00; cursor: pointer; }

/* ---------- como chegar ---------- */
.chegar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 5vw, 80px); padding: clamp(80px, 10vw, 140px) var(--lado); align-items: stretch; }
.chegar-end { margin-top: 20px; font-size: 20px; max-width: 26ch; }
.horarios { margin: 28px 0 0; display: grid; gap: 0; max-width: 380px; }
.horarios div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--fio); }
.horarios dt { color: var(--texto-2); }
.horarios dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.chegar-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chegar-mapa { min-height: 380px; border-radius: var(--raio); overflow: hidden; background: var(--preto-2); }
.chegar-mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- rodapé ---------- */
.rodape { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--lado) 36px; border-top: 1px solid var(--fio); color: var(--texto-2); font-size: 16px; }
.rodape-forte { font-family: 'Saira', var(--titulo); font-weight: 900; font-style: italic; font-stretch: 112%; font-size: 26px; color: var(--verde); }

/* ---------- entrada ---------- */
.anima .abertura-texto, .anima .abertura-foto { opacity: 0; transform: translateY(14px); }
.anima.pronto .abertura-texto, .anima.pronto .abertura-foto { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.anima.pronto .abertura-foto { transition-delay: .12s; }

/* ---------- telas menores ---------- */
@media (min-width: 1100px) {
  .dias button .d-curto { display: none; }
  .dias button .d-longo { display: inline; }
}
@media (max-width: 960px) {
  .planos-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plano:nth-child(2) { border-right: 0; }
  .google-cards { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .topo { gap: 14px; padding-top: 14px; padding-bottom: 14px; }
  .topo-btn { display: none; }
  .topo-status { font-size: 15px; }
  .abertura { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'texto' 'foto' 'dia'; }
  .abertura-texto { padding-bottom: 24px; }
  .abertura-foto img { height: 210px; object-position: 50% 58%; }
  .abertura-sub { margin-top: 14px; }
  .abertura-texto { padding-bottom: 20px; }
  .dia { margin-top: 28px; }
  .dia-cabeca { flex-direction: column; align-items: stretch; gap: 14px; }
  .dias { flex-wrap: nowrap; gap: 0; }
  .dias button { flex: 1; padding: 12px 0; font-size: 16px; }
  .regua-horas span:not(.par) { display: none; }
  .aula span { font-size: 13.5px; }
  .aula em { font-size: 13px; }
  .planos-fim { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'exp' 'btn' 'resumo'; }
  .planos-fim .btn { justify-self: stretch; }
  .resumo { text-align: left; justify-self: start; }
  .espaco-fotos { grid-template-columns: 1fr 1fr; }
  .f-salao { grid-column: span 2; grid-row: auto; }
  .f-salao img { aspect-ratio: 4 / 3; }
  .chegar { grid-template-columns: minmax(0, 1fr); }
  .dia-leitura .btn { width: 100%; }
}
@media (max-width: 520px) {
  .plano { padding: 20px 16px 22px; }
  .plano-nome { font-size: 18px; }
  .plano-preco { font-size: 38px; }
  .plano-dia { font-size: 15.5px; }
  .plano-total { font-size: 15px; }
  .rodape { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anima .abertura-texto, .anima .abertura-foto { opacity: 1; transform: none; }
  .anima .regua-passou { transform: none; }
}
