/* === DESKTOP === */

.swiper-left-wrapper {
    padding: 18px 12px;
    box-sizing: border-box;
}

#banner-swiper {
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-height: 480px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.row.g-0.align-items-start {
    align-items: stretch;
}

.col-lg-8.col-md-12.order-1 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.swiper-left-wrapper {
    padding: 18px 12px;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.features-below-swiper {
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    padding: 20px;
}

.features-below-swiper > .container-fluid,
.features-below-swiper .particles-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* === NEWS (substituir as regras antigas relacionadas a .news-*) === */

.news-column {
  background: #FFF6F6;
  border-radius: 15px;
  padding: 20px;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  box-sizing: border-box;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .26s ease, box-shadow .26s ease;
  box-sizing: border-box;
}

.news-thumb {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.news-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  gap: 6px;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.news-title {
  display: block;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  margin-bottom: 6px;
}

.news-excerpt {
  font-size: 12.5px;
  color: #666;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* ajuste linhas se quiser mais/menos */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-meta { color: #999; }

.news-card .author {
  margin-top: 8px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 30px;
  height: 22px;
}

.news-card .blog-date,
.news-card .author-name a {
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: #232323;
}

.news-card .author-name {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), opacity .32s;
  transition-delay: .12s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.news-card:hover .blog-date {
  transform: translateY(-120%);
  opacity: 0;
  transition-delay: 0;
}

.news-card:hover .author-name {
  transform: translateY(0);
  opacity: 1;
  transition-delay: .12s;
}

/* scrollbar */
.news-column::-webkit-scrollbar { width: 8px; }
.news-column::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 8px; }

/* === MOBILE + TABLET (até 991px) === */
@media (max-width: 991.98px) {

  .news-grid {
    justify-items: center;
    gap: 12px;
  }

  .news-card {
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
  }

  .news-column {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* === MOBILE (≤ 575px): 1 coluna compacta === */
@media (max-width: 575.98px) {

  .news-grid {
    grid-template-columns: 1fr !important;
  }

  .news-card {
    max-width: 300px;
  }

  .news-column {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .news-thumb {
    height: 110px;
  }
}

/* === TABLET (576px → 991px): 2 colunas === */
@media (min-width: 576px) and (max-width: 991.98px) {

  .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .news-card {
    max-width: 100% !important;
  }
}


.swiper, .swiper-wrapper, .swiper-slide, .cover-background {
  background-color: #FFF6F6 !important;
  box-sizing: border-box;
}
.cover-background {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-box { transform: none; padding: 10px 8px; gap: 8px; }
.feature-box-icon img { width: 44px; height: auto; margin-right: 12px; }
.feature-box-content span { font-size: 16px; margin-bottom: 6px; }
.feature-box-content p { font-size: 13.5px; line-height: 1.45; max-width: 320px; margin: 0; }

.icon-with-text-style-01 { margin-bottom: 60px !important; }
.scroll-cta .material-icons.scroll-icon { font-size: 28px; }
.news-column .btn-sm { padding: .35rem .7rem; font-size: .85rem; }

html, body { overflow-x: hidden; }

/* === MOBILE === */
@media (max-width: 991.98px) {

  .swiper-left-wrapper {
      padding: 20px 5px !important; 
      margin-top: -140px;
  }

  #banner-swiper,
  .swiper,
  .swiper-wrapper,
  .swiper-slide {
      box-sizing: border-box;
      width: 100vw !important;
      margin-left: calc(50% - 50vw) !important;
      margin-right: calc(50% - 50vw) !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  .swiper-wrapper { display: flex !important; }
  .swiper-slide { flex: 0 0 100% !important; max-width: 100% !important; }

  .swiper-slide img { width: 100% !important; height: auto !important; display: block !important; object-fit: cover !important; }
  .cover-background { background-size: cover !important; background-position: center center !important; }

  .container, .container-fluid { padding-left: 0 !important; padding-right: 0 !important; }

  #banner-swiper { min-height: 220px !important; max-height: 620px !important; overflow: hidden; }

  .features-below-swiper { margin-top: 16px !important; padding: 12px !important; border-radius: 8px; }
  .feature-box { transform: scale(0.9); padding: 8px; }
  .feature-box-icon img { width: 60px !important; margin-right: 12px !important; }
  .feature-box-content span { font-size: 15px; margin-bottom: 8px; }
  .feature-box-content p { font-size: 15px; line-height: 1.6; width: 95%; }

  .news-column {
      padding: 8px !important;
      max-height: none !important;
      overflow-y: visible !important;
      margin-top: 16px !important;
  }
  .news-grid { grid-template-columns: 1fr; gap: 12px !important; }
  .news-thumb { height: 110px !important; }
  .news-body { padding: 8px !important; gap: 6px !important; }
  .news-title { font-size: 15px; }
  .news-excerpt { font-size: 13px; }
  .news-card { border-radius: 6px; }
  .news-card:hover { transform: none !important; box-shadow: none !important; }
  .news-card .blog-date { transform: translateY(0) !important; opacity: 1 !important; }
  .news-card .author-name { transform: translateY(0) !important; opacity: 1 !important; }

  #banner-swiper,
  .features-below-swiper,
  .news-column {
      padding-left: 8px !important;
      padding-right: 8px !important;
  }

  .news-grid { gap: 10px !important; }

  .continue-link { display: none !important; }

  @media (max-width: 575.98px) {
      #banner-swiper { min-height: 200px !important; }
      .swiper-left-wrapper { padding: 18px 8px !important; }
      .features-below-swiper { padding: 10px !important; }
      .news-column { padding-left: 10px !important; padding-right: 10px !important; margin-top: 12px !important; }
  }
}

#banner-swiper .swiper-number {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

#banner-swiper .swiper-number .sw-dot {
  width: 6px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

#banner-swiper .swiper-number .sw-dot.active {
  background-color: #dd6531;
  height: 50px;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

@media (max-width: 991.98px) {
  #banner-swiper .swiper-number {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 8px;
      right: auto;
      top: auto;
  }

  #banner-swiper .swiper-number .sw-dot {
      width: 40px;
      height: 6px;
      border-radius: 3px;
  }

  #banner-swiper .swiper-number .sw-dot.active {
      width: 50px;
      height: 6px;
  }
}

.features-below-swiper .feature-box {
  min-width: 0;
  flex-direction: row;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.features-below-swiper .feature-box-content {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.features-below-swiper .feature-box-content span {
  display: block;
  -webkit-line-clamp: none !important;
  -webkit-box-orient: initial !important;
  display: block !important;
  overflow: visible !important;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.12;
  max-width: 100%;
  white-space: normal;
}

.features-below-swiper .feature-box-content p {
  font-size: clamp(13px, 1.0vw, 15px);
  line-height: 1.45;
  margin: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.features-below-swiper .feature-box-content,
.features-below-swiper .feature-box-content span,
.features-below-swiper .feature-box-content p {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 575.98px) {
  .features-below-swiper .feature-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .features-below-swiper .feature-box-content span {
    font-size: 16px;
    line-height: 1.16;
  }
}
.features-below-swiper .feature-box-icon img {
  width: 30px;
  height: auto;
  margin-right: 10px;
}

.features-below-swiper .feature-box-content span {
  font-size: clamp(13px, 1.0vw, 16px) !important;
  line-height: 1.12;
  margin-bottom: 6px;
}

.features-below-swiper .feature-box-content p {
  font-size: clamp(12px, 0.9vw, 14px) !important;
  line-height: 1.45;
  margin: 0;
  max-width: 100%;
}

.features-below-swiper .feature-box {
  padding: 8px 6px !important;
  gap: 6px;
}

@media (max-width: 575.98px) {
  .features-below-swiper .feature-box-icon img { width: 48px !important; }
  .features-below-swiper .feature-box-content span { font-size: 15px !important; }
  .features-below-swiper .feature-box-content p { font-size: 14px !important; }
}

@media (min-width: 992px) and (max-width: 1100px) {
  .features-below-swiper {
    transform: translateY(-28px) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .features-below-swiper .row.row-cols-lg-3 > .col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .features-below-swiper .row.g-3 {
    gap: 12px !important;
  }

  .features-below-swiper .feature-box-content p {
    max-width: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .features-below-swiper .feature-box-icon img {
    width: 30px !important;
  }
}

.features-below-swiper,
.features-below-swiper .container-fluid,
.features-below-swiper .row {
  box-sizing: border-box;
  overflow: visible;
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .features-below-swiper .col.icon-with-text-style-01 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}
@media (min-width: 1000px) and (max-width: 1200px) {
  .features-below-swiper .row.row-cols-lg-3 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;
  }

  .features-below-swiper .row.row-cols-lg-3 > .col {
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }

  .features-below-swiper .row.row-cols-lg-3 > .col:nth-child(3) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }

  .features-below-swiper .row.row-cols-lg-3 > .col:nth-child(3) .feature-box {
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
  }
}
#banner-swiper {
  border-radius: 15px;
  box-sizing: border-box;
  background-clip: padding-box;
}

#banner-swiper .swiper-number,
#banner-swiper .swiper-button-next,
#banner-swiper .swiper-button-prev {
  z-index: 15;
}
