/* SEO + GEO refined section */
.seo-v2 { position: relative; overflow: hidden; }
.seo-v2-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,70,189,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,70,189,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}
.seo-v2 .container { position: relative; z-index: 1; }
.seo-v2-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.seo-v2-left { position: sticky; top: 96px; }

/* knowledge card — DARK terminal-style: a "mente da IA" */
.seo-v2-knowledge {
  margin-top: 36px;
  background: linear-gradient(180deg, #0E1B36 0%, #0A152B 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px 22px 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* sombra premium navy difusa + glow cyan distante */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 12px 32px -12px rgba(8, 21, 63, 0.22),
    0 40px 100px -30px rgba(8, 21, 63, 0.28),
    0 60px 140px -40px rgba(0, 184, 255, 0.18);
  transition: box-shadow 260ms var(--ease-standard), transform 260ms var(--ease-standard), border-color 260ms;
}
.seo-v2-knowledge::before {
  /* linha cyan superior — assinatura "indexado/conectado" */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,184,255,0.55) 50%, transparent 100%);
  z-index: 2;
}
.seo-v2-knowledge::after {
  /* glow radial cyan no canto direito superior */
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(closest-side, rgba(0,184,255,0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.seo-v2-knowledge:hover {
  transform: translateY(-3px);
  border-color: rgba(0,184,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 36px -12px rgba(8, 21, 63, 0.26),
    0 50px 110px -28px rgba(8, 21, 63, 0.32),
    0 70px 160px -40px rgba(0, 184, 255, 0.26);
}
.seo-v2-knowledge-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.seo-v2-kh-left { display: flex; gap: 12px; align-items: flex-start; }
.seo-v2-kh-ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(37,70,189,0.45) 0%, rgba(0,200,255,0.30) 100%);
  border: 1px solid rgba(0,200,255,0.32);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 4px 12px -4px rgba(0,184,255,0.40);
}
.seo-v2-kh-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
  font-feature-settings: 'tnum';
}
.seo-v2-kh-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
}
.seo-v2-kh-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,184,255,0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.seo-v2-kh-pulse {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,191,255,0.45);
  animation: kpulse 2s ease-out infinite;
}
@keyframes kpulse {
  0% { box-shadow: 0 0 0 0 rgba(0,191,255,0.45); }
  100% { box-shadow: 0 0 0 8px rgba(0,191,255,0); }
}
.seo-v2-knowledge-body {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.seo-v2-kr {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: baseline;
  opacity: 0;
  transform: translateY(4px);
  animation: krow 520ms var(--ease-standard) forwards;
}
.seo-v2-kr:nth-child(1) { animation-delay: 120ms; }
.seo-v2-kr:nth-child(2) { animation-delay: 220ms; }
.seo-v2-kr:nth-child(3) { animation-delay: 320ms; }
.seo-v2-kr:nth-child(4) { animation-delay: 420ms; }
@keyframes krow { to { opacity: 1; transform: translateY(0); } }
.seo-v2-kr:last-child { border-bottom: 0; }
.seo-v2-kr dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,184,255,0.85);
  margin: 0;
  font-feature-settings: 'tnum';
}
.seo-v2-kr dd {
  font-size: 14px;
  line-height: 20px;
  color: rgba(245,247,252,0.92);
  margin: 0;
  font-weight: 500;
}
.seo-v2-knowledge-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(245,247,252,0.55);
  font-feature-settings: 'tnum';
  position: relative; z-index: 1;
}
.seo-v2-kh-ico-mini {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  color: rgba(0,184,255,0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.10);
}

/* scanning effect — feixe cyan brilhante percorrendo o terminal */
.seo-v2-knowledge-scan {
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,200,255,0.10) 45%,
    rgba(0,200,255,0.22) 50%,
    rgba(0,200,255,0.10) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  animation: kscan 6s ease-in-out infinite;
}
@keyframes kscan {
  0% { left: -120%; }
  55% { left: 160%; }
  100% { left: 160%; }
}

/* right cards */
.seo-v2-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.seo-v2-card {
  background: linear-gradient(180deg, #ffffff 0%, #FBFCFE 100%);
  border: 1px solid rgba(10,27,61,0.06);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
  /* sombra premium difusa pra flutuar sobre o grid arquitetural */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(10,27,61,0.04),
    0 12px 28px -10px rgba(10,27,61,0.10),
    0 24px 56px -18px rgba(37,70,189,0.10);
  transition: border-color 240ms var(--ease-standard), transform 240ms var(--ease-standard), box-shadow 240ms var(--ease-standard);
}
.seo-v2-card:hover {
  border-color: rgba(0,184,255,0.35);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 2px 4px rgba(10,27,61,0.05),
    0 22px 44px -16px rgba(10,27,61,0.16),
    0 14px 32px -10px rgba(0,184,255,0.22);
}
/* ícone duotone navy + cyan, com peso e glow */
.seo-v2-card-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--accent-soft) 100%);
  border: 1px solid rgba(37,70,189,0.14);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 2px 6px -2px rgba(37,70,189,0.10);
  transition: background 240ms var(--ease-standard), border-color 240ms, box-shadow 240ms, transform 320ms var(--ease-standard);
}
.seo-v2-card-ico svg,
.seo-v2-card-ico i { display: block; }
.seo-v2-card:hover .seo-v2-card-ico {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, #fff) 0%, color-mix(in srgb, var(--accent) 24%, #fff) 100%);
  border-color: rgba(0,184,255,0.40);
  color: var(--brand-strong);
  transform: translateY(-1px) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 6px 18px -4px rgba(0,184,255,0.30);
}
.seo-v2-card h4 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.008em;
  margin: 0 0 8px;
}
.seo-v2-card p {
  font-size: 14.5px;
  line-height: 23px;
  color: #4A5568;
  margin: 0;
}

/* responsive */
@media (max-width: 1024px) {
  .seo-v2-layout { grid-template-columns: 1fr; gap: 48px; }
  .seo-v2-left { position: static; }
}
@media (max-width: 640px) {
  .seo-v2-cards { grid-template-columns: 1fr; }
  .seo-v2-kr { grid-template-columns: 1fr; gap: 2px; }
  .seo-v2-grid-bg { background-size: 32px 32px; }
}
