/* ==========================================================================
   VERTHEX — Data Intelligence
   Design system: dark degradê, azul/dourado, glassmorphism sutil
   ========================================================================== */

:root {
  /* Cores extraídas da identidade visual Verthex */
  --bg-0: #05070d;
  --bg-1: #070b16;
  --bg-2: #0b1330;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-blue: rgba(30, 140, 255, 0.35);

  --blue-100: #6cc0ff;
  --blue-400: #1e9bff;
  --blue-500: #0188fd;
  --blue-700: #0028a1;
  --blue-900: #001248;

  --gold: #f9c400;
  --gold-soft: #ffdb66;
  --gold-deep: #c98f00;

  --white: #f5f7fb;
  --gray-100: #c7cbdb;
  --gray-300: #9aa0b8;
  --gray-500: #6b7189;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(1, 136, 253, 0.25);

  --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container-w: 1180px;
}

/* ---------- RESET ---------- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.nav-lock { overflow: hidden; }
body {
  background:
    radial-gradient(60% 34% at 12% 4%, rgba(1,136,253,0.09), transparent 68%),
    radial-gradient(50% 35% at 95% 8%, rgba(249,196,0,0.08), transparent 65%),
    radial-gradient(55% 30% at 90% 38%, rgba(1,136,253,0.10), transparent 65%),
    radial-gradient(55% 30% at 5% 60%, rgba(249,196,0,0.06), transparent 65%),
    radial-gradient(60% 32% at 85% 82%, rgba(1,136,253,0.12), transparent 65%),
    radial-gradient(70% 35% at 20% 99%, rgba(249,196,0,0.08), transparent 65%),
    linear-gradient(180deg,
      var(--bg-1) 0%, var(--bg-0) 22%,
      var(--bg-1) 40%, var(--bg-0) 55%,
      var(--bg-1) 70%, var(--bg-0) 85%,
      var(--bg-1) 95%, var(--bg-0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

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

.text-gradient {
  background: linear-gradient(90deg, var(--blue-100), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  color: var(--bg-0);
  box-shadow: 0 12px 30px rgba(249, 196, 0, 0.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(249, 196, 0, 0.45); }

.btn--ghost {
  background: rgba(249, 196, 0, 0.06);
  border-color: rgba(249, 196, 0, 0.4);
  color: var(--gold-soft);
}
.btn--ghost:hover { background: rgba(249, 196, 0, 0.14); border-color: var(--gold); transform: translateY(-2px); }

.btn--whatsapp {
  background: linear-gradient(90deg, #1fbf5c, #14a34a);
  color: #fff;
  box-shadow: 0 12px 30px rgba(20, 163, 74, 0.35);
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(20, 163, 74, 0.5); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(3,4,9,0.75) 0%, rgba(3,4,9,0.55) 70%, rgba(3,4,9,0) 100%);
  transition: background 0.3s ease;
}
.header.scrolled {
  background: linear-gradient(180deg, rgba(3,4,9,0.92) 0%, rgba(3,4,9,0.8) 80%, rgba(3,4,9,0.55) 100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: -14px;
}
.header__logo-icon { height: 62px; width: auto; }
.header__logo-word { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-100);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-400), var(--gold));
  transition: width 0.25s ease;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 200px 0 140px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.blob--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--blue-500), transparent 70%);
  top: -180px; left: -120px;
}
.blob--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.16;
  top: 40px; right: -160px;
}
.hero__icon-watermark {
  position: absolute;
  right: -80px;
  top: 90px;
  width: 460px;
  opacity: 0.08;
  filter: blur(1px);
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--gray-100);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.icon--arrow { transition: transform .25s ease; }
.btn--primary:hover .icon--arrow { transform: translateX(3px); }

.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges span {
  font-size: 13px;
  color: var(--gray-300);
  border: 1px solid var(--border-soft);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; position: relative; }
.section__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 640px;
  margin-bottom: 18px;
}
.section__subtitle {
  color: var(--gray-100);
  font-size: 16.5px;
  max-width: 620px;
  margin-bottom: 56px;
}

/* ---------- CARDS ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-deep));
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(249, 196, 0, 0.3);
}
.card__icon svg { width: 24px; height: 24px; color: var(--bg-0); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray-300); font-size: 15px; }

/* ---------- RESULTADOS (stat cards) ---------- */
.cards-grid--results { margin-top: 44px; }
.card--stat { text-align: left; }
.card--stat__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(249, 196, 0, 0.1);
  border: 1px solid rgba(249, 196, 0, 0.25);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.card--stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.card--stat h3 { font-size: 17px; color: var(--white); }
.section-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

/* ---------- O PROBLEMA (banner com foto de fundo) ---------- */
.section--problem {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--problem__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.22;
  z-index: -2;
}
.section--problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.9) 0%, rgba(5,7,13,0.6) 25%, rgba(5,7,13,0.6) 75%, rgba(5,7,13,0.9) 100%),
    linear-gradient(90deg, rgba(5,7,13,0.85) 0%, transparent 30%, transparent 70%, rgba(5,7,13,0.85) 100%);
  z-index: -1;
}
.section--problem .section__title { max-width: 720px; }

/* ---------- DASHBOARD SECTION ---------- */
.section--dashboard { background: linear-gradient(180deg, transparent, rgba(1,40,161,0.08), transparent); }

.dashboard-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-blue);
  background: #0a0e1a;
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}
.dashboard-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-soft);
}
.dashboard-frame__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-100);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}
.dashboard-frame__expand {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(249, 196, 0, 0.4);
  transition: background .2s ease;
}
.dashboard-frame__expand svg { width: 15px; height: 15px; }
.dashboard-frame__expand:hover { background: rgba(249, 196, 0, 0.14); }

.dashboard-frame__body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  background: #060a14;
}
.dashboard-frame__body iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.dashboard-loader {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  color: var(--gray-300);
  font-size: 14px;
  background: #060a14;
  transition: opacity .4s ease, visibility .4s ease;
  z-index: 2;
}
.dashboard-loader.hidden { opacity: 0; visibility: hidden; }
.spinner {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(1,136,253,0.2);
  border-top-color: var(--blue-500);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dashboard-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ---------- TWO COLUMN (DIFERENCIAIS) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.check-list { margin: 28px 0 34px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--gray-100); font-size: 15.5px; }
.check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.two-col__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.visual-card {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  display: flex; align-items: center; justify-content: center;
  padding: 50px;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.visual-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--blue-400), transparent 40%, var(--gold) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .5;
}
.visual-card img { filter: drop-shadow(0 20px 40px rgba(1,136,253,0.35)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.visual-card--photo {
  max-width: 460px;
  aspect-ratio: 6 / 7;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}
.visual-card--photo::before { content: none; }
.visual-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  filter: none;
  animation: none;
  border-radius: var(--radius-lg);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 38%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 38%, black 100%);
}

/* ---------- VERTHEX.IA (chat mock) ---------- */
.section--ia {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--ia__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.22;
  z-index: -2;
}
.section--ia::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.92) 0%, rgba(5,7,13,0.65) 25%, rgba(5,7,13,0.65) 75%, rgba(5,7,13,0.92) 100%),
    linear-gradient(90deg, rgba(5,7,13,0.85) 0%, transparent 30%, transparent 70%, rgba(5,7,13,0.85) 100%);
  z-index: -1;
}
.two-col--reverse { grid-template-columns: 0.9fr 1.1fr; }
.ia-chat {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: #0a0e1a;
  border: 1px solid var(--border-blue);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ia-chat__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-100);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}
.ia-chat__title { flex: 1; }
.ia-chat__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
  flex-shrink: 0;
}
.ia-chat__reset {
  width: 28px; height: 28px;
  margin: -6px -6px -6px 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.ia-chat__reset[hidden] { display: none; }
.ia-chat__reset:hover { background: var(--bg-card-hover); color: var(--white); }
.ia-chat__reset svg { width: 16px; height: 16px; }
.ia-chat__body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 380px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.ia-chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex-shrink: 0;
}
.ia-chat-bubble a { color: var(--blue-100); text-decoration: underline; text-underline-offset: 2px; }
.ia-chat-bubble strong { color: var(--white); font-weight: 600; }
.ia-chat-bubble--bot.ia-chat-bubble--error { border-color: rgba(249, 196, 0, 0.35); }
.ia-chat-bubble--typing {
  display: flex;
  gap: 5px;
  padding: 14px 16px;
}
.ia-chat-bubble--typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
  animation: ia-typing 1.2s ease-in-out infinite;
}
.ia-chat-bubble--typing span:nth-child(2) { animation-delay: .15s; }
.ia-chat-bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ia-typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
/* Formulário de contato dentro da conversa */
.ia-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(1,136,253,0.06);
  border: 1px solid var(--border-blue);
  flex-shrink: 0;
}
.ia-form__title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.ia-form__field {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font: inherit;
  font-size: 13.5px;
  outline: none;
  resize: none;
  transition: border-color .2s ease;
}
.ia-form__field::placeholder { color: var(--gray-500); }
.ia-form__field:focus { border-color: var(--blue-400); }
.ia-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--gray-300);
  cursor: pointer;
}
.ia-form__consent input { margin-top: 2px; accent-color: var(--blue-500); flex-shrink: 0; }
.ia-form__error {
  font-size: 12.5px;
  color: var(--gold-soft);
}
.ia-form__error[hidden] { display: none; }
.ia-form__actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.ia-form__submit {
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-deep));
  color: var(--bg-0);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}
.ia-form__submit:hover:not(:disabled) { transform: translateY(-1px); }
.ia-form__submit:disabled { opacity: .55; cursor: default; }
.ia-form__cancel {
  border: none;
  background: none;
  color: var(--gray-300);
  font-size: 13px;
  text-decoration: underline;
}
.ia-form__cancel:hover { color: var(--white); }

.ia-chat__suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.ia-chat__suggestions[hidden] { display: none; }
.ia-chat__chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-blue);
  background: rgba(1,136,253,0.08);
  color: var(--blue-100);
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease;
}
.ia-chat__chip:hover { background: rgba(1,136,253,0.18); border-color: var(--blue-400); }
.ia-chat-bubble--bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--gray-100);
  border-bottom-left-radius: 4px;
}
.ia-chat-bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ia-chat__form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0 18px 18px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  transition: border-color .2s ease;
}
.ia-chat__form:focus-within { border-color: var(--border-blue); }
.ia-chat__input {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  resize: none;
  max-height: 96px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.ia-chat__input::placeholder { color: var(--gray-500); }
.ia-chat__send {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-deep));
  color: var(--bg-0);
  transition: transform .2s ease, opacity .2s ease;
}
.ia-chat__send:hover:not(:disabled) { transform: scale(1.06); }
.ia-chat__send:disabled { opacity: .45; cursor: default; }
.ia-chat__send svg { width: 15px; height: 15px; }
.ia-chat__caption {
  max-width: 420px;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-500);
  text-align: center;
}
.ia-chat__caption a { color: var(--gray-300); text-decoration: underline; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  border-left: 2px solid var(--border-soft);
  padding-left: 20px;
  transition: border-color .3s ease;
}
.step:hover { border-left-color: var(--blue-400); }
.step__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--gray-300); font-size: 14.5px; }

/* ---------- CTA FINAL ---------- */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  background: radial-gradient(60% 100% at 50% 100%, rgba(1,136,253,0.14), transparent 70%);
}
.cta__inner { max-width: 620px; margin: 0 auto; }
.cta__icon { width: 108px; margin: 0 auto 28px; opacity: .95; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cta p { color: var(--gray-100); font-size: 16.5px; margin-bottom: 36px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border-soft); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__logo-icon { height: 40px; width: auto; }
.footer__logo-word { height: 23px; width: auto; }
.footer__brand p { color: var(--gray-300); font-size: 14px; max-width: 280px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a, .footer__contact a {
  color: var(--gray-100);
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer__contact a { display: flex; align-items: center; gap: 10px; }
.footer__contact-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-100); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--blue-100); }
.footer__bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 13px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform .25s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; position: relative; z-index: 1; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: rgba(255,255,255,0.12); }
.back-to-top svg { width: 18px; height: 18px; color: #fff; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col__visual { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn--sm { display: none; }
  .header__logo { margin-left: -6px; gap: 8px; }
  .header__logo-icon { height: 48px; }
  .header__logo-word { height: 28px; }

  .nav.mobile-open {
    display: flex;
    position: fixed;
    top: 84px; left: 0; right: 0;
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-0);
    padding: 40px 24px;
    gap: 8px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav.mobile-open .nav__link {
    width: 100%;
    padding: 16px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--border-soft);
  }

  .hero { padding: 150px 0 90px; }
  .section { padding: 80px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }

  .ia-chat__body { height: 340px; padding: 16px 14px; }
  .ia-chat__form { margin: 0 12px 12px; }
  .ia-chat__input { font-size: 16px; } /* evita zoom automático no iOS */

  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .back-to-top { right: 16px; bottom: 82px; width: 40px; height: 40px; }
}
