@font-face { font-family: "Geist"; src: url("/fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --canvas: #0C0C0A;
  --surface: #151512;
  --raised: #1C1C18;
  --hair: #2B2A25;
  --hair-strong: #3A3932;
  --ink: #F4F1E8;
  --ink-muted: #A8A498;
  --accent: #FFB224;
  --on-accent: #1A1406;
  --accent-text: #FFB224;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --canvas: #F4F1E9;
    --surface: #FBFAF6;
    --raised: #FFFFFF;
    --hair: #E3DED2;
    --hair-strong: #CFC9BA;
    --ink: #16150F;
    --ink-muted: #6A665A;
    --accent-text: #9A6200;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 10; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* Navegação */
.site-nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: none; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.nav-web { display: none; }
@media (min-width: 560px) { .nav-web { display: inline-flex; } }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), background-color 160ms; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn-ghost { border: 1px solid var(--hair-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-muted); }
.btn-store { min-width: 200px; justify-content: flex-start; padding: 0 22px; border-radius: var(--radius-m); min-height: 56px; }
.btn-store small { display: block; font: 400 12px/1.2 var(--sans); color: inherit; opacity: 0.75; }
.btn-store span { display: block; font-size: 16px; font-weight: 600; }

/* Tipografia */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.04; }
.display em { font-style: italic; padding-bottom: 0.08em; }
.lede { color: var(--ink-muted); font-size: 18px; line-height: 1.55; max-width: 36ch; margin: 0; }
.muted { color: var(--ink-muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 9vw, 4.9rem); max-width: 11ch; }
.hero .lede { margin-top: 24px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-muted); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 64px; }
}

/* Moldura de telefone */
.phone { position: relative; width: min(300px, 78vw); margin: 0; padding: 10px; border-radius: 48px; background: var(--surface); border: 1px solid var(--hair-strong); }
.phone img { width: 100%; border-radius: 38px; }
.phone--lg { width: min(340px, 84vw); }
.hero-visual { justify-self: center; }

/* Frase de abertura */
.statement { padding: 72px 0; border-top: 1px solid var(--hair); }
.statement p { font-family: var(--serif); font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0; max-width: 24ch; }
.statement p em { color: var(--accent-text); }

/* Bento: quatro células, sem vazios */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: 96px; }
.cell { border-radius: var(--radius-l); border: 1px solid var(--hair); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.cell h3 { font-size: 22px; line-height: 1.2; }
.cell p { margin: 0; color: var(--ink-muted); max-width: 36ch; }
.cell--tint { background: var(--raised); }
.cell--image { padding: 28px 28px 0; }
.cell--image .shot { margin-top: auto; align-self: center; width: min(260px, 70%); border-radius: 26px 26px 0 0; border: 1px solid var(--hair-strong); border-bottom: 0; }
.cell-head { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(260px, auto); }
  .cell--a { grid-column: span 4; grid-row: span 2; }
  .cell--b { grid-column: span 2; }
  .cell--c { grid-column: span 3; }
  .cell--d { grid-column: span 3; }
  .cell--a .shot { width: min(300px, 60%); }
}

/* Previsão: dois telefones deslocados */
.forecast { padding: 96px 0; border-top: 1px solid var(--hair); }
.forecast-grid { display: grid; gap: 56px; align-items: center; }
.forecast h2, .privacy h2, .download h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.015em; }
.forecast h2 em, .privacy h2 em, .download h2 em { font-style: italic; }
.forecast .lede, .privacy .lede { margin-top: 20px; }
.pair { position: relative; display: flex; justify-content: center; gap: 16px; }
.pair .phone:last-child { margin-top: 56px; }
@media (min-width: 900px) {
  .forecast-grid { grid-template-columns: 0.85fr 1.15fr; }
  .pair { justify-content: flex-end; }
}
@media (max-width: 480px) { .pair .phone { width: 46vw; padding: 6px; border-radius: 32px; } .pair .phone img { border-radius: 26px; } .pair .phone:last-child { margin-top: 28px; } }

/* Privacidade: três colunas de texto, uma linha divisória */
.privacy { padding: 96px 0; border-top: 1px solid var(--hair); }
.privacy-list { margin-top: 56px; display: grid; gap: 40px; padding: 0; list-style: none; }
.privacy-list li { border-top: 1px solid var(--hair-strong); padding-top: 24px; }
.privacy-list h3 { font-size: 20px; margin-bottom: 10px; }
.privacy-list p { margin: 0; color: var(--ink-muted); max-width: 40ch; }
@media (min-width: 900px) {
  .privacy-list { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* Download */
.download { padding: 96px 0; border-top: 1px solid var(--hair); }
.download-box { border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--hair); padding: 40px 24px; display: grid; gap: 32px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) { .download-box { padding: 64px; grid-template-columns: 1.2fr 0.8fr; align-items: center; } }

/* Rodapé */
.site-footer { border-top: 1px solid var(--hair); padding: 40px 0 48px; font-size: 14px; color: var(--ink-muted); }
.footer-grid { display: grid; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }

/* Páginas legais */
.doc { padding: 56px 0 96px; }
.doc-head { border-bottom: 1px solid var(--hair); padding-bottom: 32px; margin-bottom: 40px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1.05; }
.doc .updated { margin-top: 16px; color: var(--ink-muted); font-size: 14px; }
.doc-body { max-width: 68ch; }
.doc-body h2 { font-size: 20px; margin: 48px 0 12px; letter-spacing: -0.01em; }
.doc-body h3 { font-size: 16px; margin: 24px 0 8px; }
.doc-body p, .doc-body li { color: var(--ink); }
.doc-body p { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 0 0 16px; }
.doc-body li { margin-bottom: 8px; }
.doc-body a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent-text); }
.callout { border: 1px solid var(--hair-strong); border-radius: var(--radius-m); padding: 20px 22px; background: var(--surface); margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hair-strong); display: grid; place-items: center; font: 500 13px/1 var(--mono); color: var(--ink-muted); }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--hair); border-radius: var(--radius-m); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--hair); }
th { color: var(--ink-muted); font-weight: 500; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
