/* Design tokens, base styles, components and responsive overrides. */
:root {
  color-scheme: dark;
  --line: #343438;
  --background: #080809;
  --surface: #131315;
  --surface-raised: #1b191b;
  --text: #fafafa;
  --muted: #c9c8cc;
  --red: #c9111c;
  --red-hover: #e02130;
  --display: "Segoe UI",Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: #fff;
}

a {
  color: var(--text);
  text-underline-offset: 5px;
  text-decoration-color: var(--red);
}

a:hover {
  color: var(--red-hover);
}

:focus-visible {
  outline: 3px solid var(--red-hover);
  outline-offset: 6px;
}

header, main, footer {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 36px;
  border-bottom: 1px solid var(--line);
}

header > a {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .035em;
  text-decoration: none;
}

header > a::before {
  content: "";
  background: var(--red);
  margin-right: 8px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-block;
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--red);
}

nav a:hover {
  color: var(--text);
  border-bottom-color: var(--red);
}

nav li:last-child a {
  border: 1px solid var(--line);
  padding: 10px 19px;
}

nav li:last-child a:hover, nav li:last-child a[aria-current="page"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -160px;
  left: 24px;
  z-index: 10;
  background: var(--text);
  color: var(--background);
  padding: 12px 20px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

main {
  padding-block: 72px 24px;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.08;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(46px, 6.2vw, 82px);
  text-wrap: balance;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 3.4vw, 42px);
  text-wrap: balance;
}

h3 {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.025em;
}

p {
  margin: 0 0 20px;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text);
  font-weight: 700;
}

main > p {
  max-width: 760px;
  font-size: 18px;
}

section {
  margin-block: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

section h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--red);
}

section > p {
  max-width: 790px;
}

ul, ol {
  padding-left: 23px;
  color: var(--muted);
}

li {
  padding-left: 5px;
  margin-bottom: 12px;
}

li::marker {
  color: var(--red);
}

nav li {
  margin: 0;
  padding: 0;
}

section > p:last-child > a,
article > p:last-child > a {
  display: inline-block;
  padding: 14px 22px;
  margin: 6px 8px 6px 0;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
  text-decoration: none;
}

section > p:last-child > a:hover,
article > p:last-child > a:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

section > p:last-child > a ~ a {
  background: transparent;
  border-color: #626269;
}

section > p:last-child > a ~ a:hover {
  background: var(--surface-raised);
  border-color: var(--text);
}

.page-home main {
  padding-top: 0;
}

.page-home section:first-child {
  margin-top: 0;
  padding: 88px 0 72px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.page-home h1 {
  max-width: 980px;
  font-size: clamp(56px, 8.6vw, 112px);
  line-height: .98;
  margin-bottom: 36px;
}

.page-home h1::before {
  content: "";
  display: block;
  width: 66px;
  height: 7px;
  margin-bottom: 32px;
  background: var(--red);
}

.page-home section:first-child > p {
  font-size: 18px;
}

.page-home section:first-child > p:last-child {
  margin-top: 32px;
}

.page-home section[aria-labelledby="estrutura"] > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
  margin-block: 28px;
}

.page-home section[aria-labelledby="estrutura"] li {
  margin: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
}

.page-home section[aria-labelledby="treinos"] {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-home ol {
  counter-reset: steps;
  padding: 0;
  list-style: none;
}

.page-home ol li {
  counter-increment: steps;
  display: flex;
  align-items: baseline;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 0;
}

.page-home ol li::before {
  content: "0" counter(steps);
  font-family: var(--display);
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.page-home section[aria-labelledby="primeira-visita"] > p:last-child > a {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: var(--red);
}

.page-about section[aria-labelledby="historia"] > p {
  max-width: 820px;
  font-size: 18px;
}

.page-about section[aria-labelledby="proposta"] ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin-top: 28px;
}

.page-about section[aria-labelledby="proposta"] li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
  margin: 0;
}

.page-about section[aria-labelledby="proposta"] li strong {
  display: block;
  margin-bottom: 8px;
}

dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 2fr;
}

dt, dd {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

dt {
  padding-right: 24px;
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
  font-size: 20px;
  line-height: 1.9;
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 26px;
  margin-bottom: 28px;
}

.page-contact main > p:has(> strong),
.page-memberships main > p:has(> strong) {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--surface);
  font-size: 14px;
}

.page-contact section[aria-labelledby="horarios"] > p:last-child > a {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: var(--red);
}

.page-classes section[aria-labelledby="atividades"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.page-classes section[aria-labelledby="atividades"] > h2 {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.page-classes article {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.page-classes article h3 {
  font-size: 25px;
}

.page-classes article p:last-child {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.table-container {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

caption {
  padding: 20px 24px;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
}

th, td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

thead {
  background: var(--surface-raised);
}

thead th {
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

tbody th {
  font-weight: 600;
}

td {
  color: var(--muted);
}

.page-memberships section[aria-labelledby="opcoes"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-memberships section[aria-labelledby="opcoes"] > h2 {
  grid-column: 1 / -1;
}

.page-memberships article {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid #626269;
}

.page-memberships article:nth-of-type(2) {
  box-shadow: 0 12px 36px #0005;
}

.page-memberships article > p:first-of-type {
  border-bottom: 1px solid var(--line);
}

.page-memberships article > p:first-of-type strong {
  font-family: var(--display);
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.2;
  letter-spacing: -.015em;
}

.page-memberships article:nth-of-type(2) h3 {
  color: var(--red-hover);
}

.page-memberships article ul {
  font-size: 14px;
  margin-block: 6px 28px;
  padding-left: 18px;
}

.page-memberships article > p:last-child {
  margin-top: auto;
}

.page-memberships article > p:last-child a {
  width: 100%;
  text-align: center;
  margin: 0;
  padding-inline: 12px;
}

.page-memberships section[aria-labelledby="duvidas"] h3 {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.page-memberships section[aria-labelledby="duvidas"] > p {
  max-width: 800px;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 32px;
  padding-block: 30px 40px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

footer p:first-child {
  color: var(--text);
  font-weight: 700;
  letter-spacing: .04em;
}

footer .footer-credit {
  flex-basis: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.gym-photography {
  margin: 28px 0 32px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.gym-photography img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: saturate(.65) contrast(1.08) brightness(.88);
}

.gym-photography--card {
  margin: 0 0 28px;
}

.page-home section:first-child {
  position: relative;
  isolation: isolate;
}

.hero-photography {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-photography img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(.55) contrast(1.08);
}

.page-home section:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  nav a, main a {
    transition: color 160ms ease, background-color 160ms ease,
      border-color 160ms ease, transform 180ms ease;
  }

  .page-classes article,
  .page-memberships article,
  .page-home section[aria-labelledby="estrutura"] li,
  .page-about section[aria-labelledby="proposta"] li {
    transition: transform 200ms cubic-bezier(.2, .7, .3, 1);
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  section > p:last-child > a:hover,
  article > p:last-child > a:hover {
    transform: translateY(-2px);
  }

  .page-classes article:hover,
  .page-memberships article:hover,
  .page-home section[aria-labelledby="estrutura"] li:hover,
  .page-about section[aria-labelledby="proposta"] li:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  nav a, main a, article, section li {
    transition: none;
  }
}

.menu-toggle {
  display: none;
}

@media (min-width: 1200px) {
  header, main, footer {
    width: min(1440px, calc(100% - clamp(80px, 6vw, 128px)));
  }

  body {
    font-size: clamp(16px, 1.05vw, 18px);
  }

  header > a {
    font-size: clamp(28px, 2.1vw, 34px);
  }

  nav ul {
    column-gap: clamp(28px, 2.2vw, 36px);
  }

  nav a {
    font-size: clamp(13px, .95vw, 16px);
  }

  nav li:last-child a {
    padding: 12px 22px;
  }

  h1 {
    max-width: 1080px;
    font-size: clamp(74px, 6.2vw, 96px);
  }

  h2 {
    font-size: clamp(40px, 3.2vw, 50px);
  }

  h3 {
    font-size: clamp(21px, 1.5vw, 25px);
  }

  main > p {
    max-width: 880px;
    font-size: clamp(18px, 1.25vw, 21px);
  }

  section > p {
    max-width: 900px;
  }

  .page-home h1 {
    max-width: 1120px;
    font-size: clamp(104px, 8vw, 128px);
  }

  .page-home section:first-child > p {
    max-width: 780px;
    font-size: clamp(18px, 1.25vw, 21px);
  }

  section > p:last-child > a,
  article > p:last-child > a {
    font-size: clamp(14px, 1vw, 16px);
    padding: 16px 26px;
  }

  .page-classes article {
    padding: clamp(32px, 2.5vw, 40px);
  }

  .page-classes article h3 {
    font-size: clamp(25px, 1.8vw, 30px);
  }

  .page-classes article p:last-child,
  .page-memberships article ul,
  caption {
    font-size: clamp(14px, 1vw, 16px);
  }

  .page-memberships article {
    padding: 36px clamp(26px, 2.2vw, 36px) 30px;
  }

  .page-memberships article h3 {
    font-size: clamp(14px, 1vw, 16px);
  }

  .page-memberships article > p:first-of-type strong {
    font-size: clamp(36px, 2.6vw, 44px);
  }

  .page-home section[aria-labelledby="estrutura"] > ul,
  .page-about section[aria-labelledby="proposta"] ul {
    gap: 20px;
  }

  .page-home section[aria-labelledby="estrutura"] li,
  .page-about section[aria-labelledby="proposta"] li {
    padding: 30px;
  }

  .page-about section[aria-labelledby="historia"],
  .page-about section[aria-labelledby="visita"],
  .page-memberships section[aria-labelledby="condicoes"],
  .page-memberships section[aria-labelledby="duvidas"] {
    max-width: 1080px;
  }

  .page-about section[aria-labelledby="historia"] > p {
    max-width: 900px;
    font-size: clamp(18px, 1.25vw, 21px);
  }

  .page-about section[aria-labelledby="beneficios"],
  .page-contact section {
    max-width: 1200px;
  }

  .page-classes section[aria-labelledby="grade"] {
    max-width: 1280px;
  }

  .page-memberships section[aria-labelledby="duvidas"] > p {
    max-width: 900px;
  }

  thead th {
    font-size: clamp(12px, .9vw, 14px);
  }

  footer p {
    font-size: clamp(12px, .9vw, 14px);
  }
}

@media (max-width: 1024px) {
  header, main, footer {
    width: calc(100% - 48px);
  }

  header {
    align-items: flex-start;
    gap: 20px;
  }

  header > a {
    max-width: 100%;
    min-width: 0;
  }

  header > a::before {
    flex-shrink: 0;
  }

  nav {
    width: 100%;
    min-width: 0;
  }

  nav ul {
    gap: 8px 22px;
  }

  nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  main, main *, footer > * {
    min-width: 0;
  }

  main, footer {
    overflow-wrap: anywhere;
  }

  main {
    padding-top: 56px;
  }

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

  h2 {
    font-size: clamp(28px, 3.6vw, 38px);
  }

  .page-home h1 {
    font-size: clamp(44px, 8.6vw, 88px);
  }

  .gym-photography, .table-container {
    max-width: 100%;
  }

  .gym-photography img {
    max-width: 100%;
  }

  section > p:last-child > a,
  article > p:last-child > a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-memberships section[aria-labelledby="opcoes"] {
    grid-template-columns: 1fr;
  }

  .page-memberships article {
    padding: 32px;
  }

  .page-memberships article > p:first-of-type strong {
    font-size: 38px;
  }

  .page-classes article {
    padding: 24px;
  }

  dl {
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
  }

  .skip-link {
    max-width: calc(100% - 48px);
  }
}

@media (max-width: 600px) {
  header, main, footer {
    width: calc(100% - 40px);
  }

  header {
    min-height: 80px;
    padding-block: 18px;
    gap: 0 12px;
    align-items: center;
  }

  header > a {
    font-size: clamp(19px, 6vw, 25px);
  }

  .mobile-menu-ready header > a {
    max-width: calc(100% - 60px);
    font-size: clamp(18px, 5.3vw, 25px);
  }

  .mobile-menu-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    touch-action: manipulation;
  }

  .menu-toggle__icon {
    position: relative;
    width: 22px;
    height: 16px;
  }

  .menu-toggle__icon::before, .menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
  }

  .menu-toggle__icon::before {
    top: 4px;
  }

  .menu-toggle__icon::after {
    bottom: 4px;
  }

  .is-menu-open .menu-toggle__icon::before {
    transform: translateY(3px) rotate(45deg);
  }

  .is-menu-open .menu-toggle__icon::after {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-menu-ready header nav {
    display: grid;
    flex-basis: 100%;
    grid-template-rows: 0fr;
    visibility: hidden;
  }

  .mobile-menu-ready header nav ul {
    min-height: 0;
    overflow: hidden;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mobile-menu-ready .is-menu-open nav {
    grid-template-rows: 1fr;
    visibility: visible;
  }

  .mobile-menu-ready nav li:first-child {
    padding-top: 16px;
  }

  .mobile-menu-ready nav a, .mobile-menu-ready nav li:last-child a {
    justify-content: flex-start;
    padding: 14px 12px;
    min-height: 48px;
    font-size: 13px;
    text-align: left;
  }

  .mobile-menu-ready nav li:last-child {
    padding-top: 8px;
  }

  nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  nav a, nav li:last-child a {
    display: flex;
    justify-content: center;
    min-height: 44px;
    padding: 9px 4px;
    font-size: 11px;
    letter-spacing: .025em;
    text-align: center;
    overflow-wrap: anywhere;
  }

  main {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.12;
    margin-bottom: 24px;
  }

  h2 {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.15;
    margin-bottom: 24px;
  }

  h3, .page-classes article h3 {
    font-size: 22px;
    line-height: 1.25;
  }

  main > p, .page-home section:first-child > p,
  .page-about section[aria-labelledby="historia"] > p {
    font-size: 16px;
  }

  main p, main li, main dd {
    line-height: 1.8;
  }

  section {
    margin-block: 48px;
    padding-top: 32px;
  }

  .page-home section:first-child {
    padding-block: 52px 40px;
  }

  .page-home h1 {
    font-size: clamp(38px, 11vw, 64px);
    line-height: 1.04;
    margin-bottom: 28px;
  }

  .page-home h1::before {
    margin-bottom: 24px;
  }

  .page-home section[aria-labelledby="estrutura"] > ul,
  .page-about section[aria-labelledby="proposta"] ul,
  .page-classes section[aria-labelledby="atividades"] {
    grid-template-columns: 1fr;
  }

  .page-home section[aria-labelledby="treinos"],
  .page-home section[aria-labelledby="estrutura"] li,
  .page-about section[aria-labelledby="proposta"] li,
  .page-classes article, .page-memberships article {
    padding: 22px;
  }

  .page-memberships article > p:first-of-type strong {
    font-size: clamp(27px, 8vw, 38px);
  }

  .page-home ol li {
    gap: 14px;
  }

  .page-home ol li::before {
    flex-shrink: 0;
  }

  .gym-photography {
    margin-block: 28px;
  }

  .gym-photography img {
    aspect-ratio: 16 / 10;
  }

  .gym-photography--card img {
    aspect-ratio: 3 / 2;
  }

  .gym-photography--card {
    margin-top: 0;
  }

  .hero-photography img {
    object-position: 65% center;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dt {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  dd {
    padding-top: 0;
  }

  address {
    font-size: 17px;
    padding-left: 18px;
  }

  section > p:last-child > a, article > p:last-child > a {
    min-height: 44px;
    padding: 12px 16px;
    margin-right: 0;
    text-align: center;
  }

  section > p:last-child:has(> a), article > p:last-child:has(> a) {
    display: grid;
    gap: 12px;
    font-size: 0;
  }

  section > p:last-child > a, article > p:last-child > a {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 14px;
    padding-block: 15px;
  }

  .page-home section[aria-labelledby="primeira-visita"] > p:last-child,
  .page-contact section[aria-labelledby="horarios"] > p:last-child {
    display: block;
    font-size: 16px;
  }

  table {
    min-width: 0;
    table-layout: fixed;
  }

  th, td {
    padding: 12px 8px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  thead th {
    font-size: 10px;
    letter-spacing: .025em;
  }

  caption {
    padding: 16px;
    font-size: 13px;
  }

  footer {
    display: block;
    padding-block: 24px 32px;
  }

  footer p + p {
    margin-top: 12px;
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .mobile-menu-ready header nav {
    transition: grid-template-rows 240ms cubic-bezier(.22, .61, .36, 1), visibility 0s linear 240ms;
  }

  .mobile-menu-ready .is-menu-open nav {
    transition-delay: 0s;
  }

  .menu-toggle__icon::before, .menu-toggle__icon::after {
    transition: transform 180ms ease;
  }
}

@media (max-width: 767.98px) {
  .page-home section[aria-labelledby="introducao"] {
    padding-block: 32px 28px;
    margin-bottom: 32px;
  }

  .page-home section[aria-labelledby="introducao"] h1 {
    max-width: 15ch;
    margin-bottom: 20px;
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.06;
    letter-spacing: .01em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .page-home section[aria-labelledby="introducao"] h1::before {
    width: 44px;
    height: 4px;
    margin-bottom: 20px;
  }

  .page-home section[aria-labelledby="introducao"] > p {
    max-width: 56ch;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.65;
    color: #d0d0d5;
  }

  .page-home section[aria-labelledby="introducao"] .hero-photography img {
    object-position: 72% center;
  }

  .page-home section[aria-labelledby="introducao"]::after {
    background: linear-gradient(180deg, #0b0b0ddb 0%, #0b0b0de8 48%, #0b0b0df5 100%);
  }

  .page-home section[aria-labelledby="introducao"] > p:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    margin: 24px 0 0;
    font-size: 0;
    line-height: 1;
  }

  .page-home section[aria-labelledby="introducao"] .hero-action-separator {
    display: none;
  }

  .page-home section[aria-labelledby="introducao"] > p:last-child > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
  }

  .page-home section[aria-labelledby="introducao"] > p:last-child > a ~ a {
    background: transparent;
    border-color: #626269;
  }

  .page-home section[aria-labelledby="introducao"] > p:last-child > a ~ a:hover {
    background: var(--surface-raised);
    border-color: var(--text);
  }
}

body {
  background: var(--background);
}

header {
  min-height: 76px;
  padding-block: 14px;
}

header > a {
  gap: 10px;
}

header > a::before {
  width: 38px;
  height: 26px;
  margin: 0;
  transform: none;
  box-shadow: none;
  clip-path: polygon(0 35%,8% 35%,8% 15%,17% 15%,17% 3%,26% 3%,26% 43%,74% 43%,74% 3%,83% 3%,83% 15%,92% 15%,92% 35%,100% 35%,100% 65%,92% 65%,92% 85%,83% 85%,83% 97%,74% 97%,74% 57%,26% 57%,26% 97%,17% 97%,17% 85%,8% 85%,8% 65%,0 65%);
}

.brand {
  display: grid;
  gap: 3px;
  font: 700 9px/1 Arial,sans-serif;
  letter-spacing: .42em;
}

.brand b {
  font: italic 900 25px/.95 Arial,sans-serif;
  letter-spacing: -.055em;
}

nav a {
  text-transform: none;
  letter-spacing: 0;
}

nav li:last-child a {
  background: var(--red);
  color: white;
  border-color: var(--red);
  border-radius: 6px;
}

h1,h2 {
  letter-spacing: -.035em;
}

section > p:last-child > a,article > p:last-child > a {
  border-radius: 6px;
}

.page-home #introducao {
  font-style: italic;
  font-weight: 900;
}

#introducao em {
  display: block;
  color: #ee2331;
}

.page-home section:first-child::after {
  background: linear-gradient(90deg,#080809 0%,#080809eb 34%,#08080970 64%,#08080924),linear-gradient(118deg,transparent 86%,#bd101bb0 86%,#bd101bb0 89%,transparent 89%);
}

.page-home section:first-child > p {
  max-width: 55ch;
}

.page-classes article,.page-memberships article,.page-about section[aria-labelledby="proposta"] li,.page-home section[aria-labelledby="estrutura"] li {
  border: 1px solid #353538;
  border-radius: 10px;
  background: linear-gradient(145deg,#1a1a1c,#101012);
}

.page-memberships article:nth-of-type(2) {
  border-color: var(--red);
  background: linear-gradient(155deg,#301114,#111012 70%);
}

.page-memberships article h3 {
  font-size: 22px;
  text-transform: none;
  letter-spacing: -.025em;
}

.page-memberships article small {
  font: 600 .44em/1.3 "Segoe UI",sans-serif;
}

.page-memberships article li::marker {
  content: "✓  ";
  color: #f43140;
}

.page-memberships article:not(:nth-of-type(2)) > p:last-child a {
  background: transparent;
  border-color: #89898e;
}

.page-memberships main > h1,.page-memberships main > p {
  margin-inline: auto;
  text-align: center;
}

.page-memberships main {
  position: relative;
  isolation: isolate;
}

.page-memberships main > figure {
  position: absolute;
  inset: 0 0 auto;
  height: 475px;
  margin: 0;
  z-index: -1;
  border: 0;
}

.page-memberships main > figure img {
  height: 100%;
  opacity: .3;
}

.page-memberships main > figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,var(--background),transparent);
}

.page-memberships section[aria-labelledby="opcoes"] {
  border: 0;
  padding-top: 0;
}

.page-memberships #opcoes {
  text-align: center;
}

.page-memberships #opcoes::before {
  margin-inline: auto;
}

@media(min-width:901px) {
  .page-home section:first-child {
    padding-inline: clamp(28px,4vw,64px);
  }

  .page-home #introducao {
    font-size: clamp(68px,6.2vw,100px);
  }

  .page-home .hero-photography img {
    object-position: right 42%;
  }

  .page-home section[aria-labelledby="estrutura"] > ul {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }

  .page-about main,.page-contact main {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 24px 4%;
    align-items: start;
  }

  .page-about main > h1 {
    grid-column: 1;
    margin-bottom: 0;
  }

  .page-about main > figure {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    align-self: stretch;
  }

  .page-about main > figure img {
    height: 100%;
    object-fit: cover;
  }

  .page-about main > section {
    grid-column: 1 / -1;
    margin-block: 24px;
  }

  .page-about main > section[aria-labelledby="historia"] {
    grid-column: 1;
    margin: 0;
    border: 0;
    padding-top: 0;
  }

  .page-contact main > :is(h1,p) {
    grid-column: 1 / -1;
    margin: 0;
  }

  .page-contact main > section {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }

  .page-contact section[aria-labelledby="localizacao"] {
    grid-row: span 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .page-contact section[aria-labelledby="localizacao"] > * {
    flex-shrink: 0;
  }

  .page-contact section[aria-labelledby="visita"] {
    grid-column: 1 / -1;
  }

  .page-contact dl {
    grid-template-columns: minmax(100px,1fr) 1.5fr;
  }

  .page-contact dt,.page-contact dd {
    padding-block: 12px;
  }
}

@media(max-width:767.98px) {
  .page-home section[aria-labelledby="introducao"]::after {
    background: linear-gradient(105deg,#080809f5,#080809af);
  }

  .page-home #introducao {
    font-size: clamp(32px,8.5vw,54px);
  }

  .page-memberships main > figure {
    height: 340px;
  }
}

main > h1 {
  font-size: clamp(2rem,4.2vw,3.75rem);
  line-height: 1.06;
  margin-bottom: 18px;
}

main h2 {
  font-size: clamp(1.55rem,2.5vw,2.35rem);
  margin-bottom: 18px;
}

main section {
  margin-block: clamp(30px,3.2vw,48px);
  padding-top: clamp(22px,2.4vw,34px);
}

main section h2::before {
  width: 28px;
  height: 3px;
  margin-bottom: 12px;
}

.page-home section:first-child {
  padding-block: clamp(30px,4vw,58px);
}

.page-home #introducao {
  max-width: 13ch;
  margin-bottom: 20px;
}

.page-home #introducao::before {
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
}

.page-home section:first-child > p {
  line-height: 1.58;
  margin-bottom: 14px;
}

.page-home section:first-child > p:last-child {
  margin-block: 22px 0;
}

.page-home section[aria-labelledby="estrutura"] .gym-photography img,
.page-classes main > .gym-photography img {
  height: clamp(145px,21vw,280px);
}

.page-classes .gym-photography--card img {
  height: clamp(132px,16vw,205px);
}

.page-classes .gym-photography--card {
  margin-bottom: 18px;
}

.page-memberships main > h1 {
  max-width: 25ch;
}

.page-memberships main > p {
  max-width: 63ch;
}

.page-memberships section[aria-labelledby="opcoes"] {
  margin-top: 24px;
  gap: 18px;
}

.page-memberships #opcoes {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.page-memberships article {
  padding: clamp(20px,2vw,30px);
}

.page-memberships article h3 {
  margin-bottom: 14px;
}

.page-memberships article > p:first-of-type {
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.page-memberships article li {
  margin-bottom: 8px;
}

.page-contact section[aria-labelledby="localizacao"] img {
  height: clamp(145px,18vw,230px);
}

.page-contact main > section[aria-labelledby="visita"] {
  width: 100%;
  max-width: none;
}

@media (min-width:901px) {
  main {
    padding-top: clamp(36px,3.5vw,54px);
  }

  .page-home #introducao {
    font-size: clamp(58px,5.2vw,84px);
  }

  .page-about main {
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    gap: 20px 4%;
  }

  .page-about main > figure {
    position: relative;
    min-height: 260px;
  }

  .page-about main > figure img {
    position: absolute;
    inset: 0;
  }

  .page-about main > section[aria-labelledby="proposta"],
  .page-about main > section[aria-labelledby="beneficios"] {
    grid-column: auto;
    margin-block: 16px;
  }

  .page-about section[aria-labelledby="proposta"] ul {
    gap: 12px;
  }

  .page-about section[aria-labelledby="proposta"] li {
    padding: 18px;
  }

  .page-contact main {
    gap: 18px 24px;
  }

  .page-contact main > section {
    padding: clamp(20px,2vw,30px);
  }

  .page-contact main > section[aria-labelledby="visita"] {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
    align-items: center;
    gap: 8px 32px;
  }

  .page-contact #visita {
    grid-column: 1;
    margin: 0;
  }

  .page-contact #visita + p {
    grid-column: 1;
    margin: 0;
  }

  .page-contact #visita ~ p:last-child {
    grid-column: 2;
    grid-row: 1 / 3;
    text-align: right;
  }
}

@media (max-width:900px) {
  .page-about main > figure img {
    height: clamp(165px,33vw,275px);
  }

  .page-about main > figure,.page-classes main > figure {
    margin-block: 20px;
  }

  .page-memberships main > figure {
    height: 280px;
  }

  .page-contact section[aria-labelledby="visita"] {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
}
