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

:root {
  --bg:         #F4F2ED;
  --surface:    #FFFFFF;
  --text:       #111110;
  --text-soft:  rgba(17,17,16,0.60);
  --text-muted: rgba(17,17,16,0.38);
  --divider:    rgba(17,17,16,0.08);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font:       'Jost', system-ui, sans-serif;
  --max-w:      1280px;
  --pad:        clamp(20px, 5vw, 60px);
  --r:          10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Logo nunca herda o reset de img */
.logo-img {
  height: 14px !important;
  width: auto !important;
  max-height: 14px;
  object-fit: contain !important;
  flex-shrink: 0;
}

/* ─── Header (mesma estrutura do sprint55.com/v2) ──────────── */
.site-header {
  position: relative;
  z-index: 200;
  background: #111110;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 20px;
}

.logo { display: flex; align-items: center; }

.logo-img {
  height: 15px !important;
  max-height: none;
  width: auto !important;
}

.menu-toggle {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: width 0.2s ease;
}

.menu-toggle span:last-child { width: 65%; }
.menu-toggle:hover span:last-child { width: 100%; }

.header-bag-mobile {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.header-bag-mobile svg { width: 26px; height: 26px; }

.main-nav { display: none; }
.header-icons { display: none; }

.icon-btn {
  background: none;
  border: none;
  padding: 0;
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.icon-btn:hover { opacity: 1; }
.icon-btn svg { width: 19px; height: 19px; display: block; }

@media (min-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 22px 48px;
  }

  .logo-img { height: 18px !important; justify-self: start; }

  .menu-toggle, .header-bag-mobile { display: none; }

  .main-nav {
    display: flex;
    justify-self: center;
    gap: 32px;
  }

  .nav-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s;
  }
  .nav-link:hover, .nav-link.active { color: #fff; }

  .header-icons {
    display: flex;
    justify-self: end;
  }
}

/* ─── Mobile drawer (mesma estrutura do sprint55.com/v2) ───── */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(10, 10, 10, 0.5);
}
.drawer-backdrop.is-open { display: block; }

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 241;
  width: 78vw;
  max-width: 300px;
  background: #111110;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.mobile-drawer.is-open { transform: translateX(0); }

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.drawer-links .mobile-nav-link,
.drawer-links a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 300;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  opacity: 0.75;
}
.drawer-links .mobile-nav-link.active,
.drawer-links a.active { opacity: 1; }

@media (min-width: 900px) {
  .drawer-backdrop, .mobile-drawer { display: none !important; }
}

/* ─── Section Divider ──────────────────────────────────────── */
.section-divider {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px var(--pad) 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.section-divider span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ─── Posts Grid ───────────────────────────────────────────── */
.posts-grid-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 64px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Post Card ────────────────────────────────────────────── */
.post-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.11), 0 0 0 1px rgba(0,0,0,0.04);
}

.post-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--divider);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }

.post-card--no-image {
  border-top: 3px solid var(--text);
}

.post-card--no-image .post-card-body {
  padding: 24px 20px 26px;
}

.post-card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 9px;
}

.post-card-title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  flex: 1;
  transition: opacity 0.2s;
}
.post-card:hover .post-card-title { opacity: 0.60; }

.post-card-excerpt {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.post-card-date {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: auto;
}

/* ─── Ver mais ─────────────────────────────────────────────── */
.load-more-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px var(--pad) 80px;
  text-align: center;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--text);
  color: #F4F2ED;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-load-more:hover { opacity: 0.72; }
.btn-load-more:disabled { opacity: 0.3; cursor: default; }
.btn-load-more svg { width: 12px; height: 12px; }

/* ─── No results ───────────────────────────────────────────── */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--divider);
  padding: 28px var(--pad);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; }
.footer-copy  { font-size: 11px; color: var(--text-muted); }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .posts-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ─────────────────────────────────────────────────────────── */
/* POST PAGE                                                    */
/* ─────────────────────────────────────────────────────────── */

/* ── Post Hero: dark, sem imagem ───────────────────────────── */
.post-hero {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 420px;
  overflow: hidden;
  background: #111110;
}

.post-hero-img { display: none; }

.post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.40) 42%,
    rgba(0,0,0,0.06) 100%
  );
  pointer-events: none;
}

.post-hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--pad) 64px;
  max-width: calc(var(--max-w) + var(--pad) * 2);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-top: 30px;
  transition: color 0.2s;
  width: fit-content;
}
.back-link:hover { color: #fff; }
.back-link svg { flex-shrink: 0; }

.post-hero-meta { display: flex; flex-direction: column; gap: 16px; }

.post-page-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  display: block;
}

.post-page-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(38px, 5.8vw, 80px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 860px;
}

.post-page-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
}

/* ── Linha divisória abaixo do hero ─────────────────────────── */
.post-eyebrow {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 0 var(--pad) 0;
  border-top: 1px solid var(--divider);
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-eyebrow-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-eyebrow-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.post-eyebrow-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Post Body ────────────────────────────────────────────── */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px var(--pad) 64px;
}

/* Lead paragraph */
.post-body p.lead {
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.post-body p {
  font-size: 17px;
  line-height: 1.86;
  color: rgba(17,17,16,0.75);
  margin-bottom: 26px;
}

.post-body p a {
  color: var(--text);
  border-bottom: 1px solid var(--divider);
  transition: border-color 0.2s;
}
.post-body p a:hover { border-color: var(--text); }

.post-body h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 64px 0 20px;
  line-height: 1.1;
}

.post-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  margin: 40px 0 12px;
}

.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 26px; }

.post-body li {
  font-size: 17px;
  line-height: 1.86;
  color: rgba(17,17,16,0.75);
  margin-bottom: 6px;
}

/* Pull quote */
.post-body blockquote {
  border-left: none;
  padding: 0;
  margin: 72px auto;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: center;
  max-width: 560px;
  position: relative;
}

.post-body blockquote::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--text-muted);
  margin: 0 auto 32px;
}

.post-body blockquote::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--text-muted);
  margin: 32px auto 0;
}

/* ─── Article Photo: full-bleed fora do post-body ──────────── */
.article-photo {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}

.article-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 21/9;
  object-fit: cover;
  object-position: center 40%;
}

.article-photo figcaption {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px var(--pad) 0;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* Closing photo before CTA: portrait pair aspect */
.article-photo--closing img {
  aspect-ratio: 16/7;
  object-position: center 30%;
}

@media (max-width: 768px) {
  .article-photo img { aspect-ratio: 4/3; }
  .article-photo--closing img { aspect-ratio: 4/3; }
}

/* Keep mid-photo for any old references */
.mid-photo { display: none; }

/* ─── Post CTA ─────────────────────────────────────────────── */
.post-cta {
  background: #111110;
  margin: 0 0 0;
  padding: 0;
}

.post-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.post-cta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,242,237,0.45);
  display: block;
  margin-bottom: 8px;
}

.post-cta-text strong {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #F4F2ED;
  line-height: 1.08;
  display: block;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(244,242,237,0.12);
  border: 1px solid rgba(244,242,237,0.22);
  color: #F4F2ED;
  padding: 13px 22px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-cta:hover { background: rgba(244,242,237,0.22); }
.btn-cta svg { width: 12px; height: 12px; transition: transform 0.2s; }
.btn-cta:hover svg { transform: translateX(3px); }

/* ─── Post Footer ──────────────────────────────────────────── */
.post-footer {
  background: #111110;
  border-top: 1px solid rgba(244,242,237,0.08);
}

.post-footer .footer-inner {
  border-top: none;
}

.post-footer .footer-brand,
.post-footer .footer-copy {
  color: rgba(244,242,237,0.35);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-page-title {
    font-size: clamp(28px, 9vw, 48px);
  }

  .post-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ─── FAQ Section (GEO/SEO) ───────────────────────────────── */
.post-faq {
  margin-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.faq-list dt {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.faq-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
  padding-left: 0;
  border-left: 2px solid var(--divider);
  padding-left: 14px;
}

@media (max-width: 768px) {
  .faq-list dt { font-size: 14px; }
  .faq-list dd { font-size: 14px; }
}
