/* Anões do Impacto — tema claro + paleta do logo (vermelho, amarelo, laranja) */

:root {
  --brand-red: #e53935;
  --brand-red-deep: #c62828;
  --brand-yellow: #ffd600;
  --brand-orange: #ff8f00;
  --brand-warm: #fff8e1;
  --bg-deep: #ffffff;
  --bg-elevated: #fafafa;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --border-glass: rgba(0, 0, 0, 0.08);
  --text: #1a1a1a;
  --text-muted: #525252;
  --gold: var(--brand-yellow);
  --gold-soft: var(--brand-warm);
  --gold-dim: rgba(229, 57, 53, 0.1);
  --gold-glow: rgba(255, 214, 0, 0.35);
  --accent: var(--brand-orange);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --font-sans: "Fredoka", "Outfit", system-ui, sans-serif;
  --font-body: "Inter", "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.34, 1.2, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

a {
  color: var(--brand-red-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Noise overlay */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.65rem 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9));
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 57, 53, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo-img {
  height: clamp(64px, 18vw, 100px);
  width: auto;
  max-width: min(440px, 88vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1));
  transition: transform 0.25s var(--ease);
}

.logo:hover .logo-img {
  transform: scale(1.02);
}

.footer-brand .logo-img {
  height: clamp(52px, 12vw, 72px);
  max-width: min(360px, 85vw);
  margin-bottom: 0.35rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--brand-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-orange) 100%);
  color: #1a0505;
  border: 2px solid var(--brand-red);
  box-shadow: 0 8px 28px rgba(255, 143, 0, 0.35), 0 0 0 1px rgba(229, 57, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(229, 57, 53, 0.45), 0 0 0 2px var(--brand-red-deep);
  color: #1a0505;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(229, 57, 53, 0.45);
  border-radius: 999px;
}

.btn-ghost:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
  background: rgba(229, 57, 53, 0.12);
}

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0 0;
}

.nav-mobile.open {
  display: flex;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 80% 10%, rgba(229, 57, 53, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(255, 214, 0, 0.18), transparent 50%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(255, 143, 0, 0.1), transparent 48%),
    linear-gradient(180deg, #fffef9 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 248, 225, 0.95);
  border: 2px solid rgba(229, 57, 53, 0.35);
  color: var(--brand-red-deep);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  max-width: 16ch;
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: none;
  }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 0 2rem;
}

@media (max-width: 900px) {
  .hero-lead {
    max-width: none;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229, 57, 53, 0.2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 214, 0, 0.25);
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #fff8e1, #ffffff);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.92), transparent 50%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 57, 53, 0.2);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.hero-card strong {
  display: block;
  color: var(--brand-red);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.hero-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-lead-secondary {
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}

.hero-highlights {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 42ch;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
}

@media (max-width: 900px) {
  .hero-highlights {
    max-width: min(28rem, 100%);
    margin-inline: auto;
  }

  .hero-highlights li {
    text-align: left;
  }
}

.trust-strip {
  padding: 1.25rem 0;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 225, 0.85),
    #ffffff,
    rgba(255, 248, 225, 0.85)
  );
  border-top: 1px solid rgba(229, 57, 53, 0.1);
  border-bottom: 1px solid rgba(229, 57, 53, 0.1);
  position: relative;
  z-index: 1;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  color: var(--brand-red);
  font-weight: 700;
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

/* Sobre — bloco rico */
.rich-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fffef9 0%, #ffffff 100%);
}

.rich-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.rich-grid h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
}

.rich-grid > div > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.rich-cta {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.rich-aside {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 57, 53, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.rich-aside-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--brand-red-deep);
}

.rich-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rich-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .rich-grid {
    grid-template-columns: 1fr;
  }
}

/* Processo */
.process-section {
  background: #ffffff;
}

.process-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 820px;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s var(--ease);
}

.process-step:hover {
  border-color: rgba(229, 57, 53, 0.22);
}

.process-step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a0505;
  border: 2px solid var(--brand-red);
}

.process-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* FAQ */
.faq-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff, #fffef7);
}

.faq-wrap {
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  font-family: var(--font-sans);
  color: var(--text);
  position: relative;
  padding-right: 2.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-red);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Teaser do blog */
.blog-teaser {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.55), #ffffff);
  border-top: 1px solid rgba(229, 57, 53, 0.12);
  border-bottom: 1px solid rgba(229, 57, 53, 0.08);
}

.blog-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.blog-teaser-inner h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0.5rem 0 0.75rem;
}

.blog-teaser-inner p {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .blog-teaser-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-teaser-inner .btn {
    width: 100%;
  }
}

/* Services — glass cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 24px rgba(255, 214, 0, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(229, 57, 53, 0.35), rgba(255, 214, 0, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Benefits */
.benefits {
  background: linear-gradient(180deg, transparent, rgba(255, 248, 225, 0.6), transparent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefits-grid.benefits-grid-6 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .benefits-grid.benefits-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 599px) {
  .benefits-grid.benefits-grid-6 {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.benefit-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.benefit-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Form */
.form-section {
  padding-bottom: 6rem;
}

.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff, #fafafa);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow);
}

.form-wrap h2 {
  margin: 0 0 0.5rem;
  text-align: center;
}

.form-wrap > p {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: #ffffff;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 214, 0, 0.55);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

input.error,
select.error {
  border-color: #ef4444;
}

.field-hint {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.25rem;
  min-height: 1.1em;
}

.form-group {
  margin-bottom: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(229, 57, 53, 0.12);
  padding: 3rem 0;
  background: #fafafa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
  max-width: 28ch;
}

@media (max-width: 768px) {
  .footer-brand p {
    max-width: none;
  }
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-yellow);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .footer-copy {
  margin: 0;
}

.footer-bottom .footer-credit {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom .footer-credit a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-bottom .footer-credit a:hover {
  color: var(--brand-red);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blog — listagem */
.blog-hero {
  padding: 7.5rem 0 2.5rem;
  background: linear-gradient(180deg, #fffef7 0%, #ffffff 55%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-hero .container {
  max-width: 720px;
}

.blog-hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.blog-hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem 0 4.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}

.blog-card:hover {
  border-color: rgba(229, 57, 53, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
}

.blog-card-thumb {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 160px;
  background: #f0f0f0;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.blog-card-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.blog-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.35;
}

.blog-card h2 a {
  color: var(--text);
  transition: color 0.2s;
}

.blog-card h2 a:hover {
  color: var(--brand-red);
}

.blog-card .excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Blog — artigo */
.article-page {
  padding: 6.5rem 0 4rem;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 220px);
}

.article-header {
  max-width: 38rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.article-cover {
  max-width: 880px;
  margin: 0 auto 2.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f0f0f0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.article-content {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.78;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2.25rem;
  line-height: 1.7;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.article-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-top: 1.75rem;
  line-height: 1.3;
  color: var(--text);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.article-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  line-height: 1.35;
}

.article-content p {
  margin: 0 0 1.2rem;
  color: #2d2d2d;
}

.article-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: #2d2d2d;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.article-cta {
  margin: 3rem 0 2rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.85), #ffffff);
  border: 1px solid rgba(229, 57, 53, 0.18);
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.article-cta p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.55;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto 2rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.article-page .container > .back-link {
  display: table;
}

.back-link:hover {
  color: var(--brand-red);
}

/* Galeria em grid */
.gallery-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #ffffff, #fffef7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #f8f8f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(229, 57, 53, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


/* Imagens dentro dos artigos */
.article-inline {
  margin: 2.25rem auto;
  max-width: 100%;
}

.article-inline img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.article-inline figcaption {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  text-align: center;
  line-height: 1.45;
}

