:root {
  --brand: #5d486e;
  --brand-dark: #411268;
  --accent: #cdb7df;
  --text-light: #f8f9fa;
  --muted: #6f6b7a;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, rgba(65,18,104,0.85), rgba(93,72,110,0.95)),
              url("/static/images/editorial_images/editorial_images_footer.jpg") center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  padding: 90px 20px;
  position: relative;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero p {
    max-width: 880px;
    margin: 0 auto;
  font-size: 18px;
  color: rgba(255,255,255,0.88);
}

/* LOGOS */
.partners-showcase {
  padding: 80px 0;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-top: 40px;
  align-items: center;
  justify-items: center;
}
.logo-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(65,18,104,0.1);
}
.logo-card img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.9;
  transition: all .3s ease;
}
.logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* SEÇÕES */
.section {
  padding: 80px 0;
}
.section h2 {
  color: var(--brand-dark);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}
.section p.lead {
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 17px;
}
.bg-light {
  background: #f8f9fa;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.illustration img {
  width: 80%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* VALORES */
.value-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s ease;
}
.value-box:hover {
  transform: translateY(-5px);
}
.icon-large {
  font-size: 40px;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.value-box h3 {
  color: var(--brand);
  margin-bottom: 8px;
}

/* CTA */
.cta-partner {
  background: var(--brand-dark);
  color: #fff;
  padding: 70px 20px;
}
.cta-partner h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}
.cta-partner p.lead {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.cta-partner .btn {
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  color: var(--brand-dark);
  transition: all 0.2s;
}
.cta-partner .btn:hover {
  background: var(--accent);
  color: var(--brand-dark);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .illustration img {
    max-width: 90%;
    margin: 0 auto;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
  }
}
/* ===== Animação Fade-in ===== */
.fade-in {
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}