/* ===================================================
   PÁGINA SOBRE - GESTÃO DE PESSOAS - IDB
   Design Moderno & Corporativo
   =================================================== */

/* ========================
   HERO
   ======================== */
.sobre-hero {
  background: linear-gradient(135deg, #0c2671 0%, #1a3a9e 60%, #2d57c8 100%);
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -25px;
}

.sobre-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70'%3E%3Cpath fill='%23f8f9fa' d='M0,32L80,37C160,43,320,53,480,53C640,53,800,43,960,37C1120,32,1280,32,1360,32L1440,32L1440,70L1360,70C1280,70,1120,70,960,70C800,70,640,70,480,70C320,70,160,70,80,70L0,70Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

.sobre-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.sobre-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
}

.sobre-hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.sobre-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin: 0;
}

/* ========================
   SEÇÃO BASE
   ======================== */
.sobre-section {
  padding: 65px 0;
  background: #f8f9fa;
}

.sobre-section--alt {
  background: linear-gradient(135deg, #0c2671 0%, #1a3a9e 100%);
}

.sobre-mvv-section {
  background: #ffffff;
}

.sobre-section-header {
  text-align: center;
  margin-bottom: 44px;
}

.sobre-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(12, 38, 113, 0.07);
  color: #0c2671;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(12, 38, 113, 0.12);
  margin-bottom: 12px;
}

.sobre-section-badge--white {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.sobre-section-badge--blue {
  background: rgba(12, 38, 113, 0.07);
  color: #0c2671;
  border-color: rgba(12, 38, 113, 0.12);
}

.sobre-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0c2671;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  position: relative;
  padding-bottom: 16px;
}

.sobre-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 3px;
  background: linear-gradient(90deg, #0c2671, #3b82f6);
  border-radius: 2px;
}

.sobre-section-title--white {
  color: #fff;
}

.sobre-section-title--white::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.5), #fff, rgba(255,255,255,0.5));
}

.sobre-section-sub {
  font-size: 0.98rem;
  color: #6b7280;
  margin: 0;
  margin-top: 5px;
}

.sobre-section-sub--white {
  color: rgba(255, 255, 255, 0.75);
}

/* ========================
   NOSSA HISTÓRIA
   ======================== */
.sobre-historia-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.sobre-historia-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  text-align: justify;
}

.sobre-historia-text p {
  margin-bottom: 16px;
}

.sobre-historia-text p:last-child {
  margin-bottom: 0;
}

/* Stats grid */
.sobre-historia-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sobre-stat-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(12, 38, 113, 0.08);
  box-shadow: 0 2px 10px rgba(12, 38, 113, 0.07);
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(12, 38, 113, 0.12);
}

.sobre-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0c2671;
  line-height: 1;
  background: linear-gradient(135deg, #0c2671, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sobre-stat-label {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.3;
}

/* ========================
   DIRETORIA
   ======================== */
.sobre-diretoria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.sobre-diretor-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 28px 24px 22px;
  text-align: center;
  width: 190px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sobre-diretor-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.sobre-diretor-img-wrapper {
  margin-bottom: 16px;
}

.sobre-diretor-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.sobre-diretor-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sobre-diretor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.sobre-diretor-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  display: block;
  line-height: 1.4;
}

/* ========================
   MISSÃO, VISÃO E VALORES
   ======================== */
.sobre-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sobre-mvv-card {
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.sobre-mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

.sobre-mvv-card--missao {
  background: linear-gradient(155deg, #0c2671, #1a3a9e);
  color: #fff;
}

.sobre-mvv-card--visao {
  background: linear-gradient(155deg, #0077b6, #0089ba);
  color: #fff;
}

.sobre-mvv-card--valores {
  background: linear-gradient(155deg, #0369a1, #0284c7);
  color: #fff;
}

.sobre-mvv-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.sobre-mvv-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}

.sobre-mvv-divider {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin: 14px auto;
  border-radius: 1px;
}

.sobre-mvv-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin: 0;
}

/* ========================
   EDUCANDO COM AMOR
   ======================== */
.sobre-amor-section {
  background: #f8f9fa;
  padding: 65px 0;
}

.sobre-amor-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
}

.sobre-amor-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0c2671;
  margin: 14px 0 18px;
  letter-spacing: -0.3px;
}

.sobre-amor-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
}

.sobre-amor-text p {
  margin-bottom: 16px;
}

.sobre-amor-quote {
  background: rgba(12, 38, 113, 0.05);
  border-left: 4px solid #0c2671;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px 18px 20px;
  margin: 22px 0;
}

.sobre-amor-quote i {
  color: #0c2671;
  font-size: 1.4rem;
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}

.sobre-amor-quote p {
  font-style: italic;
  color: #374151;
  font-size: 0.96rem;
  margin: 0 0 10px;
}

.sobre-amor-quote footer {
  font-size: 0.82rem;
  color: #3d1db2;
  font-weight: 500;
}

.sobre-amor-img-col {
  text-align: center;
}

.sobre-amor-img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(12, 38, 113, 0.2);
  max-width: 100%;
  width: 400px;
  object-fit: cover;
  border: 4px solid #fff;
  outline: 2px solid rgba(12, 38, 113, 0.15);
}

.sobre-amor-img-caption {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 10px;
  font-style: italic;
}

/* ========================
   RESPONSIVO
   ======================== */
@media (max-width: 991px) {
  .sobre-historia-grid {
    grid-template-columns: 1fr;
  }

  .sobre-historia-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .sobre-mvv-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .sobre-amor-grid {
    grid-template-columns: 1fr;
  }

  .sobre-amor-img-col {
    order: -1;
  }
}

@media (max-width: 767px) {
  .sobre-hero-title {
    font-size: 1.7rem;
  }

  .sobre-section-title {
    font-size: 1.6rem;
  }

  .sobre-historia-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre-diretor-card {
    width: 160px;
    padding: 22px 16px 18px;
  }

  .sobre-mvv-grid {
    max-width: 100%;
  }
}
