/* ============================================================================
   gomailer.ai — landing v1.0
   Direção: Inbox-Native. Tokens herdados do produto (dashboard/static/style.css).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --purple-deep: #22093a;
  --purple-deep-2: #2a0f47;
  --purple: #532384;
  --purple-light: #b79cf0;
  --cyan: #45bbd8;
  --cyan-light: #50d9fb;
  --green: #29c287;
  --gold: #b8860b;
  --red: #e05252;

  --bg: #f4f6f8;
  --bg-alt: #eef1f6;
  --card: #ffffff;
  --line: #e3e8ee;
  --txt: #1f2733;
  --muted: #69778a;

  --accent-soft: #f0e9fa;
  --accent-txt: #532384;
  --accent-line: #d9c7f3;
  --chip: #eef1f5;
  --chip-txt: #50607a;
  --chip-line: #e0e5ec;
  --code-bg: #1a0a2e;
  --field: #ffffff;
  --shadow: rgba(34, 9, 58, .14);
  --shadow-strong: rgba(34, 9, 58, .26);

  --ff-display: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  --ff-body: "DM Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 11px;
  color-scheme: light;
}

[data-theme="dark"] {
  --purple: #b79cf0;
  --purple-light: #c7b3f5;
  --cyan: #4fc7e6;
  --cyan-light: #6fe0ff;
  --green: #35d199;
  --red: #ff6b6b;

  --bg: #0d0f15;
  --bg-alt: #12151d;
  --card: #171a22;
  --line: #2a2f3a;
  --txt: #e7ecf3;
  --muted: #93a0b3;

  --accent-soft: #241a3a;
  --accent-txt: #c7b3f5;
  --accent-line: #3a2c5c;
  --chip: #232833;
  --chip-txt: #b6c1d1;
  --chip-line: #333a47;
  --code-bg: #0a0413;
  --field: #1b1f28;
  --shadow: rgba(0, 0, 0, .4);
  --shadow-strong: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }

/* mono eyebrow */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cyan);
  text-transform: none;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: "//"; opacity: .6; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
  color: #0b1220; font-weight: 700;
  box-shadow: 0 6px 22px rgba(69, 187, 216, .35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(69, 187, 216, .5); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--txt); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-on-dark:hover { border-color: var(--cyan-light); color: var(--cyan-light); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand .mark { width: 28px; height: 28px; }
.brand .dot-ai { color: var(--cyan); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 9px; transition: color .12s, background .12s; }
.nav a:hover { color: var(--txt); background: var(--accent-soft); }
.topbar .spacer { flex: 1; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--txt); font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s, border-color .15s;
}
.theme-toggle:hover { transform: rotate(-12deg); border-color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(80, 217, 251, .22), transparent 60%),
    linear-gradient(135deg, var(--purple-deep-2), var(--purple-deep));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.hero .eyebrow { color: var(--cyan-light); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -.03em; }
.hero h1 .hl {
  background: linear-gradient(90deg, var(--cyan-light), #9be7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 19px; line-height: 1.6; color: #cdd8e6; margin: 22px 0 30px; max-width: 30em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero .trust .kpi { font-family: var(--ff-mono); }
.hero .trust .kpi b { display: block; font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero .trust .kpi span { font-size: 12.5px; color: #8aa0b6; }

/* Thread card (signature) */
.thread {
  background: var(--card); color: var(--txt);
  border-radius: 18px; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(10, 4, 25, .55);
  overflow: hidden; position: relative;
}
.thread .th-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.thread .th-bar .subj { font-weight: 600; font-size: 13.5px; }
.thread .th-bar .re { font-family: var(--ff-mono); font-size: 11px; color: var(--cyan); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }
.thread .th-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 10px; opacity: 0; transform: translateY(10px); }
.msg .ava { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 13px; color: #fff; }
.msg.lead .ava { background: linear-gradient(135deg, #64748b, #94a3b8); }
.msg.you .ava { background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.msg .bubble { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13.5px; }
.msg .who { font-size: 11px; color: var(--muted); font-family: var(--ff-mono); margin-bottom: 3px; }
.msg.you .bubble { background: var(--accent-soft); border-color: var(--accent-line); }
.cad-row { display: flex; gap: 6px; margin: 2px 0 0 44px; opacity: 0; }
.cad { font-family: var(--ff-mono); font-size: 10.5px; color: var(--muted); border: 1px dashed var(--chip-line); border-radius: 999px; padding: 2px 9px; }
.cad.on { color: var(--green); border-color: var(--green); border-style: solid; }
.thread .th-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.thread .th-foot .status { font-family: var(--ff-mono); font-size: 11.5px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.thread .th-foot .status .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(41,194,135,.6); }
.thread .th-foot .open { text-align: right; }
.thread .th-foot .open b { font-family: var(--ff-mono); font-size: 22px; font-weight: 700; color: var(--purple); letter-spacing: -.02em; }
[data-theme="dark"] .thread .th-foot .open b { color: var(--cyan-light); }
.thread .th-foot .open span { display: block; font-size: 10.5px; color: var(--muted); font-family: var(--ff-mono); }

/* animate in (respecting reduced motion via .animate gate) */
.animate .msg { animation: rise .5s ease forwards; }
.animate .msg.lead { animation-delay: .25s; }
.animate .msg.you { animation-delay: .95s; }
.animate .cad-row { animation: fade .4s ease forwards; animation-delay: 1.5s; }
.animate .th-foot .pulse { animation: pulse 1.8s ease-out infinite; animation-delay: 2s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(41,194,135,.5); } 70% { box-shadow: 0 0 0 10px rgba(41,194,135,0); } 100% { box-shadow: 0 0 0 0 rgba(41,194,135,0); } }
/* static fallback (no JS / reduced motion): everything visible */
.no-anim .msg, .no-anim .cad-row { opacity: 1 !important; transform: none !important; }

/* ---------- Logos strip ---------- */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.ribbon .wrap { display: flex; align-items: center; gap: 28px; padding: 18px 24px; flex-wrap: wrap; justify-content: center; }
.ribbon .r-txt { font-family: var(--ff-mono); font-size: 12.5px; color: var(--muted); }
.ribbon .r-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--txt); opacity: .85; }
.ribbon .r-item .g { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Deliverability (the jewel) ---------- */
.deliver { background: linear-gradient(180deg, var(--purple-deep-2), var(--purple-deep)); color: #fff; }
.deliver .eyebrow { color: var(--cyan-light); }
.deliver h2 { font-size: clamp(28px, 4vw, 44px); max-width: 14em; }
.deliver .sub { color: #cdd8e6; font-size: 17px; max-width: 34em; margin-top: 16px; }
.deliver .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; margin-top: 46px; align-items: start; }
.readout {
  background: rgba(10, 4, 25, .5); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 26px; font-family: var(--ff-mono);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.readout .rline { font-size: 12px; color: #8aa0b6; margin-bottom: 22px; }
.bar { margin-bottom: 22px; }
.bar .bl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.bar .bl .name { font-size: 13px; color: #e7ecf3; }
.bar .bl .val { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.bar .track { height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar .fill { height: 100%; width: 0; border-radius: 999px; transition: width 1.2s cubic-bezier(.22,.61,.36,1); }
.readout .bar.thread {
  margin: 0 -12px 28px;
  padding: 13px 12px 5px;
  border-color: rgba(80, 217, 251, .28);
  box-shadow: 0 6px 24px rgba(80, 217, 251, .16);
  animation: thread-glow 5s ease-in-out infinite;
}
@keyframes thread-glow {
  0%, 100% { box-shadow: 0 6px 24px rgba(80, 217, 251, .14); }
  50% { box-shadow: 0 9px 32px rgba(80, 217, 251, .30); }
}
.bar.thread .val, .bar.thread .fill { color: var(--cyan-light); }
.bar.thread .fill { background: linear-gradient(90deg, var(--cyan), var(--cyan-light)); }
.bar.news .val { color: var(--green); }
.bar.news .fill { background: linear-gradient(90deg, #1f9e6e, var(--green)); }
.bar.isp .val { color: #8aa0b6; }
.bar.isp .fill { background: #55637a; }
.bar .meta { font-size: 11px; color: #8aa0b6; margin-top: 6px; }
.readout .foot { font-size: 11px; color: #6f7d92; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; margin-top: 4px; }
.why { display: flex; flex-direction: column; gap: 20px; }
.why .w { display: flex; gap: 14px; }
.why .w .ico { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(80,217,251,.14); display: grid; place-items: center; color: var(--cyan-light); }
.why .w h3 { font-size: 17px; color: #fff; }
.why .w p { margin: 5px 0 0; color: #cdd8e6; font-size: 14.5px; }

/* ---------- One-prompt (seção destaque) ---------- */
.oneprompt {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 420px at 50% -10%, rgba(80,217,251,.16), transparent 62%),
    var(--bg-alt);
}
.oneprompt .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.oneprompt .eyebrow { justify-content: center; }
.oneprompt .section-head .sub { color: var(--muted); font-size: 17px; margin-top: 14px; }
.op-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; max-width: 1000px; margin: 0 auto; }

.op-terminal {
  background: #0e0618; border: 1px solid #3a2c5c; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(10,4,25,.4); display: flex; flex-direction: column;
}
.op-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
.op-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.op-bar .dot.r { background: #ff5f57; } .op-bar .dot.y { background: #febc2e; } .op-bar .dot.g { background: #28c840; }
.op-bar .op-title { font-family: var(--ff-mono); font-size: 12px; color: #8aa0b6; margin-left: 8px; }
.op-body { padding: 22px; font-family: var(--ff-mono); font-size: 15px; line-height: 1.7; color: #e7ecf3; display: flex; gap: 10px; flex: 1; }
.op-body .op-caret { color: var(--cyan-light); flex: none; }
.op-typed { margin: 0; }
.op-typed .cursor { display: inline-block; width: 9px; height: 18px; background: var(--cyan-light); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.op-result { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.op-status { font-family: var(--ff-mono); font-size: 12.5px; color: var(--cyan); margin-bottom: 16px; }
.op-status.ok { color: var(--green); }
.op-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.op-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; opacity: .32; transition: opacity .35s ease; }
.op-steps li.on { opacity: 1; }
.op-steps li .ck { flex: none; margin-top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--muted); }
.op-steps li.on .ck { background: var(--green); color: #fff; }
.op-steps li b { color: var(--muted); font-weight: 600; }
.op-done { margin-top: auto; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.op-done.on { opacity: 1; transform: none; }
.op-badge { display: inline-block; font-family: var(--ff-mono); font-size: 12px; color: #157a52; background: #e3f7ee; border: 1px solid #b9ead2; padding: 5px 12px; border-radius: 999px; }
[data-theme="dark"] .op-badge { color: #6ee7b0; background: #10241c; border-color: #235c43; }
.op-done p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.op-done p b { color: var(--txt); }
@media (max-width: 860px) { .op-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step .n { font-family: var(--ff-mono); font-size: 13px; color: var(--cyan); font-weight: 600; }
.step h3 { font-size: 20px; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step .badge { margin-top: 14px; font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted); background: var(--chip); border: 1px solid var(--chip-line); padding: 3px 9px; border-radius: 999px; display: inline-block; }

/* ---------- Differentiators ---------- */
.feat-group { margin-bottom: 40px; }
.feat-group > .gl { font-family: var(--ff-mono); font-size: 12.5px; color: var(--cyan); letter-spacing: .03em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.feat-group > .gl::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px var(--shadow); border-color: var(--accent-line); }
.feat .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; color: var(--purple); margin-bottom: 14px; }
[data-theme="dark"] .feat .ico { color: var(--purple-light); }
.feat h3 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: 14px; margin: 0; }
.feat .tag { display: inline-block; margin-top: 10px; font-family: var(--ff-mono); font-size: 10.5px; color: var(--green); }

/* ---------- Split feature (AI natural language) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 50px var(--shadow); }
.chat .cmsg { display: flex; gap: 10px; margin-bottom: 12px; }
.chat .cmsg .who { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); flex: none; width: 54px; padding-top: 8px; }
.chat .cmsg .txt { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font-size: 14px; }
.chat .cmsg.ai .txt { background: var(--accent-soft); border-color: var(--accent-line); }
.chat .cmsg.ai .who { color: var(--purple); }
[data-theme="dark"] .chat .cmsg.ai .who { color: var(--purple-light); }

/* ---------- Guardrails ---------- */
.guard { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guard .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.shield { display: grid; place-items: center; }
.layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.layers li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14.5px; }
.layers li .lk { flex: none; color: var(--green); }
.layers li b { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); margin-left: auto; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 28px; display: flex; flex-direction: column; }
.plan.feat-plan { border-color: var(--cyan); box-shadow: 0 20px 50px var(--shadow); position: relative; }
.plan.feat-plan .flag { position: absolute; top: -12px; left: 28px; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: #0b1220; background: linear-gradient(90deg, var(--cyan), var(--cyan-light)); padding: 4px 12px; border-radius: 999px; }
.plan .pn { font-family: var(--ff-mono); font-size: 13px; color: var(--cyan); }
.plan h3 { font-size: 22px; margin: 6px 0 4px; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 40px; }
.plan .amount { margin: 18px 0 4px; font-family: var(--ff-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.plan .amount .pre { font-size: 14px; font-family: var(--ff-mono); color: var(--muted); font-weight: 500; display: block; letter-spacing: 0; }
.plan .amount small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan .amount.noprice { font-size: 30px; color: var(--purple); }
[data-theme="dark"] .plan .amount.noprice { color: var(--purple-light); }
.plan .rec { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); margin-bottom: 12px; min-height: 18px; }
.plan .pay {
  display: inline-block; font-family: var(--ff-mono); font-size: 11.5px;
  color: var(--accent-txt); background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(80, 217, 251, .16);
  transition: box-shadow .2s ease, transform .2s ease;
}
.plan .pay[data-pix] { cursor: help; }
.plan .pay[data-pix]:hover, .plan .pay[data-pix]:focus-visible {
  box-shadow: 0 4px 20px rgba(80, 217, 251, .42);
  transform: translateY(-1px);
}

/* selo de acesso ao código-fonte */
.plan .src { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--accent-txt); background: var(--accent-soft); border: 1px dashed var(--accent-line); border-radius: 10px; padding: 10px 13px; margin: 0 0 18px; }
.plan .src svg { flex: none; }
.plan.feat-plan .src { border-style: solid; }
.plan .src.now { color: #157a52; background: #e3f7ee; border: 1px solid #b9ead2; }
[data-theme="dark"] .plan .src.now { color: #6ee7b0; background: #10241c; border-color: #235c43; }

/* bubble flutuante que segue o mouse */
.pay-bubble {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  background: var(--purple-deep); color: #fff;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  padding: 10px 14px; font-family: var(--ff-mono); font-size: 12.5px; line-height: 1.55;
  box-shadow: 0 14px 36px rgba(10, 4, 25, .5); white-space: nowrap;
  opacity: 0; transform: translateY(6px) scale(.98);
  transition: opacity .15s ease, transform .15s ease;
}
.pay-bubble.show { opacity: 1; transform: translateY(0) scale(1); }
.pay-bubble .big { color: var(--cyan-light); font-weight: 600; }
.pay-bubble .dim { color: #cdd8e6; opacity: .7; }
.pay-bubble .sub { color: #cdd8e6; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan ul li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; }
.plan ul li svg { flex: none; margin-top: 3px; color: var(--green); }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-note { text-align: center; margin-top: 22px; font-family: var(--ff-mono); font-size: 12.5px; color: var(--muted); }

/* ---------- Reseller ---------- */
.reseller { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; border-radius: var(--radius); padding: 52px; }
.reseller::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(80,217,251,.3), transparent 70%); }
.reseller .eyebrow { color: var(--cyan-light); }
.reseller h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 16em; }
.reseller p { color: #e4dcf5; font-size: 17px; max-width: 44em; margin: 16px 0 26px; }
.reseller .models { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.reseller .models .m { font-family: var(--ff-mono); font-size: 12.5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--ff-display); font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; font-family: var(--ff-mono); color: var(--cyan); transition: transform .2s; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 68ch; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); max-width: 16em; margin: 0 auto; }
.final p { color: var(--muted); font-size: 18px; margin: 18px auto 30px; max-width: 40em; }
.final .cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px 24px; flex-wrap: wrap; }
.footer .brand { font-size: 18px; }
.footer .by { font-family: var(--ff-mono); font-size: 12.5px; color: var(--muted); }
.footer .by a { color: var(--cyan); }
.footer nav { display: flex; gap: 18px; font-size: 14px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--txt); }

/* ---------- Modal / formulário Own-It ---------- */
.modal { border: none; padding: 0; width: min(580px, 94vw); max-height: 92vh; overflow-y: auto; border-radius: 18px; background: var(--card); color: var(--txt); box-shadow: 0 40px 90px rgba(10, 4, 25, .55); }
.modal::backdrop { background: rgba(34, 9, 58, .55); backdrop-filter: blur(3px); }
.modal-form { padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; border-radius: 8px; }
.modal-close:hover { background: var(--accent-soft); color: var(--txt); }
.modal-form h3 { font-size: 25px; }
.modal-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.modal-form > label, .frow > label { font-size: 12.5px; font-weight: 700; color: var(--txt); display: flex; flex-direction: column; gap: 6px; }
.modal-form input[type="text"], .modal-form input[type="email"], .modal-form input[type="tel"], .modal-form textarea {
  font: 400 14px var(--ff-body); padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); color: var(--txt); width: 100%;
}
.modal-form textarea { resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.modal-form legend { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 6px; }
.chk, .rdo { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--txt); cursor: pointer; }
.chk input, .rdo input { accent-color: var(--purple); width: 17px; height: 17px; flex: none; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.modal-done { color: var(--green); font-size: 13px; font-family: var(--ff-mono); margin: 4px 0 0; }
.modal-note { color: var(--muted); font-size: 12px; line-height: 1.45; margin: -2px 0 0; text-align: right; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } .modal-form { padding: 24px; } }

/* ---------- Scroll reveal (só esconde quando há JS: sem JS, tudo visível) ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 68px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 64px; }
  .deliver .grid, .guard .grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .steps, .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .plan.feat-plan { order: -1; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 36px; }
  .reseller { padding: 34px 24px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .msg, .cad-row { opacity: 1 !important; transform: none !important; }
  .bar .fill { transition: none !important; }
}

/* focus visible */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
