/* ==========================================================================
   INTEGRITY CONTABILIDADE — ESTILOS INSTITUCIONAIS
   Paleta e diretrizes oficiais de identidade visual
   ========================================================================== */

:root {
  /* Cores Oficiais e Acentos Nobres da Marca */
  --color-primary: #C4123D;
  --color-primary-dark: #8E0B2B;
  --color-primary-deep: #5A0A1D;
  --color-primary-light: #E01E4D;
  --color-primary-subtle: rgba(196, 18, 61, 0.08);
  --color-primary-glow: rgba(196, 18, 61, 0.2);

  /* Tons de Apoio e Superfícies */
  --color-obsidian: #090B0E;
  --color-graphite: #2A2F38;
  --color-dark: #12151D;
  --color-silver: #9EA6B4;
  --color-silver-light: #E8EDF3;
  --color-white: #FFFFFF;

  /* Estados Funcionais */
  --color-success: #10B981;
  --color-success-bg: rgba(16, 185, 129, 0.1);
  --color-info: #3B82F6;
  --color-info-bg: rgba(59, 130, 246, 0.08);
  --color-warning: #D97706;
  --color-warning-bg: rgba(217, 119, 6, 0.1);

  /* Tema Claro Editorial (cinza médio, vinho e branco apenas como detalhe) */
  --bg-body: #E6E8EC;
  --bg-surface: #F0F1F3;
  --bg-surface-alt: #D9DCE2;
  --bg-surface-elevated: #F7F7F8;
  --bg-header: rgba(230, 232, 236, 0.94);

  --text-main: #13171F;
  --text-muted: #3F4754;
  --text-subtle: #616A78;
  --text-on-dark: #FFFFFF;

  --border-subtle: rgba(19, 23, 31, 0.14);
  --border-card: rgba(19, 23, 31, 0.18);
  --border-card-hover: rgba(196, 18, 61, 0.35);
  --border-focus: #C4123D;

  --shadow-sm: 0 1px 3px rgba(19, 23, 31, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(19, 23, 31, 0.07), 0 2px 4px -2px rgba(19, 23, 31, 0.04);
  --shadow-lg: 0 16px 36px -4px rgba(19, 23, 31, 0.1), 0 6px 14px -4px rgba(19, 23, 31, 0.05);
  --shadow-glow: 0 0 35px rgba(196, 18, 61, 0.15);

  /* Tipografia */
  --font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --line-height-base: 1.6;
  --line-height-heading: 1.18;

  /* Transições e Espaçamentos */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max-width: 1220px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

/* Tema Escuro Alta Definição (Obsidiana Profunda & Carmesim) */
[data-theme="dark"] {
  --bg-body: #090B0E;
  --bg-surface: #11141B;
  --bg-surface-alt: #171B24;
  --bg-surface-elevated: #1E232F;
  --bg-header: rgba(9, 11, 14, 0.92);

  --text-main: #F2F4F7;
  --text-muted: #9AA4B2;
  --text-subtle: #697386;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(196, 18, 61, 0.45);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 45px rgba(196, 18, 61, 0.22);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background-color: var(--color-primary);
  color: #FFFFFF;
  z-index: 1000;
}

main {
  flex: 1 0 auto;
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: var(--line-height-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   CABEÇALHO E NAVEGAÇÃO
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-fullcolor {
  display: block;
}

.logo-branco {
  display: none;
}

[data-theme="dark"] .logo-fullcolor {
  display: none;
}

[data-theme="dark"] .logo-branco {
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

/* Menu Mobile Button */
.btn-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   BOTÕES E CTAS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(196, 18, 61, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px var(--color-primary-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-graphite);
  color: #FFFFFF !important;
  border-color: var(--color-graphite);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-card);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
}

/* Área do Cliente Button (Destaque Institucional Seguro) */
.btn-client-area {
  background-color: #0E121A;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
}

.btn-client-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.btn-client-area:hover {
  background-color: #161C28;
  border-color: var(--color-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-primary-subtle);
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-client-area {
  background-color: #171D27;
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn-client-area:hover {
  background-color: #1F2633;
  border-color: var(--color-primary);
}

/* ==========================================================================
   SEÇÕES GERAIS E LAYOUT
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hero Section */
.hero {
  padding: 5.5rem 0 4.5rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface-alt) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.85rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-content h1 .text-accent {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-badge-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero-visual {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-visual-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.visual-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.visual-status {
  font-size: 0.8rem;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.visual-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.visual-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.visual-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visual-item-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.visual-item-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO COCKPIT — DASHBOARD EXECUTIVO REALISTA
   ========================================================================== */

.hero-cockpit {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-cockpit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}

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

.cockpit-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-silver);
  opacity: 0.7;
}

.cockpit-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cockpit-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-success);
  background: var(--color-success-bg);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.cockpit-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.cockpit-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cockpit-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.cockpit-metric-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  transition: border-color var(--transition-fast);
}

.cockpit-metric-card:hover {
  border-color: var(--border-card-hover);
}

.cockpit-metric-label {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.cockpit-metric-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  line-height: 1.2;
}

.cockpit-metric-sub {
  font-size: 0.72rem;
  color: var(--color-success);
  font-weight: 600;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cockpit-obligation-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cockpit-ob-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cockpit-ob-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cockpit-ob-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.cockpit-ob-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cockpit-ob-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cockpit-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(217, 119, 6, 0.12);
  color: var(--color-warning);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.cockpit-footer {
  padding: 0.8rem 1.5rem;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   CAMADAS DO ECOSSISTEMA & EXTENSÕES
   ========================================================================== */

.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.layer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.layer-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.layer-num {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.layer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.layer-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.layer-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.layer-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.layer-features li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Matriz Visual: Tradicional vs Integrity */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.ba-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.ba-card.traditional {
  border-top: 4px solid var(--text-subtle);
}

.ba-card.integrity {
  border-top: 4px solid var(--color-primary);
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(196, 18, 61, 0.03) 100%);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(196, 18, 61, 0.08);
}

.ba-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.ba-badge.bad {
  background: rgba(120, 130, 140, 0.12);
  color: var(--text-muted);
}

.ba-badge.good {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid rgba(196, 18, 61, 0.25);
}

.ba-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-main);
}

.ba-icon-bad {
  color: #EF4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.ba-icon-good {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Vitrine de Extensões Tecnológicas (Mobile, Ponto, PDV) */
.extensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ext-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.ext-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ext-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.ext-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.ext-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CARDS DE SERVIÇOS E GRIDS
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.card-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-silver-light);
  color: var(--color-graphite);
  margin-bottom: 1rem;
  align-self: flex-start;
}

[data-theme="dark"] .card-badge {
  background-color: var(--bg-surface-alt);
  color: var(--color-silver);
}

/* Step Cards (Como Funciona) */
.step-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-silver-light);
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .step-number {
  color: var(--bg-surface-alt);
}

.step-card:hover .step-number {
  color: var(--color-primary);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Callout Box / Banner */
.callout-banner {
  background-color: var(--color-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #2F353C;
}

.callout-content h2, .callout-content h3 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.callout-content p {
  color: var(--color-silver);
  font-size: 1.05rem;
  max-width: 650px;
}

.callout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-body);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: var(--bg-surface);
}

.form-control.is-invalid {
  border-color: var(--color-primary);
}

.form-error {
  display: none;
  font-size: 0.825rem;
  color: var(--color-primary);
  margin-top: 0.35rem;
}

.form-control.is-invalid + .form-error {
  display: block;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-text span, .contact-info-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.notice-box {
  background-color: var(--color-info-bg);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.notice-box svg {
  color: var(--color-info);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ==========================================================================
   PÁGINAS LEGAIS (LGPD / TERMOS) E CONTEÚDOS
   ========================================================================== */

.page-header {
  padding: 4rem 0 3rem 0;
  background-color: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.legal-content {
  max-width: 820px;
  margin: 3.5rem auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 1rem;
}

.legal-badge {
  display: inline-block;
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.site-footer {
  background-color: var(--color-dark);
  color: var(--color-silver);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid #2A3036;
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--color-silver);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.footer-heading {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.65rem;
}

.footer-nav a {
  color: var(--color-silver);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #2A3036;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--color-silver);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--color-silver);
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   DRAWER MOBILE E MODAL
   ========================================================================== */

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background-color: var(--bg-surface);
  z-index: 201;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-normal), visibility var(--transition-normal);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.btn-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-link.active {
  color: var(--color-primary);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Modal Informativo (Toast / Feedback) */
.integrity-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.integrity-modal-backdrop.open {
  display: flex;
}

.integrity-modal {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.integrity-modal h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.integrity-modal p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.integrity-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ==========================================================================
   ANIMAÇÕES E TRANSIÇÕES FLUÍDAS
   ========================================================================== */

/* Header quando a página rola */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(196, 18, 61, 0.2);
}

[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(196, 18, 61, 0.3);
}

/* Scroll Reveal Suave */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Micro-animação de Shimmer */
@keyframes subtleShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes ecoFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Melhorias de Hover nos Cards */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

/* ==========================================================================
   SHOWCASE INTERATIVO DO ECOSSISTEMA INTEGRITY
   ========================================================================== */

.ecosystem-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-surface-alt) 0%, var(--bg-body) 100%);
  position: relative;
}

.ecosystem-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid rgba(196, 18, 61, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.ecosystem-showcase {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.ecosystem-tabs {
  display: flex;
  background-color: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.ecosystem-tabs::-webkit-scrollbar {
  display: none;
}

.eco-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 1.5rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.eco-tab-btn:hover {
  color: var(--color-primary);
  background-color: rgba(196, 18, 61, 0.03);
}

.eco-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background-color: var(--bg-surface);
}

.eco-tab-btn svg {
  flex-shrink: 0;
}

/* Área de Simulação de Tela (Screen Mockup) */
.eco-screen {
  padding: 2.25rem;
}

.eco-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.eco-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-silver);
}

.eco-window-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eco-tab-pane {
  display: none;
}

.eco-tab-pane.active {
  display: block;
  animation: ecoFadeIn 0.35s ease;
}

/* Conteúdos dos Painéis do Mockup */
.eco-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.eco-stat-box {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.eco-stat-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.eco-stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eco-table-wrapper {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.eco-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.eco-table th {
  padding: 0.85rem 1rem;
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--text-subtle);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .eco-table th {
  background-color: rgba(255, 255, 255, 0.03);
}

.eco-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 700;
}

.status-badge.success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.status-badge.pending {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
}

.status-badge.info {
  background-color: var(--color-info-bg);
  color: var(--color-info);
}

/* ==========================================================================
   MATRIZ COMPARATIVA INSTITUCIONAL
   ========================================================================== */

.comparison-section {
  padding: 5.5rem 0;
}

.comparison-table-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-top: 2.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-size: 1.05rem;
  font-weight: 700;
  background-color: var(--bg-surface-alt);
}

.comparison-table th.highlight-col {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
}

.comparison-table td.highlight-col {
  background-color: var(--color-primary-subtle);
  font-weight: 600;
}

[data-theme="dark"] .comparison-table td.highlight-col {
  background-color: rgba(196, 18, 61, 0.12);
}

.check-icon {
  color: var(--color-success);
  display: inline-flex;
  vertical-align: middle;
}

.cross-icon {
  color: var(--text-subtle);
  display: inline-flex;
  vertical-align: middle;
}

/* ==========================================================================
   STATS / INDICADORES DE CONFIABILIDADE
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0 1rem 0;
}

.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVIDADE E MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

@media (max-width: 768px) {
  .cockpit-metrics {
    grid-template-columns: 1fr;
  }

  .cockpit-obligation-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cockpit-ob-right {
    width: 100%;
    justify-content: flex-start;
  }

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

  .before-after-grid {
    grid-template-columns: 1fr;
  }

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

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

  .eco-mock-grid {
    grid-template-columns: 1fr;
  }

  .eco-stat-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .eco-screen {
    padding: 1.25rem 1rem;
    overflow-x: hidden;
  }

  .eco-tab-btn {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
  }

  .comparison-table-wrapper {
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .comparison-table th, .comparison-table td {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
  }

  .callout-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .callout-actions {
    width: 100%;
  }

  .callout-actions .btn {
    width: 100%;
    text-align: center;
  }

  .nav-desktop {
    display: none;
  }

  .btn-menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn-client-area {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .legal-content {
    padding: 1.75rem;
  }
}

@media (max-width: 360px) {
  .header-container {
    height: 70px;
  }

  .brand-logo {
    height: 32px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Acessibilidade — Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================================
   REDESIGN EDITORIAL — PILHA DE POST-ITS E QUEM SOMOS
   A metáfora visual é controlada: poucos elementos, leitura rápida e foco no CTA.
   ============================================================================ */

.hero {
  background:
    radial-gradient(circle at 87% 16%, rgba(196, 18, 61, 0.08), transparent 32%),
    linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface-alt) 100%);
}

.hero-content h1 {
  max-width: 700px;
}

.hero-lead {
  max-width: 650px;
}

.post-it-stage {
  position: relative;
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), transparent 45%),
    var(--bg-surface);
  box-shadow: 0 24px 60px rgba(25, 29, 38, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  overflow: hidden;
}

.post-it-stage::before,
.post-it-stage::after {
  content: '';
  position: absolute;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  pointer-events: none;
}

.post-it-stage::before {
  top: -8rem;
  right: -5rem;
  background: rgba(196, 18, 61, 0.12);
  filter: blur(4px);
}

.post-it-stage::after {
  bottom: -11rem;
  left: -7rem;
  background: rgba(86, 98, 116, 0.13);
  filter: blur(4px);
}

.post-it-stage-topline,
.post-it-controls,
.post-it-help {
  position: relative;
  z-index: 6;
}

.post-it-stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-it-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.post-it-kicker-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-subtle);
}

.post-it-counter {
  color: var(--color-primary-dark);
  font-variant-numeric: tabular-nums;
}

.post-it-stack {
  position: relative;
  min-height: 375px;
  isolation: isolate;
  outline: none;
}

.post-it-card {
  --post-it-bg: #e6d6b5;
  --post-it-ink: #372d26;
  --post-it-accent: #9d6f36;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.55rem 1.5rem;
  border: 1px solid rgba(55, 45, 38, 0.18);
  border-radius: 6px 6px 18px 6px;
  color: var(--post-it-ink);
  background: var(--post-it-bg);
  box-shadow: 12px 14px 24px rgba(36, 33, 32, 0.17), 0 1px 1px rgba(255, 255, 255, 0.35) inset;
  opacity: 0;
  transform-origin: 50% 90%;
  transition: transform 480ms cubic-bezier(0.22, 0.9, 0.28, 1), opacity 380ms ease, filter 380ms ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.post-it-card[data-postit-tone="rose"] { --post-it-bg: #ead0d5; --post-it-ink: #42222c; --post-it-accent: #a23f57; }
.post-it-card[data-postit-tone="blue"] { --post-it-bg: #cbdce2; --post-it-ink: #1d3740; --post-it-accent: #2e7181; }
.post-it-card[data-postit-tone="sage"] { --post-it-bg: #d6decf; --post-it-ink: #2b382e; --post-it-accent: #4d765b; }
.post-it-card[data-postit-tone="wine"] { --post-it-bg: linear-gradient(145deg, #762039, #4c1020); --post-it-ink: #fff8f8; --post-it-accent: #efb5c4; border-color: rgba(255, 255, 255, 0.18); }

.post-it-card[data-position="0"] {
  z-index: 5;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(-1.25deg);
  pointer-events: auto;
  filter: none;
}

.post-it-card[data-position="1"] {
  z-index: 4;
  opacity: 0.89;
  transform: translate3d(18px, 16px, 0) scale(0.965) rotate(2.8deg);
  filter: saturate(0.86);
}

.post-it-card[data-position="2"] {
  z-index: 3;
  opacity: 0.64;
  transform: translate3d(32px, 30px, 0) scale(0.93) rotate(-2deg);
  filter: saturate(0.72);
}

.post-it-card[data-position="3"] {
  z-index: 2;
  opacity: 0.36;
  transform: translate3d(44px, 42px, 0) scale(0.895) rotate(3deg);
  filter: saturate(0.65);
}

.post-it-card[data-position="4"] {
  z-index: 1;
  opacity: 0.2;
  transform: translate3d(54px, 52px, 0) scale(0.865) rotate(-3deg);
  filter: saturate(0.58);
}

.post-it-card.is-exit-next {
  z-index: 7;
  opacity: 0;
  transform: translate3d(-116%, -12px, 0) rotate(-11deg);
  pointer-events: none;
}

.post-it-card.is-exit-prev {
  z-index: 7;
  opacity: 0;
  transform: translate3d(116%, -12px, 0) rotate(11deg);
  pointer-events: none;
}

.post-it-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.35rem;
  color: var(--post-it-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-it-pin {
  display: inline-block;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.post-it-mini-label {
  margin-left: auto;
  opacity: 0.72;
  font-size: 0.62rem;
}

.post-it-card h3 {
  margin: 1.35rem 0 0.55rem;
  color: var(--post-it-ink);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.post-it-card p {
  max-width: 31rem;
  margin: 0;
  color: color-mix(in srgb, var(--post-it-ink) 78%, transparent);
  color: var(--post-it-ink);
  color: color-mix(in srgb, var(--post-it-ink) 78%, transparent);
  font-size: 0.98rem;
  line-height: 1.55;
}

.post-it-scrap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.post-it-scrap-grid span,
.post-it-due,
.post-it-decision {
  border: 1px dashed var(--post-it-accent);
  border-color: color-mix(in srgb, var(--post-it-accent) 45%, transparent);
  border-radius: 7px;
  color: var(--post-it-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-it-scrap-grid span {
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.16);
}

.post-it-progress {
  height: 0.52rem;
  margin-top: auto;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(66, 34, 44, 0.14);
}

.post-it-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--post-it-accent);
}

.post-it-card small {
  margin-top: 0.55rem;
  color: var(--post-it-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.post-it-line-chart {
  width: 100%;
  margin-top: auto;
  color: var(--post-it-accent);
}

.post-it-due {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.75rem;
  align-items: center;
  margin-top: auto;
  padding: 0.75rem 0.85rem;
  text-transform: none;
}

.post-it-due span { font-size: 0.7rem; opacity: 0.75; }
.post-it-due strong { font-size: 0.8rem; letter-spacing: 0; text-transform: none; }
.post-it-due i { grid-column: 2; grid-row: 1 / span 2; font-size: 1.4rem; font-style: normal; }

.post-it-decision {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.85rem 0.9rem;
  color: rgba(255, 248, 248, 0.92);
  border-color: rgba(255, 255, 255, 0.27);
}

.post-it-decision b { color: var(--post-it-accent); font-size: 1.1rem; }

.post-it-help {
  min-height: 1.35rem;
  margin: 0.8rem 0 0;
  color: var(--text-subtle);
  font-size: 0.78rem;
  text-align: center;
}

.post-it-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.15rem;
}

.post-it-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  border: 1px solid var(--border-card);
  border-radius: 50%;
  color: var(--text-main);
  background: var(--bg-surface-elevated);
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.post-it-arrow svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-it-arrow:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-1px); background: var(--color-primary-subtle); }

.post-it-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.post-it-dots button {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--text-subtle);
  opacity: 0.45;
  cursor: pointer;
  transition: width var(--transition-fast), border-radius var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.post-it-dots button.is-active { width: 1.2rem; border-radius: 999px; opacity: 1; background: var(--color-primary); }

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.about-bird-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  isolation: isolate;
}

.about-bird-glow {
  position: absolute;
  width: 245px;
  height: 245px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 18, 61, 0.27) 0%, rgba(196, 18, 61, 0.09) 45%, transparent 72%);
  filter: blur(6px);
  animation: aboutGlow 5s ease-in-out infinite;
}

.about-bird {
  position: relative;
  z-index: 1;
  width: min(52vw, 220px);
  filter: drop-shadow(0 19px 18px rgba(49, 24, 32, 0.2));
  animation: aboutBirdFloat 4.2s ease-in-out infinite;
}

.about-bird-caption {
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border-card);
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--bg-surface);
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes aboutBirdFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes aboutGlow {
  0%, 100% { opacity: 0.72; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

.about-content .section-title { margin-bottom: 1.2rem; }
.about-lead { max-width: 680px; margin-bottom: 0.85rem; color: var(--text-main); font-size: 1.18rem; line-height: 1.65; }
.about-support { max-width: 650px; color: var(--text-muted); font-size: 1rem; }

.about-journey {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.8rem 0 2rem;
}

.about-journey-step { display: flex; min-width: 0; flex-direction: column; gap: 0.1rem; }
.about-journey-step span { color: var(--color-primary); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.about-journey-step strong { color: var(--text-main); font-size: 0.95rem; }
.about-journey-step small { color: var(--text-muted); font-size: 0.76rem; white-space: nowrap; }
.about-journey-line { height: 1px; min-width: 1.6rem; flex: 1; background: linear-gradient(90deg, var(--color-primary), var(--border-card)); }

.about-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.contact-whatsapp-card {
  border-color: color-mix(in srgb, var(--color-primary) 25%, var(--border-card));
  border-color: var(--border-card);
  border-color: color-mix(in srgb, var(--color-primary) 25%, var(--border-card));
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 7%, var(--bg-surface)), var(--bg-surface));
}

.contact-channel-label { display: block; margin-top: 0.18rem; color: var(--text-muted); font-size: 0.84rem; }
.contact-whatsapp-card .btn-whatsapp { display: inline-flex; margin-top: 0.7rem; padding: 0.55rem 0.85rem; border: 1px solid var(--color-primary); border-radius: var(--radius-sm); color: var(--color-primary); font-weight: 700; }
.contact-whatsapp-card .btn-whatsapp:hover { color: #fff; background: var(--color-primary); }

[data-theme="dark"] .post-it-stage { background: linear-gradient(145deg, rgba(255,255,255,.04), transparent 48%), var(--bg-surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .38); }
[data-theme="dark"] .about-section { background: #151923; }
[data-theme="dark"] .about-bird-caption { background: rgba(17, 20, 27, .75); }

@media (max-width: 768px) {
  .post-it-stage { padding: 1rem; border-radius: 18px; }
  .post-it-stack { min-height: 345px; }
  .post-it-card { padding: 1.35rem 1.2rem 1.25rem; }
  .post-it-card h3 { font-size: 1.5rem; }
  .post-it-card p { font-size: 0.9rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-bird-panel { min-height: 235px; }
  .about-bird { width: 165px; }
  .about-bird-glow { width: 190px; height: 190px; }
  .about-journey { align-items: flex-start; gap: 0.5rem; }
  .about-journey-step small { white-space: normal; }
  .about-journey-line { min-width: 0.7rem; margin-top: 1.2rem; }
  .about-actions { flex-direction: column; align-items: stretch; }
  .about-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .about-bird,
  .about-bird-glow { animation: none; }
  .post-it-card { transition: none; }
}
