/* === 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-column {
        background: #FFF6F6;
        border-radius: 15px;
        padding: 20px;
        max-height: calc(100vh - 180px);
        overflow-y: auto;
    }

    .news-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

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

    .news-body {
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .news-title { font-weight: 600; color: #333; text-decoration: none; }
    .news-excerpt { font-size: 12.5px; color: #666; margin: 0; flex-grow: 1; }
    .news-meta { color: #999; }

    
    .news-card .author { position: relative; overflow: hidden; min-height: 30px; height: 22px; display: flex; align-items: center; }
    .news-card .blog-date,
    .news-card .author-name a { font-size: 14px; line-height: 1; font-weight: 500; color: #232323; }
    .news-card .blog-date {
    display: inline-block;
    transform: translateY(0);
    opacity: 1;
    transition: transform 320ms cubic-bezier(.25,.46,.45,.94), opacity 280ms;
    margin-right: 10px;
    }
    .news-card .author-name {
    position: absolute; left: 0; top: 0;
    transform: translateY(120%); opacity: 0;
    transition: transform 320ms cubic-bezier(.25,.46,.45,.94), opacity 320ms;
    transition-delay: 120ms;
    }

    
    .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: 0ms; }
    .news-card:hover .author-name { transform: translateY(0); opacity: 1; transition-delay: 120ms; }

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

    
    .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; }
    }
    }

/*Paginação dos Slides*/
#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;
}

/* barra ativa (indicador do slide atual) */
#banner-swiper .swiper-number .sw-dot.active {
    background-color: #dd6531;
    height: 50px;
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* versão mobile — estilo horizontal no rodapé */
@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 {
  /* garante largura/overflow previsíveis sem forçar quebras dentro das palavras */
  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;
  }
}
