/* ============================================================
   PROXMERU — Global Enterprise Stylesheet
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* VARIABLES */
:root {
  --blue:       #8b5cf6;
  --blue-dark:  #7442eb;
  --primary:    #8b5cf6;
  --green:      #00a86b;
  --dark:       #ffffff;
  --dark-2:     #f8f6fe;
  --dark-3:     #efeafd;
  --heading:    #1e1042;
  --text:       #2b1a54;
  --muted:      #5e4f82;
  --border:     rgba(30, 16, 66, 0.1);
  --font:       'Inter', system-ui, sans-serif;
  --max:        1140px;
  --radius:     12px;
}

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* SECTION LABELS & HEADINGS */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.22);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.section-heading p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
}

@media (max-width: 768px) {
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
}

/* NAV */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-logo img { height: 26px; width: auto; border-radius: 2px; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-right: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  display: inline-block;
  width: 100px;
  text-align: center;
}

.nav-links a:hover { color: var(--heading); background: rgba(139, 92, 246, 0.08); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* LANG FADE */
@keyframes langFade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.lang-switching [data-i18n],
.lang-switching .ticker-track,
.lang-switching .ticker-track span,
.lang-switching .lang-fade {
  animation: langFade 0.4s ease;
}

#lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lang-toggle:hover { border-color: rgba(30, 16, 66, 0.25); color: var(--heading); background: rgba(139, 92, 246, 0.08); }

#theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
#theme-toggle:hover { border-color: rgba(30, 16, 66, 0.25); color: var(--heading); background: rgba(139, 92, 246, 0.08); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: #8b5cf6;
  padding: 0.5rem 1.25rem;
  border-radius: 7px;
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}
.nav-cta:hover { background: #7442eb ; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--dark-2);
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    align-items: flex-start;
  }
  .nav-links.open a {
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    border-radius: 6px;
    background: transparent;
}
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--heading); border-color: rgba(30, 16, 66, 0.25); }

.btn-ghost-light {
  display: inline-block;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(30, 16, 66, 0.16);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost-light:hover { color: var(--heading); border-color: rgba(30, 16, 66, 0.4); }

.hero-ctas .btn-primary { width: 260px; text-align: center; white-space: nowrap; }
.hero-ctas .btn-ghost   { width: 180px; text-align: center; white-space: nowrap; }

/* HERO */
#hero {
  padding: 140px 2rem 0;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 0;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-left { display: flex; flex-direction: column; gap: 0; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

#hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

#hero h1 span:last-child,
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #3b0764 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-left > p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 2rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-2);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.stat {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat strong span { color: var(--green); }

.stat p {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

#hero-stats {
  padding: 4rem 0 0;
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 80%; height: 1px; }
}

/* TICKER */

.ticker {
  position: relative;
  padding-top: 1.5rem;
  overflow: hidden;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark) 0%, rgba(255, 255, 255, 0) 100%);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark) 0%, rgba(255, 255, 255, 0) 100%);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 38s linear infinite;
  align-items: center;
}

.ticker-track span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ticker-track span[aria-hidden] {
  color: var(--blue);
  font-size: 0.6rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* SOLUTIONS */
#solutions {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

#solutions > .container {
  text-align: center;
}

#solutions .section-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

#solutions .section-heading p {
  max-width: 720px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.sol-card {
  background: var(--dark);
  padding: 2.25rem 2rem;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sol-card:hover { background: var(--dark-2); }
.sol-card-empty,
.sol-card-empty:hover { background: var(--dark); cursor: default; }

.sol-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.sol-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
}

.sol-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.sol-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.sol-link span { transition: transform 0.2s; }
.sol-card:hover .sol-link { color: var(--blue); }
.sol-card:hover .sol-link span { transform: translateX(3px); }

@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card-empty { display: none; }
}

/* CLIENTS BAR */
.clients-bar {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
  opacity: 0.6;
}

.clients-ticker-wrap {
  position: relative;
  overflow: hidden;
}

.clients-ticker-wrap::before,
.clients-ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.clients-ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark) 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark) 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-ticker {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.clients-ticker .clients-badge {
  display: flex;
  flex: 0 0 260px;
  height: 64px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s;
}
.clients-ticker .clients-badge:hover { opacity: 1; }
.clients-icon {
  width: 17px;
  height: 17px;
  color: var(--blue);
  flex-shrink: 0;
}

/* SOLUÇÕES POR SETOR */
#solucoes {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

#solucoes > .container,
#planos > .container,
#insights > .container {
  text-align: center;
}

#solucoes .section-heading,
#planos .section-heading,
#insights .section-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

#solucoes .section-heading p,
#planos .section-heading p,
#insights .section-heading p {
  max-width: 720px;
}

#solucoes .stack-card {
  padding: 1.75rem 1.4rem;
}

#solucoes .stack-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

#solucoes .stack-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.solucoes-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* PLANOS */
#planos {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(30, 16, 66, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(30, 16, 66, 0.06);
}
.pricing-featured {
  border: 2px solid #7c3aed;
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.12);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.billing-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  font-size: 0.85rem;
  font-weight: 600;
}
.pricing-header {
  border-bottom: 1px solid rgba(30, 16, 66, 0.08);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading, #1e1042);
  margin-bottom: 6px;
}
.pricing-desc {
  font-size: 0.875rem;
  color: var(--muted, #5e4f82);
  opacity: 0.75;
  min-height: 60px;
  margin-bottom: 0;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--text, #2b1a54);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.pricing-features .check {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pricing-btn-outline {
  border: 1px solid rgba(30, 16, 66, 0.16);
  color: inherit;
}
.pricing-btn-outline:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}
.pricing-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  border: none;
}
.pricing-btn-primary:hover {
  opacity: 0.92;
}
.modular-divider {
  height: 1px;
  background: rgba(30, 16, 66, 0.1);
  margin: 56px 0 48px 0;
}
.modular-header {
  text-align: center;
  margin-bottom: 36px;
}
.modular-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading, #1e1042);
  margin-bottom: 8px;
}
.modular-header p {
  font-size: 0.95rem;
  color: var(--muted, #5e4f82);
  opacity: 0.75;
}
.modular-two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 36px;
}
.modular-two-cols .modular-row {
  border-bottom: 1px solid rgba(30, 16, 66, 0.06);
}
.modular-two-cols .modular-row:nth-last-child(-n+2) {
  border-bottom: none;
}
.modular-box {
  background: #ffffff;
  border: 1px solid rgba(30, 16, 66, 0.08);
  border-radius: 20px;
  padding: 28px;
  text-align: left;
}
.modular-box-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(30, 16, 66, 0.08);
}
.modular-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30, 16, 66, 0.06);
}
.modular-row:last-of-type {
  border-bottom: none;
}
.modular-row strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading, #1e1042);
  margin-bottom: 2px;
}
.modular-row span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted, #5e4f82);
  opacity: 0.7;
}
.modular-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modular-row-btn {
  display: inline-block;
  min-width: 155px;
  text-align: center;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(30, 16, 66, 0.16);
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.modular-row-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.04);
}
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .modular-two-cols {
    grid-template-columns: 1fr;
  }
  .modular-two-cols .modular-row:nth-last-child(2) {
    border-bottom: 1px solid rgba(30, 16, 66, 0.06);
  }
  .modular-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

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

.stack-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.stack-card:hover { border-color: rgba(139, 92, 246, 0.35); transform: translateY(-3px); }

.stack-card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stack-icon {
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
}

.stack-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
}

.stack-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.stack-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,194,122,0.08);
  border: 1px solid rgba(0,194,122,0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

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

/* FAQ */
#faq {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.faq-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.faq-left p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

.faq-right { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--blue); }

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.faq-item[open] .faq-answer {
  height: auto;
  opacity: 1;
}

.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

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

/* INSIGHTS */
#insights {
  padding: 4rem 0 4rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.insight-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s, transform 0.2s;
}
.insight-card:hover { border-color: rgba(139, 92, 246, 0.35); transform: translateY(-3px); }

.insight-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.insight-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
}

.insight-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.insight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

.insight-footer span { color: var(--muted); }
.insight-footer a { color: var(--blue); font-weight: 600; transition: color 0.2s; }
.insight-footer a:hover { color: var(--heading); }

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

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-2) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.cta-rating {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cta-rating span { color: var(--muted); }

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-sub { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

.cta-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  max-width: 500px;
}

.cta-actions > a {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  text-align: center;
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.cta-badges li {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* CONTACT */
#contact { padding: 4rem 0 2rem; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-left p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }

.contact-info { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.contact-info li span {
  width: 1rem;
  flex-shrink: 0;
  color: inherit;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--blue); }

.contact-form select { color: var(--muted); }
.contact-form select option { background: var(--dark-2); color: var(--text); }

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

.form-honey { display: none !important; }

.form-status {
  min-height: 1.4em;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status[data-state="success"] { color: var(--green); }
.form-status[data-state="error"] { color: #ff8585; }

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* SCROLL OFFSET PARA SEÇÕES (compensa header fixo) */
#solutions,
#solucoes,
#planos,
#insights,
#contact,
#contacto {
  scroll-margin-top: 70px;
}

/* FOOTER */
#footer {
  padding: 5rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 0.75fr 1.3fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-logo { height: 26px; width: auto; margin-bottom: 1.25rem; border-radius: 2px; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.footer-social {
  display: flex;
  justify-content: left;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(30, 16, 66, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icon:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--blue);
}

.social-icon[aria-label="Twitter"]:hover    { background: rgba(30, 16, 66, 0.08); border-color: rgba(30, 16, 66, 0.25); color: var(--heading); }
.social-icon[aria-label="LinkedIn"]:hover   { background: rgba(0,119,181,0.12);   border-color: rgba(0,119,181,0.4);   color: #0077b5; }
.social-icon[aria-label="GitHub"]:hover     { background: rgba(30, 16, 66, 0.08); border-color: rgba(30, 16, 66, 0.25); color: var(--heading); }
.social-icon[aria-label="Instagram"]:hover  { background: rgba(225,48,108,0.12);  border-color: rgba(225,48,108,0.35); color: #e1306c; }
.social-icon[aria-label="Facebook"]:hover   { background: rgba(24,119,242,0.12);  border-color: rgba(24,119,242,0.35); color: #1877f2; }
.social-icon[aria-label="WhatsApp"]:hover   { background: rgba(37,211,102,0.12);  border-color: rgba(37,211,102,0.35); color: #25d366; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--heading); }

.footer-col p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }

.footer-newsletter { display: flex; gap: 0.5rem; }
.footer-newsletter input,
.footer-newsletter button { width: auto; }
.footer-newsletter input { flex: 1; }

.footer-newsletter input {
  flex: 1;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input:focus { border-color: var(--blue); }
.footer-newsletter input::placeholder { color: var(--muted); }

.footer-newsletter button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--blue-dark); }

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

.footer-bottom-inner {
  max-width: var(--max);
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--heading); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; }
}

/* HERO MOCKUP */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-window {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 24px 60px rgba(30, 16, 66, 0.12), 0 0 0 1px rgba(139, 92, 246, 0.08);
}

.mockup-window:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  box-shadow: 0 32px 80px rgba(139, 92, 246, 0.18), 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}

.mockup-title {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mockup-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

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

.mockup-stat {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 0.75rem;
}

.mockup-stat-label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.mockup-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mockup-chart {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  overflow: hidden;
}

.mockup-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-chart-dots { display: flex; gap: 4px; }
.mockup-chart-dots div { width: 12px; height: 4px; border-radius: 2px; }

.mockup-svg { width: 100%; height: 80px; display: block; }

.mockup-code {
  background: #1a0f36;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mockup-sales {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  height: 167px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-sales-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}

.mockup-sales-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sale-title {
  color: var(--heading);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sale-amount {
  color: var(--heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sale-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
}

.sale-badge-green {
  color: var(--green);
  background: rgba(0, 168, 107, 0.12);
}

.sale-badge-purple {
  color: var(--blue);
  background: rgba(139, 92, 246, 0.14);
}

.code-line { font-size: 0.78rem; font-family: 'Fira Code', 'Courier New', monospace; line-height: 1.6; }
.c-purple { color: #c792ea; }
.c-blue   { color: #82aaff; }
.c-green  { color: #c3e88d; }
.c-orange { color: #f78c6c; }
.c-white  { color: #e0e0e0; }
.c-muted  { color: #546e7a; }

.cursor-blink {
  display: inline-block;
  color: var(--green);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

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

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: flex; }
}

/* HERO STATS BAR */

