/* ============================================================
   ANUMI — Landing Page
   Design tokens da paleta oficial (resources/css/app.css)
   ============================================================ */

:root {
  /* Brand */
  --navy: #000E28;
  --navy-light: #001540;
  --blue-deep: #2243BB;
  --blue-mid: #2795D8;
  --teal: #35CFB7;
  --blue-grey: #5C6B8A;
  --green-soft: #5FA58D;
  --grey: #8B95A1;
  --off-white: #F5F3EE;
  --bg: #F0F2F5;

  /* Surfaces */
  --surface-bg: #F4F6F9;
  --surface-card: #FFFFFF;
  --surface-border: #E4E7EC;
  --surface-hover: #F8FAFC;

  /* Text */
  --text-primary: #0D1117;
  --text-secondary: #4B5563;
  --text-muted: #8B95A1;

  /* Semantic */
  --success: #047857;
  --success-soft: #ECFDF5;

  /* Effects */
  --brand-gradient: linear-gradient(135deg, var(--blue-mid) 0%, var(--teal) 100%);
  --brand-gradient-deep: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 50%, var(--teal) 100%);

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Spacing scale (8pt) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 56px;
  --sp-7: 72px;
  --sp-8: 96px;
  --sp-9: 120px;

  /* Section vertical rhythm */
  --section-py: 120px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 14, 40, 0.04), 0 1px 1px rgba(0, 14, 40, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 14, 40, 0.06), 0 2px 6px rgba(0, 14, 40, 0.04);
  --shadow-lg: 0 24px 60px rgba(0, 14, 40, 0.10), 0 8px 20px rgba(0, 14, 40, 0.06);
  --shadow-glow: 0 0 80px rgba(39, 149, 216, 0.35);
}

@media (max-width: 900px) {
  :root { --section-py: 80px; }
}
@media (max-width: 600px) {
  :root { --section-py: 64px; }
}

* { box-sizing: border-box; }
*::selection { background: rgba(39, 149, 216, 0.25); color: var(--navy); }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Safety: SVGs without explicit sizing default to small, inline, current-color */
svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: none;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--navy);
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

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

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 14, 40, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__inner { gap: var(--sp-2); }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}
.header__logo img { height: 34px; width: 97px; min-width: 97px; display: block; }
.header__logo svg { height: 34px; width: auto; min-width: 97px; display: block; flex-shrink: 0; }
.header__logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

.header__nav {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.header__nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.header__nav a:hover { color: #fff; }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}
.lang-toggle button:hover { color: #fff; }
.lang-toggle button.is-active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

.header__login {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}
.header__login:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(39, 149, 216, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(39, 149, 216, 0.45);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost-light {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--surface-border);
}
.btn--ghost-light:hover { border-color: var(--navy); background: #fff; }

.btn--sm { padding: 8px 16px; font-size: 13px; }

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   HERO — dark, premium, com glow
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 168px 0 var(--sp-9);
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 980px) {
  .hero { padding: 128px 0 var(--sp-8); }
}
@media (max-width: 600px) {
  .hero { padding: 112px 0 var(--sp-7); }
  .hero__title { font-size: clamp(28px, 7.5vw, 36px); }
  .hero__proofs { margin-top: var(--sp-5); }
  .hero__ctas { flex-direction: column; align-items: flex-start; min-height: 114px; }
  .hero__ctas .btn { width: 100%; text-align: center; justify-content: center; }
}

.hero::before {
  /* grid sutil */
  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: 80px 80px;
  background-position: center top;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(39, 149, 216, 0.35) 0%, rgba(53, 207, 183, 0.15) 35%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero__glow--2 {
  top: auto;
  bottom: -300px;
  right: auto;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(53, 207, 183, 0.28) 0%, rgba(34, 67, 187, 0.12) 40%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

@media (max-width: 1080px) {
  .hero__inner { gap: var(--sp-6); }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  /* Impede que conteúdo interno (ex: carousel track) expanda a grid cell além do container */
  .hero__inner > * { min-width: 0; overflow: hidden; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(53, 207, 183, 0.10);
  border: 1px solid rgba(53, 207, 183, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.hero__title {
  font-size: clamp(38px, 4.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: var(--sp-3) 0 var(--sp-3);
  color: #fff;
}
.hero__title span {
  display: block;
}
.hero__title .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 600px) {
  .hero__title { font-size: clamp(28px, 7.5vw, 36px); }
}

.hero__sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 540px;
}
.hero__sub strong { color: #fff; font-weight: 600; }

.hero__ctas {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
  min-height: 50px;
}
.hero__ctas .btn { min-height: 50px; }

.hero__note {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
  min-height: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.hero__note::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--success-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3.5 3.5 6.5-7' stroke='%23047857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.hero__proofs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-7);
  max-width: 600px;
}

.proof {
  padding: var(--sp-3) var(--sp-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.proof__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(53, 207, 183, 0.15);
  color: var(--teal);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-2);
}
.proof__icon svg { width: 16px; height: 16px; }
.proof__title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; line-height: 1.3; }
.proof__sub { font-size: 12px; color: rgba(255, 255, 255, 0.55); line-height: 1.4; }

@media (max-width: 768px) {
  /* Glows ambientes de fundo do hero: puramente decorativos, escondidos p/ perf.
     O override do próprio chat-widget mobile fica no FINAL do arquivo (cascade). */
  .hero__glow { display: none; }
}

@media (max-width: 540px) {
  .hero__proofs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
  }
  .hero__proofs .proof:last-child { grid-column: 1 / -1; }
  .proof { backdrop-filter: none; background: rgba(255, 255, 255, 0.05); }
}

/* ============================================================
   CHAT WIDGET (hero right column)
   ============================================================ */
.chat-widget {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.chat-widget::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: conic-gradient(from 180deg at 50% 50%, rgba(39, 149, 216, 0) 0deg, rgba(39, 149, 216, 0.4) 90deg, rgba(53, 207, 183, 0.4) 180deg, rgba(39, 149, 216, 0) 270deg);
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
  animation: rotateGlow 8s linear infinite;
}
@keyframes rotateGlow {
  to { transform: rotate(360deg); }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}
.chat-header__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
  position: relative;
}
.chat-header__avatar::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 12px; height: 12px;
  background: var(--teal);
  border: 2px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
}
.chat-header__name { font-size: 14px; font-weight: 700; color: #fff; }
.chat-header__status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; gap: 6px;
}
.chat-header__status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.bubble {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.bubble--in {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble--out {
  background: var(--brand-gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  text-align: left;
  box-shadow: 0 6px 18px rgba(39, 149, 216, 0.3);
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.typing.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.typing__dot {
  width: 6px; height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing__dot:nth-child(2) { animation-delay: 0.15s; }
.typing__dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Intel panel — appears beside/below the chat */
.chat-intel {
  margin-top: 16px;
  padding: 14px 16px 4px;
  background: linear-gradient(180deg, rgba(53, 207, 183, 0.08) 0%, rgba(39, 149, 216, 0.05) 100%);
  border: 1px solid rgba(53, 207, 183, 0.18);
  border-radius: 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.chat-intel.is-revealed { opacity: 1; transform: translateY(0); }

.chat-intel__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.chat-intel__title::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--teal);
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 6.5l2 2 4-5' stroke='%23000E28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.intel-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.intel-row:first-of-type { border-top: 0; padding-top: 0; }
.intel-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.intel-row__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.intel-row__value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}

.score {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
}
.score__num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--teal);
  min-width: 28px;
}
.score__bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.score__bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--score, 0%);
  background: var(--brand-gradient);
  border-radius: 999px;
  transition: width 0.05s linear;
}

.mood-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(53, 207, 183, 0.15);
  color: var(--teal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.source-pill {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.intel-status {
  margin-top: 12px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(255, 165, 0, 0.16), rgba(255, 100, 0, 0.08));
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 12px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #FFB547;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.intel-status.is-visible { opacity: 1; transform: scale(1); }
.intel-status::before {
  content: '🔥';
  font-size: 14px;
}

.handoff {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.handoff.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.section {
  position: relative;
  padding: var(--section-py) 0;
}

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

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-7);
}
.section__head .eyebrow {
  background: rgba(39, 149, 216, 0.08);
  border-color: rgba(39, 149, 216, 0.25);
  color: var(--blue-mid);
}
.section__head .eyebrow::before { background: var(--blue-mid); box-shadow: 0 0 12px var(--blue-mid); }
.section__title {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  margin: var(--sp-3) 0 var(--sp-2);
  letter-spacing: -0.025em;
}
.section__sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .section__head { margin-bottom: var(--sp-6); }
  .section__sub { font-size: 16px; }
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ============================================================
   SECTION: PAIN
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

@media (max-width: 920px) {
  .pain-grid { grid-template-columns: 1fr; gap: var(--sp-2); }
}

.pain-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39, 149, 216, 0.3);
}
.pain-card:hover::before { transform: scaleX(1); }

.pain-card__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--surface-border);
}
.pain-card__metric-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.pain-card__metric-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 100%;
}

.pain-card__title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.015em;
}
.pain-card__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.pain-card__tag {
  display: inline-block;
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--surface-border);
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   SECTION: SOLUTION (timeline)
   ============================================================ */
.solution {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(39, 149, 216, 0.18) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.solution .section__head { position: relative; z-index: 1; }
.solution .section__title { color: #fff; }
.solution .section__sub { color: rgba(255, 255, 255, 0.65); }
.solution .section__head .eyebrow {
  background: rgba(53, 207, 183, 0.10);
  border-color: rgba(53, 207, 183, 0.3);
  color: var(--teal);
}
.solution .section__head .eyebrow::before { background: var(--teal); box-shadow: 0 0 12px var(--teal); }

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding-top: var(--sp-6);
}

.timeline__line {
  position: absolute;
  top: 84px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}
.timeline__line::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  /* Desktop: line always fully painted (no scroll effect). */
  width: 100%;
  background: var(--brand-gradient);
  transition: width 0.05s linear;
}

@media (max-width: 920px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-top: 20px; }
  .timeline__line {
    top: 60px;
    left: 24px;
    right: auto;
    bottom: 60px;
    width: 2px;
    height: auto;
  }
  .timeline__line::after {
    /* Mobile: line fills as the section scrolls into view. */
    width: 100%;
    height: var(--progress, 0%);
  }
}

.step {
  position: relative;
  text-align: center;
  padding: 0 var(--sp-2);
}
@media (max-width: 920px) {
  .step { text-align: left; padding-left: 72px; padding-right: 0; }
}

.step__node {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  position: relative;
  z-index: 2;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;

  /* Desktop default: ALL nodes always painted with the brand gradient. */
  background: var(--brand-gradient);
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 0 0 30px rgba(39, 149, 216, 0.35);
}

@media (max-width: 920px) {
  .step__node {
    position: absolute;
    left: 0; top: 0;
    margin: 0;
    /* Mobile: start dim, light up on scroll via .is-active */
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    box-shadow: none;
  }
  .step.is-active .step__node {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(39, 149, 216, 0.5);
  }
}

.step__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(53, 207, 183, 0.9);
  padding: 5px 12px;
  border: 1px solid rgba(53, 207, 183, 0.3);
  border-radius: 999px;
  margin-bottom: var(--sp-2);
}
.step--actor-user .step__tag {
  color: rgba(255, 165, 0, 0.95);
  border-color: rgba(255, 165, 0, 0.35);
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--sp-1);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.step__body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ============================================================
   NEXT-SECTIONS PLACEHOLDER
   ============================================================ */
.next-block {
  background: var(--surface-card);
  border: 1px dashed var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.next-block__title {
  font-size: 22px;
  margin-bottom: 12px;
}
.next-block__body {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   FEATURES — 6 cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); } }

/* --- Mobile carousel (≤640px) --- */
@media (max-width: 640px) {
  .features-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: var(--sp-2);
    /* Bleed to viewport edges + restore breathing room via padding */
    margin: 0 calc(var(--sp-3) * -1);
    padding: 8px var(--sp-3) var(--sp-3);
    scroll-padding-left: var(--sp-3);
    /* Hide native scrollbar — replaced by dots indicator below */
    scrollbar-width: none;
  }
  .features-grid::-webkit-scrollbar { display: none; }

  .features-grid > .feat-card {
    flex: 0 0 86%;           /* card width: 86% of viewport, leaves "peek" of next */
    max-width: 380px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* --- Carousel dots indicator (mobile only) --- */
.features-dots {
  display: none;
}
@media (max-width: 640px) {
  .features-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--sp-3);
  }
  .features-dots__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--surface-border);
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }
  .features-dots__dot.is-active {
    background: var(--blue-mid);
    width: 22px;
    border-radius: 999px;
  }
}

.feat-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39, 149, 216, 0.3);
}
.feat-card:hover::before { opacity: 1; }

.feat-card--hero {
  background: linear-gradient(180deg, var(--surface-card) 0%, rgba(53, 207, 183, 0.04) 100%);
  border-color: rgba(53, 207, 183, 0.25);
}
.feat-card--hero::before { opacity: 1; }

.feat-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(39, 149, 216, 0.12), rgba(53, 207, 183, 0.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--blue-mid);
}
.feat-card--hero .feat-card__icon {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(39, 149, 216, 0.3);
}
.feat-card__icon svg { width: 24px; height: 24px; }

.feat-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(53, 207, 183, 0.10);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: var(--sp-2);
  align-self: flex-start;
}
.feat-card__title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 var(--sp-2);
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.feat-card__body {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-wrap {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.compare-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(53, 207, 183, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 100%, rgba(34, 67, 187, 0.15) 0%, transparent 50%);
  z-index: 0;
}
.compare-wrap > * { position: relative; z-index: 1; }
.compare-wrap .section__title { color: #fff; }
.compare-wrap .section__sub { color: rgba(255, 255, 255, 0.65); }
.compare-wrap .section__head .eyebrow {
  background: rgba(255, 165, 0, 0.10);
  border-color: rgba(255, 165, 0, 0.3);
  color: #FFB547;
}
.compare-wrap .section__head .eyebrow::before { background: #FFB547; box-shadow: 0 0 12px #FFB547; }

.compare-table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  max-width: 1080px;
  margin: 0 auto;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
.compare-row:hover { background: rgba(255, 255, 255, 0.03); }
.compare-row--head {
  background: rgba(255, 255, 255, 0.05);
  border-top: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: var(--sp-2) var(--sp-4);
}
.compare-row--head .compare-col--anumi {
  color: var(--teal);
}

.compare-col { padding: 0 12px; }
.compare-col:first-child { padding-left: 0; }
.compare-col:last-child { padding-right: 0; }
.compare-col--name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.compare-col__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.compare-col__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}
.compare-col--anumi, .compare-col--others {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.compare-col--anumi { color: #fff; font-weight: 600; }
.compare-col--others { color: rgba(255, 255, 255, 0.5); }

.compare-icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.compare-icon--ok {
  background: rgba(53, 207, 183, 0.15);
  color: var(--teal);
}
.compare-icon--no {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}
.compare-icon svg { width: 12px; height: 12px; }

@media (max-width: 740px) {
  .compare-row, .compare-row--head {
    grid-template-columns: 1fr;
    padding: 18px 20px;
    gap: 8px;
  }
  .compare-row--head { display: none; }
  .compare-col--anumi::before { content: 'Anumi: '; color: var(--teal); font-weight: 700; }
  .compare-col--others::before { content: 'Outras: '; color: rgba(255,255,255,0.4); font-weight: 700; }
}

/* ============================================================
   PRICING — redesigned: 4 cards + Elite banner
   ============================================================ */

/* --- Toggle --- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  margin: 0 auto var(--sp-7);
  width: fit-content;
}
.pricing-toggle button {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pricing-toggle button:hover { color: var(--text-primary); }
.pricing-toggle button.is-active {
  background: var(--navy);
  color: #fff;
}
.pricing-toggle__savings {
  background: var(--teal);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.pricing-toggle button.is-active .pricing-toggle__savings {
  background: rgba(53, 207, 183, 0.22);
  color: var(--teal);
}

/* --- Grid: 4 cards (Chat / Intermediário / Starter / Pro) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.18fr 1fr; /* Starter is slightly wider */
  gap: 0;
  align-items: stretch;
  padding-top: 36px; /* room for the featured badge floating above starter */
  position: relative;
}

@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
    padding-top: 36px;
  }
}
@media (max-width: 560px) {
  .pricing-grid {
    padding-top: 36px;
  }
}
@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
}

/* --- Card --- */
.price-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Connected cards (joined edges) on desktop — radius only on outer corners */
.pricing-grid > .price-card:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  border-right: 0;
}
.pricing-grid > .price-card:nth-child(2) {
  border-right: 0;
}
.pricing-grid > .price-card:nth-child(3) {
  /* featured Starter — has its own radius/style */
}
.pricing-grid > .price-card:nth-child(4) {
  border-left: 0;
}
.pricing-grid > .price-card:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

@media (max-width: 1080px) {
  /* Break out into individual cards */
  .pricing-grid > .price-card,
  .pricing-grid > .price-card:first-child,
  .pricing-grid > .price-card:nth-child(2),
  .pricing-grid > .price-card:nth-child(4),
  .pricing-grid > .price-card:last-child {
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
  }
}

.price-card:hover {
  border-color: rgba(39, 149, 216, 0.35);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* --- Featured (Starter) --- */
/* IMPORTANT: do NOT use overflow:hidden here, or the badge above the card gets clipped.
   The internal glow is positioned inside a dedicated child (.price-card__glow) so it
   can have its own clipping context without affecting the badge. */
.price-card--featured {
  background: var(--navy);
  border: 1px solid var(--navy) !important;
  color: #fff;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 24px 60px rgba(0, 14, 40, 0.22), 0 0 0 1px rgba(53, 207, 183, 0.18);
  z-index: 2;
  margin: -18px 0 -18px; /* extends slightly out top and bottom for emphasis */
  padding-top: calc(var(--sp-4) + 18px);
  padding-bottom: calc(var(--sp-4) + 18px);
  isolation: isolate;
  overflow: visible; /* explicit — badge must escape */
}
/* Inner glow lives behind content using ::after, clipped by the rounded card via inset */
.price-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(53, 207, 183, 0.25) 0%, rgba(39, 149, 216, 0.10) 35%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.price-card--featured:hover {
  border-color: var(--navy) !important;
  box-shadow: 0 30px 70px rgba(0, 14, 40, 0.28), 0 0 0 1px rgba(53, 207, 183, 0.3);
}

@media (max-width: 1080px) {
  .price-card--featured {
    margin: 18px 0 0; /* extra top space for the badge */
    padding-top: calc(var(--sp-4) + 18px);
    padding-bottom: var(--sp-4);
  }
}

/* --- Badge "Mais escolhido" --- */
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(39, 149, 216, 0.4);
  white-space: nowrap;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}
.price-card__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* --- Card content --- */
.price-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-1);
}
.price-card__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.price-card--featured .price-card__name { color: #fff; }

.price-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-mid);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(39, 149, 216, 0.08);
}
.price-card--featured .price-card__tag {
  color: var(--teal);
  background: rgba(53, 207, 183, 0.12);
}

.price-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 38px;
  margin-bottom: var(--sp-3);
}
.price-card--featured .price-card__desc { color: rgba(255, 255, 255, 0.65); }

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 4px;
}
.price-card__currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
}
.price-card--featured .price-card__currency { color: rgba(255, 255, 255, 0.8); }
.price-card__num {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card--featured .price-card__num { color: #fff; }
.price-card__suffix {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-card--featured .price-card__suffix { color: rgba(255, 255, 255, 0.55); }

/* --- 3 main features (always visible) --- */
.price-card__features {
  list-style: none;
  padding: var(--sp-3) 0 0;
  margin: var(--sp-3) 0 0;
  border-top: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: var(--text-primary);
}
.price-card--featured .price-card__features {
  color: rgba(255, 255, 255, 0.92);
  border-top-color: rgba(255, 255, 255, 0.1);
}
.price-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.price-card__features li strong {
  font-weight: 700;
}
.price-card__features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background-color: rgba(39, 149, 216, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l2.8 2.8 6.2-7' stroke='%232795D8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.price-card--featured .price-card__features li::before {
  background-color: rgba(53, 207, 183, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l2.8 2.8 6.2-7' stroke='%2335CFB7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- Expand link "Ver todas as features" --- */
.price-card__expand {
  margin-top: auto;
  padding-top: var(--sp-3);
  display: flex;
  flex-direction: column;
}
.price-card__expand-btn {
  background: transparent;
  border: 0;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-mid);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}
.price-card__expand-btn:hover { color: var(--blue-deep); }
.price-card--featured .price-card__expand-btn { color: var(--teal); }
.price-card--featured .price-card__expand-btn:hover { color: #fff; }
.price-card__expand-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}
.price-card__expand[data-open="true"] .price-card__expand-btn svg {
  transform: rotate(180deg);
}

.price-card__extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.4s ease;
}
.price-card__extra-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
}
.price-card--featured .price-card__extra-list { color: rgba(255, 255, 255, 0.72); }
.price-card__extra-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.price-card__extra-list li::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: rgba(139, 149, 161, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7.5l2.5 2.5 5.5-6' stroke='%238B95A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card--featured .price-card__extra-list li::before {
  background-color: rgba(53, 207, 183, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7.5l2.5 2.5 5.5-6' stroke='%2335CFB7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- CTA --- */
.price-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-top: var(--sp-3);
}
.price-card__cta:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
}
.price-card--featured .price-card__cta {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(39, 149, 216, 0.4);
}
.price-card--featured .price-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(39, 149, 216, 0.55);
}

/* --- Tooltip (conversa) --- */
.price-tooltip {
  position: relative;
  display: inline-flex;
  width: 15px; height: 15px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(139, 149, 161, 0.2);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  cursor: help;
}
.price-card--featured .price-tooltip {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}
.price-tooltip__bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 230px;
  background: var(--text-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.price-tooltip__bubble::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
}
.price-tooltip:hover .price-tooltip__bubble,
.price-tooltip:focus .price-tooltip__bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Elite banner --- */
.elite-banner {
  margin-top: var(--sp-7);
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-5);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(0, 14, 40, 0.15);
}
.elite-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(34, 67, 187, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(53, 207, 183, 0.22) 0%, transparent 50%);
  z-index: -1;
}
.elite-banner::after {
  /* faint grid pattern */
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 820px) {
  .elite-banner {
    grid-template-columns: 1fr;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-4);
  }
}

.elite-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-2);
}
.elite-banner__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.elite-banner__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--sp-2);
}

.elite-banner__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin-bottom: var(--sp-3);
}

.elite-banner__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.elite-banner__features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.elite-banner__features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background-color: rgba(53, 207, 183, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l2.8 2.8 6.2-7' stroke='%2335CFB7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.elite-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.elite-banner__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}
.elite-banner__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.elite-banner__cta:hover svg { transform: translateX(3px); }

.elite-banner__price {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--sp-2);
  text-align: right;
}
@media (max-width: 820px) {
  .elite-banner__price { text-align: left; }
}

/* --- Foot note --- */
.price-foot {
  margin-top: var(--sp-5);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.price-foot__line { display: block; }

/* (Social proof section removed — will return when real case studies exist) */

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open {
  border-color: rgba(39, 149, 216, 0.3);
  box-shadow: var(--shadow-md);
}
.faq-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.faq-toggle__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  transition: background 0.25s ease, transform 0.25s ease;
}
.faq-toggle__icon svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-toggle__icon {
  background: var(--brand-gradient);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.is-open .faq-answer { max-height: 600px; }
.faq-answer__inner {
  padding: 0 var(--sp-4) var(--sp-4);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 600px) {
  .faq-toggle { padding: var(--sp-3); font-size: 15.5px; }
  .faq-answer__inner { padding: 0 var(--sp-3) var(--sp-3); }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(39, 149, 216, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 100%, rgba(53, 207, 183, 0.18) 0%, transparent 50%);
  z-index: 0;
}
.cta-final::after {
  /* grid pattern */
  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: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-final .eyebrow {
  background: rgba(255, 165, 0, 0.10);
  border-color: rgba(255, 165, 0, 0.3);
  color: #FFB547;
}
.cta-final .eyebrow::before { background: #FFB547; box-shadow: 0 0 12px #FFB547; }

.cta-final__title {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  margin: var(--sp-3) 0 var(--sp-2);
  color: #fff;
  letter-spacing: -0.03em;
}
.cta-final__sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}
.cta-final__ctas {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin: var(--sp-5) 0 var(--sp-4);
  flex-wrap: wrap;
}
.cta-final__seals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-1) var(--sp-3);
  margin-top: var(--sp-1);
}
.cta-final__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.cta-final__seal > svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER (expanded)
   ============================================================ */
.footer {
  background: #00091a;
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-5);
}
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img { height: 32px; width: 91px; min-width: 91px; display: block; flex-shrink: 0; }
.footer__brand svg { height: 32px; width: auto; min-width: 91px; display: block; flex-shrink: 0; }
.footer__brand-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  max-width: 280px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.footer__col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer__col-list a:hover { color: #fff; }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer__lang {
  display: flex;
  gap: 16px;
}
.footer__lang button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.4);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}
.footer__lang button:hover { color: rgba(255, 255, 255, 0.7); }
.footer__lang button.is-active { color: var(--teal); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   MOBILE NAVIGATION — hamburger + drawer
   ============================================================ */

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 4px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0; right: 0;
  background: rgba(0, 14, 40, 0.97);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 8px 20px 28px;
  z-index: 998;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-menu__link:hover { color: #fff; }

.mobile-menu__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  gap: 16px;
}
.mobile-menu__login {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.mobile-menu__login:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header__actions .lang-toggle { display: none; }
  .header__login { display: none; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .header__hamburger { display: none !important; }
}

/* ============================================================
   CHAT WIDGET — ajuste mobile (fica no FINAL do arquivo p/ vencer
   a cascade das regras base de .chat-widget definidas acima)
   ============================================================ */
@media (max-width: 768px) {
  /* Chat visível no mobile, abaixo do hero (grid 1 coluna).
     A animação das bolhas (chat-widget.js) continua rodando normalmente. */
  .chat-widget {
    margin-top: var(--sp-6);
    padding: 18px;
    /* backdrop-filter re-amostra o fundo a cada frame de scroll = jank no mobile.
       Trocado por fundo mais opaco: visual quase idêntico, muito mais leve. */
    backdrop-filter: none;
    background: linear-gradient(180deg, rgba(22, 33, 52, 0.94) 0%, rgba(14, 22, 38, 0.94) 100%);
  }
  /* Glow rotativo do widget mantido (identidade visual), blur menor p/ GPU */
  .chat-widget::before {
    filter: blur(12px);
    opacity: 0.4;
  }
  .chat-body { min-height: 240px; }
}

.solution__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}

.solution__cta .btn {
  min-width: 220px;
  justify-content: center;
}
