/* Dino IA — site público. Padrão Apple (mesmos tokens do painel); o laranja aparece só na arte do banner. */
:root {
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --label: #1d1d1f;
  --label-2: #6e6e73;
  --label-3: #86868b;
  --bg: #fff;
  --bg-grouped: #f5f5f7;
  --fill-3: rgba(118, 118, 128, .12);
  --separator: rgba(60, 60, 67, .29);
  --tint: #007aff;
  --tint-pressed: #0062cc;
  --tint-soft: rgba(0, 122, 255, .12);
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --night: #1d2027;          /* fundo do banner da marca */
  --night-2: #2a2e37;
  --material-bar: rgba(251, 251, 253, .8);
  --r-lg: 12px; --r-xl: 18px; --r-2xl: 28px; --r-pill: 999px;
  --spring: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 17px/1.47 var(--font); letter-spacing: -.022em; color: var(--label); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--tint); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.wrap { width: min(1024px, 100% - 44px); margin: 0 auto; }
.muted { color: var(--label-2); }
.small { font-size: 14px; letter-spacing: -.01em; }
::selection { background: var(--tint-soft); }
:focus-visible { outline: 3px solid rgba(0, 122, 255, .5); outline-offset: 2px; }

/* ---------- navegação (vidro claro, como no painel) ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--material-bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 var(--separator); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 22px; width: auto; }
.brand:hover { text-decoration: none; }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav .links a { color: var(--label); opacity: .8; font-size: 13px; letter-spacing: -.01em; }
.nav .links a:hover { opacity: 1; text-decoration: none; }
.nav .cta { margin-left: 4px; }
@media (max-width: 760px) { .nav .links { display: none; } .nav .cta { margin-left: auto; } }

/* ---------- botões (padrão do sistema) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 0; cursor: pointer; font-weight: 400; font-size: 17px; letter-spacing: -.022em; white-space: nowrap; transition: background-color .15s, opacity .15s; }
.btn:hover { text-decoration: none; }
.btn:active { opacity: .7; }
.btn.primary, .btn.blue { background: var(--tint); color: #fff; }
.btn.primary:hover, .btn.blue:hover { background: #0077ed; }
.btn.ghost { background: transparent; color: var(--tint); box-shadow: inset 0 0 0 1px var(--tint); }
.btn.ghost:hover { background: var(--tint); color: #fff; }
.btn.on-dark { color: #2997ff; box-shadow: inset 0 0 0 1px #2997ff; background: transparent; }
.btn.on-dark:hover { background: #2997ff; color: #fff; }
.btn.light { background: var(--fill-3); color: var(--tint); }
.btn.sm { height: 28px; padding: 0 14px; font-size: 13px; letter-spacing: -.01em; }
.btn.lg { height: 50px; padding: 0 28px; }
.btn[disabled] { opacity: .45; cursor: default; }
.link-arrow { font-weight: 400; }
.link-arrow::after { content: " ›"; }

/* ---------- hero com o banner de pixels da marca ---------- */
.hero { background: var(--night); color: #f5f5f7; overflow: hidden; padding: 0 !important; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; padding: 104px 0 112px; }
.eyebrow { font: 600 21px/1.2 var(--font-display); letter-spacing: .011em; color: #f5f5f7; }
.hero h1 { font: 600 clamp(40px, 5.4vw, 64px)/1.06 var(--font-display); letter-spacing: -.035em; margin-top: 10px; }
.hero p.lead { font-size: clamp(19px, 1.7vw, 21px); line-height: 1.4; color: #a1a1a6; margin-top: 18px; max-width: 500px; letter-spacing: .011em; }
.hero .actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero .proof { margin-top: 24px; font-size: 14px; color: #86868b; letter-spacing: -.01em; }
.pixels { width: 100%; height: auto; display: block; }
.pixels rect { transition: fill .45s var(--spring); }
.pixels .dino { opacity: 0; transition: opacity 1.2s ease; }
.pixels.final .dino { opacity: 1; }
.pixels .grain { opacity: 0; transition: opacity 1s ease; }
.pixels.final .grain { opacity: 1; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 64px 0 56px; gap: 44px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
}

/* ---------- seções ---------- */
section { padding: 100px 0; background: var(--bg); }
section.gray { background: var(--bg-grouped); }
section.dark { background: #000; color: #f5f5f7; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font: 600 clamp(32px, 4.2vw, 48px)/1.08 var(--font-display); letter-spacing: -.03em; }
.sec-head p { font-size: 21px; line-height: 1.38; color: var(--label-2); margin-top: 14px; letter-spacing: .011em; }
.dark .sec-head p { color: #a1a1a6; }

/* bento de recursos */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--bg); border-radius: var(--r-2xl); padding: 36px 34px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; overflow: hidden; }
.tile h3 { font: 600 24px/1.16 var(--font-display); letter-spacing: -.02em; }
.tile p { color: var(--label-2); font-size: 17px; }
.tile .k { font-size: 14px; font-weight: 600; color: var(--orange); letter-spacing: -.01em; }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; }
.tile.night { background: #000; color: #f5f5f7; }
.tile.night p { color: #a1a1a6; }
.chat { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.bubble { max-width: 86%; padding: 9px 14px; border-radius: 18px; font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.bubble.in { background: #e9e9eb; color: var(--label); align-self: flex-start; }
.tile.night .bubble.in { background: #26262a; color: #f5f5f7; }
.bubble.out { background: var(--tint); color: #fff; align-self: flex-end; }
.bubble b { font-weight: 600; }
.poll { background: #26262a; border-radius: 16px; padding: 12px 14px; font-size: 14px; display: grid; gap: 9px; }
.poll span { display: flex; align-items: center; gap: 10px; color: #f5f5f7; }
.poll span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #636366; flex: none; }
.poll span.on::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: none; }
.big-num { font: 600 64px/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(100deg, #0090f7, #ba62fc 50%, #f2416b 80%, #f55600); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: auto; padding-bottom: 4px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .tile.w2, .tile.w3, .tile.w4 { grid-column: auto; } }

/* passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #1d1d1f; border-radius: var(--r-2xl); padding: 34px 32px; }
.step .n { font: 600 48px/1 var(--font-display); letter-spacing: -.04em; color: #2997ff; margin-bottom: 18px; }
.step h3 { font: 600 21px/1.2 var(--font-display); letter-spacing: -.02em; }
.step p { color: #a1a1a6; margin-top: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--bg); border-radius: var(--r-2xl); padding: 38px 32px 34px; display: flex; flex-direction: column; position: relative; }
.plan.hl { box-shadow: inset 0 0 0 2px var(--tint); }
.plan .tag { position: absolute; top: 18px; right: 20px; color: var(--orange); font-size: 13px; font-weight: 600; }
.plan h3 { font: 600 24px/1.16 var(--font-display); letter-spacing: -.02em; }
.plan .tl { color: var(--label-2); margin-top: 8px; min-height: 50px; font-size: 16px; }
.plan .price { font: 600 48px/1 var(--font-display); letter-spacing: -.04em; margin-top: 24px; }
.plan .price small { font-size: 17px; font-weight: 400; color: var(--label-2); letter-spacing: -.02em; }
.plan ul { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 16px; line-height: 1.35; }
.plan li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.custom { background: #000; color: #f5f5f7; }
.plan.custom .tl, .plan.custom .price small { color: #a1a1a6; }
.plan.custom .price { font-size: 36px; }
.fine { text-align: center; color: var(--label-2); font-size: 14px; margin-top: 26px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* formulários (campos como no painel) */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--label-2); letter-spacing: -.01em; }
.field input, .field select, .field textarea { font: 400 17px var(--font); letter-spacing: -.022em; color: var(--label); background: var(--fill-3); border: 0; border-radius: var(--r-lg); padding: 12px 14px; width: 100%; outline: none; appearance: none; transition: background-color .15s, box-shadow .15s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m7 15 5 5 5-5M7 9l5-5 5 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; box-shadow: 0 0 0 3px rgba(0, 122, 255, .35); }
.field input::placeholder, .field textarea::placeholder { color: rgba(60, 60, 67, .3); }
.field small { color: var(--label-3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.dark .field { color: #a1a1a6; }
.dark .field input, .dark .field textarea, .dark .field select { background: #1d1d1f; color: #f5f5f7; }
.dark .field input:focus, .dark .field textarea:focus, .dark .field select:focus { background: #2c2c2e; }
.dark .field input::placeholder, .dark .field textarea::placeholder { color: rgba(235, 235, 245, .3); }
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.quote ul { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.quote li { display: flex; gap: 12px; color: #d2d2d7; font-size: 17px; }
.quote li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2997ff; margin-top: 10px; flex: none; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { box-shadow: inset 0 -.5px 0 var(--separator); padding: 22px 0; }
.faq summary { font: 600 19px/1.3 var(--font-display); letter-spacing: -.02em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; color: var(--label-3); font-size: 26px; line-height: .9; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--label-2); font-size: 17px; margin-top: 12px; }

/* rodapé claro, como na Apple */
footer { background: var(--bg-grouped); color: var(--label-2); padding: 34px 0 44px; font-size: 12px; letter-spacing: -.01em; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; box-shadow: 0 -.5px 0 var(--separator); padding-top: 22px; }
footer img { height: 20px; width: auto; }
footer a { color: var(--label); opacity: .8; }

/* ---------- páginas de fluxo (cadastro, conta, pagamento) ---------- */
.flow { background: var(--bg-grouped); min-height: calc(100vh - 52px); padding: 56px 0 90px; }
.panel { background: var(--bg); border-radius: var(--r-2xl); padding: 40px; width: min(640px, 100% - 32px); margin: 0 auto; }
.panel.wide { width: min(880px, 100% - 32px); }
.panel h1 { font: 600 32px/1.12 var(--font-display); letter-spacing: -.03em; }
.panel .sub { color: var(--label-2); margin-top: 6px; font-size: 17px; }
.progress { display: flex; gap: 6px; margin: 26px 0 28px; }
.progress i { height: 4px; flex: 1; border-radius: 2px; background: var(--fill-3); }
.progress i.on, .progress i.done { background: var(--tint); }
.plan-pick { display: grid; gap: 12px; }
.plan-pick label { display: flex; gap: 14px; align-items: center; background: var(--bg-grouped); border-radius: var(--r-xl); padding: 18px 20px; cursor: pointer; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.plan-pick label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--tint); background: #fff; }
.plan-pick input { accent-color: var(--tint); width: 20px; height: 20px; }
.plan-pick b { font-size: 17px; font-weight: 600; }
.plan-pick .pp { margin-left: auto; font-weight: 600; font-size: 17px; white-space: nowrap; }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.err { color: var(--red); font-size: 14px; min-height: 20px; margin-top: 8px; }
.ok-box { background: rgba(52, 199, 89, .12); color: #1b7a34; border-radius: var(--r-lg); padding: 14px 16px; font-size: 15px; }
.warn-box { background: rgba(255, 149, 0, .12); color: #8a4b00; border-radius: var(--r-lg); padding: 14px 16px; font-size: 15px; }
.timeline { display: grid; margin: 28px 0; }
.tl-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--fill-3); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-3); color: var(--label-2); font-weight: 600; font-size: 14px; }
.tl-item.done .tl-dot { background: var(--green); color: #fff; }
.tl-item.now .tl-dot { background: var(--tint); color: #fff; }
.tl-item h3 { font: 600 17px/1.3 var(--font); letter-spacing: -.02em; }
.tl-item p { color: var(--label-2); font-size: 15px; margin-top: 2px; }
.tl-item .btn { margin-top: 12px; }
.qr { background: #fff; border-radius: var(--r-xl); padding: 14px; width: 260px; box-shadow: 0 0 0 .5px var(--separator); margin-top: 12px; }
table.pays { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 10px; }
table.pays th { text-align: left; color: var(--label-2); font-weight: 400; font-size: 13px; padding: 8px 6px; box-shadow: inset 0 -.5px 0 var(--separator); }
table.pays td { padding: 12px 6px; box-shadow: inset 0 -.5px 0 var(--separator); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--fill-3); }
.pill.ok { background: rgba(52, 199, 89, .14); color: #1b7a34; } .pill.warn { background: rgba(255, 149, 0, .14); color: #8a4b00; } .pill.bad { background: rgba(255, 59, 48, .12); color: #b3261e; }
.pay-tabs { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 36px; padding: 2px; border-radius: 9px; background: var(--fill-3); margin: 22px 0; width: 100%; }
.pay-tabs button { border: 0; background: none; border-radius: 7px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--label); }
.pay-tabs button.on { background: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
.demo-banner { background: var(--orange); color: #1d1d1f; text-align: center; font-size: 13px; padding: 8px 16px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); color: var(--label); padding: 12px 20px; border-radius: var(--r-pill); font-size: 15px; z-index: 50; box-shadow: 0 10px 40px rgba(0, 0, 0, .18), 0 0 0 .5px rgba(0, 0, 0, .08); }
@media (max-width: 640px) { .panel { padding: 28px 22px; border-radius: 22px; } section { padding: 72px 0; } .wrap { width: calc(100% - 32px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-transparency: reduce) { .nav, .toast { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
