/* ─── VaiUp Design System v2 ─────────────────────────────────────── */
:root {
  /* Palette */
  --navy:       #0A1740;
  --navy-mid:   #162259;
  --blue:       #2057E8;
  --blue-light: #4B7FFF;
  --cyan:       #00C2D4;
  --cyan-light: #5DE4EF;
  --green:      #18C96A;
  --bg:         #F4F7FD;
  --bg-soft:    #FAFBFF;
  --text:       #0A1740;
  --text-mid:   #2C3E6E;
  --muted:      #5B6A8E;
  --line:       rgba(10,23,64,.09);
  --line-mid:   rgba(10,23,64,.14);
  --white:      #FFFFFF;

  /* Gradients */
  --grad-blue:  linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  --grad-cyan:  linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  --grad-hero:  linear-gradient(160deg, #0A1740 0%, #162259 55%, #1a2d78 100%);
  --grad-badge: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);

  /* Radii */
  --r-xs:  8px;
  --r-sm:  14px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  38px;
  --r-pill:999px;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(10,23,64,.06);
  --shadow-sm: 0 6px 24px rgba(10,23,64,.08);
  --shadow-md: 0 16px 48px rgba(10,23,64,.12);
  --shadow-lg: 0 32px 80px rgba(10,23,64,.18);
  --shadow-blue:0 16px 48px rgba(32,87,232,.28);

  /* Typography */
  --font-main: "Google Sans", system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  /* Type scale */
  --fs-hero:   clamp(36px, 5vw, 58px);
  --fs-h1:     clamp(30px, 4vw, 48px);
  --fs-h2:     clamp(24px, 3vw, 38px);
  --fs-h3:     clamp(18px, 2vw, 22px);
  --fs-lg:     18px;
  --fs-base:   16px;
  --fs-sm:     14px;
  --fs-xs:     12px;

  /* Spacing */
  --section-pad: 96px;
  --section-pad-sm: 64px;
}

/* ─── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-main); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 20px; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 16px; font-weight: 800; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 10px; font-weight: 700; }

/* ─── Layout ──────────────────────────────────────────────────────── */
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.narrow    { width: min(860px,  calc(100% - 48px)); margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; min-width: 130px; }
.brand-logo-img { height: 44px; width: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.main-nav a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--text-mid); opacity: .85; transition: all .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); opacity: 1; background: rgba(32,87,232,.06); }
.nav-cta { margin-left: 8px; padding: 10px 18px !important; border-radius: var(--r-pill) !important; background: var(--navy) !important; color: #fff !important; opacity: 1 !important; transition: transform .15s, box-shadow .15s !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10,23,64,.22) !important; background: var(--navy-mid) !important; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; color: var(--navy); padding: 4px; cursor: pointer; }

/* ─── Eyebrow ─────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font-weight: 800; font-size: var(--fs-xs);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--grad-cyan);
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-sm);
  font-weight: 800; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap; border: none; cursor: pointer;
}
.btn.primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 8px 24px rgba(10,23,64,.20);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10,23,64,.28); background: var(--navy-mid); }
.btn.secondary {
  background: #fff; color: var(--navy);
  border: 1.5px solid var(--line-mid); box-shadow: var(--shadow-xs);
}
.btn.secondary:hover { border-color: rgba(32,87,232,.3); color: var(--blue); transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn.blue:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(32,87,232,.36); }
.btn.small  { padding: 10px 16px; font-size: var(--fs-sm); }
.btn.big    { padding: 18px 30px; font-size: 17px; }
.btn.full   { width: 100%; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; }

/* ─── Tags ────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(32,87,232,.08); color: var(--blue);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.tag.green  { background: rgba(24,201,106,.1); color: #0f8a48; }
.tag.cyan   { background: rgba(0,194,212,.1);  color: #0088aa; }
.tag.navy   { background: var(--navy); color: #fff; }
.badge-line { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ─── Hero (dark) ─────────────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  padding: 90px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(32,87,232,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,194,212,.12) 0%, transparent 60%);
  pointer-events: none;
}
/* subtle dot-grid texture */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { color: #fff; max-width: 640px; font-size: var(--fs-hero); }
.hero-copy .eyebrow { color: var(--cyan-light); }
.hero-copy .eyebrow::before { background: var(--grad-cyan); }
.lead {
  font-size: var(--fs-lg); line-height: 1.62; color: rgba(255,255,255,.72);
  max-width: 520px; margin-bottom: 0;
}
.mini-note { font-size: var(--fs-sm); color: rgba(255,255,255,.45); margin-top: 16px; }
.hero .btn.secondary { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.hero .btn.secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }

/* ─── Hero metrics ────────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.metric {
  padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}
.metric b { display: block; font-size: 26px; letter-spacing: -.04em; color: #fff; margin-bottom: 3px; }
.metric span { font-size: var(--fs-xs); color: rgba(255,255,255,.5); line-height: 1.4; }

/* ─── Mock window ─────────────────────────────────────────────────── */
.hero-visual { position: relative; }
.mock-window {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.mock-top {
  height: 38px; background: #f0f2f7;
  display: flex; align-items: center; gap: 7px; padding-left: 16px;
  border-bottom: 1px solid var(--line);
}
.mock-top span { width: 11px; height: 11px; border-radius: 50%; }
.mock-top span:nth-child(1) { background: #ff6059; }
.mock-top span:nth-child(2) { background: #ffbe2e; }
.mock-top span:nth-child(3) { background: #28c840; }
.mock-content { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.mock-sidebar { background: var(--navy); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.mock-sidebar .sidebar-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 8px; margin-top: 16px; padding: 0 8px; }
.mock-sidebar .sidebar-label:first-child { margin-top: 0; }
.mock-sidebar b { font-size: 17px; color: #fff; padding: 8px; display: block; margin-bottom: 8px; }
.mock-nav-item { font-size: 12px; color: rgba(255,255,255,.65); padding: 8px 10px; border-radius: 10px; cursor: default; }
.mock-nav-item.active { background: rgba(255,255,255,.12); color: #fff; font-weight: 700; }
.mock-main { padding: 22px; background: linear-gradient(135deg, #f8faff 0%, #edf6ff 100%); }
.upload-card {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: var(--r-md); padding: 14px;
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.upload-card small { display: block; color: var(--muted); margin-top: 3px; font-size: 11px; }
.upload-card h3 { font-size: 14px; margin-bottom: 0; }
.play-dot {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px; background: var(--grad-blue); color: #fff; font-size: 13px;
}
.progress { height: 8px; background: #e8edf8; border-radius: 99px; margin: 0 0 16px; overflow: hidden; }
.progress i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chips span {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 12px;
  font-weight: 700; font-size: 12px; color: var(--text-mid);
}
.card-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.card-row div { height: 72px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-xs); }
.floating-badge {
  position: absolute; right: -12px; bottom: -18px;
  background: var(--grad-badge); color: #fff; font-weight: 800; font-size: 13px;
  padding: 12px 16px; border-radius: var(--r-md);
  box-shadow: 0 16px 36px rgba(32,87,232,.35);
}

/* ─── Sections ────────────────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section.soft { background: var(--bg-soft); }
.section.bg { background: var(--bg); }
.section h2 { font-size: var(--fs-h2); }
.section-lead {
  font-size: var(--fs-lg); line-height: 1.6; color: var(--text-mid);
  max-width: 660px; margin-bottom: 0;
}
.page-hero {
  text-align: center; padding: 80px 0 72px;
  background: var(--grad-hero); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(32,87,232,.3) 0%, transparent 60%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero .narrow { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); }
.page-hero p { color: rgba(255,255,255,.68); font-size: var(--fs-lg); max-width: 540px; margin: 0 auto; line-height: 1.58; }
.page-hero .hero-actions { justify-content: center; }
.page-hero .eyebrow { color: var(--cyan-light); }
.page-hero .eyebrow::before { background: var(--grad-cyan); }

/* ─── Cards ───────────────────────────────────────────────────────── */
.card, .feature-card, .legal-card, .pricing-card, .dashboard-card, .support-card, .module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover, .module-card:hover, .support-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
}
.icon-badge {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(32,87,232,.08), rgba(0,194,212,.06));
  font-size: 22px; margin-bottom: 18px;
  border: 1px solid rgba(32,87,232,.1);
}

/* ─── Steps ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 40px; }
.steps article {
  padding: 28px 24px;
  position: relative;
}
.steps article:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 28px;
  width: 1px; height: 48px;
  background: var(--line);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(32,87,232,.08);
  color: var(--blue); font-weight: 800; font-size: var(--fs-sm);
  margin-bottom: 16px; letter-spacing: 0;
}
.steps p { color: var(--text-mid); line-height: 1.6; font-size: 15px; }

/* ─── Module grid ─────────────────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* ─── Pricing ─────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card > a.btn, .pricing-card > .btn { margin-top: auto; }
.pricing-card .price { display: flex; align-items: flex-end; gap: 4px; margin: 16px 0 10px; }
.pricing-card .price b { font-size: 32px; letter-spacing: -.04em; }
.pricing-card.highlight { border-color: rgba(32,87,232,.25); box-shadow: 0 8px 32px rgba(32,87,232,.12), var(--shadow-sm); }

/* ─── Table ───────────────────────────────────────────────────────── */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
th:first-child, td:first-child { padding-left: 28px; }
th:last-child, td:last-child { padding-right: 28px; }
th:not(:first-child), td:not(:first-child) { text-align: center; }
th { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fafbfe; font-weight: 700; }
tr:last-child td { border-bottom: none; }

/* ─── Forms ───────────────────────────────────────────────────────── */
.form-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid.form-grid-spaced { margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--text-mid); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(10,23,64,.14); background: #fff;
  min-height: 48px; transition: border-color .15s, box-shadow .15s;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32,87,232,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.checkbox-row, .radio-row { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; color: var(--text-mid); line-height: 1.5; }
.checkbox-row input[type="checkbox"], .radio-row input[type="radio"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--blue); }

/* ─── Aceite de termos e privacidade (fluxo por página) ──────────────── */
.consent-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 16px; }
.consent-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line);
  transition: border-color .15s, background .15s;
}
.consent-item .consent-check {
  display: none; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  align-items: center; justify-content: center; background: var(--green); color: #fff;
}
.consent-item .consent-check svg { width: 13px; height: 13px; }
.consent-item[data-accepted="true"] { border-color: rgba(20,163,111,.35); background: rgba(20,163,111,.05); }
.consent-item[data-accepted="true"] .consent-check { display: flex; }
.consent-link { font-weight: 700; color: var(--blue); }
.consent-item[data-accepted="true"] .consent-link { color: var(--navy); }

.consent-intro {
  font-size: 16px; font-weight: 700; color: var(--navy);
  background: rgba(32,87,232,.06); border-left: 3px solid var(--blue);
  padding: 12px 16px; border-radius: var(--r-sm); margin: 4px 0 16px;
}

.consent-action-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.consent-action-card .checkbox-row { margin: 0; align-items: center; }
@media (max-width: 560px) {
  .consent-action-card { flex-direction: column; align-items: stretch; }
  .consent-action-card .btn { width: 100%; }
}
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-top: 8px; }
.checkbox-grid .checkbox-row { margin: 6px 0; }
.modules-row { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 8px; }
.modules-row .checkbox-row { margin: 0; align-items: center; }
@media (max-width: 640px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}
.form-note { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.form-note:empty { display: none; }
.form-note.message-visible {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(10,23,64,.14);
  background: rgba(32,87,232,.06);
  color: var(--text-mid);
  font-weight: 700;
}
.link-button { border: 0; background: transparent; color: var(--blue); font-weight: 700; padding: 0; margin-top: 12px; cursor: pointer; font-size: 14px; }
.link-button:hover { text-decoration: underline; }
.form-card button.btn { font-family: inherit; border: 0; cursor: pointer; }
.form-card button:disabled { opacity: .55; cursor: not-allowed; }

/* ─── Botão "olhinho" de mostrar/ocultar senha ───────────────────────── */
.password-field { position: relative; }
.password-field input { padding-right: 46px; width: 100%; }
.password-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--r-xs);
  background: transparent; color: var(--muted); cursor: pointer;
}
.password-toggle:hover { color: var(--blue); background: rgba(32,87,232,.06); }
.password-toggle svg { width: 20px; height: 20px; }
.password-toggle .icon-eye-off { display: none; }
.password-toggle.is-visible .icon-eye { display: none; }
.password-toggle.is-visible .icon-eye-off { display: block; }

.btn-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ─── Dashboard ───────────────────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.sidebar-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-sm);
  position: sticky; top: 88px; height: fit-content;
}
.sidebar-panel a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-weight: 700; color: var(--text-mid); margin-bottom: 2px; transition: all .15s; }
.sidebar-panel a.active, .sidebar-panel a:hover { background: rgba(32,87,232,.07); color: var(--blue); }
.sidebar-logout {
  display: block; width: 100%; text-align: left; padding: 11px 14px; margin-top: 10px;
  border: 0; border-top: 1px solid var(--line); border-radius: var(--r-sm);
  background: transparent; font-weight: 700; font-size: 15px; color: #D6483C;
  cursor: pointer; transition: background .15s;
}
.sidebar-logout:hover { background: rgba(214,72,60,.08); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dashboard-grid + .dashboard-grid { margin-top: 22px; }
.dashboard-card b { display: block; font-size: 28px; letter-spacing: -.04em; margin-bottom: 6px; }
.dashboard-card button.btn { font-family: inherit; border: 0; cursor: pointer; }
.dashboard-card button:disabled { opacity: .55; cursor: not-allowed; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.list-clean li:last-child { border-bottom: none; }

/* ─── Perfil: grade de duas colunas ──────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; margin-top: 8px; }
.profile-col-left, .profile-col-right { display: flex; flex-direction: column; gap: 22px; }
.profile-col-left .dashboard-card { flex: 1; display: flex; flex-direction: column; }
.profile-col-left .field:last-child { margin-bottom: 0; }
.profile-col-right .checkbox-row:last-child { margin-bottom: 0; }
.profile-actions-bar {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 22px; box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
}

/* ─── Checklist ───────────────────────────────────────────────────── */
.checklist, .bullet-list { padding-left: 0; list-style: none; color: var(--text-mid); line-height: 1.7; }
.checklist li, .bullet-list li { padding: 5px 0 5px 26px; position: relative; margin-bottom: 2px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.bullet-list li::before { content: '•'; position: absolute; left: 4px; color: var(--blue); }

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-xs); margin-bottom: 12px; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; font-size: 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::after { content: '+'; font-size: 20px; color: var(--blue); line-height: 1; flex-shrink: 0; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 14px 0 0; color: var(--text-mid); line-height: 1.65; }

/* ─── CTA band ────────────────────────────────────────────────────── */
.cta-band {
  background: var(--grad-hero); color: #fff;
  border-radius: var(--r-xl); padding: 52px 48px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 120%, rgba(32,87,232,.5) 0%, transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn.secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.cta-band .btn.secondary:hover { background: rgba(255,255,255,.2); }

/* ─── Phone mock ──────────────────────────────────────────────────── */
.phone-mock { width: min(320px,100%); margin-inline: auto; background: var(--navy); border-radius: 36px; padding: 14px; box-shadow: var(--shadow-lg); }
.phone-shell { background: #f8fbff; border-radius: 28px; overflow: hidden; min-height: 600px; }
.phone-top { padding: 16px 18px 8px; display: flex; justify-content: space-between; align-items: center; }
.phone-notch { width: 100px; height: 16px; border-radius: 99px; background: var(--navy); margin: 0 auto 6px; }
.phone-screen { padding: 16px; }
.study-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.study-card h3 { font-size: 20px; }
.study-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 12px; }
.study-nav div { background: #fff; border: 1px solid var(--line); padding: 10px 6px; border-radius: var(--r-sm); text-align: center; font-size: 11px; font-weight: 700; }

/* ─── Timeline ────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue), var(--cyan)); border-radius: 2px; }
.timeline article { position: relative; padding: 0 0 28px 22px; }
.timeline article::before { content: ''; position: absolute; left: -3px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-badge); box-shadow: 0 0 0 3px rgba(32,87,232,.15); }

/* ─── Note box ────────────────────────────────────────────────────── */
.note-box { padding: 16px 18px; border-radius: var(--r-md); background: rgba(32,87,232,.06); border: 1px solid rgba(32,87,232,.15); color: var(--text-mid); font-size: 14px; line-height: 1.55; }

/* ─── Suporte: lista de canais de contato ────────────────────────────── */
.contact-channel-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.contact-channel-list li a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line);
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.contact-channel-list li a:hover { border-color: rgba(32,87,232,.3); background: rgba(32,87,232,.05); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.channel-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(32,87,232,.1), rgba(0,194,212,.08));
  color: var(--blue);
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-text { display: flex; flex-direction: column; gap: 2px; }
.channel-text b { font-size: 14px; color: var(--navy); }
.channel-text span { font-size: 13px; color: var(--muted); }

/* ─── Carrinho ────────────────────────────────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.cart-item-card, .cart-summary-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0; }
.cart-item-info { display: flex; flex-direction: column; gap: 4px; }
.cart-item-info b { font-size: 17px; color: var(--navy); }
.cart-item-info span { font-size: 13px; color: var(--muted); }
.cart-item-price { font-size: 20px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.cart-summary-card h3 { margin-top: 0; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-mid); padding: 8px 0; }
.cart-summary-row.total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 14px; font-size: 16px; color: var(--navy); }
.cart-summary-card .btn.full { width: 100%; margin-top: 14px; }
.cart-summary-card #cart-status:not(:empty) { margin: 10px 0; }
.empty-cart-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 48px; text-align: center; max-width: 560px; margin: 0 auto;
}
.empty-cart-card h2 { margin-top: 0; }
.empty-cart-card .btn { margin-top: 14px; }
@media (max-width: 780px) {
  .cart-grid { grid-template-columns: 1fr; }
}
.spacer { height: 12px; }

/* ─── Support/policy grid ─────────────────────────────────────────── */
.support-grid, .policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr .8fr; gap: 24px; margin-bottom: 40px; }
.footer-brand .brand-logo-img { height: 58px; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.5); margin-top: 14px; }
.footer-col h4 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; font-weight: 800; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.55); font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-sm); color: rgba(255,255,255,.35); }
.brand-logo-img-inv { filter: brightness(0) invert(1); }

/* ─── Misc ────────────────────────────────────────────────────────── */
.pill-grid span { background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 14px; font-weight: 700; font-size: 14px; }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .hero-grid, .grid-2, .form-shell, .support-grid, .policy-grid, .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .module-grid, .pricing-grid, .feature-grid, .steps, .dashboard-grid, .grid-4, .grid-3, .footer-grid, .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .mock-content { grid-template-columns: 140px 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 14px; }
  .menu-toggle { display: block; }
  .container, .narrow { width: calc(100% - 32px); }
  .hero { padding: 60px 0 72px; }
  .page-hero { padding: 60px 0 52px; }
  .steps, .module-grid, .pricing-grid, .feature-grid, .dashboard-grid, .grid-4, .grid-3, .metrics, .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps article::after { display: none; }
  .header-inner { height: 64px; }
  .brand-logo-img { height: 38px; }
  .nav-cta { padding: 9px 14px !important; }
  .cta-band { padding: 40px 28px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .mock-content { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .card-row div { height: 60px; }
  .floating-badge { position: static; margin-top: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .table-wrap table { min-width: 640px; }
  .phone-mock { width: 100%; }
  .cta-band { padding: 32px 22px; border-radius: var(--r-lg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ─── Billing cycle toggle (Planos e Créditos) ───────────────────────── */
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-pill); margin: 0 auto 36px; flex-wrap: wrap;
}
.cycle-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 0; background: transparent; color: var(--muted);
  font-weight: 800; font-size: 14px; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.cycle-btn:hover { color: var(--navy); }
.cycle-btn.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-xs); }
.cycle-btn .tag { padding: 3px 8px; font-size: 10px; }
.billing-toggle-wrap { text-align: center; }
.price-cycle-note { font-size: var(--fs-sm); color: var(--muted); margin-top: -4px; margin-bottom: 12px; }
.pricing-card .credits-amount { font-weight: 800; color: var(--blue); }

/* ─── Avulsos grid ────────────────────────────────────────────────── */
.addon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.addon-card { text-align: center; }
.addon-card .price { margin: 14px 0 4px; }
.addon-card .price b { font-size: 28px; letter-spacing: -.04em; }
.addon-card .per-credit { font-size: var(--fs-xs); color: var(--muted); }

@media (max-width: 880px) {
  .addon-grid { grid-template-columns: 1fr; }
}

/* ─── Header actions (conta, carrinho, idioma) ───────────────────────── */
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

/* Conta */
.account-widget { position: relative; }
.account-trigger {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--text-mid); padding: 4px; border-radius: var(--r-sm);
  transition: color .15s;
}
.account-trigger:hover { color: var(--blue); }
.account-icon { display: flex; color: inherit; }
.account-icon svg { width: 26px; height: 26px; }
.account-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.account-line1 { font-size: 12px; font-weight: 700; color: var(--muted); }
.account-line1 .account-link { color: var(--muted); }
.account-line1 .account-link:hover { color: var(--blue); text-decoration: underline; }
.account-line1 .sep { margin: 0 4px; opacity: .5; }
.account-line2 { font-size: 14px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 4px; }
.account-line2 svg { width: 12px; height: 12px; }
.account-widget.is-logged-in .account-line1 { color: var(--green); }
.account-widget.is-logged-in .account-trigger { color: var(--navy); }

/* Carrinho */
.cart-widget {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-mid); padding: 4px; border-radius: var(--r-sm);
  transition: color .15s;
}
.cart-widget:hover { color: var(--blue); }
.cart-icon svg { width: 24px; height: 24px; display: block; }
.cart-text { display: flex; flex-direction: column; line-height: 1.25; }
.cart-items { font-size: 12px; font-weight: 700; color: var(--muted); }
.cart-total { font-size: 14px; font-weight: 800; color: var(--navy); }

/* Idioma */
.lang-switch { position: relative; }
.lang-trigger {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 0; cursor: pointer; padding: 4px; border-radius: var(--r-sm);
}
.lang-flag { font-size: 22px; line-height: 1; display: block; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); padding: 6px; min-width: 170px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}
.lang-switch.open .lang-menu,
.account-widget.open .account-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border-radius: var(--r-xs); border: 0; background: transparent;
  cursor: pointer; font-size: 14px; font-weight: 700; color: var(--text-mid); text-align: left;
}
.lang-option:hover { background: var(--bg); color: var(--navy); }
.lang-option.active { color: var(--blue); }
.lang-option .lang-flag { font-size: 18px; }

/* Menu dropdown genérico da conta (fallback logado-fora) */
.account-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); padding: 10px; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}
.account-menu a {
  display: block; padding: 9px 10px; border-radius: var(--r-xs);
  font-size: 14px; font-weight: 700; color: var(--text-mid);
}
.account-menu a:hover { background: var(--bg); color: var(--blue); }

@media (max-width: 640px) {
  .account-text, .cart-text, .account-menu { display: none; }
  .header-actions { gap: 10px; }
}

/* ─── Botão flutuante WhatsApp ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .15s, box-shadow .15s;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px rgba(37,211,102,.55); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ─── Ícones sociais flutuantes ───────────────────────────────────────── */
.social-float {
  position: fixed; left: 18px; bottom: 22px; z-index: 500;
  display: flex; flex-direction: column; gap: 10px;
}
.social-float a {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.social-float a:hover { transform: translateY(-3px); background: var(--blue); box-shadow: var(--shadow-md); }
.social-float svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .social-float { left: 12px; bottom: 14px; gap: 8px; }
  .social-float a { width: 36px; height: 36px; }
  .social-float svg { width: 16px; height: 16px; }
}
