/* ============= PAGE HERO ============= */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-deep);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4, 42, 62, 0.95) 0%,
    rgba(4, 42, 62, 0.7) 60%,
    rgba(4, 42, 62, 0.5) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
}

.page-hero-content .slide-tag {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-hero-content .slide-title {
  opacity: 1;
  transform: none;
  transition: none;
  margin-top: 16px;
}

.page-hero-content .slide-desc {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb svg {
  opacity: 0.4;
}

.breadcrumb span {
  color: var(--gold);
  font-weight: 600;
}

/* ============= HISTÓRIA ============= */
.qs-historia {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.qs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

/* ============= NÚMEROS ============= */
.qs-numeros {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #063d5c 100%);
  position: relative;
  overflow: hidden;
}

.qs-numeros::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.qs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.qs-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition:
    background var(--t),
    border-color var(--t),
    transform var(--t);
}

.qs-stat-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 180, 216, 0.4);
  transform: translateY(-4px);
}

.qs-stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.qs-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.qs-stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============= MISSÃO VISÃO VALORES ============= */
.qs-mvv {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.qs-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qs-mvv-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  border-top: 4px solid var(--blue);
  transition:
    transform var(--t),
    box-shadow var(--t);
}

.qs-mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 124, 165, 0.1);
}

.qs-mvv-card--featured {
  background: var(--blue-deep);
  border-color: var(--gold);
  border-top-color: var(--gold);
}

.qs-mvv-card--featured .qs-mvv-title {
  color: var(--gold);
}

.qs-mvv-card--featured .qs-mvv-text {
  color: rgba(255, 255, 255, 0.7);
}

.qs-mvv-card--featured .qs-mvv-icon {
  background: rgba(232, 160, 32, 0.15);
  color: var(--gold);
}

.qs-mvv-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
}

.qs-mvv-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.qs-mvv-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============= LINHA DO TEMPO ============= */
.qs-timeline {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--blue-light),
    var(--blue),
    var(--gold)
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item--left {
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.timeline-item--right {
  justify-content: flex-start;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--off-white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--blue);
  z-index: 1;
}

.timeline-dot--active {
  background: var(--gold);
  box-shadow:
    0 0 0 3px var(--gold),
    0 0 20px rgba(232, 160, 32, 0.4);
  width: 18px;
  height: 18px;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  max-width: 340px;
  transition:
    transform var(--t),
    box-shadow var(--t);
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.timeline-card--active {
  border-color: var(--gold);
  background: var(--gold-light);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.timeline-card--active .timeline-year {
  color: var(--gold);
}

.timeline-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============= CTA FINAL ============= */
.qs-cta {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #063d5c 100%);
  position: relative;
  overflow: hidden;
}

.qs-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.qs-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.qs-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition:
    background var(--t),
    border-color var(--t),
    transform var(--t);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline-white svg {
  transition: transform var(--t);
}

.btn-outline-white:hover svg {
  transform: translateX(4px);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .qs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .qs-mvv-grid {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    display: none;
  }

  .timeline-item--left,
  .timeline-item--right {
    padding: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-card {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .qs-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    min-height: 340px;
  }

  .qs-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 400px) {
  .qs-stats-grid {
    grid-template-columns: 1fr;
  }
}
