/* ==========================================================
   NOZ NA ESCOLA — MRPSTUDIO
   ========================================================== */
   .hero--page {
  padding: calc(var(--header-h) + 72px) 0 88px;
  text-align: center;
}

.hero--page .hero__inner {
  display: block;
  max-width: 820px;
  margin-inline: auto;
}

.hero--page .hero__badge {
  margin-inline: auto;
  margin-bottom: 26px;
}

.hero--page .hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}

.hero--page .hero__subtitle {
  margin-inline: auto;
  margin-bottom: 34px;
  max-width: 60ch;
  font-size: 1.12rem;
}

.hero--page .hero__actions {
  justify-content: center;
  margin-bottom: 34px;
}

.hero--page .hero__trust {
  justify-content: center;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-card.is-hidden {
  display: none;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card__media {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img { transform: scale(1.08); }

.blog-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(36, 26, 32, 0.3));
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 24px;
}

.blog-card__cat {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.blog-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 10px;
}

.blog-card__title:hover { color: var(--primary); }

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.blog-card__meta {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ==========================================================
   PÁGINA DE POST
   ========================================================== */
.post-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  color: var(--white);
  background:
    radial-gradient(60% 90% at 88% 8%, rgba(255, 198, 39, 0.16), transparent 55%),
    radial-gradient(50% 80% at 6% 95%, rgba(188, 18, 78, 0.45), transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 55%, var(--primary-dark) 130%);
}

.post-hero__inner {
  max-width: 860px;
}

.post-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  transition: color 0.2s ease, gap 0.25s ease;
}

.post-hero__back:hover { color: var(--accent); gap: 12px; }

.post-hero__back svg { width: 18px; height: 18px; }

.post-hero__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.post-hero__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.post-hero__meta {
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.post-hero__meta span{ color: var(--accent); }

/* ---- Corpo do post ---- */
.post {
  padding: 56px 0 24px;
}

.post__container {
  max-width: 820px;
}

.post__cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.post__cover-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.post__content {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text);
}

.post__content p { margin-bottom: 22px; }

.post__content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 16px;
}

.post__content ul {
  list-style: none;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post__content ul li {
  position: relative;
  padding-left: 32px;
}

.post__content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}

.post__content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--primary-soft);
  font-size: 1.12rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
}

.post__content strong { color: var(--dark); }

/* ---- Card do autor ---- */
.post__author {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 48px 0 32px;
  box-shadow: var(--shadow-sm);
}

.post__author-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  display: grid;
  place-items: center;
  padding: 10px;
}

.post__author-logo {
  width: 100%;
  height: auto;
}

.post__author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.post__author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- CTA dentro do post ---- */
.post__cta {
  text-align: center;
  background:
    radial-gradient(80% 120% at 15% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(135deg, var(--dark), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  color: var(--white);
}

.post__cta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  max-width: 70%;
  margin: 0 auto 24px;
}

/* ---- Relacionados ---- */
.related { padding-top: 24px; }

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