/*// css/style.css*/

/* --- Global & Fonts --- */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* MODIFICADO: Estilo de links agora usa variáveis CSS */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.text-primary {
    color: var(--primary-color) !important;
}


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

.section-title {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.section-title.text-start {
    text-align: left !important;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}


/* --- Loader --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color); /* MODIFICADO: Spinner com a cor do tema */
}

/* --- Header --- */
.site-header {
    background-color: #fff;
    padding: 0px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all 0.3s ease;
}

.site-header .navbar-brand img {
    max-height: 50px;
}

.site-header .nav-link {
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    position: relative;
}
.site-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    width: 80%;
}

.search-form .form-control {
    border-radius: 20px 0 0 20px;
}
.search-form .btn {
    border-radius: 0 20px 20px 0;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.search-form .btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- Main Content --- */
#main-content {
    padding-top: 1rem;
    padding-bottom: 3rem;
    min-height: 70vh;
}

/* --- Main Slider --- */
.main-slideshow img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* --- News Section --- */
.card-noticia {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-noticia:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.card-noticia-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-noticia .card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-noticia .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    min-height: 44px;
}

.card-noticia .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    flex-grow: 1;
}

.card-noticia .data-pub {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    display: block;
}

/* --- Página de Serviços --- */
.service-card {
    border: none;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* --- Página de Clientes (Slideshow) --- */
.slide-clientes-pagina .cliente-logo-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-clientes-pagina img {
    max-width: 180px;
    max-height: 90px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.slide-clientes-pagina a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.slide-clientes-pagina .slick-prev:before,
.slide-clientes-pagina .slick-next:before {
    color: #333;
}

/* --- Página FAQ --- */
.accordion-button {
    font-weight: 600;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-color);
}
.accordion-button:focus {
    box-shadow: none;
}

/* --- Sidebar --- */
.sidebar-bloco {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-bloco h4 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sidebar-bloco ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-bloco ul li a {
    display: block;
    padding: 0.5rem 0;
    color: #333;
    border-bottom: 1px dashed #ddd;
    font-size: 0.9rem;
}

.sidebar-bloco ul li:last-child a {
    border-bottom: none;
}

/* --- Footer --- */
.site-footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 3rem 0;
}
.site-footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}
.site-footer .footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
}
.site-footer p, .site-footer a {
    color: #adb5bd;
    font-size: 0.9rem;
}
.site-footer a:hover {
    color: #fff;
}
.footer-bottom {
    background-color: #212529;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
}

/* --- Client Logos (Rodape) --- */
.bloco-banners-rodape {
    padding: 2rem 0;
    background-color: transparent !important;
}
.slide-rodape .logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px 10px 5px !important;
}
.slide-rodape .logo-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.slide-rodape .logo-item a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }
}
@media (max-width: 767.98px) {
    .main-slideshow img {
        height: 300px;
    }
    .card-noticia-img-top {
        height: 180px;
    }
}
/* --- Página Equipe --- */
.cargo-title {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #eee;
    line-height: 0.1em;
    margin-bottom: 40px;
}
.cargo-title span {
    background: #fff;
    padding: 0 20px;
    font-weight: 400;
}
.team-member-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}
.team-member-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.team-member-card .card-img-top {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}
.team-member-card .card-title {
    color: var(--primary-color);
}

/* --- Home Page Novos Blocos --- */
.home-news-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2rem;
}
.home-news-item:last-of-type {
    border-bottom: none;
}
.home-news-item img {
    transition: transform 0.3s ease;
}
.home-news-item a:hover img {
    transform: scale(1.05);
}
.bg-light {
    background-color: #f8f9fa !important;
}

/* --- Botões Outline --- */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
/* --- Seção de Serviços na Home --- */
.service-card-home {
    border: 1px solid #eee;
    background-color: #fff;
    transition: all 0.3s ease;
}
.service-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.service-card-home .service-icon {
    font-size: 2rem;
}
.service-card-home .card-title {
    font-weight: 600;
    font-size: 1rem;
}

/* --- Notícias da Home --- */
.home-news-item p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* --- Seção da Equipe no Rodapé --- */
.footer-team-member {
    display: flex;
    align-items: center;
}
.footer-team-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}
.footer-team-info {
    display: flex;
    flex-direction: column;
}
.footer-team-info strong {
    color: #fff;
    font-weight: 600;
}
.footer-team-info span {
    font-size: 0.85rem;
    color: #adb5bd;
}
.footer-team-info a {
    font-size: 0.8rem;
    margin-top: 5px;
}
/* --- Seção de Serviços na Home --- */
.service-card-home {
    border: 1px solid #eee;
    background-color: #fff;
    transition: all 0.3s ease;
}
.service-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.service-card-home .service-icon {
    font-size: 2rem;
}
.service-card-home .card-title {
    font-weight: 600;
    font-size: 1rem;
}

/* --- Notícias da Home --- */
.home-news-item p {
    font-size: 0.9rem;
    color: #6c757d;
}

.slick-slide {
    background: #3b3b3b !important;
    margin: 0px 5px 0px 5px !important;
    border-radius: 8px !important;
}