/* Black — landing (black.app.br).
   Formatação no estilo dos sites de apps de corrida conhecidos: fonte grotesca única (Inter no lugar da
   fonte proprietária deles), títulos em negrito sem efeitos, corpo 16/24, preto e branco com cinza claro,
   botões retangulares de canto 8px, chips e o botão do topo em pílula, sem sombras. */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #f6f6f6;
  --gray-100: #eeeeee;
  --gray-200: #e2e2e2;
  --gray-400: #afafaf;
  --gray-600: #5e5e5e;
  --gray-800: #333333;
  --gray-900: #1f1f1f;
  --gold: #c9a227;
  --gold-light: #e7c55a;
  --green: #3dd68c;
  --yellow: #f5c542;
  --red: #ff6b5e;
  --orange: #ff9a4d;
  --green-ink: #1e9e5a;
  --yellow-ink: #c99a00;
  --red-ink: #d92d20;
  --orange-ink: #e46c0a;
  --radius: 8px;
  --radius-card: 16px;
  --wrap: 1136px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* cores do contexto (seção clara por padrão) */
  --bg: var(--white);
  --fg: var(--black);
  --fg-2: var(--gray-600);
  --line: var(--gray-200);
  --surface: var(--gray-50);
  --surface-2: var(--gray-100);
  --money: var(--gold);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 16px; max-width: 64ch; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid #276ef1; outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 14px; border-radius: var(--radius); z-index: 20; }
.skip:focus { left: 16px; }
.muted { color: var(--fg-2); }
.small { font-size: 14px; line-height: 20px; }
.gold { color: var(--money); }

/* contextos de cor */
.hero, .dark, .top, .foot {
  --bg: var(--black);
  --fg: var(--white);
  --fg-2: var(--gray-400);
  --line: var(--gray-800);
  --surface: var(--gray-900);
  --surface-2: var(--gray-800);
  --money: var(--gold-light);
  background: var(--bg);
  color: var(--fg);
}
.gray { --bg: var(--gray-50); --surface: var(--white); --surface-2: var(--gray-100); background: var(--bg); }

/* ------------------------------------------------------------------ tipografia */
.display { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.22; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 16px; max-width: 22ch; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 12px; }
.lead { font-size: 18px; line-height: 28px; color: var(--fg-2); max-width: 46ch; margin-top: 24px; }
.narrow { max-width: 28ch; }
p.narrow { max-width: 60ch; color: var(--fg-2); }

/* ------------------------------------------------------------------ botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius); border: 0;
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--gray-800); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--gray-200); }
.btn-ghost { background: var(--surface-2); color: var(--fg); }
.btn-ghost:hover { background: #4b4b4b; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 999px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.push { margin-left: auto; }

/* ------------------------------------------------------------------ topo */
.top { position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--gray-900); }
.top .btn { margin-left: auto; }
@media (max-width: 860px) { .nav { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 40px 0 56px; } }

/* calculadora: cartão branco, sem sombra */
.meter { background: var(--white); color: var(--black); border-radius: var(--radius-card); padding: 24px; }
.meter-title { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 16px; }
.meter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.meter-row label { font-weight: 500; }
.meter-chip { font-weight: 600; font-variant-numeric: tabular-nums; background: var(--black); color: var(--white); border-radius: 999px; padding: 2px 12px; }
.meter-help { font-size: 14px; line-height: 20px; color: var(--gray-600); margin: 4px 0 16px; }
input[type='range'] { width: 100%; margin: 12px 0 0; accent-color: var(--black); height: 32px; cursor: pointer; }

.bands { border: 0; margin: 0 0 20px; padding: 0; }
.bands legend { font-weight: 500; margin-bottom: 8px; padding: 0; }
.band-options { display: flex; flex-wrap: wrap; gap: 8px; }
.band-options label, .seg-choice label { position: relative; }
.band-options input, .seg-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.band-options span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; background: var(--gray-100); font-size: 14px; font-weight: 500; cursor: pointer;
}
.band-options input:checked + span { background: var(--black); color: var(--white); }
.band-options input:focus-visible + span { outline: 3px solid #276ef1; outline-offset: 2px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.green { background: var(--green-ink); }
.dot.yellow { background: var(--yellow-ink); }
.dot.red { background: var(--red-ink); }
.dot.orange { background: var(--orange-ink); }
.band-options input:checked + span .dot.green { background: var(--green); }
.band-options input:checked + span .dot.yellow { background: var(--yellow); }
.band-options input:checked + span .dot.red { background: var(--red); }
.band-options input:checked + span .dot.orange { background: var(--orange); }

.meter-result { border-top: 1px solid var(--gray-200); padding-top: 16px; }
.meter-label { margin: 0; color: var(--gray-600); }
.meter-value { margin: 4px 0 0; font-size: clamp(44px, 7vw, 56px); line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.meter-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; }
.meter-split div { background: var(--gray-50); border-radius: var(--radius); padding: 12px; }
.meter-split dt { font-size: 14px; line-height: 20px; color: var(--gray-600); }
.meter-split dd { margin: 4px 0 0; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.meter-split dd.gold { color: var(--gold); }
#meter-other { color: var(--gray-600); text-decoration: line-through; }

/* ------------------------------------------------------------------ seções */
.section { padding: 96px 0; scroll-margin-top: 64px; background: var(--bg); color: var(--fg); }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two.align-center { align-items: center; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 40px; } }
.section p { color: var(--fg-2); }

/* mês: barras */
.month { background: var(--surface); border-radius: var(--radius-card); padding: 24px; }
.month-input { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; }
.month-input output { font-size: 28px; line-height: 36px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 20px; margin-top: 20px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.bar-head strong { font-variant-numeric: tabular-nums; font-weight: 700; }
.bar { height: 12px; border-radius: 999px; background: var(--gray-200); overflow: hidden; margin-top: 8px; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .25s ease; }
.bar-fill.black { background: var(--black); }
.bar-fill.grey { background: var(--gray-400); }
.section .bar-note { font-size: 14px; line-height: 20px; margin: 6px 0 0; }

/* fórmula */
.formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 32px 0 56px; }
.f-term { display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; background: var(--surface); border-radius: var(--radius); }
.f-term b { font-size: 18px; line-height: 24px; font-weight: 700; }
.f-term small { color: var(--fg-2); font-size: 14px; line-height: 20px; }
.gold-term { box-shadow: inset 0 0 0 2px var(--money); }
.f-op { align-self: center; font-size: 24px; color: var(--fg-2); padding: 0 2px; }

/* linha do dia */
.day { margin-bottom: 56px; }
.day-strip { display: flex; height: 56px; border-radius: var(--radius); overflow: hidden; gap: 2px; }
.s-a { flex: 6 0 0; } .s-b { flex: 10.02 0 0; } .s-c { flex: 1.48 0 0; } .s-d { flex: 2.02 0 0; } .s-e { flex: 3 0 0; }
.seg { display: flex; align-items: flex-end; padding: 8px; color: var(--black); font-weight: 600; min-width: 0; }
.seg em { font-style: normal; font-size: 14px; white-space: nowrap; overflow: hidden; }
.seg.green { background: var(--green); }
.seg.yellow { background: var(--yellow); }
.seg.red { background: var(--red); }
.seg.orange { background: var(--orange); }
.day-hours { display: flex; justify-content: space-between; color: var(--fg-2); font-size: 12px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.day-legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--fg-2); font-size: 14px; }
.day-legend li { display: flex; align-items: center; gap: 8px; }
.day-legend b { color: var(--fg); font-weight: 600; }
@media (max-width: 560px) { .seg em { display: none; } }

/* listas de recursos: blocos em cinza claro, sem sombra */
.pricing-list, .safety, .features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pricing-list { grid-template-columns: repeat(2, 1fr); }
.safety { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.features { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.pricing-list li, .safety li, .features article { background: var(--surface); border-radius: var(--radius-card); padding: 24px; }
.pricing-list h3, .safety h3, .features h3 { font-size: 18px; line-height: 24px; font-weight: 600; margin-bottom: 8px; }
.pricing-list p, .safety p, .features p { margin: 0; font-size: 15px; line-height: 22px; }
@media (max-width: 980px) { .safety, .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-list, .safety, .features { grid-template-columns: 1fr; } }

/* passageiros: celular */
.phone { width: min(340px, 100%); margin-inline: auto; border-radius: 44px; padding: 12px; background: var(--gray-900); }
.phone-screen { background: var(--white); color: var(--black); border-radius: 34px; padding: 24px 16px 16px; display: grid; gap: 4px; }
.ph-title { text-align: center; font-weight: 700; font-size: 18px; margin: 0 0 8px; justify-self: center; color: var(--black) !important; }
.ph-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 2px solid transparent; }
.ph-selected { border-color: var(--black); }
.ph-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-100); font-weight: 700; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--gray-200); flex: none; }
.gold-ring { border-color: var(--gold); box-shadow: none; }
.ph-info { display: grid; flex: 1; line-height: 1.25; min-width: 0; }
.ph-info b { font-size: 16px; font-weight: 600; }
.ph-info b.gold { color: var(--gold); }
.ph-info small { color: var(--gray-600); font-size: 12px; }
.ph-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.ph-band { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600) !important; margin: 6px 4px; }
.ph-btn { display: block; text-align: center; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 12px; font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--fg-2); max-width: 60ch; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--fg); border-bottom: 2px solid var(--fg); transform: rotate(-45deg); }
.checks b { color: var(--fg); font-weight: 600; }

/* passo a passo (é uma sequência) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--radius-card); padding: 24px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--black); color: var(--white); font-weight: 600; font-size: 14px; margin-bottom: 16px;
}
.steps h3 { font-size: 18px; line-height: 24px; font-weight: 600; margin-bottom: 8px; }
.steps p { font-size: 15px; line-height: 22px; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ formulário */
.signup a { color: var(--white); }
.form { background: var(--white); color: var(--black); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 4px; }
.form p { color: var(--gray-600); }
.field { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--gray-600); }
.field input:not([type='radio']):not([type='checkbox']), .field select {
  width: 100%; min-height: 48px; border-radius: var(--radius); border: 2px solid transparent;
  background: var(--gray-100); padding: 0 14px; font: inherit; color: var(--black);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--black); background: var(--white); }
.field [aria-invalid='true'] { border-color: var(--red-ink) !important; }
.field-row { display: flex; gap: 12px; }
.grow { flex: 1; }
.uf { width: 110px; }
.form .err { color: var(--red-ink); font-size: 14px; line-height: 20px; margin: 4px 0 0; }
.err:empty { display: none; }
.seg-choice { display: flex; gap: 8px; }
.seg-choice label { flex: 1; margin: 0; }
.seg-choice span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; background: var(--gray-100); font-weight: 500; cursor: pointer; }
.seg-choice input:checked + span { background: var(--black); color: var(--white); }
.seg-choice input:focus-visible + span { outline: 3px solid #276ef1; outline-offset: 2px; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; line-height: 20px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--black); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .form-status { margin: 8px 0 0; font-weight: 500; min-height: 24px; }
.form .form-status.ok { color: var(--green-ink); }
.form .form-status.error { color: var(--red-ink); }
.form-done { padding: 8px 0; }
.form-done h3 { font-size: 24px; line-height: 32px; font-weight: 700; margin-bottom: 8px; }

/* perguntas */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 16px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 18px; line-height: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--fg); border-bottom: 2px solid var(--fg); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 20px; }

/* rodapé */
.foot { padding: 48px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-in p { margin: 0; color: var(--fg-2); }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { color: var(--fg); text-decoration: none; font-size: 14px; }
.foot nav a:hover { text-decoration: underline; }

/* páginas internas (privacidade, 404) */
.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.2; font-weight: 700; margin-bottom: 24px; }
.page h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 32px 0 8px; }
.page p, .page li { color: var(--gray-600); max-width: 68ch; }
