/* ============================================================
   minhaDash — blog (mesma linguagem visual da landing)
   ============================================================ */
:root {
  --navy:      #1A1956;
  --navy-deep: #0E0D3A;
  --navy-soft: #4D4B82;

  --bg:        #FFFFFF;
  --bg-soft:   #F7F6F2;
  --bg-warm:   #EFEDE6;

  --ink:       #0E0D3A;
  --ink-mid:   #4F4E6E;
  --ink-mute:  #8A8AA0;
  --ink-faint: #C8C7D4;

  --rule:      #E5E3DA;
  --rule-soft: #F0EEE6;

  --accent:    #FF5A1F;
  --green:     #1B8A5A;
  --red:       #C13A3A;

  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

*:focus { outline: none; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.display { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); }
.display-1 { font-size: clamp(1.9rem, 2.6vw, 2.8rem); font-weight: 700; line-height: 1.08; }
.display-2 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.15; font-weight: 600; }

.lede { font-size: 1.08rem; color: var(--ink-mid); line-height: 1.55; }

.text-link {
  color: var(--navy); font-weight: 600;
  border-bottom: 1.5px solid var(--navy); padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #FFF;
  padding: 14px 26px; font-weight: 600; font-size: 0.95rem;
  border-radius: 0; transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.005em;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; }

/* NAV (igual à landing) */
nav {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 880px) { nav { position: relative; background: var(--bg); backdrop-filter: none; } }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 22px 28px; gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
  font-size: 0.9rem; color: var(--ink-mid); font-weight: 500;
  position: relative; padding: 4px 0; transition: color 0.2s ease;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-login { font-size: 0.9rem; font-weight: 600; color: var(--navy); transition: opacity 0.2s ease; }
.nav-login:hover { opacity: 0.7; }
.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--ink); }
@media (max-width: 880px) {
  .nav-menu, .nav-login { display: none; }
  .nav-burger { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 24px 28px 32px;
    align-items: flex-start; gap: 20px;
    border-bottom: 1px solid var(--rule); z-index: 50;
  }
}

/* ============================================================
   BLOG — índice
   ============================================================ */
.blog-head { padding: 70px 0 40px; border-bottom: 1px solid var(--rule); }
@media (max-width: 880px) { .blog-head { padding: 48px 0 32px; } }
.blog-eyebrow {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; color: var(--ink-mute); margin-bottom: 18px;
}
.blog-head p { max-width: 560px; margin-top: 18px; }

.blog-list { padding: 20px 0 90px; }
.blog-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  padding: 38px 0; border-bottom: 1px solid var(--rule); align-items: center;
}
.blog-card:hover .blog-card-title { color: var(--accent); }
@media (max-width: 720px) { .blog-card { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; } }

.blog-thumb {
  background: var(--bg-soft); border: 1px solid var(--rule);
  padding: 20px 22px; transition: border-color 0.2s;
}
.blog-card:hover .blog-thumb { border-color: var(--ink-faint); }
.blog-thumb svg { width: 100%; height: auto; display: block; }

.blog-card-cat {
  display: inline-block; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.blog-card-title {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 12px;
  transition: color 0.2s;
}
.blog-card-desc { color: var(--ink-mid); font-size: 0.98rem; line-height: 1.6; max-width: 640px; margin-bottom: 16px; }
.blog-card-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.blog-card-meta { font-size: 0.78rem; color: var(--ink-mute); font-weight: 500; }

/* ============================================================
   BLOG — artigo
   ============================================================ */
.article-head { padding: 60px 0 40px; border-bottom: 1px solid var(--rule); }
@media (max-width: 880px) { .article-head { padding: 40px 0 28px; } }
.breadcrumb { font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 26px; }
.breadcrumb a { color: var(--ink-mid); border-bottom: 1px solid var(--rule); }
.breadcrumb a:hover { color: var(--navy); }
.article-cat {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; color: var(--navy); margin-bottom: 16px;
}
.article-title { max-width: 820px; margin-bottom: 20px; }
.article-meta { font-size: 0.82rem; color: var(--ink-mute); font-weight: 500; }

/* Ilustração de topo do artigo (SVG on-brand, sem foto stock) */
.article-hero {
  margin-top: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  padding: 30px 34px;
}
.article-hero svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .article-hero { margin-top: 26px; padding: 18px; } }

.article-body { padding: 50px 0 40px; }
.prose { max-width: 720px; }
.prose > p:first-of-type { font-size: 1.2rem; color: var(--ink); line-height: 1.65; }
.prose p { font-size: 1.06rem; color: var(--ink-mid); line-height: 1.75; margin-bottom: 22px; }
.prose h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.2; margin: 50px 0 18px;
}
.prose h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; margin: 34px 0 12px;
}
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 22px; }
.prose li { margin-bottom: 10px; color: var(--ink-mid); line-height: 1.7; }
.prose li strong { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--navy); font-weight: 600; border-bottom: 1.5px solid var(--navy); }
.prose a:hover { color: var(--accent); border-color: var(--accent); }
.prose blockquote {
  border-left: 3px solid var(--ink); padding: 4px 0 4px 26px; margin: 30px 0;
  font-size: 1.18rem; color: var(--ink); font-weight: 500; line-height: 1.5;
}
.prose hr { border: none; border-top: 1px solid var(--rule); margin: 44px 0; }
.prose .callout {
  background: var(--bg-soft); border: 1px solid var(--rule);
  padding: 22px 26px; margin: 30px 0;
}
.prose .callout p { margin-bottom: 0; font-size: 0.98rem; }

/* Bloco de conversão dentro/fim do artigo */
.article-cta {
  margin-top: 20px; padding: 40px; background: var(--navy); color: #FFF;
}
@media (max-width: 640px) { .article-cta { padding: 30px 24px; } }
.article-cta h2 { color: #FFF; font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: 12px; font-weight: 700; letter-spacing: -0.02em; }
.article-cta p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 520px; margin-bottom: 24px; line-height: 1.6; }
.article-cta .btn { background: #FFF; color: var(--navy); }
.article-cta .btn:hover { background: var(--bg-warm); }

/* Artigos relacionados */
.related { padding: 60px 0 40px; border-top: 1px solid var(--rule); }
.related-title {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; color: var(--ink-mute); margin-bottom: 26px;
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; gap: 28px; } }
.related-item { padding-top: 20px; border-top: 2px solid var(--ink); }
.related-item a { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.related-item a:hover { color: var(--accent); }

/* ============================================================
   FOOTER (igual à landing)
   ============================================================ */
footer { padding: 60px 0 36px; border-top: 1px solid var(--rule); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-about p { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.6; max-width: 320px; }
.footer-col h5 {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute); font-weight: 600; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--ink-mid); transition: color 0.15s; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: var(--ink-mute);
}

/* WhatsApp FAB */
.fab {
  position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px;
  border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s; z-index: 80;
}
.fab:hover { background: var(--navy-deep); transform: scale(1.06); }
.fab svg { width: 22px; height: 22px; fill: #FFF; }
