/* ============================================================
   MESA 360 SOLUÇÕES — PORTAL DE PROPOSTAS EXECUTIVOS
   Redesign Premium v2.0
   Fonte: Playfair Display + Inter (Google Fonts)
   ============================================================ */

/* ---- Font Awesome SVG helpers ---- */
svg.fa-solid, svg.fa-brands, svg.fa-regular, svg.fab, svg.fas, svg.far {
  display: inline-block;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
  width: auto;
  fill: currentColor;
}
@keyframes fa-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
svg.fa-spin, .fa-spin svg {
  animation: fa-spin 2s linear infinite;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Core Palette */
  --primary:        #0d1b35;
  --primary-light:  #1a3a6b;
  --primary-dark:   #08101f;
  --primary-glow:   rgba(13,27,53,.35);
  --secondary:      #c8a94d;
  --accent:         #c8a94d;
  --accent-dark:    #a08530;
  --accent-light:   #e0c36a;
  --success:        #1a9e5c;
  --danger:         #dc3545;
  --warning:        #ffc107;

  /* Backgrounds */
  --bg:             #f4f5fb;
  --bg-dark:        #0d1b35;
  --white:          #ffffff;

  /* Grays */
  --gray-50:        #f9fafb;
  --gray-100:       #f3f4f6;
  --gray-200:       #e5e7eb;
  --gray-300:       #d1d5db;
  --gray-400:       #9ca3af;
  --gray-600:       #6b7280;
  --gray-800:       #1f2937;

  /* Text */
  --text:           #111827;
  --text-muted:     #6b7280;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #0d1b35 0%, #16305c 50%, #2a4d85 100%);
  --grad-hero:      linear-gradient(135deg, #060c17 0%, #0d1b35 40%, #0d1b35 70%, #1a3a6b 100%);
  --grad-card:      linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
  --grad-accent:    linear-gradient(135deg, #c8a94d 0%, #a08530 100%);
  --grad-success:   linear-gradient(135deg, #1a9e5c 0%, #22c573 100%);

  /* Glassmorphism */
  --glass-bg:       rgba(255,255,255,.08);
  --glass-border:   rgba(255,255,255,.14);
  --glass-blur:     blur(20px);

  /* Shadows */
  --shadow-xs:      0 2px 8px rgba(13,27,53,.06);
  --shadow-sm:      0 4px 16px rgba(13,27,53,.08);
  --shadow-md:      0 8px 32px rgba(13,27,53,.12);
  --shadow-lg:      0 16px 56px rgba(13,27,53,.18);
  --shadow-xl:      0 24px 80px rgba(13,27,53,.24);
  --shadow-glow:    0 0 32px rgba(200,169,77,.28);
  --shadow-primary: 0 8px 32px rgba(13,27,53,.40);

  /* Shape */
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Motion */
  --transition:     all .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .15s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .5s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-20px) rotate(5deg); }
  66%       { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes pulse-ring {
  0%   { transform: scale(.9); opacity: .6; }
  50%  { transform: scale(1.05); opacity: .3; }
  100% { transform: scale(.9); opacity: .6; }
}
@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-40px) scale(1.08); }
  66%  { transform: translate(-20px,20px) scale(.95); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section--dark { background: var(--primary); }
.section--alt  { background: #eef1f9; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header--light { color: var(--white); }

.section-tag {
  display: inline-block;
  background: rgba(200,169,77,.12);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(200,169,77,.20);
  text-transform: uppercase;
}
.section-tag--light {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.9);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}
.section-title--light { color: var(--white); }

.section-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.section-desc--light { color: rgba(255,255,255,.7); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
}
.btn:active::after { animation: ripple .5s ease-out; }

.btn--full { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, #c8a94d 0%, #a08530 100%);
  background-size: 200% 200%;
  color: #0d1b35;
  box-shadow: 0 4px 16px rgba(200,169,77,.35);
}
.btn--primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,77,.5);
}

.btn--outline-light {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13,27,53,.25);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--gray-300);
}
.btn--ghost:hover { background: var(--gray-100); }

.btn--success {
  background: var(--grad-success);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,158,92,.30);
}
.btn--success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,158,92,.42);
}

.btn--info {
  background: var(--secondary);
  color: #0d1b35;
  box-shadow: 0 4px 16px rgba(200,169,77,.30);
}
.btn--info:hover {
  background: var(--accent-dark);
  color: #0d1b35;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,77,.42);
}

.btn--edit {
  background: #445773;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(90,106,133,.30);
}
.btn--edit:hover {
  background: #2f3f57;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(90,106,133,.42);
}

.btn--danger {
  background: var(--danger);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(220,53,69,.30);
}
.btn--danger:hover {
  background: #b02a37;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,53,69,.42);
}

.btn-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn--disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:hover { transform: none; box-shadow: none; }

#user-badge > button {
  margin-top: 0px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: #0d1b35;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .2px;
}
.topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: linear-gradient(135deg, #0d1b35 0%, #0d1b35 60%, #1a3a6b 100%);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(10,5,40,.35);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo .logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.header__logo:hover .logo-img { transform: scale(1.04); }

.header__nav { display: flex; gap: 32px; align-items: center; }
.header__nav a {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: var(--transition);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.header__nav a:hover,
.header__nav a.active {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.85);
}

/* ============================================================
   HERO — DARK MESH GRADIENT
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 108px 0 112px;
  overflow: hidden;
}

/* Animated mesh orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,77,.22) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: orb-drift 12s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,77,.18) 0%, transparent 70%);
  bottom: -180px;
  left: -100px;
  animation: orb-drift 16s ease-in-out infinite reverse;
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero__simple {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp .8s ease both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,77,.18);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(200,169,77,.30);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

/* Shimmer effect on badge */
.hero__badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
  border-radius: 50px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 24px;
  letter-spacing: -.5px;
}

/* Gradient text on key phrase */
.hero__title span {
  background: linear-gradient(90deg, #e0c36a, #c8a94d, #c8a94d);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__actions .btn { margin-top: 0; }
.hero__actions .btn--primary { padding: 16px 32px; font-size: 15px; }

.hero__highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
}
.hero__highlights span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: var(--transition);
}
.hero__highlights span:hover { color: var(--white); }
.hero__highlights i { color: #c8a94d; }

/* ============================================================
   PRODUTOS
   ============================================================ */
.produtos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.produto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(200,169,77,.12);
  overflow: hidden;
  animation: fadeUp .6s ease both;
}
.produto-card:nth-child(2) { animation-delay: .15s; }

.produto-card--destaque { border-color: rgba(13,27,53,.14); }

/* Top accent bar with animated gradient */
.produto-card--destaque::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.produto-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

.produto-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(13,27,53,.25);
}

/* Force children above ::after */
.produto-card > * { position: relative; z-index: 1; }

.produto-card--soon { opacity: .75; }
.produto-card--soon:hover { transform: none; box-shadow: var(--shadow-md); }

.produto-card__badge {
  position: absolute;
  top: 22px; right: 22px;
  background: rgba(26,158,92,.12);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: .5px;
  border: 1px solid rgba(26,158,92,.20);
  z-index: 1;
}
.produto-card__badge--soon { background: var(--gray-200); color: var(--gray-600); border-color: transparent; }

.produto-card__icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, #e0c36a 0%, #c8a94d 55%, #a08530 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  font-size: 30px;
  color: #0d1b35;
  border: 1px solid rgba(200,169,77,.4);
  box-shadow: 0 6px 18px rgba(200,169,77,.35);
  transition: var(--transition);
}
.produto-card:hover .produto-card__icon {
  background: linear-gradient(135deg, #e0c36a 0%, #c8a94d 50%, #a08530 100%);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 10px 28px rgba(200,169,77,.5);
}
.produto-card__icon--muted { background: var(--gray-100); color: var(--gray-400); border-color: transparent; box-shadow: none; }

.produto-card__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.produto-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 26px;
  line-height: 1.75;
}

.produto-card__features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.produto-card__features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition-fast);
}
.produto-card__features li:hover { transform: translateX(4px); }
.produto-card__features li .fa-check {
  color: var(--success);
  font-size: 12px;
  flex-shrink: 0;
  background: rgba(26,158,92,.10);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.produto-card__features--muted li { color: var(--text-muted); }
.produto-card__features--muted li .fa-clock { color: var(--gray-400); }

.produto-card__actions { display: grid; gap: 12px; margin-top: auto; }

/* ============================================================
   MOTIVOS
   ============================================================ */
.motivos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.motivo-card {
  background: var(--white);
  border: 1px solid rgba(200,169,77,.12);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.motivo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13,27,53,.18);
}
.motivo-card i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}
.motivo-card h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.motivo-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.etapas-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.etapa-item {
  text-align: center;
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid rgba(200,169,77,.12);
  border-radius: var(--radius);
  flex: 1;
  min-width: 140px;
  max-width: 185px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.etapa-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 2px rgba(13,27,53,.08);
  border-color: rgba(13,27,53,.2);
}
.etapa-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--grad-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(13,27,53,.35);
}
.etapa-icon {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 14px;
  display: block;
  transition: var(--transition);
}
.etapa-item:hover .etapa-icon { transform: scale(1.18); color: var(--primary); }
.etapa-item h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.etapa-item p  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.etapa-seta { color: var(--secondary); font-size: 18px; opacity: .4; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #060c17 0%, #16305c 100%);
  color: rgba(255,255,255,.65);
  padding-top: 64px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__logo img { height: 48px; margin-bottom: 18px; opacity: .85; }
.footer__logo p { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,.45); }

.footer__links h4, .footer__contato h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__links a:hover { color: var(--accent-light); padding-left: 6px; }

.footer__contato p {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.65;
}
.footer__contato i { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.footer__bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255,255,255,.25);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d1b35 0%, #0d1b35 50%, #1a3a6b 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 90% 50%, rgba(200,169,77,.15) 0%, transparent 60%),
    radial-gradient(ellipse 300px 200px at 5% 50%, rgba(200,169,77,.12) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
}
.page-hero__icon {
  width: 68px; height: 68px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}
.page-hero__text { flex: 1; }
.page-hero__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-hero__title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.page-hero__subtitle { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ============================================================
   STEPPER BAR
   ============================================================ */
.stepper-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  position: sticky;
  top: 77px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(13,27,53,.06);
}
.stepper-bar__inner {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.stepper-bar__inner::-webkit-scrollbar { display: none; }

.step-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 16px;
  flex: 1;
  min-width: 100px;
  cursor: default;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  text-align: center;
  gap: 5px;
}
.step-tab.active {
  border-bottom-color: var(--primary);
  background: rgba(13,27,53,.04);
}
.step-tab.completed { border-bottom-color: var(--success); }

.step-tab__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-600);
  transition: var(--transition);
}
.step-tab.active .step-tab__num { background: var(--grad-primary); color: var(--white); box-shadow: 0 4px 12px rgba(13,27,53,.4); }
.step-tab.completed .step-tab__num { background: var(--grad-success); color: var(--white); }

.step-tab__label { font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: .3px; line-height: 1.3; }
.step-tab.active .step-tab__label { color: var(--primary); font-weight: 700; }
.step-tab.completed .step-tab__label { color: var(--success); }

/* ============================================================
   FORM AREA
   ============================================================ */
.form-area { padding: 52px 0 72px; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(13,27,53,.06);
}
.form-card__header {
  background: linear-gradient(135deg, #0d1b35 0%, #0d1b35 50%, #16305c 100%);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.form-card__header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.form-card__header-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.form-card__header h2 { font-size: 21px; font-weight: 700; color: var(--white); position: relative; z-index: 1; }
.form-card__header p  { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 4px; position: relative; z-index: 1; }
.form-card__body { padding: 40px; }

/* ============================================================
   FORM FIELDS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid--full .form-group { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-top: 10px;
}
.form-group label .required { color: var(--danger); margin-left: 3px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: var(--gray-300); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,27,53,.10);
  background: #fafbff;
}
.form-group input.error, .form-group select.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(220,53,69,.08);
}
.form-group .error-msg { font-size: 11px; color: var(--danger); font-weight: 600; display: none; }
.form-group .error-msg.show { display: block; }

.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Campos gerados dinamicamente (questionário/documentos dinâmicos) fora de .form-group */
.form-control {
  padding: 13px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-control:hover { border-color: var(--gray-300); }
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,27,53,.10);
  background: #fafbff;
}
textarea.form-control { resize: vertical; min-height: 90px; }

/* Radio/Checkbox */
.radio-group, .checkbox-group { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.radio-option, .checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex: 1 1 140px;
  min-width: 0;
}
.radio-option:hover, .checkbox-option:hover { border-color: var(--accent); background: rgba(200,169,77,.05); }
.radio-option input, .checkbox-option input { display: none; }
.radio-option.selected, .checkbox-option.selected {
  border-color: var(--primary);
  background: rgba(13,27,53,.06);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,27,53,.08);
}
.radio-option .radio-dot {
  width: 18px; height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.radio-option.selected .radio-dot { border-color: var(--primary); }
.radio-option.selected .radio-dot::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* Slider */
.slider-wrapper { display: flex; flex-direction: column; gap: 8px; }
.slider-value-display { font-size: 26px; font-weight: 800; color: var(--primary); }
.slider-value-display span { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
.form-range {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
}
.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  background: var(--grad-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13,27,53,.40);
  border: 3px solid var(--white);
}
.form-range::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--grad-primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--white);
}
.slider-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* Simulacao Box */
.simulacao-box {
  background: linear-gradient(135deg, #0d1b35 0%, #0d1b35 50%, #16305c 100%);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--white);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.simulacao-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.simulacao-box h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.simulacao-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.simulacao-item { text-align: center; }
.simulacao-item__label { font-size: 10px; color: rgba(255,255,255,.5); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.simulacao-item__value { font-size: 22px; font-weight: 800; color: var(--white); }
.simulacao-item__value.highlight { color: #c8a94d; font-size: 28px; }
.simulacao-disclaimer { font-size: 11px; color: rgba(255,255,255,.35); text-align: center; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; position: relative; }

/* Documentos */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doc-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: var(--gray-50);
}
.doc-upload:hover { border-color: var(--primary); background: rgba(13,27,53,.04); }
.doc-upload.uploaded { border-color: var(--success); border-style: solid; background: rgba(26,158,92,.04); }
.doc-upload.error   { border-color: var(--danger)  !important; border-style: solid; background: rgba(220,53,69,.04); }
.doc-upload.error .doc-upload__icon { color: var(--danger); }
.doc-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.doc-upload__icon { font-size: 30px; color: var(--text-muted); margin-bottom: 12px; transition: var(--transition); }
.doc-upload:hover .doc-upload__icon { color: var(--primary); transform: scale(1.1); }
.doc-upload.uploaded .doc-upload__icon { color: var(--success); }
.doc-upload__title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.doc-upload__desc { font-size: 11px; color: var(--text-muted); }
.doc-upload__filename { font-size: 12px; color: var(--success); font-weight: 600; margin-top: 8px; word-break: break-all; }
.doc-required { color: var(--danger); font-size: 10px; font-weight: 700; }

/* Info Box */
.info-box {
  background: rgba(200,169,77,.07);
  border: 1px solid rgba(200,169,77,.15);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-box i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 13px; color: var(--text); line-height: 1.65; }
.info-box p strong { color: var(--primary); }
.info-box--success { background: rgba(26,158,92,.07); border-color: rgba(26,158,92,.20); border-left-color: var(--success); }
.info-box--success i { color: var(--success); }

/* Resumo */
.resumo-section { margin-bottom: 28px; }
.resumo-section h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200); display: flex; align-items: center; gap: 8px;
}
.resumo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.resumo-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: var(--transition-fast);
}
.resumo-item:hover { background: var(--white); box-shadow: var(--shadow-xs); }
.resumo-item__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 4px; }
.resumo-item__value { font-size: 14px; font-weight: 600; color: var(--text); }

/* Termos */
.termo-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border: 1.5px solid var(--gray-200);
  margin-top: 10px;
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.termo-item + .termo-item { margin-top: 12px; }
.termo-item:hover { border-color: var(--primary); background: rgba(13,27,53,.03); }
.termo-item.checked { border-color: var(--success); background: rgba(26,158,92,.04); }
.termo-item input[type="checkbox"] { display: none; }
.termo-checkbox {
  width: 22px; height: 22px; border: 2px solid var(--gray-300);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition); margin-top: 1px;
}
.termo-item.checked .termo-checkbox { background: var(--success); border-color: var(--success); color: var(--white); }
.termo-item p { font-size: 13px; color: var(--text); line-height: 1.65; }
.termo-item p strong { color: var(--primary); }

/* Form Nav */
.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 40px; background: var(--gray-50);
  border-top: 1px solid var(--gray-200); gap: 16px;
}
.form-nav__left { display: flex; align-items: center; gap: 16px; }
.form-nav__right { display: flex; align-items: center; gap: 12px; }
.progress-text { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* Confirmação */
.confirmacao-card { text-align: center; padding: 72px 40px; }
.confirmacao-icon {
  width: 104px; height: 104px;
  background: var(--grad-success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  font-size: 44px; color: var(--white);
  box-shadow: 0 16px 48px rgba(26,158,92,.35), 0 0 0 16px rgba(26,158,92,.08);
  animation: scaleIn .6s cubic-bezier(.34,1.56,.64,1) both;
}
.confirmacao-card h2 { font-size: 30px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.confirmacao-card p { font-size: 15px; color: var(--text-muted); max-width: 480px; margin: 0 auto 12px; line-height: 1.75; }
.protocolo-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(13,27,53,.06) 0%, rgba(200,169,77,.06) 100%);
  border: 2px dashed rgba(13,27,53,.20);
  border-radius: var(--radius);
  padding: 14px 32px;
  margin: 24px 0 36px;
  font-size: 20px; font-weight: 800;
  color: var(--primary); letter-spacing: 3px;
}
.confirmacao-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sidebar Info */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.sidebar-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  position: sticky; top: 160px;
  border: 1px solid rgba(13,27,53,.06);
}
.sidebar-card__header {
  background: linear-gradient(135deg, #0d1b35 0%, #0d1b35 100%);
  padding: 22px 26px;
}
.sidebar-card__header h3 { font-size: 15px; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 9px; }
.sidebar-card__header h3 i { color: rgba(255,255,255,.6); }
.sidebar-card__body { padding: 22px 26px; }

.cond-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--gray-100);
}
.cond-item:last-child { border-bottom: none; }
.cond-item i { color: var(--secondary); flex-shrink: 0; margin-top: 3px; font-size: 13px; }
.cond-item div { font-size: 12px; }
.cond-item__label { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.cond-item__value { color: var(--text); font-weight: 700; font-size: 13px; margin-top: 2px; }

.sidebar-help { background: rgba(200,169,77,.06); border-top: 1px solid rgba(200,169,77,.12); padding: 18px 26px; }
.sidebar-help p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.sidebar-help a {
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: var(--white);
  padding: 11px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; transition: var(--transition);
}
.sidebar-help a:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,211,102,.35); }

/* Doc Checklist */
.document-checklist { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
.doc-check-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.doc-check-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.doc-check-card h3 i { color: var(--secondary); }
.doc-check-card ul { list-style: disc; padding-left: 20px; color: var(--text); }
.doc-check-card li { margin-bottom: 10px; line-height: 1.65; }
.doc-check-card--base { border-left: 4px solid var(--secondary); }
.doc-check-card--renda { border-left: 4px solid var(--primary); }
.doc-renda-note { margin-top: 12px; font-size: 12px; color: var(--text-muted); }

/* Step Panels */
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeIn .35s ease both; }

/* Proponente 2 */
.proponente2-add-bar { margin-top: 20px; padding-top: 20px; border-top: 2px dashed var(--gray-200); }
.proponente2-section {
  margin-top: 24px;
  border: 1.5px solid var(--accent-light);
  border-radius: var(--radius-lg);
  background: rgba(200,169,77,.04);
  overflow: hidden;
}
.proponente2-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(200,169,77,.08);
  border-bottom: 1px solid rgba(200,169,77,.18);
}
.proponente2-header h3 { font-size: 15px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.proponente2-header h3 i { color: var(--secondary); }

/* Doc Checklist Dynamic */
.doc-checklist { display: flex; flex-direction: column; gap: 14px; }
.doc-checklist__category {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.doc-checklist__category h4 {
  font-size: 13px; font-weight: 700; color: var(--primary);
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 8px;
  text-transform: none; letter-spacing: 0;
}
.doc-checklist__category h4 i { color: var(--secondary); font-size: 14px; }
.doc-checklist__category ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.doc-checklist__category ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text); line-height: 1.5; }
.doc-checklist__category ul li i { color: var(--secondary); flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.doc-checklist-title {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   LOGIN — GLASSMORPHISM
   ============================================================ */
.login-body {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  overflow: hidden;
}

/* Animated orbs */
.login-body::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,77,.30) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: orb-drift 14s ease-in-out infinite;
}
.login-body::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,77,.25) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation: orb-drift 10s ease-in-out infinite reverse;
}

/* Extra orb via wrapper */
.login-body .login-orb {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,216,175,.15) 0%, transparent 70%);
  top: 50%; right: 10%;
  transform: translateY(-50%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

/* Grid overlay */
.login-body .login-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.login-wrapper {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) both;
}

/* Glassmorphism card */
.login-card {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-radius: var(--radius-xl);
  padding: 52px 44px 44px;
  box-shadow: 0 32px 80px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.2) inset;
  border: 1px solid rgba(255,255,255,.3);
}
.login-card__logo { text-align: center; margin-bottom: 32px; }
.login-card__logo img {
  height: 97px;
  margin: 0 auto;
}
.login-card__title { font-size: 26px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 6px; }
.login-card__sub { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 36px; }
.login-card__footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}
.login-card__footer a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.login-card__footer a:hover { color: var(--primary); gap: 10px; }

/* Input with icon */
.input-icon-wrap {
  display: flex;
  padding: 2px 12px;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
  background: var(--white);
}
.input-icon-wrap input {
  flex: 1;
  min-width: 0;
  border: none !important;
  box-shadow: none !important;
  line-height: 1.4;
  background: transparent;
}
.input-icon-wrap input:-webkit-autofill,
.input-icon-wrap input:-webkit-autofill:hover,
.input-icon-wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
  box-shadow: 0 0 0 1000px var(--white) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  transition: background-color 99999s ease-in-out 0s;
}
.input-icon-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,27,53,.10);
  background: #fafbff;
}
.input-icon-wrap:has(input.error) {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(220,53,69,.08);
}
.input-icon {
  padding: 0 10px 0 6px;
  flex-shrink: 0;
  color: var(--gray-400);
  font-size: 14px;
  pointer-events: none;
  transition: var(--transition);
}
.input-icon-wrap:focus-within .input-icon { color: var(--primary); }
.input-toggle-pass {
  padding: 0 8px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 14px;
  transition: var(--transition);
}
.input-toggle-pass:hover { color: var(--primary); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert--danger  { background: rgba(220,53,69,.08);  color: #c62b3a; border: 1px solid rgba(220,53,69,.18); }
.alert--success { background: rgba(26,158,92,.08);  color: #156b41; border: 1px solid rgba(26,158,92,.18); }
.alert--info    { background: rgba(13,27,53,.07);  color: var(--primary); border: 1px solid rgba(13,27,53,.15); }
.alert--warning { background: rgba(255,193,7,.10);  color: #7a5900; border: 1px solid rgba(255,193,7,.25); }

/* ============================================================
   BADGES / STATUS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
}
.badge--warning  { background: rgba(255,193,7,.14); color: #7a5900; }
.badge--info     { background: rgba(13,27,53,.10); color: var(--primary); }
.badge--success  { background: rgba(26,158,92,.12); color: #15784a; }
.badge--danger   { background: rgba(220,53,69,.10); color: #c62b3a; }
.badge--muted    { background: var(--gray-200);      color: var(--gray-600); }
.badge--admin    { background: rgba(13,27,53,.12); color: var(--primary); }
.badge--gestor   { background: rgba(200,169,77,.15); color: var(--accent-dark); }
.badge--usuario  { background: var(--gray-200);      color: var(--gray-800); }

/* ============================================================
   PANEL LAYOUT (Admin / Gestor)
   ============================================================ */
.panel-body {
  display: flex;
  min-height: 100vh;
  background: #f0f2f8;
}

/* Sidebar */
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0d1b35 0%, #0d1b35 60%, #1a3a6b 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 70;
  transition: transform .3s ease;
  box-shadow: 4px 0 24px rgba(10,5,40,.20);
}

#sidebaruser{
  background:rgba(255, 255, 255, 0);
  box-shadow: 4px 0 24px rgba(255, 255, 255, 0);
}

.sidebar__brand {
  padding: 28px 22px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.sidebar__brand img { height: 46px; width: auto; display: block; margin: 0 auto; }
.sidebar__user-name {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-align: center;
}
.sidebar__user-name i { color: #e0c36a; font-size: 13px; }
.sidebar__nav { flex: 1; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  color: rgba(255,255,255,.6);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
  letter-spacing: .2px;
}
.sidebar__item i { font-size: 15px; transition: var(--transition); }
.sidebar__item:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
  transform: translateX(4px);
}
.sidebar__item.active {
  background: rgba(255,255,255,.16);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.20), inset 0 0 0 1px rgba(255,255,255,.12);
}
.sidebar__item.active i { color: #e0c36a; }

.sidebar__footer { padding: 16px 14px; border-top: 1px solid rgba(255,255,255,.08); }

/* Main panel area */
.panel-main { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.panel-header {
  background: var(--white);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(13,27,53,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.panel-header__title { font-size: 20px; font-weight: 700; color: var(--primary); font-family: 'Playfair Display', serif; }
.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--primary);
  padding: 6px;
  border-radius: 8px;
  display: none;
  transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--gray-100); }

.tab-content { padding: 28px 32px; flex: 1; }

/* ============================================================
   STATS CARDS (Panel)
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,27,53,.06);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  animation: fadeUp .4s ease both;
  cursor: default;
}
.stat-card:nth-child(2) { animation-delay: .06s; }
.stat-card:nth-child(3) { animation-delay: .12s; }
.stat-card:nth-child(4) { animation-delay: .18s; }
.stat-card:nth-child(5) { animation-delay: .24s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stat-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-card__icon--total    { background: rgba(13,27,53,.10); color: var(--primary); }
.stat-card__icon--pendente { background: rgba(255,193,7,.14); color: #d09800; }
.stat-card__icon--analise  { background: rgba(200,169,77,.14); color: var(--secondary); }
.stat-card__icon--aprovada { background: rgba(26,158,92,.12); color: var(--success); }
.stat-card__icon--reprovada{ background: rgba(220,53,69,.10); color: var(--danger); }

.stat-card__info { flex: 1; min-width: 0; }
.stat-card__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}
.stat-card__label { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 4px; }

/* ============================================================
   FILTERS BAR
   ============================================================ */
.filters-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 20px;
}
.filters-bar select,
.filters-bar input[type="search"] {
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.filters-bar select:hover,
.filters-bar input:hover { border-color: var(--gray-300); }
.filters-bar select:focus,
.filters-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,27,53,.08); }
.filters-bar input[type="search"] { flex: 1; min-width: 180px; }
.btn--sm { padding: 9px 18px; font-size: 12px; border-radius: 10px; }

/* ============================================================
   TABLE CARD
   ============================================================ */
.table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(13,27,53,.06);
}
.table-card__header {
  padding: 20px 26px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.table-card__header h2 { font-size: 16px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  background: #f8f8fd;
  padding: 13px 18px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(229,231,235,.6);
  color: var(--text);
  vertical-align: middle;
  transition: background .15s;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(13,27,53,.025); }
.data-table code {
  background: rgba(13,27,53,.06);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: var(--primary);
  font-weight: 600;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,40,.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px rgba(0,0,0,.36), 0 0 0 1px rgba(255,255,255,.1) inset;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: scaleIn .25s cubic-bezier(.34,1.56,.64,1) both;
}
.modal-box--lg { max-width: 820px; }
.modal-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: linear-gradient(135deg, #fafbff 0%, var(--white) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-box__header h3 { font-size: 17px; font-weight: 700; color: var(--primary); }
.modal-close {
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-600);
  padding: 8px 10px;
  border-radius: 10px;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); color: var(--text); transform: rotate(90deg); }
.modal-box__body { padding: 28px; overflow-y: auto; flex: 1; }
.modal-box__footer {
  padding: 18px 28px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ============================================================
   DASHBOARD / PANELS — Shared
   ============================================================ */
.dash-actions { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }

.empty-state { text-align: center; padding: 72px 24px; color: var(--text-muted); }
.empty-state i { font-size: 44px; opacity: .2; display: block; margin-bottom: 18px; }
.empty-state p { font-size: 14px; margin-bottom: 22px; }

/* Shimmer loading placeholder */
.loading-placeholder {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.loading-placeholder i { color: var(--primary); }

/* User badge */
.user-badge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-badge--sidebar { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.user-badge__name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.user-badge__role { font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 50px; }

/* Checkbox "Sem número" compacto */
#semNumeroLabel {
  flex: 0 0 auto;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  min-width: 0;
}
#semNumeroLabel .radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

/* Page hero small */
.page-hero--sm { padding: 36px 0; }

/* Detalhe status banner */
.detalhe-status-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius);
  margin-bottom: 22px; font-size: 13px; font-weight: 600;
}
.detalhe-status--pendente   { background: rgba(255,193,7,.10); color: #7a5900; border: 1px solid rgba(255,193,7,.20); }
.detalhe-status--em_analise { background: rgba(13,27,53,.08); color: var(--primary); border: 1px solid rgba(13,27,53,.14); }
.detalhe-status--aprovada   { background: rgba(26,158,92,.09); color: #15784a; border: 1px solid rgba(26,158,92,.18); }
.detalhe-status--reprovada  { background: rgba(220,53,69,.09); color: #c62b3a; border: 1px solid rgba(220,53,69,.18); }
.detalhe-status--cancelada  { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }

/* Docs section */
.docs-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.docs-section h4 { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.docs-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* Status update form */
.status-update-form { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.status-update-form h4 { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* Checkbox label */
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }

/* Text muted utility */
.text-muted { color: var(--text-muted); font-size: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero { padding: 80px 0 88px; }
  .hero__title { font-size: clamp(32px, 9vw, 50px); }
  .hero__subtitle { font-size: 16px; }
  .motivos__grid { grid-template-columns: 1fr; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .form-grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .topbar__inner { flex-direction: column; justify-content: center; padding: 10px 0; gap: 6px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid--3 { grid-template-columns: 1fr; }
  .simulacao-grid { grid-template-columns: 1fr; gap: 12px; }
  .docs-grid { grid-template-columns: 1fr; }
  .resumo-grid { grid-template-columns: 1fr; }
  .etapas-grid { gap: 4px; }
  .etapa-seta { display: none; }
  .etapa-item { min-width: 80px; padding: 18px 10px; }
  .form-card__body { padding: 24px 20px; }
  .form-nav { padding: 18px 20px; flex-wrap: wrap; }
  .header__nav { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__highlights { flex-direction: column; gap: 12px; }
  .step-tab__label { display: none; }
  .page-hero { padding: 32px 0; }
  .confirmacao-card { padding: 48px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 18px; }
  .stat-card__num { font-size: 24px; }
  .proponente2-add-bar .btn { white-space: normal; text-align: center; line-height: 1.3; }
}

/* ============================================================
   PANEL — RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sidebar {
    position: fixed; left: 0; top: 0;
    transform: translateX(-100%);
    box-shadow: 8px 0 40px rgba(0,0,0,.35);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: block; }
  .panel-main { width: 100%; }
  .tab-content { padding: 20px 16px; }
  .filters-bar { padding: 12px 0; }
  .modal-box { max-height: 95vh; }
  .panel-header { padding: 14px 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 769px) {
  .panel-main { width: calc(100% - 248px); }
}

/* ============================================================
   EXTRA DOCS UPLOAD — Modal do usuário (dashboard)
   ============================================================ */
.extra-upload-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.extra-upload-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.extra-upload-header svg, .extra-upload-header i { font-size: 22px; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.extra-upload-header h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin: 0 0 3px; }
.extra-upload-header p  { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.extra-drop-zone {
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.extra-drop-zone:hover { border-color: var(--primary); background: rgba(13,27,53,.04); color: var(--primary); }
.extra-drop-zone.has-files { border-color: var(--success); background: rgba(26,158,92,.04); color: var(--success); }
.extra-drop-zone svg, .extra-drop-zone i { font-size: 20px; flex-shrink: 0; }
.extra-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--gray-50);
  border-radius: 8px;
  margin-top: 8px;
  font-size: 12px;
}
.extra-file-item svg, .extra-file-item i { color: var(--accent); flex-shrink: 0; }
.extra-file-item__name { flex: 1; font-weight: 600; word-break: break-all; color: var(--text); }
.extra-file-item__size { color: var(--text-muted); flex-shrink: 0; white-space: nowrap; }
.extra-file-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--danger);
  font-size: 16px;
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
  border-radius: 4px;
  transition: background .15s;
}
.extra-file-item__remove:hover { background: rgba(220,53,69,.1); }
.toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  font-size: 14px;
  font-weight: 500;
  max-width: 420px;
  min-width: 280px;
  background: #fff;
  color: var(--text);
  border-left: 4px solid var(--primary);
  animation: toast-slide-in .3s cubic-bezier(.34,1.56,.64,1);
}
.toast-notification--danger  { border-left-color: var(--danger); }
.toast-notification--success { border-left-color: var(--success); }
.toast-notification--warning { border-left-color: var(--warning); }
.toast-notification--info    { border-left-color: var(--primary); }
.toast-notification__icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.toast-notification--danger  .toast-notification__icon { color: var(--danger); }
.toast-notification--success .toast-notification__icon { color: var(--success); }
.toast-notification--warning .toast-notification__icon { color: #7a5900; }
.toast-notification--info    .toast-notification__icon { color: var(--primary); }
.toast-notification__body { flex: 1; }
.toast-notification__title { font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.toast-notification--danger  .toast-notification__title { color: #c62b3a; }
.toast-notification--success .toast-notification__title { color: #156b41; }
.toast-notification--warning .toast-notification__title { color: #7a5900; }
.toast-notification--info    .toast-notification__title { color: var(--primary); }
.toast-notification__msg { font-size: 13px; line-height: 1.5; color: var(--gray-700); }
.toast-notification__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--gray-400);
  padding: 0 0 0 8px;
  flex-shrink: 0;
  line-height: 1;
  transition: color .15s;
}
.toast-notification__close:hover { color: var(--text); }
@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(40px) scale(.96); }
  to   { opacity: 1; transform: translateX(0)    scale(1); }
}
@media (max-width: 480px) {
  .toast-notification {
    top: 12px; right: 12px; left: 12px;
    max-width: none; min-width: 0;
  }
  #comoFunciona {
    display: none;
  }

  .form-card{
    max-width: 100vh; 
    margin: 0 auto;
  }
}

/* ============================================================
   FUNDOS PRONTOS — Antecipação de Recebíveis
   ============================================================ */
.fundos-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(200,169,77,.08);
  border: 1px solid rgba(200,169,77,.28);
  margin-bottom: 24px;
  transition: background .25s, border-color .25s;
}
.fundos-banner.fundos-banner--ready {
  background: rgba(26,158,92,.08);
  border-color: rgba(26,158,92,.28);
}
.fundos-banner__icon {
  font-size: 22px;
  color: var(--gold-dark, var(--primary));
  flex-shrink: 0;
}
.fundos-banner.fundos-banner--ready .fundos-banner__icon { color: var(--success); }
.fundos-banner__text strong { display: block; font-size: 14px; color: var(--text); }
.fundos-banner__text span { font-size: 12.5px; color: var(--text-muted); }

.doc-upload-item {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
  transition: border-color .2s, background .2s;
}
.doc-upload-item.uploaded { border-color: var(--success); background: rgba(26,158,92,.04); }
.doc-upload-item__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.doc-upload-item__label i { color: var(--secondary); flex-shrink: 0; }
.doc-upload-item.uploaded .doc-upload-item__label i { color: var(--success); }

.question-block { margin-bottom: 22px; }
.question-block__label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; display: block; }
.question-block__sub { margin-top: 10px; padding-left: 4px; }
.question-block__group { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.question-block.error { padding: 10px 14px; margin-left: -14px; margin-right: -14px; border-radius: 10px; background: rgba(220,53,69,.05); box-shadow: inset 3px 0 0 var(--danger); }
.question-block.error .question-block__label { color: var(--danger); }

.btn:disabled,
.btn.btn--disabled-soft {
  opacity: .38;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}
