/* GymHard — site de apresentação · Design 2.0 (tarefa 140, 2026-11-15) */
@font-face {
  font-family: "Ubuntu Sans";
  src: url("assets/fonts/ubuntu-sans.ttf") format("truetype");
  font-weight: 100 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0b09;
  --s1: #121410;
  --s2: #181b15;
  --s3: #20241c;
  --line: #2a2f25;
  --line-2: #3a4133;
  --text: #f5f7f2;
  --text-2: #c7ccbf;
  --text-3: #949b8a;
  --lime: #d7ff3f;
  --lime-ink: #10160a;
  --lime-soft: #d7ff3f1f;
  --font: "Ubuntu Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
button, summary, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; border-radius: 6px; }
.download-section :focus-visible { outline-color: var(--lime-ink); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }

h1, h2 {
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -.01em;
  line-height: .92;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
em { font-style: normal; color: var(--lime); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section-space { padding-block: clamp(72px, 10vw, 128px); }
.muted { color: var(--text-3); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--lime);
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-label span {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 22px; padding-inline: 6px;
  border-radius: 999px; border: 1px solid #d7ff3f66;
  font-size: .68rem; letter-spacing: .04em;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 #d7ff3f99; animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px #d7ff3f00; } 100% { box-shadow: 0 0 0 0 #d7ff3f00; } }

/* Botões */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border-radius: 16px;
  font-weight: 800; font-size: .95rem; letter-spacing: .03em;
  transition: transform .15s ease, background-color .15s, box-shadow .15s, border-color .15s;
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.button:active { transform: scale(.98); }
.button-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 18px 44px -18px #d7ff3fcc; }
.button-lime:hover { background: #e4ff73; }
.button-ghost { border: 1px solid #ffffff33; color: var(--text); background: #0a0b0966; backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: #ffffff66; }
.button-dark { background: var(--lime-ink); color: var(--lime); }
.button-dark:hover { background: #1f2914; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: #0a0b09cc;
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid #ffffff0f;
}
.header-inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 28px; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 80%; font-size: 1.25rem; letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand strong { color: var(--lime); font-weight: 800; }
.desktop-nav { display: flex; gap: 6px; margin-left: auto; }
.desktop-nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: .92rem; font-weight: 500; }
.desktop-nav a:hover { color: var(--text); background: #ffffff0d; }
.header-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: .9rem;
}
.header-download:hover { background: #e4ff73; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  display: grid; gap: 4px;
  padding: 10px var(--gutter) 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav a { padding: 14px 4px; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { margin-top: 10px; border: 0; border-radius: 14px; background: var(--lime); color: var(--lime-ink); text-align: center; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(860px, 100svh); display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #0a0b09 0%, #0a0b09e6 32%, #0a0b0966 62%, #0a0b0933 100%),
    linear-gradient(180deg, transparent 60%, #0a0b09 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; padding-block: 72px 88px; }
.hero h1 { font-size: clamp(3.6rem, 9vw, 8rem); margin-bottom: 26px; }
.hero-description { max-width: 34rem; color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; padding: 4px 22px; border-left: 1px solid #ffffff26; }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font-size: 1.15rem; font-weight: 800; font-stretch: 80%; }
.hero-facts span { color: var(--text-3); font-size: .82rem; }
.hero-phone { position: relative; justify-self: center; width: min(300px, 100%); }
.hero-phone .phone { transform: rotate(4deg); }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px;
  background: #121410e6; border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 18px 40px -16px #000;
}
.float-chip b { color: var(--lime); font-weight: 800; }
.chip-top { top: 14%; left: -22%; }
.chip-bottom { bottom: 16%; right: -16%; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* Telefone */
.phone {
  position: relative;
  border-radius: 42px; padding: 10px;
  background: linear-gradient(145deg, #2a2f25, #0f110e);
  border: 1px solid #ffffff1f;
  box-shadow: 0 50px 90px -40px #000, 0 0 0 1px #000 inset, 0 30px 80px -50px #d7ff3f80;
}
.phone img { width: 100%; border-radius: 32px; }

/* Faixa */
.marquee { overflow: hidden; background: var(--lime); color: var(--lime-ink); padding: 14px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-weight: 800; font-stretch: 75%; font-size: 1.6rem; letter-spacing: .02em; }
.marquee i { font-style: normal; font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Aplicativo */
.app-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.section-intro { margin: 24px 0 32px; color: var(--text-2); font-size: 1.15rem; max-width: 30rem; }
.feature-selector { display: grid; gap: 10px; }
.feature-tab {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 18px; text-align: left;
  border: 1px solid var(--line); background: var(--s1);
  transition: border-color .15s, background-color .15s;
}
.feature-tab:hover { border-color: var(--line-2); }
.feature-tab strong { display: block; font-size: 1.05rem; }
.feature-tab small { display: block; color: var(--text-3); font-size: .9rem; margin-top: 2px; }
.tab-number { font-weight: 800; font-stretch: 75%; font-size: 1.3rem; color: var(--text-3); line-height: 1.3; }
.feature-tab[aria-selected=true] { border-color: #d7ff3f80; background: linear-gradient(135deg, #1d260b, var(--s1)); }
.feature-tab[aria-selected=true] .tab-number { color: var(--lime); }
.app-stage {
  position: relative; min-height: 640px; display: grid; place-items: center;
  border-radius: 32px; padding: 40px 24px;
  background:
    radial-gradient(60% 50% at 50% 40%, #d7ff3f26, transparent 70%),
    var(--s1);
  border: 1px solid var(--line);
}
.showcase-panel { width: 100%; display: grid; justify-items: center; gap: 18px; }
.showcase-panel:focus-visible { outline-offset: 10px; }
.showcase-panel .phone { width: min(290px, 100%); }
.stage-caption { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.anatomy-preview, .progress-preview {
  width: min(460px, 100%); padding: 26px; border-radius: 24px;
  background: var(--s2); border: 1px solid var(--line-2);
}
.preview-topline { display: flex; justify-content: space-between; color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 14px; }
.anatomy-preview h3, .progress-preview h3 { font-size: 2.4rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .95; margin-bottom: 14px; }
.anatomy-preview img { width: 100%; height: auto; border-radius: 14px; }
.anatomy-foot { margin-top: 14px; color: var(--lime); font-weight: 700; }
.progress-preview > p { color: var(--text-3); font-size: .9rem; }
.progress-chart { width: 100%; height: auto; margin: 12px 0; }
.chart-grid { stroke: var(--line); stroke-width: 1; fill: none; }
.chart-fill { fill: #d7ff3f1f; }
.chart-line { stroke: var(--lime); stroke-width: 4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart-dots circle { fill: var(--lime); stroke: var(--s2); stroke-width: 3; }
.chart-text text { fill: var(--text-2); font-size: 14px; font-weight: 700; font-family: var(--font); }
.progress-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.progress-tags span { padding: 4px 12px; border-radius: 999px; background: var(--lime-soft); color: #e6ff8f; font-size: .82rem; font-weight: 600; }
.example-note { margin-top: 14px; font-size: .8rem !important; }

/* Títulos de seção */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-heading > p { max-width: 26rem; text-align: right; }

/* Durante o treino */
.training-section { background: linear-gradient(180deg, var(--bg), var(--s1) 30%, var(--s1) 70%, var(--bg)); }
.training-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.training-phone { margin: 0; display: grid; justify-items: center; gap: 16px; }
.training-phone .phone { width: min(300px, 100%); transform: rotate(-3deg); }
.training-phone figcaption { color: var(--text-3); font-size: .85rem; }
.training-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.training-points li { padding: 24px; border-radius: var(--radius); background: var(--s2); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.training-points p { color: var(--text-3); margin-top: 6px; font-size: .95rem; }
.point-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); }
.point-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Recursos */
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resource {
  display: grid; gap: 12px; align-content: start;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--s2), var(--s1));
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.resource:hover { border-color: #d7ff3f66; transform: translateY(-3px); }
.resource-wide { background: radial-gradient(80% 120% at 100% 0%, #d7ff3f1f, transparent 60%), linear-gradient(180deg, var(--s2), var(--s1)); }
.resource-wide h3 { font-size: 1.9rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; }
.resource-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.resource-top svg { width: 34px; height: 34px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.resource-tag { font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--text-3); padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.resource p { color: var(--text-3); font-size: .95rem; }

/* Download */
.download-section { background: var(--lime); color: var(--lime-ink); position: relative; overflow: hidden; }
.download-section::before {
  content: "GO HARD"; position: absolute; right: -2%; bottom: -12%;
  font-size: clamp(8rem, 22vw, 20rem); font-weight: 800; font-stretch: 75%; line-height: 1;
  color: #10160a0f; pointer-events: none; white-space: nowrap;
}
.download-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.download-section .eyebrow { color: #2c3b0b; }
.download-section em { color: var(--lime-ink); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .1em; }
.download-copy h2 { font-size: clamp(3rem, 7vw, 6rem); }
.download-copy > p:not(.eyebrow):not(.download-meta) { margin: 22px 0 30px; font-size: 1.12rem; color: #2a360d; }
.download-meta { margin-top: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: #3a4a12; }
.download-meta span { opacity: .5; margin-inline: 6px; }
.download-art {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 32px; border-radius: 28px;
  background: var(--lime-ink); color: var(--text);
  box-shadow: 0 40px 80px -40px #10160acc;
}
.download-art img { width: 120px; height: 120px; border-radius: 28px; }
.app-caption { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--text-3); margin-bottom: 8px; }
.copy-link {
  width: 100%; min-height: 50px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--s2); font-weight: 700;
}
.copy-link:hover { border-color: var(--lime); }
.copy-status { min-height: 1.4em; font-size: .85rem; color: var(--lime); overflow-wrap: anywhere; }
.copy-status a { text-decoration: underline; }
.browser-link { color: var(--text-2); font-size: .9rem; }
.browser-link:hover { color: var(--lime); }
.download-section .copy-link:focus-visible, .download-section .browser-link:focus-visible { outline-color: var(--lime); }

/* Instalação */
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.install-steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--s1); border: 1px solid var(--line); }
.install-steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 34px; z-index: 1;
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: .9rem;
}
.step-number { display: block; font-size: 3.4rem; font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--lime); margin-bottom: 20px; }
.install-steps p { color: var(--text-3); margin-top: 8px; }
.update-note {
  display: flex; gap: 16px; align-items: center; margin-top: 18px;
  padding: 20px 24px; border-radius: 18px; border: 1px dashed #d7ff3f66; background: #d7ff3f0a;
}
.update-note > span { font-size: 1.5rem; color: var(--lime); }
.update-note p { color: var(--text-2); }

/* Perguntas */
.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 18px; background: var(--s1); border: 1px solid var(--line); transition: border-color .15s; }
.faq-list details[open] { border-color: #d7ff3f55; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span {
  flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--s3); color: var(--lime); font-size: 1.2rem; transition: transform .2s;
}
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
.faq-list details p { padding: 0 22px 22px; color: var(--text-3); }
.faq-list a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-block: 48px 32px; }
.footer-slogan { font-weight: 800; font-stretch: 75%; font-size: 2rem; line-height: .95; text-align: center; }
.footer-links { display: grid; gap: 6px; justify-items: end; color: var(--text-2); font-size: .92rem; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 32px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .85rem; }
.footer-bottom a:hover { color: var(--lime); }

/* Página de documentos */
.document-page { padding-block: clamp(56px, 9vw, 110px); max-width: 760px; }
.document-page h1 { font-size: clamp(3rem, 9vw, 5.6rem); margin-bottom: 32px; }
.document-page p, .document-page ol { color: var(--text-2); font-size: 1.05rem; margin-bottom: 20px; }
.document-page ol { padding-left: 22px; }
.document-page li { margin-bottom: 8px; }
.document-page .button { margin-top: 12px; }

/* Responsivo */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 56px 72px; }
  .hero-phone { display: none; }
  .training-points { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .desktop-nav, .header-download { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-inner { min-height: 64px; }
  .hero { min-height: auto; }
  .hero { min-height: 640px; align-items: end; }
  .hero-shade { background: linear-gradient(180deg, #0a0b0933 0%, #0a0b0999 38%, #0a0b09f2 70%, #0a0b09 100%); }
  .hero-image { object-position: 72% 20%; }
  .hero-actions .button { flex: 1 1 100%; }
  .app-section, .training-grid, .faq-section, .download-inner { grid-template-columns: 1fr; }
  .app-stage { min-height: 0; padding: 28px 16px; }
  .section-heading { flex-direction: column; align-items: start; }
  .section-heading > p { text-align: left; }
  .section-heading > p br { display: none; }
  .resource-grid, .install-steps { grid-template-columns: 1fr; }
  .resource-wide { grid-column: auto; }
  .install-steps li:not(:last-child)::after { content: "↓"; right: auto; left: 28px; top: auto; bottom: -20px; }
  .footer-main { grid-template-columns: 1fr; justify-items: start; }
  .footer-slogan { text-align: left; }
  .footer-links { justify-items: start; }
}
@media (max-width: 420px) {
  .hero-facts li { padding: 4px 14px; }
  .feature-tab { padding: 16px; }
  .training-points li, .resource, .install-steps li { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .pulse { animation: none; }
  .button, .resource, .feature-tab, .faq-list summary span, .menu-toggle span { transition: none; }
}
