/* ==========================================================================
   MEDMONEY IA — style-ia.css
   Design próprio: dark + glass + tipografia agressiva
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* scroll suave feito via JS com easing */
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   2. VARIÁVEIS
   -------------------------------------------------------------------------- */
:root {
  --blue: #02adfa;
  --blue-dim: rgba(2, 173, 250, 0.12);
  --yellow: #fee301;
  --green: #22c55e;
  --text: #e8ddd8;
  --muted: #a8968f;
  --bg: #342e2e;
  --bg-2: #2c2828;
  --bg-card: rgba(44, 38, 36, 0.88);
  --border: rgba(255,255,255,0.08);
  --border-blue: rgba(2, 173, 250, 0.22);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-blue: 0 0 40px rgba(2, 173, 250, 0.15);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --container: 1440px;
  --t: 0.25s ease;
  --text-strong: #f0e8e4;
  --btn-dark-text: #0a0c10;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.ia-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.ia-section {
  padding: 96px 0;
}

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

/* --------------------------------------------------------------------------
   4. TIPOGRAFIA
   -------------------------------------------------------------------------- */
.ia-section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 16px;
}

.ia-gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #80d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ia-accent {
  color: var(--blue);
}

.ia-overline {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}

.ia-overline-light {
  color: rgba(255,255,255,0.45);
}

.ia-section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.65;
}

.ia-section-head {
  margin-bottom: 52px;
}

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.ia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.ia-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.ia-btn:hover::after { transform: translateX(100%); }
.ia-btn:hover { transform: translateY(-2px); }
.ia-btn:active { transform: translateY(0); }

.ia-btn-primary {
  background: var(--yellow);
  color: var(--btn-dark-text);
  box-shadow: 0 6px 24px rgba(254,227,1,0.3);
}
.ia-btn-primary:hover {
  box-shadow: 0 10px 36px rgba(254,227,1,0.42);
}

.ia-btn-ghost {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--border);
}
.ia-btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.ia-btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--border-blue);
}
.ia-btn-outline:hover {
  background: var(--blue-dim);
}

.ia-btn-cta {
  background: var(--yellow);
  color: var(--btn-dark-text);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(254,227,1,0.25);
}

.ia-btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.ia-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(52, 46, 46, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
}

.ia-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  background: rgba(52, 46, 46, 0.98);
}

.ia-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  justify-content: space-between;
}

.ia-logo { height: 32px; width: auto; object-fit: contain; }
.ia-logo-sm { height: 24px; }

.ia-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ia-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t);
  position: relative;
  padding-bottom: 2px;
}

.ia-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--blue);
  transition: width 0.3s ease;
}

.ia-nav-links a:hover { color: var(--text-strong); }
.ia-nav-links a:hover::after { width: 100%; }

.ia-nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger */
.ia-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.ia-hamburger:hover { background: var(--border); }

.ia-hamburger span {
  display: block;
  height: 1.5px;
  background: #e8ddd8;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ia-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ia-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ia-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav mobile */
.ia-nav-mobile {
  display: none;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
  animation: slideDown 0.25s ease;
}

.ia-nav-mobile.open { display: block; }

.ia-nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ia-nav-mobile nav a {
  padding: 12px 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}

.ia-nav-mobile nav a:last-child {
  border-bottom: none;
  margin-top: 12px;
  padding: 0;
}

.ia-nav-mobile nav a:not(:last-child):hover { color: var(--blue); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.ia-hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  background: var(--bg);
}

.ia-hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2,173,250,0.1) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlowPulse 8s ease-in-out infinite;
}

.ia-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

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

/* Badge */
.ia-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-blue);
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.ia-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* Hero text */
.ia-hero-title {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  margin-bottom: 18px;
}

.ia-hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

/* Stats */
.ia-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.ia-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 28px;
}

.ia-stat strong {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}

.ia-stat span {
  font-size: 13px;
  color: var(--muted);
}

.ia-stat-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
  margin-right: 28px;
  flex-shrink: 0;
}

/* Hero visual */
.ia-hero-visual {
  position: relative;
}

/* Dashboard card */
.ia-dash-card {
  background: rgba(38, 33, 33, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow), var(--shadow-blue);
  /* float é feito via wrapper para não conflitar com parallax do JS */
}

.ia-dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.ia-dash-header span {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}

.ia-dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ia-dash-dot.blue { background: var(--blue); }
.ia-dash-dot.yellow { background: var(--yellow); }
.ia-dash-dot.red { background: #f87171; }

.ia-dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.ia-dash-metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px;
}

.ia-dash-metric span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.ia-dash-metric strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.ia-up {
  display: block;
  font-size: 10px;
  color: var(--green);
  margin-top: 4px;
  font-style: normal;
}

.ia-neutral {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  font-style: normal;
}

/* Chart */
.ia-chart-wrap {
  height: 90px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.ia-chart-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Chart line draw */
.ia-chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.8s ease;
}

.ia-chart-area {
  opacity: 0;
  transition: opacity 1.2s ease 0.4s;
}

.chart-animated .ia-chart-line,
.chart-animated .chart-main-line {
  stroke-dashoffset: 0;
}

.chart-animated .ia-chart-area {
  opacity: 1;
}

/* Tags */
.ia-dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ia-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.ia-tag.green { color: var(--green); border-color: rgba(34,197,94,0.25); background: rgba(34,197,94,0.08); }
.ia-tag.blue { color: var(--blue); border-color: var(--border-blue); background: var(--blue-dim); }
.ia-tag.yellow { color: #facc15; border-color: rgba(250,204,21,0.25); background: rgba(250,204,21,0.08); }

/* Float wrapper */
.ia-float-wrapper {}

/* Side card */
.ia-side-card {
  position: absolute;
  bottom: -16px;
  left: -32px;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.ia-side-card strong { color: var(--text-strong); }

/* --------------------------------------------------------------------------
   8. PROBLEMAS
   -------------------------------------------------------------------------- */
.ia-problems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ia-problem-card {
  background: rgba(38, 33, 33, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(10px);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.ia-problem-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}

.ia-problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
  transition: background var(--t), transform var(--t);
}

.ia-problem-card:hover .ia-problem-icon {
  background: var(--blue);
  color: var(--btn-dark-text);
  transform: scale(1.08);
}

.ia-problem-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 8px;
  line-height: 1.25;
}

.ia-problem-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. SOLUÇÃO
   -------------------------------------------------------------------------- */
.ia-solution-header {
  text-align: center;
  margin: 0 auto 52px;
}

.ia-solution-header .ia-section-sub {
  margin: 0 auto;
}

.ia-solution {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.ia-solution-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ia-solution-copy .ia-feature-list {
  margin-bottom: 32px;
}

/* Dashboard estilizado */
.ia-solution-dash {
  background: rgba(22, 18, 18, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 90px 1fr;
  min-height: 320px;
}

.ia-sol-sidebar {
  background: rgba(52, 46, 46, 0.98);
  border-right: 1px solid var(--border);
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ia-sol-brand {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.ia-sol-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.ia-sol-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ia-sol-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t), color var(--t);
}

.ia-sol-nav a.active {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid var(--border-blue);
}

.ia-sol-nav a:not(.active):hover {
  background: rgba(255,255,255,0.04);
}

.ia-sol-main {
  padding: 20px;
}

.ia-sol-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.ia-sol-metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.ia-sol-metric span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}

.ia-sol-metric strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.ia-sol-chart {
  height: 120px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ia-sol-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Feature list */
.ia-feature-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.ia-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ia-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 8px rgba(2,173,250,0.5);
}

.ia-feature-list strong {
  display: block;
  font-size: 15px;
  color: var(--text-strong);
  margin-bottom: 3px;
}

.ia-feature-list p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. MÉTODO
   -------------------------------------------------------------------------- */
/* Timeline wrapper */
.ia-timeline {
  position: relative;
  padding-top: 8px;
}

.ia-timeline-track {
  position: absolute;
  top: 34px; /* centro vertical do círculo */
  left: calc(100% / 12); /* alinha ao centro do primeiro step */
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border-blue) 8%,
    var(--blue) 30%,
    var(--blue) 70%,
    var(--border-blue) 92%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(2, 173, 250, 0.25);
  z-index: 0;
}

.ia-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ia-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px 24px;
  gap: 0;
  cursor: default;
}

.ia-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border-blue);
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 16px rgba(2, 173, 250, 0.18);
  transition: box-shadow var(--t), border-color var(--t), background var(--t), color var(--t);
}

.ia-step:hover .ia-step-num {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 28px rgba(2, 173, 250, 0.45);
}

.ia-step-body {
  padding: 0 4px;
}

.ia-step-body h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color var(--t);
}

.ia-step:hover .ia-step-body h3 {
  color: var(--blue);
}

.ia-step-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.ia-fast { color: #f87171; font-style: italic; font-weight: 900; }
.ia-money-word { color: var(--text-strong); font-weight: 900; }

/* --------------------------------------------------------------------------
   HUB DE BENEFÍCIOS
   -------------------------------------------------------------------------- */
.ia-hub-head {
  text-align: center;
  margin-bottom: 48px;
}

.ia-hub-head .ia-section-sub {
  margin: 0 auto;
}

/* Wrap externo — overflow oculto com padding para o glow não cortar */
.ia-hub-wrap {
  position: relative;
  padding: 0 0 48px; /* espaço para dots */
}

/* Slider */
.ia-hub-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 2px 12px;
  cursor: grab;
}

.ia-hub-slider:active { cursor: grabbing; }
.ia-hub-slider::-webkit-scrollbar { display: none; }

/* Card */
.ia-hub-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 260px;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ia-hub-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: 0 20px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(2,173,250,0.12);
}

/* Área da imagem — logo contida com padding, fundo escuro */
.ia-hub-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #1a1618 0%, #231e1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.ia-hub-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(2,173,250,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.ia-hub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  position: relative;
  z-index: 1;
}

.ia-hub-card:hover .ia-hub-img img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* Rodapé do card */
.ia-hub-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  margin-top: auto;
}

.ia-hub-meta {
  flex: 1 1 100%;
}

.ia-hub-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.ia-hub-meta p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.ia-hub-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}

.ia-hub-footer a {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  flex: 1;
  transition: color var(--t);
}

.ia-hub-footer a:hover { color: #fff; }

.ia-hub-arrow {
  font-size: 15px;
  color: var(--blue);
  opacity: 0.6;
  transition: opacity var(--t), transform var(--t);
}

.ia-hub-card:hover .ia-hub-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Controles — dots e setas */
.ia-hub-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ia-hub-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ia-hub-dot-item {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.ia-hub-dot-item.active {
  width: 22px;
  background: var(--blue);
}

.ia-hub-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), color var(--t), background var(--t);
}

.ia-hub-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.ia-hub-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Tema claro — card mantém visual escuro (logos ficam melhor) */
body.ia-light .ia-hub-card {
  background: rgba(26, 22, 22, 0.92);
  border-color: rgba(255,255,255,0.10);
}

body.ia-light .ia-hub-footer {
  border-top-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

body.ia-light .ia-hub-meta p {
  color: rgba(255,255,255,0.78);
}

body.ia-light .ia-hub-btn {
  border-color: rgba(0,0,0,0.15);
  color: #352F2F;
}

@media (max-width: 991px) {
  .ia-hub-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 600px) {
  .ia-hub-card { flex: 0 0 82%; }
}

/* --------------------------------------------------------------------------
   11. RESULTADOS
   -------------------------------------------------------------------------- */
.ia-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ia-checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
}

.ia-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #d8ccc8;
}

.ia-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Testimonials */
.ia-tcard {
  background: rgba(38, 33, 33, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  transition: border-color var(--t), transform var(--t);
}

.ia-tcard:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}

.ia-tcard p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.ia-tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ia-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-blue);
}

.ia-tcard-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-strong);
}

.ia-tcard-author span {
  font-size: 12px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. PLANOS
   -------------------------------------------------------------------------- */
.ia-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ia-plan {
  background: rgba(38, 33, 33, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}

.ia-plan .ia-btn {
  margin-top: auto;
}

.ia-plan:hover {
  transform: translateY(-4px);
}

.ia-plan-highlight {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-blue);
}

.ia-plan-highlight:hover {
  box-shadow: 0 0 60px rgba(2,173,250,0.25);
}

.ia-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--btn-dark-text);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.ia-plan-tag {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.ia-plan-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.ia-plan-features {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
  align-content: start;
}

.ia-plan-features li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ia-plan-features li:last-child {
  border-bottom: none;
}

.ia-feat-yes { color: #d8ccc8; }
.ia-feat-yes::before { content: "✓"; color: var(--green); font-weight: 800; }

.ia-feat-partial { color: var(--muted); }
.ia-feat-partial::before { content: "–"; color: #f59e0b; font-weight: 800; }

.ia-feat-no { color: #5a4f4f; }
.ia-feat-no::before { content: "×"; color: #5a4f4f; font-weight: 800; }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.ia-faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.ia-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.ia-faq {
  background: rgba(38, 33, 33, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t);
}

.ia-faq[open] {
  border-color: var(--border-blue);
}

.ia-faq summary {
  list-style: none;
  padding: 18px 50px 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #d8ccc8;
  cursor: pointer;
  position: relative;
  transition: color var(--t);
}

.ia-faq summary::-webkit-details-marker { display: none; }

.ia-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ia-faq[open] summary {
  color: var(--blue);
}

.ia-faq[open] summary::after {
  content: "–";
}

.ia-faq-answer {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA box */
.ia-cta-box {
  background: rgba(2,173,250,0.08);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.ia-cta-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(2,173,250,0.2), transparent 65%);
  pointer-events: none;
}

.ia-cta-box h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.ia-cta-box p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ia-cta-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.ia-footer {
  padding: 32px 0 28px;
  border-top: 1px solid var(--border);
}

.ia-footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 24px;
  justify-content: space-between;
}

.ia-footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ia-footer-nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.ia-footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

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

.ia-footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

/* Social links */
.ia-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ia-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  color: #8a7b76;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ia-social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(2,173,250,0.08);
}

/* Faixa de informações de contato */
.ia-footer-middle {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.ia-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a7b76;
}

.ia-footer-info svg {
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0.7;
}

.ia-index-logo {
  width: 79px;
  height: 14px;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.ia-index-logo:hover {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .ia-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ia-footer-nav {
    gap: 16px;
  }

  .ia-footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .ia-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   15. ANIMAÇÕES
   -------------------------------------------------------------------------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.08); }
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   16. RESPONSIVIDADE
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .ia-hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .ia-hero-title { font-size: clamp(42px, 5.5vw, 68px); }

  .ia-hero-visual {
    max-width: 600px;
  }

  .ia-solution {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ia-results {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ia-faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ia-cta-box {
    position: static;
  }

  .ia-problems {
    grid-template-columns: repeat(2, 1fr);
  }

  .ia-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .ia-timeline-track {
    display: none;
  }
}

@media (max-width: 991px) {
  .ia-plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .ia-nav-links,
  .ia-btn-cta {
    display: none;
  }

  .ia-hamburger {
    display: flex;
  }

  /* No mobile o wrapper some, toggle fica sozinho ao lado do hamburger */
  .ia-nav-end {
    margin-left: auto;
  }

  .ia-nav-end .ia-btn-cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .ia-container {
    width: min(var(--container), calc(100% - 24px));
  }

  .ia-section { padding: 64px 0; }

  .ia-hero { padding: 56px 0 72px; }

  .ia-hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .ia-stat-sep { display: none; }

  .ia-stat { padding-right: 0; }

  .ia-problems {
    grid-template-columns: 1fr;
  }

  .ia-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ia-dash-metrics {
    grid-template-columns: 1fr;
  }

  .ia-sol-metrics {
    grid-template-columns: 1fr;
  }

  .ia-side-card {
    position: static;
    margin-top: 14px;
    animation: none;
  }

  .ia-section-title { font-size: clamp(28px, 7vw, 40px); }
}

@media (max-width: 479px) {
  .ia-hero-title { font-size: 36px; }
  .ia-hero-actions { flex-direction: column; }
  .ia-btn { width: 100%; }

  .ia-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   LARGE DESKTOP — 1440px+  (otimizado para 1920px)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .ia-section { padding: 120px 0; }

  .ia-hero { padding: 100px 0 128px; }
  .ia-hero-inner { gap: 80px; }
  .ia-hero-title { font-size: clamp(72px, 4.6vw, 92px); }
  .ia-hero-desc {
    font-size: 19px;
    max-width: 540px;
  }
  .ia-hero-glow {
    width: 900px;
    height: 900px;
  }

  .ia-section-title { font-size: clamp(52px, 3.2vw, 64px); }
  .ia-section-sub {
    font-size: 18px;
    max-width: 620px;
  }
  .ia-section-head { margin-bottom: 68px; }

  .ia-stat strong { font-size: clamp(28px, 2.2vw, 38px); }

  .ia-dash-card { padding: 28px; }
  .ia-solution-dash { border-radius: var(--radius-lg); }

  .ia-step-num {
    width: 62px;
    height: 62px;
    font-size: 20px;
  }

  .ia-timeline-track { top: 39px; }

  .ia-step-body h3 { font-size: 15px; }
  .ia-step-body p  { font-size: 13px; }

  .ia-plans { gap: 24px; }
  .ia-plan { padding: 36px 32px; }

  .ia-cta-box { padding: 48px 40px; }
}

/* ==========================================================================
   TEMA CLARO — body.ia-light
   Header e footer permanecem escuros em ambos os temas.
   ========================================================================== */
body.ia-light {
  --bg:          #F6F2EF;
  --bg-2:        #EDE8E3;
  --bg-card:     rgba(255, 255, 255, 0.94);
  --text:        #352F2F;
  --text-strong: #1A1414;
  --muted:       #857570;
  --border:      rgba(0, 0, 0, 0.10);
  --border-blue: rgba(2, 173, 250, 0.30);
  --shadow:      0 20px 60px rgba(0, 0, 0, 0.10);
  --shadow-blue: 0 0 40px rgba(2, 173, 250, 0.10);

  background: var(--bg);
  color: var(--text);
}

/* Header e footer: sempre escuros */
body.ia-light .ia-header,
body.ia-light .ia-header.scrolled {
  background: #342e2e;
  border-bottom-color: rgba(255,255,255,0.08);
}

body.ia-light .ia-footer {
  background: #2c2828;
  border-top-color: rgba(255,255,255,0.08);
}

body.ia-light .ia-footer-nav a,
body.ia-light .ia-footer-bottom p {
  color: #8a7b76;
}

body.ia-light .ia-footer-nav a:hover {
  color: #e8ddd8;
}

/* Nav mobile: fundo mais claro */
body.ia-light .ia-nav-mobile {
  background: #3d3737;
  border-top-color: rgba(255,255,255,0.08);
}

/* Seção alternada */
body.ia-light .ia-section-alt {
  background: var(--bg-2);
}

/* Hero */
body.ia-light .ia-hero {
  background: var(--bg);
}

body.ia-light .ia-hero-glow {
  opacity: 0.3;
}

body.ia-light .ia-hero-grid-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* Dashboard card (hero) */
body.ia-light .ia-dash-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

body.ia-light .ia-dash-header span { color: #6E6360; }

body.ia-light .ia-dash-metric span { color: #6E6360; }
body.ia-light .ia-dash-metric strong { color: #1A1414; }

body.ia-light .ia-tag.green  { background: #dcfce7; color: #166534; border-color: transparent; }
body.ia-light .ia-tag.blue   { background: #dbeafe; color: #1e40af; border-color: transparent; }
body.ia-light .ia-tag.yellow { background: #fef9c3; color: #854d0e; border-color: transparent; }

/* Cards de problema */
body.ia-light .ia-problem-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Dashboard da solução */
body.ia-light .ia-solution-dash {
  background: rgba(255,255,255,0.90);
  border-color: rgba(0,0,0,0.10);
}

body.ia-light .ia-sol-sidebar {
  background: #EDE8E3;
  border-right-color: rgba(0,0,0,0.10);
}

body.ia-light .ia-sol-main { background: #fff; }

body.ia-light .ia-sol-metric {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}

body.ia-light .ia-sol-metric span { color: #6E6360; }
body.ia-light .ia-sol-metric strong { color: #1A1414; }

/* Steps */
body.ia-light .ia-step-num {
  background: var(--bg-2);
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 16px rgba(2, 173, 250, 0.15);
}

/* Testimoniais */
body.ia-light .ia-tcard {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}

body.ia-light .ia-tcard p { color: #352F2F; }

/* Planos */
body.ia-light .ia-plan {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}

body.ia-light .ia-plan-highlight {
  border-color: var(--blue);
}

/* CTA box — mantém escuro */
body.ia-light .ia-cta-box {
  background: #2c2828;
  border-color: rgba(255,255,255,0.10);
}

body.ia-light .ia-cta-box h3,
body.ia-light .ia-cta-box p { color: #e8ddd8; }

/* FAQ */
body.ia-light .ia-faq {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}

body.ia-light .ia-faq summary { color: #1A1414; }

body.ia-light .ia-faq-answer { color: #6E6360; }

/* Botão toggle */
.ia-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
  flex-shrink: 0;
}

.ia-theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.ia-icon-sun  { display: none; }
.ia-icon-moon { display: block; }

body.ia-light .ia-icon-sun  { display: block; }
body.ia-light .ia-icon-moon { display: none; }

/* ==========================================================================
   BLOG — Listagem e Interna
   ========================================================================== */

/* ── Blog Hero ── */
.ia-blog-hero {
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ia-blog-hero + .ia-section {
  padding-top: 48px;
}

.ia-blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--blue-dim) 0%, transparent 70%);
  pointer-events: none;
}

.ia-blog-hero .ia-overline { margin-bottom: 16px; }

.ia-blog-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-strong);
  margin-bottom: 16px;
}

.ia-blog-hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.ia-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  position: relative;
}

.ia-blog-cat-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
  font-family: inherit;
}

.ia-blog-cat-pill:hover,
.ia-blog-cat-pill.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

/* ── Featured Post ── */
.ia-blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 360px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: box-shadow var(--t);
  text-decoration: none;
}

.ia-blog-featured:hover { box-shadow: 0 24px 64px rgba(0,0,0,0.55); }

.ia-blog-featured-img { overflow: hidden; }

.ia-blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ia-blog-featured:hover .ia-blog-featured-img img { transform: scale(1.04); }

.ia-blog-featured-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.ia-blog-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.ia-blog-featured-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.ia-blog-featured-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-strong);
  margin: 0;
}

.ia-blog-featured-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.ia-blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  flex-wrap: wrap;
}

.ia-blog-featured-meta img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Blog Grid ── */
.ia-blog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.ia-blog-section-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-strong);
}

.ia-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Paginação ── */
.ia-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.ia-page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
  font-family: inherit;
}

.ia-page-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.ia-page-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.ia-page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ia-page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
  font-family: inherit;
}

.ia-page-num:hover {
  border-color: var(--border);
  color: var(--fg);
}

.ia-page-num.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.ia-blog-card[hidden] { display: none; }

.ia-blog-card.ia-hidden { display: none; }

.ia-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  text-decoration: none;
  transition: box-shadow var(--t), transform var(--t);
}

.ia-blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.ia-blog-card-img {
  height: 195px;
  overflow: hidden;
}

.ia-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ia-blog-card:hover .ia-blog-card-img img { transform: scale(1.06); }

.ia-blog-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.ia-blog-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
}

.ia-blog-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-strong);
  margin: 0;
}

.ia-blog-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ia-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.ia-blog-meta img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.ia-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
  flex-shrink: 0;
}

.ia-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 4px;
  transition: gap var(--t);
}

.ia-blog-card:hover .ia-blog-read-more { gap: 10px; }

/* ── CTA Strip ── */
.ia-cta-strip {
  background: var(--blue);
  padding: 72px 0;
  text-align: center;
}

.ia-cta-strip h2 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.ia-cta-strip p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ia-cta-strip .ia-btn-primary {
  background: #fff;
  color: var(--blue);
  border-color: transparent;
}

.ia-cta-strip .ia-btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ── Article Hero ── */
.ia-article-hero {
  padding: 56px 0 52px;
  position: relative;
}

.ia-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, var(--blue-dim) 0%, transparent 70%);
  pointer-events: none;
}

.ia-article-hero .ia-container { position: relative; }

.ia-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.ia-breadcrumb a {
  color: var(--muted);
  transition: color var(--t);
}

.ia-breadcrumb a:hover { color: var(--blue); }

.ia-breadcrumb svg { opacity: 0.5; }

.ia-article-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-strong);
  max-width: 800px;
  margin: 12px 0 18px;
}

.ia-article-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 28px;
}

.ia-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.ia-article-meta img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.ia-article-meta strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Article Cover ── */
.ia-article-cover-wrap { overflow: hidden; }

.ia-article-cover-wrap img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* ── Article Layout ── */
.ia-article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 52px;
  align-items: start;
}

/* ── Article Body ── */
.ia-article-body { min-width: 0; }

.ia-article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 44px 0 14px;
  line-height: 1.3;
}

.ia-article-body h2:first-child { margin-top: 0; }

.ia-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 28px 0 10px;
}

.ia-article-body p {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--text);
  margin-bottom: 18px;
}

.ia-article-body ul,
.ia-article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.ia-article-body li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 7px;
}

.ia-article-body ul li { list-style: disc; }
.ia-article-body ol li { list-style: decimal; }

.ia-article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

.ia-callout {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--blue);
  background: var(--blue-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ia-callout-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Sidebar ── */
.ia-article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ia-sidebar-cta {
  background: linear-gradient(135deg, rgba(30,20,20,0.97) 0%, rgba(10,8,8,0.99) 100%);
  border: 1px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.ia-sidebar-cta h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 10px;
  line-height: 1.35;
}

.ia-sidebar-cta p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ia-sidebar-cta .ia-btn {
  width: 100%;
  justify-content: center;
}

.ia-sidebar-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.ia-sidebar-toc-title,
.ia-sidebar-related-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}

.ia-sidebar-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: toc-c;
}

.ia-sidebar-toc li {
  counter-increment: toc-c;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ia-sidebar-toc li::before {
  content: counter(toc-c, decimal-leading-zero);
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.ia-sidebar-toc a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  transition: color var(--t);
}

.ia-sidebar-toc a:hover { color: var(--blue); }

.ia-sidebar-related {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.ia-sidebar-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.ia-sidebar-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ia-sidebar-post:first-of-type { padding-top: 0; }

.ia-sidebar-post-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.ia-sidebar-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ia-sidebar-post-body p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--t);
}

.ia-sidebar-post:hover .ia-sidebar-post-body p { color: var(--blue); }

.ia-sidebar-post-body span {
  font-size: 11px;
  color: var(--muted);
}

/* ── Author ── */
.ia-author-section { padding: 40px 0 20px; }

.ia-author-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.ia-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border);
}

.ia-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 2px;
}

.ia-author-role {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.ia-author-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Light theme overrides for blog ── */
body.ia-light .ia-blog-hero::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(2,173,250,0.07) 0%, transparent 70%);
}

body.ia-light .ia-article-hero::before {
  background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(2,173,250,0.06) 0%, transparent 70%);
}

body.ia-light .ia-sidebar-cta {
  background: linear-gradient(135deg, #e8f4fb 0%, #dbeef8 100%);
}

body.ia-light .ia-sidebar-cta h3 { color: #1A1414; }
body.ia-light .ia-sidebar-cta p  { color: #6E6360; }

body.ia-light .ia-blog-cat-pill { border-color: rgba(0,0,0,0.12); }

/* ── Responsive ── */
@media (max-width: 1199px) {
  .ia-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .ia-article-layout { grid-template-columns: 1.6fr 1fr; gap: 36px; }
}

@media (max-width: 991px) {
  .ia-article-layout { grid-template-columns: 1fr; }
  .ia-article-sidebar { position: static; }
  .ia-blog-featured { grid-template-columns: 1fr; min-height: auto; }
  .ia-blog-featured-img { height: 240px; }
  .ia-blog-featured-body { padding: 28px 28px 32px; }
}

@media (max-width: 767px) {
  .ia-blog-hero { padding: 56px 0 44px; }
  .ia-blog-grid { grid-template-columns: 1fr; }
  .ia-author-card { flex-direction: column; text-align: center; }
  .ia-cta-strip { padding: 52px 0; }
  .ia-article-title { font-size: clamp(24px, 6vw, 36px); }
  .ia-article-body h2 { font-size: 20px; }
}
