/* Fortta. Mesmas cores do app: marrom de piso de borracha, creme e terracota. */
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/assets/figtree-400.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 500; font-display: swap; src: url(/assets/figtree-500.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(/assets/figtree-600.woff2) format('woff2'); }

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --text: #1f1b16;
  --text-2: #5e554a;
  --line: rgba(31, 27, 22, 0.1);
  --link: #963f1c;
  --hero: #2a1f19;
  --on-hero: #f6efe6;
  --on-hero-2: #bcae9f;
  --hero-accent: #ee9466;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --surface: #1c1a18;
    --text: #efe9de;
    --text-2: #aaa398;
    --line: rgba(239, 233, 222, 0.1);
    --link: #ee9c74;
    --hero: #241a15;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/28px Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 4px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 16px; border-radius: 8px; z-index: 1; }

/* Faixa escura do topo, igual à do app. */
.hero { background: var(--hero); color: var(--on-hero); border-radius: 0 0 28px 28px; overflow: hidden; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.bar .logo { display: block; line-height: 0; }
.bar nav { display: flex; gap: 24px; }
.bar nav a { color: var(--on-hero-2); text-decoration: none; font-size: 15px; line-height: 24px; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--on-hero); }

/* Capa */
.cover { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 32px 0 0; }
.cover h1 { margin: 0; font-weight: 500; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.cover h1 span { color: var(--hero-accent); }
.cover > div:first-child { padding-bottom: 56px; }
.cover p { margin: 24px 0 0; max-width: 34ch; font-size: 19px; line-height: 30px; color: var(--on-hero-2); }
.cover .soon { margin-top: 32px; color: var(--on-hero); font-weight: 500; font-size: 17px; }
.phone { align-self: end; justify-self: center; width: min(340px, 78vw); margin-bottom: -64px; border: 8px solid #0f0b09; border-bottom: 0; border-radius: 48px 48px 0 0; overflow: hidden; line-height: 0; background: #0f0b09; }
.phone img { display: block; width: 100%; border-radius: 40px 40px 0 0; }

/* Lista do que o app faz */
.does { padding: 112px 0 96px; }
.does dl { margin: 0; display: grid; grid-template-columns: 1fr; }
.does .row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.does .row:first-child { border-top: 0; padding-top: 0; }
.does dt { font-weight: 500; font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.does dd { margin: 0; color: var(--text-2); max-width: 56ch; }
.note { margin-top: 48px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; line-height: 24px; }

/* Textos legais e suporte */
.title { padding: 32px 0 56px; }
.title h1 { margin: 0; font-weight: 500; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.title p { margin: 12px 0 0; color: var(--on-hero-2); font-size: 15px; line-height: 24px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 68ch); gap: 64px; padding-block: 56px 96px; }
.toc { position: sticky; top: 32px; align-self: start; font-size: 14px; line-height: 20px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); }
.text > :first-child { margin-top: 0; }
.text .lead > :last-child { margin-bottom: 0; }
.text h2 { margin: 56px 0 12px; font-weight: 600; font-size: 22px; line-height: 30px; letter-spacing: -0.01em; scroll-margin-top: 32px; }
.text h3 { margin: 28px 0 8px; font-weight: 600; font-size: 17px; line-height: 26px; }
.text p, .text ul, .text ol { margin: 0 0 16px; }
.text ul, .text ol { padding-left: 20px; }
.text li { margin-bottom: 8px; }
.text .lead { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.text .lead ul { margin-bottom: 0; }
.table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 23px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-weight: 600; }
tbody td:first-child { min-width: 160px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-2); font-size: 14px; line-height: 22px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: inherit; }

@media (max-width: 800px) {
  .cover { grid-template-columns: 1fr; gap: 40px; }
  .cover > div:first-child { padding-bottom: 0; }
  .does { padding: 96px 0 64px; }
  .does .row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .doc { grid-template-columns: minmax(0, 1fr); padding-block: 32px 64px; }
  .toc { display: none; }
  .text h2 { margin-top: 40px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; line-height: 26px; }
  .wrap { padding-inline: 20px; }
  .bar nav { gap: 16px; }
}
