/* ============================================
   QUALITY COMBUSTÍVEIS — blog-post.css
   ============================================ */

/* ── BREADCRUMB ── */
.post-breadcrumb {
  padding: 14px 80px;
  background: var(--cinza-leve);
  border-bottom: 1px solid #E8E0F0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-breadcrumb a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--roxo);
  text-decoration: none;
  transition: color .15s;
}
.post-breadcrumb a:hover { color: var(--laranja); }
.post-breadcrumb span {
  font-size: 12px;
  color: var(--cinza-texto);
}
.post-breadcrumb span:last-child {
  color: var(--cinza-texto);
  font-size: 12px;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── LAYOUT PRINCIPAL ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  padding: 52px 80px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
  background: var(--off-white);
}

/* ── ARTIGO ── */
.post-artigo { min-width: 0; }

/* Header */
.post-header { margin-bottom: 32px; }
.post-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.post-cat {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--laranja);
  color: var(--branco);
  padding: 4px 12px;
}
.post-data, .post-tempo {
  font-size: 12px;
  color: var(--cinza-texto);
  font-weight: 600;
}

.post-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 42px);
  color: var(--roxo);
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.post-resumo {
  font-size: 17px;
  color: var(--cinza-texto);
  line-height: 1.7;
  font-style: italic;
  border-left: 4px solid var(--laranja);
  padding-left: 18px;
}

/* Capa */
.post-capa {
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 4px;
}
.post-capa-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.post-capa-solid {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, var(--roxo), var(--laranja));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.post-capa-solid span { font-size: 64px; opacity: .7; }
.post-capa-solid p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: rgba(255,255,255,.85);
  text-align: center;
  max-width: 400px;
  line-height: 1.3;
}

/* Corpo do artigo */
.post-body {
  font-size: 16px;
  color: var(--cinza-texto);
  line-height: 1.85;
}
.post-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--roxo);
  margin: 36px 0 14px;
  line-height: 1.2;
}
.post-body p { margin-bottom: 18px; }
.post-body strong { color: var(--roxo); }
.post-body a { color: var(--laranja); font-weight: 600; }
.post-body a:hover { text-decoration: underline; }
.post-body ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-body ul li {
  padding-left: 22px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
}
.post-body ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--laranja);
  font-size: 12px;
  top: 3px;
}
.post-body blockquote {
  background: var(--cinza-leve);
  border-left: 5px solid var(--laranja);
  padding: 20px 24px;
  margin: 28px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--roxo);
  line-height: 1.5;
  font-style: italic;
}

/* Grid de números (Gincana) */
.post-numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.post-num-item {
  background: var(--cinza-leve);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-num-item strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--roxo);
  display: block;
  line-height: 1;
}
.post-num-item span {
  font-size: 11px;
  color: var(--cinza-texto);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Rodapé do artigo */
.post-rodape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--cinza-leve);
  padding-top: 24px;
  margin-top: 40px;
}
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-tags span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--cinza-texto);
}
.post-tags a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--roxo);
  background: var(--cinza-leve);
  padding: 4px 10px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.post-tags a:hover { background: var(--laranja); color: var(--branco); }

.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-share span { font-size: 12px; color: var(--cinza-texto); font-weight: 600; }
.share-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  background: var(--roxo);
  color: var(--branco);
  padding: 7px 14px;
  text-decoration: none;
  transition: background .2s;
  clip-path: polygon(5px 0%,100% 0%,calc(100% - 5px) 100%,0% 100%);
}
.share-btn:hover { background: var(--laranja); }

/* Navegação entre posts */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cinza-leve);
}
.post-nav-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--roxo);
  text-decoration: none;
  padding: 10px 18px;
  border: 2px solid rgba(40,26,78,.2);
  transition: all .2s;
}
.post-nav-btn:hover {
  background: var(--roxo);
  color: var(--branco);
  border-color: var(--roxo);
}

/* ── SIDEBAR ── */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

/* ── SUGESTÕES ── */
.post-sugestoes {
  padding: 52px 80px 72px;
  background: var(--cinza-leve);
  border-top: 1px solid #E0D8F0;
}
.post-sug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.post-sug-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--roxo);
}
.post-sug-header a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--laranja);
  text-decoration: none;
}
.post-sug-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sug-card {
  background: var(--branco);
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.sug-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(40,26,78,.12); }
.sug-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.sug-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.sug-card:hover .sug-img img { transform: scale(1.06); }
.sug-img-solid {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--roxo), var(--laranja));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.sug-body {
  padding: 18px 16px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.sug-cat {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--laranja);
}
.sug-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--roxo);
  line-height: 1.3;
}
.sug-data { font-size: 11px; color: var(--cinza-texto); font-weight: 600; }

/* ── 404 ── */
.post-404 {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 100px 40px; gap: 16px; text-align: center;
}
.post-404 span { font-size: 56px; }
.post-404 h2 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 28px; color: var(--roxo); }
.post-404 p  { font-size: 15px; color: var(--cinza-texto); margin-bottom: 8px; }

/* ── RESPONSIVO ── */
@media (max-width: 1100px) {
  .post-breadcrumb { padding: 12px 40px; }
  .post-layout      { padding: 44px 40px; gap: 36px; }
  .post-sugestoes   { padding: 44px 40px 60px; }
  .post-numeros-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .post-layout { grid-template-columns: 1fr; padding: 32px 24px; }
  .post-sidebar { position: static; }
  .post-breadcrumb { padding: 12px 24px; }
  .post-sugestoes { padding: 36px 24px 52px; }
  .post-sug-grid { grid-template-columns: 1fr; }
  .post-numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .post-header h1 { font-size: 26px; }
}
@media (max-width: 480px) {
  .post-numeros-grid { grid-template-columns: 1fr 1fr; }
  .post-nav { flex-direction: column; }
}
