/* ═══════════════════════════════════════════════════
   POST-STYLE.CSS — Arka Company
   Estilos de posts do blog — identidade 2026
   Nav, Footer e WA Widget → shared.css
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --border2: rgba(255,255,255,0.14);
  --radius:  16px;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --glow:    0 8px 40px rgba(91,191,181,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--navy); color: var(--text); line-height: 1.6; overflow-x: hidden; }
::selection { background: rgba(91,191,181,0.35); color: #fff; }

/* POST LAYOUT — ghost "BLOG" + grade de pontos no topo */
.post-main { padding-top: 72px; position: relative; overflow: hidden; }
.post-main::before {
  content: 'BLOG';
  position: absolute; top: 96px; right: -16px;
  font-family: var(--display);
  font-size: clamp(90px, 14vw, 220px);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  -webkit-text-stroke: 1.5px rgba(91,191,181,0.10);
  color: transparent;
  pointer-events: none; user-select: none; white-space: nowrap;
  z-index: 0;
}
.post-main::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 480px;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 25% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 65% at 25% 30%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.post-container { max-width: 760px; margin: 0 auto; padding: 72px 24px 80px; position: relative; z-index: 1; }

/* BACK LINK */
.back-link { display: inline-block; color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 32px; transition: opacity 0.2s; }
.back-link:hover { opacity: 0.75; }

/* CATEGORIES — pílula */
.post-cats { margin-bottom: 18px; }
.post-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy);
  background: var(--accent);
  padding: 5px 14px; border-radius: 100px;
}

/* POST HEADER — display gigante */
.post-header h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700; color: var(--white);
  line-height: 1.05; letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.post-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.post-info .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* IMAGES */
.post-featured-img { width: 100%; height: 200px; object-fit: cover; object-position: center; display: block; border-radius: var(--radius); margin-bottom: 40px; border: 1px solid var(--border); }
.post-inline-img-wrap { margin: 36px 0; }
.post-inline-img-wrap img { width: 100%; height: 260px; object-fit: cover; object-position: center; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
.post-inline-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; font-style: italic; }

/* ARTICLE BODY */
.post-content p { font-size: 17px; color: var(--text); line-height: 1.8; margin-bottom: 24px; }
.post-content h2 {
  font-family: var(--display);
  font-size: 26px; font-weight: 700; color: var(--white);
  letter-spacing: -0.025em; margin: 48px 0 16px; line-height: 1.15;
}
.post-content h3 { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--white); margin: 32px 0 12px; letter-spacing: -0.015em; }
.post-content strong { color: var(--white); font-weight: 700; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { font-size: 17px; color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 22px 28px;
  background: transparent;
  border-radius: 0 12px 12px 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
  font-size: 18px; font-weight: 600; color: var(--white); line-height: 1.55;
  transition: background 0.35s, transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.post-content blockquote:hover {
  background: linear-gradient(155deg, var(--dark2) 0%, #141414 100%);
  transform: translateY(-3px);
  border-color: rgba(91,191,181,0.45);
  box-shadow: 0 14px 38px rgba(0,0,0,0.35), var(--glow);
}

/* CTA BOX — transparente, acende no hover */
.post-cta-box {
  background: transparent;
  border: 1px solid rgba(91,191,181,0.3);
  border-radius: var(--radius);
  padding: 36px;
  margin: 48px 0 0;
  transition: background 0.35s, transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.post-cta-box:hover {
  background: linear-gradient(155deg, var(--dark2) 0%, #141414 100%);
  transform: translateY(-5px);
  border-color: rgba(91,191,181,0.45);
  box-shadow: 0 18px 48px rgba(0,0,0,0.4), var(--glow);
}
.post-cta-box p { font-size: 17px; color: var(--text); margin-bottom: 20px; }
.post-cta-box strong { color: var(--white); }
.cta-btn {
  display: inline-block;
  background: var(--white); color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 100px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s;
}
.cta-btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--glow); }

/* POST NAV */
.post-nav { display: flex; justify-content: space-between; padding-top: 40px; border-top: 1px solid var(--border); margin-top: 48px; }
.post-nav a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; transition: opacity 0.2s, letter-spacing 0.25s var(--ease); }
.post-nav a:hover { opacity: 0.85; letter-spacing: 0.01em; }

/* MOBILE */
@media (max-width: 900px) {
  .post-container { padding: 48px 20px 64px; }
  .post-content p, .post-content li { font-size: 15px; }
  .post-content h2 { font-size: 21px; }
  .post-content h3 { font-size: 17px; }
  .post-content blockquote { font-size: 15px; padding: 14px 18px; }
  .post-cta-box { padding: 22px; }
  .post-nav { flex-direction: column; gap: 16px; }
  .post-main::before { font-size: 80px; top: 84px; }
}
