/*
 * public.css — Design System Linear para Camadas Públicas da Venostra
 * Versão: 1.0.0 | 2026-05-26
 * Substitui: Tailwind CDN em public_landing.html, login.html,
 *            public_register.html, public_privacy.html
 *
 * Estrutura:
 *  1. Tokens (:root)
 *  2. Reset e Base
 *  3. Tipografia
 *  4. Utilities (glass, gradients, animations)
 *  5. Componentes (botões, inputs, badges, cards)
 *  6. Layout (nav, hero, seções)
 *  7. Responsividade (mobile-first)
 */

/* ==========================================================================
   1. TOKENS — Design System Linear
   ========================================================================== */
:root {
  /* Paleta principal */
  --bg:             #09090b;
  --bg-elevated:    #111113;
  --bg-surface:     rgba(255, 255, 255, 0.04);
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.15);

  /* Acento Esmeralda Venostra */
  --accent:         #10b981;
  --accent-dk:      #059669;
  --accent-lt:      #34d399;
  --accent-xlt:     #6ee7b7;
  --accent-muted:   rgba(16, 185, 129, 0.10);
  --accent-border:  rgba(16, 185, 129, 0.20);

  /* Texto */
  --text:           #e2e8f0;
  --text-muted:     #94a3b8;
  --text-dim:       #64748b;
  --text-white:     #ffffff;

  /* Formulários (painéis brancos em login/register) */
  --form-bg:        #ffffff;
  --form-text:      #1e293b;
  --form-muted:     #64748b;
  --form-border:    #e2e8f0;
  --form-input-bg:  #f8fafc;
  --form-focus:     rgba(16, 185, 129, 0.20);

  /* Tipografia */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sombras */
  --shadow-glow:    0 0 40px -10px rgba(16, 185, 129, 0.30);
  --shadow-soft:    0 25px 50px -12px rgba(0, 0, 0, 0.60);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.40);
  --shadow-btn:     0 4px 14px rgba(16, 185, 129, 0.30);

  /* Raios */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-2xl:  40px;
  --r-full: 9999px;

  /* Glassmorphism */
  --glass-bg:      rgba(255, 255, 255, 0.03);
  --glass-border:  rgba(255, 255, 255, 0.08);
  --glass-blur:    blur(20px);

  /* Transições */
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;
}

/* ==========================================================================
   2. RESET E BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px; /* Redução de ~6.25% para compactar a escala visual de fontes e layouts */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit; /* Garante que botões herdem a cor do texto do elemento pai, resolvendo contraste dark */
}

input, textarea, select {
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* Selection */
::selection {
  background: rgba(52, 211, 153, 0.30);
  color: #ffffff;
}

/* Alpine x-cloak */
[x-cloak] { display: none !important; }

/* ==========================================================================
   3. TIPOGRAFIA
   ========================================================================== */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1.1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1.1; }
.text-7xl  { font-size: 4.5rem;   line-height: 1.05; }

.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }
.font-black    { font-weight: 900; }

.tracking-tight  { letter-spacing: -0.025em; }
.tracking-wide   { letter-spacing: 0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.uppercase { text-transform: uppercase; }
.italic    { font-style: italic; }

/* Gradient text (para o hero headline) */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background-image: linear-gradient(135deg, var(--accent-lt), var(--accent));
}

/* ==========================================================================
   4. UTILITIES — Glass, Gradients, Animations
   ========================================================================== */

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.glass-light {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Ambient glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
}

.orb-accent {
  background: var(--accent);
  opacity: 0.08;
  filter: blur(120px);
}

/* Backgrounds */
.bg-public    { background-color: var(--bg); }
.bg-elevated  { background-color: var(--bg-elevated); }
.bg-surface   { background-color: var(--bg-surface); }
.bg-form      { background-color: var(--form-bg); color: var(--form-text); }

/* Borders */
.border-subtle  { border: 1px solid var(--border); }
.border-strong  { border: 1px solid var(--border-strong); }
.border-accent  { border: 1px solid var(--accent-border); }

/* Shadows */
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-card { box-shadow: var(--shadow-card); }

/* Noise texture overlay (substitui transparenttextures.com) */
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* Scrollbar customizada */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); border-radius: 99px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.10); border-radius: 99px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.20); }

/* ==========================================================================
   5. ANIMAÇÕES
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.anim-fade-up    { animation: fadeInUp var(--dur-slow) var(--ease-out) both; }
.anim-fade-in    { animation: fadeIn var(--dur-base) var(--ease-out) both; }
.anim-bounce     { animation: bounce-subtle 2s ease-in-out infinite; }

.anim-delay-100  { animation-delay: 100ms; }
.anim-delay-200  { animation-delay: 200ms; }
.anim-delay-300  { animation-delay: 300ms; }

/* Pulse indicator (status online, Pix, etc) */
.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 12px;
  height: 12px;
}
.pulse-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 1.5s ease-out infinite;
}
.pulse-dot::after {
  content: '';
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ==========================================================================
   6. COMPONENTES
   ========================================================================== */

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  border-radius: var(--r-full);
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-sm  { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-md  { padding: 0.75rem 1.75rem; font-size: 0.875rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1rem; }
.btn-xl  { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.40);
}
.btn-primary:active { transform: translateY(0); }

.btn-dark {
  background: #ffffff;
  color: #09090b;
}
.btn-dark:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent-border);
  color: var(--text-white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Contorno fino branco solicitado */
  color: var(--text-white) !important;
  border-radius: var(--r-full);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-white);
}

/* Botão form (fundo branco) */
.btn-form-primary {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--dur-base) var(--ease);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}
.btn-form-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-form-outline {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: transparent;
  color: var(--form-text);
  font-weight: 700;
  border-radius: var(--r-md);
  border: 1px solid var(--form-border);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--dur-base) var(--ease);
}
.btn-form-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* --- Inputs --- */
.input-field {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--form-border);
  background: var(--form-input-bg);
  color: var(--form-text);
  font-family: var(--font);
  font-size: 0.9375rem;
  transition: all var(--dur-fast) var(--ease);
  outline: none;
}
.input-field::placeholder { color: #94a3b8; }
.input-field:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--form-focus);
}

.input-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--form-text);
  margin-bottom: 0.375rem;
}

/* Input com ícone à direita */
.input-wrapper {
  position: relative;
}
.input-wrapper .input-field { padding-right: 3rem; }
.input-icon-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  transition: color var(--dur-fast) var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.input-icon-btn:hover { color: var(--accent); }

/* Força de senha */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: var(--form-border);
  transition: background var(--dur-base) var(--ease);
}
.strength-bar.active-weak   { background: #ef4444; }
.strength-bar.active-medium { background: #f59e0b; }
.strength-bar.active-strong { background: var(--accent); }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.badge-accent {
  background: var(--accent-muted);
  color: var(--accent-lt);
  border: 1px solid var(--accent-border);
}

.badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge-beta {
  background: rgba(245, 158, 11, 0.10);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.20);
}

/* --- Cards --- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all var(--dur-base) var(--ease);
}
.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
}

/* Card branco (painéis de formulário) */
.card-form {
  background: var(--form-bg);
  color: var(--form-text);
  border: 1px solid #e8ecf0;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}

/* --- Divisores --- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.divider-form {
  height: 1px;
  background: var(--form-border);
  margin: 1.5rem 0;
}

/* --- Icon container --- */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-md);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  transition: all var(--dur-base) var(--ease);
  flex-shrink: 0;
}
.card:hover .icon-box {
  background: rgba(16, 185, 129, 0.15);
}

/* Checkbox customizado */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-field input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-label {
  font-size: 0.8125rem;
  color: var(--form-muted);
  line-height: 1.5;
  cursor: pointer;
}

/* --- Mensagens / Alertas Django --- */
.msg-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.msg-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.msg-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.msg-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.msg-base {
  padding: 1rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   7. LAYOUT PÚBLICO
   ========================================================================== */

/* --- Navbar --- */
.nav-public {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 80rem;
  z-index: 50;
  transition: all var(--dur-slow) var(--ease);
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
}

.nav-public.scrolled {
  top: 1rem;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  padding: 0.625rem 1.5rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 3.1rem; /* Ampliado em ~10% conforme solicitado */
  height: 3.1rem;
  background: transparent !important; /* Sem fundo verde */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none !important; /* Sem borda ativa */
  box-shadow: none !important;
  flex-shrink: 0;
}

.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mantém proporções corretas do logo sem cortes */
}

.nav-logo-name {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--text-white);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-white); }

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 1.5rem 7rem;
  text-align: center;
}

.hero-bg-orb-1 {
  width: 600px;
  height: 500px;
  top: -80px;
  right: -100px;
}

.hero-bg-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  background: rgba(16, 185, 129, 0.05);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid var(--accent-border);
  background: var(--accent-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lt);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-white);
  max-width: 56rem;
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Mockup container */
.hero-mockup {
  margin: 4rem auto 0;
  max-width: 72rem;
}

.hero-mockup-frame {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.hero-mockup-inner {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-dots {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 6px;
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dot-r { background: rgba(239, 68, 68, 0.7); }
.mockup-dot-y { background: rgba(251, 191, 36, 0.7); }
.mockup-dot-g { background: rgba(52, 211, 153, 0.7); }

.hero-mockup-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* --- Seções genéricas --- */
.section {
  padding: 6rem 1.5rem;
}

.section-center {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Trust bar */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.trust-label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  opacity: 0.45;
  transition: opacity var(--dur-slow) var(--ease);
}
.trust-logos:hover { opacity: 0.7; }

.trust-logo {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Grid de features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Layout split (login/register: esquerda escura + direita branca) */
.split-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow-x: hidden;
}

.split-grid {
  width: 100%;
  max-width: 80rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.split-left {
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.split-right {}

/* Toggle de billing (preços) */
.toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 3.5rem;
  height: 2rem;
  background: var(--accent);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease);
}
.toggle-thumb {
  position: absolute;
  left: 4px;
  width: 1.5rem;
  height: 1.5rem;
  background: #ffffff;
  border-radius: 50%;
  transition: transform var(--dur-base) var(--ease);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Pricing checkbox modules */
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  user-select: none;
}
.module-card:hover { background: var(--bg-surface); }
.module-card.active {
  border-color: var(--accent);
  background: var(--accent-muted);
}

/* Plan cards */
.plan-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--dur-base) var(--ease);
}
.plan-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.plan-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.plan-featured-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--accent-dk), var(--accent));
  color: #fff;
  padding: 0.25rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

/* Plan price */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
  margin: 1.5rem 0;
}
.plan-price-currency { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); }
.plan-price-value    { font-size: 2.75rem; font-weight: 900; color: var(--text-white); line-height: 1; }
.plan-price-period   { font-size: 0.75rem; font-weight: 600; color: var(--text-dim); margin-left: 4px; }
.plan-price-details  { font-size: 0.6875rem; color: var(--accent-lt); font-weight: 700; }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-white);
  background: none;
  cursor: pointer;
  font-family: var(--font);
  transition: color var(--dur-fast) var(--ease);
}
.faq-trigger:hover { color: var(--accent-lt); }

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease);
  color: var(--text-muted);
}
.faq-icon.open { transform: rotate(45deg); color: var(--accent); }

.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Footer */
.footer-public {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

/* Avatar SVG genérico (substitui randomuser.me) */
.avatar-generic {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-muted), var(--bg-surface));
  border: 1px solid var(--accent-border);
  overflow: hidden;
  flex-shrink: 0;
}

/* ==========================================================================
   8. RESPONSIVIDADE — Mobile First
   ========================================================================== */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* sm: 640px */
@media (min-width: 640px) {
  .hero-actions { flex-wrap: nowrap; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* md: 768px */
@media (min-width: 768px) {
  .section { padding: 7rem 1.5rem; }
  .split-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 3rem; }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .nav-links   { display: flex; }
  .nav-actions { display: flex; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .split-grid { grid-template-columns: 7fr 5fr; }
  .split-left { display: flex; }
  .split-grid.register { grid-template-columns: 5fr 7fr; }
}

/* xl: 1280px */
@media (min-width: 1280px) {
  .hero { padding: 12rem 1.5rem 8rem; }
  .container { padding: 0 2rem; }
}

/* ==========================================================================
   9. UTILITIES HELPERS
   ========================================================================== */
.relative     { position: relative; }
.absolute     { position: absolute; }
.fixed        { position: fixed; }
.inset-0      { inset: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.z-10  { z-index: 10; }
.z-50  { z-index: 50; }

.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid         { display: grid; }
.block        { display: block; }
.hidden       { display: none; }

.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.flex-1        { flex: 1; }
.shrink-0      { flex-shrink: 0; }
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }

.w-full       { width: 100%; }
.max-w-xl     { max-width: 36rem; }
.max-w-2xl    { max-width: 42rem; }
.max-w-4xl    { max-width: 56rem; }
.max-w-7xl    { max-width: 80rem; }
.mx-auto      { margin: 0 auto; }

.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.px-4 { padding-left: 1rem;  padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12{ margin-bottom: 3rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.rounded-full { border-radius: var(--r-full); }
.rounded-xl   { border-radius: var(--r-xl); }
.rounded-lg   { border-radius: var(--r-lg); }
.rounded-md   { border-radius: var(--r-md); }
.rounded-sm   { border-radius: var(--r-sm); }

.opacity-0   { opacity: 0; }
.opacity-50  { opacity: 0.5; }

.pointer-events-none { pointer-events: none; }
.select-none         { user-select: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Transições hover genéricas */
.hover-lift { transition: transform var(--dur-base) var(--ease); }
.hover-lift:hover { transform: translateY(-2px); }

.transition-all { transition: all var(--dur-base) var(--ease); }
.transition-colors { transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }

/* Classes utilitárias explícitas de escala para ícones/SVGs vetoriais (Fase A2) */
.w-3  { width: 0.75rem !important; }
.h-3  { height: 0.75rem !important; }
.w-4  { width: 1rem !important; }
.h-4  { height: 1rem !important; }
.w-5  { width: 1.25rem !important; }
.h-5  { height: 1.25rem !important; }
.w-6  { width: 1.5rem !important; }
.h-6  { height: 1.5rem !important; }
.w-8  { width: 2rem !important; }
.h-8  { height: 2rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }

