/* =========================================================
   Onexo Check — estilos
   Paleta do app Onexo Check: teal → azul-marinho → laranja
   ========================================================= */
:root {
  --orange: #E87A3E;
  --orange-600: #D2652B;
  --orange-300: #F5A577;
  --orange-100: #FDEBDF;
  --teal: #1C8CA4;
  --teal-600: #157287;
  --teal-100: #E1F2F6;
  --navy: #33435A;
  --navy-900: #1E2A3A;
  --grad: linear-gradient(135deg, #1C8CA4 0%, #33435A 52%, #E07841 100%);
  --ink: #18212E;
  --text: #4A5361;
  --muted: #7D8794;
  --line: #E4E8EE;
  --soft: #F5F7FA;
  --white: #FFFFFF;
  --dark: #1E2A3A;
  --ok: #1E9E6A;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(24, 33, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(24, 33, 46, .35);
  --container: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-300); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 12px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(232, 122, 62, .75); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-600); }
.btn--glass { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.btn--glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 14px;
}
.eyebrow--light { color: var(--orange-300); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232,122,62,.25); }
.hl { color: var(--orange-300); }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand__logo { width: 200px; height: 32px; }
.brand--light { color: #fff; }

.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__list a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.nav__list a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--orange); transition: width .25s; }
.nav__list a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__list {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav__list li a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__list li:last-child { margin-top: 16px; }
  .nav__list .btn { width: 100%; }
  .nav.is-open .nav__list { transform: translateY(0); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero (degradê da tela de acesso do app) ---------- */
.hero { position: relative; padding: 80px 0 104px; overflow: hidden; background: var(--grad); color: rgba(255,255,255,.82); }
.hero h1 { color: #fff; }
.hero__circles, .hero__circles::before {
  position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; pointer-events: none;
}
.hero__circles { width: 560px; height: 560px; top: -220px; left: 38%; }
.hero__circles::before { content: ""; width: 300px; height: 300px; top: 130px; left: 130px; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .92rem; color: rgba(255,255,255,.72); }
.hero__proof strong { color: #fff; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; border-radius: 42px; padding: 12px; background: #111923;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c3846; position: relative;
  transform: rotate(-3deg); animation: floaty 7s ease-in-out infinite;
}
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 90px; height: 22px; background: #111923; border-radius: 0 0 14px 14px; z-index: 2; }
.app { background: var(--soft); border-radius: 32px; padding: 40px 14px 0; min-height: 560px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: var(--ink); }
.app__bar { display: flex; align-items: center; gap: 8px; font-size: .86rem; }
.app__bar > span:first-child { font-size: 1.2rem; line-height: 1; color: var(--muted); }
.app__chip { margin-left: auto; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: var(--teal-100); color: var(--teal-600); }
.app__progress { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.app__progress-top { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.app__progress-top b { color: var(--orange-600); font-size: .9rem; }
.bar { height: 6px; border-radius: 6px; background: var(--line); margin: 6px 0 10px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 6px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.is-visible .bar i { width: 80%; }
.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: left; }
.app__kpis b { display: block; font-size: 1.05rem; line-height: 1.1; }
.app__kpis b.o { color: var(--orange-600); }
.app__kpis small { font-size: .6rem; color: var(--muted); }
.app__section { margin: 4px 2px -2px; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.checks { display: grid; gap: 6px; }
.checks li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: var(--ink); }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: .64rem; color: #fff; background: var(--ok); flex: none; }
.checks li.warn { border-color: #F6CDB3; background: var(--orange-100); }
.checks li.warn::before { content: "!"; background: var(--orange); }
.checks li.todo { color: var(--muted); }
.checks li.todo::before { content: ""; background: #fff; border: 1.5px solid var(--line); }
.app__btn { margin-top: auto; text-align: center; padding: 11px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 700; font-size: .82rem; }
.app__nav { display: flex; justify-content: space-between; align-items: center; margin: 4px -14px 0; padding: 10px 14px 14px; background: #fff; border-top: 1px solid var(--line); font-size: .58rem; color: var(--muted); }
.app__nav .on { color: var(--orange-600); font-weight: 700; }
.app__nav .plus { display: grid; place-items: center; width: 30px; height: 30px; margin-top: -18px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.1rem; box-shadow: 0 6px 14px -6px rgba(232,122,62,.9); }

.float-card {
  position: absolute; display: flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.3; color: var(--ink);
}
.float-card small { display: block; color: var(--muted); }
.float-card--a { top: 20%; left: -6%; animation: floaty 6s ease-in-out infinite .6s; }
.float-card--b { bottom: 16%; right: -4%; animation: floaty 6.5s ease-in-out infinite 1.2s; }
.ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; font-weight: 800; flex: none; }
.ico--orange { background: var(--orange); }
.ico--teal { background: var(--teal); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Segmentos ---------- */
.segments { border-block: 1px solid var(--line); padding: 28px 0; background: var(--soft); }
.segments__title { text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.segments__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.segments__list li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); }

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p:last-child { font-size: 1.08rem; }

/* Comparativo */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col { border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); }
.compare__col h3 { margin-bottom: 20px; }
.compare__col li { position: relative; padding: 12px 0 12px 36px; border-top: 1px dashed var(--line); }
.compare__col li::before { position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.compare__col--before { background: #fff; }
.compare__col--before li::before { content: "✕"; background: #F1F2F3; color: var(--muted); }
.compare__col--after { background: linear-gradient(160deg, #fff 30%, var(--orange-100)); border-color: #F6CDB3; box-shadow: var(--shadow); }
.compare__col--after li::before { content: "✓"; background: var(--orange); color: #fff; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #F6CDB3; }
.card--wide { grid-column: span 2; }
.card--accent { grid-column: 1 / -1; background: var(--grad); border: 0; color: rgba(255,255,255,.85); }
.card--accent h3 { color: #fff; }
.card--accent .card__icon { background: rgba(255,255,255,.16); }
.card--accent .card__icon svg { stroke: #fff; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-100); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--teal-100); color: var(--teal-600); }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__n { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); color: var(--orange-600); font-weight: 800; font-size: 1.1rem; position: relative; }
.step p { font-size: .96rem; }

/* Números */
.stats { background: var(--navy-900); color: #B4BFCC; padding: 72px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 600px; height: 600px; background: radial-gradient(circle, rgba(235,128,65,.35), transparent 60%); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat__num { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; }
.stat__lbl { font-size: .95rem; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; background: #fff; }
.plan__for { color: var(--muted); font-size: .95rem; }
.plan ul { margin: 12px 0 28px; flex: 1; }
.plan li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.plan--featured { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -14px; left: 30px; background: var(--orange); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: #F6CDB3; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-100); color: var(--orange-600); font-size: 1.2rem; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* Contato */
.contact { background: var(--grad); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; top: -200px; left: -160px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; }
.contact__list { margin-top: 28px; display: grid; gap: 10px; }
.contact__list a { color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact__list a:hover { border-color: var(--orange); }

.form { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg); color: var(--text); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px var(--orange-100); }
.field.has-error input, .field.has-error select { border-color: #D64545; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; margin: 4px 0 20px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.check a { color: var(--teal); }
.check.has-error { color: #D64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 14px 0 0; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: #D64545; }

/* Rodapé */
.footer { background: #10171A; color: #8E999E; padding: 48px 0 32px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.footer__text { margin: 0; max-width: 420px; }
.footer__text a, .footer__social a { color: #fff; text-decoration: none; }
.footer__text a:hover, .footer__social a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 20px; }
.footer__copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid #22303A; font-size: .84rem; }

/* WhatsApp flutuante */
.whats { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37,211,102,.7); z-index: 40; transition: transform .2s; }
.whats:hover { transform: scale(1.08); }
.whats svg { width: 30px; height: 30px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .compare, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .steps, .stats__grid { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .compare__col { padding: 26px 20px; }
  .phone { width: 260px; }
  .app { min-height: 480px; }
  .float-card { font-size: .74rem; padding: 10px; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
