/* EspecialistAI Marketing Site — tema claro */
:root {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0891b2;
  --accent-dim: #0e7490;
  --accent-glow: rgba(8, 145, 178, 0.12);
  --purple: #6366f1;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--accent-dim); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.logo:hover { color: var(--text); opacity: 1; }

.logo-mark {
  flex-shrink: 0;
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(90deg, #0f172a 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-ai {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.1vw, 18px);
  min-width: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.nav a.btn,
.nav .btn {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.nav a.btn:hover,
.nav .btn:hover {
  color: #fff;
  opacity: 0.95;
}

.nav a.btn-outline {
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.btn-outline {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dim);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }

.menu-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-dim);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat strong { display: block; font-size: 1.5rem; color: var(--accent-dim); }
.stat span { font-size: 0.85rem; color: var(--text-muted); }

/* Hero visual */
.hero-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.chat-demo { font-size: 0.85rem; }

.chat-msg {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 90%;
}

.chat-msg.user {
  background: var(--bg-elevated);
  margin-left: auto;
  border: 1px solid var(--border);
}

.chat-msg.bot {
  background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(99,102,241,0.06));
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.chat-msg .label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 4px; }

.chart-mini {
  margin-top: 12px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.chart-bar {
  flex: 1;
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

/* Sections */
section { padding: 88px 0; }

section:nth-child(even) {
  background: var(--bg-alt);
}

.section-block { max-width: 960px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.problem-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(8, 145, 178, 0.12);
  position: relative;
}
.problem-card .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}
.problem-card .icon--clock::before {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-dim);
  border-radius: 50%;
  box-sizing: border-box;
  background:
    linear-gradient(var(--accent-dim), var(--accent-dim)) center 3px / 2px 5px no-repeat,
    linear-gradient(var(--accent-dim), var(--accent-dim)) 9px 8px / 4px 2px no-repeat;
}
.problem-card .icon--warn::before {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid var(--accent-dim);
  top: 10px;
  bottom: auto;
}
.problem-card .icon--warn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background: var(--bg-card);
  border-radius: 1px;
  box-shadow: 0 5px 0 0.5px var(--bg-card);
}
.problem-card .icon--lock::before {
  width: 12px;
  height: 10px;
  border: 2px solid var(--accent-dim);
  border-radius: 2px;
  top: 16px;
  bottom: auto;
  box-sizing: border-box;
}
.problem-card .icon--lock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border: 2px solid var(--accent-dim);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
}
.problem-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.problem-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Flow */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flow-step {
  padding: 10px 18px;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dim);
  font-size: 1.2rem;
  min-width: 1.25rem;
  user-select: none;
}
.flow-arrow::before {
  content: ">";
  font-weight: 700;
  letter-spacing: -0.05em;
}

.flow-note {
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Product pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-dim);
  background: rgba(8, 145, 178, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}

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

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

.pillar-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.planos-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.planos-note a {
  color: var(--accent-dim);
  font-weight: 600;
}

/* Features (slides / legacy) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(8, 145, 178, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon {
  width: 44px; height: 44px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; }

/* Platform modules */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.platform-module:hover {
  border-color: rgba(8, 145, 178, 0.3);
}

.platform-module h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--accent-dim);
}

.platform-module p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Integration block */
.integration-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
}

.integration-desc {
  margin-bottom: 20px;
  text-align: left;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: none;
}

.integration-desc strong {
  color: var(--text);
}

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

.integration-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.integration-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-dim);
  font-weight: 700;
}

.integration-card {
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: var(--radius);
  padding: 28px;
}

.integration-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dim);
  margin-bottom: 16px;
}

.integration-card-q {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.integration-card-a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.integration-card-a strong {
  color: var(--accent-dim);
}

/* Product vision */
.vision-quote {
  margin: 0 0 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.08), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: normal;
}

.vision-compare-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
}

.vision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.vision-table th,
.vision-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.vision-table thead th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text);
}

.vision-table tbody th {
  background: rgba(8, 145, 178, 0.04);
  font-weight: 600;
  width: 22%;
  color: var(--text-muted);
}

.vision-agents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.vision-agent-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.vision-agent-card--ref {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.06), var(--bg-card));
}

.vision-agent-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 10px;
}

.vision-agent-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.vision-agent-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.vision-param-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.vision-param-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.vision-param-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-dim);
  font-weight: 700;
}

/* Use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.use-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.use-item .check { color: var(--accent-dim); font-weight: 700; flex-shrink: 0; }
.use-item p { font-size: 0.95rem; color: var(--text-muted); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px var(--accent-glow);
  position: relative;
}

.price-card.featured::before {
  content: 'Mais popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.price-card .price {
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0 4px;
}

.price-card .price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.price-card .desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; flex: 1; }

.price-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.price-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.price-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-dim);
  font-weight: 700;
}

.price-card .btn { width: 100%; justify-content: center; }

/* CTA */
.cta-block {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(99,102,241,0.06));
  border: 1px solid rgba(8, 145, 178, 0.15);
  border-radius: 16px;
}

.cta-block h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-block p { color: var(--text-muted); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Contact */
#contato {
  padding-bottom: 96px;
}

.contact-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.contact-panel-header .section-title {
  margin-bottom: 10px;
}

.contact-panel-header p:last-child {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card, #fff);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(8, 145, 178, 0.35);
  border-color: rgba(8, 145, 178, 0.55);
}

.contact-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-status--ok { color: #0f766e; }
.contact-status--err { color: #b91c1c; }

@media (max-width: 720px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.contact-card:hover {
  border-color: rgba(8, 145, 178, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--text);
}

.contact-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #0891b2);
  font-size: 1.5rem;
  line-height: 1;
}

.contact-card-icon--wa {
  color: #25d366;
}

.contact-card-icon svg {
  display: block;
}

.contact-card-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-card-value {
  font-size: 0.85rem;
  color: var(--text-muted);
  word-break: break-word;
}

.contact-section {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-desc { margin-bottom: 28px; }

.contact-channels {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-channel { min-width: 160px; justify-content: center; }

.contact-note {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 8px; }

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

.contact-form input,
.contact-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

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

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

.form-note { font-size: 0.8rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }

/* Slides page */
.slides-body {
  overflow: hidden;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.slide-deck { height: 100vh; position: relative; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.slide.active { opacity: 1; pointer-events: auto; }

.slide-num {
  position: absolute;
  top: 32px; right: 40px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slide h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.slide h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide .subtitle { font-size: 1.35rem; color: var(--text-muted); margin-bottom: 40px; }

.slide ul { list-style: none; max-width: 720px; }
.slide li {
  font-size: 1.15rem;
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
}

.slide li strong { color: var(--text); }
.slide li::before { content: ">"; position: absolute; left: 0; color: var(--accent-dim); font-weight: 700; }

.slide-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 16px;
}

.slide-table th,
.slide-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.slide-table th { color: var(--accent-dim); font-weight: 600; }
.slide-table td { color: var(--text-muted); }

.slide-table-wrap {
  width: 100%;
  max-width: 920px;
  overflow-x: auto;
  margin-top: 8px;
}

.slide-table--matrix {
  max-width: none;
  font-size: 0.88rem;
}

.slide-table--matrix th,
.slide-table--matrix td {
  padding: 10px 12px;
  vertical-align: middle;
}

.slide-table--matrix th:not(:first-child),
.slide-table--matrix td:not(:first-child) {
  text-align: center;
  color: var(--accent-dim);
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.slide-table--matrix td:first-child {
  min-width: 11rem;
  font-size: 0.84rem;
  line-height: 1.35;
}

.slide-table--matrix tr.matrix-row-highlight td {
  background: rgba(8, 145, 178, 0.1);
  border-bottom-color: rgba(8, 145, 178, 0.25);
}

.slide-table--matrix tr.matrix-row-highlight td:first-child {
  color: var(--text);
  font-weight: 600;
}

.slide-nav {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 50;
}

.slide-dots { display: flex; gap: 8px; align-items: center; }
.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
}

.slide-dot.active { background: var(--accent-dim); width: 24px; border-radius: 4px; }

.flow-inline {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--accent-dim);
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 20px 0;
  box-shadow: var(--shadow);
}

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

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-alt);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
    z-index: 99;
  }
  .nav.open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .nav.open .nav-links a {
    font-size: 0.9375rem;
    white-space: normal;
  }
  .nav.open .nav-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
  }
  .nav.open .btn { justify-content: center; }
  .menu-toggle { display: block; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .problem-grid, .features-grid, .pricing-grid, .platform-grid, .pillars-grid, .vision-agents { grid-template-columns: 1fr; }
  .vision-param-list { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .use-grid, .contact-grid, .integration-block { grid-template-columns: 1fr; }
  .integration-block { padding: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .section-block { max-width: none; }
}

/* Language switcher — compacto (idioma detectado + menu) */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher .lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-switcher .lang-trigger:hover {
  color: var(--text);
  border-color: #cbd5e1;
}

.lang-switcher.open .lang-trigger {
  color: var(--accent-dim, #0f766e);
  border-color: rgba(8, 145, 178, 0.35);
  background: var(--bg-alt, #fff);
}

.lang-switcher .lang-caret {
  font-size: 0.65rem;
  opacity: 0.7;
  line-height: 1;
}

.lang-switcher .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt, #fff);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.lang-switcher .lang-option {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--text);
}

.lang-switcher .lang-option:hover {
  background: rgba(15, 23, 42, 0.05);
}

.lang-switcher .lang-option.active {
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent-dim, #0f766e);
}

.lang-switcher .lang-option-code {
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 1.5rem;
}

.lang-switcher .lang-option-title {
  font-size: 0.8125rem;
  font-weight: 500;
}
