:root {
  --navy: #0d1530;
  --navy-2: #16204a;
  --blue: #2447d6;
  --blue-dark: #1b36ad;
  --blue-soft: #e8edff;
  --orange: #f97316;
  --orange-dark: #dd5f09;
  --orange-soft: #fff1e6;
  --green: #12b76a;
  --bg: #f5f7fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #586179;
  --line: #e3e8f2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 70px rgba(8, 14, 40, .35);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.ico {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: #fff; color: var(--blue); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid #7c9cff; outline-offset: 3px; border-radius: 6px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(36, 71, 214, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(249, 115, 22, .32); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-whats { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(18, 183, 106, .32); }
.btn-whats:hover { background: #0e9f5b; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: #c5cee0; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Cabeçalho */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 21, 48, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #3b63ff, #1b36ad); font-size: 15px; font-style: italic; letter-spacing: -.04em;
}
.logo span span { color: #7fa0ff; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: #c6cde0; font-weight: 600; font-size: 15px; transition: color .15s; }
.nav a:not(.btn):hover { color: #fff; }

/* Menu "Acessar sistema" */
.login { position: relative; }
.login summary { list-style: none; user-select: none; }
.login summary::-webkit-details-marker { display: none; }
.login summary::after {
  content: ""; width: 7px; height: 7px; margin: -4px 0 0 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.login[open] summary { background: rgba(255, 255, 255, .1); }
.login-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 10; min-width: 240px;
  padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(8, 14, 40, .35);
}
.nav .login .login-menu a { display: block; padding: 11px 14px; border-radius: 9px; color: var(--text); }
.nav .login .login-menu a:hover { background: var(--bg); color: var(--blue); }
.login-menu strong { display: block; font-size: 15px; line-height: 1.3; }
.login-menu small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer;
}
.nav-toggle .ico { width: 26px; height: 26px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(59, 99, 255, .38), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(249, 115, 22, .18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 84px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.hero .eyebrow {
  color: #cdd8ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: none;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 183, 106, .22); }

.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: #86a5ff; }
.hero h1 em.o { color: #ffa45c; }
.hero p.lead { font-size: 18px; color: #c3cbe0; max-width: 540px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: #b5bfd8; font-size: 14.5px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 3; }

.hero-shots { position: relative; padding-bottom: 60px; }

.browser {
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e9edf5; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c7cfdd; }
.browser-bar i:nth-child(1) { background: #ff6058; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c940; }
.browser img { width: 100%; height: auto; }

.hero-shots .shot-main { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-shots .shot-float {
  position: absolute; left: -8%; bottom: 0; width: 58%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.hero-wave { display: block; width: 100%; height: 60px; margin-top: 40px; color: var(--surface); }

/* Seções */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Produtos */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.product + .product { margin-top: 110px; }
.product.reverse .product-media { order: -1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; background: var(--blue-soft); color: var(--blue);
}
.badge .ico { width: 16px; height: 16px; }
.product.food .badge { background: var(--orange-soft); color: var(--orange-dark); }

.product h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin: 16px 0 14px; }
.product > div > p { color: var(--muted); font-size: 17px; }

.product-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 28px 0 32px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .fi {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: var(--blue-soft); color: var(--blue);
}
.product.food .feature-list .fi { background: var(--orange-soft); color: var(--orange-dark); }
.feature-list .fi .ico { width: 20px; height: 20px; }
.feature-list strong { display: block; font-size: 15px; line-height: 1.3; }
.feature-list span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }

.product-media { position: relative; }
.product-media::before {
  content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 28px; z-index: 0;
  background: linear-gradient(135deg, #dfe6ff, #eef2ff);
}
.product.food .product-media::before { inset: 8% 6% -6% -4%; background: linear-gradient(135deg, #ffe4cc, #fff3e8); }
.product-media .browser { position: relative; z-index: 1; border-color: var(--line); box-shadow: 0 24px 60px rgba(15, 23, 42, .16); }

/* Segmentos */
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.segment {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px;
  box-shadow: var(--shadow);
}
.segment-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.segment-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--blue); color: #fff; }
.segment.food .segment-ico { background: var(--orange); }
.segment-ico .ico { width: 26px; height: 26px; }
.segment h3 { font-size: 22px; font-weight: 800; }
.segment small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 3px; }
.segment p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chips li {
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--blue-soft); color: var(--blue-dark);
}
.segment.food .chips li { background: var(--orange-soft); color: var(--orange-dark); }

/* Diferenciais */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; font-weight: 700; font-size: 17px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--blue); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* Contato */
.contact {
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(59, 99, 255, .35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact .eyebrow { color: #8fa9ff; }
.contact h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin: 12px 0 16px; }
.contact p.lead { color: #c3cbe0; font-size: 17px; }
.contact-info { display: grid; gap: 16px; margin-top: 32px; }
.contact-info li { display: flex; align-items: center; gap: 14px; color: #dbe2f3; font-weight: 600; }
.contact-info .fi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.contact-info a:hover { text-decoration: underline; }

.form { background: #fff; color: var(--text); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cfd7e6; border-radius: 11px;
  font: inherit; font-size: 15px; color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 71, 214, .14);
}
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Rodapé */
.footer { background: #080e22; color: #9aa5c0; padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer p { margin-top: 14px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: 14px; }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(18, 183, 106, .45);
  transition: transform .15s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float .ico { width: 28px; height: 28px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .whats-float { transition: none; }
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero-grid, .product, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .product.reverse .product-media { order: 0; }
  .hero-shots { max-width: 680px; margin: 0 auto; }
  .hero-shots .shot-main { transform: none; }
  .hero-shots .shot-float { left: -2%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .product-media::before { inset: 8% -2% -5% 4%; }
  .product.food .product-media::before { inset: 8% 4% -5% -2%; }
}

@media (max-width: 1100px) {
  .nav { gap: 20px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .login { margin-top: 18px; }
  .login summary { width: 100%; }
  .login-menu { position: static; margin-top: 10px; box-shadow: none; }
  .nav .login .login-menu a { padding: 11px 14px; border-bottom: 0; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav .btn { margin-top: 18px; }
  .segments, .steps, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding-top: 56px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .feature-list, .cards { grid-template-columns: 1fr; }
  .hero-cta .btn, .product-cta .btn { width: 100%; }
  .segment, .form { padding: 26px 20px; }
  .product + .product { margin-top: 80px; }
  .hero-shots { padding-bottom: 44px; }
}

/* A empresa */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 12px 0 18px; }
.about p { color: var(--muted); font-size: 17px; }
.about p + p { margin-top: 14px; }
.about-list { display: grid; gap: 16px; }
.about-list li {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.about-list .fi {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px;
  background: var(--blue); color: #fff;
}
.about-list strong { display: block; font-size: 17px; }
.about-list span:not(.fi) { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }

.contact-info small { display: block; color: #93a0c0; font-size: 13px; font-weight: 600; }

@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Logo FBinfo */
.logo-code { font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace; font-weight: 800; font-size: 25px; letter-spacing: -.03em; color: #fff; }
.logo-code b { color: #22d3ee; font-weight: 700; }
.logo-stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.logo-sub { font-size: 11px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: #94a3b8; }
.about-logo { width: 240px; height: auto; border-radius: 14px; margin-bottom: 26px; box-shadow: var(--shadow); }
