@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #082439;
  --deep-2: #0d2f4b;
  --line: #1e466a;
  --blue: #1393f3;
  --neon: #cdfd55;
  --text: #f4f7fa;
  --muted: #a9bccd;
  --radius: 14px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); background: var(--deep); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 36, 57, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-logo { height: 28px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; }
.main-nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.main-nav a:hover { color: var(--text); }
.main-nav .nav-cta { color: var(--deep); background: var(--neon); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.main-nav .nav-cta:hover { color: var(--deep); filter: brightness(1.05); }
.mobile-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
.octen-grad-text {
  color: var(--blue); /* fallback */
  background-image: linear-gradient(95deg, var(--blue) 0%, var(--neon) 100%);
  background-image: linear-gradient(95deg in oklch, var(--blue) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin: 24px 0 32px; max-width: 760px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.support-line { margin-top: 36px; color: var(--muted); font-size: .98rem; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, filter .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--neon); color: var(--deep); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--deep-2); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--deep-2); }
.section-head { margin-bottom: 40px; }
.section-head .section-lead { max-width: none; text-wrap: pretty; }
.section-head h2 { font-size: clamp(1.45rem, 2.7vw, 2.1rem); font-weight: 800; text-wrap: balance; }
.section-lead { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--deep-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: var(--deep); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.note { margin-top: 28px; color: var(--muted); }

/* Fases */
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.phase { display: flex; gap: 20px; align-items: flex-start; background: var(--deep-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.phase h3 { font-size: 1.2rem; margin-bottom: 8px; }
.phase p { margin: 0; color: var(--muted); }
.phase-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--neon); color: var(--deep); font-weight: 800; display: grid; place-items: center; }

/* Listas */
.check-list, .cross-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.check-list li, .cross-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--neon); border-bottom: 2px solid var(--neon); transform: rotate(-45deg); }
.cross-list li::before, .cross-list li::after { content: ""; position: absolute; left: 3px; top: .8em; width: 12px; height: 2px; background: var(--muted); }
.cross-list li::before { transform: rotate(45deg); }
.cross-list li::after { transform: rotate(-45deg); }


/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--deep-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font: inherit; font-weight: 600; color: var(--text); background: none; border: 0; padding: 18px 22px; cursor: pointer; }
.faq-icon { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(-135deg); }
.faq-answer { display: none; padding: 0 22px 18px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin: 0; }

/* Formulário */
.contact-form { background: var(--deep-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 6px; }
label { font-size: .88rem; font-weight: 600; }
input, textarea { font: inherit; color: var(--text); background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
input.invalid, textarea.invalid { border-color: #fca5a5; }
.form-hint { color: var(--muted); font-size: .88rem; margin: 0; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-inner img { height: 22px; width: auto; }
.footer-line { margin: 12px 0 0; color: var(--neon); font-weight: 600; }
.footer-links { display: grid; gap: 8px; font-size: .92rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 28px; color: var(--muted); font-size: .82rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--neon); color: var(--deep); font-weight: 700; padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .mobile-toggle { display: block; }
  .main-nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--deep); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; }
  .main-nav .nav-cta { text-align: center; margin-top: 8px; }
  .section { padding: 56px 0; }
  .phase { padding: 20px; }
}

/* Ilustrações */
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(205, 253, 85, .12); color: var(--neon); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
}

/* Hero em largura total */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 88vh, 780px); padding: 96px 0 80px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-svg, .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 52% 62% at 50% 50%, rgba(8, 36, 57, .94) 0%, rgba(8, 36, 57, .82) 55%, rgba(8, 36, 57, .15) 100%); }
.hero-inner { position: relative; }
.hero-text { max-width: 880px; margin-inline: auto; text-align: center; }
.hero-text h1 { max-width: 760px; margin-inline: auto; }
.hero-text .lead { margin-inline: auto; max-width: 860px; }
.hero-actions { justify-content: center; }
.hero-caption { position: absolute; right: 24px; bottom: 14px; margin: 0; font-size: .75rem; color: var(--muted); opacity: .8; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 72px 0 72px; align-items: flex-start; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 36, 57, .94) 0%, rgba(8, 36, 57, .86) 60%, rgba(8, 36, 57, .7) 100%); }
  .hero-text { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-svg { object-position: 75% center; }
  .hero-caption { left: 16px; right: 16px; text-align: right; }
}

.subhead { font-size: 1.15rem; margin: 48px 0 20px; }

.section-alt .faq-item, .section-alt .contact-form { background: var(--deep); }
.hero:has(.hero-photo) .hero-caption { display: none; }

/* ===== Demonstrações dos cards de IA ===== */
.demo { position: relative; margin-top: 18px; height: 116px; padding: 14px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; color: var(--text); }
.demo-tag { position: absolute; top: 8px; right: 10px; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); opacity: .75; }
.chip { position: absolute; left: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(205, 253, 85, .14); color: var(--neon); font-size: .72rem; font-weight: 600; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--neon); }
.demo-chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { padding: 6px 10px; border-radius: 10px; max-width: 80%; line-height: 1.35; }
.b-in { align-self: flex-start; background: var(--line); border-bottom-left-radius: 2px; }
.slot { position: relative; display: flex; justify-content: flex-end; }
.b-out { background: rgba(19, 147, 243, .28); border-bottom-right-radius: 2px; }
.b-typing { position: absolute; right: 0; top: 0; display: none; gap: 4px; align-items: center; background: rgba(19, 147, 243, .28); border-bottom-right-radius: 2px; }
.b-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text); opacity: .7; }
.demo-quote { display: flex; flex-direction: column; gap: 7px; }
.demo-quote .line { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .2); transform-origin: left; }
.demo-quote .l1 { width: 82%; } .demo-quote .l2 { width: 64%; } .demo-quote .l3 { width: 46%; }
.demo-quote .bar { height: 6px; margin-top: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.demo-quote .bar i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; }
.demo-agenda .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 4px; }
.demo-agenda b { text-align: center; font-size: .66rem; color: var(--muted); font-weight: 600; }
.demo-agenda u { display: block; height: 24px; border-radius: 6px; background: rgba(255, 255, 255, .08); text-decoration: none; position: relative; }
.demo-agenda u.pick { background: var(--neon); }
.demo-agenda u.pick::after { content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 5px; border-left: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: translate(-50%, -50%) rotate(-45deg); }
.demo-report .bars { height: 62px; margin-top: 4px; display: flex; align-items: flex-end; gap: 8px; }
.demo-report .bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--blue); transform-origin: bottom; }
.demo-report .bars i:last-child { background: var(--neon); }

/* ===== Fases: linha do tempo ===== */
.phase { position: relative; --pad: 28px; padding: 24px var(--pad); }
.phase-num { position: relative; z-index: 1; }
.phase:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--pad) + 19px); top: 44px; width: 2px; height: calc(100% + 16px); background: linear-gradient(180deg, var(--blue), var(--neon)); z-index: 0; }
.phase-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.phase-meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.phase-meta dd { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .phase { --pad: 20px; } .phase-meta { grid-template-columns: 1fr; gap: 10px; } }

/* ===== Menu: seção ativa ===== */
.main-nav a.active { color: var(--text); }
@media (min-width: 861px) {
  .main-nav a:not(.nav-cta) { position: relative; }
  .main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
  .main-nav a.active:not(.nav-cta)::after { transform: scaleX(1); }
}

/* ===== Movimento (só para quem não pediu para reduzir) ===== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease calc(var(--i, 0) * 90ms), transform .6s ease calc(var(--i, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.settled { transition: opacity .3s, transform .25s ease, border-color .25s; }
  .js .card.settled:hover { transform: translateY(-3px); border-color: rgba(19, 147, 243, .65); }

  .js .hero-photo, .js .hero-svg { transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.08); will-change: transform; }

  .js .phase-num { background: var(--line); color: var(--muted); transition: background .4s, color .4s, box-shadow .4s; }
  .js .phase.reached .phase-num { background: var(--neon); color: var(--deep); box-shadow: 0 0 0 6px rgba(205, 253, 85, .14); }
  .js .phase:not(:last-child)::after { transform: scaleY(0); transform-origin: top; transition: transform .7s ease; }
  .js .phase.linked::after { transform: scaleY(1); }

  .js .demo, .js .demo *, .js .demo *::before, .js .demo *::after { animation-play-state: paused; }
  .js .card.play .demo, .js .card.play .demo *, .js .card.play .demo *::before, .js .card.play .demo *::after { animation-play-state: running; }

  .js .b-in { animation: bIn 8s ease infinite both; }
  .js .b-typing { display: inline-flex; animation: bType 8s ease infinite both; }
  .js .b-typing i { animation: dot 1s ease-in-out infinite; }
  .js .b-typing i:nth-child(2) { animation-delay: .15s; } .js .b-typing i:nth-child(3) { animation-delay: .3s; }
  .js .b-out { animation: bOut 8s ease infinite both; }
  .js .demo-quote .line { animation: lineGrow 8s ease infinite both; }
  .js .demo-quote .l2 { animation-delay: .5s; } .js .demo-quote .l3 { animation-delay: 1s; }
  .js .demo-quote .bar i { animation: barFill 8s ease infinite both; }
  .js .demo .chip { animation: chipPop 8s ease infinite both; }
  .js .demo-agenda u.pick { animation: pick 8s ease infinite both; }
  .js .demo-agenda u.pick::after { animation: tick 8s ease infinite both; }
  .js .demo-report .bars i { animation: barUp 8s cubic-bezier(.2, .8, .2, 1) infinite both; }
  .js .demo-report .bars i:nth-child(2) { animation-delay: .1s; } .js .demo-report .bars i:nth-child(3) { animation-delay: .2s; }
  .js .demo-report .bars i:nth-child(4) { animation-delay: .3s; } .js .demo-report .bars i:nth-child(5) { animation-delay: .4s; }
  .js .demo-report .bars i:nth-child(6) { animation-delay: .5s; }
}
@keyframes bIn { 0%, 2% { opacity: 0; transform: translateY(6px); } 8%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes bType { 0%, 14% { opacity: 0; } 18%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes bOut { 0%, 36% { opacity: 0; transform: translateY(6px); } 42%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes lineGrow { 0%, 3% { transform: scaleX(0); } 14%, 92% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
@keyframes barFill { 0%, 30% { transform: scaleX(0); } 58%, 92% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
@keyframes chipPop { 0%, 60% { opacity: 0; transform: scale(.85); } 68%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes pick { 0%, 20% { background: rgba(255, 255, 255, .08); transform: none; } 28% { transform: scale(1.12); } 34%, 92% { background: var(--neon); transform: none; } 98%, 100% { background: rgba(255, 255, 255, .08); } }
@keyframes tick { 0%, 32% { opacity: 0; } 38%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes barUp { 0%, 4% { transform: scaleY(0); } 22%, 92% { transform: scaleY(1); } 98%, 100% { transform: scaleY(0); } }

/* Ajustes das demonstrações */
.card:has(.demo) { display: flex; flex-direction: column; }
.card:has(.demo) > p { color: var(--muted); }
.card:has(.demo) .demo { margin-top: auto; }
.card:has(.demo) > p:nth-of-type(1) { margin-bottom: 18px; }
.demo-agenda .days { margin-top: 14px; }
.demo-report .bars { height: 42px; margin-top: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }

/* Resumo do caminho (seção Como funciona) */
.flow { margin-bottom: 32px; }
.flow-title { font-weight: 700; color: var(--text); margin: 0 0 16px; }
.flow-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.flow-steps li { display: grid; gap: 4px; align-content: start; position: relative; }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 40px; right: -8px; height: 2px; background: var(--line); }
.flow-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--neon); color: var(--neon); font-weight: 800; font-size: .9rem; display: grid; place-items: center; background: var(--deep); position: relative; z-index: 1; margin-bottom: 8px; }
.flow-dot:empty::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); }
.flow-steps strong { color: var(--text); font-size: 1.02rem; }
.flow-steps em { font-style: normal; color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) {
  .flow-steps { grid-template-columns: 1fr; gap: 18px; }
  .flow-steps li { grid-template-columns: 32px 1fr; column-gap: 14px; }
  .flow-steps li .flow-dot { grid-row: span 2; margin: 0; }
  .flow-steps li:not(:last-child)::after { top: 36px; bottom: -18px; left: 15px; right: auto; width: 2px; height: auto; }
}

/* Páginas de texto (privacidade) */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); }
.legal strong { color: var(--text); }
.legal .updated { font-size: .9rem; margin-bottom: 28px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.legal-table th { background: var(--deep-2); color: var(--text); font-weight: 700; }
.legal-table td { color: var(--muted); }
.legal .pending { color: #fbbf24; }
.form-hint a { color: var(--blue); }
