/* =================================================================
   fooble — Design System
   Inspirado em Stripe / Linear / Vercel / Notion.
   Paleta base: Material UI Primary (azul) sobre branco.
   ================================================================= */

:root {
  /* Azul — Material UI Primary */
  --primary-50:  #e3f2fd;
  --primary-100: #bbdefb;
  --primary-200: #90caf9;
  --primary-400: #42a5f5;
  --primary:     #1976d2;
  --primary-600: #1565c0;
  --primary-700: #0d47a1;

  /* Neutros */
  --ink:        #0f172a;
  --text:       #1e293b;
  --text-muted: #64748b;
  --text-soft:  #94a3b8;
  --border:     #e6eaf0;
  --border-2:   #eef2f7;

  /* Superfícies */
  --bg:         #ffffff;
  --bg-subtle:  #f8fafc;
  --bg-blue:    #f5f9ff;

  /* Sombras discretas */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, 0.12);
  --shadow-blue: 0 12px 32px rgba(25, 118, 210, 0.22);

  /* Bordas suaves */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Tipografia */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;

  --maxw: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

a { color: var(--primary-600); text-decoration: none; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--primary-200);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(56px, 9vw, 120px); }

.section--subtle { background: var(--bg-subtle); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.075rem;
  margin: 0;
}

/* Fundo decorativo leve — não cor sólida ocupando tudo */
.bg-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg-glow::before {
  width: 520px; height: 520px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, var(--primary-100), transparent 70%);
}
.bg-glow::after {
  width: 420px; height: 420px;
  bottom: -160px; left: -140px;
  background: radial-gradient(circle, #e0f2fe, transparent 70%);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Botões ---------- */
.btn {
  --bg: var(--primary);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease),
              background 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--primary-600); }

.btn--ghost {
  --bg: #fff;
  --fg: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--primary-200); color: var(--primary-600); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand .logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--primary-400), var(--primary-600));
  box-shadow: var(--shadow-blue);
  color: #fff;
}
.brand .logo svg { width: 19px; height: 19px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  width: 42px; height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary), var(--primary-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }

/* Mockup do sistema */
.mockup {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}
.mockup:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mockup-bar i:nth-child(1) { background: #ff5f57; }
.mockup-bar i:nth-child(2) { background: #febc2e; }
.mockup-bar i:nth-child(3) { background: #28c840; }
.mockup-bar .url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
}

.mockup-body { padding: 18px; display: grid; gap: 14px; }
.dash-row { display: flex; gap: 14px; }
.stat-card {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.stat-card .k { font-size: 0.72rem; color: var(--text-soft); margin-bottom: 6px; }
.stat-card .v { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.stat-card .v small { color: #22c55e; font-size: 0.72rem; font-weight: 600; }

.dash-chart {
  height: 120px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.dash-chart .bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(var(--primary-200), var(--primary));
  animation: growBar 1.1s var(--ease) backwards;
}
@keyframes growBar { from { height: 0 !important; opacity: 0; } }

.dash-order {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
}
.dash-order .pin {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--primary-50);
  color: var(--primary-600);
  font-weight: 700;
  font-size: 0.8rem;
}
.dash-order .meta { flex: 1; }
.dash-order .meta b { display: block; font-size: 0.9rem; color: var(--ink); }
.dash-order .meta span { font-size: 0.76rem; color: var(--text-soft); }
.dash-order .tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 5px 10px;
  border-radius: 999px;
}

.floating-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
  animation: floaty 4s ease-in-out infinite;
}
.floating-badge .ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
}
.floating-badge.fb-1 { top: 22px; left: -28px; }
.floating-badge.fb-1 .ic { background: #22c55e; }
.floating-badge.fb-2 { bottom: 30px; right: -26px; animation-delay: 1.2s; }
.floating-badge.fb-2 .ic { background: var(--primary); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Logos / prova social ---------- */
.logos {
  padding-block: 38px;
  border-block: 1px solid var(--border-2);
}
.logos p {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 6vw, 64px);
  opacity: 0.7;
}
.logos-row span { font-weight: 700; font-size: 1.15rem; color: var(--text-muted); letter-spacing: -0.02em; }

/* ---------- Benefícios ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}
.benefit .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 16px;
}
.benefit h3 { font-size: 1.075rem; margin-bottom: 6px; }
.benefit p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---------- Como Funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  text-align: center;
  padding: 12px;
}
.step .num {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(140deg, var(--primary-400), var(--primary-600));
  box-shadow: var(--shadow-blue);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-200), var(--border));
}
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---------- Recursos (feature split) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 96px); }
.feature-row.reverse .feature-media { order: -1; }

.feature-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.feature-copy p { color: var(--text-muted); font-size: 1.05rem; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.feature-list .check {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: grid; place-items: center;
  margin-top: 1px;
}

.feature-media {
  position: relative;
  background: var(--bg-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* QR card */
.qr-card { display: grid; gap: 16px; }
.qr-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.qr-code {
  width: 92px; height: 92px;
  border-radius: 12px;
  background:
    conic-gradient(from 0deg, var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 22px 22px,
    #fff;
  border: 6px solid #fff;
  box-shadow: inset 0 0 0 1px var(--border);
  flex: none;
}
.qr-visual b { display: block; color: var(--ink); }
.qr-visual span { font-size: 0.86rem; color: var(--text-muted); }

.pay-chip {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.pay-chip .left { display: flex; align-items: center; gap: 12px; }
.pay-chip .amt { font-weight: 700; color: var(--ink); }

/* Variações chips */
.variations { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: all 0.18s ease;
}
.chip.is-on { background: var(--primary-50); border-color: var(--primary-200); color: var(--primary-700); }
.chip .x { color: var(--primary); font-weight: 700; }

/* roles list */
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.role-pill {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
}
.role-pill .av {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-100); color: var(--primary-700);
  font-size: 0.66rem; font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; }
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-600), var(--primary));
  color: #fff;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: var(--shadow-blue);
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta-card p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 540px; margin: 0 auto 28px; }
.cta-card .btn--primary { background: #fff; color: var(--primary-700); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.cta-card .btn--primary:hover { background: #f0f6ff; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 48px 32px;
  background: var(--bg-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid p { color: var(--text-muted); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.86rem;
}

/* =================================================================
   PÁGINA DE PLANOS
   ================================================================= */
.pricing-hero {
  position: relative;
  text-align: center;
  padding-block: clamp(56px, 8vw, 96px) 0;
  overflow: hidden;
}
.pricing-hero .container { position: relative; z-index: 1; }
.pricing-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.pricing-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 560px; margin-inline: auto; }

.billing-trust {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 22px; margin-top: 26px;
  color: var(--text-muted); font-size: 0.9rem;
}
.billing-trust span { display: inline-flex; align-items: center; gap: 7px; }
.billing-trust svg { color: var(--primary-600); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1040px;
  margin: clamp(40px, 6vw, 64px) auto 0;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-200); }

.plan--featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-5px); }

.plan-badges {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  white-space: nowrap;
}
.plan-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  box-shadow: var(--shadow-blue);
}
.plan-badge--alt { background: var(--ink); box-shadow: var(--shadow-sm); }

.plan-name { font-size: 1.2rem; margin-bottom: 4px; }
.plan-desc { color: var(--text-muted); font-size: 0.92rem; min-height: 44px; margin: 0 0 18px; }

.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price .cur { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.plan-price .val { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.plan-price .per { color: var(--text-muted); font-size: 0.95rem; }
.plan-bill { color: var(--text-soft); font-size: 0.85rem; min-height: 20px; margin-bottom: 22px; }
.plan-bill strong { color: var(--primary-600); font-weight: 600; }

.plan-features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.plan-features li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text); }
.plan-features .check {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary-600);
  display: grid; place-items: center;
}
.plan .btn { margin-top: auto; }

.guarantee {
  text-align: center;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq { max-width: 720px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .ico { transition: transform 0.25s var(--ease); color: var(--primary-600); flex: none; }
.faq-item.is-open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a p { padding: 0 22px 18px; margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* =================================================================
   PÁGINAS DE FORMULÁRIO / CONFIRMAÇÃO
   ================================================================= */
.auth-wrap {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.auth-aside {
  position: relative;
  background: linear-gradient(160deg, var(--primary-600), var(--primary-700));
  color: #fff;
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.auth-aside::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000, transparent 80%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .brand { color: #fff; margin-bottom: 40px; }
.auth-aside .brand .logo { background: rgba(255,255,255,0.16); box-shadow: none; }
.auth-aside h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 420px; }
.auth-aside .lead { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 400px; }

.aside-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.aside-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.92); font-size: 0.98rem; }
.aside-points .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.16); display: grid; place-items: center;
}

.aside-quote {
  margin-top: 40px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
}
.aside-quote p { color: #fff; font-size: 0.96rem; font-style: italic; margin: 0 0 10px; }
.aside-quote cite { color: rgba(255,255,255,0.8); font-size: 0.84rem; font-style: normal; }

.auth-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 56px);
  background: var(--bg);
}
.auth-card { width: 100%; max-width: 440px; }

.auth-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 500;
}
.auth-steps .s.is-active { color: var(--primary-600); }
.auth-steps .s.is-done { color: var(--ink); }
.auth-steps .sep { flex: 1; height: 1px; background: var(--border); }

.selected-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--primary-200);
  background: var(--primary-50);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 26px;
}
.selected-plan .pin {
  width: 42px; height: 42px; border-radius: 11px;
  background: #fff; color: var(--primary-600);
  display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-xs);
}
.selected-plan .info { flex: 1; }
.selected-plan .info span { font-size: 0.78rem; color: var(--primary-700); font-weight: 600; }
.selected-plan .info b { display: block; color: var(--ink); }
.selected-plan a { font-size: 0.82rem; font-weight: 600; }

.auth-card h1 { font-size: clamp(1.7rem, 3.5vw, 2.1rem); margin-bottom: 6px; }
.auth-card .muted { color: var(--text-muted); margin-bottom: 26px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.col-2 { grid-template-columns: 1fr; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field label .req { color: #ef4444; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .lead-ic {
  position: absolute; left: 14px;
  color: var(--text-soft); pointer-events: none;
  display: grid; place-items: center;
}
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 14px 13px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder { color: var(--text-soft); }
.field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
}
.field input:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}
.field .hint { font-size: 0.78rem; color: var(--text-soft); }
.field .error { font-size: 0.8rem; color: #dc2626; display: none; }
.field.has-error .error { display: block; }
.field.has-error input { border-color: #ef4444; }

.pw-toggle {
  position: absolute; right: 12px;
  background: none; border: 0; cursor: pointer;
  color: var(--text-soft); padding: 4px;
  display: grid; place-items: center;
}
.pw-toggle:hover { color: var(--text); }

.pw-meter { height: 5px; border-radius: 999px; background: var(--border); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 0.3s var(--ease), background 0.3s ease; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--text-muted); }
.consent input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; }

.form-foot { margin-top: 6px; }
.secure-note {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; margin-top: 16px;
  color: var(--text-soft); font-size: 0.82rem;
}

.btn.is-loading { color: transparent; pointer-events: none; position: relative; }
.btn.is-loading::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Confirmação ---------- */
.confirm-wrap {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: clamp(40px, 7vw, 90px) 24px;
  overflow: hidden;
}
.confirm-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.success-ring {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #dcfce7;
  color: #16a34a;
  animation: pop 0.5s var(--ease) both;
}
.success-ring svg { width: 42px; height: 42px; }
.success-ring .draw { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw 0.5s 0.25s var(--ease) forwards; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.confirm-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.confirm-lead { color: var(--text-muted); font-size: 1.05rem; max-width: 480px; margin-inline: auto; }

.priority-note {
  display: flex;
  gap: 12px;
  text-align: left;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 26px 0;
}
.priority-note .ic { flex: none; color: var(--primary-600); margin-top: 2px; }
.priority-note p { margin: 0; font-size: 0.92rem; color: var(--primary-700); }
.priority-note p b { color: var(--primary-700); }

.summary {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.summary-head {
  background: var(--bg-subtle);
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}
.summary-row + .summary-row { border-top: 1px solid var(--border-2); }
.summary-row .k { color: var(--text-muted); font-size: 0.92rem; }
.summary-row .v { color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }
.summary-row .v.plan-tag {
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.confirm-next { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.confetti {
  position: fixed;
  top: -10px;
  width: 9px; height: 14px;
  opacity: 0.9;
  z-index: 60;
  pointer-events: none;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

/* =================================================================
   ANIMAÇÃO DE ENTRADA (scroll reveal)
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* =================================================================
   RESPONSIVO  (Mobile First — ajustes para telas menores)
   ================================================================= */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .mockup-wrap { max-width: 520px; margin-inline: auto; }
  .floating-badge.fb-1 { left: 0; }
  .floating-badge.fb-2 { right: 0; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-menu {
    position: fixed;
    inset: 68px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
    display: grid;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s ease, visibility 0.25s;
    z-index: 49;
  }
  .mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .mobile-menu a { padding: 12px 8px; color: var(--text); font-weight: 500; border-radius: 8px; }
  .mobile-menu a:hover { background: var(--bg-subtle); }
  .mobile-menu .btn { margin-top: 10px; }

  .steps { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .step::after { display: none; }

  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }

  .plans { grid-template-columns: 1fr; max-width: 440px; }
  .plan--featured { transform: none; order: -1; }
  .plan--featured:hover { transform: translateY(-5px); }

  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
  .summary-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .summary-row .v { text-align: left; }
}

/* Acessibilidade — respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Skip link (acessibilidade) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }
