﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.hidden {
    display: none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.2);
}
    
.swiper-button-prev {
    background-image: url('../images/arrow-prev.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.swiper-button-next {
    background-image: url('../images/arrow-next.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.swiper-pagination-bullet {
    background-color: black;
}


.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.swiper-slide-container {
    text-align: center;
}

.swiper-slide-pagination {
    bottom: 10px;
    z-index: 10;
}

.swiper-slide-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #f0ad4e;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: black;
}

#chatbase-bubble-window {
    bottom: 160px !important;
    height: 80vh !important;
}

#chatbase-bubble-button {
    bottom: 90px !important;
    right: 22px !important;
}

/*New Layout*/
.hero-section {
    background-color: #fcfcfc
}

.hero-background-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/home/principal-image-home.webp');
    background-size: cover;
    background-position: center center;
    min-height: 60vh;
    padding-top: 120px;
    padding-bottom: 200px;
    position: relative;
    width: 100%;
}

.hero-section h1 {
    font-size: 2.8rem;
}

.hero-section .lead {
    font-size: 1.1rem;
}

.video-play-button i {
    font-size: 1.5em;
    vertical-align: middle;
}

.info-card {
    background-color: #0A2342;
    color: white;
    border-radius: 0.5rem;
    border: 3px solid #FFC107;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

    .info-card .card-title {
        color: white;
    }

.info-card-icon {
    width: 40px;
    height: 40px;
}

.info-card ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

    .info-card ul li i {
        margin-top: 0.15em;
    }

@media (max-width: 767.98px) {
    .hero-background-image {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 150px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-section .container[style*="margin-top: -180px;"] {
        margin-top: -120px !important;
    }
}

/*--Partners--*/

.partners-section {
    background-color: #fcfcfc;
    /*padding: 2rem 0;*/
}

.partners-content-box {
    background-color: #fcfcfc;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.0rem;
    width: 85.5%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative; /* added */
}

/* Floating label */
.partners-floating-label {
    /*position: absolute;*/
    top: 14px;
    left: 18px;
    font-weight: 700;
    font-size: 26px;
    margin-top:12px;
    margin-bottom:4px;
    text-align:center;
    /*pointer-events: none; /* do not block clicks on logos */
    color: inherit;
}

.partners-label {
    font-weight: 700;
    font-size: 26px;
    padding: 0.35rem 0rem;
    display: inline-block;
    vertical-align: middle;    
}

.partner-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding-right: 0.8rem;
    margin-right: 0.8rem;
    /*border-right: 1px solid #dee2e6;*/    
}

.partner-logos-wrapper .partner-logo-link:last-of-type {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.partner-logo {
    width: 130px;
    height: 100px;
    margin-left:30px;
    object-fit: contain;
    transition: opacity 0.2s ease-in-out;
}

.partner-logo-link:hover .partner-logo {
    opacity: 1;
}

.accelerated-by-inline-img {
    width: 300px;
    height: 44.583px;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .partners-label {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .partner-logos-wrapper {
        justify-content: center;
    }

    .partner-logo-link {
    }

    .partner-logos-wrapper .partner-logo-link:last-of-type {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }

    .partners-section .text-lg-start,
    .partners-section .text-lg-end {
        text-align: center !important;
    }

    .partners-content-box {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {

    .partner-logo-link {
        padding-right: 0.75rem;
        margin-right: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .partner-logos-wrapper .partner-logo-link {
        border-right: none;
    }

        .partner-logos-wrapper .partner-logo-link:last-of-type {
            margin-bottom: 0.75rem;
        }


    .partner-logo {
        width: 100px;
        height: 50px;
    }

    .accelerated-by-inline-img {
        width: 280px;
        height: auto;
    }
}

/*Members opinions*/
.testimonials-section {
    background-color: #e9ecef;
    padding-bottom: 20px;
}
    
    .testimonials-section .section-title {
        font-weight: 700;        
        font-size:24px;
        padding-bottom: 24px;
        padding-top: 0px;
        margin: 0
    }
    
    .testimonials-section .testimonials-carousel {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        overflow: hidden;
        align-content:center;
    }
    
    .testimonials-section .testimonial-card {
        background-color: #fff;
        border: 1px solid #FFC107;
        border-radius: 0.5rem;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 48px;
        padding-right: 48px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        min-height: 310px;
        display: flex;
        flex-direction: column;        
    }

    .testimonials-section .testimonial-header {
        display: flex;
        align-items: center;
        margin-bottom: 0.1rem;
    }

    .testimonials-section .testimonial-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 1rem;
        border: 2px solid #f0f2f5;
    }

    .testimonials-section .testimonial-info {
        line-height: 1.3;
    }

    .testimonials-section .testimonial-name {
        font-size: 0.9rem;
        font-weight: 600;        
        margin-bottom: 0.2rem; 
    }

    .testimonials-section .testimonial-company {
        font-size: 0.7rem;        
        margin-bottom: 0;
    }

    .testimonials-section .testimonial-text {
        font-size: 0.8rem;
        color:black;        
        line-height: 1.65;
        flex-grow: 1;
    }

    .testimonials-section .testimonial-swiper-navigation {
        text-align: center;
        margin-top: 0rem;
        margin-bottom: 10rem;
    }

   

    .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-prev,
    .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-next {
        position: static;
        transform: none;
        display: inline-flex;
        align-items: center;        
        margin: 0 0.4rem; 
        width: 33px; 
        height: 33px;         
        background-color: #fff;
        color: #FFC107;
        border: 2px solid #FFC107;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-prev::after,
        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-next::after {
            display: none;
        }
        
        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-prev i,
        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-next i {
            font-size: 1rem;
            line-height: 1;
        }

        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-prev:not(.swiper-button-disabled):hover,
        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-next:not(.swiper-button-disabled):hover {
            background-color: #FFC107;
            color: #fff;
            border-color: #e0a800;
            box-shadow: 0 3px 7px rgba(0,0,0,0.15);
        }

        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-prev.swiper-button-disabled,
        .testimonials-section .testimonials-carousel-navigation .testimonials-carousel-button-next.swiper-button-disabled {
            background-color: #f8f9fa;
            color: #adb5bd;
            border-color: #dee2e6;
            box-shadow: none;
            opacity: 0.65;
            cursor: not-allowed;
        }


    .testimonials-section .testimonials-carousel-pagination {
        margin-top: 1rem; 
        position: static; 
    }

        .testimonials-section .testimonials-carousel-pagination .swiper-pagination-bullet {
            background-color: #adb5bd;
            opacity: 0.7;
            width: 10px;
            height: 10px;
            margin: 0 5px !important;
        }

        .testimonials-section .testimonials-carousel-pagination .swiper-pagination-bullet-active {
            background-color: #FFC107;
            opacity: 1;
        }

@media (max-width: 767.98px) {
    .testimonials-section .testimonial-card {
        padding: 1.25rem; 
    }

    .testimonials-section .testimonial-avatar {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }

    .testimonials-section .testimonial-name {
        font-size: 1rem;
    }

    .testimonials-section .testimonial-company,
    .testimonials-section .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonials-section .testimonial-swiper-navigation .testimonials-carousel-button-prev,
    .testimonials-section .testimonial-swiper-navigation .testimonials-carousel-button-next {
        width: 40px;
        height: 40px;
    }

        .testimonials-section .testimonial-swiper-navigation .testimonials-carousel-button-prev i,
        .testimonials-section .testimonial-swiper-navigation .testimonials-carousel-button-next i {
            font-size: 1.1rem;
        }
}

 /*-------------Categories------------------*/
.categories-section {
    background-color: #fcfcfc;
}

    .categories-section .section-title { 
        font-weight: 700;         
        margin-bottom: 1.5rem;
        font-size:24px;        
    }

    .categories-section .category-carousel-wrapper {
        display: flex;
        align-items: center; 
        gap: 0.75rem;
    }

    .categories-section .category-carousel {
                
        padding: 4px 0px;
    }

    .categories-section .swiper-slide { 
       width: 120px;
    }

    .categories-section .category-card-link {
        text-decoration: none;
        display: block;
        color: inherit;        
    }

    .categories-section .category-card {
        background-color: #fff;
        border: 1px solid #dee2e6; 
        border-radius: 0.375rem; 
        padding: 0rem 0rem;
        text-align: center;
        transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
        height: 100%; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height:110px;        
    }

        .categories-section .category-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-3px);
        }

    .categories-section .category-icon {
        max-width: 48px; 
        max-height: 48px;
        margin-bottom: 0.75rem;        
    }

    .categories-section .category-name {
        font-size: 0.9rem;
        font-weight: 500;
        color: #343a40;
    }
    
    .categories-section .category-carousel-button-prev,
    .categories-section .category-carousel-button-next {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px; 
        height: 110px; 

        background-color: #b2b2b2; 
        color: #fff; 
        border: none;
        cursor: pointer;
        transition: background-color 0.2s ease, opacity 0.2s ease;
        flex-shrink: 0; 
    }

    .categories-section .category-carousel-button-prev {
        border-top-right-radius: 0.375rem; 
        border-bottom-right-radius: 0.375rem; 
    }

    .categories-section .category-carousel-button-next {
        border-top-left-radius: 0.375rem; 
        border-bottom-left-radius: 0.375rem; 
    }

    .categories-section .category-carousel:hover .category-carousel-button-prev,
    .categories-section .category-carousel:hover .category-carousel-button-next {
        opacity: 1; 
    }
        
        .categories-section .category-carousel-button-prev::after,
        .categories-section .category-carousel-button-next::after {
            display: none;
        }

        .categories-section .category-carousel-button-prev i,
        .categories-section .category-carousel-button-next i {
            font-size: 1.5rem;
        }

        .categories-section .category-carousel-button-prev:not(.swiper-button-disabled):hover,
        .categories-section .category-carousel-button-next:not(.swiper-button-disabled):hover {
            background-color: #5a6268; 
        }
        
        .categories-section .category-carousel-button-prev.swiper-button-disabled,
        .categories-section .category-carousel-button-next.swiper-button-disabled {
            background-color: #ced4da;
            opacity: 0.4; 
            cursor: not-allowed;
        }

@media (max-width: 767.98px) {
    .categories-section .category-carousel-button-prev,
    .categories-section .category-carousel-button-next {
        height: 60px; 
        width: 30px;        
        left: -5px; 
        right: -5px; 
    }

        .categories-section .category-carousel-button-prev i,
        .categories-section .category-carousel-button-next i {
            font-size: 1.2rem;
        }
}

/*-- Bubuyog na Mídia --*/
.media-section {
    background-color: #e9ecef; /* Cor de fundo clara para destacar a seção, similar ao de depoimentos */
    padding-top: 40px;
    padding-bottom: 60px;
}

    .media-section .section-title {
        font-weight: 700;
        font-size: 28px;
        color: #0A2342; /* Cor principal, pode ser alterada */
    }

.media-carousel-container {
    position: relative;
    padding: 0px; /* Pequeno padding para os cantos */
}

.media-section .media-carousel {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
}

.media-section .media-slide {
    display: flex; /* Para garantir que o card preencha a altura */
    height: auto;
}

.media-section .media-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}

.media-section .media-card {
    background-color: #fff;
    border: 1px solid #FFC107; /* Borda amarela similar aos depoimentos */
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Garante que a imagem se ajuste ao card */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .media-section .media-card:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.media-section .media-image {
    width: 100%;
    height:245px;
    object-fit: cover;
    border-bottom: 1px solid #dee2e6;
}

.media-section .media-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.media-section .media-source {
    font-size: 0.8rem;
    color: #0A2342;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.media-section .media-title {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    flex-grow: 1; /* Para empurrar a data para o final */
}

.media-section .media-date {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Navegação do Carrossel - Adaptado dos seus depoimentos */
.media-section .media-carousel-navigation {
    margin-top: 1rem;
}

    .media-section .media-carousel-navigation .media-carousel-button-prev,
    .media-section .media-carousel-navigation .media-carousel-button-next {
        position: static;
        transform: none;
        margin: 0 0.4rem;
        width: 33px;
        height: 33px;
        background-color: #fff;
        color: #FFC107;
        border: 2px solid #FFC107;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        
    }

        .media-section .media-carousel-navigation .media-carousel-button-prev:after,
        .media-section .media-carousel-navigation .media-carousel-button-next:after {
            display: none;
        }

        .media-section .media-carousel-navigation .media-carousel-button-prev i,
        .media-section .media-carousel-navigation .media-carousel-button-next i {
            font-size: 1rem;
            line-height: 1;
        }

        .media-section .media-carousel-navigation .media-carousel-button-prev:not(.swiper-button-disabled):hover,
        .media-section .media-carousel-navigation .media-carousel-button-next:not(.swiper-button-disabled):hover {
            background-color: #FFC107;
            color: #fff;
            border-color: #e0a800;
            box-shadow: 0 3px 7px rgba(0,0,0,0.15);
        }

        .media-section .media-carousel-navigation .media-carousel-button-prev.swiper-button-disabled,
        .media-section .media-carousel-navigation .media-carousel-button-next.swiper-button-disabled {
            background-color: #f8f9fa;
            color: #adb5bd;
            border-color: #dee2e6;
            box-shadow: none;
            opacity: 0.65;
            cursor: not-allowed;
        }

/* Medias Query para ajustes de responsividade se necessário */
@media (max-width: 767.98px) {
    .media-section .section-title {
        font-size: 24px;
        margin-bottom: 2rem !important;
    }

    .media-section .media-image {
        height: 120px;
    }

    .media-section .media-title {
        font-size: 0.9rem;
    }

    .media-section .media-content {
        padding: 0.75rem;
    }
}