/* Fonte — reforço local caso global.css não tenha */
:root {
  --brand-600: #527a8f;
  --muted: #6b7280;
  --glass-bg: rgba(255,255,255,0.92);
}

html, body {
  font-family: 'Manrope', sans-serif;
}

/* Header (igual ao home) */
header.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 36px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15,23,36,0.06);
}

.logo {
  width: 80px;
  height: 30px;
  object-fit: contain;
}

/* Nav links */
header nav a {
  margin-left: 16px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px;
  transition: all 200ms;
  color: var(--muted);
  display: inline-block;
}

header nav a:hover,
header nav a.active {
  background: rgba(107,143,166,0.08);
  color: #0f1724;
}

header nav a:focus {
  outline: 2px solid rgba(82,122,143,0.18);
  outline-offset: 3px;
}

/* Fade-up (animações) */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 700ms cubic-bezier(.2,.9,.2,1);
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

/* Hero Sobre */
.hero-sobre {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(180deg,#fff,#fbfdff);
}

.hero-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  padding: 40px;
  border-radius: 20px;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(16,24,40,0.08);
}

.hero-panel h1 {
  font-size: 40px;
  margin-bottom: 18px;
  line-height: 1.05;
}

.hero-panel p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.btn-primary {
  background: linear-gradient(180deg,#6b8fa6,var(--brand-600));
  color: #fff;
  padding: 12px 26px;
  border-radius: 14px;
  font-weight: 700;
  transition: all 220ms;
  box-shadow: 0 6px 24px rgba(16,24,40,0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Valores */
.valores {
  padding: 60px 20px;
  text-align: center;
}
.valores h2 {
  font-size: 34px;
  margin-bottom: 28px;
}
.valores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media(min-width:768px) {
  .valores-grid {
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
  }
}
.valor-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(16,24,40,0.08);
  transition: all 220ms;
}
.valor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(16,24,40,0.12);
}
.valor-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.valor-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* Timeline */
.timeline {
  padding: 60px 20px;
  text-align: center;
}
.timeline h2 {
  font-size: 34px;
  margin-bottom: 28px;
}
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media(min-width:768px) {
  .timeline-grid {
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
  }
}
.timeline-card {
  background: rgba(255,255,255,0.94);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(16,24,40,0.08);
  transition: all 220ms;
}
.timeline-card .year {
  display: block;
  font-weight: 700;
  color: var(--brand-600);
  margin-bottom: 8px;
}

/* Equipe — centralizada */
.team {
  padding: 60px 20px;
  text-align: center;
}
.team h2 {
  font-size: 34px;
  margin-bottom: 28px;
}

/* Centraliza os cards da equipe */
.team-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.team-card {
  background: rgba(255,255,255,0.94);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(16,24,40,0.08);
  transition: all 220ms;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(16,24,40,0.12);
}
.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}
.team-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}
.team-card p {
  color: var(--muted);
  font-size: 15px;
}

/* CTA Final */
.cta-sobre {
  padding: 60px 20px;
  text-align: center;
}
.cta-panel {
  display: inline-block;
  background: rgba(107,143,166,0.08);
  backdrop-filter: blur(16px);
  padding: 36px 44px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(16,24,40,0.08);
}
.cta-panel h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.cta-panel p {
  color: var(--muted);
  margin-bottom: 18px;
}

/* Responsividade */
@media(max-width:768px){
  .hero-panel { padding: 28px; }
  .hero-panel h1 { font-size: 28px; }
  .valores, .timeline, .team { padding: 36px 16px; }
  header.header { padding: 14px 18px; }
  header nav a { padding: 6px 10px; margin-left: 10px; border-radius: 10px; }
  .team-grid { flex-direction: column; }
  .team-card { width: 100%; max-width: 280px; margin: 0 auto; }
}
