/* ==========================================================================
   style_additions.css — Estilos de franquianossa.com.br
   Carregado APÓS style.css (base). Sobrescreve e estende conforme necessário.
   ========================================================================== */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────────────────── */

:root {
  --brand:       #1A5FD4;
  --brand-dark:  #0E3E9A;
  --brand-light: #DCEEFF;
  --brand-mid:   #2D74E7;
  --green:       #16A34A;
  --green-light: #D1FAE5;
  --navy:        #06173B;
  --navy-mid:    #0D2560;
  --slate:       #334155;
  --muted:       #64748B;
  --border:      #DCE6F5;
  --surface:     #F5F8FD;
  --white:       #ffffff;
  --shadow-sm:   0 4px 12px rgba(15,23,42,0.06);
  --shadow-md:   0 12px 36px rgba(15,23,42,0.10);
  --shadow-lg:   0 24px 60px rgba(15,23,42,0.14);
  --shadow-xl:   0 40px 90px rgba(15,23,42,0.18);
  --shadow-brand:0 20px 60px rgba(26,95,212,0.30);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   24px;
  --radius-full: 999px;
}


/* ── NAV BUTTONS ────────────────────────────────────────────────────────────── */

.nav-login {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-login:hover { color: #fff; }

.nav-register {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand), #3B82F6);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(26,95,212,0.35);
}
.nav-register:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}


/* ── HERO ───────────────────────────────────────────────────────────────────── */

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-text { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(220,238,255,0.14);
  border: 1px solid rgba(220,238,255,0.28);
  font-size: 13px;
  font-weight: 600;
  color: #BDD9FF;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero-headline {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 0;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: #C4D8F5;
  line-height: 1.68;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  align-items: center;
}

.hero-link-secondary {
  font-size: 15px;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.hero-link-secondary:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.hero-stats {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  min-width: 90px;
}

.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #9EC2F0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-visual { display: flex; justify-content: flex-end; }

.btn-lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
}


/* ── APP MOCKUP BASE ────────────────────────────────────────────────────────── */

.app-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 40px 90px rgba(2,6,23,0.45), 0 0 0 1px rgba(255,255,255,0.05);
}

.app-mockup--hero  { max-width: 500px; }
.app-mockup--full  { max-width: 100%; }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #181F2E;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-dot.red    { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green  { background: #28CA41; }

.mockup-url {
  flex: 1;
  background: #252D40;
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 10.5px;
  color: #7A8BA8;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.mockup-body {
  display: flex;
  background: #F0F4FB;
  min-height: 280px;
}

/* Full-panel tab mockup bodies */
.app-mockup--full .mockup-body { min-height: 340px; }


/* ── SIDEBAR ────────────────────────────────────────────────────────────────── */

.mockup-sidebar {
  width: 120px;
  background: #071A3E;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 14px 8px 10px;
  flex-shrink: 0;
}

.msidebar-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 8px;
}

.msidebar-logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), #3B82F6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.msidebar-logo-text {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  cursor: default;
  transition: background 0.15s;
}

.mockup-nav-item.active {
  background: rgba(255,255,255,0.11);
}

.mnav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.35);
}
.mockup-nav-item.active .mnav-icon { color: #7ABAFF; }

.mnav-svg { display: block; }

.mnav-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-nav-item.active .mnav-label { color: #D4ECFF; font-weight: 600; }

.msidebar-spacer {
  flex: 1;
}

.msidebar-user {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 6px 2px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.msidebar-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #16A34A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.msidebar-uname {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ── TOPBAR INTERNO ─────────────────────────────────────────────────────────── */

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  background: var(--white);
  border-bottom: 1px solid #EBF0FA;
  flex-shrink: 0;
}

.mtopbar-title {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.mtopbar-sub {
  font-size: 9px;
  color: #94A3B8;
  margin-top: 1px;
}

.mtopbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mtopbar-bell {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtopbar-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #16A34A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}


/* ── CONTENT AREA ───────────────────────────────────────────────────────────── */

.mockup-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.mockup-content-area {
  flex: 1;
  padding: 14px;
  overflow: hidden;
}


/* ── KPI CARDS ──────────────────────────────────────────────────────────────── */

.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mockup-kpi-row--two { grid-template-columns: repeat(2, 1fr); }

.mockup-kpi {
  background: var(--white);
  border: 1px solid #E8EFFA;
  border-radius: 9px;
  padding: 10px 10px 9px;
  border-top: 3px solid #E8EFFA;
}

.kpi-blue   { border-top-color: var(--brand); }
.kpi-red    { border-top-color: #DC2626; }
.kpi-green  { border-top-color: var(--green); }

.mkpi-label {
  display: block;
  font-size: 9px;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.mkpi-val-text {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1;
}

.mkpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 700;
  margin-top: 4px;
}
.mkpi-trend.up   { color: var(--green); }
.mkpi-trend.down { color: #DC2626; }


/* ── CHART ──────────────────────────────────────────────────────────────────── */

.mockup-chart-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

.mockup-chart {
  background: var(--white);
  border: 1px solid #E8EFFA;
  border-radius: 9px;
  padding: 10px;
}

.mockup-chart-title {
  font-size: 9px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 85px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.bar-val {
  font-size: 7.5px;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}
.bar-col.active-col .bar-val { color: var(--brand); }

.bar {
  width: 100%;
  background: #DCEBFF;
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
}
.bar.active { background: var(--brand); }

.bar-label {
  font-size: 8px;
  color: #94A3B8;
  margin-top: 3px;
  white-space: nowrap;
}

/* Legacy bar-wrap support */
.bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}


/* ── SIDE LIST ──────────────────────────────────────────────────────────────── */

.mockup-side-list {
  background: var(--white);
  border: 1px solid #E8EFFA;
  border-radius: 9px;
  padding: 10px;
}

.mside-title {
  font-size: 8.5px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.mside-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  border-bottom: 1px solid #F4F7FE;
}
.mside-item:last-child { border-bottom: none; padding-bottom: 0; }

.mside-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.green-dot  { background: var(--green); }
.blue-dot   { background: var(--brand); }
.yellow-dot { background: #F59E0B; }

.mside-name { font-size: 10px; color: var(--slate); flex: 1; font-weight: 500; }
.mside-val  { font-size: 9.5px; font-weight: 700; color: #059669; }


/* ── SIMULADOR ──────────────────────────────────────────────────────────────── */

.sim-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
}

.sim-form-rich {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sim-field-rich {}

.sim-flabel {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.sim-finput {
  height: 30px;
  background: #F8FAFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 11px;
  color: #0F172A;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 9px;
}

.sim-select { color: #475569; justify-content: space-between; }

.sim-calc-btn {
  height: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(26,95,212,0.30);
}

.sim-result-rich {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sim-result-header {
  font-size: 9px;
  font-weight: 800;
  color: #064E3B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #D1FAE5;
}

.sim-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #D1FAE5;
}
.sim-metric:last-of-type { border-bottom: none; }

.sim-metric-label { font-size: 10px; color: #065F46; }
.sim-metric-val   { font-size: 11.5px; font-weight: 800; color: #0F172A; }

.green-val   { color: #059669; }
.orange-val  { color: #D97706; }
.red-val     { color: #DC2626; }

.sim-projection-bar {
  height: 7px;
  background: #D1FAE5;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 6px;
}
.sim-proj-fill {
  height: 100%;
  background: linear-gradient(90deg, #22C55E, #16A34A);
  border-radius: var(--radius-full);
}
.sim-proj-label {
  font-size: 8.5px;
  color: #64748B;
  text-align: center;
  margin-top: 4px;
}


/* ── ERP ────────────────────────────────────────────────────────────────────── */

.erp-outer { padding: 14px; }

.erp-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.erp-kpi-item {
  background: #F8FAFF;
  border: 1px solid #E8EFFA;
  border-radius: 8px;
  padding: 9px 10px;
}

.erp-kpi-label {
  display: block;
  font-size: 8px;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.erp-kpi-val {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #0F172A;
}

.erp-table-rich { width: 100%; }

.erp-thead-rich {
  display: flex;
  padding: 5px 8px 7px;
  border-bottom: 2px solid #E2ECFF;
  margin-bottom: 2px;
}

.erp-th-cell {
  flex: 1;
  font-size: 8.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.erp-row-rich {
  display: flex;
  padding: 6px 8px;
  align-items: center;
  border-radius: 5px;
}
.erp-row-rich:nth-child(odd) { background: #F8FAFF; }
.erp-total-row {
  border-top: 2px solid var(--brand);
  margin-top: 4px;
  border-radius: 0;
  background: transparent !important;
}

.erp-td-cell {
  flex: 1;
  font-size: 10px;
  color: var(--slate);
}

.bold-cell { font-weight: 800; color: #0F172A; }

.erp-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.green-status  { background: #D1FAE5; color: #065F46; }
.orange-status { background: #FEF3C7; color: #92400E; }
.red-status    { background: #FEE2E2; color: #991B1B; }


/* ── CHAT ───────────────────────────────────────────────────────────────────── */

.chat-outer {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 9px;
  background: var(--white);
  border-bottom: 1px solid #EBF0FA;
  flex-shrink: 0;
}

.chat-header-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #16A34A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.chat-header-info { flex: 1; }

.chat-header-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
}

.chat-header-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #64748B;
  margin-top: 1px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

.chat-window-rich {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  overflow: hidden;
  background: #F8FAFF;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.bot-msg  {}
.user-msg { flex-direction: row-reverse; }

.chat-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  flex-shrink: 0;
}
.bot-av  { background: linear-gradient(135deg, var(--brand), #16A34A); color: #fff; }
.user-av { background: var(--brand); color: #fff; }

.chat-bubble-rich {
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.65;
  max-width: 80%;
}

.bot-bubble {
  background: var(--white);
  border: 1px solid #E2ECFF;
  border-radius: 2px 12px 12px 12px;
  color: #1E293B;
}

.user-bubble {
  background: var(--brand);
  border-radius: 12px 2px 12px 12px;
  color: #fff;
}

.chat-bubble-rich strong { font-weight: 800; }
.bot-bubble strong  { color: #0F172A; }
.user-bubble strong { color: #fff; }

.chat-input-rich {
  display: flex;
  gap: 7px;
  padding: 9px 12px;
  background: var(--white);
  border-top: 1px solid #EBF0FA;
  flex-shrink: 0;
  align-items: center;
}

.chat-input-box {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 10px;
  color: #94A3B8;
  display: flex;
  align-items: center;
}

.chat-send-rich {
  width: 30px;
  height: 30px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}


/* ── MOCKUP BODY VARIANTS ───────────────────────────────────────────────────── */

.mockup-body--padded {
  padding: 14px;
  flex-direction: column;
}

.mockup-body--chat { flex-direction: column; }

.mockup-page-title {
  font-size: 12px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 11px;
}

.mockup-subtitle {
  font-size: 10px;
  font-weight: 400;
  color: #94A3B8;
  margin-left: 6px;
}


/* ── SOCIAL PROOF BAR ────────────────────────────────────────────────────────── */

.social-proof-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.social-proof-bar .container {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-label {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 500;
  white-space: nowrap;
}

.proof-logos {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}

.brand-logo {
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.brand-logo:hover { color: var(--brand); }


/* ── SECTION HEADER ─────────────────────────────────────────────────────────── */

.section-header {
  max-width: 720px;
  text-align: center;
  margin: 0 auto 52px;
}

.section-header--light .section-title { color: var(--white); }
.section-header--light .section-sub   { color: #9EC2F0; }

.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0F172A;
}

.section-sub {
  margin-top: 14px;
  color: #475569;
  font-size: 17px;
  line-height: 1.68;
}


/* ── FEATURES ────────────────────────────────────────────────────────────────── */

.features { padding: 96px 0; background: var(--surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #3B82F6);
  opacity: 0;
  transition: opacity 0.22s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-desc {
  color: #475569;
  font-size: 15px;
  line-height: 1.72;
}


/* ── COMO FUNCIONA (STEPS) ──────────────────────────────────────────────────── */

.how-it-works { padding: 96px 0; background: var(--white); }

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  text-align: center;
  padding: 28px 28px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.step-arrow {
  font-size: 28px;
  color: #CBD5E1;
  padding-top: 56px;
  flex-shrink: 0;
  line-height: 1;
}

.step-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #0F172A;
}

.step-desc {
  color: #475569;
  font-size: 15px;
  line-height: 1.68;
}


/* ── PRODUTO EM AÇÃO (TABS) ──────────────────────────────────────────────────── */

.product-in-action { padding: 96px 0; background: var(--navy); }

.product-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.14);
  color: #8AA8CF;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  font-family: inherit;
}
.tab-btn:hover:not(.active) {
  background: rgba(255,255,255,0.07);
  color: #fff;
  transform: translateY(-1px);
}
.tab-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(26,95,212,0.40);
}

.product-panels { max-width: 900px; margin: 0 auto; }
.product-panel  { display: none; }
.product-panel.active { display: block; }
.product-panel .app-mockup { max-width: 100%; border-radius: var(--radius-lg); }


/* ── DEPOIMENTOS ─────────────────────────────────────────────────────────────── */

.testimonials { padding: 96px 0; background: var(--surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.78;
  color: #1E293B;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.av-blue   { background: linear-gradient(135deg, #1A5FD4, #3B82F6); }
.av-green  { background: linear-gradient(135deg, #16A34A, #22C55E); }
.av-purple { background: linear-gradient(135deg, #7C3AED, #A78BFA); }

.author-info strong { display: block; font-size: 15px; color: #0F172A; font-weight: 700; }
.author-info span   { font-size: 13px; color: #64748B; }


/* ── PLANOS (pricing) ─────────────────────────────────────────────────────────── */

.pricing { padding: 96px 0; background: var(--white); }

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.billing-label {
  font-size: 15px;
  font-weight: 600;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.billing-active { color: #0F172A; }

.annual-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--green-light);
  color: #065F46;
  border-radius: var(--radius-full);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: var(--radius-full);
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
  padding: 0;
  flex-shrink: 0;
}
.toggle-switch.is-annual { background: var(--brand); }

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.22);
  transition: transform 0.25s;
}
.toggle-switch.is-annual .toggle-knob { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.pricing-card--featured {
  background: linear-gradient(160deg, #0F48B8, #1A5FD4, #2470E8);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-3px); }

.pricing-card--enterprise {
  background: #F8FAFF;
  border-color: #C8D8F0;
}
/* Variantes de card por plano */
.pricing-card--essencial {
  background: var(--white);
  border-color: var(--border);
}
.pricing-card--executivo {
  background: #F8FAFF;
  border-color: #C8D8F0;
}

.plan-badge {
  display: inline-flex;
  background: rgba(255,255,255,0.20);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.plan-for {
  font-size: 12.5px;
  color: #64748B;
  margin-bottom: 10px;
  line-height: 1.5;
}
.pricing-card--featured .plan-for { color: rgba(255,255,255,0.65); }

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.pricing-card--featured .plan-name { color: var(--white); }

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.7;
}
.price-amount {
  font-size: 52px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-freq {
  font-size: 15px;
  color: #64748B;
  padding-bottom: 7px;
}

.pricing-card--featured .price-currency,
.pricing-card--featured .price-amount { color: var(--white); }
.pricing-card--featured .price-freq   { color: rgba(255,255,255,0.60); }

.plan-period {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 2px;
}
.pricing-card--featured .plan-period { color: rgba(255,255,255,0.55); }

.plan-annual-note {
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  margin-top: 4px;
}
.pricing-card--featured .plan-annual-note { color: rgba(255,255,255,0.82); }

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.pricing-card--featured .plan-divider { border-top-color: rgba(255,255,255,0.18); }

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.5;
}
.pricing-card--featured .plan-features li { color: rgba(255,255,255,0.88); }

.check-icon { flex-shrink: 0; margin-top: 1px; }

.feature-locked { opacity: 0.40; }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  font-weight: 600;
}
.btn-outline:hover { background: #EEF4FF; }

.btn-white {
  background: var(--white);
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.btn-white:hover { background: #F0F5FF; }

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-enterprise { }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: #94A3B8;
  margin-top: 32px;
}


/* ── CONTACT ─────────────────────────────────────────────────────────────────── */

.contact-section { padding: 96px 0; background: var(--surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-text .section-title { text-align: left; font-size: clamp(22px, 3.5vw, 36px); }
.contact-text .section-sub   { text-align: left; }

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.contact-perk {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-perk span {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-errors { margin-bottom: 16px; }

.form-error-msg {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

.required { color: #E53E3E; }

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  font: inherit;
  font-size: 15px;
  color: #0F172A;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26,95,212,0.10);
}
.form-input::placeholder { color: #94A3B8; }

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group:last-child { margin-bottom: 0; }


/* ── CTA FINAL ────────────────────────────────────────────────────────────────── */

.cta-final {
  padding: 104px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy) 100%);
}

.cta-final-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-final-headline {
  color: var(--white);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 18px;
}

.cta-final-sub {
  color: #A8BCDF;
  font-size: 18px;
  margin-bottom: 38px;
  line-height: 1.62;
}

.btn-cta-hero {
  font-size: 17px;
  min-height: 60px;
  padding: 0 44px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.cta-final-link {
  display: block;
  margin-top: 22px;
  color: #7BA8E0;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cta-final-link:hover { color: var(--white); }

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #7E99C0;
  font-weight: 500;
}

.cta-trust-item::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%2322C55E' stroke-width='1.5'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%2322C55E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}


/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero-grid           { grid-template-columns: 1fr; }
  .hero-visual         { display: none; }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card--featured:hover { transform: translateY(-3px); }

  .contact-grid        { grid-template-columns: 1fr; }
  .steps-row           { flex-direction: column; align-items: center; }
  .step-arrow          { transform: rotate(90deg); padding: 0; }
  .step                { max-width: 400px; }
}

@media (max-width: 768px) {
  .features             { padding: 64px 0; }
  .features-grid        { grid-template-columns: 1fr; }
  .how-it-works         { padding: 64px 0; }
  .product-in-action    { padding: 64px 0; }
  .testimonials         { padding: 64px 0; }
  .testimonials-grid    { grid-template-columns: 1fr; }
  .pricing              { padding: 64px 0; }
  .contact-section      { padding: 64px 0; }
  .cta-final            { padding: 72px 0; }

  .section-title        { font-size: 26px; }
  .section-sub          { font-size: 16px; }

  .tab-btn              { font-size: 13px; padding: 8px 16px; }
  .hero-ctas            { flex-direction: column; }
  .hero-ctas .btn       { width: 100%; justify-content: center; text-align: center; }
  .hero-link-secondary  { text-align: center; }
  .form-row             { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
  .cta-final-headline   { font-size: 32px; }
  .btn-cta-hero         { font-size: 15px; min-height: 54px; padding: 0 28px; }

  .step-num             { width: 38px; height: 38px; font-size: 14px; }
  .price-amount         { font-size: 44px; }

  .erp-kpi-strip        { grid-template-columns: repeat(2, 1fr); }
  .mockup-kpi-row       { grid-template-columns: repeat(2, 1fr); }
  .mockup-chart-row     { grid-template-columns: 1fr; }
  .sim-outer            { grid-template-columns: 1fr; }

  .cta-trust            { gap: 16px; }
}

/* ============================================================
   VÍDEO — PLATAFORMA EM AÇÃO
============================================================ */
.video-showcase {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(180deg, #F5F8FD 0%, #EAF1FF 100%);
}
.video-showcase .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.video-showcase .section-tag {
  background: var(--blue-soft, #DCEBFF);
  color: var(--blue-dark, #154AA6);
}
.video-frame {
  max-width: 940px;
  margin: 0 auto;
  background: #0B2458;
  border-radius: var(--radius-xl, 28px);
  box-shadow: var(--shadow-strong, 0 30px 80px rgba(2, 6, 23, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.video-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: #071C46;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.video-frame-bar .mockup-url {
  margin-left: 12px;
  color: #7E9BD0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.video-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
  object-fit: contain;
}
.video-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.video-cta-note {
  color: var(--text-soft, #475569);
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .video-showcase   { padding: 56px 0; }
  .video-frame      { border-radius: 16px; }
  .video-frame-bar  { padding: 10px 14px; }
}


/* ============================================================
   APP SCREENSHOTS (substituem os mockups em CSS no hero e no #produto)
============================================================ */
.mockup-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}
