/* ============================================================
   ONI — Marketing para a nova geração
   Global Stylesheet
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f5ff;
  --bg-dark: #140d2b;
  --bg-dark-2: #1e1440;
  --ink: #1a1330;
  --ink-soft: #5f5878;
  --line: #e9e4f7;
  --brand: #7c3aed;      /* violet */
  --brand-dark: #6025c8;
  --brand-2: #ec4899;    /* pink */
  --accent: #22d3ee;     /* cyan */
  --lime: #c6f24e;
  --ok: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(60, 30, 120, 0.14);
  --shadow-sm: 0 6px 18px rgba(60, 30, 120, 0.08);
  --grad: linear-gradient(135deg, var(--brand), var(--brand-2));
  --maxw: 1180px;
  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem;
  border-radius: 999px; font-weight: 700; font-size: .98rem; cursor: pointer;
  border: 1px solid transparent; transition: .16s ease; text-decoration: none; font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(124,58,237,.32); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(124,58,237,.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0f0a20; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lime { background: var(--lime); color: #1a2600; }
.btn-lime:hover { filter: brightness(1.05); }

.badge {
  display: inline-block; padding: .35rem .85rem; border-radius: 999px;
  background: rgba(124,58,237,.1); color: var(--brand-dark);
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 14px;
}
.badge-lime { background: rgba(198,242,78,.35); color: #4d6b00; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 900; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.05rem; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 14px;
  }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(124,58,237,.16), transparent 60%),
    radial-gradient(800px 460px at 95% 0%, rgba(236,72,153,.14), transparent 55%),
    linear-gradient(180deg, #fff, var(--bg-soft));
  padding: 84px 0 76px;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .m strong { display: block; font-size: 1.5rem; font-weight: 800; }
.hero-meta .m span { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero card (newsletter) */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 30px;
}
.hero-card h3 { font-size: 1.25rem; }
.hero-card .field { margin-bottom: 12px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-msg { font-size: .92rem; margin: 8px 0 0; }
.form-tiny { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }

/* Grid & cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; background: rgba(124,58,237,.1); margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* Module / trilha cards */
.module {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .18s ease; display: flex; flex-direction: column;
}
.module:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.module .top { padding: 22px 22px 0; }
.module .kicker { font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
.module h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.module .body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.module p { color: var(--ink-soft); font-size: .94rem; margin: 0; flex: 1; }
.module .meta { display: flex; align-items: center; gap: 14px; font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.module .bar { height: 5px; background: var(--grad); }

/* Steps */
.step { display: flex; gap: 18px; margin-bottom: 26px; }
.step .num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step h3 { margin: 6px 0 .3em; }
.step p { margin: 0; color: var(--ink-soft); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.featured::before {
  content: "Mais procurado"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800; padding: .3rem .9rem; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan .price { font-size: 2.4rem; font-weight: 900; margin: 10px 0 2px; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-soft); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2)); color: #fff;
  border-radius: 24px; padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 120%, rgba(236,72,153,.28), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9c0e6; max-width: 560px; margin: 0 auto 24px; }

/* Newsletter inline */
.newsletter-inline form { display: flex; gap: 12px; max-width: 480px; margin: 20px auto 0; }
.newsletter-inline input {
  flex: 1; padding: .9rem 1.1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  font-size: 1rem; font-family: inherit; background: rgba(255,255,255,.08); color: #fff;
}
.newsletter-inline input::placeholder { color: #b9aee0; }
.newsletter-inline input:focus { outline: 2px solid var(--lime); border-color: transparent; }
@media (max-width: 520px) { .newsletter-inline form { flex-direction: column; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .n { font-size: 2.3rem; font-weight: 900; }
.stat .l { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote .stars { color: #f5a623; font-size: .95rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote .who strong { display: block; font-size: .95rem; }
.quote .who span { color: var(--ink-soft); font-size: .84rem; }

/* Page head */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 60px 0; }
.page-head p { color: var(--ink-soft); max-width: 660px; margin: 0; }

/* Doc / legal / content */
.doc { max-width: 820px; margin: 0 auto; }
.doc h2 { margin-top: 1.8em; }
.doc h3 { margin-top: 1.4em; }
.doc ul, .doc ol { color: var(--ink-soft); padding-left: 1.3em; }
.doc li { margin-bottom: .5em; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.doc th, .doc td { text-align: left; padding: .7rem .9rem; border: 1px solid var(--line); }
.doc th { background: var(--bg-soft); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* Blog list */
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .18s ease; display: flex; flex-direction: column;
}
.post:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post .cover { aspect-ratio: 16/9; background: var(--grad); display: grid; place-items: center; font-size: 2.6rem; }
.post .body { padding: 22px; }
.post .tag { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.post h3 { margin: 8px 0; font-size: 1.12rem; }
.post p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.notice {
  background: rgba(124,58,237,.07); border: 1px solid rgba(124,58,237,.18);
  border-radius: var(--radius-sm); padding: 16px 20px; color: var(--ink); font-size: .93rem; margin: 0 0 22px;
}

/* Footer */
.site-footer { background: var(--bg-dark); color: #b3a9d6; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #b3a9d6; display: block; margin-bottom: 9px; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
