/* Landing do My Workout (www.myworkout.app.br). Visual v2 claro: app/docs/design-system.md. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/barlow-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --surface-soft: #F1F1EE;
  --text: #141414;
  --text-soft: #4A4A47;
  --text-mute: #636360;
  --line: rgba(20, 20, 20, 0.08);
  --line-strong: rgba(20, 20, 20, 0.16);
  --primary: #FFA800;
  --primary-hover: #F09E00;
  --primary-ink: #8A5A00;
  --r-sm: 6px;
  --r-md: 8px;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --gap: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gap); padding-left: max(var(--gap), env(safe-area-inset-left)); padding-right: max(var(--gap), env(safe-area-inset-right)); }

.pular { position: absolute; left: 12px; top: -60px; background: var(--text); color: #fff; padding: 10px 14px; border-radius: var(--r-md); z-index: 10; text-decoration: none; }
.pular:focus { top: 12px; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 5; background: rgba(247, 247, 245, 0.94); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
@supports (backdrop-filter: blur(8px)) { .topo { background: rgba(247, 247, 245, 0.8); backdrop-filter: blur(8px); } }
.topo__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; }
.marca img { border-radius: var(--r-md); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: var(--r-md);
  font: 600 0.95rem/1 var(--body); text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn--grande { min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
.btn--pequeno { min-height: 40px; padding: 0 16px; }
.btn--principal { background: var(--primary); color: var(--text); }
.btn--principal:hover { background: var(--primary-hover); }
.btn--contorno { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn--contorno:hover { border-color: var(--text); }

/* Títulos de dois pesos */
.titulo { font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.titulo .fino { font-weight: 300; }
.titulo strong { font-weight: 600; }
.titulo--hero { font-size: clamp(2.4rem, 8.5vw, 4.25rem); line-height: 1.02; }
.titulo--hero .fino, .titulo--hero strong { display: block; }
.titulo--secao { font-size: clamp(1.75rem, 5.4vw, 2.6rem); }

.selo { display: inline-block; background: var(--text); color: #fff; font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: var(--r-sm); margin-bottom: 20px; }
.rotulo { color: var(--primary-ink); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.lead { font-size: 1.08rem; color: var(--text-soft); margin-top: 20px; max-width: 34em; }
.apoio { color: var(--text-soft); margin-top: 14px; max-width: 36em; }
.nota { color: var(--text-mute); font-size: 15px; margin-top: 14px; }
.acoes { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Imagens */
.foto { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-soft); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.tela { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); }
.tela img { width: 100%; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero__in { display: grid; gap: 40px; }
.hero__visual { position: relative; padding-bottom: 48px; }
.foto--hero { aspect-ratio: 4 / 3.4; width: 84%; }
.foto--hero img { object-position: 40% center; }
.tela--hero { position: absolute; right: 0; bottom: 0; width: 38%; max-width: 230px; border: 6px solid var(--surface); outline: 1px solid var(--line-strong); }

/* Seções */
.secao { padding: 64px 0; }
.secao--suave { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Para quem */
.publico { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 32px; }
.cartao { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cartao img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cartao__texto { padding: 16px 18px 20px; }
.cartao h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
.cartao p { color: var(--text-soft); font-size: 15px; margin-top: 6px; }

/* Recursos */
.recurso__in { display: grid; gap: 36px; align-items: center; }
.recurso__texto p:not(.rotulo) { color: var(--text-soft); margin-top: 16px; max-width: 32em; }
.recurso__visual { display: flex; justify-content: center; }
.recurso__visual .tela { width: 62%; max-width: 250px; }
.recurso__visual--par { gap: 14px; align-items: flex-start; }
.recurso__visual--par .tela { width: 48%; max-width: 230px; }
.tela--desce { margin-top: 40px; }
.recurso__visual--misto { gap: 14px; align-items: center; }
.recurso__visual--misto .foto { width: 52%; aspect-ratio: 3 / 4; }
.recurso__visual--misto .tela { width: 44%; }
.recurso__visual .tela--story { max-width: 270px; }

.lista { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.lista li { position: relative; padding-left: 22px; color: var(--text); font-size: 16px; }
.lista li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 3px; border-radius: 2px; background: var(--primary); }

.numero { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; padding: 14px 18px; border: 1px solid var(--line-strong); border-left: 3px solid var(--primary); border-radius: var(--r-md); background: var(--surface); width: fit-content; }
.numero__valor { font-family: var(--display); font-weight: 500; font-size: 3rem; line-height: 1; }
.numero__rotulo { color: var(--text-soft); font-size: 15px; }

/* Beta */
.beta { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 48px 24px; display: flex; flex-direction: column; align-items: center; }
.beta__logo { border-radius: var(--r-md); margin-bottom: 20px; }
.beta .titulo .fino, .beta .titulo strong { display: block; }
.beta p { color: var(--text-soft); margin: 16px 0 28px; max-width: 30em; }

/* Rodapé */
.rodape { border-top: 1px solid var(--line); padding: 32px 0; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.rodape__in { display: grid; gap: 18px; }
.rodape__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rodape__links a { color: var(--text-soft); text-decoration: none; font-size: 15px; display: inline-block; padding: 6px 0; }
.rodape__links a:hover { color: var(--text); text-decoration: underline; }
.rodape__dominio { color: var(--text-mute); font-size: 14px; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gap: 32px; }
  .publico { grid-template-columns: repeat(3, 1fr); }
  .recurso__visual .tela { width: 46%; }
}

/* Desktop */
@media (min-width: 960px) {
  body { font-size: 18px; }
  .hero { padding: 72px 0 96px; }
  .hero__in { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .secao { padding: 104px 0; }
  .recurso__in { grid-template-columns: 1fr 1fr; gap: 72px; }
  .recurso--inverso .recurso__texto { order: 2; }
  .recurso__visual .tela { width: 64%; }
  .recurso__visual--par .tela { width: 46%; }
  .recurso__visual--misto .tela { width: 42%; }
  .beta { padding: 72px 32px; }
  .rodape__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .rodape__links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
