/* ============================================================
   Skloo Blog — reaproveita literalmente os componentes da
   home (landing/index.html): nav, botões, hero, footer.
   Só adiciona o que é específico de blog (cards, artigo).
   Fonte dos valores: landing/index.html <style>.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

/* ── Buttons (idêntico à home) ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--radius-xl); cursor: pointer;
  font-family: var(--font-sans); font-weight: var(--fw-semi);
  font-size: 16px; padding: 15px 28px; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-sm { font-size: 14px; padding: 10px 18px; }
.btn-primary { background: var(--rose-500); color: #fff; box-shadow: var(--shadow-rose); }
.btn-primary:hover { background: var(--rose-700); }
.btn-primary:active { transform: translateY(1px); }

/* ── Nav (idêntico à home, com o mesmo scroll-blur) ──────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav-scrolled { background: rgba(255,251,245,0.85); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 24px 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo { font-size: 26px; }
.nav-social { display: flex; align-items: center; gap: 0; margin-left: 20px; }
.nav-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--rose-100); color: var(--rose-700);
  transition: transform .15s ease;
}
.nav-social-link:hover { transform: scale(1.08); }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 15px; font-weight: var(--fw-medium); color: var(--ink-700); transition: color .15s ease; }
.nav-links a:hover { color: var(--rose-700); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; }
.nav-mobile-menu {
  display: none; flex-direction: column;
  padding: 4px 16px 16px; background: rgba(255,251,245,0.98); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 16px; font-weight: var(--fw-medium); color: var(--ink-700); border-bottom: 1px solid var(--cream-200); }
.nav-mobile-menu .btn { margin-top: 12px; }

/* ── Bolhas flutuantes (idêntico à home) ─────────────────── */
.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--rose-100), var(--rose-300));
  opacity: .5; animation: float 8s ease-in-out infinite;
}
.bubble.b1 { width: 90px;  height: 90px;  top: 18%; left: 8%;   animation-delay: 0s; }
.bubble.b2 { width: 50px;  height: 50px;  top: 28%; right: 12%; animation-delay: 1.2s; opacity: .4; }
.bubble.b3 { width: 140px; height: 140px; top: 55%; left: -50px; animation-delay: 2.1s; opacity: .3; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-28px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }

/* ── Hero (mesmo tratamento visual do hero da home, versão compacta) ── */
.blog-hero { position: relative; overflow: hidden; background: var(--grad-hero); padding: 132px 0 56px; }
.blog-hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blog-hero-inner { position: relative; z-index: 1; text-align: center; }
.blog-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rose-100); color: var(--rose-700);
  border-radius: var(--radius-xl); padding: 7px 16px;
  font-size: 13px; font-weight: var(--fw-bold); letter-spacing: .3px;
  box-shadow: var(--shadow-sm);
}
.blog-hero-title {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -1.4px;
  margin: 18px 0 0; color: var(--ink-900);
}
.blog-hero-sub { font-size: 17px; line-height: 1.55; color: var(--ink-700); max-width: 480px; margin: 16px auto 0; }

.post-hero { position: relative; overflow: hidden; background: var(--grad-hero); padding: 132px 0 48px; }
.post-hero-inner { position: relative; z-index: 1; }
.post-hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -1.2px;
  margin: 16px 0 0; color: var(--ink-900); text-wrap: balance;
}
.post-meta { font-size: 14px; color: var(--ink-500); margin: 14px 0 0; }

/* ── Listagem ─────────────────────────────────────────── */
.section { padding-top: 64px; padding-bottom: 96px; position: relative; }
.post-wrap { padding-top: 48px; padding-bottom: 96px; position: relative; }
.post-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.post-card {
  display: block; padding: 28px 30px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-date { font-size: 13px; color: var(--ink-500); font-weight: var(--fw-medium); margin-bottom: 8px; }
.post-card h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 22px; line-height: 1.3; letter-spacing: -.4px; margin: 0 0 8px; color: var(--ink-900); }
.post-card p { font-size: 15px; line-height: 1.6; color: var(--ink-700); margin: 0; }
.post-empty { text-align: center; color: var(--ink-500); padding: 8px 0 40px; }

/* ── Artigo ───────────────────────────────────────────── */
.post-body { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.65; color: var(--ink-700); }
.post-body p { margin: 0 0 22px; }
.post-body h2 {
  font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: -.4px;
  font-size: 24px; margin: 40px 0 16px; color: var(--ink-900);
}
.post-body blockquote {
  margin: 36px 0; padding: 20px 24px; border-radius: var(--radius-md);
  background: var(--cream-100); border-left: 4px solid var(--rose-300);
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: 19px;
  color: var(--ink-900); font-style: normal;
}
.post-refs { font-size: 13px; color: var(--ink-500); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }

.post-cta {
  max-width: 680px; margin: 48px auto 0; padding: 40px 32px; border-radius: var(--radius-lg);
  background: var(--rose-500); color: #fff; text-align: center; box-shadow: var(--shadow-rose);
}
.post-cta p { color: #fff; margin: 0 0 20px; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 21px; letter-spacing: -.3px; }
.post-cta .btn-primary { background: #fff; color: var(--rose-700); box-shadow: none; white-space: normal; max-width: 100%; }
.post-cta .btn-primary:hover { background: var(--cream-100); }

/* ── Footer (idêntico à home) ────────────────────────────── */
.footer { margin-top: 80px; padding: 44px 0; border-top: 1px solid var(--cream-200); background: var(--cream-50); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer-logo { font-size: 28px; }
.footer-tag { font-size: 15px; color: var(--ink-500); margin: 4px 0 0; }
.footer-fine { font-size: 13px; color: var(--ink-300); margin: 8px 0 0; }

/* ── Responsivo ───────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; flex-shrink: 0; }
  .nav-inner { padding: 18px 16px; gap: 6px; }
  .nav-logo { font-size: 22px; flex-shrink: 0; }
  .nav-social { margin-left: 6px; flex-shrink: 0; }
  .nav-social-link { width: 22px; height: 22px; }
  .nav-actions { gap: 14px; flex-shrink: 0; }
  .nav-actions .btn { padding: 7px 12px; font-size: 12.5px; }
  .nav-actions .btn .cta-arrow { display: none; }
  .blog-hero, .post-hero { padding: 100px 0 40px; }
}
@media (max-width: 560px) {
  .post-card { padding: 22px 22px; }
  .post-body { font-size: 16px; }
  .post-cta { padding: 32px 24px; }
  .post-cta .btn-primary { padding: 14px 20px; font-size: 15px; }
}
