/* ─── DOWNLOADS CONTENT AREA ─── */
.downloads-content-area {
  min-height: 60svh;
  background-color: #ffffff;
  padding-top: 100px;
}

@media (max-width: 768px) {
  .downloads-content-area {
    padding-top: 88px;
  }
}

/* ─── SEÇÃO DOWNLOADS DE DOCUMENTOS (TIMELINE) ─── */
.downloads-section {
  width: min(calc(100% - 48px), var(--container-max));
  margin: 0 auto;
  padding: 96px 0;
  color: var(--cinza-texto, #2c2c2c);
  font-family: 'Geist', sans-serif;
}

.downloads-container {
  max-width: 900px;
  margin: 0 auto;
}

.downloads-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 740px;
  margin: 0 auto 74px auto;
}

.downloads-heading h2 {
  font-size: clamp(34px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.389;
  letter-spacing: .72px;
  text-transform: uppercase;
  color: var(--azul, #1c2545);
  margin: 0;
}

.downloads-heading p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.389;
  letter-spacing: .36px;
  color: #555555;
  margin: 0;
}

/* Layout da Timeline */
.downloads-timeline {
  position: relative;
  margin-bottom: 64px;
}

.timeline-line {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 28px;
  width: 2px;
  background: #eef2fb;
  z-index: 1;
}

.timeline-item {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul, #1c2545);
  box-shadow: 0 4px 12px rgba(28, 37, 69, 0.04);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.timeline-badge .calendar-icon {
  width: 24px;
  height: 24px;
}

.timeline-item:hover .timeline-badge {
  background: var(--azul, #1c2545);
  color: #ffffff;
  transform: scale(1.05);
}

.timeline-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--azul, #1c2545);
  margin: 0;
  line-height: 1.2;
}

.timeline-subheader {
  font-size: 14px;
  font-weight: 400;
  color: #6c7a9c;
}

/* Card de Download */
.download-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #eef2fb;
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(28, 37, 69, 0.06);
  border-color: rgba(28, 37, 69, 0.15);
}

.download-card__icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  color: #8a99ad;
  transition: background 0.3s, color 0.3s;
}

.download-card__icon-box .pdf-icon {
  width: 24px;
  height: 24px;
}

.download-card:hover .download-card__icon-box {
  background: rgba(28, 37, 69, 0.05);
  color: var(--azul, #1c2545);
}

.download-card__details {
  flex-grow: 1;
}

.download-card__details h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--azul, #1c2545);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.download-card__metadata {
  font-size: 14px;
  color: #8a99ad;
  margin: 0;
}

.download-card__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--azul, #1c2545);
  text-decoration: none;
  transition: color 0.25s, gap 0.25s;
}

.download-card__link-text {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
}

.download-card__link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.download-card__link-arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.download-card:hover .download-card__link {
  color: #9b876b; /* Transição para dourado no hover */
}

.download-card:hover .download-card__link-arrow {
  transform: translateX(4px);
}

/* Card Informativo Inferior */
.downloads-info-card {
  background: #f8f9fc;
  border-radius: 24px;
  padding: 40px;
  margin-top: 64px;
  border: 1px solid rgba(28, 37, 69, 0.04);
}

.downloads-info-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--azul, #1c2545);
  margin: 0 0 16px 0;
}

.downloads-info-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .downloads-section {
    width: min(calc(100% - 32px), var(--container-max));
    padding: 72px 0;
  }
  
  .downloads-heading {
    margin-bottom: 54px;
  }
  
  .timeline-line {
    display: none;
  }
  
  .timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 16px;
    margin-bottom: 36px;
  }
  
  .timeline-badge {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    align-self: center;
  }
  
  .timeline-content {
    display: contents;
  }
  
  .timeline-header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .timeline-badge .calendar-icon {
    width: 18px;
    height: 18px;
  }
  
  .download-card {
    grid-column: 1 / span 2;
    grid-row: 2;
    width: 100%;
    padding: 20px 24px;
  }
  
  .download-card__icon-box {
    width: 48px;
    height: 48px;
    margin-right: 16px;
  }
  
  .download-card__icon-box .pdf-icon {
    width: 20px;
    height: 20px;
  }
  
  .download-card__details h4 {
    font-size: 15px;
  }

  .download-card__metadata {
    font-size: 12px;
  }

  .download-card__link-text {
    font-size: 14px;
  }
  
  .downloads-info-card {
    padding: 32px 24px;
    margin-top: 48px;
  }
}

@media (max-width: 576px) {
  .download-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 16px;
    align-items: center;
    padding: 20px 24px;
  }
  
  .download-card__icon-box {
    grid-column: 1;
    grid-row: 1;
    margin-right: 0;
  }
  
  .download-card__details {
    grid-column: 2;
    grid-row: 1;
  }
  
  .download-card__link {
    grid-column: 1 / span 2;
    grid-row: 2;
    align-self: flex-start;
  }
}
