:root {
  /* Zona escura (navbar, hero, menu lateral, rodapé, CTA final) */
  --dark-bg: #14161A;
  --dark-surface: #1B1E23;
  --dark-surface-2: #24282F;
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-text: #E8EAED;
  --dark-text-muted: #9AA3AD;

  /* Zona clara (demais seções) */
  --page-bg: #ffffff;
  --section-alt: #F6F7F9;
  --card-bg: #ffffff;
  --card-alt: #F6F7F9;
  --border: #E2E5EA;
  --text: #1C2128;
  --text-muted: #5B6470;

  /* Acentos (compartilhados) */
  --accent: #2B4C5C;
  --accent-deep: #1B3541;
  --accent-hover: #3a6478;
  --accent-2: #0a7272;
  --accent-soft: rgba(43, 76, 92, 0.08);
  --accent-soft-2: rgba(43, 76, 92, 0.12);
  --success: #12773f;
  --success-soft: rgba(21, 138, 77, 0.08);
  --danger: #C23B3B;
  --danger-soft: rgba(194, 59, 59, 0.08);

  --shadow-card: 0 10px 26px -12px rgba(20, 22, 26, 0.12);
  --shadow-card-lg: 0 20px 45px -20px rgba(20, 22, 26, 0.18);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #6FA8B5 0%, #6FA8B5 50%, #C5DDE3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(43, 76, 92, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow: 0 6px 25px rgba(43, 76, 92, 0.45);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(43, 76, 92, 0.3);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow: 0 6px 25px rgba(43, 76, 92, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero .btn-outline,
.cta-final .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dark-text);
  border: 1px solid var(--dark-border);
}

.hero .btn-outline:hover,
.cta-final .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
  color: var(--dark-text);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo svg {
  height: 52px;
  width: auto;
}

.navbar-trust {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-text-muted);
  white-space: nowrap;
}

.navbar-trust-dot {
  color: var(--accent);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.navbar-cta {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 3px 10px rgba(43, 76, 92, 0.3);
  white-space: nowrap;
}

.navbar-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
}

@media (min-width: 560px) {
  .navbar-cta {
    display: inline-flex;
  }
}

@media (min-width: 900px) {
  .navbar-trust {
    display: flex;
  }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  color: var(--dark-text);
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.menu-toggle[aria-expanded="true"] {
  color: #ffffff;
  border-color: rgba(43, 76, 92, 0.5);
  background: rgba(43, 76, 92, 0.25);
}

/* Backdrop atrás do menu lateral em telas menores */
.side-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 22, 0.55);
  backdrop-filter: blur(2px);
  z-index: 899;
}

.side-nav-backdrop.open {
  display: block;
}

/* Menu lateral (navegação principal) */
.side-nav {
  display: none;
  position: fixed;
  left: 16px;
  top: 80px;
  z-index: 900;
  flex-direction: column;
  gap: 2px;
  width: min(260px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: rgba(20, 22, 26, 0.98);
  color: var(--dark-text);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 10px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px -15px rgba(8, 12, 22, 0.5);
}

.side-nav.open {
  display: flex;
}

.side-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 10px;
}

.side-nav-brand svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.side-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.side-nav-brand-text strong {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-text);
}

.side-nav-brand-text em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6FA8B5;
}

.side-nav-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 2px 6px 8px;
}

.side-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 3px 10px rgba(43, 76, 92, 0.35);
}

.side-nav-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
}

.side-nav a[data-section] {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-text-muted);
  padding: 9px 14px 9px 22px;
  border-radius: 8px;
  white-space: nowrap;
}

.side-nav a[data-section]::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dark-border);
  transition: var(--transition);
}

.side-nav a[data-section]:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.side-nav a[data-section].active {
  color: #6FA8B5;
  background: rgba(43, 76, 92, 0.16);
}

.side-nav a[data-section].active::before {
  background: #6FA8B5;
  box-shadow: 0 0 6px rgba(111, 168, 181, 0.7);
}

@media (min-width: 1360px) {
  .menu-toggle,
  .side-nav-backdrop {
    display: none !important;
  }

  .side-nav {
    display: flex;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-height: none;
    overflow: visible;
    background: rgba(20, 22, 26, 0.97);
  }

  /* Reserva espaço para o menu lateral fixo não sobrepor o conteúdo */
  body {
    padding-left: 250px;
  }
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--dark-text);
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(43, 76, 92, 0.22) 0%, rgba(43, 76, 92, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 76, 92, 0.14);
  border: 1px solid rgba(43, 76, 92, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6FA8B5;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: #6FA8B5;
  border-radius: 50%;
  box-shadow: 0 0 10px #6FA8B5;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--dark-text-muted);
  margin-bottom: 2.2rem;
  max-width: 560px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--dark-border);
  padding-top: 1.8rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.proof-item.highlight .proof-number {
  color: #6FA8B5;
}

.proof-label {
  font-size: 0.8rem;
  color: var(--dark-text-muted);
  margin-top: 4px;
}

.hero-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dark-border);
}

.hc-dots {
  display: flex;
  gap: 6px;
}

.hc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hc-tag {
  font-size: 0.8rem;
  color: #6FA8B5;
  font-weight: 600;
  background: rgba(43, 76, 92, 0.16);
  padding: 3px 10px;
  border-radius: 6px;
}

.hc-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-surface-2);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  gap: 1rem;
}

.hc-item-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.hc-item-sub {
  font-size: 0.8rem;
  color: var(--dark-text-muted);
}

.hc-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: #34c980;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Sections genéricas */
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-title {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-sub {
  text-align: justify;
  text-align-last: center;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.05rem;
}

/* Gatilhos de alerta */
.triggers {
  padding: 90px 0;
  background: var(--page-bg);
}

.trigger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.trigger-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.trigger-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.trigger-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.trigger-card h4 {
  font-size: 1rem;
  color: var(--text);
}

.trigger-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.profile-chooser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 2rem;
}

.profile-chooser-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.profile-chooser-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Diferenciação competitiva */
.compare-approach {
  padding: 90px 0;
  background: var(--section-alt);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table thead th {
  text-align: left;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--card-alt);
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table tbody td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .cmp-yes {
  color: var(--success);
  font-weight: 700;
}

.compare-table .cmp-no {
  color: var(--danger);
  font-weight: 700;
}

.compare-table .cmp-partial {
  color: var(--text-muted);
  font-style: italic;
}

.compare-table .compare-highlight {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.compare-table thead .compare-highlight {
  border-top: 2px solid var(--accent);
}

.compare-table tbody tr:last-child .compare-highlight {
  border-bottom: 2px solid var(--accent);
}

/* Calculadora de ROI */
.roi-section {
  padding: 90px 0;
  background: var(--section-alt);
}

.roi-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.roi-title {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.roi-slider-group {
  margin: 2rem 0;
}

.roi-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  gap: 1rem;
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  accent-color: var(--accent);
}

.roi-result-card {
  background: var(--dark-bg);
  color: var(--dark-text);
  border: 1px solid var(--dark-border);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -18px rgba(20, 22, 26, 0.5);
}

.roi-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.roi-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark-text-muted);
  font-weight: 600;
}

.roi-stat-val {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #6FA8B5;
  margin: 0.5rem 0 1.2rem;
  line-height: 1;
}

.roi-time-saved {
  font-size: 0.92rem;
  color: #C5CBD3;
  margin-bottom: 1.8rem;
}

/* Soluções / Pilares */
.solutions {
  padding: 100px 0;
  background: var(--page-bg);
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.sol-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sol-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-lg);
}

.sol-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.sol-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.sol-card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  display: block;
}

.sol-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.sol-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.sol-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.sol-card-link:hover {
  gap: 12px;
}

/* Módulos do Sistema (página sistema.html) */
.sys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .sys-grid {
    grid-template-columns: 1fr;
  }
}

.sys-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.sys-solves {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.sys-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.sys-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.sys-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.sys-gain {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.sys-gain strong {
  color: var(--success);
}

.sys-incl {
  margin-top: 2rem;
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.sys-incl strong {
  color: var(--text);
}

.sys-fine {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.sys-cta {
  margin-top: 2.5rem;
  text-align: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.sys-cta small {
  max-width: 560px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Especialista Responsável */
.about-specialist {
  padding: 100px 0;
  background: var(--page-bg);
}

.about-specialist .cap-grid {
  margin-bottom: 3.5rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: start;
  gap: 2rem;
}

.cap-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-card);
}

.cap-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}

.cap-card h3 .sol-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.cap-card h3 .sol-icon svg {
  width: 20px;
  height: 20px;
}

.cap-card p.cap-lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.pillar-card h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Metodologia */
.methodology {
  padding: 90px 0;
  background: var(--section-alt);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.step-counter {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Ecossistema de tabelas/sistemas */
.ecosystem {
  padding: 90px 0;
  background: var(--page-bg);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.eco-chip {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.eco-chip:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.eco-chip strong {
  display: block;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.35rem;
}

.eco-chip span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

/* Comparativo genérico (Antes/Depois e Segmentação) */
.comparison {
  padding: 90px 0;
  background: var(--section-alt);
}

.comparison.alt-bg {
  background: var(--page-bg);
}

.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.comp-box {
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
}

.comp-box.before {
  border: 1px solid rgba(200, 67, 58, 0.25);
}

.comp-box.after {
  border: 1px solid rgba(21, 138, 77, 0.3);
  box-shadow: 0 15px 35px -15px rgba(21, 138, 77, 0.18);
}

.comp-box.institutions {
  border: 1px solid rgba(43, 76, 92, 0.25);
}

.comp-box.physicians {
  border: 1px solid rgba(14, 138, 138, 0.3);
  box-shadow: 0 15px 35px -15px rgba(14, 138, 138, 0.18);
}

.comp-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  width: fit-content;
}

.comp-badge.before { background: var(--danger-soft); color: #a53030; }
.comp-badge.after { background: var(--success-soft); color: var(--success); }
.comp-badge.institutions { background: var(--accent-soft); color: var(--accent-deep); }
.comp-badge.physicians { background: rgba(14, 138, 138, 0.1); color: var(--accent-2); }

.comp-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.comp-box p.comp-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.comp-box .feature-list, .comp-box .comp-list {
  margin-bottom: 1.8rem;
  flex: 1;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}

.comp-item span:last-child {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.feature-list li .fl-check {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

/* FAQ */
.faq {
  padding: 90px 0;
  background: var(--section-alt);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  padding: 1.3rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Final */
.cta-final {
  padding: 100px 0;
  background: var(--dark-bg);
  color: var(--dark-text);
  text-align: center;
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--dark-text-muted);
  margin-bottom: 2.2rem;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.contact-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.contact-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-chip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #6FA8B5;
}

.contact-chip .c-label {
  color: var(--dark-text-muted);
  font-weight: 500;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text-muted);
  padding: 60px 0 30px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--dark-text-muted);
}

.footer-bottom a:hover {
  color: #6FA8B5;
}

.privacy-note {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.8rem;
  margin-bottom: 1.8rem;
  scroll-margin-top: 100px;
}

.privacy-note h5 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.privacy-note ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 760px;
}

.privacy-note li {
  font-size: 0.8rem;
  color: var(--dark-text-muted);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.privacy-note li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6FA8B5;
}

.privacy-note a {
  color: #6FA8B5;
}

/* Banner de cookies/privacidade */
.privacy-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card-lg);
}

.privacy-banner[hidden] {
  display: none;
}

.privacy-banner p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 640px;
}

.privacy-banner a {
  color: var(--accent);
}

.privacy-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.privacy-banner .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
  flex-shrink: 0;
}

@media (min-width: 1360px) {
  .privacy-banner {
    left: auto;
    right: 24px;
    max-width: 460px;
  }
}

/* ===== Reestruturação: home enxuta + página do Sistema ===== */

.page-section {
  padding: 90px 0;
  background: var(--page-bg);
}

/* Modificadores de fundo: ficam depois das regras de cada seção para vencer o cascade */
.bg-white { background: var(--page-bg); }
.bg-alt { background: var(--section-alt); }

.side-nav a.side-nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6FA8B5;
  padding: 9px 14px 9px 22px;
  border-radius: 8px;
  white-space: nowrap;
}

.side-nav a.side-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Sinais de alerta: 6 cards */
.trigger-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.trigger-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 6px;
}

.trigger-tag.sys {
  background: var(--dark-bg);
  color: #ffffff;
}

/* Duas frentes */
.front-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.front-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-card);
}

.front-card.dark {
  background: var(--dark-bg);
  color: var(--dark-text);
  border-color: var(--dark-border);
  box-shadow: 0 25px 50px -18px rgba(20, 22, 26, 0.5);
}

.front-card.dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.front-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.front-card.dark .front-tag {
  color: #6FA8B5;
}

.front-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.front-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.front-card.dark .front-lead {
  color: var(--dark-text-muted);
}

.front-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
  flex: 1;
  align-content: start;
}

.front-list li {
  position: relative;
  display: grid;
  gap: 1px;
  padding-left: 1.5rem;
}

.front-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--accent);
}

.front-card.dark .front-list li::before {
  color: #6FA8B5;
}

.front-list strong {
  font-size: 0.95rem;
  color: var(--text);
}

.front-card.dark .front-list strong {
  color: #ffffff;
}

.front-list span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.front-card.dark .front-list span {
  color: var(--dark-text-muted);
}

.front-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.front-card.dark .front-list {
  flex: 0 0 auto;
}

.front-group {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.front-card.dark .front-group {
  color: var(--dark-text-muted);
}

.front-card .front-list.titles {
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  flex: 0 0 auto;
  margin-bottom: 2rem;
}

/* Módulos: grupos e lista de gestão/processo (sistema.html) */
.mod-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  margin: 0 0 1.4rem;
}

.mod-group h3 {
  font-size: 1.3rem;
}

.mod-group span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sys-grid + .mod-group {
  margin-top: 3.5rem;
}

.mod-list {
  list-style: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mod-list li {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.6fr;
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border);
}

.mod-list li:last-child {
  border-bottom: none;
}

.mod-list strong {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text);
}

.mod-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Calculadora de ROI: abas e campos */
.roi-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 1.4rem 0 0.2rem;
  padding: 4px;
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.roi-tab {
  border: none;
  background: transparent;
  padding: 0.5rem 1.1rem;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.roi-tab[aria-selected="true"] {
  background: var(--card-bg);
  color: var(--accent);
  box-shadow: var(--shadow-card);
}

.roi-tab:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid #6FA8B5;
  outline-offset: 1px;
}

.roi-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.roi-input:focus-visible {
  outline: 3px solid #6FA8B5;
  border-color: var(--accent);
}

/* Acessibilidade: link de pular, foco visível e movimento reduzido */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  background: #ffffff;
  color: var(--dark-bg);
  font-weight: 700;
  box-shadow: var(--shadow-card-lg);
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #6FA8B5;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.roi-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.roi-disclaimer {
  font-size: 0.8rem;
  color: var(--dark-text-muted);
  margin-top: 1rem;
}

/* Atendimento */
.comp-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.4rem;
}

.comp-price strong {
  color: var(--text);
}

.comp-grid.compact {
  margin-top: 2.5rem;
  gap: 1.5rem;
}

.comp-grid.compact .comp-box {
  padding: 1.8rem 2rem;
}

/* Especialista */
.spec-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.spec-profile {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.spec-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.spec-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spec-facts {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  text-align: left;
}

.spec-facts li {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

.spec-facts strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.spec-bio > p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.spec-bio .feature-list {
  margin-top: 1.6rem;
}

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

/* Como funciona */
.step-tag {
  display: inline-block;
  margin: 1rem 0.4rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

.step-tag.sys {
  background: var(--dark-bg);
  color: #ffffff;
}

.eco-title {
  font-size: 1.2rem;
  text-align: center;
  margin: 4rem 0 1.5rem;
}

/* FAQ em botões e grupos */
.faq-question {
  width: 100%;
  gap: 1rem;
  text-align: left;
  font-family: inherit;
  background: none;
  border: none;
}

.faq-icon {
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-group-title {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.4rem 0 -0.4rem;
}

.faq-group-title:first-child {
  margin-top: 0;
}

/* Contato: dois caminhos */
.cta-content.wide {
  max-width: 980px;
}

.start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.start-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 2rem;
}

.start-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6FA8B5;
}

.start-card h3 {
  font-size: 1.3rem;
  color: #ffffff;
}

.start-card p {
  flex: 1;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--dark-text-muted);
}

.start-card .btn {
  align-self: flex-start;
}

/* Botão flutuante de WhatsApp (só em telas pequenas) */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 860;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.privacy-banner {
  z-index: 870;
}

body:has(.privacy-banner:not([hidden])) .wa-float {
  display: none;
}

@media (min-width: 900px) {
  .wa-float {
    display: none;
  }
}

/* Rodapé com 5 colunas */
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

/* Página do Sistema */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pain-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.pain-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--danger);
  background: var(--danger-soft);
}

.pain-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.pain-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

@media (max-width: 992px) {
  .front-grid,
  .spec-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }
  .trigger-grid.six {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-grid.three,
  .pillar-grid.six,
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .trigger-grid.six {
    grid-template-columns: 1fr;
  }
  .roi-box {
    padding: 1.6rem;
  }
  .front-card,
  .start-card {
    padding: 1.8rem 1.4rem;
  }
  .front-card .front-list.titles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .mod-list li {
    grid-template-columns: 1fr;
    padding: 1rem 1.2rem;
  }
}

/* Texto justificado consistente em todo o corpo do site */
.front-lead,
.front-list span,
.sys-list li,
.sys-gain,
.sys-incl,
.sys-fine,
.cap-card p.cap-lead,
.step-card p,
.comp-box p.comp-desc,
.trigger-card p,
.pillar-card p,
.faq-answer {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 992px) {
  .hero-grid, .roi-box, .comp-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .roi-box {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-proof {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cada seção estende o próprio fundo para dentro da faixa reservada ao
   menu lateral fixo (em vez de deixar aparecer a cor de fundo do body
   ali) — a margem negativa "puxa" a seção de volta à borda esquerda da
   tela e o padding equivalente devolve o conteúdo para a posição
   correta. Fica no final do arquivo de propósito, para vencer o
   padding-left definido nas regras de base de cada seção. */
@media (min-width: 1360px) {
  .hero,
  .page-section,
  .triggers,
  .roi-section,
  .solutions,
  .compare-approach,
  .about-specialist,
  .methodology,
  .ecosystem,
  .comparison,
  .faq,
  .cta-final,
  .footer {
    margin-left: -250px;
    padding-left: 250px;
  }
}

/* Botões de destaque nas zonas escuras (topo, hero, chamada final, menu lateral):
   verde-azulado claro com letra grafite, para não sumirem no fundo escuro. */
.hero .btn-cyan,
.hero .btn-primary,
.cta-final .btn-cyan,
.cta-final .btn-primary,
.front-card.dark .btn-cyan,
.front-card.dark .btn-primary,
.roi-result-card .btn-cyan,
.roi-result-card .btn-primary,
.navbar-cta,
.side-nav-cta {
  background: linear-gradient(135deg, #8fc1cd, #6fa8b5);
  color: #14161a;
  box-shadow: 0 4px 20px rgba(111, 168, 181, 0.28);
}

.hero .btn-cyan:hover,
.hero .btn-primary:hover,
.cta-final .btn-cyan:hover,
.cta-final .btn-primary:hover,
.front-card.dark .btn-cyan:hover,
.front-card.dark .btn-primary:hover,
.roi-result-card .btn-cyan:hover,
.roi-result-card .btn-primary:hover,
.navbar-cta:hover,
.side-nav-cta:hover {
  background: linear-gradient(135deg, #a6d0da, #86bac6);
  color: #14161a;
  box-shadow: 0 6px 25px rgba(111, 168, 181, 0.4);
}

/* Rodapé: marcador em cada item e respiro entre o título da coluna e a lista */
.footer-grid > div > h4 {
  margin-bottom: 1rem;
}

.footer-links li {
  position: relative;
  padding-left: 1.1rem;
}

.footer-links li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6FA8B5;
}

/* Ícones das redes sociais (LinkedIn, Instagram): o clique abre o perfil */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dark-text);
  transition: var(--transition);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:hover,
.social-link:focus-visible {
  background: #6FA8B5;
  border-color: #6FA8B5;
  color: #14161A;
  transform: translateY(-2px);
}

.footer-links li.footer-social {
  display: flex;
  gap: 0.6rem;
  padding-left: 0;
}

.footer-links li.footer-social::before {
  display: none;
}

.hero-actions .social-link {
  width: 48px;
  height: 48px;
}

/* Logo no rodapé */
.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo svg {
  height: 40px;
  width: auto;
}

/* Banner inicial (opção C): título e três atalhos para as frentes */
.hero-single {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.hero-tiles {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-tile {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.25rem;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  color: var(--dark-text);
  transition: var(--transition);
}

.hero-tile:hover,
.hero-tile:focus-visible {
  border-color: #6FA8B5;
  transform: translateY(-3px);
}

.hero-tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #8FC1CD;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-tile b {
  font-size: 1.02rem;
}

.hero-tile span {
  font-size: 0.87rem;
  color: var(--dark-text-muted);
}

.hero-tile u {
  text-decoration: none;
  color: #8FC1CD;
  font-weight: 700;
  font-size: 0.87rem;
  margin-top: 0.3rem;
}

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