/* ============================================================
   ARTICLE.CSS · Estilo dos artigos do blog
   Mesma linguagem visual da landing (Pinterest + paleta logo)
   ============================================================ */
:root {
  --coral: #FF8A5C;
  --pink: #F06AB4;
  --purple: #8B73E8;
  --lavender: #7A7EEB;
  --graphite: #2D2A4A;
  --brand: #8B73E8;
  --brand-dark: #7261D4;
  --brand-light: #B0A0F0;
  --brand-glow: rgba(139,115,232,.35);
  --brand-bg: rgba(139,115,232,.08);
  --brand-tint: rgba(139,115,232,.18);
  --accent: #FF8A5C;
  --ink: #2D2A4A;
  --ink-2: #4A476B;
  --ink-3: #6B6890;
  --muted: #9B98B5;
  --line: #ECEAF5;
  --line-2: #F5F3FB;
  --bg: #FFFFFF;
  --bg-soft: #FBFAFE;
  --grad-brand: linear-gradient(135deg, #FF8A5C 0%, #F06AB4 50%, #8B73E8 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,138,92,.08) 0%, rgba(240,106,180,.08) 50%, rgba(139,115,232,.08) 100%);
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-full: 999px;
  --sh-sm: 0 2px 8px rgba(45,42,74,.06);
  --sh-md: 0 10px 30px rgba(45,42,74,.08), 0 4px 12px rgba(45,42,74,.04);
  --sh-lg: 0 20px 60px rgba(45,42,74,.12), 0 8px 20px rgba(45,42,74,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 1200px 500px at 50% -100px, var(--brand-bg) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 30%, rgba(240,106,180,.05) 0%, transparent 55%),
    var(--bg-soft);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
a { color: var(--brand-dark); text-decoration: none; border-bottom: 1.5px solid var(--brand-tint); transition: border-color .15s, color .15s; }
a:hover { color: var(--purple); border-color: var(--purple); }
img { display: block; max-width: 100%; }

/* === NAV (mesma da landing) === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--brand-tint);
}
.nav::after { content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--grad-brand); opacity:.85; }
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 16px;
  color: var(--ink) !important;
  border-bottom: none !important;
  letter-spacing: -.015em;
}
.nav-brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  border-bottom: none;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-brand);
  color: #fff !important;
  padding: 10px 18px; border-radius: var(--r-full);
  font-size: 13.5px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(240,106,180,.32);
  border-bottom: none !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(240,106,180,.42); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* === ARTICLE WRAP === */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* === ARTICLE HERO === */
.article-hero {
  padding: 52px 0 30px;
  text-align: center;
  position: relative;
}
.breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--ink-3); border-bottom: 1px dotted var(--line); }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb span { color: var(--muted); margin: 0 8px; }

.category-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--brand-bg);
  color: var(--brand-dark);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  border: 1px solid var(--brand-tint);
}

.article-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink);
}
.article-hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.article-meta .author {
  display: inline-flex; align-items: center; gap: 8px;
}
.article-meta .author .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.article-meta .dot { color: var(--muted); }

/* === COVER IMAGE === */
.cover {
  margin: 30px auto 40px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--grad-soft);
  position: relative;
  aspect-ratio: 16/8;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(80px, 14vw, 140px);
  color: var(--brand);
  text-shadow: 0 4px 20px var(--brand-glow);
}
.cover::before {
  content:'';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 6px at 15% 30%, var(--coral) 100%, transparent),
    radial-gradient(circle 5px at 85% 25%, var(--pink) 100%, transparent),
    radial-gradient(circle 8px at 22% 75%, var(--purple) 100%, transparent),
    radial-gradient(circle 4px at 90% 78%, var(--purple) 100%, transparent),
    radial-gradient(circle 5px at 50% 12%, var(--coral) 100%, transparent),
    radial-gradient(circle 6px at 70% 50%, var(--pink) 100%, transparent);
  opacity: .55;
  pointer-events: none;
}

/* === ARTICLE BODY === */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > h2,
.article-body > h3,
.article-body > blockquote,
.article-body > .callout,
.article-body > .pull-quote,
.article-body > figure {
  margin-bottom: 24px;
}
.article-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  color: var(--ink);
  margin-top: 50px;
  margin-bottom: 16px;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -.015em;
}
.article-body p strong { color: var(--ink); font-weight: 700; }

.article-body ul, .article-body ol {
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
  color: var(--ink-2);
}
.article-body li::marker { color: var(--brand); }

/* Callout box (destaque) */
.callout {
  background: var(--grad-soft);
  border-left: 4px solid var(--brand);
  padding: 20px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 15.5px;
  color: var(--ink);
}
.callout strong { color: var(--brand-dark); }
.callout.warning { border-color: var(--coral); background: linear-gradient(135deg, rgba(255,138,92,.08), rgba(240,106,180,.05)); }
.callout.warning strong { color: var(--coral); }

/* Pull quote */
.pull-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  padding: 30px 20px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  letter-spacing: -.015em;
}
.pull-quote::before,
.pull-quote::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--purple);
  -webkit-text-fill-color: var(--purple);
  position: absolute;
  opacity: .35;
  line-height: 1;
}
.pull-quote::before { top: 10px; left: 20px; }
.pull-quote::after { bottom: -20px; right: 20px; }

/* Numbered step boxes */
.step-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-bottom: 18px;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
  display: flex; gap: 18px; align-items: flex-start;
}
.step-box:hover { border-color: var(--brand-tint); box-shadow: var(--sh-sm); }
.step-box .num {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(240,106,180,.28);
}
.step-box .step-body { flex: 1; }
.step-box .step-body h3 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  font-size: 1.15rem !important;
  color: var(--ink) !important;
}
.step-box .step-body p {
  margin-bottom: 0 !important;
  font-size: 15px;
  color: var(--ink-3);
}

/* Checklist (uso especial em checklist articles) */
.checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 24px 0;
}
.checklist h3 {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  font-size: 1.1rem !important;
}
.checklist ul {
  list-style: none !important;
  padding-left: 0 !important;
}
.checklist li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 8px;
  font-size: 15.5px;
}
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: inline-block;
  box-shadow: 0 2px 6px rgba(240,106,180,.3);
}
.checklist li::after {
  content: '';
  position: absolute; left: 6px; top: 9px;
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Table */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.article-body th {
  background: var(--brand-bg);
  color: var(--brand-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  padding: 14px 18px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.article-body td {
  padding: 14px 18px;
  font-size: 15px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.article-body tr:hover td { background: var(--bg-soft); }

/* === CTA box no meio do artigo === */
.inline-cta {
  background: var(--grad-brand);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  text-align: center;
  color: #fff;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(240,106,180,.3);
}
.inline-cta::before, .inline-cta::after {
  content:''; position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(40px);
}
.inline-cta::before { top: -80px; left: -80px; width: 220px; height: 220px; }
.inline-cta::after  { bottom: -100px; right: -60px; width: 260px; height: 260px; }
.inline-cta h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  position: relative; z-index: 1;
  letter-spacing: -.02em;
}
.inline-cta p {
  position: relative; z-index: 1;
  color: rgba(255,255,255,.92);
  font-size: 15.5px;
  margin-bottom: 22px;
  line-height: 1.55;
}
.inline-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; z-index: 1;
  background: #fff;
  color: var(--ink) !important;
  padding: 14px 26px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 15px;
  border-bottom: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: transform .2s;
}
.inline-cta a:hover { transform: translateY(-2px); }

/* === RELATED ARTICLES === */
.related-section {
  margin: 60px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.related-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -.015em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid var(--line) !important;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--brand-tint); box-shadow: var(--sh-md); }
.related-card .tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.related-card .ti {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -.01em;
}

/* === FOOTER === */
footer.foot {
  background: var(--graphite);
  color: rgba(255,255,255,.7);
  padding: 50px 22px 32px;
  text-align: center;
  position: relative;
  margin-top: 60px;
}
footer.foot::before { content:''; position: absolute; left:0; right:0; top:0; height: 3px; background: var(--grad-brand); }
footer.foot .foot-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
  align-items: center;
}
footer.foot .foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
  border-bottom: none !important;
}
footer.foot .foot-brand img { width: 28px; height: 28px; }
footer.foot .foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
footer.foot .foot-links a { color: rgba(255,255,255,.7); font-size: 13.5px; border-bottom: none; }
footer.foot .foot-links a:hover { color: var(--brand-light); }
footer.foot .copy { font-size: 12.5px; color: rgba(255,255,255,.45); margin-top: 10px; }
