/* ============================================================================
   CLICTECNOLOGIA — Sistema de Design v3
   SaaS institucional · Light · Profissional · Sóbrio
   ============================================================================ */

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

/* ============================================================================
   FONTE LOCAL — Manrope
   ============================================================================ */
@font-face { font-family: 'Manrope'; src: url('assets/fonts/Manrope-Thin.woff2') format('woff2'), url('assets/fonts/Manrope-Thin.woff') format('woff'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/Manrope-Light.woff2') format('woff2'), url('assets/fonts/Manrope-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/Manrope-Regular.woff2') format('woff2'), url('assets/fonts/Manrope-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/Manrope-Medium.woff2') format('woff2'), url('assets/fonts/Manrope-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/Manrope-Semibold.woff2') format('woff2'), url('assets/fonts/Manrope-Semibold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('assets/fonts/Manrope-Bold.woff2') format('woff2'), url('assets/fonts/Manrope-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Paleta */
  /* Paleta — paleta oficial Clic */
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;       /* cinza claro neutro pra seções alternadas */
  --bg-tint: #EFF1F5;
  --bg-cream: #FAF8E9;      /* creme oficial — usado em accents pontuais, não em fundos amplos */
  --surface: #FFFFFF;
  --ink: #1C3661;           /* azul marinho oficial Clic */
  --ink-2: #2A4A7F;
  --ink-3: #3B5E96;
  --ink-soft: #E5EBF3;
  --text: #1C3661;
  --muted: #54637B;
  --dim: #7C8AA0;
  --light: #B0BAC9;
  --line: #E3E7EE;
  --line-soft: #EFF1F5;

  --brand: #F28E26;          /* laranja oficial Clic */
  --brand-hover: #D87919;
  --brand-soft: #FDE6CA;
  --brand-ink: #A85F0E;

  --success: #16A34A;
  --danger: #DC2626;

  /* Tipografia — Manrope local */
  --font: 'Manrope', -apple-system, system-ui, sans-serif;
  --font-display: 'Manrope', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1250px;
  --gutter: 24px;
  --r: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Sombras — tom azul Clic */
  --shadow-xs: 0 1px 2px rgba(28,54,97,0.05);
  --shadow-sm: 0 1px 3px rgba(28,54,97,0.06), 0 1px 2px rgba(28,54,97,0.04);
  --shadow: 0 4px 8px -2px rgba(28,54,97,0.08), 0 2px 4px -2px rgba(28,54,97,0.05);
  --shadow-md: 0 12px 20px -4px rgba(28,54,97,0.1), 0 4px 8px -4px rgba(28,54,97,0.06);
  --shadow-lg: 0 24px 32px -8px rgba(28,54,97,0.12), 0 8px 16px -8px rgba(28,54,97,0.06);

  /* Transições suaves */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t-med: 0.32s var(--ease);
  --t-slow: 0.55s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.011em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-sm { max-width: 760px; }
.container-md { max-width: 920px; }
.container-lg { max-width: 1400px; }

/* ============================================================================
   TIPOGRAFIA
   ============================================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  display: inline-block;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.012em;
}

p { color: var(--muted); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--ink);
  color: white;
}
.btn-primary:hover {
  background: var(--text);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-brand {
  background: var(--brand);
  color: white;
}
.btn-brand:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 16px -4px rgba(255,77,0,0.3);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--light);
}
.btn-ghost {
  color: var(--text);
  padding: 11px 8px;
}
.btn-ghost:hover { color: var(--brand); }

.btn-lg { padding: 14px 22px; font-size: 0.95rem; }
.btn-sm { padding: 7px 12px; font-size: 0.84rem; border-radius: 6px; }
/* CTAs do cabeçalho — maiores que btn-sm padrão */
.site-header .btn-sm { padding: 12px 20px; font-size: 0.92rem; border-radius: 10px; font-weight: 600; }

.btn-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
  font-weight: 400;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================================================
   HEADER
   ============================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom: 1px solid rgba(28,54,97,0.1);
  box-shadow: 0 1px 0 rgba(28,54,97,0.04), 0 8px 32px -12px rgba(28,54,97,0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.footer-logo .logo-img { height: 52px; }
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: var(--mono);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  bottom: -1px; right: -1px;
  border: 1.5px solid white;
}
.logo .tag { color: var(--muted); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links a, .nav-trigger {
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-links a:hover, .nav-trigger:hover { background: var(--bg-tint); color: var(--ink); }
.nav-trigger {
  cursor: pointer;
}
.nav-trigger::after {
  content: "";
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.6;
  margin-left: 2px;
  margin-top: -2px;
  transition: transform 0.25s var(--ease);
}
.nav-links li:hover .nav-trigger::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 340px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-lg);
}
.nav-links li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r);
  width: 100%;
}
.dropdown a:hover { background: var(--bg-tint); }
.dropdown a .ic {
  width: 32px; height: 32px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
}
.dropdown a .meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.dropdown a strong { font-size: 0.89rem; font-weight: 600; color: var(--ink); }
.dropdown a span { color: var(--muted); font-size: 0.78rem; }

.nav-cta { display: flex; gap: 6px; align-items: center; }
.mobile-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .nav-cta .btn-secondary { display: none; }
}

/* ============================================================================
   HERO
   ============================================================================ */

.hero {
  padding: 80px 0 60px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(242,142,38,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 15% 80%, rgba(250,248,233,0.95) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(250,248,233,0.6) 0%, transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFCF5 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,142,38,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,142,38,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 70%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-content {
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow { margin-bottom: 16px; }

.hero h1 {
  margin: 0 auto 20px;
  max-width: 880px;
}
.hero h1 .accent { color: var(--brand); }

.hero .lead {
  margin: 0 auto 32px;
  max-width: 700px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--dim);
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  letter-spacing: -0.005em;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 16px;
  color: var(--light);
}

/* Hero visual / mockup */
.hero-visual {
  margin-top: 60px;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
}
.product-mock {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.product-mock-frame {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
}
.product-mock-frame::before {
  content: "";
  width: 10px; height: 10px;
  background: #FF5F57;
  border-radius: 50%;
  box-shadow: 16px 0 0 #FEBC2E, 32px 0 0 #28C840;
}
.product-mock-frame-url {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  border-radius: 6px;
  margin-left: 60px;
  min-width: 260px;
  text-align: center;
}
.product-mock-body {
  background: var(--surface);
  border-radius: 0 0 14px 14px;
  padding: 40px;
  min-height: 480px;
  position: relative;
}
.product-mock-body .media {
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
}

/* ============================================================================
   PAGE HERO (interiores)
   ============================================================================ */

.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .container { max-width: 880px; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 20px; max-width: 22ch; }
.page-hero .lead { max-width: 65ch; margin-bottom: 28px; }
.page-hero .hero-cta { justify-content: flex-start; margin-bottom: 0; }

/* ============================================================================
   LOGOS / PROVA SOCIAL
   ============================================================================ */

.proof {
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.proof-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-align: center;
  margin-bottom: 28px;
  font-weight: 500;
}
.proof-track-wrap {
  overflow: hidden;
  position: relative;
}
.proof-track-wrap::before, .proof-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.proof-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.proof-track-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg-soft), transparent); }
.proof-track {
  display: flex;
  gap: 56px;
  animation: scroll 35s linear infinite;
  width: max-content;
}
.proof-item {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: -0.025em;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease);
}
.proof-item:hover { opacity: 1; color: var(--ink); }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================================
   SEÇÕES
   ============================================================================ */

section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }

.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; max-width: 24ch; }
.section-head.centered h2 { margin-inline: auto; }
.section-head .lead { max-width: 56ch; }
.section-head.centered .lead { margin-inline: auto; }

/* ============================================================================
   MEDIA / IMAGE PLACEHOLDER
   ============================================================================ */

.media {
  position: relative;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-tint));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,77,0,0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,77,0,0.03), transparent 40%);
  pointer-events: none;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.media-content {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.media-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-soft);
  border: 1px solid rgba(255,77,0,0.18);
  padding: 4px 10px;
  border-radius: 100px;
}
.media-desc {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.4;
}

.media-16-9 { aspect-ratio: 16/9; }
.media-4-3 { aspect-ratio: 4/3; }
.media-1-1 { aspect-ratio: 1/1; }
.media-9-16 { aspect-ratio: 9/16; max-width: 280px; margin: 0 auto; }
.media-21-9 { aspect-ratio: 21/9; }

/* ============================================================================
   CARDS DE DOR / PROBLEMA
   ============================================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all 0.3s var(--ease);
}
.card:hover { border-color: var(--light); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 6px; line-height: 1.25; }
.card p { font-size: 0.92rem; line-height: 1.5; color: var(--muted); }

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

/* ============================================================================
   3 COLUNAS — Tripartido (Rep / Gestor / Cliente)
   ============================================================================ */

.tripartite {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tripartite-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.tripartite-card:hover { border-color: var(--light); box-shadow: var(--shadow); }
.tripartite-card .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 14px;
}
.tripartite-card h3 { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.25; }
.tripartite-card p { font-size: 0.96rem; margin-bottom: 24px; flex: 1; }
.tripartite-card .media { aspect-ratio: 4/3; margin-bottom: 24px; }
.tripartite-card .link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.tripartite-card .link::after { content: "→"; transition: transform 0.25s var(--ease); }
.tripartite-card:hover .link { color: var(--brand); }
.tripartite-card:hover .link::after { transform: translateX(3px); }

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

/* ============================================================================
   GRID DE PRODUTOS / MÓDULOS (3x2 institucional)
   ============================================================================ */

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.module {
  background: var(--surface);
  padding: 32px;
  transition: background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.module:hover { background: var(--bg-soft); }
.module-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.module h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.module p { font-size: 0.92rem; line-height: 1.5; color: var(--muted); flex: 1; }
.module .link {
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.module .link::after { content: "→"; transition: transform 0.25s var(--ease); }
.module:hover .link { color: var(--brand); }
.module:hover .link::after { transform: translateX(3px); }

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

/* ============================================================================
   PERSONAS / TABS
   ============================================================================ */

.tabs-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
}
.tab {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: all 0.25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.active {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.tab-panel {
  display: none;
  padding: 28px;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.tab-panel.active { display: grid; }
.tab-panel h3 { font-size: 1.6rem; margin-bottom: 16px; letter-spacing: -0.025em; }
.tab-panel > .text > p { margin-bottom: 24px; }
.tab-panel-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tab-panel-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text);
}
.tab-panel-features li::before {
  content: "";
  width: 18px; height: 18px;
  background: var(--brand-soft);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.tab-panel-features li::after {
  content: "";
  width: 5px; height: 9px;
  border: solid var(--brand);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translate(-7px, -3px);
  position: absolute;
  margin-left: 4px;
  margin-top: 4px;
}

@media (max-width: 800px) {
  .tab-panel { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .tabs-nav { padding: 0 8px; }
  .tab { padding: 14px 12px; font-size: 0.85rem; }
}

/* ============================================================================
   STATS
   ============================================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 40px 32px;
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .unit {
  font-size: 0.55em;
  color: var(--brand);
  font-weight: 600;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.testimonial:hover { border-color: var(--light); box-shadow: var(--shadow); }
.t-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.t-quote {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  flex-shrink: 0;
}
.t-author .name { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.t-author .role { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }

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

/* ============================================================================
   STEPS / TIMELINE HORIZONTAL
   ============================================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  counter-reset: stp;
}
.steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--line) 100%);
  z-index: 0;
}
.step {
  counter-increment: stp;
  padding: 0 16px 0 0;
  position: relative;
  z-index: 1;
}
.step:last-child { padding-right: 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.88rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps::before { display: none; }
}
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================================
   FEATURES GRID — 3x3 ou 2x3
   ============================================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  padding: 0;
}
.feature .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-weight: 600;
}
.feature .ic svg { width: 20px; height: 20px; display: block; }
.feature h4 { font-size: 1rem; margin-bottom: 6px; line-height: 1.3; }
.feature p { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 500px) { .features { grid-template-columns: 1fr; } }

/* ============================================================================
   ERP GRID
   ============================================================================ */

.erps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.erp-item {
  background: var(--surface);
  padding: 28px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.012em;
  transition: all 0.25s var(--ease);
}
.erp-item:hover { background: var(--bg-soft); color: var(--brand); }

/* ============================================================================
   PLANS
   ============================================================================ */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}
.plan:hover { border-color: var(--light); }
.plan.featured {
  border-color: var(--ink);
  border-width: 2px;
}
.plan-tag {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--ink);
  color: white;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan.featured .plan-tag { top: -2px; }
.plan-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.plan-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; min-height: 44px; line-height: 1.45; }
.plan-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.plan-price .pre {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
  font-family: var(--mono);
}
.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan-price .amount .currency { font-size: 0.45em; color: var(--brand); font-weight: 600; vertical-align: top; line-height: 2; margin-right: 4px; }
.plan-price .period { font-size: 0.85rem; color: var(--muted); margin-top: 6px; display: block; }
.plan-feat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.plan-feat li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
  align-items: flex-start;
}
.plan-feat li::before {
  content: "";
  width: 16px; height: 16px;
  background: var(--brand-soft);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23FF4D00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan-feat li.muted { color: var(--light); }
.plan-feat li.muted::before {
  background: var(--bg-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23A3A3A3' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ============================================================================
   FORM
   ============================================================================ */

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.form-field input, .form-field select, .form-field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.94rem;
  color: var(--ink);
  transition: all 0.25s var(--ease);
  letter-spacing: -0.005em;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.form-field textarea { resize: vertical; min-height: 90px; font-family: var(--font); }
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--dim);
  text-align: center;
  margin-top: 12px;
}
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================================
   FAQ
   ============================================================================ */

.faq {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  user-select: none;
  transition: color 0.25s var(--ease);
}
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--dim);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  font-weight: 400;
  line-height: 0.6;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq-item[open] summary { color: var(--ink); }
.faq-content {
  padding: 0 0 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 75ch;
}

/* ============================================================================
   BLOG
   ============================================================================ */

.blog-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.blog-tag {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.blog-tag:hover { border-color: var(--ink); }
.blog-tag.active { background: var(--ink); color: white; border-color: var(--ink); }

.blog-feat {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: center;
}
.blog-feat .thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--brand-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.blog-feat-text .cat { font-family: var(--mono); font-size: 0.74rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; display: block; font-weight: 500; }
.blog-feat-text h2 { font-size: 1.8rem; margin-bottom: 14px; letter-spacing: -0.025em; line-height: 1.15; }
.blog-feat-text p { font-size: 1rem; margin-bottom: 24px; line-height: 1.55; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--light); box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-tint), var(--brand-soft));
}
.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .cat { font-family: var(--mono); font-size: 0.7rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; font-weight: 500; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.015em; }
.blog-card p { font-size: 0.88rem; line-height: 1.5; flex: 1; }
.blog-card .meta { display: flex; gap: 10px; margin-top: 14px; font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }

@media (max-width: 900px) {
  .blog-feat { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   2 COLUNAS
   ============================================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.flip > div:first-child { order: 2; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.flip > div:first-child { order: 0; }
}

/* ============================================================================
   CALLOUT BOX
   ============================================================================ */

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 28px;
  border-left: 3px solid var(--brand);
  margin: 28px 0;
}
.callout p { font-size: 0.96rem; color: var(--text); line-height: 1.55; }
.callout strong { color: var(--ink); font-weight: 600; }

/* ============================================================================
   CTA FINAL
   ============================================================================ */

.cta-final {
  padding: 96px 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  display: none;
}
.cta-final .container { position: relative; z-index: 1; max-width: 880px; text-align: center; }
.cta-final .eyebrow { color: var(--brand); }
.cta-final h2 {
  color: white;
  margin: 14px 0 16px;
  font-weight: 600;
}
.cta-final p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 540px; margin-inline: auto; }
.cta-final .btn-primary { background: var(--brand); color: white; }
.cta-final .btn-primary:hover { background: var(--brand-hover); }
.cta-final .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.2); }
.cta-final .btn-secondary:hover { background: white; color: var(--ink); }
.cta-final .hero-cta { justify-content: center; margin-bottom: 0; }

/* ============================================================================
   FOOTER
   ============================================================================ */

.site-footer {
  padding: 72px 0 36px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; line-height: 1.55; margin-bottom: 24px; }

/* Ícones de redes sociais — LARANJA com ícone branco */
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--brand);
  border: 1px solid var(--brand);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  transition: all 0.25s var(--ease);
}
.footer-social a svg { width: 20px; height: 20px; display: block; }
.footer-social a:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(242,142,38,0.4);
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 600;
  font-family: var(--mono);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--dim);
  font-size: 0.82rem;
}
.footer-bottom .links { display: flex; gap: 18px; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   ANIMAÇÕES
   ============================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* WhatsApp Float */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 40;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 24px; height: 24px; fill: white; }

/* Mobile */
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .hero { padding: 60px 0 40px; }
  .page-hero { padding: 48px 0 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .container { padding: 0 20px; }
  .cta-final { padding: 64px 0; }
  .product-mock-body { padding: 24px; min-height: 320px; }
  .product-mock-frame-url { display: none; }
}

/* ============================================================================
   v3.1 — RIQUEZA VISUAL · Mockups · Bento · Imagens · Patterns
   ============================================================================ */

/* ----- Backgrounds com pattern ----- */
.bg-dots {
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 20px 20px;
}
.bg-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 32px 32px;
}
.bg-radial {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--brand-soft) 0%, transparent 70%), var(--bg);
}
.bg-ink {
  background: var(--ink);
  color: white;
}
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: white; }
.bg-ink p { color: rgba(255,255,255,0.7); }
.bg-ink .eyebrow { color: var(--brand); }

/* Orbs decorativos */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.orb-brand { background: var(--brand); opacity: 0.18; }
.orb-tl { top: -100px; left: -100px; width: 320px; height: 320px; }
.orb-br { bottom: -100px; right: -100px; width: 380px; height: 380px; }
.orb-tr { top: -80px; right: -60px; width: 280px; height: 280px; }

/* ============================================================================
   BENTO GRID — variação de tamanhos
   ============================================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
}
.bento-cell:hover {
  border-color: var(--light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.span-3 { grid-column: span 3; }
.bento-cell.span-4 { grid-column: span 4; }
.bento-cell.span-6 { grid-column: span 6; }
.bento-cell.row-2 { grid-row: span 2; }

.bento-cell.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.bento-cell.dark h3, .bento-cell.dark h4 { color: white; }
.bento-cell.dark p { color: rgba(255,255,255,0.65); }
.bento-cell.dark .bento-meta { color: var(--brand); }
.bento-cell.dark .bento-link { color: white; }

.bento-cell.brand {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.bento-cell.brand h3, .bento-cell.brand h4 { color: white; }
.bento-cell.brand p { color: rgba(255,255,255,0.85); }
.bento-cell.brand .bento-meta { color: rgba(255,255,255,0.7); }
.bento-cell.brand .bento-link { color: white; }

.bento-cell.tinted {
  background: var(--bg-soft);
}

.bento-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.bento-cell h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.2; }
.bento-cell h4 { font-size: 1.05rem; margin-bottom: 6px; }
.bento-cell p { font-size: 0.92rem; line-height: 1.5; flex: 1; }
.bento-link {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.bento-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.bento-cell:hover .bento-link::after { transform: translateX(3px); }

.bento-visual {
  margin: 16px 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span-2, .bento-cell.span-3, .bento-cell.span-4, .bento-cell.span-6 { grid-column: span 2; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell.span-2, .bento-cell.span-3, .bento-cell.span-4, .bento-cell.span-6 { grid-column: span 1; }
  .bento-cell.row-2 { grid-row: auto; }
}

/* ============================================================================
   MOCKUPS DESENHADOS (SVG inline + CSS)
   ============================================================================ */

/* Mockup Dashboard — KPIs e gráfico de linha */
.mockup-dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.bento-cell.dark .mockup-dash {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}
.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.dash-kpi {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 10px 12px;
}
.bento-cell.dark .dash-kpi { background: rgba(255,255,255,0.05); }
.dash-kpi .label {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 4px;
}
.bento-cell.dark .dash-kpi .label { color: rgba(255,255,255,0.5); }
.dash-kpi .val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.bento-cell.dark .dash-kpi .val { color: white; }
.dash-kpi .delta {
  font-family: var(--mono);
  font-size: 0.65rem;
  margin-top: 2px;
}
.dash-kpi .delta.up { color: var(--success); }
.dash-kpi .delta.down { color: var(--danger); }
.dash-chart {
  flex: 1;
  min-height: 80px;
  position: relative;
}

/* Mockup Mobile Phone — app representante */
.mockup-phone {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  background: var(--ink);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mockup-phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  z-index: 2;
}
.mockup-phone-screen {
  background: var(--surface);
  border-radius: 18px;
  width: 100%;
  height: 100%;
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.phone-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 2px;
}
.phone-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-soft);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  color: var(--text);
}
.phone-row .price {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
}
.phone-total {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-total .lbl {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
}
.phone-total .amt {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
}

/* Mockup WhatsApp — Copiloto */
.mockup-wa {
  background: #ECE5DD;
  border-radius: var(--r-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.mockup-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Cpath d='M16 0c.5 5 4 8 8 8-4 0-8 3.5-8 8 0-4.5-3.5-8-8-8 4 0 8-3 8-8z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}
.wa-bubble {
  background: white;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 80%;
  position: relative;
  z-index: 1;
  color: var(--ink);
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.wa-bubble.me {
  background: #DCF8C6;
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
}
.wa-bubble strong { color: var(--brand); font-weight: 600; }
.wa-bubble .meta {
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

/* Mockup integração — fluxo */
.mockup-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.flow-node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.flow-node.brand { background: var(--brand); color: white; border-color: var(--brand); }
.flow-node.dark { background: var(--ink); color: white; border-color: var(--ink); }
.flow-arrow {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
}
.bento-cell.dark .flow-node {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: white;
}

/* ============================================================================
   CARDS COM IMAGEM / VISUAL NO TOPO
   ============================================================================ */

.card-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}
.card-visual:hover {
  border-color: var(--light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-visual-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--brand-soft) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-visual-img.gradient-1 {
  background: linear-gradient(135deg, #FFE0CC 0%, #FFB088 50%, #FF4D00 100%);
}
.card-visual-img.gradient-2 {
  background: linear-gradient(135deg, #0A0A0A 0%, #2A2A2A 100%);
}
.card-visual-img.gradient-3 {
  background: linear-gradient(135deg, #FFF1E8 0%, #FFFFFF 100%);
}
.card-visual-img.gradient-4 {
  background: linear-gradient(135deg, #FAFAFA 0%, #FFF1E8 100%);
}
.card-visual-img .embed {
  position: absolute;
  inset: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-visual-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-visual-body .tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 10px;
}
.card-visual-body h3 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.25; }
.card-visual-body p { font-size: 0.92rem; line-height: 1.5; flex: 1; }
.card-visual-body .link {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.card-visual-body .link::after { content: "→"; transition: transform 0.25s var(--ease); }
.card-visual:hover .link::after { transform: translateX(3px); }

/* ============================================================================
   PROBLEM CARDS COM ILUSTRAÇÃO
   ============================================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 24px;
  align-items: center;
  transition: all 0.3s var(--ease);
}
.problem-card:hover { border-color: var(--light); box-shadow: var(--shadow); }
.problem-card .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.problem-card h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.25; }
.problem-card p { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.problem-illust {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .problem-card { grid-template-columns: 1fr; }
  .problem-illust { display: none; }
}

/* ============================================================================
   SECTION COM IMAGEM DE BACKGROUND
   ============================================================================ */

.feature-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.feature-spotlight .visual-block {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 48px;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.feature-spotlight .visual-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
}
.feature-spotlight .visual-block::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,77,0,0.3), transparent 60%);
  pointer-events: none;
}
.visual-block-content {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .feature-spotlight { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================================
   STATS COM BG VISUAL
   ============================================================================ */

.stats-rich {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: white;
}
.stats-rich::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 50%, rgba(255,77,0,0.18), transparent 40%),
    radial-gradient(circle at 75% 50%, rgba(255,77,0,0.12), transparent 40%);
}
.stats-rich::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.stats-rich .container { position: relative; z-index: 1; }
.stats-rich .stats {
  background: transparent;
  border: none;
  grid-gap: 0;
}
.stats-rich .stat {
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stats-rich .stat:last-child { border-right: none; }
.stats-rich .stat-num { color: white; }
.stats-rich .stat-num .unit { color: var(--brand); }
.stats-rich .stat-label { color: rgba(255,255,255,0.6); }

/* ============================================================================
   PERSONAS V2 — Tab panels com mockups embedded
   ============================================================================ */

.persona-mockup {
  background: linear-gradient(135deg, #F9FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(28,54,97,0.08);
}
.persona-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28,54,97,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,54,97,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.persona-mockup::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(242,142,38,0.12), transparent 60%);
  pointer-events: none;
}
.persona-mockup-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================================
   LOGO PROOF V2 — cards de cliente
   ============================================================================ */

.client-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.client-card {
  background: var(--surface);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: -0.02em;
  transition: all 0.3s var(--ease);
  min-height: 80px;
}
.client-card:hover { background: var(--bg-soft); color: var(--ink); }
@media (max-width: 700px) { .client-cards { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================================
   TESTIMONIALS V2 — com avatar e logo
   ============================================================================ */

.testimonial-rich {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.testimonial-rich:hover { border-color: var(--light); box-shadow: var(--shadow); }
.testimonial-rich .company-logo {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  opacity: 0.7;
}
.testimonial-rich.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.testimonial-rich.featured .t-quote { color: white; }
.testimonial-rich.featured .company-logo { color: white; opacity: 0.9; }
.testimonial-rich.featured .t-author .name { color: white; }
.testimonial-rich.featured .t-author .role { color: rgba(255,255,255,0.6); }
.testimonial-rich.featured .t-author { border-color: rgba(255,255,255,0.12); }

/* ============================================================================
   ERP LOGOS V2 — cards com identidade
   ============================================================================ */

.erp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.erp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  transition: all 0.3s var(--ease);
}
.erp-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.erp-card .erp-name { font-weight: 600; font-size: 1rem; color: var(--ink); letter-spacing: -0.015em; }
.erp-card .erp-status {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.erp-card .erp-status::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}


/* ============================================================================
   v3.2 — PLATFORM GRID · UNIFORME · MODERNO
   Substitui o bento bagunçado por grid 3x2 com visuais coerentes
   ============================================================================ */

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

.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.pcard:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pcard:hover .pcard-link::after { transform: translateX(4px); }

.pcard-visual {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--ink-soft) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}
.pcard-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,37,64,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.pcard-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pcard-meta::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
}
.pcard h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.pcard p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}
.pcard-link {
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.005em;
}
.pcard-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
  color: var(--brand);
  font-weight: 500;
}

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

/* Visual variants — cada visual usa a paleta corretamente */

/* Visual 1: Hub Integração — fluxo nodes */
.pviz-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.pviz-hub-node {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.pviz-hub-node.center {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  padding: 14px 18px;
  font-size: 0.78rem;
  box-shadow: 0 6px 16px -4px rgba(255,77,0,0.35);
  transform: scale(1.05);
}
.pviz-hub-arrow {
  color: var(--brand);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
}

/* Visual 2: App Mobile — phone mockup small */
.pviz-phone {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 165px;
  background: var(--ink);
  border-radius: 18px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.pviz-phone-screen {
  background: white;
  border-radius: 14px;
  width: 100%;
  height: 100%;
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pviz-phone-tag {
  font-family: var(--mono);
  font-size: 0.5rem;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pviz-phone-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 2px;
}
.pviz-phone-row {
  display: flex;
  justify-content: space-between;
  background: var(--bg-soft);
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.55rem;
  color: var(--text);
}
.pviz-phone-row .price {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
}
.pviz-phone-total {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pviz-phone-total .lbl {
  font-family: var(--mono);
  font-size: 0.48rem;
  color: var(--muted);
  text-transform: uppercase;
}
.pviz-phone-total .amt {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.72rem;
}

/* Visual 3: Copiloto WhatsApp — bubbles */
.pviz-wa {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 14px 12px;
  width: calc(100% - 40px);
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.pviz-wa-bubble {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.3;
  max-width: 85%;
  color: var(--ink);
}
.pviz-wa-bubble.ai {
  background: var(--ink-soft);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.pviz-wa-bubble.me {
  background: var(--brand);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.pviz-wa-bubble strong { color: inherit; font-weight: 700; }

/* Visual 4: Indicadores — mini dashboard */
.pviz-dash {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  width: calc(100% - 40px);
  max-width: 280px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pviz-dash-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pviz-dash-kpi {
  background: var(--bg-soft);
  padding: 8px 10px;
  border-radius: 6px;
}
.pviz-dash-kpi .label {
  font-family: var(--mono);
  font-size: 0.52rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.pviz-dash-kpi .val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pviz-dash-kpi .delta {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--success);
}

/* Visual 5: Portal Cliente — tela de portal */
.pviz-portal {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  width: calc(100% - 40px);
  max-width: 240px;
  box-shadow: var(--shadow-sm);
}
.pviz-portal-head {
  font-family: var(--mono);
  font-size: 0.52rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 6px;
}
.pviz-portal-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.pviz-portal-row {
  background: var(--bg-soft);
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 0.6rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--text);
}
.pviz-portal-row .ok { color: var(--success); font-family: var(--mono); font-size: 0.55rem; }
.pviz-portal-btn {
  width: 100%;
  background: var(--brand);
  color: white;
  border: none;
  padding: 7px;
  border-radius: 5px;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 4px;
}

/* Visual 6: Marketplace — múltiplos canais */
.pviz-channels {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.pviz-channel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease);
}
.pviz-channel:nth-child(1) { transform: rotate(-4deg) translateY(-4px); }
.pviz-channel:nth-child(2) { transform: rotate(0deg); z-index: 2; background: var(--brand); color: white; border-color: var(--brand); box-shadow: 0 6px 16px -4px rgba(255,77,0,0.3); }
.pviz-channel:nth-child(3) { transform: rotate(4deg) translateY(-4px); }


/* ============================================================================
   v3.3 — CARROSSEL DA PLATAFORMA · BOOST-STYLE STEPS · DEPOIMENTOS MODERNO
   Inspirado em: amigotech (Integrações inteligentes + Boost 360)
   ============================================================================ */

/* ===== CARROSSEL DA PLATAFORMA ===== */

.carousel-wrap {
  position: relative;
  margin: 0 -24px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 24px 24px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
  flex: 0 0 calc((100% - 48px - 40px) / 3);
  min-width: 320px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
}
.carousel-card:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.cc-visual {
  height: 260px;
  background: linear-gradient(135deg, var(--ink-soft) 0%, #F5F8FC 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}
.cc-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,37,64,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cc-visual::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,77,0,0.06), transparent 60%);
  pointer-events: none;
}
.cc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.cc-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 12px;
}
.cc-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
}
.cc-body p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.cc-link {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cc-link::after { content: "→"; color: var(--brand); transition: transform 0.3s var(--ease); }
.carousel-card:hover .cc-link::after { transform: translateX(4px); }

/* Carousel controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  margin-top: 8px;
}
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 32px;
  height: 4px;
  background: var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--brand); width: 48px; }
.carousel-dot:hover { background: var(--ink-3); }

.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-size: 1.1rem;
  font-weight: 600;
}
.carousel-arrow:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: scale(1.05);
}
.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .carousel-card { flex: 0 0 calc((100% - 24px - 40px) / 2); }
}
@media (max-width: 700px) {
  .carousel-card { flex: 0 0 calc(100% - 48px); min-width: 0; }
}

/* ===== VISUAIS DOS CARDS DO CARROSSEL ===== */
/* Reusa os pviz-* da v3.2 mas com tamanho maior */

.carousel-card .pviz-hub { padding: 0 24px; gap: 10px; }
.carousel-card .pviz-hub-node { padding: 12px 16px; font-size: 0.78rem; }
.carousel-card .pviz-hub-node.center { padding: 16px 22px; font-size: 0.84rem; }

.carousel-card .pviz-phone {
  width: 160px;
  height: 200px;
}
.carousel-card .pviz-phone-screen { padding: 24px 12px 12px; }
.carousel-card .pviz-phone-tag { font-size: 0.55rem; }
.carousel-card .pviz-phone-title { font-size: 0.8rem; }
.carousel-card .pviz-phone-row { font-size: 0.6rem; padding: 5px 7px; }
.carousel-card .pviz-phone-total .amt { font-size: 0.85rem; }

.carousel-card .pviz-wa { max-width: 280px; padding: 18px 14px; }
.carousel-card .pviz-wa-bubble { font-size: 0.74rem; padding: 9px 12px; }

.carousel-card .pviz-dash { max-width: 320px; padding: 18px; }
.carousel-card .pviz-dash-kpi .val { font-size: 1rem; }

.carousel-card .pviz-portal { max-width: 280px; padding: 18px; }
.carousel-card .pviz-portal-title { font-size: 0.88rem; }
.carousel-card .pviz-portal-row { font-size: 0.66rem; padding: 7px 10px; }

.carousel-card .pviz-channels { gap: 16px; }
.carousel-card .pviz-channel { padding: 14px 18px; font-size: 0.78rem; }

/* ===== STEPS COM LINHA DE JORNADA (Boost 360 style) ===== */

.journey {
  position: relative;
  padding: 60px 0 0;
}
.journey-line {
  display: none; /* substituída por linha CSS */
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
/* Linha do tempo CSS — passa NO CENTRO VERTICAL dos ícones, atrás deles */
.journey-steps::before {
  content: "";
  position: absolute;
  top: 48px;                        /* metade do ícone (96/2) */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand) 0,
    var(--brand) 8px,
    transparent 8px,
    transparent 16px
  );
  background-size: 16px 2px;
  z-index: 0;                       /* fica ATRÁS dos ícones */
  animation: timeline-dash 1.8s linear infinite;
  opacity: 0.85;
  transform: translateY(-1px);
}
@keyframes timeline-dash {
  to { background-position: -32px 0; }
}
.journey-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;                       /* ícone na frente */
}
.journey-icon {
  width: 96px;
  height: 96px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}
.journey-step:hover .journey-icon { transform: scale(1.05); }
.journey-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--line);
  border-radius: 50%;
  opacity: 0.5;
}
.journey-icon svg { width: 44px; height: 44px; }
.journey-step .step-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
}
.journey-step h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.journey-step p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 26ch;
}

@media (max-width: 900px) {
  .journey-line { display: none; }
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 540px) {
  .journey-steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== DEPOIMENTOS MODERNOS — carrossel ===== */

.testi-carousel-wrap {
  position: relative;
}
.testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 0 24px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 340px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.testi-card:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.testi-card.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.testi-card.featured::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,77,0,0.2), transparent 60%);
  pointer-events: none;
}
.testi-card > * { position: relative; z-index: 1; }

.testi-quote-mark {
  font-family: 'Georgia', serif;
  font-size: 4rem;
  line-height: 0.7;
  color: var(--brand);
  margin-bottom: 8px;
  height: 30px;
}
.testi-card.featured .testi-quote-mark { color: var(--brand); opacity: 0.9; }

.testi-quote {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
  flex: 1;
}
.testi-card.featured .testi-quote { color: white; }

.testi-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
  width: fit-content;
}
.testi-card.featured .testi-result {
  background: rgba(255,77,0,0.18);
  color: var(--brand);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.testi-card.featured .testi-author { border-color: rgba(255,255,255,0.12); }
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font);
}
.testi-author-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.testi-card.featured .testi-author-name { color: white; }
.testi-author-role {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
}
.testi-card.featured .testi-author-role { color: rgba(255,255,255,0.6); }

@media (max-width: 1000px) {
  .testi-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 700px) {
  .testi-card { flex: 0 0 calc(100% - 48px); min-width: 0; }
}


/* ============================================================================
   TRANSIÇÕES GLOBAIS — todas suaves
   ============================================================================ */
a, button { transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease); }

/* ============================================================================
   PRELOADER + PAGE TRANSITIONS
   ============================================================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: preloader-fade 0.5s var(--ease);
}
.preloader-icon {
  width: 80px;
  height: 80px;
  animation: preloader-pulse 1.4s ease-in-out infinite;
}
.preloader-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.preloader-bar {
  width: 140px;
  height: 3px;
  background: var(--line);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.preloader-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  border-radius: 100px;
  animation: preloader-slide 1.2s ease-in-out infinite;
  width: 40%;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.92; }
}
@keyframes preloader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@keyframes preloader-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page enter — todo body começa com fade suave */
.page-enter {
  opacity: 0;
  animation: page-fade-in 0.7s var(--ease) 0.1s forwards;
}
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab transitions suaves */
.tab-panel {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tab-panel.active {
  opacity: 1;
}


/* ============================================================================
   MODAL DEMO — popup com form RD Station
   ============================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28,54,97,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--surface);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.modal-close:hover { background: var(--ink); color: white; border-color: var(--ink); }
.modal-head { margin-bottom: 24px; }
.modal-eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.modal-head h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.modal-head p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}
.modal-body { min-height: 100px; }

@media (max-width: 540px) {
  .modal-card { padding: 28px 22px 22px; border-radius: 16px; }
  .modal-head h3 { font-size: 1.2rem; }
}


/* ============================================================================
   LOGOS REAIS — clientes (marquee) + ERPs (grid)
   ============================================================================ */
.logos-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: running; }
.client-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.35s var(--ease);
  flex-shrink: 0;
}
.client-logo:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.erp-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.erp-logo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 130px;
  display: grid;
  place-items: center;
  padding: 28px 36px;
  transition: all 0.3s var(--ease);
}
.erp-logo:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.erp-logo img {
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 720px) { .erp-logos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .erp-logos { grid-template-columns: 1fr; } }

/* ============================================================================
   ANIMAÇÕES NOS ÍCONES SVG — Problem cards + Journey
   ============================================================================ */

/* PROBLEMA — cada SVG ganha animação distinta */
.problem-card svg .anim-pulse { animation: anim-pulse 2s ease-in-out infinite; transform-origin: center; }
.problem-card svg .anim-shake { animation: anim-shake 2.4s ease-in-out infinite; transform-origin: center; }
.problem-card svg .anim-blink { animation: anim-blink 1.8s ease-in-out infinite; }
.problem-card svg .anim-rotate { animation: anim-rotate 6s linear infinite; transform-origin: center; transform-box: fill-box; }
.problem-card svg .anim-dash {
  stroke-dasharray: 8 6;
  animation: anim-dash 2.5s linear infinite;
}
.problem-card svg .anim-glow {
  animation: anim-glow 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 0 transparent);
}

@keyframes anim-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes anim-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-1.5px) rotate(-1.5deg); }
  40% { transform: translateX(1.5px) rotate(1.5deg); }
  60% { transform: translateX(-1px) rotate(-1deg); }
  80% { transform: translateX(1px) rotate(1deg); }
}
@keyframes anim-blink {
  0%, 60%, 100% { opacity: 1; }
  30% { opacity: 0.25; }
}
@keyframes anim-rotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
@keyframes anim-dash {
  to { stroke-dashoffset: -28; }
}
@keyframes anim-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(242,142,38,0)); }
  50% { filter: drop-shadow(0 0 8px rgba(242,142,38,0.55)); }
}

/* JOURNEY — ícones com bounce/draw */
.journey-step .journey-icon svg .j-stroke {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: j-draw 1.2s var(--ease) forwards;
}
.journey-step:nth-child(1) .journey-icon svg .j-stroke { animation-delay: 0.1s; }
.journey-step:nth-child(2) .journey-icon svg .j-stroke { animation-delay: 0.4s; }
.journey-step:nth-child(3) .journey-icon svg .j-stroke { animation-delay: 0.7s; }
.journey-step:nth-child(4) .journey-icon svg .j-stroke { animation-delay: 1.0s; }

@keyframes j-draw { to { stroke-dashoffset: 0; } }


/* Linha da journey — dash animado */
.journey-line line.anim-dash,
.journey-line path.anim-dash {
  stroke-dasharray: 8 8;
  animation: line-dash 1.8s linear infinite;
}
@keyframes line-dash {
  to { stroke-dashoffset: -32; }
}

/* ============================================================================
   SECTION-HEAD 2 COLUNAS — usado em A Solução, Para Quem, Integrações, FAQ
   ============================================================================ */
.section-head-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}
.section-head-2col .col-left .eyebrow { margin-bottom: 14px; }
.section-head-2col .col-left h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin: 0; }
.section-head-2col .col-right { padding-top: 0; }
.section-head-2col .col-right p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 880px) {
  .section-head-2col { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
}

/* ============================================================================
   HERO STATS — destaque visual dos números
   ============================================================================ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px -40px 0;
  padding: 36px 48px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(28,54,97,0.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px -8px rgba(28,54,97,0.08);
}
.hero-stats .stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero-stats .stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: -8px;
  width: 1px;
  background: rgba(28,54,97,0.1);
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.005em;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; margin: 32px 0 0; }
  .hero-stats .stat-item:not(:last-child)::after { display: none; }
}

/* ============================================================================
   HERO VIDEO — vídeo no lugar do dashboard SVG
   ============================================================================ */
.hero-video-frame {
  position: relative;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 18px;
  padding: 12px;
  box-shadow:
    0 24px 60px -16px rgba(28,54,97,0.18),
    0 8px 16px -8px rgba(28,54,97,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
}
.hero-video-frame .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 10px;
}
.hero-video-frame .browser-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-video-frame .browser-bar .dot.r { background: #FF5F57; }
.hero-video-frame .browser-bar .dot.y { background: #FEBC2E; }
.hero-video-frame .browser-bar .dot.g { background: #28C840; }
.hero-video-frame .browser-bar .url {
  flex: 1;
  background: rgba(28,54,97,0.06);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: 6px;
  margin-left: 10px;
  text-align: center;
}
.hero-video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: white;
}

/* ============================================================================
   PERSONAS — tabs estilo Amigo Tech (pílulas modernas centralizadas)
   ============================================================================ */
.tabs-amigo {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 40px;
}
.tabs-amigo .tab-trigger {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: -0.005em;
}
.tabs-amigo .tab-trigger:hover { color: var(--ink); }
.tabs-amigo .tab-trigger.active {
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 12px -2px rgba(28,54,97,0.25);
}
.tabs-amigo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* ============================================================================
   RESULTADOS — design novo (antes/depois lado a lado)
   ============================================================================ */
.results-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
}
.compare-col.before {
  background: var(--bg-soft);
  border-color: var(--line);
}
.compare-col.after {
  background: linear-gradient(135deg, #1C3661 0%, #2A4A7F 100%);
  border-color: var(--ink);
  color: white;
  overflow: hidden;
}
.compare-col.after::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(242,142,38,0.25), transparent 60%);
  pointer-events: none;
}
.compare-col > * { position: relative; z-index: 1; }
.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.compare-col.before .compare-tag {
  background: rgba(220,38,38,0.1);
  color: var(--danger);
}
.compare-col.after .compare-tag {
  background: rgba(242,142,38,0.2);
  color: var(--brand);
}
.compare-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.compare-col h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.compare-col.after h3 { color: white; }
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.compare-list .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}
.compare-col.before .compare-list .icon {
  background: rgba(220,38,38,0.12);
  color: var(--danger);
}
.compare-col.after .compare-list .icon {
  background: var(--brand);
  color: white;
}
.compare-col.before .compare-list li { color: var(--muted); }
.compare-col.after .compare-list li { color: rgba(255,255,255,0.92); }
.compare-col.before .compare-list strong { color: var(--ink); font-weight: 600; }
.compare-col.after .compare-list strong { color: white; font-weight: 700; }

.results-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.results-num-card {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.results-num-card:last-child { border-right: none; }
.results-num-card:hover { background: var(--bg-soft); }
.results-num-card .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.results-num-card .label {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.results-num-card .source {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 880px) {
  .results-compare { grid-template-columns: 1fr; gap: 20px; }
  .results-numbers { grid-template-columns: 1fr; }
  .results-num-card { border-right: none; border-bottom: 1px solid var(--line); }
  .results-num-card:last-child { border-bottom: none; }
}

/* ============================================================================
   FAQ 2 COLUNAS — header esquerda, accordion direita
   ============================================================================ */
.faq-2col {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-2col .faq-side {
  position: sticky;
  top: 100px;
}
.faq-2col .faq-side .eyebrow { margin-bottom: 14px; }
.faq-2col .faq-side h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.faq-2col .faq-side p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.55;
}
.faq-2col .faq-side .btn { margin-top: 8px; }
@media (max-width: 880px) {
  .faq-2col { grid-template-columns: 1fr; gap: 32px; }
  .faq-2col .faq-side { position: static; }
}

/* ============================================================================
   PVIZ — novos visuais Módulo 01 (hub radial) e Módulo 06 (canais stack)
   ============================================================================ */

/* Módulo 01 — Hub radial */
.pviz-radial {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 180px;
}
.pviz-radial-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand);
  color: white;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px -4px rgba(242,142,38,0.35);
  z-index: 2;
  white-space: nowrap;
}
.pviz-radial-node {
  position: absolute;
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.pviz-radial-node.n1 { top: 0; left: 4px; }
.pviz-radial-node.n2 { top: 0; right: 4px; }
.pviz-radial-node.n3 { bottom: 0; left: 4px; }
.pviz-radial-node.n4 { bottom: 0; right: 4px; }
.pviz-radial-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Módulo 06 — Stack de canais com badge */
.pviz-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 220px;
}
.pviz-stack-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.pviz-stack-row .ch-icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--ink-soft);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.pviz-stack-row.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.pviz-stack-row.featured .ch-icon { background: var(--brand); color: white; }
.pviz-stack-row .ch-stat {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--success);
  font-weight: 700;
}
.pviz-stack-row.featured .ch-stat { color: var(--brand); }
.pviz-stack-badge {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--brand);
  color: white;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: 0 4px 12px -2px rgba(242,142,38,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================================
   Cards "A Solução" com imagem real
   ============================================================================ */
.solution-card-real {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
}
.solution-card-real:hover {
  border-color: var(--ink-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.solution-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.solution-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,54,97,0.06));
  pointer-events: none;
}
.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}
.solution-card-img.phone img {
  object-fit: contain;
  background: linear-gradient(135deg, #F0F2F5 0%, #E8EDF5 100%);
  padding: 16px;
}
.solution-card-real:hover .solution-card-img img { transform: scale(1.05); }
.solution-card-body { padding: 28px; }
.solution-card-body .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.solution-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.solution-card-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.solution-card-link {
  margin-top: 16px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}
.solution-card-link::after { content: " →"; color: var(--brand); }


/* JOURNEY — linha do tempo horizontal atrás dos ícones */
.journey-icon {
  position: relative;
  z-index: 2;
}
/* SEM glow — removido */

/* Pulse no laranja dos ícones (mantido sutil) */
.journey-icon svg path[fill="#F28E26"],
.journey-icon svg rect[fill="#F28E26"],
.journey-icon svg circle[fill="#F28E26"] {
  animation: j-orange-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes j-orange-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Persona mockup — texto e backgrounds agora claros */
.persona-mockup [style*="color:white"],
.persona-mockup [style*="color: white"] { color: var(--ink) !important; }
.persona-mockup [style*="rgba(255,255,255,0.5)"],
.persona-mockup [style*="rgba(255,255,255,0.6)"],
.persona-mockup [style*="rgba(255,255,255,0.7)"] { color: var(--muted) !important; }
.persona-mockup [style*="background:rgba(255,255,255,0.05)"],
.persona-mockup [style*="background:rgba(255,255,255,0.04)"],
.persona-mockup [style*="background:rgba(255,255,255,0.03)"] { background: rgba(28,54,97,0.04) !important; }
.persona-mockup [style*="rgba(255,255,255,0.1)"],
.persona-mockup [style*="rgba(255,255,255,0.08)"] { border-color: rgba(28,54,97,0.08) !important; }

/* Solution cards — ilustrações SVG cartoon */
.solution-card-img.illust {
  background: linear-gradient(135deg, #F9FAFC 0%, #FFFCF5 100%);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}
.solution-card-img.illust svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================================
   CARROSSEIS INFINITOS — plataforma + depoimentos
   Substitui o data-carousel anterior por marquee CSS infinita
   ============================================================================ */

.infinite-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent);
}
.infinite-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: inf-scroll 80s linear infinite;
}
.infinite-marquee.testi .infinite-track { animation-duration: 90s; }
@keyframes inf-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Override do .carousel-card pra ser flex-item da marquee */
.infinite-track .carousel-card {
  flex: 0 0 360px;
  scroll-snap-align: none;
}
.infinite-track .testi-card {
  flex: 0 0 380px;
  scroll-snap-align: none;
}

/* Esconde controles antigos (arrows + dots) */
.infinite-marquee + .carousel-controls,
.infinite-marquee .carousel-controls { display: none; }

@media (max-width: 700px) {
  .infinite-track .carousel-card { flex: 0 0 300px; }
  .infinite-track .testi-card { flex: 0 0 320px; }
}

/* Reset: marquee infinita não é mais usada nesses dois carrosseis */
.infinite-marquee { display: block; overflow: visible; mask-image: none; -webkit-mask-image: none; }
.infinite-track { animation: none !important; transform: none !important; }

/* ============================================================================
   JOURNEY com fundo azul — ajustes pra componentes brilharem
   ============================================================================ */

/* Linha do tempo: branco com translucidez sobre o fundo azul */
.journey-section .journey-steps::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.4) 0,
    rgba(255,255,255,0.4) 8px,
    transparent 8px,
    transparent 16px
  );
  background-size: 16px 2px;
  opacity: 1;
}

/* Ícones: fundo laranja, ícone interno branco */
.journey-section .journey-icon {
  background: var(--brand);
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 28px -8px rgba(242,142,38,0.5), 0 0 0 6px rgba(242,142,38,0.12);
}
.journey-section .journey-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 50%;
}
/* SVGs internos: brancos sólidos */
.journey-section .journey-icon svg rect,
.journey-section .journey-icon svg line,
.journey-section .journey-icon svg circle:not([fill="#F28E26"]),
.journey-section .journey-icon svg path:not([fill="#F28E26"]):not([stroke="#F28E26"]) {
  stroke: #FFFFFF !important;
}
.journey-section .journey-icon svg rect[fill="#1C3661"],
.journey-section .journey-icon svg circle[fill="#1C3661"],
.journey-section .journey-icon svg line[stroke="#1C3661"] {
  fill: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
.journey-section .journey-icon svg path[fill="#F28E26"],
.journey-section .journey-icon svg rect[fill="#F28E26"],
.journey-section .journey-icon svg circle[fill="#F28E26"] {
  fill: #FFFFFF !important;
}
.journey-section .journey-icon svg path[stroke="#F28E26"] {
  stroke: #FFFFFF !important;
}

/* Texto da journey: branco/laranja */
.journey-section .journey-step .step-tag {
  color: var(--brand);
}
.journey-section .journey-step h4 {
  color: #FFFFFF;
}
.journey-section .journey-step p {
  color: rgba(255,255,255,0.7);
}

/* CTA dentro da seção */
.journey-section .btn-brand {
  box-shadow: 0 10px 24px -8px rgba(242,142,38,0.5);
}

/* Esconde a linha SVG antiga (já invisível mas garante) */
.journey-section .journey-line { display: none; }


/* ============================================================================
   ANIMAÇÕES NOS CARDS — Solução + Plataforma (efeitos de vida)
   ============================================================================ */

/* ---- COPILOTO — bolhas WhatsApp em loop infinito (sempre visíveis) ---- */
.pviz-wa .pviz-wa-bubble {
  opacity: 1;
  transform: translateY(0);
}
/* Loop completo de 8s: cada bolha "pisca" uma vez como se aparecesse de novo */
.pviz-wa .pviz-wa-bubble {
  animation: wa-loop 8s ease-in-out infinite;
}
.pviz-wa .pviz-wa-bubble:nth-child(1) { animation-delay: 0s; }
.pviz-wa .pviz-wa-bubble:nth-child(2) { animation-delay: 1.6s; }
.pviz-wa .pviz-wa-bubble:nth-child(3) { animation-delay: 3.2s; }
@keyframes wa-loop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  3% { transform: translateY(6px) scale(0.97); opacity: 0.6; }
  6% { transform: translateY(0) scale(1); opacity: 1; }
}

/* "Digitando..." entre as bolhas */
.pviz-wa::after {
  content: "•••";
  display: block;
  width: fit-content;
  padding: 6px 10px;
  background: var(--ink-soft);
  color: var(--ink);
  border-radius: 10px 10px 10px 2px;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-top: 6px;
  opacity: 0;
  animation: typing-cycle 8s ease-in-out infinite;
}
@keyframes typing-cycle {
  0%, 15% { opacity: 0; }
  18%, 26% { opacity: 1; }
  30%, 50% { opacity: 0; }
  53%, 60% { opacity: 1; }
  64%, 100% { opacity: 0; }
}

/* ---- BAR CHART animado (Indicadores - illust-gestor) ---- */
.illust-gestor svg [class*="bar-grad"],
.illust-gestor svg rect[fill="url(#bar-grad)"],
.illust-gestor svg rect[fill="#F28E26"] {
  transform-origin: bottom;
  animation: bar-grow 1.6s var(--ease) backwards;
}
.illust-gestor svg g[transform*="78"] rect:nth-child(1) { animation-delay: 0.05s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(2) { animation-delay: 0.10s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(3) { animation-delay: 0.15s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(4) { animation-delay: 0.20s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(5) { animation-delay: 0.25s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(6) { animation-delay: 0.30s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(7) { animation-delay: 0.35s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(8) { animation-delay: 0.40s; }
.illust-gestor svg g[transform*="78"] rect:nth-child(9) { animation-delay: 0.45s; }
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Bolinha verde "ao vivo" pulsa */
.illust-gestor svg circle[fill="#28C840"] {
  animation: live-pulse 1.8s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

/* ---- PVIZ-DASH no carrossel (Módulo 04 Indicadores) — gráfico se desenha ---- */
.pviz-dash svg path[stroke="#F28E26"] {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: line-draw 2.2s var(--ease) forwards infinite;
}
@keyframes line-draw {
  0% { stroke-dashoffset: 400; }
  60%, 100% { stroke-dashoffset: 0; }
}

/* Bolinha do final do gráfico (carrossel Indicadores) pulsa */
.pviz-dash svg circle[fill="#F28E26"] {
  animation: dash-pulse 1.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes dash-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.6; }
}

/* KPI values "contando" — simulado com leve scale-in repetido */
.pviz-dash-kpi .val,
.illust-gestor svg text[font-size="11"] {
  animation: kpi-tick 4s ease-in-out infinite;
  transform-origin: left;
}
@keyframes kpi-tick {
  0%, 70%, 100% { opacity: 1; transform: scale(1); }
  72% { opacity: 0.4; transform: scale(0.96); }
  76% { opacity: 1; transform: scale(1); }
}

/* ---- PVIZ-PHONE — preço total "atualizando" ---- */
.pviz-phone .pviz-phone-total .amt {
  animation: amt-flash 3.5s ease-in-out infinite;
}
@keyframes amt-flash {
  0%, 85%, 100% { color: var(--brand); }
  90%, 92% { color: var(--success); }
}

/* ---- PVIZ-RADIAL (Hub) — bolinhas correndo nas linhas ---- */
.pviz-radial-lines line {
  stroke-dasharray: 4 4;
  animation: hub-flow 1.6s linear infinite;
}
.pviz-radial-lines line:nth-child(1) { animation-delay: 0s; }
.pviz-radial-lines line:nth-child(2) { animation-delay: 0.4s; }
.pviz-radial-lines line:nth-child(3) { animation-delay: 0.8s; }
.pviz-radial-lines line:nth-child(4) { animation-delay: 1.2s; }
@keyframes hub-flow {
  to { stroke-dashoffset: -16; }
}

/* Hub center "pulsando" sutilmente */
.pviz-radial-center {
  animation: hub-breath 2.4s ease-in-out infinite;
}
@keyframes hub-breath {
  0%, 100% { box-shadow: 0 8px 20px -4px rgba(242,142,38,0.35); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 10px 28px -2px rgba(242,142,38,0.55); transform: translate(-50%, -50%) scale(1.04); }
}

/* ---- PVIZ-STACK (Canais Marketplace) — % subindo/descendo ---- */
.pviz-stack-row .ch-stat {
  animation: stat-tick 3.6s ease-in-out infinite;
}
.pviz-stack-row:nth-child(2) .ch-stat { animation-delay: 0.4s; }
.pviz-stack-row:nth-child(3) .ch-stat { animation-delay: 0.8s; }
.pviz-stack-row:nth-child(4) .ch-stat { animation-delay: 1.2s; }
.pviz-stack-row:nth-child(5) .ch-stat { animation-delay: 1.6s; }
@keyframes stat-tick {
  0%, 80%, 100% { opacity: 1; transform: translateY(0); }
  85% { opacity: 0; transform: translateY(-6px); }
  90% { opacity: 0; transform: translateY(6px); }
  95% { opacity: 1; transform: translateY(0); }
}

/* Stack badge "+18 canais" pulsa */
.pviz-stack-badge {
  animation: badge-pulse 2.4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ---- ILUSTRAÇÕES SOLUÇÃO — barrinhas de progresso animadas ---- */
.illust-b2b svg rect[fill="#F28E26"][height="6"] {
  transform-origin: left;
  animation: progress-fill 2.4s ease-in-out infinite;
}
.illust-b2b svg rect:nth-of-type(odd)[fill="#F28E26"][height="6"] { animation-delay: 0.4s; }
@keyframes progress-fill {
  0% { transform: scaleX(0.2); }
  50% { transform: scaleX(1); }
  100% { transform: scaleX(0.2); }
}

/* ---- ILLUST-REP — chips flutuantes pulsam ---- */
.illust-rep svg g.chip-l {
  animation: float-chip-up 3s ease-in-out infinite;
  transform-origin: 60px 18px;
  transform-box: fill-box;
}
.illust-rep svg g.chip-r {
  animation: float-chip-down 3s ease-in-out infinite;
  transform-origin: 60px 18px;
  transform-box: fill-box;
  animation-delay: 1.5s;
}
@keyframes float-chip-up {
  0%, 100% { transform: translate(20px, 80px); }
  50% { transform: translate(20px, 74px); }
}
@keyframes float-chip-down {
  0%, 100% { transform: translate(220px, 140px); }
  50% { transform: translate(220px, 146px); }
}

/* Respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .pviz-wa .pviz-wa-bubble,
  .pviz-wa::after,
  .pviz-dash svg path,
  .pviz-dash svg circle,
  .illust-gestor svg rect,
  .illust-gestor svg circle,
  .illust-b2b svg rect,
  .pviz-radial-lines line,
  .pviz-radial-center,
  .pviz-stack-row .ch-stat,
  .pviz-stack-badge,
  .pviz-phone .pviz-phone-total .amt,
  .pviz-dash-kpi .val,
  .illust-gestor svg text {
    animation: none !important;
  }
}


/* ============================================================================
   EFEITOS EXTRAS — reforços e elevação nos cards
   ============================================================================ */

/* HUB — linhas que correm + nodes pulsando */
.pviz-radial-node {
  animation: node-glow 2.4s ease-in-out infinite;
}
.pviz-radial-node.n1 { animation-delay: 0s; }
.pviz-radial-node.n2 { animation-delay: 0.6s; }
.pviz-radial-node.n3 { animation-delay: 1.2s; }
.pviz-radial-node.n4 { animation-delay: 1.8s; }
@keyframes node-glow {
  0%, 100% { box-shadow: var(--shadow-xs); border-color: var(--line); }
  50% { box-shadow: 0 0 0 3px rgba(242,142,38,0.18), 0 4px 10px -2px rgba(242,142,38,0.25); border-color: var(--brand); }
}

/* INDICADORES (carrossel) — toda a card "respirando" + sparkles nas KPIs */
.pviz-dash {
  animation: dash-elevate 4s ease-in-out infinite;
}
@keyframes dash-elevate {
  0%, 100% { transform: translateY(0); box-shadow: var(--shadow-sm); }
  50% { transform: translateY(-3px); box-shadow: var(--shadow-md); }
}

/* PORTAL — barrinhas verdes do "✓ entregue" piscando */
.pviz-portal .ok {
  animation: ok-pulse 2s ease-in-out infinite;
}
.pviz-portal-row:nth-child(3) .ok { animation-delay: 0.5s; }
@keyframes ok-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* PORTAL — botão "Repetir último pedido" com leve highlight */
.pviz-portal-btn {
  position: relative;
  overflow: hidden;
}
.pviz-portal-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  animation: btn-shine 3s ease-in-out infinite;
}
@keyframes btn-shine {
  0%, 50% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* PHONE (carrossel) — total subindo levemente, simulando atualização */
.pviz-phone {
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* PORTAL no carrossel — mesmo float-up suave */
.pviz-portal {
  animation: portal-float 5s ease-in-out infinite;
  animation-delay: 0.6s;
}
@keyframes portal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* DASH (carrossel) — também sutil */
.pviz-dash {
  /* já tem dash-elevate */
}

/* HUB center — pulsando mais forte */
.pviz-radial-center {
  animation: hub-breath-strong 2s ease-in-out infinite;
}
@keyframes hub-breath-strong {
  0%, 100% {
    box-shadow: 0 8px 20px -4px rgba(242,142,38,0.4), 0 0 0 0 rgba(242,142,38,0.5);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 12px 30px -2px rgba(242,142,38,0.55), 0 0 0 8px rgba(242,142,38,0);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* CARROSSEL CARDS — leve elevação no hover */
.carousel-card .cc-visual { overflow: hidden; }
.carousel-card:hover .cc-visual > * {
  transform: scale(1.03);
  transition: transform 0.4s var(--ease);
}


/* ============================================================================
   PÁGINAS DE APOIO — Hero variants + Spotlight blue
   ============================================================================ */

/* HERO DARK (módulos) — fundo azul marinho */
.page-hero-dark {
  background: linear-gradient(135deg, var(--ink) 0%, #2A4A7F 100%);
  color: white;
  padding: 100px 0 120px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.page-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 90% 30%, rgba(242,142,38,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 10% 80%, rgba(242,142,38,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-dark > .container { position: relative; z-index: 1; max-width: var(--maxw); }
.page-hero-dark .eyebrow { color: var(--brand); }
.page-hero-dark h1 { color: #FFFFFF; max-width: 18ch; }
.page-hero-dark .lead { color: rgba(255,255,255,0.78); max-width: 50ch; }
.page-hero-dark .module-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,142,38,0.15);
  border: 1px solid rgba(242,142,38,0.3);
  color: var(--brand);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.page-hero-dark .module-badge::before { content: ""; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; animation: live-pulse 1.8s ease-in-out infinite; }

/* HERO SOFT (segmentos) — fundo creme/laranja */
.page-hero-soft {
  padding: 100px 0 120px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 50% at 85% 25%, rgba(242,142,38,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 85%, rgba(250,248,233,0.9) 0%, transparent 60%),
    linear-gradient(180deg, #FFFCF5 0%, #FFFFFF 100%);
}
.page-hero-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,142,38,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,142,38,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-soft > .container { position: relative; z-index: 1; max-width: var(--maxw); }

/* HERO INSTITUCIONAL — fundo neutro mas com personalidade */
.page-hero-institutional {
  padding: 100px 0 100px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 100%);
}
.page-hero-institutional > .container { position: relative; z-index: 1; max-width: var(--maxw); }

/* SPLIT — 2 colunas no hero (texto + visual) */
.ph-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .ph-split { grid-template-columns: 1fr; gap: 48px; }
}
.ph-text h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.035em; line-height: 1.1; }
.ph-text .lead { font-size: 1.05rem; line-height: 1.55; }
.ph-visual { display: flex; align-items: center; justify-content: center; min-height: 320px; }

/* Caixa de visual no hero — fundo glass branco translúcido sobre azul */
.ph-visual-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 28px 60px -16px rgba(0,0,0,0.4);
  width: 100%;
  max-width: 480px;
}

/* Stats grandes no hero (segmentos) */
.ph-stats-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 460px;
}
.ph-stat {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.ph-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.ph-stat .label { font-size: 0.84rem; color: var(--muted); }
.ph-stat .source { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }

/* ============================================================================
   SPOTLIGHT BLUE — seção destaque com fundo azul (reutilizável)
   ============================================================================ */
.spotlight-section {
  background: linear-gradient(135deg, var(--ink) 0%, #2A4A7F 100%);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.spotlight-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(242,142,38,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.spotlight-section > .container { position: relative; z-index: 1; }
.spotlight-section h2 { color: #FFFFFF; }
.spotlight-section .eyebrow { color: var(--brand); }
.spotlight-section .lead { color: rgba(255,255,255,0.78); }

.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.spot-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spot-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(242,142,38,0.35);
  transform: translateY(-3px);
}
.spot-card .spot-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.spot-card h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.spot-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.5; }
.spot-card .spot-link { margin-top: auto; padding-top: 12px; color: var(--brand); font-size: 0.85rem; font-weight: 600; }
.spot-card .spot-link::after { content: " →"; }

/* 2 colunas — story telling */
.spot-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
@media (max-width: 900px) { .spot-2col, .spot-grid { grid-template-columns: 1fr; } }

.spot-quote {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--brand);
  padding: 24px 28px;
  border-radius: 4px 14px 14px 4px;
}
.spot-quote p { color: rgba(255,255,255,0.92); font-size: 1.05rem; line-height: 1.5; margin-bottom: 16px; }
.spot-quote .author { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.spot-quote .author strong { color: var(--brand); }


/* Botão ghost light pra usar sobre fundos escuros */
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
}

/* ---- Ajustes pra hero-soft com module-badge ---- */
.page-hero-soft .module-badge {
  background: transparent;
  border: none;
  color: var(--brand);
  padding: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-hero-soft .module-badge::before { display: none; }
.page-hero-soft h1 { color: var(--ink); max-width: 18ch; }
.page-hero-soft .lead { color: var(--muted); max-width: 50ch; }

/* btn-ghost-light fica diferente sobre fundo claro */
.page-hero-soft .btn-ghost-light {
  background: rgba(28,54,97,0.05);
  color: var(--ink);
  border-color: var(--line);
}
.page-hero-soft .btn-ghost-light:hover {
  background: rgba(28,54,97,0.08);
  border-color: var(--ink-3);
  color: var(--ink);
}

/* ============================================================================
   PLATAFORMA — ajustes específicos
   ============================================================================ */

/* Módulos com espaçamento entre cards */
.modules-spaced {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  gap: 20px !important;
  overflow: visible !important;
}
.modules-spaced .module {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.modules-spaced .module:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Spotlight LIGHT — variante com fundo claro/bege pra plataforma */
.spotlight-section.spotlight-light {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #FFFFFF 100%);
  color: var(--ink);
}
.spotlight-section.spotlight-light::before {
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(242,142,38,0.1) 0%, transparent 55%);
}
.spotlight-section.spotlight-light h2 { color: var(--ink); }
.spotlight-section.spotlight-light .eyebrow { color: var(--brand); }
.spotlight-section.spotlight-light .lead { color: var(--muted); }
.spotlight-section.spotlight-light .spot-card {
  background: #FFFFFF;
  border-color: var(--line);
}
.spotlight-section.spotlight-light .spot-card:hover {
  background: #FFFFFF;
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.spotlight-section.spotlight-light .spot-card .spot-num { color: var(--brand); }
.spotlight-section.spotlight-light .spot-card h3 { color: var(--ink); }
.spotlight-section.spotlight-light .spot-card p { color: var(--muted); }
.spotlight-section.spotlight-light .spot-card .spot-link { color: var(--brand); }

/* Como Funciona no fundo azul — steps em cards claros */
.journey-section .steps {
  gap: 16px;
  margin-top: 8px;
}
.journey-section .steps::before {
  background: rgba(255,255,255,0.15);
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  left: 8%;
  right: 8%;
}
.journey-section .steps .step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 24px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.journey-section .steps .step h4 { color: #FFFFFF; }
.journey-section .steps .step p { color: rgba(255,255,255,0.75); }
.journey-section .steps .step .step-num {
  color: #FFFFFF;
  background: var(--brand);
  border: none;
  box-shadow: 0 6px 16px -4px rgba(242,142,38,0.5);
  font-weight: 700;
}


/* Callout variant — fundo laranja com texto branco */
.callout-brand {
  background: var(--brand);
  border-color: var(--brand);
  border-left: none;
  box-shadow: 0 8px 24px -8px rgba(242,142,38,0.4);
  position: relative;
  overflow: hidden;
  max-width: 480px;
  display: inline-block;
  padding: 18px 24px;
}
.callout-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.callout-brand p, .callout-brand strong {
  color: #FFFFFF !important;
  position: relative;
  z-index: 1;
}

/* ============================================================================
   IMAGE PLACEHOLDER — bloco "Aqui uma imagem" pra você substituir depois
   ============================================================================ */
.image-placeholder {
  width: 100%;
  min-height: 320px;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  position: relative;
}
.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  border-radius: 10px;
  z-index: 0;
}
.image-placeholder > * { position: relative; z-index: 1; }
.image-placeholder .ip-icon {
  width: 64px; height: 64px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.image-placeholder .ip-icon svg { width: 32px; height: 32px; }
.image-placeholder .ip-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.image-placeholder .ip-hint {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.5;
}


/* Callout sem borda lateral laranja */
.callout-flat {
  border-left: none !important;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* Stats centralizadas — número + label centrados */
.stats-centered .stat {
  text-align: center;
}
.stats-centered .stat-num {
  justify-content: center;
}
.stats-centered .stat-label {
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================================================
   BLOG — thumb placeholder + cards clicáveis + filtros centralizados
   ============================================================================ */
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--bg-soft) 0%, #FFFCF5 100%);
}
.thumb-placeholder svg { width: 40px; height: 40px; opacity: 0.7; }
.thumb-placeholder span {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Cards do blog viraram <a> — remove sublinhado e cor */
a.blog-card, a.blog-feat {
  text-decoration: none;
  color: inherit;
  display: flex;
}
a.blog-card {
  flex-direction: column;
}
a.blog-feat {
  display: grid;
}
a.blog-card:hover, a.blog-feat:hover {
  transform: translateY(-3px);
}
a.blog-card:hover h3, a.blog-feat:hover h2 { color: var(--brand); }

/* Filtros de blog centralizados */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

/* ============================================================================
   POST PAGE — página de artigo individual
   ============================================================================ */
.post-page {
  padding: 0;
}
.post-hero {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.post-breadcrumb {
  margin-bottom: 32px;
}
.post-breadcrumb a {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.post-breadcrumb a:hover { color: var(--brand); }

.post-cat {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 16px;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.post-meta-divider { color: var(--dim); }

.post-thumb {
  margin: 40px 0;
  aspect-ratio: 21/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-body {
  padding: 24px 0 64px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text);
}
.post-body .post-lead {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 48px 0 18px;
}
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol {
  margin: 0 0 24px 1.2em;
  padding-left: 0;
}
.post-body li { margin-bottom: 10px; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

.post-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #2A4A7F 100%);
  border-radius: 20px;
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(242,142,38,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.post-cta > * { position: relative; z-index: 1; }
.post-cta .eyebrow { color: var(--brand); margin-bottom: 14px; display: inline-block; }
.post-cta h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.post-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .post-cta { padding: 40px 28px; }
}


/* Plan tier label (para pequenas indústrias, etc) */
.plan-tier-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.plan-price .amount .cents {
  font-size: 0.4em;
  vertical-align: top;
  color: var(--muted);
  font-weight: 600;
  margin-left: 2px;
}
