/* === StarTouch — Estilo dos artigos === */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #1F2937;
  font-family: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Header minimal */
.art-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--st-gray-light);
}
.art-header-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.art-logo {
  display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0;
}
.art-logo img { display: block; height: 38px; width: auto; }
@media (min-width: 768px) { .art-logo img { height: 44px; } }
.art-header-cta {
  background: var(--st-blue-primary);
  color: #FFFFFF; border-radius: 8px;
  padding: 9px 14px; font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.art-header-cta:hover { background: var(--st-blue-dark); }

/* Container */
.art-container { max-width: 720px; margin: 0 auto; padding: 56px 24px 32px; }
@media (min-width: 768px) { .art-container { padding: 80px 32px 40px; } }

/* Breadcrumb + eyebrow */
.art-breadcrumb {
  font-size: 13px; color: #5F6368; margin: 0 0 24px;
}
.art-breadcrumb a { color: var(--st-blue-primary); text-decoration: none; }
.art-breadcrumb a:hover { text-decoration: underline; }

.art-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--st-blue-soft);
  color: var(--st-blue-primary);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  margin: 0 0 16px;
}

/* Title + lead */
.art-h1 {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(32px, 5.2vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0F0F0F;
  margin: 0 0 18px;
  text-wrap: balance;
}
.art-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: #4B5563;
  line-height: 1.55;
  margin: 0 0 24px;
  text-wrap: pretty;
}

/* Meta */
.art-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: #6B7280;
  border-top: 1px solid var(--st-gray-light);
  border-bottom: 1px solid var(--st-gray-light);
  padding: 16px 0;
  margin: 0 0 40px;
}
.art-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; }

/* Prose */
.art-prose h2 {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: #0F0F0F;
  margin: 56px 0 16px;
  text-wrap: balance;
}
.art-prose h3 {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: #0F0F0F;
  margin: 36px 0 12px;
}
.art-prose p {
  font-size: 17px;
  line-height: 1.7;
  color: #1F2937;
  margin: 0 0 18px;
}
.art-prose ul, .art-prose ol {
  font-size: 17px;
  line-height: 1.7;
  padding-left: 22px;
  margin: 0 0 20px;
}
.art-prose li { margin: 8px 0; color: #1F2937; }
.art-prose li::marker { color: var(--st-blue-primary); }
.art-prose strong { font-weight: 700; color: #0F0F0F; }
.art-prose a {
  color: var(--st-blue-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.art-prose a:hover { color: var(--st-blue-dark); }

/* Callout */
.art-callout {
  background: var(--st-blue-soft);
  border-left: 3px solid var(--st-blue-primary);
  padding: 16px 22px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #1F2937;
}
.art-callout strong { color: var(--st-blue-dark); }

/* Tabela (comparativos dentro do prose) */
.art-table-wrap { margin: 28px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  min-width: 460px;
}
.art-table th, .art-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--st-gray-light);
  vertical-align: top;
  color: #1F2937;
}
.art-table thead th {
  font-family: 'General Sans', sans-serif;
  font-weight: 700;
  color: #0F0F0F;
  border-bottom: 2px solid var(--st-gray-light);
}
.art-table tbody td:first-child { font-weight: 600; color: #0F0F0F; white-space: nowrap; }
.art-table tbody tr:last-child td { border-bottom: none; }
.art-table tbody tr:nth-child(even) { background: #F8F9FA; }

/* Roteiro / script box */
.art-script {
  background: #F8F9FA;
  border: 1px solid var(--st-gray-light);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.65;
  color: #1F2937;
}
.art-script-label {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #5F6368;
  margin: 0 0 8px;
}

/* CTA card */
.art-cta {
  background: linear-gradient(135deg, var(--st-blue-primary) 0%, var(--st-blue-dark) 100%);
  color: #fff;
  padding: 36px 28px;
  border-radius: 18px;
  margin: 56px 0 32px;
  text-align: center;
}
.art-cta h3 {
  font-family: 'General Sans', sans-serif;
  color: #fff;
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.art-cta p {
  color: rgba(255,255,255,0.92);
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.55;
}
.art-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  color: var(--st-blue-primary);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .1s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.art-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.14); }
.art-cta-btn svg { width: 16px; height: 16px; }

/* Related */
.art-related {
  border-top: 1px solid var(--st-gray-light);
  padding: 40px 0 0;
  margin: 40px 0 0;
}
.art-related-title {
  font-family: 'General Sans', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #5F6368;
  margin: 0 0 18px;
}
.art-related-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .art-related-list { grid-template-columns: 1fr 1fr; } }
.art-related-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--st-gray-light);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .1s;
}
.art-related-card:hover { border-color: var(--st-blue-primary); transform: translateY(-1px); }
.art-related-card-title {
  font-family: 'General Sans', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #0F0F0F; margin: 0 0 6px; line-height: 1.3;
}
.art-related-card-desc { font-size: 13px; color: #5F6368; line-height: 1.5; margin: 0; }

/* Footer */
.art-footer {
  background: #F8F9FA;
  border-top: 1px solid var(--st-gray-light);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px; color: #6B7280;
  margin: 56px 0 0;
}
.art-footer a { color: var(--st-blue-primary); text-decoration: none; }
.art-footer a:hover { text-decoration: underline; }

/* Index (lista de artigos) */
.idx-hero {
  max-width: 880px; margin: 0 auto;
  padding: 56px 24px 24px; text-align: center;
}
@media (min-width: 768px) { .idx-hero { padding: 80px 32px 32px; } }
.idx-hero h1 {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(34px, 5.5vw, 48px); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.025em;
  color: #0F0F0F;
  margin: 0 0 14px; text-wrap: balance;
}
.idx-hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: #4B5563;
  line-height: 1.55;
  margin: 0 auto; max-width: 620px;
}
.idx-grid {
  max-width: 1080px; margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .idx-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 40px 32px 80px; } }
@media (min-width: 1024px) { .idx-grid { grid-template-columns: repeat(3, 1fr); } }
.idx-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--st-gray-light);
  border-radius: 16px;
  padding: 26px 24px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .1s, box-shadow .15s;
}
.idx-card:hover {
  border-color: var(--st-blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(26,115,232,0.18);
}
.idx-card-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--st-blue-primary);
  margin: 0 0 12px;
}
.idx-card-title {
  font-family: 'General Sans', sans-serif;
  font-size: 20px; font-weight: 700; line-height: 1.25;
  letter-spacing: -0.015em;
  color: #0F0F0F;
  margin: 0 0 10px;
}
.idx-card-desc {
  font-size: 14px; color: #4B5563; line-height: 1.55;
  margin: 0 0 14px; flex: 1;
}
.idx-card-meta {
  font-size: 12px; color: #6B7280;
}
