/* Epic Corp — landing institucional (2026-09) */
:root {
  --ink: #16132b;
  --ink-soft: #4a4763;
  --muted: #605d78;
  --bg: #ffffff;
  --bg-alt: #f5f4fb;
  --line: #e4e2f0;
  --dark: #0f0c22;
  --dark-2: #1a1638;
  --on-dark: #f4f3ff;
  --on-dark-soft: #c4c1e0;
  --violet: #7c3aed;
  --violet-strong: #6425d6;
  --blue: #2f5bea;
  --magenta: #c026d3;
  --grad: linear-gradient(120deg, #c026d3 0%, #7c3aed 45%, #2f5bea 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 19, 43, .05), 0 8px 24px rgba(22, 19, 43, .06);
  --shadow-lg: 0 20px 50px rgba(22, 19, 43, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-strong); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid #a78bfa; outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet-strong); color: #fff; box-shadow: 0 6px 18px rgba(100, 37, 214, .3); }
.btn-primary:hover { background: #5a1fc4; box-shadow: 0 10px 24px rgba(100, 37, 214, .38); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--on-dark); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ico-lg { width: 30px; height: 30px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 12, 34, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }

.site-nav ul { display: flex; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 10px;
  color: var(--on-dark-soft); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.site-nav a.is-active { color: #fff; }

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border-radius: 12px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .22); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-bar { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 881px) {
  .site-nav { display: flex; align-items: center; gap: 18px; }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--dark); border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 12px 20px 22px; box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; margin-bottom: 14px; }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { width: 100%; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding: 64px 0 72px;
}
.hero-glow {
  position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; max-width: 120vw;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .45), rgba(47, 91, 234, .18) 55%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 104px; }
  .hero-grid { grid-template-columns: 1.25fr .85fr; gap: 64px; }
}
.hero h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); font-weight: 800; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--on-dark-soft); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font: 600 .8rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-strong);
}
.eyebrow-light { color: #c9b8ff; }

.hero-list {
  display: grid; gap: 10px;
  padding: 14px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.hero-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04); color: var(--on-dark); text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.hero-list a:hover { background: rgba(255, 255, 255, .1); transform: translateX(3px); }
.hero-list strong { display: block; font-weight: 600; }
.hero-list small { display: block; color: var(--on-dark-soft); font-size: .9rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.dot-leidy { background: #d946ef; }
.dot-next { background: #22c55e; }
.dot-store { background: #f59e0b; }
.dot-zap { background: #38bdf8; }
.dot-smig { background: #a78bfa; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* Products */
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: #e7f7ee; color: #166534; font-size: .8rem; font-weight: 600;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.p-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.p-icon svg { width: 24px; height: 24px; fill: #fff; }
.p-icon-leidy { background: linear-gradient(135deg, #d946ef, #7c3aed); }
.p-icon-next { background: linear-gradient(135deg, #22c55e, #0f9f6e); }
.p-icon-store { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.p-icon-zap { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.p-icon-smig { background: linear-gradient(135deg, #a78bfa, #6d28d9); }

.product-featured {
  display: grid; gap: 28px; margin-bottom: 24px;
  padding: 28px; border-radius: 24px;
  background: linear-gradient(160deg, #fbf7ff 0%, #f1ecff 100%);
  border: 1px solid #e3d8ff; box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .product-featured { grid-template-columns: 1.2fr .8fr; align-items: center; padding: 44px; gap: 44px; }
}
.product-featured h3 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .25em; }
.pf-tagline { font-size: 1.15rem; font-weight: 600; color: var(--violet-strong); }
.pf-body > p:not(.pf-tagline) { color: var(--ink-soft); }
.checks { display: grid; gap: 10px; margin: 0 0 26px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--violet-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4Z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pf-visual { display: flex; justify-content: center; }
.chat {
  width: 100%; max-width: 340px; padding: 22px; border-radius: 22px;
  background: var(--dark); box-shadow: var(--shadow-lg);
}
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .98rem; line-height: 1.4; margin-bottom: 10px; }
.bubble-out { margin-left: auto; background: #7c3aed; color: #fff; border-bottom-right-radius: 4px; }
.bubble-in { background: #26214a; color: var(--on-dark); border-bottom-left-radius: 4px; }
.chat-note { margin: 12px 0 0; font-size: .78rem; color: #a9a5c9; text-align: center; }

.product-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card h3 { font-size: 1.35rem; margin-bottom: .2em; }
.p-tagline { font-weight: 600; color: var(--ink); }
.product-card p:not(.p-tagline) { color: var(--ink-soft); font-size: 1rem; }
.p-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; color: var(--violet-strong); text-decoration: none;
}
.p-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Values */
.values { display: grid; gap: 18px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.value h3 { font-size: 1.15rem; margin: 14px 0 .4em; }
.value p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.custom-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.custom-cta p { margin: 0; color: var(--ink-soft); flex: 1 1 260px; }
.v-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #efe9ff; }
.v-icon svg { width: 22px; height: 22px; fill: var(--violet-strong); }

/* Founder */
.founder { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: 420px 1fr; gap: 64px; } }
.founder-photo { margin: 0 auto; width: 100%; max-width: 420px; }
.founder-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.founder-text h2 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
.founder-text p { color: var(--ink-soft); }
.founder-text blockquote {
  margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--violet);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: var(--ink);
}

/* Contact */
.contact { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.contact-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.contact h2 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
.contact-text p { color: var(--on-dark-soft); font-size: 1.1rem; }
.whats-card {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 10px;
  padding: 16px 22px; border-radius: 16px; text-decoration: none;
  background: #1f7a4c; color: #fff; transition: background-color .15s ease, transform .15s ease;
}
.whats-card:hover { background: #196b41; transform: translateY(-1px); }
.whats-card small { display: block; font-size: .85rem; opacity: .9; }
.whats-card strong { display: block; font-size: 1.2rem; letter-spacing: .01em; }

.contact-form {
  padding: 26px; border-radius: 20px;
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1);
}
.form-intro { color: var(--on-dark-soft); font-size: .98rem; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  font: inherit; font-size: 1rem; color: var(--on-dark);
  background: #0f0c22; border: 1px solid #45407a; border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #0f0c22 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c4c1e0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 10px center / 22px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .35); }
.field [aria-invalid="true"] { border-color: #f87171; }
.form-error { color: #fecaca; font-size: .95rem; }

/* Footer */
.site-footer { background: #0a0819; color: var(--on-dark-soft); padding: 56px 0 28px; font-size: .98rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin-top: 12px; }
.footer-title { font-family: var(--font); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer a:not(.brand) { color: var(--on-dark-soft); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:not(.brand):hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .footer-legal { flex-basis: 100%; font-size: .8rem; opacity: .75; line-height: 1.5; }

/* Reveal (só com JS ativo) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Para quem (produtos) */
.p-for { font-size: .95rem; color: var(--ink-soft); }
.p-for strong { color: var(--ink); }
.product-card .p-for { margin-top: -.25em; }

/* Dúvidas (FAQ) */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 44px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #efe9ff; color: var(--violet-strong);
  font: 700 1.2rem/1 var(--font);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-item h3 { font-size: 1.05rem; margin: 0; letter-spacing: -.01em; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); }
