/* Landing do Pegadas. Desenho: design/PegadasLanding.figcraft (desktop 1440, mobile 390). */

@font-face { font-family: "Baloo 2"; font-weight: 500; font-display: swap; src: url("assets/baloo2-500.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 600; font-display: swap; src: url("assets/baloo2-600.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("assets/baloo2-700.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("assets/baloo2-800.woff2") format("woff2"); }

:root {
  --bg: #FFF8EE;
  --surface: #FFFFFF;
  --border: #F0E2D0;
  --ink: #33185C;
  --muted: #6A5A80;
  --primary: #EE6C0E;
  --primary-shadow: #B84E00;
  --primary-soft: #FDE3CB;
  --purple: #5B2D9E;
  --purple-deep: #47207F;
  --lilac: #E9E2FD;
  --gutter: 20px;
  --section: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.55 "Baloo 2", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.band--purple :focus-visible, .closing :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; fill: currentColor; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { left: 8px; }

h1 { font-size: 38px; line-height: 1.14; font-weight: 800; text-wrap: balance; }
h2 { font-size: 30px; line-height: 1.25; font-weight: 800; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 800; }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--primary-shadow); }

/* Botões "chunky": a borda de baixo faz a profundidade, como no app. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 9px 22px; border-radius: 14px;
  border: 2px solid var(--border); border-bottom-width: 4px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 700; line-height: 22px; text-decoration: none; white-space: nowrap;
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(.97); }
.btn:active { transform: translateY(2px); }
.btn--big { min-height: 62px; padding: 14px 32px; border-radius: 18px; font-size: 19px; }
.btn--primary { background: var(--primary); border-color: var(--primary-shadow); border-width: 0 0 4px; color: #fff; }
.btn--primary:hover { filter: brightness(1.05); }
.btn--on-dark { border-color: #D9CCF2; color: var(--purple-deep); }
.btn--on-orange { border-color: #F5C9A3; color: var(--primary-shadow); }

/* Navegação */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.nav__logo img { width: 132px; }
.nav__links { display: none; gap: 32px; margin-left: auto; }
.nav__links a { font-weight: 700; font-size: 16px; text-decoration: none; padding: 12px 0; }
.nav__links a:hover { color: var(--primary-shadow); }

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 12px; overflow: hidden; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--primary-soft); color: #8F3D00; font-size: 14px; font-weight: 700; line-height: 20px; }
.pill .icon { width: 18px; height: 18px; color: var(--primary); }
.hero .lead { font-size: 18px; }
.hero__cta { display: grid; gap: 12px; width: 100%; }
.hero__proof { display: none; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 600; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof .icon { width: 20px; height: 20px; color: var(--primary); }

.hero__art { position: relative; height: 470px; width: 100%; max-width: 350px; margin-inline: auto; }
.blob { position: absolute; border-radius: 50%; }
.blob--main { left: 15px; top: 60px; width: 320px; height: 320px; background: var(--primary); }
.blob--small { display: none; background: var(--lilac); }
.phone {
  position: relative; overflow: hidden;
  padding: 10px; border-radius: 44px; background: var(--ink);
  box-shadow: 0 24px 48px rgb(51 24 92 / .2);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; background: var(--bg); }
.hero .phone { position: absolute; }
.phone--front { left: 50px; top: 0; width: 250px; height: 520px; }
.phone--back { display: none; }

/* Faixas */
.band { padding-block: var(--section); }
.band--white { background: var(--surface); }
.band--cream { background: var(--bg); }
.band--purple { background: linear-gradient(180deg, var(--purple), var(--purple-deep)); color: #fff; }
.band--purple .eyebrow { color: #FFC79A; }
.band--purple .lead { color: #E4D8F7; }
.head { display: grid; gap: 12px; max-width: 720px; margin: 0 auto 32px; text-align: center; }

/* Cartões */
.cards, .steps { display: grid; gap: 16px; }
.card { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: 24px; background: var(--bg); border: 2px solid var(--border); border-bottom-width: 4px; }
.card--white { background: var(--surface); padding: 28px; }
.card p { font-size: 16px; line-height: 24px; color: var(--muted); }
.badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; }
.badge .icon { width: 28px; height: 28px; }
.badge--primary { background: #FDE3CB; color: #EE6C0E; }
.badge--play { background: #FADDE7; color: #D6336C; }
.badge--health { background: #D7F0F3; color: #0C8599; }
.badge--med { background: #E9E2FD; color: #7048E8; }
.badge--walk { background: #DCEBFA; color: #1C7ED6; }
.num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 22px; font-weight: 800; line-height: 1; }

/* Destaques (texto + celular) */
.spot { padding-bottom: 0; overflow: hidden; }
.spot__grid { display: grid; gap: 40px; }
.spot__copy { display: grid; gap: 20px; justify-items: start; align-content: start; }
.spot__copy .btn { width: 100%; margin-top: 8px; }
.checks { display: grid; gap: 12px; font-weight: 600; line-height: 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { margin-top: 1px; color: var(--primary); }
.band--purple .checks .icon { color: #FFB066; }
.spot__art { position: relative; width: 340px; max-width: 100%; height: 420px; margin-inline: auto; }
.spot__art .blob { left: 0; top: 60px; width: 100%; aspect-ratio: 1; }
.blob--soft { background: var(--primary-soft); }
.blob--lilac { background: var(--lilac); }
.blob--purple { background: #6F42B5; }
.spot__art .phone { width: 260px; height: 480px; margin-inline: auto; }

/* Chamada final */
.closing { padding-bottom: var(--section); }
.closing__panel {
  display: grid; gap: 24px; justify-items: center; text-align: center;
  padding: 40px 24px; border-radius: 32px;
  background: var(--primary); border-bottom: 6px solid var(--primary-shadow); color: #fff;
}
.closing__panel img { width: 64px; }
.closing__panel .lead { color: #fff; max-width: 640px; }
.closing__panel .btn { width: 100%; }

/* Rodapé */
.footer { background: var(--ink); color: #B9A8CF; padding-block: 32px; font-size: 14px; }
.footer__row { display: grid; gap: 20px; justify-items: center; }
.footer img { width: 140px; }
.footer__info { display: grid; gap: 2px; text-align: center; line-height: 22px; }
.footer address { display: grid; gap: 2px; font-style: normal; color: #D9CCF2; }
.footer address strong { color: #fff; font-size: 15px; font-weight: 700; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 12px; }
.footer__links a { color: #fff; font-weight: 700; text-decoration: none; padding-block: 6px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer :focus-visible { outline-color: #fff; }

/* Termos e Privacidade: uma coluna de leitura. */
.legal { padding-block: 24px var(--section); }
.legal__doc { max-width: 760px; margin-inline: auto; display: grid; gap: 40px; }
.legal__head { display: grid; gap: 12px; }
.legal__date { font-size: 15px; font-weight: 700; color: var(--muted); }
.legal a:not(.btn) { color: var(--purple); font-weight: 700; text-underline-offset: 3px; }
.legal a:not(.btn):hover { color: var(--primary-shadow); }
.legal__toc { padding: 20px 24px; border: 2px solid var(--border); border-radius: 20px; background: var(--surface); }
.legal__toc-title { font-weight: 800; margin-bottom: 8px; }
.legal__toc ol { list-style: decimal; padding-left: 22px; display: grid; gap: 2px; }
.legal__toc li::marker { color: var(--muted); font-weight: 700; }
.legal section { display: grid; gap: 14px; scroll-margin-top: 16px; }
.legal h2 { font-size: 24px; }
.legal h3 { font-size: 18px; margin-top: 6px; }
.legal p, .legal__list { color: #45306A; text-wrap: pretty; }
.legal__list { display: grid; gap: 10px; list-style: disc; padding-left: 22px; }
.legal__list li::marker { color: var(--primary); }
.legal strong { color: var(--ink); }

@media (min-width: 640px) {
  .hero__cta { display: flex; flex-wrap: wrap; width: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .spot__copy .btn, .closing__panel .btn { width: auto; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; --section: 96px; }
  h1 { font-size: clamp(48px, 4.6vw, 64px); line-height: 1.1; }
  h2 { font-size: clamp(36px, 3.2vw, 44px); line-height: 1.18; }
  .lead { font-size: 20px; line-height: 1.5; }
  .hero .lead { font-size: 21px; line-height: 1.52; }

  .nav { padding-block: 24px; }
  .nav__logo img { width: 168px; }
  .nav__links { display: flex; }

  .hero { grid-template-columns: minmax(0, 1fr) 560px; gap: 48px; align-items: center; padding-top: 40px; }
  .hero__copy { padding-bottom: 72px; }
  .hero__proof { display: flex; padding-top: 8px; }
  .hero__art { height: 660px; max-width: none; margin: 0; }
  .blob--main { left: 30px; top: 90px; width: 500px; height: 500px; }
  .blob--small { display: block; left: 400px; top: 20px; width: 120px; height: 120px; }
  .phone--front { left: 20px; top: 30px; width: 300px; height: 640px; }
  .phone--back { display: block; left: 280px; top: 120px; width: 270px; height: 580px; }

  .head { gap: 12px; margin-bottom: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .spot__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 80px; align-items: center; }
  .spot--flip .spot__grid { grid-template-columns: 400px minmax(0, 1fr); }
  .spot--flip .spot__art { order: -1; }
  .spot__copy { padding-bottom: 96px; }
  .spot__art { width: 400px; height: 560px; margin: 0; }
  .spot__art .phone { width: 320px; height: 620px; }

  .closing__panel { padding: 72px 96px; border-radius: 40px; }
  .closing__panel img { width: 80px; }
  .closing__panel h2 { font-size: 48px; }
  .footer { padding-block: 40px; }
  .footer__row { display: flex; align-items: center; justify-content: space-between; }
  .footer__info { text-align: right; }
  .footer__links { justify-content: flex-end; }
  .legal h2 { font-size: 28px; }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr) 440px; }
  .hero__art { transform: scale(.8); transform-origin: left center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* 404 */
.notfound { display: grid; gap: 24px; justify-items: center; align-content: center; min-height: 100dvh; padding-block: 48px; text-align: center; }
