/* ================================================
   TEGGE — REDESIGN 2026
   Charcoal premium dark theme
   ================================================ */

/* --- Fontes self-hosted (evita FOUT do Google Fonts) --- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/dm-sans-300.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Outfit-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}

/* --- CSS Variables (primary = LIGHT) --- */
:root,
[data-theme="light"] {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-alt: #f4f4f3;
  --text-primary: #0f0f0f;
  --text-muted: #5a5a5a;
  --text-dimmed: #8a8a8a;
  --accent: #27a8e2;          /* same brand green in both themes */
  --accent-text: #1b7fb0;     /* deeper green for small text/labels on white */
  --border: rgba(15,15,15,0.08);
  --border-hover: rgba(27,127,176,0.22);
  --accent-glow: rgba(27,127,176,0.1);
  --blob: rgba(39,168,226,0.12);
  --ring: rgba(39,168,226,0.42);
  --ring2: rgba(39,168,226,0.22);
  --dash: rgba(39,168,226,0.42);

  /* Surface overlays (subtle dark tints on light cards) */
  --overlay-1: rgba(15,15,15,0.025);
  --overlay-2: rgba(15,15,15,0.04);
  --overlay-3: rgba(15,15,15,0.06);
  --border-soft: rgba(15,15,15,0.06);

  /* Section-specific tokens */
  --navbar-scrolled-bg: #ffffff;
  --navbar-cta-text: #ffffff;
  --mobile-menu-bg: rgba(250,250,249,0.97);
  --hero-overlay-gradient: linear-gradient(100deg, rgba(8,12,20,0.82) 0%, rgba(8,12,20,0.52) 38%, rgba(8,12,20,0.2) 64%, rgba(8,12,20,0.05) 100%);
  --hero-video-filter: grayscale(0.5) brightness(0.78);
  --code-bg: #1f1f1f;         /* code panel stays dark for readability */
  --cookie-bg: #ffffff;
  --shadow-card: 0 24px 60px rgba(15,15,15,0.12);
  --shadow-soft: 0 18px 40px rgba(15,15,15,0.08);

  /* Structural — shared between themes */
  --transition: 0.3s ease;
  --radius: 8px;
  --radius-sm: 6px;
}

/* --- DARK THEME (override) --- */
[data-theme="dark"] {
  --bg: #0a0a0a;              /* fundo preto p/ contraste */
  --surface: #161616;        /* cards um tom acima do preto */
  --surface-alt: #1f1f1f;
  --text-primary: #f4f3f3;
  --text-muted: #8f8f8f;
  --text-dimmed: #6a6a6a;
  --accent: #27a8e2;
  --accent-text: #27a8e2;
  --border: rgba(244,243,243,0.09);
  --border-hover: rgba(39,168,226,0.22);
  --accent-glow: rgba(39,168,226,0.08);
  --blob: rgba(39,168,226,0.10);
  --ring: rgba(39,168,226,0.40);
  --ring2: rgba(39,168,226,0.22);
  --dash: rgba(39,168,226,0.38);

  --overlay-1: rgba(255,255,255,0.02);
  --overlay-2: rgba(255,255,255,0.03);
  --overlay-3: rgba(255,255,255,0.06);
  --border-soft: rgba(244,243,243,0.06);

  --navbar-scrolled-bg: #2b2b2b;   /* charcoal, igual ao Tegge */
  --navbar-cta-text: #ffffff;
  --mobile-menu-bg: rgba(10,10,10,0.97);
  --hero-overlay-gradient: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%);
  --hero-video-filter: grayscale(0.7) brightness(0.6);
  --code-bg: #0d0d0d;
  --cookie-bg: #161616;
  --shadow-card: 0 30px 80px rgba(0,0,0,0.55);
  --shadow-soft: 0 24px 60px rgba(0,0,0,0.4);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg);
  overflow-x: hidden;
  background-image: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

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

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Section Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

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

/* ================================================
   SECTION 1 — NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: transparent;
  pointer-events: none;
}

.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 0.5px solid rgba(39,168,226,0.4);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  gap: 32px;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.navbar-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  list-style: none;
  margin: 0;
}

.navbar-links a {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color var(--transition), opacity var(--transition);
}

.navbar-links a:hover,
.navbar-links a:focus-visible,
.navbar-links a:active {
  color: var(--accent);
}

/* No topo (sobre o hero) links brancos; ao rolar (navbar sólida) voltam ao cinza */
.navbar:not(.scrolled) .navbar-links a { color: #ffffff; }
.navbar:not(.scrolled) .navbar-links a:hover,
.navbar:not(.scrolled) .navbar-links a:focus-visible { color: var(--accent); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navbar-cta-text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(39,168,226,0.18);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cta:hover {
  background: #1f93cf;
  color: var(--navbar-cta-text);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(39,168,226,0.4), 0 10px 30px rgba(39,168,226,0.12);
}

.navbar-links .btn-cta,
.navbar-links .btn-cta:hover,
.navbar-links .btn-cta:focus-visible,
.navbar-links .btn-cta:active {
  color: var(--navbar-cta-text);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,0.01);
}

/* Mobile menu */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar .container {
    min-height: 40px;
    gap: 16px;
  }

  .navbar-logo {
    max-width: 140px;
  }

  .navbar-logo img {
    height: 26px;
  }

  .navbar-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: none;
    overflow: hidden;
  }

  /* Animated gradient orb background */
  .navbar-links::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 140%;
    background:
      radial-gradient(ellipse at 20% 50%, rgba(39,168,226,0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 20%, rgba(39,168,226,0.05) 0%, transparent 40%),
      radial-gradient(ellipse at 50% 80%, rgba(39,168,226,0.04) 0%, transparent 45%);
    animation: menuOrbFloat 8s ease-in-out infinite;
    pointer-events: none;
  }

  /* Subtle grid pattern */
  .navbar-links::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  @keyframes menuOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, -3%) scale(1.05); }
    66% { transform: translate(-3%, 5%) scale(0.97); }
  }

  .navbar-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .navbar-links a {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 18px 24px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
  }

  .navbar-links.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-links.open a:nth-child(1) { transition-delay: 0.08s; }
  .navbar-links.open a:nth-child(2) { transition-delay: 0.14s; }
  .navbar-links.open a:nth-child(3) { transition-delay: 0.20s; }
  .navbar-links.open a:nth-child(4) { transition-delay: 0.26s; }
  .navbar-links.open a:nth-child(5) { transition-delay: 0.32s; }

  .navbar-links a:hover,
  .navbar-links a:active {
    background: rgba(39,168,226,0.12);
    color: var(--accent);
  }

  .navbar-links .btn-cta {
    margin-top: 16px;
    width: auto;
    min-width: 180px;
  }

  .navbar-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .navbar-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
}


/* ================================================
   SECTION 2 — HERO
   ================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 77px 0 38px;
  position: relative;
  overflow: hidden;
  background-color: #2d2d2d;
}

.hero .video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: var(--hero-video-filter);
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-gradient);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero > .container {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  grid-template-areas:
    "content visual"
    "trust   trust";
  gap: 28px 72px;
  align-items: center;
  max-width: 1240px;
}

.hero-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}

.hero-visual {
  grid-area: visual;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hero-trust-block {
  grid-area: trust;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-browser {
  width: 100%;
  max-width: 640px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%),
    var(--surface);
  border: 1px solid rgba(39,168,226,0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: browserFloat 6.8s ease-in-out infinite;
}

.browser-glow {
  position: absolute;
  inset: auto -12% -18% 42%;
  height: 220px;
  background: radial-gradient(circle, rgba(39,168,226,0.18), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  animation: glowShift 5.6s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge .pulse,
.sim-title .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-size: clamp(3.25rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.98;
  margin-bottom: 24px;
  color: var(--text-primary);
  max-width: 10.5ch;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 0;
  padding: 0;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-trust i {
  color: var(--accent);
  font-size: 1rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  background: rgba(8,12,20,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #2d2d2d;
  overflow: hidden;
  display: block;
  margin-left: -10px;
  flex-shrink: 0;
}

.avatar-stack .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.hero-social-proof p {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.terminal-showcase {
  width: 100%;
  max-width: 560px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%),
    var(--surface);
  border: 1px solid rgba(39,168,226,0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.terminal-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(39,168,226,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,168,226,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.terminal-glow {
  position: absolute;
  inset: auto -12% -18% 42%;
  height: 220px;
  background: radial-gradient(circle, rgba(39,168,226,0.18), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dimmed);
}

.terminal-body {
  padding: 24px 22px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  line-height: 1.9;
  min-height: 332px;
  position: relative;
  z-index: 1;
}

.terminal-line {
  opacity: 0;
  transform: translateY(4px);
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.terminal-line .prompt { color: var(--accent); }
.terminal-line .method { color: var(--accent); }
.terminal-line .url { color: var(--text-muted); }
.terminal-line .status { color: var(--accent); }
.terminal-line .key { color: var(--accent); }
.terminal-line .string { color: var(--text-primary); }
.terminal-line .number { color: var(--text-primary); }
.terminal-line .comment { color: var(--text-dimmed); }

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

.terminal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.terminal-metric {
  padding: 14px 18px 16px;
  border-right: 1px solid var(--border);
}

.terminal-metric:last-child {
  border-right: none;
}

.terminal-metric .label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-dimmed);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-metric strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-browser::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(39,168,226,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,168,226,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.browser-controls {
  display: inline-flex;
  gap: 6px;
}

.browser-controls span,
.browser-actions span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244,243,243,0.14);
}

.browser-controls span:nth-child(1) { background: #ff5f57; }
.browser-controls span:nth-child(2) { background: #ffbd2e; }
.browser-controls span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dimmed);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  position: relative;
  overflow: hidden;
}

.browser-url::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -38%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-18deg);
  animation: chromeSweep 4.2s ease-in-out infinite;
}

.browser-actions {
  display: inline-flex;
  gap: 8px;
}

.browser-actions span {
  width: 8px;
  height: 8px;
}

.browser-app {
  display: block;
  min-height: 380px;
  position: relative;
  z-index: 1;
}

.browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.hero-browser.scene-auth .browser-topbar,
.hero-browser.scene-auth .browser-toolbar,
.hero-browser.scene-auth .browser-scene,
.hero-browser.scene-auth .browser-floating-card {
  opacity: 0;
  pointer-events: none;
}

.hero-browser.scene-auth .browser-topbar,
.hero-browser.scene-auth .browser-toolbar {
  transform: translateY(10px);
}

.hero-browser.scene-auth .browser-login {
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.hero-browser.scene-auth .browser-login.visible {
  transform: translate(-50%, -50%);
}

.browser-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.browser-brand img {
  height: 1rem;
  width: auto;
}

.browser-brand span,
.status-dot {
  color: var(--accent);
}

.browser-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.browser-nav-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: default;
  white-space: nowrap;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.browser-nav-item.active {
  background: rgba(39,168,226,0.08);
  border-color: rgba(39,168,226,0.18);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(39,168,226,0.12);
  animation: activeTabPulse 2.8s ease-in-out infinite;
}

.browser-user-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

.browser-main {
  position: relative;
  padding: 18px;
  min-height: 480px;
  overflow: hidden;
}

.browser-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%);
  pointer-events: none;
}


.browser-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.browser-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(39,168,226,0.1);
  color: var(--text-primary);
  border: 1px solid rgba(39,168,226,0.14);
  font-size: 0.72rem;
  margin-right: 8px;
}

.browser-chip.subtle {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.browser-user {
  color: var(--text-dimmed);
  font-size: 0.78rem;
}

.browser-scene {
  position: absolute;
  inset: 72px 18px 18px;
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  pointer-events: none;
  z-index: 0;
}

.browser-scene.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  z-index: 2;
}

.browser-scene.active .browser-kpi,
.browser-scene.active .browser-card,
.browser-scene.active .browser-heading,
.browser-scene.active .browser-grid,
.browser-scene.active .ops-filters,
.browser-scene.active .ops-summary-item,
.browser-scene.active .ops-table,
.browser-scene.active .ops-table-row,
.browser-scene.active .digitacao-form,
.browser-scene.active .digitacao-sidecard,
.browser-scene.active .filter-pill,
.browser-scene.active .filter-action,
.browser-scene.active .digitacao-sidecard .check-item,
.browser-scene.active .reports-grid,
.browser-scene.active .report-stat {
  animation: sceneItemIn 0.55s ease forwards;
}

.browser-scene.active .browser-heading { animation-delay: 0.06s; }
.browser-scene.active .browser-grid,
.browser-scene.active .ops-filters,
.browser-scene.active .digitacao-form,
.browser-scene.active .reports-grid { animation-delay: 0.14s; }
.browser-scene.active .ops-table,
.browser-scene.active .digitacao-sidecard { animation-delay: 0.22s; }

.browser-scene.active .browser-kpi:nth-child(1),
.browser-scene.active .filter-pill:nth-child(1),
.browser-scene.active .ops-summary-item:nth-child(1),
.browser-scene.active .ops-table-row:nth-child(1),
.browser-scene.active .report-stat:nth-child(1) { animation-delay: 0.2s; }

.browser-scene.active .browser-kpi:nth-child(2),
.browser-scene.active .filter-pill:nth-child(2),
.browser-scene.active .ops-summary-item:nth-child(2),
.browser-scene.active .ops-table-row:nth-child(2),
.browser-scene.active .report-stat:nth-child(2) { animation-delay: 0.28s; }

.browser-scene.active .browser-kpi:nth-child(3),
.browser-scene.active .filter-pill:nth-child(3),
.browser-scene.active .ops-summary-item:nth-child(3),
.browser-scene.active .ops-table-row:nth-child(3) { animation-delay: 0.36s; }

.browser-scene.active .filter-pill:nth-child(4),
.browser-scene.active .ops-summary-item:nth-child(4) { animation-delay: 0.44s; }

.browser-scene.active .filter-action:nth-child(5) { animation-delay: 0.52s; }
.browser-scene.active .filter-action:nth-child(6) { animation-delay: 0.6s; }

.browser-scene.active .browser-card-chart .chart-bars span {
  animation: chartPulse 2.6s ease-in-out infinite, sceneBarRise 0.7s ease both;
}

.browser-scene.active .browser-card-chart .chart-bars span:nth-child(1) { animation-delay: 0.15s, 0.22s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(2) { animation-delay: 0.35s, 0.3s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(3) { animation-delay: 0.55s, 0.38s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(4) { animation-delay: 0.75s, 0.46s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(5) { animation-delay: 0.95s, 0.54s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(6) { animation-delay: 1.15s, 0.62s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(7) { animation-delay: 1.35s, 0.7s; }
.browser-scene.active .browser-card-chart .chart-bars span:nth-child(8) { animation-delay: 1.55s, 0.78s; }

.browser-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dimmed);
  margin-bottom: 6px;
}

.browser-heading h3,
.browser-login h4,
.browser-floating-card h4 {
  font-size: 1.4rem;
  line-height: 1.1;
}

.scene-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.scene-badge.ok,
.trend.up {
  color: var(--accent);
}

.browser-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.browser-kpi,
.browser-card,
.ops-column,
.compliance-panel,
.browser-floating-card,
.browser-login {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.browser-kpi {
  padding: 14px;
  min-height: 88px;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.browser-kpi.active {
  border-color: rgba(39,168,226,0.22);
  transform: translateY(-2px);
}

.hero-browser.scene-dashboard .browser-kpi.active {
  animation: kpiPulse 1.9s ease-in-out infinite;
}

.browser-kpi .label,
.card-header,
.column-title,
.floating-metrics span {
  font-size: 0.72rem;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.browser-kpi strong {
  display: block;
  font-size: 1.2rem;
  margin: 6px 0 2px;
}

.browser-kpi small {
  color: var(--text-muted);
}

.browser-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 12px;
}

.browser-card {
  padding: 14px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.chart-bars {
  height: 156px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  align-items: end;
}

.chart-bars span {
  display: block;
  height: var(--bar);
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, rgba(39,168,226,0.9), rgba(39,168,226,0.15));
  animation: chartPulse 3.2s ease-in-out infinite;
}

.chart-bars span:nth-child(2n) {
  animation-delay: 0.25s;
}

.chart-bars span:nth-child(3n) {
  animation-delay: 0.45s;
}

.browser-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.browser-feed li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
  opacity: 0.48;
  transform: translateX(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-browser.scene-dashboard .browser-feed li {
  animation: feedWave 2.8s ease-in-out infinite;
}

.hero-browser.scene-dashboard .browser-feed li:nth-child(2) { animation-delay: 0.18s; }
.hero-browser.scene-dashboard .browser-feed li:nth-child(3) { animation-delay: 0.36s; }
.hero-browser.scene-dashboard .browser-feed li:nth-child(4) { animation-delay: 0.54s; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px rgba(39,168,226,0.45);
}

.ops-columns {
  display: none;
}

.ops-filters,
.ops-summary,
.ops-table-head,
.ops-table-row,
.digitacao-row,
.reports-grid {
  display: grid;
  gap: 10px;
}

.ops-filters {
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto auto;
  margin-bottom: 12px;
}

.filter-pill,
.filter-action,
.field {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(244,243,243,0.05);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.filter-pill.active,
.field.accent {
  border-color: rgba(39,168,226,0.2);
  color: var(--text-primary);
}

.filter-pill.grow {
  color: var(--text-dimmed);
}

.filter-action {
  background: transparent;
}

.filter-action.muted {
  color: var(--text-primary);
}

.ops-summary {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 12px;
}

.ops-summary-item {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.ops-summary-item span,
.status-text {
  color: var(--text-dimmed);
  font-size: 0.72rem;
}

.ops-summary-item strong {
  display: block;
  margin-top: 6px;
}

.ops-summary-item.cancel strong,
.status-text.cancel {
  color: #ff6f6f;
}

.status-text.ok {
  color: var(--accent);
}

.ops-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.ops-table-head,
.ops-table-row {
  grid-template-columns: 1.1fr 1.2fr .8fr .8fr .9fr .8fr;
  padding: 12px 14px;
}

.ops-table-head {
  background: rgba(255,255,255,0.03);
  color: var(--text-dimmed);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ops-table-row {
  border-top: 1px solid rgba(244,243,243,0.04);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.ops-table-row.active {
  background: rgba(39,168,226,0.05);
}

.ops-table-row.focused {
  background: rgba(39,168,226,0.09);
  border-color: rgba(39,168,226,0.18);
  transform: translateX(4px);
}

.digitacao-layout {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 14px;
}

.digitacao-form,
.digitacao-sidecard {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.digitacao-row {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 10px;
}

.field.wide {
  grid-column: span 2;
}

.field.short {
  max-width: 128px;
}

.field {
  position: relative;
  overflow: hidden;
}

.field::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  height: 8px;
  width: 0;
  border-radius: 999px;
  background: rgba(244,243,243,0.2);
  transform: translateY(-50%);
}

.hero-browser.scene-digitacao .field::after {
  animation: fieldFill 0.9s ease forwards;
}

.hero-browser.scene-digitacao .digitacao-row:nth-child(1) .field:nth-child(1)::after { animation-delay: 0.15s; width: 72%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(1) .field:nth-child(2)::after { animation-delay: 0.3s; width: 48%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(1) .field:nth-child(3)::after { animation-delay: 0.45s; width: 56%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(2) .field:nth-child(1)::after { animation-delay: 0.55s; width: 64%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(2) .field:nth-child(2)::after { animation-delay: 0.7s; width: 52%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(2) .field:nth-child(3)::after { animation-delay: 0.85s; width: 58%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(2) .field:nth-child(4)::after { animation-delay: 1s; width: 44%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(3) .field:nth-child(1)::after { animation-delay: 1.1s; width: 66%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(3) .field:nth-child(2)::after { animation-delay: 1.25s; width: 40%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(3) .field:nth-child(3)::after { animation-delay: 1.4s; width: 54%; }
.hero-browser.scene-digitacao .digitacao-row:nth-child(3) .field:nth-child(4)::after { animation-delay: 1.55s; width: 84%; background: rgba(39,168,226,0.45); }

.digitacao-sidecard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  border: 1px solid rgba(244,243,243,0.04);
}

.check-item.ok {
  border-color: rgba(39,168,226,0.18);
  color: var(--text-primary);
}

.hero-browser.scene-digitacao .check-item {
  animation: checkPulse 2.4s ease-in-out infinite;
}

.hero-browser.scene-digitacao .check-item:nth-child(2) { animation-delay: 0.12s; }
.hero-browser.scene-digitacao .check-item:nth-child(3) { animation-delay: 0.24s; }
.hero-browser.scene-digitacao .check-item:nth-child(4) { animation-delay: 0.36s; }
.hero-browser.scene-digitacao .check-item:nth-child(5) { animation-delay: 0.48s; }

.reports-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.report-main {
  min-height: 240px;
}

.report-lines {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.report-lines span {
  display: block;
  height: 10px;
  width: var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(39,168,226,0.85), rgba(39,168,226,0.16));
  animation: reportSweep 3.4s ease-in-out infinite;
}

.hero-browser.scene-relatorios .report-stat strong {
  animation: statRise 1.8s ease-in-out infinite;
}

.hero-browser.scene-relatorios .report-stat:nth-child(2) strong { animation-delay: 0.15s; }
.hero-browser.scene-relatorios .report-stat:nth-child(3) strong { animation-delay: 0.3s; }

.report-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
}

.report-stat strong {
  font-size: 1.8rem;
  margin: 8px 0 4px;
}

.report-stat small {
  color: var(--text-muted);
}

.browser-floating-card,
.browser-login {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 240px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.browser-floating-card.visible,
.browser-login.visible {
  opacity: 1;
  transform: translateY(0);
}

.browser-floating-card.visible {
  animation: overlayLift 0.6s ease forwards;
}

.progress-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--accent), rgba(39,168,226,0.35));
  animation: progressLoop 3.8s ease-in-out infinite;
}

.floating-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.browser-login {
  top: 92px;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translate(-50%, 18px);
  width: 270px;
  text-align: center;
}

.browser-login.visible {
  transform: translate(-50%, 0);
}

.browser-login p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 8px 0 14px;
}

.login-logo {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  background: url("../logo-t-light.png") center / contain no-repeat;
}

.login-field,
.login-captcha,
.login-button {
  border-radius: 10px;
  border: 1px solid rgba(244,243,243,0.05);
  background: rgba(255,255,255,0.02);
}

.login-field {
  height: 38px;
  margin-bottom: 10px;
}

.login-field.short {
  width: 78%;
  margin-left: auto;
  margin-right: auto;
}

.login-captcha {
  height: 56px;
  margin: 14px 0;
}

.login-button {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
}

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

@keyframes glowShift {
  0%, 100% { opacity: 0.72; transform: translateX(0) scale(1); }
  50% { opacity: 1; transform: translateX(-12px) scale(1.04); }
}

@keyframes chromeSweep {
  0%, 100% { left: -38%; opacity: 0; }
  18% { opacity: 1; }
  52% { left: 112%; opacity: 0.85; }
  53%, 100% { opacity: 0; }
}

@keyframes activeTabPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(39,168,226,0.12), 0 0 0 rgba(39,168,226,0); }
  50% { box-shadow: inset 0 0 0 1px rgba(39,168,226,0.2), 0 0 18px rgba(39,168,226,0.08); }
}

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

@keyframes sceneBarRise {
  from {
    opacity: 0;
    transform: scaleY(0.35);
    transform-origin: bottom;
  }
  to {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@keyframes kpiPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(39,168,226,0.22), 0 0 0 rgba(39,168,226,0); }
  50% { box-shadow: inset 0 0 0 1px rgba(39,168,226,0.28), 0 12px 30px rgba(39,168,226,0.08); }
}

@keyframes feedWave {
  0%, 100% { opacity: 0.45; transform: translateX(0); }
  20%, 40% { opacity: 1; transform: translateX(3px); }
  55% { opacity: 0.7; }
}

@keyframes fieldFill {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes checkPulse {
  0%, 100% { border-color: rgba(244,243,243,0.04); }
  50% { border-color: rgba(39,168,226,0.18); }
}

@keyframes statRise {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-3px); opacity: 1; }
}

@keyframes overlayLift {
  from { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
  to { box-shadow: 0 24px 60px rgba(0,0,0,0.28); }
}

@keyframes chartPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes progressLoop {
  0% { width: 24%; }
  50% { width: 76%; }
  100% { width: 58%; }
}

@keyframes reportSweep {
  0%, 100% { opacity: 0.72; transform: scaleX(0.98); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 968px) {
  .hero > .container {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "visual"
      "trust";
    gap: 48px;
  }

  .hero-trust-block {
    margin-top: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-social-proof {
    order: -1;
  }

  .hero-trust {
    width: 100%;
  }

  .hero-trust li:nth-child(3) {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 72px 0 34px;
    min-height: auto;
  }

  .hero h1 {
    letter-spacing: -1px;
    max-width: 12ch;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-browser {
    max-width: none;
    animation: none;
  }

  .browser-scene {
    inset: 112px 16px 16px;
  }

  .browser-main {
    min-height: 500px;
  }

  .browser-grid,
  .digitacao-layout,
  .reports-grid,
  .ops-summary {
    grid-template-columns: 1fr;
  }

  .ops-filters {
    grid-template-columns: 1fr 1fr;
  }
}


/* ================================================
   SECTION 3 — MARQUEE
   ================================================ */
.marquee-section {
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 400;
}

.marquee-item .sep {
  color: var(--accent);
  font-size: 8px;
}

[data-theme="dark"] .marquee-item {
  color: #d6d6d6;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================
   SECTION 4 — METRICS
   ================================================ */
.metrics-section {
  padding: 62px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(39,168,226,0.14);
  overflow: hidden;
}

.metric-item {
  padding: 48px 32px;
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child) {
  border-right: 1px solid rgba(39,168,226,0.08);
}

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

  .metric-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(39,168,226,0.08);
  }
}


/* ================================================
   SECTION 5 — FEATURES
   ================================================ */
.features-section {
  padding: 67px 0;
}

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

.features-text .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.features-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  max-width: 12ch;
}

.features-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 24px;
}

.features-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(39,168,226,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(39,168,226,0.04);
  transform: translateY(-3px);
}

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

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39,168,226,0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .features-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ================================================
   SECTION 6 — TIMELINE / STEPS
   ================================================ */
.steps-section {
  padding: 67px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* bolinhas (movidas do Contato) */
.steps-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(39,168,226,0.14) 1.6px, transparent 1.7px);
  background-size: 22px 22px;
  pointer-events: none;
}
.steps-section .container { position: relative; z-index: 1; }

.steps-header {
  text-align: center;
  margin-bottom: 64px;
}

.steps-header .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.steps-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.steps-header p {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--text-muted);
}

/* Layout 2 colunas: passos + visual */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 72px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.steps-flow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-card {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 38px;
  transition: transform 0.3s ease;
}
.step-card:last-child { padding-bottom: 0; }

/* linha conectora entre os badges */
.step-card:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 60px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(39,168,226,0.18));
}

.step-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(150deg, #27a8e2 0%, #1b7fb0 100%);
  box-shadow: 0 10px 24px rgba(39,168,226,0.28);
}

.step-body { padding-top: 4px; }

.step-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.step-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 40ch;
}

.step-card:hover { transform: translateX(4px); }

/* Visual lateral */
.steps-visual {
  position: relative;
}
.steps-visual::before {
  content: '';
  position: absolute;
  inset: -10% -8% -10% 4%;
  background: radial-gradient(ellipse at center, rgba(39,168,226,0.22), transparent 68%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}
.steps-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  display: block;
}

@media (max-width: 900px) {
  .steps-layout { grid-template-columns: 1fr; gap: 48px; max-width: 540px; }
  .steps-visual { order: -1; }
}


/* ================================================
   SECTION 7 — CTA FINAL
   ================================================ */
.cta-section {
  padding: 79px 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(39,168,226,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
  position: relative;
}

.cta-section .sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  position: relative;
}

.cta-section .btn-cta {
  font-size: 1rem;
  padding: 16px 36px;
  position: relative;
}


/* ================================================
   SECTION 8 — FOOTER
   ================================================ */
.footer {
  border-top: 1px solid rgba(39,168,226,0.08);
  padding: 56px 0 32px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  margin-top: -20px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  align-self: flex-start;
}

.footer-logo img {
  display: block;
  height: 56px;
  width: auto;
  transform: translateX(-10px);
}

.footer-tagline {
  max-width: 360px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(39,168,226,0.08);
  border: 1px solid rgba(39,168,226,0.12);
  color: var(--text-primary);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: rgba(39,168,226,0.3);
  transform: translateY(-1px);
}

.footer-certifications h4,
.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-badges img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent);
  width: 14px;
  margin-top: 4px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dimmed);
}

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  line-height: 1.7;
  text-align: justify;
}

/* seleção legível (cinza claro sumia no realce padrão) */
.footer-disclaimer ::selection { background: #27a8e2; color: #ffffff; }
.footer-disclaimer ::-moz-selection { background: #27a8e2; color: #ffffff; }

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

.footer-bottom .theme-toggle { flex-shrink: 0; }

@media (max-width: 600px) {
  .footer-bottom { justify-content: center; }
}

.partners-grid {
  margin-top: 8px;
}

.partners-section {
  background: #ffffff;
}

.partners-section h2 {
  color: #171717;
}

.partners-section p {
  color: #4f4f4f !important;
}

.partner-logo {
  max-height: 132px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.96;
  transition: transform var(--transition), opacity var(--transition);
}

.partner-logo:hover {
  transform: translateY(-2px);
  opacity: 1;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-heading h2,
  .features-text h2,
  .steps-header h2 {
    max-width: none;
  }

  .navbar {
    padding: 10px 0;
  }

  .navbar .container {
    min-height: 36px;
  }

  .navbar-logo img {
    height: 28px;
  }

  .browser-chrome {
    padding: 10px 12px;
    gap: 8px;
  }

  .browser-url {
    font-size: 0.58rem;
    padding: 6px 8px;
  }

  .hero-browser {
    max-width: 100%;
    min-height: 340px;
    border-radius: 10px;
  }

  .browser-app {
    min-height: 286px;
  }

  .browser-main {
    padding: 10px;
    min-height: 340px;
  }

  .browser-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }

  .browser-chip {
    padding: 4px 8px;
    font-size: 0.62rem;
    margin-right: 6px;
  }

  .browser-user {
    font-size: 0.66rem;
  }

  .browser-scene {
    inset: 64px 10px 10px;
  }

  .browser-heading {
    margin-bottom: 10px;
    gap: 8px;
  }

  .browser-heading h3,
  .browser-login h4,
  .browser-floating-card h4 {
    font-size: 1rem;
  }

  .eyebrow,
  .scene-badge,
  .browser-kpi .label,
  .card-header,
  .floating-metrics span,
  .ops-summary-item span,
  .status-text {
    font-size: 0.58rem;
  }

  .browser-kpi,
  .browser-card,
  .ops-summary-item,
  .digitacao-form,
  .digitacao-sidecard,
  .browser-floating-card,
  .browser-login {
    border-radius: 10px;
  }

  .browser-kpi {
    min-height: 62px;
    padding: 10px;
  }

  .browser-kpi strong,
  .report-stat strong {
    font-size: 1rem;
    margin: 4px 0 2px;
  }

  .browser-kpis {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .browser-topbar {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 12px;
  }

  .browser-nav-top {
    order: 2;
    overflow-x: auto;
    padding-bottom: 0;
    gap: 4px;
  }

  .browser-nav-item {
    padding: 6px 8px;
    font-size: 0.66rem;
    border-radius: 7px;
  }

  .browser-brand {
    font-size: 1rem;
  }

  .browser-user-pill {
    padding: 6px 8px;
    font-size: 0.64rem;
  }

  .ops-table-head,
  .ops-table-row,
  .digitacao-row {
    grid-template-columns: 1fr;
  }

  .ops-filters,
  .ops-summary,
  .reports-grid,
  .digitacao-layout {
    gap: 8px;
  }

  .ops-filters {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8px;
  }

  .filter-pill,
  .filter-action,
  .field {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.62rem;
    border-radius: 9px;
  }

  .ops-summary-item,
  .browser-card,
  .digitacao-form,
  .digitacao-sidecard {
    padding: 10px;
  }

  .ops-table-head,
  .ops-table-row {
    padding: 9px 10px;
    font-size: 0.62rem;
  }

  .chart-bars {
    height: 74px;
    gap: 5px;
  }

  .browser-floating-card,
  .browser-login {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    padding: 10px;
  }

  .browser-login {
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    left: 50%;
    right: auto;
  }

  .browser-login.visible {
    transform: translate(-50%, -50%);
  }

  .hero-browser.scene-auth .browser-login,
  .hero-browser.scene-auth .browser-login.visible {
    transform: translate(-50%, -50%);
  }

  .login-logo {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
  }

  .browser-login p {
    font-size: 0.72rem;
    margin: 6px 0 10px;
  }

  .login-field {
    height: 30px;
    margin-bottom: 8px;
  }

  .login-captcha {
    height: 42px;
    margin: 10px 0;
  }

  .login-button {
    height: 34px;
    font-size: 0.8rem;
  }

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

  .footer-logo img {
    height: 36px;
    transform: translateX(-8px);
    margin-top: -12px;
  }

  .partner-logo {
    max-height: 92px;
  }

  .footer-brand,
  .footer-column {
    text-align: left;
  }

  .footer-brand {
    align-items: flex-start;
    margin-top: -12px;
  }

  .footer-badges {
    flex-wrap: wrap;
  }
}


/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
#whatsapp-floating {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s ease;
}

#whatsapp-floating:hover {
  transform: scale(1.08);
}

#whatsapp-floating svg {
  width: 28px;
  height: 28px;
  fill: white;
}

#whatsapp-tooltip {
  position: fixed;
  bottom: 90px;
  left: 25px;
  background: var(--surface-alt);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
  white-space: nowrap;
  border: 1px solid var(--border);
}

#whatsapp-floating:hover + #whatsapp-tooltip {
  opacity: 1;
}


/* ================================================
   FLASH MESSAGES
   ================================================ */
.flash-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.flash-message {
  min-width: 360px;
  max-width: 90vw;
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: flashSlide 0.4s ease-out;
}

.flash-success {
  background: var(--accent);
  color: var(--bg);
}

.flash-error {
  background: #ff6961;
  color: white;
}

.flash-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-close {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  color: inherit;
}

.flash-close:hover {
  opacity: 1;
}

@keyframes flashSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ================================================
   PAGE HEADER (for sub-pages: about, services, contact)
   ================================================ */
.page-header {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background: var(--surface);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.page-header p {
  color: var(--text-muted);
  margin-top: 12px;
}

.page-header-about {
  min-height: 52vh;
}

.page-header-about .container {
  position: relative;
  z-index: 2;
}

/* Video hero for subpages */
.hero-video-subpage {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
  background-color: #2d2d2d;
}

.hero-video-subpage .video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: var(--hero-video-filter);
}

.hero-video-subpage .hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-gradient);
  z-index: 1;
}

.hero-video-subpage .container {
  position: relative;
  z-index: 2;
}

.hero-video-subpage h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-video-subpage p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 520px;
}

.hero-video-subpage .section-label {
  margin-bottom: 16px;
}

.page-header-contact {
  min-height: 46vh;
}

.page-header-contact .container {
  position: relative;
  z-index: 2;
}

.page-header-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.page-header-copy {
  max-width: 580px;
}

.about-hero-frame {
  border: 1px solid rgba(39,168,226,0.12);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%),
    var(--surface-alt);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  position: relative;
}

.about-hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(39,168,226,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,168,226,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.about-code-body {
  min-height: 270px;
  padding: 22px 20px 18px;
}

.contact-hero-frame {
  max-width: 410px;
  justify-self: end;
  border: 1px solid rgba(39,168,226,0.12);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%),
    var(--surface-alt);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.contact-hero-body {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 0;
  min-height: 172px;
}

.contact-inbox-list {
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-inbox-item,
.contact-data-card {
  padding: 8px;
  border: 1px solid rgba(244,243,243,0.05);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}

.contact-inbox-item.active {
  border-color: rgba(39,168,226,0.18);
  background: rgba(39,168,226,0.06);
}

.channel-badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(39,168,226,0.12);
  color: var(--text-primary);
  font-size: 0.62rem;
  margin-bottom: 6px;
}

.channel-badge.form {
  background: rgba(255,255,255,0.07);
}

.channel-badge.api {
  background: rgba(79,146,242,0.15);
}

.contact-inbox-item strong,
.contact-data-card strong {
  display: block;
  margin-bottom: 4px;
}

.contact-inbox-item small,
.contact-data-card span {
  color: var(--text-muted);
}

.contact-inbox-panel {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-inbox-panel h3 {
  margin: 2px 0 10px;
  font-size: 0.92rem;
}

.contact-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.contact-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid rgba(244,243,243,0.05);
  border-radius: 999px;
  color: var(--text-dimmed);
  font-size: 0.58rem;
  background: rgba(255,255,255,0.02);
}

.flow-step.done,
.flow-step.active {
  color: var(--text-primary);
  border-color: rgba(39,168,226,0.18);
}

.flow-step.active {
  background: rgba(39,168,226,0.08);
}

@media (max-width: 900px) {
  .page-header-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero-frame {
    max-width: 100%;
  }

  .about-code-body {
    min-height: 220px;
  }

  .contact-hero-body {
    grid-template-columns: 1fr;
  }

  .contact-inbox-list {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .contact-data-grid,
  .contact-flow {
    grid-template-columns: 1fr;
  }
}


/* ================================================
   SUB-PAGES GENERAL STYLES
   ================================================ */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.content-section p {
  color: var(--text-muted);
}

.about-story-section {
  background: #ffffff;
}

.about-story-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-story-section h2 {
  margin-bottom: 16px;
  color: #202020;
}

.about-story-section p {
  color: #4b4b4b;
}

.about-story-lead {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #303030;
}

/* ================================================
   SERVICES PAGE
   ================================================ */

.page-header-services {
  min-height: 52vh;
}

.page-header-services .container {
  position: relative;
  z-index: 2;
}

.svc-section {
  padding: 80px 0;
}

.svc-section-alt {
  padding: 80px 0;
  background: var(--surface);
}

.svc-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.svc-section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.svc-lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Cards grid */
.svc-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.svc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s ease;
}

.svc-card:hover {
  border-color: rgba(39,168,226,0.3);
}

.svc-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

.svc-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(39,168,226,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.svc-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.svc-card-lg {
  padding: 32px;
}

.svc-card-lg h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Checklist */
.svc-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.svc-checklist li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}

.svc-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Split layout (API section) */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.svc-split-copy h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.svc-split-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Code block */
.svc-code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.svc-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

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

.svc-code-dot:first-child { background: #ff5f57; }
.svc-code-dot:nth-child(2) { background: #febc2e; }
.svc-code-dot:nth-child(3) { background: #28c840; }

.svc-code-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.svc-code-body {
  padding: 20px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #c9d1d9;
  overflow-x: auto;
  margin: 0;
  background: transparent;
}

.svc-code-body .code-kw { color: var(--accent); }
.svc-code-body .code-str { color: var(--text-primary); }
.svc-code-body .code-num { color: var(--text-primary); }
.svc-code-body .code-cmt { color: var(--text-dimmed); }

/* Bank grid */
.svc-bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.svc-bank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.svc-bank-item:hover {
  border-color: rgba(39,168,226,0.3);
}

.svc-bank-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.svc-bank-item span {
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* Convenio list */
.svc-convenio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-convenio-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.svc-convenio-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 4px 12px;
  background: rgba(39,168,226,0.1);
  border: 1px solid rgba(39,168,226,0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.svc-convenio-item span:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Persona cards */
.svc-persona-card {
  display: flex;
  flex-direction: column;
}

.svc-persona-icon {
  width: 48px;
  height: 48px;
  background: rgba(39,168,226,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.svc-persona-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .svc-section,
  .svc-section-alt {
    padding: 56px 0;
  }

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

  .svc-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-split-copy h2 {
    font-size: 1.5rem;
  }

  .svc-section-header h2 {
    font-size: 1.6rem;
  }

  .svc-bank-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact form for sub-page */
.contact-form-wrapper {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form-wrapper label {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 6px;
  display: block;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  outline: none;
  border-color: var(--accent);
}

/* Nome sempre em caixa alta (visual; o back grava em upper) */
.contact-form-wrapper input[name="name"] { text-transform: uppercase; }
.contact-form-wrapper input[name="name"]::placeholder { text-transform: none; }

.contact-form-wrapper .btn-cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  background: var(--accent);
  color: var(--navbar-cta-text);
}

.contact-form-wrapper .btn-cta:hover {
  background: #1f93cf;
  color: var(--navbar-cta-text);
  box-shadow: 0 10px 30px rgba(27,127,176,0.18);
}


/* ================================================
   COOKIE CONSENT BANNER
   ================================================ */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 9999;
    background: var(--cookie-bg);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-banner-content p a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.cookie-btn:hover { opacity: 0.85; }

.cookie-btn-primary {
    background: var(--accent);
    color: #2d2d2d;
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ================================================
   LEGAL PAGE
   ================================================ */
.page-header-simple {
    padding: 120px 0 48px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-header-simple h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 8px;
}

.page-header-simple p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-page {
    padding: 64px 0 96px;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.97rem;
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 8px;
}

.legal-content p {
    margin-bottom: 14px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin: 16px 0 24px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    vertical-align: top;
}

.legal-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
}

.legal-table tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

.legal-contact-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin: 16px 0 24px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .legal-contact-block {
        grid-template-columns: 1fr;
    }
}

.if-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0 24px;
}

.if-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}

.if-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.if-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 0.875rem;
}

.if-card ul li {
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.if-card a {
    color: var(--text-muted);
    font-weight: 600;
}

.if-card a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

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

/* ================================================
   THEME TOGGLE (sun/moon button)
   ================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.theme-toggle:hover {
  color: var(--accent);
  background: rgba(39,168,226,0.1);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

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

/* Logo swap — driven by theme + (for navbar in light) by scrolled state.
   Hero is always dark, so navbar over hero in light theme needs the light/white logo (logo-dark);
   once scrolled (white navbar) or on light-top pages (legal), use the dark logo (logo-light). */
.navbar-logo .logo-dark,
.navbar-logo .logo-light,
.footer-logo .logo-dark,
.footer-logo .logo-light {
  display: none;
}

[data-theme="dark"] .navbar-logo .logo-dark,
[data-theme="dark"] .footer-logo .logo-dark { display: inline-block; }

[data-theme="light"] .footer-logo .logo-light { display: inline-block; }

[data-theme="light"] .navbar:not(.scrolled) .navbar-logo .logo-dark { display: inline-block; }
[data-theme="light"] .navbar.scrolled .navbar-logo .logo-light { display: inline-block; }

@media (max-width: 768px) {
  .theme-toggle {
    width: 34px;
    height: 34px;
  }
  .theme-toggle svg { width: 16px; height: 16px; }

  /* Inside mobile menu, give it pill style aligned with menu items */
  .navbar-links .theme-toggle {
    margin-top: 8px;
    width: auto;
    min-width: 180px;
    height: auto;
    padding: 14px 20px;
    border-radius: 12px;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
  }
  .navbar-links .theme-toggle::after {
    content: 'Tema';
    text-transform: none;
    letter-spacing: 0.3px;
  }
}


/* ================================================
   LIGHT THEME OVERRIDES — surface/card/border tints
   (dark uses rgba(255,255,255,X) overlays — invert here)
   ================================================ */
[data-theme="light"] body {
  background-image: none;
}

/* Navbar: subtle border on scroll */
[data-theme="light"] .navbar.scrolled {
  border-bottom: 0.5px solid rgba(27,127,176,0.25);
  box-shadow: 0 10px 30px rgba(15,15,15,0.08);
}

/* Mobile nav overlay grid lines */
[data-theme="light"] .navbar-links::after {
  background-image:
    linear-gradient(rgba(15,15,15,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,15,15,0.025) 1px, transparent 1px);
}

[data-theme="light"] .navbar-links a:hover,
[data-theme="light"] .navbar-links a:active {
  background: rgba(39,168,226,0.16);
}

/* Hero browser / terminal mock surfaces */
[data-theme="light"] .hero-browser,
[data-theme="light"] .terminal-showcase {
  background:
    linear-gradient(180deg, var(--overlay-1), transparent 35%),
    var(--surface);
  border-color: rgba(27,127,176,0.18);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .hero-browser::before,
[data-theme="light"] .terminal-showcase::before {
  background-image:
    linear-gradient(rgba(27,127,176,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,127,176,0.05) 1px, transparent 1px);
}

[data-theme="light"] .terminal-bar,
[data-theme="light"] .browser-chrome,
[data-theme="light"] .browser-topbar {
  background: var(--overlay-2);
  border-bottom-color: var(--border);
}

[data-theme="light"] .browser-url {
  background: var(--overlay-1);
  border-color: var(--border);
}

[data-theme="light"] .browser-url::after {
  background: linear-gradient(90deg, transparent, rgba(15,15,15,0.08), transparent);
}

[data-theme="light"] .browser-controls span,
[data-theme="light"] .browser-actions span {
  background: rgba(15,15,15,0.14);
}
[data-theme="light"] .browser-controls span:nth-child(1) { background: #ff5f57; }
[data-theme="light"] .browser-controls span:nth-child(2) { background: #ffbd2e; }
[data-theme="light"] .browser-controls span:nth-child(3) { background: #28c840; }

[data-theme="light"] .browser-user-pill,
[data-theme="light"] .browser-kpi,
[data-theme="light"] .browser-card,
[data-theme="light"] .ops-column,
[data-theme="light"] .compliance-panel,
[data-theme="light"] .browser-floating-card,
[data-theme="light"] .browser-login,
[data-theme="light"] .ops-summary-item,
[data-theme="light"] .digitacao-form,
[data-theme="light"] .digitacao-sidecard {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(15,15,15,0.04);
}

[data-theme="light"] .ops-table {
  background: var(--surface);
}

[data-theme="light"] .ops-table-head {
  background: var(--overlay-2);
}

[data-theme="light"] .ops-table-row {
  border-top-color: var(--border-soft);
}

[data-theme="light"] .ops-table-row.active {
  background: rgba(27,127,176,0.07);
}

[data-theme="light"] .ops-table-row.focused {
  background: rgba(27,127,176,0.12);
  border-color: rgba(27,127,176,0.22);
}

[data-theme="light"] .filter-pill,
[data-theme="light"] .filter-action,
[data-theme="light"] .field {
  background: var(--overlay-1);
  border-color: var(--border-soft);
}

[data-theme="light"] .filter-pill.active,
[data-theme="light"] .field.accent {
  border-color: rgba(27,127,176,0.28);
}

[data-theme="light"] .check-item {
  background: var(--overlay-1);
  border-color: var(--border-soft);
}

[data-theme="light"] .check-item.ok {
  border-color: rgba(27,127,176,0.24);
}

[data-theme="light"] .browser-main::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 22%);
}

[data-theme="light"] .login-field,
[data-theme="light"] .login-captcha,
[data-theme="light"] .login-button {
  background: var(--overlay-1);
  border-color: var(--border-soft);
}

[data-theme="light"] .progress-track {
  background: rgba(15,15,15,0.08);
}

/* Marquee */
[data-theme="light"] .marquee-section {
  background: var(--overlay-1);
}
[data-theme="light"] .marquee-item {
  color: #6a6a6a;
}

/* Section labels & section-heading accent */
[data-theme="light"] .features-text .section-label,
[data-theme="light"] .steps-header .section-label,
[data-theme="light"] .text-accent {
  color: var(--accent-text);
}

/* Metrics number stays green but slightly darker for contrast on white */
[data-theme="light"] .metric-number,
[data-theme="light"] .scene-badge.ok,
[data-theme="light"] .trend.up,
[data-theme="light"] .svc-checklist li::before {
  color: var(--accent-text);
}

[data-theme="light"] .metrics-grid {
  border-color: rgba(27,127,176,0.22);
  background: var(--surface);
}

[data-theme="light"] .metric-item:not(:last-child) {
  border-right-color: rgba(27,127,176,0.12);
}
@media (max-width: 768px) {
  [data-theme="light"] .metric-item:not(:last-child) {
    border-bottom-color: rgba(27,127,176,0.12);
  }
}

/* Feature/svc cards */
[data-theme="light"] .feature-card,
[data-theme="light"] .svc-card,
[data-theme="light"] .svc-bank-item,
[data-theme="light"] .svc-convenio-item {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 2px 14px rgba(15,15,15,0.04);
}

[data-theme="light"] .feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 30px rgba(27,127,176,0.10);
}

[data-theme="light"] .svc-card:hover,
[data-theme="light"] .svc-bank-item:hover {
  border-color: rgba(27,127,176,0.4);
}

/* CTA section dot pattern slightly stronger on light */
[data-theme="light"] .cta-section::before {
  background-image: radial-gradient(rgba(27,127,176,0.16) 1px, transparent 1px);
}

/* Steps timeline number circle */
[data-theme="light"] .step-number {
  color: var(--surface);
  background: var(--text-dimmed);
}
[data-theme="light"] .step-item.active .step-number {
  background: var(--accent-text);
  color: #ffffff;
}

/* Footer social */
[data-theme="light"] .footer-social a {
  background: rgba(27,127,176,0.1);
  border-color: rgba(27,127,176,0.2);
  color: var(--text-primary);
}
[data-theme="light"] .footer-social a:hover {
  background: var(--accent-text);
  color: #ffffff;
  border-color: var(--accent-text);
}

/* About hero frame & contact hero frame */
[data-theme="light"] .about-hero-frame,
[data-theme="light"] .contact-hero-frame {
  background:
    linear-gradient(180deg, var(--overlay-1), transparent 35%),
    var(--surface);
  border-color: rgba(27,127,176,0.18);
  box-shadow: var(--shadow-soft);
}

[data-theme="light"] .about-hero-frame::before {
  background-image:
    linear-gradient(rgba(27,127,176,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,127,176,0.04) 1px, transparent 1px);
}

[data-theme="light"] .contact-inbox-list {
  background: var(--overlay-1);
  border-right-color: var(--border);
}

[data-theme="light"] .contact-inbox-item,
[data-theme="light"] .contact-data-card {
  background: var(--surface);
  border-color: var(--border-soft);
}

[data-theme="light"] .contact-inbox-item.active {
  background: rgba(27,127,176,0.08);
  border-color: rgba(27,127,176,0.24);
}

[data-theme="light"] .flow-step {
  background: var(--overlay-1);
  border-color: var(--border-soft);
}

[data-theme="light"] .flow-step.active {
  background: rgba(27,127,176,0.1);
  border-color: rgba(27,127,176,0.24);
}

[data-theme="light"] .channel-badge.form {
  background: rgba(15,15,15,0.06);
}

/* Browser-chip subtle */
[data-theme="light"] .browser-chip.subtle {
  border-color: var(--border);
  color: var(--text-muted);
}

/* Partners/about-story sections already white — keep, but tone to match theme */
[data-theme="light"] .partners-section {
  background: var(--surface-alt);
}
[data-theme="light"] .partners-section h2,
[data-theme="light"] .about-story-section h2 {
  color: var(--text-primary);
}
[data-theme="light"] .partners-section p,
[data-theme="light"] .about-story-section p,
[data-theme="light"] .about-story-lead {
  color: var(--text-muted) !important;
}
[data-theme="light"] .about-story-section {
  background: var(--surface-alt);
}

/* WhatsApp tooltip readable on white */
[data-theme="light"] #whatsapp-tooltip {
  background: var(--surface);
  color: var(--text-primary);
}

/* Cookie banner */
[data-theme="light"] #cookie-banner {
  box-shadow: 0 -4px 24px rgba(15,15,15,0.08);
}
[data-theme="light"] .cookie-btn-secondary {
  color: var(--text-muted);
  border-color: var(--border);
}

/* Page header (sub-pages) bg */
[data-theme="light"] .page-header,
[data-theme="light"] .svc-section-alt {
  background: var(--surface-alt);
}

/* Steps section: fundo transparente p/ revelar a textura do body */
[data-theme="light"] .steps-section {
  background: transparent;
}

/* Navbar mobile toggle bars */
[data-theme="light"] .navbar-toggle span {
  background: var(--text-primary);
}


/* ================================================
   HERO + SUBPAGE HERO: always render dark
   (overlay + video filter live in :root; here we lock the text colors)
   ================================================ */
[data-theme="light"] .hero h1,
[data-theme="light"] .hero-video-subpage h1 {
  color: #f4f3f3;
}

[data-theme="light"] .hero .hero-sub,
[data-theme="light"] .hero-video-subpage p {
  color: #b8b8b8;
}

[data-theme="light"] .hero-badge {
  background: rgba(255,255,255,0.04);
  border-color: rgba(244,243,243,0.1);
  color: #b8b8b8;
}

[data-theme="light"] .hero .btn-ghost,
[data-theme="light"] .hero-video-subpage .btn-ghost {
  color: #f4f3f3;
  border-color: var(--accent);
}
[data-theme="light"] .hero .btn-ghost:hover,
[data-theme="light"] .hero-video-subpage .btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  color: var(--accent);
}

[data-theme="light"] .hero-video-subpage .section-label {
  color: var(--accent);
}


/* ================================================
   HERO BROWSER MOCK — topbar (sistema) sempre dark
   ================================================ */
[data-theme="light"] .browser-topbar {
  background: #2b2b2b;
  border-bottom-color: rgba(244,243,243,0.08);
}

[data-theme="light"] .browser-topbar .browser-nav-item {
  color: #888;
}

[data-theme="light"] .browser-topbar .browser-nav-item.active {
  background: rgba(39,168,226,0.12);
  border-color: rgba(39,168,226,0.2);
  color: #f4f3f3;
  box-shadow: inset 0 0 0 1px rgba(39,168,226,0.12);
}

[data-theme="light"] .browser-topbar .browser-user-pill {
  background: rgba(255,255,255,0.04);
  border-color: rgba(244,243,243,0.08);
  color: #f4f3f3;
}

/* Login card icon — swap to black-t variant on white card */
[data-theme="light"] .login-logo {
  background-image: url("../logo-t-dark.png");
}

/* Services API-first code block — match the terminal-showcase look in light theme
   (white frame + grid pattern + dark text — same as hero terminal) */
[data-theme="light"] .svc-code-block {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%),
    var(--surface);
  border-color: rgba(39,168,226,0.18);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .svc-code-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,127,176,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,127,176,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .svc-code-header,
[data-theme="light"] .svc-code-body {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .svc-code-header {
  background: rgba(15,15,15,0.025);
  border-bottom-color: var(--border);
}

[data-theme="light"] .svc-code-title {
  color: var(--text-muted);
}

[data-theme="light"] .svc-code-body {
  color: var(--text-primary);
  background: transparent;
}

[data-theme="light"] .svc-code-body .code-kw { color: var(--accent); }
[data-theme="light"] .svc-code-body .code-str { color: var(--text-primary); }
[data-theme="light"] .svc-code-body .code-num { color: var(--text-primary); }
[data-theme="light"] .svc-code-body .code-cmt { color: var(--text-dimmed); }


/* ================================================
   UTILITIES
   ================================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.text-center { text-align: center; }


/* ================================================
   CONSIGNADO DO TRABALHADOR — overrides da sub-marca
   ================================================ */

/* Hero com imagem de fundo (em vez de vídeo) e coluna única centrada */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  filter: saturate(1.12) contrast(1.04);
}

.hero--centered > .container {
  display: block !important;
  text-align: center;
  max-width: 880px;
}

.hero--centered .hero-content {
  max-width: none;
  align-items: center;
}

.hero--centered .hero-badge { margin-left: auto; margin-right: auto; }
.hero--centered .hero-buttons { justify-content: center; }

.hero--centered h1 {
  max-width: 18ch;
  margin: 0 auto 24px;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 1.04;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero--centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 16px rgba(0,0,0,0.3);
}

/* Navbar é sólido desde o topo (branco no claro / escuro no escuro);
   links usam as cores padrão do tema, com bom contraste. */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 52px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat strong {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--accent);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.85rem;
  color: #b8b8b8;
}

/* ================================================
   HERO 2 COLUNAS + SIMULADOR
   ================================================ */
/* Hero é sempre escuro (vídeo) -> texto claro nos dois temas */
.hero .hero-content h1,
.hero .hero-content .hero-sub { color: #f4f3f3; }
.hero .hero-content h1 { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero .hero-content .hero-sub { color: #d6d6d6; text-shadow: 0 1px 16px rgba(0,0,0,0.3); }
.hero .hero-content .hero-badge { background: rgba(255,255,255,0.08); color: #e8e8e8; border-color: rgba(255,255,255,0.18); }
.hero .hero-trust-block .hero-trust li { color: #ececec; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero .hero-trust-block .hero-social-proof p { color: #f0f0f0; text-shadow: none; }
.hero .hero-trust-block .hero-social-proof p strong { color: var(--accent); }
.hero .hero-content .hero-stats { justify-content: flex-start; gap: 40px; margin-top: 36px; }

/* Honeypot anti-bot */
/* Honeypot — escondido sem jogar pra fora da tela (evita scroll lateral no mobile) */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Card do simulador */
.sim-card {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}

.sim-badge {
  position: absolute;
  top: 0;
  right: 28px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(22,163,74,0.35);
  white-space: nowrap;
}

.sim-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.sim-sub {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.sim-card label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sim-card input[type="text"] {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.sim-card input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.sim-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.sim-optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
}

.sim-optin input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;                     /* zera padding herdado de .contact-form-wrapper input */
  flex-shrink: 0;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  background: #ffffff;            /* sempre branco, nos dois temas */
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.sim-optin input[type="checkbox"]:hover { border-color: var(--accent); }
.sim-optin input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.sim-optin input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sim-optin span { font-size: 0.78rem; font-weight: 400; color: var(--text-muted); line-height: 1.5; }
.sim-optin a { color: var(--accent-text); text-decoration: underline; }

.sim-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 15px 20px;
}

.sim-error {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #e0413a;
  text-align: center;
}

.sim-foot {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-dimmed);
  text-align: center;
}

.sim-safe {
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--text-dimmed);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sim-safe i { color: var(--accent); }

/* --- Slider de valor (home) --- */
.sim-slider-block {
  margin-bottom: 22px;
}

.sim-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sim-slider-head label {
  margin-bottom: 0;
}

.sim-slider-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-text);
}

.sim-card input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.sim-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  cursor: pointer;
}

.sim-card input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  cursor: pointer;
}

.sim-card input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
}

.sim-slider-minmax {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-dimmed);
}

@media (max-width: 968px) {
  .sim-card { margin: 0 auto; }
  .hero .hero-content .hero-stats { justify-content: center; }
}

/* ================================================
   PÁGINA — SOLICITAR (etapa 2 da simulação)
   ================================================ */
.solicitar-section {
  padding: 140px 0 80px;
  min-height: 80vh;
}

.solicitar-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.solicitar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
}

.solicitar-back:hover { color: var(--accent); }

.solicitar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.solicitar-sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.solicitar-sub strong { color: var(--accent-text); }

.info-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(39,168,226,0.08);
  border: 1px solid rgba(39,168,226,0.22);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 28px;
}
.info-notice-icon {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 17px;
  color: var(--accent);
}
.info-notice-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 4px;
}
.info-notice-body p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.info-notice-body p:last-child { margin-bottom: 0; }
.info-notice-body strong { color: var(--text-primary); }

.solicitar-card .sim-card {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  box-shadow: none;
  border: none;
}

.req-success {
  text-align: center;
  padding: 8px 0 4px;
}
.req-success-icon {
  font-size: 56px;
  color: #1faa4a;
  margin-bottom: 18px;
}
.req-success-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.req-success-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 26px;
}

@media (max-width: 560px) {
  .solicitar-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .sim-card { padding: 22px 18px; }
  .sim-row { gap: 10px; }
}

/* FAQ accordion (componente novo, não existe na Tegge) */
.faq-section {
  padding: 67px 0;
  background: transparent;
}

/* Layout 2 colunas: aside fixo + accordion */
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-aside { position: sticky; top: 112px; }
.faq-aside .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.faq-aside h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.faq-aside p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; max-width: 34ch; }
.faq-aside .btn-whatsapp { margin-top: 26px; display: inline-flex; width: fit-content; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover { border-color: var(--border-hover); }

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.faq-item.active .faq-question { color: var(--accent-text); }

.faq-question::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
  background: rgba(39,168,226,0.10);
  border-radius: 9px;
  transition: transform var(--transition), background var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  background: rgba(39,168,226,0.18);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 360px;
  padding: 0 22px 22px;
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 36px; max-width: 760px; }
  .faq-aside { position: static; }
}

/* Contato: form + aside (checklist + WhatsApp) */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-aside .section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.contact-aside h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.contact-aside p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-checklist i {
  color: var(--accent);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-whatsapp:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.25);
}

.spinner-border { vertical-align: -0.125em; }

/* ================================================
   Benefícios — BENTO GRID assimétrico (premium)
   ================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "taxa taxa online online"
    "taxa taxa seguro flex";
  grid-auto-rows: minmax(124px, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.feature-icon i { color: var(--accent); font-size: 18px; }

/* Efeito de profundidade atrás da seção (glow sutil da marca) */
.features-section { position: relative; overflow: hidden; }
.features-section .container { position: relative; z-index: 1; }

/* glow premium saindo dos cards (sombra colorida da marca) */
.benefits-grid .feature-card { box-shadow: 0 14px 44px rgba(39,168,226,0.14); }
.benefits-grid .feat--hero { box-shadow: 0 22px 56px rgba(39,168,226,0.34); }
.benefits-grid .feature-card:hover { box-shadow: 0 24px 64px rgba(39,168,226,0.22); }

/* mesmo glow nos cards do FAQ (consistência com Benefícios) */
.faq-item { box-shadow: 0 10px 36px rgba(39,168,226,0.12); }
.faq-item:hover { box-shadow: 0 14px 44px rgba(39,168,226,0.18); }
.faq-item.active { box-shadow: 0 18px 50px rgba(39,168,226,0.22); }

/* posicionamento no bento */
.benefits-grid .feature-card:nth-child(1) { grid-area: taxa; }
.benefits-grid .feature-card:nth-child(2) { grid-area: online; }
.benefits-grid .feature-card:nth-child(3) { grid-area: seguro; }
.benefits-grid .feature-card:nth-child(4) { grid-area: flex; }

/* card base */
.benefits-grid .feature-card {
  padding: 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
}

.benefits-grid .feature-card-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.benefits-grid .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(39,168,226,0.18), rgba(39,168,226,0.04));
  border: 1px solid rgba(39,168,226,0.18);
}
.benefits-grid .feature-icon i { font-size: 19px; }

.benefits-grid .feature-card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.benefits-grid .feature-card p { font-size: 0.96rem; line-height: 1.55; }

.benefits-grid .feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-soft);
}

/* cards largos: ícone ao lado do título, conteúdo centralizado */
.benefits-grid .feat--wide { justify-content: center; }
.benefits-grid .feat--wide .feature-card-header { flex-direction: row; align-items: center; gap: 16px; }

/* card destaque (100% Online) — preenchido com a cor da marca + foto */
.benefits-grid .feat--hero {
  background: none;
  border-color: transparent;
  color: #fff;
  position: relative;
  overflow: visible;
  padding: 0;
  display: block;
  isolation: isolate;
}
.benefits-grid .feat--hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(150deg, #27a8e2 0%, #1b7fb0 100%);
  opacity: 1;
  z-index: 0;
}
.benefits-grid .feat--hero:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 24px 56px rgba(27,127,176,0.34);
}

.feat-hero-photo {
  position: absolute;
  left: -16px;
  top: -30px;
  bottom: 0;
  width: 54%;
  z-index: 1;
  pointer-events: none;
}
.feat-hero-photo img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 112%;
  object-fit: contain;
  object-position: bottom left;
}

.feat-hero-body {
  position: relative;
  z-index: 1;
  height: 100%;
  margin-left: 50%;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
}
.benefits-grid .feat--hero h3 {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 10px;
}
.feat-hero-pct, .feat-hero-label {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.feat-hero-pct { color: #6ee9a8; }
.feat-hero-label { color: #fff; }
.benefits-grid .feat--hero p { color: rgba(255,255,255,0.92); font-size: 0.96rem; line-height: 1.5; max-width: 23ch; }

.feat-hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  z-index: 1;
}
.feat-hero-badge i { color: #22c55e; font-size: 18px; }

/* Assinatura "uma solução Tegge" no footer */
.footer-tegge {
  font-size: 0.85rem;
  color: var(--text-dimmed);
  margin: -6px 0 2px;
}

.footer-tegge a {
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 968px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "taxa taxa"
      "online online"
      "seguro flex";
  }

  .feat-hero-photo {
    left: auto;
    right: -16px;
    width: 45.9%;
  }
  .feat-hero-body {
    margin-left: 0;
    margin-right: 45.9%;
  }
  .feat-hero-badge {
    right: auto;
    left: 18px;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-auto-rows: auto;
  }
  .benefits-grid .feature-card:nth-child(n) { grid-area: auto; }
  .benefits-grid .feat--hero {
    height: 380px;
  }
  .feat-hero-photo {
    position: absolute;
    left: auto;
    right: -10px;
    top: -56px;
    bottom: 0;
    width: 66%;
    height: auto;
    overflow: visible;
    z-index: 3;
  }
  .feat-hero-photo img {
    left: 0;
    right: auto;
    bottom: 0;
    top: auto;
    width: 100%;
    height: auto;
    max-height: 126%;
    transform: none;
    object-fit: contain;
    object-position: bottom right;
  }
  .feat-hero-body {
    margin-left: 0;
    margin-right: 58%;
    height: 100%;
    padding: 22px 16px 20px;
    position: relative;
    z-index: 2;
  }
  .feat-hero-pct, .feat-hero-label { font-size: 1.35rem; }
  .benefits-grid .feat--hero p { font-size: 0.85rem; line-height: 1.45; max-width: none; }
}

/* Logo em 2 linhas (SVG) — alturas próprias da sub-marca */
.navbar-logo img { height: 64px; }
.footer-logo img { height: 60px; transform: none; }

@media (max-width: 768px) {
  .navbar-logo { max-width: none; }
  .navbar-logo img { height: 48px; }
  .footer-logo img { height: 48px; transform: none; margin-top: 0; }
}

@media (max-width: 768px) {
  .hero-stats { gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-section, .features-section, .steps-section { padding: 43px 0; }
}

/* ================================================
   Contato — faixa na cor da marca (CTA em destaque)
   ================================================ */
.cta-section {
  background: linear-gradient(160deg, #2cb2ee 0%, #2098d2 52%, #1b7fb0 100%);
}
.cta-section::before { display: none; }   /* bolinhas movidas p/ Como Funciona */

/* texto do aside em branco sobre o azul */
.cta-section .contact-aside .section-label { color: rgba(255,255,255,0.82); }
.cta-section .contact-aside h2 { color: #ffffff; }
.cta-section .contact-aside p { color: rgba(255,255,255,0.92); }
.cta-section .contact-checklist li { color: #ffffff; }
.cta-section .contact-checklist i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #22c55e;     /* círculo verde sólido (miolo todo verde) */
  color: #ffffff;          /* check branco */
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

/* formulário em cartão branco destacado (nos dois temas) */
.cta-section .contact-form-wrapper {
  background: #ffffff;
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(10,55,85,0.28);
}
.cta-section .contact-form-wrapper label { color: #111111; }
.cta-section .contact-form-wrapper input,
.cta-section .contact-form-wrapper textarea,
.cta-section .contact-form-wrapper select {
  background: #f4f4f3;
  border-color: rgba(15,15,15,0.10);
  color: #111111;
}
.cta-section .contact-form-wrapper .sim-optin span { color: #5a5a5a; }

/* selo Correspondente Autorizado C6 Bank */
.corr-badge {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.corr-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}
.corr-logo {
  height: 30px;
  width: auto;
  display: block;
}




