/* Enhanced styles for Seja Nosso Parceiro page - UI/UX improvements */
:root {
  --brand-900: #003366;
  --brand-600: #0056a7;
  --accent-500: #ff6b35;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --surface: #f8fafc;
}

.hero.section-blue { padding: 64px 0; text-align: center; background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%); }
.hero.section-blue h1 { color: var(--brand-900); font-size: 2.4rem; margin: 0; font-weight: 800; letter-spacing: -0.5px; }
.hero.section-blue .lead { color: var(--brand-600); font-weight: 600; margin-top: 8px; max-width: 900px; margin-left: auto; margin-right: auto; }

.header-section { margin: 36px 0 18px; text-align: left; }
.header-section h2 { font-size: 2rem; color: var(--brand-900); margin: 0 0 12px; font-weight: 800; }

.copy { color: #111827; font-size: 1rem; line-height: 1.75; }
.copy p { margin-bottom: 14px; }
.copy ul { margin: 14px 0 22px 20px; padding-left: 10px; }
.copy ul li { margin-bottom: 8px; color: var(--muted); }

.section-subtitle { color: var(--muted); margin-bottom: 25px; }

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card-bg); padding: 22px; border-radius: 12px; box-shadow: 0 6px 20px rgba(16,24,40,0.06); border: 1px solid rgba(16,24,40,0.04); transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms; }
.card h4 { font-size: 1.05rem; color: var(--brand-900); margin-bottom: 8px; font-weight: 700; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card ul li { padding-left: 0; margin-bottom: 8px; color: var(--muted); }
.card p { margin: 6px 0; color: var(--muted); }
.card:focus-within, .card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(16,24,40,0.08); }

/* Two-column intro layout and illustration */
.grid-2 { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: center; }
.intro-grid .copy { max-width: 60ch; }
.section-illustration { width:100%; height:auto; border-radius:12px; box-shadow: 0 10px 30px rgba(2,6,23,0.06); }

/* Four-column partners grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-4 .card { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:18px; min-height:120px; }

/* CTA */
.btn-cta { display: inline-block; background: linear-gradient(90deg, var(--accent-500), #f7931e); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(247,147,30,0.18); }
.btn-cta:focus { outline: 3px solid rgba(0,86,167,0.12); outline-offset: 3px; }

/* Accessibility and motion preferences */
@media (prefers-reduced-motion: reduce) {
  .card, .card:focus-within, .card:hover { transform: none; transition: none; }
}

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-section h2 { font-size: 1.5rem; }
  .hero.section-blue { padding: 30px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero.section-blue h1 { font-size: 1.8rem; }
}

/* Small decorative accent for headings */
.header-section h2::after { content: ''; display: block; width: 56px; height: 6px; background: linear-gradient(90deg, var(--accent-500), #f7931e); border-radius: 6px; margin-top: 12px; }
