/* SKForge: estilos da landing page. Sem dependências externas.
   Para trocar a cor da marca, edite só o bloco "COR DA MARCA" abaixo. */

:root {
  /* ===== COR DA MARCA ===== */
  --accent: #10B981;          /* detalhes, brilhos, ícones */
  --accent-2: #22D3EE;        /* segunda cor do degradê */
  --btn-bg: #10B981;          /* fundo do botão principal */
  --btn-fg: #03140D;          /* texto do botão principal */
  --btn-bg-hover: #34D399;
  --accent-text: #047857;     /* texto colorido sobre fundo claro */
  --accent-on-dark: #6EE7B7;  /* texto colorido sobre fundo escuro */
  --accent-soft: #ECFDF5;     /* fundo suave para selos e ícones */
  /* ======================== */

  --ink: #0B0D12;
  --text: #1F2430;
  --muted: #4B5263;
  --line: #E6E8EE;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;

  --dark: #0B0D12;
  --dark-2: #12151C;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-text: #E7E9EE;
  --dark-muted: #A1A8B5;

  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; color: var(--ink); font-weight: 750; }
h1 { font-size: clamp(2.1rem, 1.1rem + 4.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

a { color: var(--accent-text); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .6rem 1rem; color: #fff; background: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center .lead, .center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Seções escuras ---------- */
.dark { background: var(--dark); color: var(--dark-text); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: var(--accent-on-dark); }
.dark .lead, .dark .section-lead, .dark p { color: var(--dark-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  font-size: 1.02rem; font-weight: 700; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover {
  background: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--accent);
}
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-alt); box-shadow: none; }
.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .22); }
.dark .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 40px; padding: .45rem 1.05rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, .94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--dark-line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  color: #fff; text-decoration: none;
}
.brand img { display: block; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .45rem .75rem;
  font-size: .95rem; font-weight: 500;
  color: var(--dark-muted); text-decoration: none; border-radius: 999px;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
}

/* ---------- Topo ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  text-align: center;
  isolation: isolate;
}
.hero::before { /* grade sutil */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero::after { /* brilho de cor */
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 52%; width: min(1100px, 140vw); height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent);
  filter: blur(30px);
  opacity: .55;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: 1.4rem; padding: .3rem .85rem;
  font-size: .85rem; font-weight: 600;
  color: var(--dark-text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--dark-line);
  border-radius: 999px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}
.hero h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.grad {
  background: linear-gradient(90deg, var(--accent-on-dark), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2rem 0 1.5rem; }
.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin: 0 0 1rem; padding: 0; list-style: none;
}
.chips li {
  padding: .25rem .75rem; font-size: .85rem;
  color: var(--dark-muted);
  border: 1px solid var(--dark-line); border-radius: 999px;
}
.hero-phone { font-size: .95rem; }

/* ---------- Espaços reservados para screenshots ---------- */
.shot {
  margin: 3rem 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(11, 13, 18, .05), 0 20px 50px -20px rgba(11, 13, 18, .18);
  overflow: hidden;
  text-align: left;
}
.dark .shot {
  background: var(--dark-2);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .03), 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.shot-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dark .shot-bar { border-color: var(--dark-line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D5D9E0; }
.dark .shot-bar span { background: rgba(255, 255, 255, .16); }
.shot-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  aspect-ratio: 16 / 9; margin: 16px;
  font-weight: 600; text-align: center; color: var(--muted);
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 13, 18, .09) 1px, transparent 0) 0 0 / 18px 18px,
    var(--bg-alt);
  border: 1px dashed #C9CED8;
  border-radius: 10px;
}
.dark .shot-body {
  color: var(--dark-muted);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0) 0 0 / 18px 18px,
    rgba(255, 255, 255, .02);
  border-color: rgba(255, 255, 255, .16);
}
.shot-body p { margin: 0; padding: 0 1rem; }
.shot-body-sm { aspect-ratio: 4 / 3; }
.shot-icon { width: 52px; height: 52px; color: var(--accent); }
.shot figcaption { padding: 0 16px 14px; font-size: .92rem; color: var(--muted); }
.dark .shot figcaption { color: var(--dark-muted); }

.compare { display: grid; gap: 1.5rem; }
.compare .shot { margin-top: 1rem; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 62ch; font-size: 1.1rem; }

/* Diferenciais */
.features {
  display: grid; gap: 1rem;
  margin: 2.5rem 0 0; padding: 0; list-style: none;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li {
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.features li:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 18px 40px -24px rgba(11, 13, 18, .35);
}
.ico {
  display: block; width: 44px; height: 44px; padding: 10px; margin-bottom: 1rem;
  color: var(--accent-text); background: var(--accent-soft); border-radius: 12px;
}
.features h3 { margin-bottom: .4em; }
.features p { margin: 0; color: var(--muted); }

/* IA */
.two-col { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1.1fr; } }
.card { padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.dark .card-accent {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 60%, transparent);
}
.dark .card-accent li { color: var(--dark-text); }
.badge {
  display: inline-block; margin-left: .35rem; padding: .12rem .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  vertical-align: middle;
  color: var(--accent-text); background: var(--accent-soft);
  border-radius: 999px;
}
.dark .badge { color: var(--ink); background: var(--accent-on-dark); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin: 0 0 .7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--btn-bg);
}
.checklist li::after {
  content: ""; position: absolute; left: .36rem; top: calc(.3em + .25rem);
  width: .42rem; height: .62rem;
  border: solid var(--btn-fg); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Planos */
.founder {
  display: inline-block; padding: .15rem .65rem; margin-right: .3rem;
  font-size: .95rem; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px;
}
.billing-toggle {
  display: inline-flex; margin: 1.25rem 0 0; padding: 4px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
}
.billing-toggle[hidden] { display: none; }
.billing-toggle button {
  min-height: 44px; padding: .45rem 1.1rem;
  font: inherit; font-weight: 600;
  color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button[aria-pressed="true"] {
  color: var(--ink); background: #fff;
  box-shadow: 0 1px 2px rgba(11, 13, 18, .08), 0 2px 8px rgba(11, 13, 18, .06);
}
.toggle-note { font-weight: 600; font-size: .8em; color: var(--accent-text); }

.plans { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  display: flex; flex-direction: column;
  padding: 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
}
.plan-featured {
  color: var(--dark-text);
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--dark);
  border-color: var(--dark);
  box-shadow: 0 30px 60px -30px rgba(11, 13, 18, .55);
}
.plan h3 { font-size: 1.45rem; margin-bottom: .35em; }
.plan-featured h3 { color: #fff; }
.plan-for { color: var(--muted); }
.plan-featured .plan-for, .plan-featured .price, .plan-featured .price-label,
.plan-featured .price del, .plan-featured .plan-details dd { color: var(--dark-muted); }
.plan-prices { margin: .5rem 0 1.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-featured .plan-prices { border-color: var(--dark-line); }
.price { margin: 0 0 .75rem; color: var(--muted); }
.price:last-child { margin-bottom: 0; }
.price-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price del { color: var(--muted); }
.price strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.plan-featured .price strong { color: #fff; }
.plan-details { margin: 0 0 1.75rem; flex: 1; }
.plan-details dt { font-weight: 700; margin-top: .8rem; color: var(--ink); }
.plan-featured .plan-details dt { color: #fff; }
.plan-details dd { margin: .15rem 0 0; color: var(--muted); }
.plan .btn-ghost { justify-content: center; }

/* Com o JS ativo, mostra só o período escolhido. Sem JS, os dois aparecem. */
.js-billing-mensal .price-anual,
.js-billing-anual .price-mensal { display: none; }
.js-billing-mensal .price-label,
.js-billing-anual .price-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.plans-common {
  display: grid; gap: 1.5rem;
  margin-top: 1.5rem; padding: 1.6rem 2rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px;
}
@media (min-width: 760px) { .plans-common { grid-template-columns: 1fr 1fr; } }
.plans-common .checklist li:last-child { margin-bottom: 0; }

/* Implantação */
.steps {
  display: grid; gap: 1rem;
  margin: 2.5rem 0 0; padding: 0; list-style: none;
  counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: "0" counter(step);
  display: block; margin-bottom: 1rem;
  font-size: .85rem; font-weight: 800; letter-spacing: .08em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent-text);
}
.steps p { margin: 0; color: var(--muted); }

/* Perguntas */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  font-weight: 650; font-size: 1.08rem; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%;
  width: .6rem; height: .6rem; margin-top: -.45rem;
  border: solid var(--muted); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq summary:hover { color: var(--accent-text); }
.faq details p { padding-right: 2rem; color: var(--muted); }
.faq details p:last-child { padding-bottom: 1.25rem; margin-bottom: 0; }

/* Chamada final */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -260px;
  width: 900px; height: 420px; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent);
  filter: blur(30px); opacity: .6;
}
.cta p { font-size: 1.15rem; }

/* Rodapé */
.site-footer {
  padding: 40px 0; font-size: .95rem;
  color: var(--dark-muted); background: var(--dark);
  border-top: 1px solid var(--dark-line);
}
.site-footer a { color: var(--accent-on-dark); }
.footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; align-items: end; } }
.brand-footer { margin-bottom: .5rem; }
.disclaimer { margin: 0; font-size: .88rem; }

/* Página 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; padding: 72px 0; }

[id] { scroll-margin-top: 80px; }

/* Assistente IA */
#ia .eyebrow .badge { margin-left: .1rem; }
.dark .note { margin-top: 1.25rem; padding-top: 1rem; font-size: .95rem; border-top: 1px solid var(--dark-line); }
