.downloads-hero-section {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.downloads-hero-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px 52px;
  border-radius: 28px;
  background: rgba(250, 187, 0, 1);
  box-shadow: 0 24px 70px rgba(14, 44, 77, 0.16);
}

.downloads-hero-card:before {
  content: '';
  position: absolute;
  right: -90px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.downloads-hero-card:after {
  content: '';
  position: absolute;
  right: 110px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.downloads-hero-content,
.downloads-hero-stats {
  position: relative;
  z-index: 1;
}

.downloads-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.13);
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.downloads-hero-content h1 {
  margin-bottom: 12px;
  color: #000000;
  font-size: 48px;
  line-height: 1.05em;
  font-weight: 800;
}

.downloads-hero-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(0, 0, 0, 0.86);
  font-size: 18px;
  line-height: 1.65em;
}

.downloads-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 16px;
  min-width: 280px;
}

.downloads-stat-box {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  backdrop-filter: blur(8px);
}

.downloads-stat-box strong {
  display: block;
  color: #000000;
  font-size: 34px;
  line-height: 1em;
  font-weight: 800;
}

.downloads-stat-box span {
  display: block;
  margin-top: 7px;
  color: rgba(0, 0, 0, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.downloads-page-section {
  background: #ffffff;
}

.downloads-sidebar,
.downloads-content-panel {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(16, 40, 74, 0.09);
}

.downloads-sidebar {
  position: sticky;
  top: 110px;
  padding: 28px;
}

.downloads-search-box {
  margin-bottom: 26px;
}

.downloads-search-box label {
  display: block;
  margin-bottom: 10px;
  color: #14213d;
  font-size: 16px;
  font-weight: 800;
}

.downloads-search-field {
  position: relative;
}

.downloads-search-field input {
  width: 100%;
  height: 54px;
  padding: 12px 48px 12px 18px;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  background: #f7f9fc;
  color: #14213d;
  font-size: 15px;
  transition: all 0.25s ease;
}

.downloads-search-field input:focus {
  border-color: #0b2d4d;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 45, 77, 0.08);
}

.downloads-search-field i {
  position: absolute;
  right: 18px;
  top: 50%;
  color: #7e8998;
  transform: translateY(-50%);
}

.downloads-category-panel h3 {
  margin-bottom: 16px;
  color: #14213d;
  font-size: 20px;
  font-weight: 800;
}

.downloads-category-panel ul {
  margin: 0;
  padding: 0;
}

.downloads-category-panel li {
  list-style: none;
}

.downloads-category-panel li + li {
  margin-top: 8px;
}

.downloads-category-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  color: #4d5968;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35em;
  background: #ffffff;
}

.downloads-category-panel a:hover,
.downloads-category-panel a.active {
  color: #ffffff;
  border-color: #0E0E0E;
  background:#0E0E0E;
}

.downloads-category-panel em {
  min-width: 32px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #f2f5f9;
  color: #0b2d4d;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.downloads-category-panel a:hover em,
.downloads-category-panel a.active em {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.downloads-category-panel a:hover span{
  color: rgba(250, 187, 0, 1);
}

.downloads-content-panel {
  padding: 34px;
}

.downloads-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #edf1f6;
}

.downloads-list-header span {
  display: block;
  margin-bottom: 7px;
  color: #748094;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.downloads-list-header h2 {
  margin: 0;
  color: #14213d;
  font-size: 34px;
  line-height: 1.15em;
  font-weight: 800;
}

.downloads-contact-link {
  flex: 0 0 auto;
  padding: 13px 22px;
  border-radius: 999px;
  background: #f0f4f8;
  color: #0b2d4d;
  font-size: 15px;
  font-weight: 800;
}

.downloads-contact-link:hover {
  background: #0b2d4d;
  color: #ffffff;
}

.downloads-category-section + .downloads-category-section {
  margin-top: 42px;
}

.downloads-category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.downloads-category-title h3 {
  margin: 0;
  color: #14213d;
  font-size: 24px;
  font-weight: 800;
}

.downloads-category-title span {
  color: #7a8491;
  font-size: 14px;
  font-weight: 700;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.downloads-card {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 20px;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: #ffffff;
  transition: all 0.25s ease;
}

.downloads-card:hover {
  border-color: rgba(11, 45, 77, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(16, 40, 74, 0.10);
}

.downloads-card[hidden] {
  display: none !important;
}

.downloads-card-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 66px;
  border-radius: 16px;
  background: #f5f7fa;
  text-align: center;
  color: #0b2d4d;
}

.downloads-card-icon i {
  display: block;
  padding-top: 12px;
  font-size: 24px;
}

.downloads-card-icon span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.downloads-card-body h4 {
  margin: 0 0 8px;
  color: #14213d;
  font-size: 17px;
  line-height: 1.35em;
  font-weight: 800;
}

.downloads-card-body p {
  margin: 0 0 12px;
  color: #6f7a88;
  font-size: 14px;
  line-height: 1.55em;
}

.downloads-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b2d4d;
  font-size: 14px;
  font-weight: 900;
}

.downloads-card-body a:hover {
  text-decoration: underline;
}

.downloads-empty-state,
.downloads-no-results {
  padding: 34px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  text-align: center;
}

.downloads-empty-state h3,
.downloads-no-results h3 {
  margin-bottom: 8px;
  color: #14213d;
  font-size: 22px;
  font-weight: 800;
}

.downloads-empty-state p,
.downloads-no-results p {
  margin: 0;
  color: #667085;
}

@media only screen and (max-width: 991px) {
  .downloads-hero-card,
  .downloads-list-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .downloads-hero-stats {
    width: 100%;
  }

  .downloads-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .downloads-hero-card {
    padding: 34px 26px;
  }

  .downloads-hero-content h1 {
    font-size: 36px;
  }

  .downloads-hero-content p {
    font-size: 16px;
  }

  .downloads-hero-stats,
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .downloads-content-panel,
  .downloads-sidebar {
    padding: 24px;
  }

  .downloads-list-header h2 {
    font-size: 28px;
  }

  .downloads-card {
    flex-direction: column;
  }
}

.downloads-subcategory-menu {
  margin: 8px 0 0 18px !important;
  padding: 0 !important;
}

.downloads-subcategory-menu li + li {
  margin-top: 6px;
}

.downloads-subcategory-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  background: #f8fafc;
}

.downloads-subcategory-section + .downloads-subcategory-section {
  margin-top: 30px;
}

.downloads-subcategory-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: #f8fafc;
}

.downloads-subcategory-title h4 {
  margin: 0;
  color: #14213d;
  font-size: 20px;
  line-height: 1.25em;
  font-weight: 800;
}

.downloads-subcategory-title span {
  flex: 0 0 auto;
  color: #7a8491;
  font-size: 13px;
  font-weight: 800;
}

.downloads-subcategory-section[hidden] {
  display: none !important;
}

.downloads-category-panel > ul > li > a span,
.downloads-subcategory-menu a span{
  min-width: 0;
}

.downloads-category-panel > ul > li > a span{
  text-transform: uppercase;
  letter-spacing: .02em;
}

.downloads-subcategory-menu a span{
  text-transform: none;
  letter-spacing: 0;
}

.downloads-subcategory-title{
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
}

/* Ajustes responsivos Lintec v21 - downloads */
.downloads-category-panel > ul > li > a,
.downloads-subcategory-menu a,
.downloads-card,
.downloads-subcategory-title{
  min-width: 0;
}

.downloads-category-panel > ul > li > a span,
.downloads-subcategory-menu a span,
.downloads-card h3,
.downloads-subcategory-title h4{
  overflow-wrap: anywhere;
  word-break: normal;
}

@media only screen and (max-width: 767px){
  .downloads-subcategory-menu{
    margin-left: 0 !important;
  }

  .downloads-subcategory-title{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 15px;
  }

  .downloads-subcategory-title h4{
    font-size: 18px;
  }

  .downloads-card .downloads-card-action,
  .downloads-card .theme-btn{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media only screen and (max-width: 575px){
  .downloads-hero-card{
    padding: 28px 20px;
    border-radius: 20px;
  }

  .downloads-hero-content h1{
    font-size: 30px;
  }

  .downloads-content-panel,
  .downloads-sidebar{
    padding: 18px;
    border-radius: 18px;
  }

  .downloads-card{
    padding: 18px;
  }
}


/* Accordion de subcategorias - página Downloads */
.downloads-subcategory-section {
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: #ffffff;
}

.downloads-subcategory-section + .downloads-subcategory-section {
  margin-top: 16px;
}

.downloads-subcategory-section[hidden] {
  display: none !important;
}

.downloads-subcategory-section > .downloads-subcategory-title {
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.downloads-subcategory-section > .downloads-subcategory-title::-webkit-details-marker {
  display: none;
}

.downloads-subcategory-section > .downloads-subcategory-title h4 {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
}

.downloads-subcategory-section > .downloads-subcategory-title span {
  margin-left: auto;
  white-space: nowrap;
}

.downloads-subcategory-toggle {
  flex: 0 0 auto;
  margin-left: 12px;
  color: #0b2d4d;
  font-size: 13px;
  transition: transform 0.25s ease;
}

.downloads-subcategory-section[open] > .downloads-subcategory-title {
  border-bottom: 1px solid #edf1f6;
}

.downloads-subcategory-section[open] > .downloads-subcategory-title .downloads-subcategory-toggle {
  transform: rotate(180deg);
}

.downloads-subcategory-content {
  padding: 18px;
  background: #ffffff;
}

@media only screen and (max-width: 767px){
  .downloads-subcategory-section > .downloads-subcategory-title{
    flex-direction: row;
    align-items: center;
  }

  .downloads-subcategory-section > .downloads-subcategory-title h4{
    font-size: 17px;
  }

  .downloads-subcategory-section > .downloads-subcategory-title span{
    white-space: normal;
    text-align: right;
  }

  .downloads-subcategory-content{
    padding: 15px;
  }
}

/* Navegação por botões - página Downloads v1.3 */
.downloads-navigation-section + .downloads-files-section,
.downloads-files-section + .downloads-files-section,
.downloads-navigation-section + .downloads-navigation-section {
  margin-top: 30px;
}

.downloads-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.downloads-section-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #14213d;
  font-size: 18px;
  line-height: 1.25em;
  font-weight: 800;
}

.downloads-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.downloads-nav-grid--categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.downloads-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%);
  color: #14213d;
  transition: all 0.25s ease;
}

.downloads-nav-card:hover {
  border-color: rgba(11, 45, 77, 0.24);
  color: #14213d;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 40, 74, 0.10);
}

.downloads-nav-card[hidden],
.downloads-navigation-section[hidden],
.downloads-files-section[hidden] {
  display: none !important;
}

.downloads-nav-card__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #0E0E0E;
  color: #ffffff;
  font-size: 20px;
}

.downloads-nav-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.downloads-nav-card__body strong {
  display: block;
  margin-bottom: 4px;
  color: #14213d;
  font-size: 17px;
  line-height: 1.3em;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.downloads-nav-card__body small {
  display: block;
  color: #748094;
  font-size: 13px;
  font-weight: 800;
}

.downloads-nav-card__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(250, 187, 0, 0.18);
  color: #0E0E0E;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.downloads-nav-card:hover .downloads-nav-card__action {
  background: #FABB00;
}

@media only screen and (max-width: 991px) {
  .downloads-nav-grid--categories {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .downloads-nav-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .downloads-nav-card__action {
    width: 100%;
    justify-content: center;
  }
}
