:root {

  --bg: #ffffff;

  --soft: #f7f9ff;

  --text: #10172b;

  --muted: #546078;

  --line: #e6eaf2;

  --primary: #2d63ed;

  --primary-dark: #214bd1;

  --purple: #6937ec;

  --purple-soft: #8f6cf4;

  --green: #19b86a;

  --shadow: 0 18px 45px rgba(37, 56, 105, 0.11);

  --radius: 24px;

}



* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

  margin: 0;

  font-family: "Inter", system-ui, sans-serif;

  color: var(--text);

  background: var(--bg);

  line-height: 1.6;

}

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

button, input, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.section { padding: 96px 0; }

.section-soft { background: var(--soft); }



.header {

  position: sticky;

  top: 0;

  z-index: 50;

  background: rgba(255,255,255,.88);

  border-bottom: 1px solid rgba(230,234,242,.85);

  backdrop-filter: blur(18px);

}

.nav {

  min-height: 84px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(
    135deg,
    var(--purple),
    var(--primary)
  );
  box-shadow:
    0 8px 20px rgba(79, 70, 229, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.brand:hover .brand-symbol {
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px rgba(79, 70, 229, 0.28);
}

.brand-letter {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.nav-links { display: flex; align-items: center; gap: 42px; font-weight: 600; color: #465269; }

.nav-links a:hover, .nav-contact:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 28px; font-weight: 600; }

.menu-button { display: none; border: 0; background: transparent; font-size: 28px; }



.button {

  min-height: 52px; padding: 0 24px; border-radius: 14px;

  display: inline-flex; align-items: center; justify-content: center; gap: 8px;

  font-weight: 700; border: 1px solid transparent; cursor: pointer;

  transition: .2s ease;

}

.button:hover { transform: translateY(-2px); }

.button-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 25px rgba(45,99,237,.25); }

.button-primary:hover { background: var(--primary-dark); }

.button-secondary { background: #fff; border-color: #d9dfeb; }

.button-small { min-height: 48px; padding: 0 22px; }

.button-light { background: #fff; color: var(--primary-dark); width: 100%; }


.hero {
  position: relative;
overflow: visible;  min-height: auto;
  padding: 88px 0 96px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(
      circle at 72% 42%,
      rgba(83, 78, 244, 0.12),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8faff 60%,
      #ffffff 100%
    );
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }

.eyebrow, .section-label {

  display: inline-flex; align-items: center; gap: 10px;

  padding: 8px 16px; border-radius: 999px; font-weight: 600;

  color: #283750; background: #f3f5ff; border: 1px solid #dce3ff;

}

.sparkle { color: var(--purple); font-size: 22px; }

.hero h1 {

  margin: 34px 0 22px;

  font-size: clamp(52px, 6.3vw, 88px);

  line-height: .99;

  letter-spacing: -.055em;

}

.gradient-text {

  display: block;

  background: linear-gradient(90deg, var(--primary), #5066f3, var(--purple));

  -webkit-background-clip: text;

  color: transparent;

}

.hero-description { max-width: 690px; font-size: 21px; color: var(--muted); }

.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.proof { display: flex; align-items: center; gap: 16px; margin-top: 38px; }

.proof-avatars { display: flex; }

.proof-avatars span {

  width: 42px; height: 42px; display: grid; place-items: center;

  margin-left: -8px; border: 3px solid #fff; border-radius: 50%;

  background: #eef1ff; color: var(--purple); font-size: 11px; font-weight: 800;

}

.proof-avatars span:first-child { margin-left: 0; }

.proof p { margin: 0; color: var(--muted); font-size: 14px; }



.automation-visual {
  position: relative;
  min-height: 520px;
}

.visual-glow {

  position: absolute; width: 470px; height: 470px; left: 50%; top: 50%;

  transform: translate(-50%,-50%); border-radius: 50%;

  background: radial-gradient(circle, rgba(81,65,244,.22), rgba(118,90,242,.05) 45%, transparent 70%);

}

.central-chip {

  position: absolute; z-index: 4; left: 50%; top: 53%; transform: translate(-50%,-50%);

  width: 150px; height: 150px; border-radius: 28px; display: grid; place-items: center;

  color: white; font-size: 70px; background: linear-gradient(135deg, #3266f0, #7235e8);

  box-shadow: 0 25px 60px rgba(75,63,230,.32);

}

.orbit { position: absolute; left: 50%; top: 53%; transform: translate(-50%,-50%); border: 2px dashed #cbd2ff; border-radius: 50%; }

.orbit-1 { width: 290px; height: 290px; }

.orbit-2 { width: 480px; height: 480px; opacity: .45; }

.app-card, .mini-card {

  position: absolute; z-index: 5; display: grid; place-items: center;

  color: white; font-size: 40px; font-weight: 700; box-shadow: var(--shadow);

}

.app-card { width: 96px; height: 96px; border-radius: 20px; }

.app-doc { left: 15%; top: 20%; background: linear-gradient(135deg,#8b61f5,#a852e4); }

.app-whatsapp { right: 9%; top: 20%; background: linear-gradient(135deg,#20c75c,#58a70b); }

.app-web { left: 4%; top: 56%; background: linear-gradient(135deg,#ff8b32,#e88900); }

.app-db { right: 0; top: 57%; background: linear-gradient(135deg,#2dc8a1,#098e8f); }

.app-mail { left: 17%; bottom: 2%; background: linear-gradient(135deg,#4f72f4,#27a5d0); }

.app-sheet { right: 12%; bottom: 1%; background: linear-gradient(135deg,#37c77c,#0b9e65); }

.mini-card { width: 70px; height: 70px; border-radius: 18px; background: #fff; font-size: 32px; }

.mini-spark { left: 1%; top: 0; color: #8e5af5; }

.mini-layers { right: 0; top: 10%; color: #10b995; }



.section-heading { max-width: 700px; margin-bottom: 50px; }

.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-heading h2 { margin: 18px 0 12px; font-size: clamp(36px, 4vw, 55px); line-height: 1.08; letter-spacing: -.035em; }

.section-heading p { font-size: 18px; color: var(--muted); }

.section-label { color: var(--primary-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }

.section-label.light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); color: #fff; }



.task-grid, .services-grid { display: grid; gap: 22px; }

.task-grid { grid-template-columns: repeat(3,1fr); }

.task-card, .service-card {

  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);

  padding: 28px; box-shadow: 0 12px 35px rgba(23,39,86,.06);

}

.task-card span, .service-icon { font-size: 33px; color: var(--purple); }

.task-card h3, .service-card h3 { margin: 16px 0 8px; font-size: 20px; }

.task-card p, .service-card p { color: var(--muted); margin: 0; }

.services-grid { grid-template-columns: repeat(3,1fr); }

.service-card { min-height: 280px; display: flex; flex-direction: column; transition: .2s ease; }

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service-card a { margin-top: auto; padding-top: 24px; color: var(--primary); font-weight: 700; }

.service-card.featured { background: linear-gradient(140deg,#2e62ec,#7138ec); color: #fff; border: 0; }

.service-card.featured p, .service-card.featured a, .service-card.featured .service-icon { color: #fff; }



.timeline { max-width: 850px; margin: 0 auto; position: relative; }

.timeline::before { content:""; position:absolute; left:50%; top:20px; bottom:20px; width:2px; background:#d9dffd; transform:translateX(-50%); }

.timeline-item { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; gap: 28px; margin: 24px 0; position: relative; }

.timeline-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px; box-shadow:var(--shadow); display:flex; gap:15px; }

.timeline-card span { color:var(--primary); font-size:24px; font-weight:800; }

.timeline-card h3 { margin:0 0 5px; }

.timeline-card p { margin:0; color:var(--muted); }

.timeline-icon { width:64px; height:64px; border-radius:17px; display:grid; place-items:center; z-index:2; color:#fff; font-size:28px; background:linear-gradient(135deg,#3266f1,#7139eb); box-shadow:0 12px 28px rgba(74,59,231,.26); }

.timeline-item.left .timeline-card { grid-column:1; }

.timeline-item.left .timeline-icon { grid-column:2; }

.timeline-item.right .timeline-icon { grid-column:2; }

.timeline-item.right .timeline-card { grid-column:3; }



.tech-cloud { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; max-width:900px; margin:0 auto; }

.tech-cloud span { padding:14px 20px; background:#fff; border:1px solid var(--line); border-radius:999px; font-weight:700; box-shadow:0 8px 20px rgba(23,39,86,.05); }



.demo { background: linear-gradient(135deg,#285ee7,#6e35e7); color:#fff; }

.demo-box { display:grid; grid-template-columns:1fr .8fr; gap:70px; align-items:center; }

.demo h2 { font-size:clamp(40px,4vw,58px); line-height:1.08; margin:20px 0; }

.demo p { color:rgba(255,255,255,.8); font-size:18px; }

.lead-form { background:#fff; color:var(--text); border-radius:26px; padding:28px; box-shadow:0 30px 70px rgba(15,24,66,.25); }

.lead-form label { display:block; margin-bottom:15px; font-weight:600; }

.lead-form input, .lead-form textarea {

  width:100%; margin-top:7px; border:1px solid #dce1eb; border-radius:12px; padding:13px 14px; outline:none;

}

.lead-form input:focus, .lead-form textarea:focus { border-color:var(--primary); box-shadow:0 0 0 4px rgba(45,99,237,.1); }

.form-message { min-height:22px; margin:12px 0 0 !important; color:var(--green) !important; font-size:14px !important; }



.faq-layout { display:grid; grid-template-columns:.7fr 1.3fr; gap:70px; }

.accordion details { background:#fff; border:1px solid var(--line); border-radius:16px; padding:0 22px; margin-bottom:14px; }

.accordion summary { cursor:pointer; list-style:none; padding:20px 0; font-weight:700; }

.accordion summary::-webkit-details-marker { display:none; }

.accordion summary::after { content:"+"; float:right; color:var(--primary); font-size:22px; }

.accordion details[open] summary::after { content:"−"; }

.accordion p { color:var(--muted); padding:0 0 20px; margin:0; }



.footer { padding:70px 0 25px; background:#0e1427; color:#fff; }

.footer-grid { display:grid; grid-template-columns:1.4fr .7fr 1fr; gap:60px; }

.footer p { color:#aeb6ca; max-width:420px; }

.footer h3 { margin-top:0; }

.footer-grid > div:not(:first-child) { display:flex; flex-direction:column; gap:10px; }

.footer-grid a:not(.brand) { color:#bfc6d7; }

.footer-bottom { margin-top:55px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; color:#8d96ad; font-size:14px; }



@media (max-width: 950px) {

  .nav-links, .nav-actions { display:none; }

  .menu-button { display:block; }

  .nav.open { align-items:flex-start; padding:20px 0; flex-wrap:wrap; }

  .nav.open .nav-links, .nav.open .nav-actions { width:100%; display:flex; flex-direction:column; align-items:flex-start; gap:16px; }

  .hero-grid, .demo-box, .faq-layout { grid-template-columns:1fr; }

  .automation-visual { min-height:520px; }

  .task-grid { grid-template-columns:repeat(2,1fr); }

  .services-grid { grid-template-columns:repeat(2,1fr); }

}



@media (max-width: 650px) {

  .container { width:min(100% - 28px,1180px); }

  .section { padding:72px 0; }

  .hero { min-height:auto; padding-top:70px; }

  .hero h1 { font-size:49px; }

  .hero-description { font-size:18px; }

  .hero-actions .button { width:100%; }

  .automation-visual { min-height:400px; transform:scale(.82); margin:-40px -40px; }

  .task-grid, .services-grid { grid-template-columns:1fr; }

  .timeline::before { left:31px; }

  .timeline-item { grid-template-columns:64px 1fr; gap:16px; }

  .timeline-item.left .timeline-icon, .timeline-item.right .timeline-icon { grid-column:1; grid-row:1; }

  .timeline-item.left .timeline-card, .timeline-item.right .timeline-card { grid-column:2; grid-row:1; }

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

  .footer-bottom { flex-direction:column; gap:8px; }

}



/* EXTENSÃO DE FUNCIONALIDADES (Adicionado sem alterar código legado) */

.footer-grid-new {

  display: grid;

  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;

  gap: 50px;

}

.footer-grid-new > div:not(:first-child) {

  display: flex;

  flex-direction: column;

  gap: 10px;

}

.footer-grid-new a:not(.brand) {

  color: #bfc6d7;

}

@media (max-width: 950px) {

  .footer-grid-new { grid-template-columns: repeat(2, 1fr); gap: 40px; }

}

@media (max-width: 650px) {

  .footer-grid-new { grid-template-columns: 1fr; gap: 35px; }

}

/* ==========================================================================

   ESTILO CHATGPT - LEITOR DE DOCUMENTOS (NOVAFLOW)

   ========================================================================== */

.chat-section {

    margin-bottom: 24px;

    text-align: left;

}



.chat-section h3 {

    color: #111827;

    font-size: 1.25rem;

    font-weight: 600;

    margin-bottom: 12px;

}



.chat-section p {

    color: #374151;

    line-height: 1.6;

    font-size: 1rem;

}



.chat-divider {

    border: none;

    border-top: 1px solid #E5E7EB;

    margin: 24px 0;

}



.chat-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.chat-list li {

    color: #374151;

    font-size: 1rem;

    line-height: 1.6;

    margin-bottom: 12px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

}



.chat-list .icon {

    font-weight: bold;

    font-size: 1.1rem;

    flex-shrink: 0;

}



.chat-list .icon.check { color: #2563EB; }

.chat-list .icon.alert { color: #DC2626; }

.chat-list .icon.info { color: #6B7280; }



.result-actions {

    display: flex;

    gap: 16px;

    margin-top: 32px;

    flex-wrap: wrap;

}



.btn-secondary {

    background-color: #F3F4F6;

    color: #111827;

    border: 1px solid #D1D5DB;

    padding: 12px 24px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 500;

    transition: all 0.2s ease;

}



.btn-secondary:hover {

    background-color: #E5E7EB;

}

/* ==========================================
   CARD DO CURRÍCULO INTELIGENTE
   ========================================== */

.curriculo-card {
  display: flex;
  flex-direction: column;
}

.curriculo-card > span {
  font-size: 33px;
}

.curriculo-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.curriculo-card-description {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.curriculo-beneficios {
  margin-bottom: 20px;
}

.curriculo-beneficios strong {
  font-size: 14px;
  color: var(--text);
}

.curriculo-beneficios ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.curriculo-beneficios li {
  margin-bottom: 5px;
}

.curriculo-aviso {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.curriculo-card .button {
  width: 100%;
  margin-top: auto;
}

@media print {

    header, footer, .result-actions {

        display: none !important;

    }

    body {

        background-color: white;

    }

} 
/* ==========================================
   EXCEL INTELIGENTE — PÁGINA DEDICADA
   ========================================== */

.excel-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(45, 99, 237, 0.08),
      transparent 34%
    ),
    #f8faff;
}

/* Área inicial */

.excel-tool-section {
  min-height: calc(100vh - 84px);
  padding: 80px 0 100px;
}

.excel-tool-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.excel-tool-header h1 {
  margin: 20px 0 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.excel-tool-header > p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Card de upload */

.excel-upload-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.excel-upload-card > label {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.excel-file-input {
  width: 100%;
  min-height: 58px;
  padding: 10px;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #dce1eb;
  border-radius: 14px;
  cursor: pointer;
  outline: none;
}

.excel-file-input:hover {
  border-color: #b8c5df;
}

.excel-file-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 99, 237, 0.1);
}

.excel-file-input::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--primary);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.excel-file-input::file-selector-button:hover {
  background: var(--primary-dark);
}

.excel-file-help {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.excel-upload-card > .button {
  width: 100%;
}

/* Mensagens */

.excel-form-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.excel-form-message.is-success {
  color: var(--green);
}

/* Carregamento */

.excel-loading {
  display: none;
  margin-top: 24px;
  padding: 22px;
  text-align: center;
  background: #f8faff;
  border: 1px solid #dce3ff;
  border-radius: 16px;
}

.excel-loading[aria-hidden="false"] {
  display: block;
}

.excel-loading strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}

.excel-loading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.excel-progress {
  width: 100%;
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  background: #e4e9f5;
  border-radius: 999px;
}

.excel-progress > div {
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--purple)
  );
  border-radius: inherit;
  transition: width 0.35s ease;
}

/* Resultados */

.excel-results-section {
  display: none;
  padding: 70px 0 100px;
  background: #f8faff;
}

.excel-results-section:not([hidden]) {
  display: block;
}

.excel-results-shell {
  max-width: 1080px;
  margin: 0 auto;
}

.excel-results-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.excel-result-card {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(23, 39, 86, 0.06);
}

.excel-result-card h2,
.excel-result-card h3 {
  margin: 0 0 15px;
  color: var(--text);
}

.excel-result-card h2 {
  font-size: 24px;
}

.excel-result-card h3 {
  font-size: 18px;
}

.excel-result-card p {
  margin: 0;
  color: #374151;
  line-height: 1.75;
}

/* Indicadores */

.excel-indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.excel-indicator-card {
  min-height: 150px;
  padding: 20px;
  background: linear-gradient(
    145deg,
    #ffffff,
    #f7f9ff
  );
  border: 1px solid #dfe5f2;
  border-radius: 16px;
}

.excel-indicator-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.excel-indicator-value {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.excel-indicator-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Listas */

.excel-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.excel-result-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  color: #374151;
  line-height: 1.65;
}

.excel-result-list li:last-child {
  margin-bottom: 0;
}

.excel-list-icon {
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Estrutura e qualidade */

.excel-structure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.excel-structure-item {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e3e8f1;
  border-radius: 14px;
}

.excel-structure-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.excel-structure-item strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 22px;
}

/* Análise das colunas */

.excel-columns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.excel-column-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e7f0;
  border-radius: 15px;
}

.excel-column-card h3 {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.excel-column-meta {
  display: grid;
  gap: 8px;
}

.excel-column-meta p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf0f5;
  font-size: 14px;
}

.excel-column-meta p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.excel-column-meta span {
  color: var(--muted);
}

.excel-column-meta strong {
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}

/* Tabela de prévia */

.excel-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
}

.excel-preview-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #ffffff;
}

.excel-preview-table th,
.excel-preview-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.excel-preview-table th {
  color: #1e293b;
  background: #f4f7fb;
  font-size: 13px;
  font-weight: 800;
}

.excel-preview-table td {
  max-width: 320px;
  overflow: hidden;
  color: #475569;
  font-size: 13px;
  text-overflow: ellipsis;
}

.excel-preview-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Ações finais */

.excel-result-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Responsividade */

@media (max-width: 900px) {
  .excel-indicators-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .excel-structure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 650px) {
  .excel-tool-section {
    padding: 55px 0 75px;
  }

  .excel-tool-header {
    margin-bottom: 28px;
  }

  .excel-tool-header h1 {
    font-size: 42px;
  }

  .excel-tool-header > p {
    font-size: 16px;
  }

  .excel-upload-card {
    padding: 22px;
    border-radius: 18px;
  }

  .excel-indicators-grid,
  .excel-structure-grid {
    grid-template-columns: 1fr;
  }

  .excel-result-card {
    padding: 20px;
  }

  .excel-result-actions .button {
    width: 100%;
  }

  .excel-page .nav-actions {
    display: flex !important;
    gap: 12px;
  }

  .excel-page .nav-contact {
    display: none;
  }

  .excel-page .nav-actions .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }
}
/* ==========================================
   LEITOR INTELIGENTE DE DOCUMENTOS
   PÁGINA DEDICADA
   ========================================== */

.doc-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(45, 99, 237, 0.08),
      transparent 34%
    ),
    #f8faff;
}

/* ==========================================
   TELA INICIAL
   ========================================== */

.doc-tool-section {
  min-height: calc(100vh - 84px);
  padding: 80px 0 100px;
}

.doc-tool-header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.doc-tool-header h1 {
  margin: 20px 0 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.doc-tool-header > p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* ==========================================
   CARD DE UPLOAD
   ========================================== */

.doc-upload-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.doc-upload-card > label {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.doc-file-input {
  width: 100%;
  min-height: 58px;
  padding: 10px;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #dce1eb;
  border-radius: 14px;
  cursor: pointer;
  outline: none;
}

.doc-file-input:hover {
  border-color: #b8c5df;
}

.doc-file-input:focus {
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px rgba(45, 99, 237, 0.1);
}

.doc-file-input::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--primary);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.doc-file-input::file-selector-button:hover {
  background: var(--primary-dark);
}

.doc-file-help {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.doc-upload-card > .button {
  width: 100%;
}

/* ==========================================
   MENSAGEM DO FORMULÁRIO
   ========================================== */

.doc-form-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.doc-form-message.is-success {
  color: var(--green);
}

/* ==========================================
   CARREGAMENTO
   ========================================== */

.doc-loading {
  display: none;
  margin-top: 24px;
  padding: 22px;
  text-align: center;
  background: #f8faff;
  border: 1px solid #dce3ff;
  border-radius: 16px;
}

.doc-loading[aria-hidden="false"] {
  display: block;
}

.doc-loading strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}

.doc-loading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.doc-progress {
  width: 100%;
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  background: #e4e9f5;
  border-radius: 999px;
}

.doc-progress > div {
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--purple)
  );
  border-radius: inherit;
  transition: width 0.35s ease;
}

/* ==========================================
   ÁREA DE RESULTADOS
   ========================================== */

.doc-results-section {
  display: none;
  min-height: calc(100vh - 84px);
  padding: 70px 0 100px;
  background: #f8faff;
}

.doc-results-section:not([hidden]) {
  display: block;
}

.doc-results-shell {
  max-width: 1000px;
  margin: 0 auto;
}

.doc-results-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================
   CABEÇALHO DO RESULTADO
   ========================================== */

.doc-result-header {
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #1e3a8a,
    #2563eb,
    #6937ec
  );
  border-radius: 20px;
  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.2);
}

.doc-result-header > span {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.86;
}

.doc-result-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.doc-result-header p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

/* ==========================================
   CARDS DO RESULTADO
   ========================================== */

.doc-result-card {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 8px 25px rgba(23, 39, 86, 0.06);
}

.doc-result-card h2 {
  margin: 0 0 15px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.3;
}

.doc-result-text {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}

/* Destaque para pontos de atenção */

.doc-result-card-attention {
  border-color: #fed7aa;
  background: #fffdf8;
}

.doc-result-card-attention h2 {
  color: #9a3412;
}

/* ==========================================
   LISTAS
   ========================================== */

.doc-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-result-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  color: #374151;
  line-height: 1.7;
}

.doc-result-list li:last-child {
  margin-bottom: 0;
}

.doc-result-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--primary);
  background: #eff6ff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.doc-result-card-attention .doc-result-icon {
  color: #c2410c;
  background: #ffedd5;
}

/* ==========================================
   BOTÕES FINAIS
   ========================================== */

.doc-result-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 650px) {
  .doc-tool-section {
    padding: 55px 0 75px;
  }

  .doc-tool-header {
    margin-bottom: 28px;
  }

  .doc-tool-header h1 {
    font-size: 42px;
  }

  .doc-tool-header > p {
    font-size: 16px;
  }

  .doc-upload-card {
    padding: 22px;
    border-radius: 18px;
  }

  .doc-result-header {
    padding: 22px;
  }

  .doc-result-card {
    padding: 20px;
  }

  .doc-result-card h2 {
    font-size: 21px;
  }

  .doc-result-actions .button {
    width: 100%;
  }

  .doc-page .nav-actions {
    display: flex !important;
    gap: 12px;
  }

  .doc-page .nav-contact {
    display: none;
  }

  .doc-page .nav-actions .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }
}
/* ==========================================
   LEITOR — ETAPAS DE CARREGAMENTO
   ========================================== */

.doc-loading-steps {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  text-align: left;
}

.doc-loading-steps span {
  position: relative;
  padding-left: 24px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  transition:
    color 0.2s ease,
    font-weight 0.2s ease;
}

.doc-loading-steps span::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  color: #94a3b8;
  font-weight: 700;
}

.doc-loading-steps span.is-active {
  color: var(--primary);
  font-weight: 700;
}

.doc-loading-steps span.is-active::before {
  content: "●";
  color: var(--primary);
}

.doc-loading-steps span.is-complete {
  color: #15803d;
  font-weight: 600;
}

.doc-loading-steps span.is-complete::before {
  content: "✓";
  color: #16a34a;
}

/* Informações complementares do resultado */

.doc-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.doc-result-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.doc-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.doc-copy-button {
  min-height: 40px;
  padding: 0 15px;
  color: var(--primary-dark);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.doc-copy-button:hover {
  background: #dbeafe;
}

.doc-copy-button.is-copied {
  color: #166534;
  background: #dcfce7;
  border-color: #86efac;
}

/* ======================================================
   ESPECIALISTAS DIGITAIS NOVAFLOW
   ====================================================== */

.especialistas-page {
    margin: 0;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(124, 58, 237, 0.07),
            transparent 28%
        ),
        var(--nf-background);

    color: var(--nf-text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.especialistas-page *,
.especialistas-page *::before,
.especialistas-page *::after {
    box-sizing: border-box;
}

.especialistas-page a {
    color: inherit;
    text-decoration: none;
}

.nf-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Cabeçalho */

.nf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.nf-header-content {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nf-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.nf-brand-symbol {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    background:
        linear-gradient(
            135deg,
            var(--nf-primary),
            var(--nf-purple)
        );
    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.25);
}

.nf-brand-name {
    color: var(--nf-dark);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.nf-brand-name span {
    color: var(--nf-primary);
}

.nf-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nf-navigation a {
    padding: 10px 14px;
    border-radius: 10px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nf-navigation a:hover,
.nf-navigation a.active {
    color: var(--nf-primary);
    background: rgba(37, 99, 235, 0.08);
}

.nf-mobile-menu-button {
    width: 44px;
    height: 44px;
    display: none;
    padding: 0;
    border: 1px solid var(--nf-border);
    border-radius: 11px;
    background: #ffffff;
    cursor: pointer;
}

.nf-mobile-menu-button span {
    width: 19px;
    height: 2px;
    display: block;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--nf-dark);
    transition: 0.2s ease;
}

.nf-mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nf-mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.nf-mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Elementos compartilhados */

.nf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nf-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.nf-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background:
        linear-gradient(
            90deg,
            var(--nf-primary),
            var(--nf-purple)
        );
}

.nf-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.nf-button:hover {
    transform: translateY(-2px);
}

.nf-button-primary {
    color: #ffffff !important;
    background:
        linear-gradient(
            135deg,
            var(--nf-primary),
            var(--nf-purple)
        );
    box-shadow:
        0 14px 30px rgba(37, 99, 235, 0.24);
}

.nf-button-secondary {
    border: 1px solid var(--nf-border);
    color: var(--nf-dark);
    background: rgba(255, 255, 255, 0.75);
}

.nf-button-secondary:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.08);
}

.nf-section-heading {
    max-width: 690px;
    margin: 0 auto 50px;
    text-align: center;
}

.nf-section-heading h2 {
    margin: 15px 0 14px;
    color: var(--nf-dark);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.nf-section-heading p {
    margin: 0;
    color: var(--nf-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* Hero */

.especialistas-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
}

.especialistas-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.95fr);
    align-items: center;
    gap: 70px;
}

.especialistas-hero-content h1 {
    max-width: 730px;
    margin: 20px 0 22px;
    padding-bottom: 10px;
    color: var(--nf-dark);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.08;
    letter-spacing: -2.8px;
}

.especialistas-hero-content h1 span {
    display: block;
    color: transparent;
    background:
        linear-gradient(
            100deg,
            var(--nf-primary),
            var(--nf-purple)
        );
    background-clip: text;
    -webkit-background-clip: text;
}

.especialistas-hero-content > p {
    max-width: 650px;
    margin: 0;
    color: var(--nf-muted);
    font-size: 18px;
    line-height: 1.75;
}

.especialistas-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.especialistas-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 31px;
}

.hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 650;
}

.hero-benefit-icon {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--nf-success);
    background: rgba(5, 150, 105, 0.1);
    font-size: 12px;
    font-weight: 900;
}

/* Visual do hero */

.especialistas-hero-visual {
    position: relative;
    min-height: 465px;
    display: grid;
    place-items: center;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.11);
    border-radius: 50%;
}

.hero-orbit-one {
    width: 440px;
    height: 440px;
}

.hero-orbit-two {
    width: 330px;
    height: 330px;
    border-color: rgba(124, 58, 237, 0.13);
}

.hero-specialist-preview {
    position: relative;
    z-index: 2;
    width: min(390px, 100%);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 35px 80px rgba(15, 23, 42, 0.16);
    transform: translateY(-12px);
}

.hero-preview-top {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf2f7;
}

.hero-preview-logo {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--nf-primary),
            var(--nf-purple)
        );
    font-weight: 800;
}

.hero-preview-top div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-preview-top strong {
    color: var(--nf-dark);
    font-size: 13px;
}

.hero-preview-top small {
    color: var(--nf-muted);
    font-size: 11px;
}

.hero-preview-status {
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 99px;
    color: var(--nf-success);
    background: rgba(5, 150, 105, 0.1);
    font-size: 10px;
    font-weight: 800;
}

.hero-preview-content {
    padding: 22px;
}

.hero-preview-label {
    display: block;
    margin-bottom: 9px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hero-preview-selected {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    background: rgba(37, 99, 235, 0.045);
}

.hero-preview-selected-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );
    font-weight: 800;
}

.hero-preview-selected > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-preview-selected strong {
    color: var(--nf-dark);
    font-size: 13px;
}

.hero-preview-selected span {
    color: var(--nf-muted);
    font-size: 11px;
}

.hero-preview-analysis {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.analysis-line {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 10px;
}

.analysis-line span:first-child {
    height: 38px;
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.13),
            rgba(124, 58, 237, 0.1)
        );
}

.analysis-line span:last-child {
    height: 10px;
    border-radius: 99px;
    background:
        linear-gradient(
            90deg,
            #e2e8f0 65%,
            #f1f5f9 65%
        );
}

.analysis-line-short span:last-child {
    width: 72%;
}

.hero-preview-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
}

.preview-processing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nf-primary);
    box-shadow:
        0 0 0 5px rgba(37, 99, 235, 0.1);
}

.floating-specialist {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 13px;
    color: var(--nf-dark);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 16px 35px rgba(15, 23, 42, 0.12);
    font-size: 11px;
    font-weight: 750;
}

.floating-specialist > span {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 10px;
}

.floating-juridico {
    top: 55px;
    right: -10px;
}

.floating-juridico > span {
    background:
        linear-gradient(
            135deg,
            #1e3a8a,
            #4338ca
        );
}

.floating-rh {
    bottom: 55px;
    left: -20px;
}

.floating-rh > span {
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );
}

/* Cards dos especialistas */

.especialistas-section {
    padding: 96px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    background: rgba(255, 255, 255, 0.6);
}

.especialistas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.especialista-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--nf-border);
    border-radius: 23px;
    background: #ffffff;
    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.especialista-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--specialist-gradient);
}

.especialista-card:hover {
    transform: translateY(-7px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.11);
}

.especialista-card-juridico {
    --specialist-primary: #1e40af;
    --specialist-soft: rgba(30, 64, 175, 0.09);
    --specialist-gradient:
        linear-gradient(90deg, #1e3a8a, #4338ca);
}

.especialista-card-financeiro {
    --specialist-primary: #2563eb;
    --specialist-soft: rgba(37, 99, 235, 0.09);
    --specialist-gradient:
        linear-gradient(90deg, #2563eb, #7c3aed);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow:
        0 25px 60px rgba(37, 99, 235, 0.12);
}

.especialista-card-rh {
    --specialist-primary: #7c3aed;
    --specialist-soft: rgba(124, 58, 237, 0.09);
    --specialist-gradient:
        linear-gradient(90deg, #7c3aed, #a855f7);
}

.especialista-featured-label {
    position: absolute;
    top: 19px;
    left: 50%;
    padding: 6px 11px;
    border-radius: 99px;
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            var(--nf-primary),
            var(--nf-purple)
        );
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
}

.especialista-card-financeiro .especialista-card-top {
    margin-top: 27px;
}

.especialista-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.especialista-icon {
    width: 59px;
    height: 59px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--specialist-primary);
    background: var(--specialist-soft);
    font-size: 18px;
    font-weight: 850;
}

.especialista-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nf-success);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.especialista-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nf-success);
    box-shadow:
        0 0 0 4px rgba(5, 150, 105, 0.1);
}

.especialista-card-content {
    flex: 1;
    padding-top: 27px;
}

.especialista-category {
    color: var(--specialist-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.especialista-card h3 {
    margin: 11px 0 14px;
    color: var(--nf-dark);
    font-size: 25px;
    letter-spacing: -0.7px;
}

.especialista-card p {
    margin: 0;
    color: var(--nf-muted);
    font-size: 14px;
    line-height: 1.7;
}

.especialista-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.especialista-capabilities span {
    padding: 7px 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    color: #475569;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 700;
}

.especialista-card-footer {
    padding-top: 27px;
}

.especialista-access-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 16px;
    border-radius: 13px;
    color: #ffffff !important;
    background: var(--specialist-gradient);
    font-size: 13px;
    font-weight: 800;
    box-shadow:
        0 12px 25px var(--specialist-soft);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.especialista-access-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 17px 30px var(--specialist-soft);
}

.especialista-card-footer small {
    display: block;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

/* Como funciona */

.especialistas-how {
    padding: 96px 0;
}

.especialistas-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.especialistas-steps::before {
    content: "";
    position: absolute;
    top: 55px;
    right: 17%;
    left: 17%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(37, 99, 235, 0.15),
            rgba(124, 58, 237, 0.25),
            rgba(37, 99, 235, 0.15)
        );
}

.especialista-step {
    position: relative;
    z-index: 1;
    padding: 27px;
    border: 1px solid var(--nf-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.step-number {
    position: absolute;
    top: 19px;
    right: 21px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 850;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 19px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 17px;
    color: var(--nf-primary);
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.09),
            rgba(124, 58, 237, 0.08)
        );
    font-size: 22px;
    font-weight: 800;
}

.especialista-step h3 {
    margin: 0 0 10px;
    color: var(--nf-dark);
    font-size: 18px;
}

.especialista-step p {
    margin: 0;
    color: var(--nf-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* CTA */

.especialistas-cta {
    padding: 0 0 96px;
}

.especialistas-cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    border-radius: 27px;
    color: #ffffff;
    background:
        linear-gradient(
            125deg,
            #172554,
            #1d4ed8 55%,
            #6d28d9
        );
    box-shadow:
        0 30px 65px rgba(30, 64, 175, 0.25);
}

.especialistas-cta-card::after {
    content: "";
    position: absolute;
    top: -110px;
    right: -80px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(255, 255, 255, 0.035),
        0 0 0 90px rgba(255, 255, 255, 0.025);
}

.especialistas-cta-card > * {
    position: relative;
    z-index: 1;
}

.especialistas-cta-card .nf-eyebrow {
    color: #bfdbfe;
}

.especialistas-cta-card .nf-eyebrow::before {
    background: #bfdbfe;
}

.especialistas-cta-card h2 {
    max-width: 620px;
    margin: 13px 0 11px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.3px;
}

.especialistas-cta-card p {
    max-width: 640px;
    margin: 0;
    color: #dbeafe;
    font-size: 15px;
    line-height: 1.65;
}

.nf-button-light {
    flex-shrink: 0;
    color: var(--nf-primary) !important;
    background: #ffffff;
    box-shadow:
        0 15px 30px rgba(15, 23, 42, 0.2);
}

/* Rodapé */

.nf-footer {
    padding: 32px 0;
    border-top: 1px solid var(--nf-border);
    background: #ffffff;
}

.nf-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.nf-footer-brand .nf-brand-symbol {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
}

.nf-footer-brand .nf-brand-name {
    font-size: 18px;
}

.nf-footer p,
.nf-footer-content > span {
    margin: 0;
    color: var(--nf-muted);
    font-size: 12px;
}

/* Responsividade */

@media (max-width: 980px) {
    .especialistas-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .especialistas-hero-content {
        text-align: center;
    }

    .especialistas-hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .especialistas-hero-actions,
    .especialistas-hero-benefits {
        justify-content: center;
    }

    .especialistas-hero-visual {
        min-height: 430px;
    }

    .especialistas-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }

    .especialista-card {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .nf-container {
        width: min(100% - 28px, 1180px);
    }

    .nf-header-content {
        min-height: 66px;
    }

    .nf-mobile-menu-button {
        display: block;
    }

    .nf-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 14px;
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--nf-border);
        border-radius: 15px;
        background: #ffffff;
        box-shadow:
            0 20px 45px rgba(15, 23, 42, 0.15);
    }

    .nf-navigation.is-open {
        display: flex;
    }

    .nf-navigation a {
        width: 100%;
    }

    .especialistas-hero {
        padding: 64px 0 70px;
    }

    .especialistas-hero-content h1 {
        margin-top: 17px;
        font-size: clamp(39px, 12vw, 55px);
        letter-spacing: -2.3px;
    }

    .especialistas-hero-content > p {
        font-size: 16px;
    }

    .especialistas-hero-actions {
        flex-direction: column;
    }

    .nf-button {
        width: 100%;
    }

    .especialistas-hero-benefits {
        display: grid;
        justify-content: center;
        gap: 11px;
    }

    .especialistas-hero-visual {
        min-height: 390px;
    }

    .hero-orbit-one {
        width: 340px;
        height: 340px;
    }

    .hero-orbit-two {
        width: 260px;
        height: 260px;
    }

    .hero-specialist-preview {
        width: min(330px, calc(100% - 20px));
    }

    .floating-juridico {
        top: 20px;
        right: 0;
    }

    .floating-rh {
        bottom: 20px;
        left: 0;
    }

    .especialistas-section,
    .especialistas-how {
        padding: 74px 0;
    }

    .nf-section-heading {
        margin-bottom: 35px;
    }

    .nf-section-heading p {
        font-size: 15px;
    }

    .especialistas-steps {
        grid-template-columns: 1fr;
    }

    .especialistas-steps::before {
        display: none;
    }

    .especialistas-cta {
        padding-bottom: 74px;
    }

    .especialistas-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px 27px;
    }

    .especialistas-cta-card .nf-button {
        width: 100%;
    }

    .nf-footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .floating-specialist {
        font-size: 9px;
        padding: 9px 10px;
    }

    .floating-specialist > span {
        min-width: 24px;
        height: 24px;
        font-size: 8px;
    }

    .especialista-card {
        padding: 22px;
    }

    .especialista-featured-label {
        font-size: 8px;
    }
}

/* Correção do título principal dos especialistas */

.especialistas-hero-content h1 {
    line-height: 1.08;
    padding-bottom: 10px;
}

.especialistas-hero-content h1 span {
    padding-bottom: 6px;
}

/* ======================================================
   ESPECIALISTA FINANCEIRO NOVAFLOW
   ====================================================== */

.financeiro-page {
    /* Variáveis compartilhadas pelo cabeçalho NovaFlow */
    --nf-primary: #2563eb;
    --nf-primary-dark: #1d4ed8;
    --nf-purple: #7c3aed;
    --nf-dark: #0f172a;
    --nf-text: #334155;
    --nf-muted: #64748b;
    --nf-border: #e2e8f0;
    --nf-background: #f8fafc;
    --nf-card: #ffffff;
    --nf-success: #059669;

    /* Variáveis específicas do Especialista Financeiro */
    --finance-primary: #2563eb;
    --finance-primary-dark: #1d4ed8;
    --finance-purple: #7c3aed;
    --finance-navy: #0f172a;
    --finance-text: #334155;
    --finance-muted: #64748b;
    --finance-border: #e2e8f0;
    --finance-background: #f5f7fb;
    --finance-success: #059669;
    --finance-warning: #d97706;

    min-height: 100vh;
    margin: 0;
    color: var(--finance-text);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(124, 58, 237, 0.06),
            transparent 30%
        ),
        var(--finance-background);

    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

    margin: 0;
    color: var(--finance-text);
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(124, 58, 237, 0.06),
            transparent 30%
        ),
        var(--finance-background);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;


.financeiro-page *,
.financeiro-page *::before,
.financeiro-page *::after {
    box-sizing: border-box;
}


.financeiro-page a {
    color: inherit;
    text-decoration: none;
}

.financeiro-page button,
.financeiro-page input,
.financeiro-page textarea,
.financeiro-page select {
    font: inherit;
}

.financeiro-intro {
    padding: 34px 0 37px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.72);
}

.financeiro-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 27px;
    color: #94a3b8;
    font-size: 12px;
}

.financeiro-breadcrumb a {
    color: var(--finance-primary);
    font-weight: 700;
}

.financeiro-breadcrumb strong {
    color: #475569;
}

.financeiro-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
}

.financeiro-identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

.financeiro-identity-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
    box-shadow:
        0 17px 34px rgba(37, 99, 235, 0.25);
    font-size: 20px;
    font-weight: 850;
}

.financeiro-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--finance-success);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.financeiro-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--finance-success);
    box-shadow:
        0 0 0 4px rgba(5, 150, 105, 0.11);
}

.financeiro-identity h1 {
    margin: 0;
    color: var(--finance-navy);
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.financeiro-intro-main > p {
    max-width: 710px;
    margin: 18px 0 0;
    color: var(--finance-muted);
    font-size: 15px;
    line-height: 1.7;
}

.financeiro-intro-details {
    min-width: 255px;
    display: grid;
    gap: 13px;
    padding: 20px 22px;
    border: 1px solid var(--finance-border);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.86);
}

.financeiro-intro-details div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.financeiro-intro-details span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.financeiro-intro-details strong {
    color: #334155;
    font-size: 11px;
    text-align: right;
}

/* Workspace */

.financeiro-workspace {
    padding: 44px 0 80px;
}

.financeiro-workspace-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: 27px;
}

/* Sidebar */

.financeiro-sidebar {
    position: sticky;
    top: 98px;
    overflow: hidden;
    border: 1px solid var(--finance-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 17px 45px rgba(15, 23, 42, 0.07);
}

.financeiro-sidebar-header {
    padding: 24px 24px 18px;
}

.financeiro-sidebar-eyebrow {
    color: var(--finance-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.financeiro-sidebar-header h2 {
    margin: 10px 0 9px;
    color: var(--finance-navy);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.financeiro-sidebar-header p {
    margin: 0;
    color: var(--finance-muted);
    font-size: 12px;
    line-height: 1.6;
}

.financeiro-assistants {
    display: grid;
    gap: 5px;
    padding: 5px 12px 17px;
}

.financeiro-assistant {
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #475569;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.financeiro-assistant:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.financeiro-assistant.is-active {
    border-color: rgba(37, 99, 235, 0.18);
    color: var(--finance-primary);
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.08),
            rgba(124, 58, 237, 0.055)
        );
}

.financeiro-assistant-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--finance-primary);
    background: rgba(37, 99, 235, 0.09);
    font-size: 10px;
    font-weight: 850;
}

.financeiro-assistant.is-active .financeiro-assistant-icon {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
}

.financeiro-assistant-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.financeiro-assistant-text strong {
    color: var(--finance-navy);
    font-size: 12px;
}

.financeiro-assistant-text small {
    overflow: hidden;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.financeiro-assistant-arrow {
    color: #cbd5e1;
    font-size: 15px;
}

.financeiro-assistant.is-active .financeiro-assistant-arrow {
    color: var(--finance-primary);
}

.financeiro-sidebar-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 20px;
    border-top: 1px solid var(--finance-border);
    background: #f8fafc;
}

.financeiro-sidebar-notice > span,
.financeiro-result-disclaimer > span {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--finance-primary);
    background: rgba(37, 99, 235, 0.1);
    font-size: 11px;
    font-weight: 850;
}

.financeiro-sidebar-notice p {
    margin: 0;
    color: #64748b;
    font-size: 9px;
    line-height: 1.55;
}

/* Painel e formulário */

.financeiro-main-panel {
    min-width: 0;
}

.financeiro-form-card,
.financeiro-loading-card,
.financeiro-result {
    border: 1px solid var(--finance-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 17px 45px rgba(15, 23, 42, 0.07);
}

.financeiro-form-card {
    overflow: hidden;
}

.financeiro-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 30px 25px;
    border-bottom: 1px solid var(--finance-border);
}

.financeiro-step-label {
    color: var(--finance-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.financeiro-form-header h2 {
    margin: 9px 0 8px;
    color: var(--finance-navy);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.financeiro-form-header p {
    max-width: 630px;
    margin: 0;
    color: var(--finance-muted);
    font-size: 12px;
    line-height: 1.6;
}

.financeiro-progress {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    padding-top: 5px;
}

.financeiro-progress span {
    width: 35px;
    height: 4px;
    border-radius: 99px;
    background: #e2e8f0;
}

.financeiro-progress span.is-active {
    background:
        linear-gradient(
            90deg,
            var(--finance-primary),
            var(--finance-purple)
        );
}

#financeiroForm {
    padding: 29px 30px 30px;
}

.financeiro-dynamic-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px;
}

.financeiro-field {
    min-width: 0;
}

.financeiro-field.financeiro-field-full {
    grid-column: 1 / -1;
}

.financeiro-field label,
.financeiro-context-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
}

.financeiro-field label span,
.financeiro-context-field label span {
    color: #94a3b8;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.financeiro-field > p,
.financeiro-context-field > p {
    margin: -2px 0 9px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.45;
}

.financeiro-field input,
.financeiro-field select,
.financeiro-field textarea,
.financeiro-context-field textarea {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    outline: none;
    color: #1e293b;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.financeiro-field input,
.financeiro-field select {
    min-height: 48px;
    padding: 11px 13px;
}

.financeiro-field textarea,
.financeiro-context-field textarea {
    resize: vertical;
    padding: 13px;
    line-height: 1.6;
}

.financeiro-field input::placeholder,
.financeiro-field textarea::placeholder,
.financeiro-context-field textarea::placeholder {
    color: #b2bdca;
}

.financeiro-field input:focus,
.financeiro-field select:focus,
.financeiro-field textarea:focus,
.financeiro-context-field textarea:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08);
}

.financeiro-field.has-error input,
.financeiro-field.has-error select,
.financeiro-field.has-error textarea {
    border-color: #ef4444;
    box-shadow:
        0 0 0 4px rgba(239, 68, 68, 0.07);
}

.financeiro-context-field {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--finance-border);
}

.financeiro-character-counter {
    margin-top: 7px;
    color: #94a3b8;
    font-size: 9px;
    text-align: right;
}

.financeiro-form-error {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 11px;
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.055);
}

.financeiro-form-error[hidden] {
    display: none;
}

.financeiro-form-error span {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #ef4444;
    font-size: 11px;
    font-weight: 850;
}

.financeiro-form-error p {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
}

.financeiro-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 27px;
}

.financeiro-clear-button,
.financeiro-submit-button,
.financeiro-result-actions button {
    min-height: 47px;
    border-radius: 12px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.financeiro-clear-button {
    padding: 11px 17px;
    border: 1px solid var(--finance-border);
    color: #64748b;
    background: #ffffff;
    font-size: 10px;
    font-weight: 750;
}

.financeiro-clear-button:hover {
    color: #334155;
    background: #f8fafc;
}

.financeiro-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 21px;
    border: 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
    box-shadow:
        0 14px 28px rgba(37, 99, 235, 0.22);
    font-size: 11px;
    font-weight: 800;
}

.financeiro-submit-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(37, 99, 235, 0.29);
}

/* Carregamento */

.financeiro-loading-card {
    min-height: 580px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 45px;
    text-align: center;
}

.financeiro-loading-card[hidden] {
    display: none;
}

.financeiro-loading-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
}

.financeiro-loading-animation > div {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 50%;
    animation: financeiroPulse 2.1s infinite ease-out;
}

.financeiro-loading-animation > div:nth-child(2) {
    animation-delay: 0.7s;
}

.financeiro-loading-animation > div:nth-child(3) {
    animation-delay: 1.4s;
}

.financeiro-loading-animation > span {
    position: relative;
    z-index: 2;
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
    box-shadow:
        0 18px 35px rgba(37, 99, 235, 0.28);
    font-size: 18px;
    font-weight: 850;
}

@keyframes financeiroPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.6);
    }

    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

.financeiro-loading-eyebrow,
.financeiro-result-eyebrow {
    color: var(--finance-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.financeiro-loading-card h2 {
    margin: 10px 0;
    color: var(--finance-navy);
    font-size: 29px;
    letter-spacing: -0.9px;
}

.financeiro-loading-card > p {
    max-width: 520px;
    margin: 0;
    color: var(--finance-muted);
    font-size: 12px;
    line-height: 1.65;
}

.financeiro-loading-steps {
    width: min(480px, 100%);
    display: grid;
    gap: 10px;
    margin-top: 28px;
    text-align: left;
}

.financeiro-loading-step {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid var(--finance-border);
    border-radius: 11px;
    color: #94a3b8;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 700;
}

.financeiro-loading-step > span {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.financeiro-loading-step.is-active {
    border-color: rgba(37, 99, 235, 0.18);
    color: var(--finance-primary);
    background: rgba(37, 99, 235, 0.05);
}

.financeiro-loading-step.is-active > span {
    border-color: var(--finance-primary);
    background: var(--finance-primary);
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.1);
}

.financeiro-loading-step.is-complete {
    color: var(--finance-success);
}

.financeiro-loading-step.is-complete > span {
    border-color: var(--finance-success);
    background: var(--finance-success);
}

/* Resultado */

.financeiro-result {
    overflow: hidden;
}

.financeiro-result[hidden] {
    display: none;
}

.financeiro-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 27px 30px;
    border-bottom: 1px solid var(--finance-border);
}

.financeiro-result-header h2 {
    margin: 8px 0 5px;
    color: var(--finance-navy);
    font-size: 25px;
    letter-spacing: -0.7px;
}

.financeiro-result-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 10px;
}

.financeiro-result-actions {
    display: flex;
    gap: 8px;
}

.financeiro-result-actions button {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid var(--finance-border);
    color: #475569;
    background: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.financeiro-result-actions button:last-child {
    border-color: transparent;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
}

.financeiro-result-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 26px 30px 0;
    padding: 21px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.065),
            rgba(124, 58, 237, 0.045)
        );
}

.financeiro-result-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
    font-size: 9px;
    font-weight: 850;
}

.financeiro-result-highlight span {
    color: var(--finance-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.financeiro-result-highlight p {
    margin: 8px 0 0;
    color: #334155;
    font-size: 12px;
    line-height: 1.7;
}

.financeiro-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding: 21px 30px;
}

.financeiro-result-card {
    padding: 19px;
    border: 1px solid var(--finance-border);
    border-radius: 15px;
    background: #ffffff;
}

.financeiro-result-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

.result-card-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--finance-primary);
    background: rgba(37, 99, 235, 0.08);
    font-size: 8px;
    font-weight: 850;
}

.financeiro-result-card h3 {
    margin: 0;
    color: var(--finance-navy);
    font-size: 13px;
}

.financeiro-result-card p,
.financeiro-result-card li {
    color: #64748b;
    font-size: 10px;
    line-height: 1.65;
}

.financeiro-result-card p {
    margin: 0;
}

.financeiro-result-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 17px;
}

.financeiro-action-plan {
    margin: 0 30px 25px;
    overflow: hidden;
    border: 1px solid var(--finance-border);
    border-radius: 16px;
}

.financeiro-action-plan-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--finance-border);
    background: #f8fafc;
}

.financeiro-action-plan-header > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--finance-primary),
            var(--finance-purple)
        );
    font-size: 8px;
    font-weight: 850;
}

.financeiro-action-plan-header h3 {
    margin: 0 0 3px;
    color: var(--finance-navy);
    font-size: 13px;
}

.financeiro-action-plan-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 9px;
}

.financeiro-action-list {
    display: grid;
}

.financeiro-action-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--finance-border);
}

.financeiro-action-item:last-child {
    border-bottom: 0;
}

.financeiro-action-item > span {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--finance-primary);
    background: rgba(37, 99, 235, 0.08);
    font-size: 8px;
    font-weight: 850;
}

.financeiro-action-item strong {
    display: block;
    margin-bottom: 4px;
    color: #334155;
    font-size: 10px;
}

.financeiro-action-item p {
    margin: 0;
    color: #64748b;
    font-size: 9px;
    line-height: 1.55;
}

.financeiro-result-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 30px;
    border-top: 1px solid var(--finance-border);
    background: #f8fafc;
}

.financeiro-result-disclaimer p {
    margin: 0;
    color: #64748b;
    font-size: 9px;
    line-height: 1.55;
}

/* Responsividade */

@media (max-width: 980px) {
    .financeiro-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .financeiro-intro-details {
        min-width: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .financeiro-intro-details div {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .financeiro-intro-details strong {
        text-align: left;
    }

    .financeiro-workspace-grid {
        grid-template-columns: 1fr;
    }

    .financeiro-sidebar {
        position: static;
    }

    .financeiro-assistants {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .financeiro-intro {
        padding-top: 25px;
    }

    .financeiro-identity {
        align-items: flex-start;
    }

    .financeiro-identity-icon {
        width: 56px;
        height: 56px;
        border-radius: 17px;
        font-size: 16px;
    }

    .financeiro-intro-details {
        grid-template-columns: 1fr;
    }

    .financeiro-intro-details div {
        flex-direction: row;
        align-items: center;
    }

    .financeiro-assistants {
        grid-template-columns: 1fr;
    }

    .financeiro-form-header,
    .financeiro-result-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 23px 20px;
    }

    #financeiroForm {
        padding: 23px 20px;
    }

    .financeiro-dynamic-fields {
        grid-template-columns: 1fr;
    }

    .financeiro-field.financeiro-field-full {
        grid-column: auto;
    }

    .financeiro-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .financeiro-clear-button,
    .financeiro-submit-button {
        width: 100%;
    }

    .financeiro-loading-card {
        min-height: 540px;
        padding: 35px 20px;
    }

    .financeiro-result-actions {
        width: 100%;
    }

    .financeiro-result-actions button {
        flex: 1;
    }

    .financeiro-result-highlight {
        margin: 20px 20px 0;
    }

    .financeiro-result-grid {
        grid-template-columns: 1fr;
        padding: 17px 20px;
    }

    .financeiro-action-plan {
        margin: 0 20px 20px;
    }

    .financeiro-result-disclaimer {
        padding: 16px 20px;
    }
}

@media (max-width: 420px) {
    .financeiro-identity {
        flex-direction: column;
    }

    .financeiro-assistant {
        grid-template-columns: 39px 1fr auto;
        padding: 10px;
    }

    .financeiro-assistant-icon {
        width: 39px;
        height: 39px;
    }
}

/* ==========================================================
   MODAIS NOVAFLOW (IDENTIFICAÇÃO & PAYWALL)
========================================================== */

.nf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.nf-modal-overlay[hidden] {
    display: none !important;
}

.nf-modal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.nf-modal-upgrade {
    max-width: 720px;
}

.nf-modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.nf-modal-header h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin: 0.5rem 0;
}

.nf-modal-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Grade de Planos no Paywall */
.nf-planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.nf-plano-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f8fafc;
    position: relative;
}

.nf-plano-destaque {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.nf-plano-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.nf-plano-card h4 {
    font-size: 1.25rem;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.nf-plano-preco {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.nf-plano-preco span {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.nf-plano-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.nf-plano-card ul li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nf-plano-card button {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 640px) {
    .nf-modal-card {
        padding: 1.5rem;
    }
}
/* ==========================================================
   CONVERSÃO APÓS A ANÁLISE FINANCEIRA
========================================================== */

.financeiro-conversion-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    margin-top: 28px;
    padding: 30px;
    border: 1px solid #dcd8ff;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at top right,
            rgba(124, 58, 237, 0.12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f7f8ff,
            #ffffff
        );
    box-shadow: 0 18px 45px rgba(37, 56, 105, 0.08);
}

.financeiro-conversion-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 17px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.25);
    font-size: 24px;
    font-weight: 800;
}

.financeiro-conversion-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #5b46e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.financeiro-conversion-content h3 {
    margin: 0 0 10px;
    color: #10172b;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}

.financeiro-conversion-content > p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.financeiro-conversion-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.financeiro-conversion-benefits span {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.financeiro-conversion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.financeiro-conversion-primary,
.financeiro-conversion-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.financeiro-conversion-primary {
    min-width: 250px;
    border: 1px solid #2563eb;
    color: #ffffff !important;
    background: #2563eb;
    box-shadow:
        0 12px 24px rgba(37, 99, 235, 0.22);
}

.financeiro-conversion-secondary {
    border: 1px solid #d7dce7;
    color: #172033;
    background: #ffffff;
    cursor: pointer;
}

.financeiro-conversion-primary:hover,
.financeiro-conversion-secondary:hover {
    transform: translateY(-2px);
}

.financeiro-conversion-content small {
    display: block;
    margin-top: 14px;
    color: #94a3b8;
    font-size: 11px;
}

@media (max-width: 640px) {
    .financeiro-conversion-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .financeiro-conversion-actions {
        flex-direction: column;
    }

    .financeiro-conversion-primary,
    .financeiro-conversion-secondary {
        width: 100%;
    }
}
/* ==========================================================
   CARD DE CONVERSÃO APÓS A ANÁLISE FINANCEIRA
========================================================== */

.financeiro-conversion-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding: 32px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at top right,
            rgba(124, 58, 237, 0.14),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #f8faff 0%,
            #ffffff 65%
        );
    box-shadow:
        0 20px 50px rgba(30, 41, 59, 0.09);
}

.financeiro-conversion-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );
    box-shadow:
        0 14px 30px rgba(79, 70, 229, 0.25);
    font-size: 25px;
    font-weight: 800;
}

.financeiro-conversion-content {
    min-width: 0;
}

.financeiro-conversion-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #5b46e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.financeiro-conversion-content h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.2;
}

.financeiro-conversion-content > p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.financeiro-conversion-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.financeiro-conversion-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 700;
}

.financeiro-conversion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.financeiro-conversion-primary,
.financeiro-conversion-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.financeiro-conversion-primary {
    border: 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );
    box-shadow:
        0 13px 28px rgba(79, 70, 229, 0.23);
}

.financeiro-conversion-secondary {
    border: 1px solid #d7dce7;
    color: #172033;
    background: #ffffff;
    cursor: pointer;
}


.financeiro-conversion-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 18px;
    line-height: 1;

    transition:
        transform 0.2s ease;
}

.financeiro-conversion-primary:hover
.financeiro-conversion-arrow {
    transform: translateX(4px);
}

.financeiro-conversion-primary:hover {
    color: #ffffff !important;
    border-color: #1d4ed8;
    background: #1d4ed8;
    box-shadow:
        0 16px 30px rgba(37, 99, 235, 0.3);
}

.financeiro-conversion-secondary:hover {
    border-color: #a5b4fc;
    box-shadow:
        0 10px 22px rgba(30, 41, 59, 0.08);
}

.financeiro-conversion-primary:focus-visible,
.financeiro-conversion-secondary:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.28);
    outline-offset: 3px;
}

.financeiro-conversion-note {
    display: block;
    margin-top: 15px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .financeiro-conversion-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .financeiro-conversion-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 22px;
    }

    .financeiro-conversion-actions {
        flex-direction: column;
    }

    .financeiro-conversion-primary,
    .financeiro-conversion-secondary {
        width: 100%;
    }
}

/* ==========================================================
   DADOS DA EMPRESA NO FORMULÁRIO FINANCEIRO
========================================================== */

.financeiro-company-fields {
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid #dfe5f1;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            #f8faff,
            #ffffff
        );
}

.financeiro-company-fields-header {
    margin-bottom: 22px;
}

.financeiro-company-fields-header h3 {
    margin: 7px 0 6px;
    color: #0f172a;
    font-size: 21px;
}

.financeiro-company-fields-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.financeiro-company-fields-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.financeiro-company-fields-grid
.financeiro-field-full {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .financeiro-company-fields {
        padding: 20px;
    }

    .financeiro-company-fields-grid {
        grid-template-columns: 1fr;
    }

    .financeiro-company-fields-grid
    .financeiro-field-full {
        grid-column: auto;
    }
}

/* ==========================================================
   BOTÃO DE FECHAR DO MODAL DE PLANOS
========================================================== */

.nf-modal-upgrade {
    position: relative;
}

.nf-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    padding: 0;
    border: 1px solid #dbe3ef;
    border-radius: 50%;

    color: #475569;
    background: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.08);

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.nf-modal-close:hover {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
    transform: rotate(90deg);
}

.nf-modal-close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .nf-modal-close {
        top: 12px;
        right: 12px;

        width: 40px;
        height: 40px;

        font-size: 27px;
    }
}

/* ==========================================================
   BENEFÍCIOS DOS PLANOS
========================================================== */

.nf-plano-beneficios {
    display: grid;
    gap: 14px;
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}

.nf-plano-beneficios li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
}

.nf-plano-beneficios li span {
    flex: 0 0 auto;
    color: #2563eb;
    font-weight: 800;
}

.nf-plano-beneficios-business {
    gap: 12px;
}

.nf-plano-destaque
.nf-plano-beneficios li {
    color: #24324a;
}

.nf-plano-destaque
.nf-plano-beneficios li span {
    color: #4f46e5;
}

/* ==========================================================
   CABEÇALHO COM AUTENTICAÇÃO — PÁGINA INICIAL
   Mantido no final para prevalecer sobre regras antigas.
========================================================== */

[hidden] {
    display: none !important;
}

.header .nav {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.header .brand {
    flex: 0 0 auto;
}

.header .nav-links {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.3vw, 34px);
    min-width: 0;
}

.header .nav-links a {
    white-space: nowrap;
    font-size: 15px;
}

.header .nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.header .nav-login,
.header .nav-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: #465269;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
}

.header .nav-login:hover,
.header .nav-logout:hover {
    color: var(--primary);
}

.header .nav-actions .button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .header .nav-links {
        gap: 18px;
    }

    .header .nav-links a {
        font-size: 14px;
    }

    .header .nav-actions .button {
        padding: 0 15px;
    }
}

@media (max-width: 950px) {
    .header .nav-links,
    .header .nav-actions {
        display: none;
    }

    .header .menu-button {
        display: block;
        margin-left: auto;
    }

    .header .nav.open {
        align-items: flex-start;
        padding: 20px 0;
        flex-wrap: wrap;
    }

    .header .nav.open .nav-links,
    .header .nav.open .nav-actions:not([hidden]) {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header .nav.open .nav-links a,
    .header .nav.open .nav-login,
    .header .nav.open .nav-logout,
    .header .nav.open .nav-actions .button {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }
}

/* ==========================================
   HERO — PRÉVIA DO DASHBOARD
   ========================================== */

.hero-dashboard-preview {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dashboard-glow {
  position: absolute;
  inset: 12% 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(75, 82, 238, 0.2),
    transparent 68%
  );
  filter: blur(8px);
}

.hero-dashboard-window {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  overflow: hidden;
  border: 1px solid rgba(213, 220, 238, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 30px 80px rgba(35, 52, 103, 0.18),
    0 8px 25px rgba(35, 52, 103, 0.08);
transform: none;}

.hero-dashboard-topbar {
  min-height: 74px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e8ecf4;
}

.hero-dashboard-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero-dashboard-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #315cf4, #7437f5);
  color: #ffffff;
  font-weight: 800;
}

.hero-dashboard-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-dashboard-brand strong {
  font-size: 14px;
}

.hero-dashboard-brand span {
  color: var(--muted);
  font-size: 11px;
}

.hero-dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #087d5c;
  font-size: 11px;
  font-weight: 700;
}

.hero-dashboard-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.hero-dashboard-content {
  min-height: 390px;
  display: grid;
  grid-template-columns: 125px 1fr;
}

.hero-dashboard-sidebar {
  min-height: 390px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-right: 1px solid #e8ecf4;
  background: #111a32;
}

.hero-dashboard-menu {
  padding: 10px 11px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 600;
}

.hero-dashboard-menu.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-dashboard-main {
  padding: 22px;
  background: #f6f8fc;
}

.hero-dashboard-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dashboard-heading span {
  color: #6b7790;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-dashboard-heading h3 {
  margin: 3px 0 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.hero-dashboard-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e7ecff;
  color: #315cf4 !important;
  font-size: 11px !important;
}

.hero-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-dashboard-metrics article {
  padding: 14px;
  border: 1px solid #e3e8f2;
  border-radius: 13px;
  background: #ffffff;
}

.hero-dashboard-metrics span,
.hero-dashboard-lower > article > span {
  display: block;
  margin-bottom: 8px;
  color: #71809b;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-dashboard-metrics strong {
  display: block;
  color: #10182f;
  font-size: 18px;
}

.hero-dashboard-metrics small {
  color: #7b879e;
  font-size: 9px;
}

.hero-dashboard-lower {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
}

.hero-dashboard-lower article {
  padding: 15px;
  border: 1px solid #e3e8f2;
  border-radius: 13px;
  background: #ffffff;
}

.hero-dashboard-memory > strong {
  display: block;
  color: #25304a;
  font-size: 11px;
  line-height: 1.5;
}

.hero-dashboard-alert {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9a5c00;
  font-size: 9px;
}

.hero-dashboard-alert span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff2d9;
  color: #b46a00;
  font-weight: 800;
}

.hero-dashboard-actions > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
}

.hero-dashboard-actions i {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #315cf4;
}

.hero-dashboard-actions p {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-dashboard-actions strong {
  font-size: 10px;
}

.hero-dashboard-actions small {
  color: #7b879e;
  font-size: 9px;
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(218, 224, 239, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 35px rgba(31, 45, 91, 0.14);
  backdrop-filter: blur(14px);
}

.hero-floating-card span {
  display: block;
  margin-bottom: 3px;
  color: #74809a;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-floating-card strong {
  font-size: 13px;
}

.hero-floating-card-top {
  top: 36px;
  right: -20px;
}

.hero-floating-card-bottom {
  bottom: 28px;
  left: -18px;
}

@media (max-width: 950px) {
  .hero-dashboard-preview {
    min-height: 490px;
  }

  .hero-dashboard-window {
    width: min(100%, 680px);
    transform: none;
  }
}


  .hero-floating-card {
    display: none;
  }
}

.hero-dashboard-plan {
  margin-top: auto;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: linear-gradient(
    145deg,
    rgba(82, 92, 226, 0.35),
    rgba(62, 73, 168, 0.18)
  );
}

.hero-dashboard-plan > span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-dashboard-plan strong {
  color: #ffffff;
  font-size: 11px;
}

.hero-dashboard-plan-progress {
  height: 4px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.hero-dashboard-plan-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #6c83ff,
    #8b6df7
  );
}

.hero-trust-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.hero-trust-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #dfe5ff;
  border-radius: 12px;
  background: #f4f6ff;
  color: #315cf4;
  font-size: 15px;
  font-weight: 800;
}

.hero-trust-item div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-trust-item strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
}

.hero-trust-item small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .hero-trust-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
}

.hero-dashboard-metrics .metric-card {
  display: flex;
  flex-direction: column;
}

.metric-line-chart {
  height: 34px;
  margin-top: 14px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.metric-line-chart span {
  width: 100%;
  min-width: 3px;
  border-radius: 999px 999px 2px 2px;
  background: currentColor;
  opacity: 0.75;
}

.metric-card-risk {
  color: #f28b16;
}

.metric-card-actions {
  color: #315cf4;
}

.metric-card-credits {
  color: #0aa36c;
}

.metric-card-risk strong,
.metric-card-actions strong,
.metric-card-credits strong {
  color: #10182f;
}

.metric-card-risk > span,
.metric-card-actions > span,
.metric-card-credits > span,
.metric-card-risk small,
.metric-card-actions small,
.metric-card-credits small {
  color: #71809b;
}
/* ==========================================
   HERO — ANIMAÇÃO DOS INDICADORES
   ========================================== */

.hero-dashboard-metrics .metric-card {
  opacity: 0;
  transform: translateY(14px);
  animation: heroMetricCardEnter 0.55s ease forwards;
}

.hero-dashboard-metrics .metric-card:nth-child(1) {
  animation-delay: 0.15s;
}

.hero-dashboard-metrics .metric-card:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-dashboard-metrics .metric-card:nth-child(3) {
  animation-delay: 0.45s;
}

.metric-line-chart span {
  transform: scaleY(0);
  transform-origin: bottom;
  animation: heroMetricBarGrow 0.65s ease forwards;
}

.metric-line-chart span:nth-child(1) {
  animation-delay: 0.35s;
}

.metric-line-chart span:nth-child(2) {
  animation-delay: 0.42s;
}

.metric-line-chart span:nth-child(3) {
  animation-delay: 0.49s;
}

.metric-line-chart span:nth-child(4) {
  animation-delay: 0.56s;
}

.metric-line-chart span:nth-child(5) {
  animation-delay: 0.63s;
}

.metric-line-chart span:nth-child(6) {
  animation-delay: 0.7s;
}

.metric-line-chart span:nth-child(7) {
  animation-delay: 0.77s;
}

@keyframes heroMetricCardEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMetricBarGrow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* Respeita usuários que desativam animações */
@media (prefers-reduced-motion: reduce) {
  .hero-dashboard-metrics .metric-card,
  .metric-line-chart span {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ==========================================
   HERO — CORES DOS INDICADORES
   ========================================== */

.metric-card-risk {
  border-color: #fed7aa !important;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fffaf3 100%
    ) !important;
}

.metric-card-risk > strong {
  color: #f97316 !important;
}

.metric-card-actions {
  border-color: #dbe4ff !important;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7f9ff 100%
    ) !important;
}

.metric-card-actions > strong {
  color: #315cf4 !important;
}

.metric-card-credits {
  border-color: #ccefe0 !important;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4fcf8 100%
    ) !important;
}

.metric-card-credits > strong {
  color: #0a9f68 !important;
}

.metric-card-risk .metric-line-chart span {
  background: #f59e0b;
}

.metric-card-actions .metric-line-chart span {
  background: #315cf4;
}

.metric-card-credits .metric-line-chart span {
  background: #10b981;
}

/* ==========================================
   HERO — GRÁFICO DE EVOLUÇÃO
   ========================================== */

.hero-dashboard-evolution {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #e3e8f2;
  border-radius: 13px;
  background: #ffffff;
}

.hero-dashboard-evolution-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hero-dashboard-evolution-header > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-dashboard-evolution-header span {
  color: #71809b;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-dashboard-evolution-header strong {
  color: #10182f;
  font-size: 12px;
}

.hero-dashboard-evolution-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.hero-dashboard-evolution-result strong {
  color: #0a9f68;
  font-size: 17px;
}

.hero-dashboard-chart {
  position: relative;
  height: 125px;
  margin-top: 14px;
}

.hero-dashboard-chart-grid {
  position: absolute;
  inset: 0 0 20px;
  background:
    linear-gradient(
      to bottom,
      rgba(113, 128, 155, 0.11) 1px,
      transparent 1px
    );
  background-size: 100% 25%;
  pointer-events: none;
}

.hero-dashboard-chart svg {
  position: absolute;
  inset: 0 0 20px;
  width: 100%;
  height: calc(100% - 20px);
  overflow: visible;
}

.hero-dashboard-chart-area {
  fill: url(#heroChartGradient);
  opacity: 0;
  animation: heroChartAreaEnter 0.9s ease 0.7s forwards;
}

.hero-dashboard-chart-line {
  fill: none;
  stroke: #315cf4;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: heroChartLineDraw 1.25s ease 0.45s forwards;
}

.hero-dashboard-chart-labels {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
}

.hero-dashboard-chart-labels span {
  color: #8a95aa;
  font-size: 8px;
  font-weight: 600;
}

@keyframes heroChartLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heroChartAreaEnter {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dashboard-chart-line {
    stroke-dashoffset: 0;
    animation: none;
  }

  .hero-dashboard-chart-area {
    opacity: 1;
    animation: none;
  }
}
/* ==========================================
   HERO — LOGO DO MOCKUP
   ========================================== */

.hero-dashboard-logo {
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
}
/* ==========================================
   HERO — ESPECIALISTAS ATIVOS
   ========================================== */

.hero-dashboard-specialists {
  padding: 15px;
  border: 1px solid #e3e8f2;
  border-radius: 13px;
  background: #ffffff;
}

.hero-dashboard-specialists-header {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dashboard-specialists-header > span {
  color: #71809b;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-dashboard-specialists-header > strong {
  color: #315cf4;
  font-size: 15px;
}

.hero-specialist-row {
  min-width: 0;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #edf0f5;
}

.hero-specialist-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-specialist-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 800;
}

.specialist-finance {
  background: #e8edff;
  color: #315cf4;
}

.specialist-commercial {
  background: #eafaf3;
  color: #079565;
}

.specialist-admin {
  background: #f2eaff;
  color: #7437f5;
}

.hero-specialist-row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-specialist-row strong {
  overflow: hidden;
  color: #10182f;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-specialist-row small {
  overflow: hidden;
  color: #7b879e;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-specialist-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
  animation: heroSpecialistPulse 1.8s ease-in-out infinite;
}

@keyframes heroSpecialistPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-specialist-status {
    animation: none;
  }
}

/* ==========================================
   HERO — NOTIFICAÇÕES FLUTUANTES
   ========================================== */

.hero-activity-card {
  position: absolute;
  z-index: 5;
  min-width: 190px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(218, 224, 239, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 42px rgba(31, 45, 91, 0.15);
  backdrop-filter: blur(14px);
  animation:
    heroActivityEnter 0.55s ease both,
    heroActivityFloat 4s ease-in-out infinite;
}

.hero-activity-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-activity-card strong {
  color: #10182f;
  font-size: 11px;
}

.hero-activity-card small {
  color: #74809a;
  font-size: 9px;
}

.hero-activity-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  font-size: 9px;
  font-weight: 800;
}

.hero-activity-icon-finance {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #315cf4,
    #7437f5
  );
}

.hero-activity-icon-success {
  color: #087d5c;
  background: #e7f9f1;
}

.hero-activity-progress {
  margin-top: 8px;
  display: flex;
  gap: 4px;
}

.hero-activity-progress span {
  width: 24px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e8f2;
}

.hero-activity-progress span:nth-child(-n + 3) {
  background: linear-gradient(
    90deg,
    #315cf4,
    #7437f5
  );
}

.hero-activity-card-top {
  top: 34px;
  right: -56px;
  animation-delay: 0.7s, 1.3s;
}

.hero-activity-card-bottom {
  bottom: 18px;
  left: -42px;
  animation-delay: 0.9s, 1.5s;
}

@keyframes heroActivityEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroActivityFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

@media (max-width: 1120px) {
  .hero-activity-card-top {
    right: -10px;
  }

  .hero-activity-card-bottom {
    left: -10px;
  }
}

@media (max-width: 760px) {
  .hero-activity-card {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-activity-card {
    animation: none;
  }
}

/* ==========================================
   HERO — AJUSTE DOS CARDS FLUTUANTES
   ========================================== */

.hero-dashboard-preview {
  overflow: visible;
}

.hero-grid {
  overflow: visible;
}

.hero {
  overflow: visible;
}

.hero-activity-card-top {
  top: 18px;
  right: -18px;
}

.hero-activity-card-bottom {
  bottom: 22px;
  left: -18px;
}

@media (max-width: 1180px) {
  .hero-activity-card-top {
    right: 10px;
  }

  .hero-activity-card-bottom {
    left: 10px;
  }
}

/* ==========================================
   HERO — POSIÇÃO FINAL DOS CARDS FLUTUANTES
   ========================================== */

.hero-dashboard-preview {
  position: relative;
  overflow: visible;
  padding: 22px 34px 28px 26px;
}

.hero-activity-card {
  min-width: 168px;
  max-width: 190px;
  padding: 12px 13px;
}

.hero-activity-card-top {
  top: 38px;
  right: 6px;
}

.hero-activity-card-bottom {
  bottom: 44px;
  left: 4px;
}

.hero-activity-progress span {
  width: 18px;
}

@media (max-width: 1180px) {
  .hero-activity-card-top {
    top: 28px;
    right: 18px;
  }

  .hero-activity-card-bottom {
    bottom: 34px;
    left: 18px;
  }
}
/* ==========================================
   HOME — CORREÇÃO RESPONSIVA DO HERO
   ========================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-grid,
.hero-content,
.hero-dashboard-preview {
  min-width: 0;
}

@media (max-width: 650px) {
  .container {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .hero {
    width: 100%;
    padding: 50px 0 64px;
    overflow: hidden;
  }

  .hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    max-width: 100%;
    padding: 8px 13px;
    font-size: 12px;
    white-space: normal;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 26px 0 18px;
    font-size: clamp(40px, 13vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .gradient-text {
    width: 100%;
  }

  .hero-description {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 0 16px;
    white-space: normal;
    text-align: center;
  }

  .hero-trust-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-trust-item {
    width: 100%;
  }

  /*
   * O painel é retirado do fluxo de largura.
   * Assim os 620 px internos não aumentam a página.
   */
  .hero-dashboard-preview {
    position: relative;
    width: 100%;
    height: 390px;
    min-height: 390px;
    margin: 8px 0 0;
    padding: 0;
    overflow: hidden;
  }

  .hero-dashboard-window {
    position: absolute;
    top: 0;
    left: 50%;
    width: 620px;
    max-width: none;
    margin: 0;
    transform:
      translateX(-50%)
      scale(0.54);
    transform-origin: top center;
  }

  .hero-dashboard-glow {
    inset: 5%;
  }

  .hero-activity-card {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-dashboard-window {
    transform:
      translateX(-50%)
      scale(0.49);
  }

  .hero-dashboard-preview {
    height: 355px;
    min-height: 355px;
  }
}

/* ==========================================
   PLANOS NOVAFLOW FINANCEIRO
   ========================================== */

.pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 74, 240, 0.09), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.pricing .section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.pricing .section-heading p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.pricing-explanation {
  max-width: 960px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-explanation-item {
  min-width: 0;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #e1e6f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(25, 42, 90, 0.07);
}

.pricing-explanation-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border-radius: 13px;
  background: #eef2ff;
  font-size: 20px;
}

.pricing-explanation-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 15px;
}

.pricing-explanation-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  min-width: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dfe5ef;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(25, 42, 90, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5f0;
  box-shadow: 0 26px 60px rgba(25, 42, 90, 0.13);
}

.pricing-card-featured {
  border: 2px solid #315cf4;
  box-shadow: 0 24px 65px rgba(49, 92, 244, 0.18);
}

.pricing-recommended {
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 2;
  padding: 7px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #315cf4, #7437f5);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-card-header {
  min-height: 165px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f0f3ff;
  color: #315cf4;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pricing-card-header h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pricing-card-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pricing-price {
  min-height: 76px;
  margin: 26px 0 18px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--text);
}

.pricing-price > span {
  margin-top: 10px;
  color: #647089;
  font-size: 16px;
  font-weight: 700;
}

.pricing-price > strong {
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.pricing-price-details {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.pricing-price-details sup {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.pricing-price-details small {
  margin-top: 8px;
  color: #78849a;
  font-size: 12px;
  font-weight: 600;
}

.pricing-price-custom {
  align-items: center;
}

.pricing-price-custom strong {
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-usage {
  margin-bottom: 23px;
  padding: 16px;
  border: 1px solid #dfe6f5;
  border-radius: 15px;
  background: #f8faff;
}

.pricing-usage > span {
  display: block;
  margin-bottom: 4px;
  color: #738099;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pricing-usage > strong {
  display: block;
  color: #263451;
  font-size: 15px;
}

.pricing-usage > small {
  display: block;
  margin-top: 3px;
  color: #78849a;
  font-size: 11px;
}

.pricing-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 27px;
  color: #3e4960;
  font-size: 14px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f8f1;
  color: #087d5c;
  font-size: 11px;
  font-weight: 900;
}

.pricing-button {
  width: 100%;
  margin-top: auto;
}

.pricing-card-featured .pricing-usage {
  border-color: #d6dfff;
  background: linear-gradient(145deg, #f7f9ff, #eef2ff);
}

.pricing-card-featured .pricing-badge {
  background: #e8edff;
}

.pricing-disclaimer {
  max-width: 860px;
  margin: 30px auto 0;
  color: #68758d;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .pricing-card-header {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .pricing-explanation {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-price > strong {
    font-size: 48px;
  }
}

/* ==========================================
   COMO FUNCIONA — NOVAFLOW
   ========================================== */

.workflow {
  position: relative;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(49, 92, 244, 0.07),
      transparent 32%
    ),
    #ffffff;
}

.workflow .section-heading {
  max-width: 820px;
}

.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.workflow-grid::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      #dce4ff,
      #315cf4,
      #7437f5,
      #dce4ff
    );
  opacity: 0.55;
  z-index: 0;
}

.workflow-card {
  position: relative;
  z-index: 1;
  min-height: 250px;
  padding: 28px 24px;
  border: 1px solid #e2e7f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 14px 36px rgba(31, 45, 91, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.workflow-card:hover {
  transform: translateY(-6px);
  border-color: #ccd7ff;
  box-shadow:
    0 22px 48px rgba(31, 45, 91, 0.12);
}

.workflow-number {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 7px solid #ffffff;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #315cf4,
      #7437f5
    );
  color: #ffffff;
  box-shadow:
    0 10px 25px rgba(49, 92, 244, 0.24);
  font-size: 21px;
  font-weight: 800;
}

.workflow-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid::before {
    display: none;
  }
}

@media (max-width: 650px) {
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .workflow-card {
    min-height: auto;
  }
}

/* ==========================================
   CADASTRO — NOVAFLOW
   ========================================== */

.signup-page {
  min-height: 100vh;
  background: #f5f7fb;
}

.signup-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.signup-brand-panel {
  position: relative;
  padding: 54px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #315cf4,
      #7437f5
    );
}

.signup-brand-panel::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.signup-brand {
  position: relative;
  z-index: 2;
  width: fit-content;
}

.signup-brand .brand-name {
  color: #ffffff;
}

.signup-brand-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-top: auto;
  margin-bottom: auto;
}

.signup-brand-content h1 {
  max-width: 560px;
  margin: 26px 0 20px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.signup-brand-content > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.signup-benefits {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.signup-benefits li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 38px;
  font-size: 16px;
  font-weight: 700;
}

.signup-benefits li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14px;
}

.signup-form-panel {
  padding: 48px;
  display: grid;
  place-items: center;
}

.signup-card {
  width: min(590px, 100%);
  padding: 48px;
  border: 1px solid #e1e6f0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(25, 42, 90, 0.11);
}

.signup-card h2 {
  margin: 20px 0 8px;
  color: var(--text);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.signup-subtitle {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

#signupForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#signupForm label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

#signupForm input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #dce2ec;
  border-radius: 13px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#signupForm input::placeholder {
  color: #9aa6bc;
}

#signupForm input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(49, 92, 244, 0.1);
}

.signup-submit {
  width: 100%;
  margin-top: 8px;
}

.signup-message {
  min-height: 22px;
  margin: 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.signup-login-link {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.signup-login-link a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 980px) {
  .signup-shell {
    grid-template-columns: 1fr;
  }

  .signup-brand-panel {
    min-height: 440px;
  }

  .signup-form-panel {
    padding: 40px 24px 60px;
  }
}

@media (max-width: 650px) {
  .signup-brand-panel {
    min-height: auto;
    padding: 30px 22px 42px;
  }

  .signup-brand-content {
    margin-top: 70px;
  }

  .signup-brand-content h1 {
    font-size: 44px;
  }

  .signup-brand-content > p {
    font-size: 16px;
  }

  .signup-form-panel {
    padding: 24px 14px 48px;
  }

  .signup-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .signup-card h2 {
    font-size: 34px;
  }
}
/* ==========================================
   CHECKOUT — NOVAFLOW
   ========================================== */

.checkout-page {
  min-height: 100vh;
  background: #f5f7fb;
}

.checkout-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.checkout-summary {
  position: relative;
  padding: 54px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 85%,
      rgba(116, 55, 245, 0.12),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #f7f9ff,
      #eef2ff
    );
}

.checkout-brand {
  position: relative;
  z-index: 2;
  width: fit-content;
}

.checkout-summary-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: auto 0;
}

.checkout-summary-content h1 {
  margin: 22px 0 14px;
  color: var(--text);
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.checkout-summary-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.checkout-plan-card {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #dfe5f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(25, 42, 90, 0.08);
}

.checkout-plan-price {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.checkout-plan-price span {
  margin-top: 9px;
  color: #647089;
  font-size: 15px;
  font-weight: 700;
}

.checkout-plan-price strong {
  color: var(--text);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.checkout-plan-price small {
  margin-top: 18px;
  color: #78849a;
  font-size: 12px;
}

.checkout-plan-capacity {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f5;
}

.checkout-plan-capacity span {
  display: block;
  color: #738099;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.checkout-plan-capacity strong {
  display: block;
  margin-top: 4px;
  color: #263451;
  font-size: 15px;
}

.checkout-plan-capacity small {
  display: block;
  margin-top: 3px;
  color: #78849a;
  font-size: 11px;
}

.checkout-benefits {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-benefits li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 28px;
  color: #3e4960;
  font-size: 14px;
}

.checkout-benefits li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f8f1;
  color: #087d5c;
  font-size: 11px;
  font-weight: 900;
}

.checkout-payment {
  padding: 48px;
  display: grid;
  place-items: center;
}

.checkout-card {
  width: min(620px, 100%);
  padding: 48px;
  border: 1px solid #e1e6f0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(25, 42, 90, 0.11);
}

.checkout-card h2 {
  margin: 20px 0 8px;
  color: var(--text);
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.checkout-subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.checkout-customer-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-customer-data > div {
  padding: 15px;
  border: 1px solid #e3e8f2;
  border-radius: 14px;
  background: #f9fbff;
}

.checkout-customer-data span {
  display: block;
  margin-bottom: 5px;
  color: #7a879e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.checkout-customer-data strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-total {
  margin: 28px 0 20px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.checkout-total span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.checkout-total strong {
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.checkout-payment-button {
  width: 100%;
}

.checkout-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.checkout-security {
  margin-top: 20px;
  color: #8a95aa;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 980px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    min-height: 520px;
  }

  .checkout-payment {
    padding: 40px 24px 60px;
  }
}

@media (max-width: 650px) {
  .checkout-summary {
    min-height: auto;
    padding: 30px 22px 42px;
  }

  .checkout-summary-content {
    margin-top: 60px;
  }

  .checkout-summary-content h1 {
    font-size: 42px;
  }

  .checkout-payment {
    padding: 24px 14px 48px;
  }

  .checkout-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .checkout-customer-data {
    grid-template-columns: 1fr;
  }
}
