/* css/servicos.css */

/* --- Seção Header Serviços --- */
#servicos-header {
    /* Fundo da seção inteira */
    background-image: url('../imagens/servicos/BackgroundServicos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Padding para dar espaço ao título */
    padding: 3rem 1rem;
}

/* --- Seção Body Serviços --- */
#servicos-body {
    /* Fundo branco para a seção inteira */
    background-color: #ffffff;
}

/* --- Título (PRINCIPAIS SERVIÇOS) --- */
/* O wrapper do título não precisa mais de regras de fundo ou padding */

.servicos-title-wrapper .display-3 {
    font-weight: 700;
    color: var(--cor-light); /* Branco */
    text-transform: uppercase;
}
.servicos-title-wrapper .display-1 {
    font-weight: 700;
    color: var(--cor-brand-navbar); /* Ciano claro (#00DCDA) */
    text-transform: uppercase;
    margin-top: -1.5rem;
    line-height: 1;
}

/* --- Caixa do Slide (Layout) --- */
.servicos-slide-box {
    display: flex;
    align-items: center;
    min-height: 350px; 
    flex-direction: column; /* Mobile-first */
}

/* --- Caixa da Imagem (Ciano) --- */
.servicos-img-box {
    background-color: var(--cor-brand-navbar); /* Fundo ciano */
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px; /* Altura fixa no mobile */
    flex-shrink: 0; 
}
.servicos-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Caixa de Texto (Direita) --- */
.servicos-text-box {
    color: var(--cor-dark); 
    padding: 1.5rem 0.5rem; 
    text-align: left;
    width: 100%;
}
.servicos-text-box span {
    font-size: 1rem;
    font-weight: 600;
    color: #adb5bd; /* Cinza claro */
}
.servicos-text-box h4 {
    color: var(--cor-brand-navbar); /* Ciano */
    font-weight: 700;
    font-size: 1.75rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.servicos-text-box ul {
    list-style: none;
    padding-left: 1.25rem; 
    margin-bottom: 0;
}
.servicos-text-box ul li {
    color: var(--cor-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    position: relative;
}
.servicos-text-box ul li::before {
    content: '•';
    color: var(--cor-brand-navbar);
    font-weight: 700;
    position: absolute;
    left: -1.25rem;
    top: 0;
}


/* --- Indicadores (Pontos) do Carrossel --- */
#servicos-body .carousel-indicators {
    position: static;
    margin-top: 1.5rem;
    margin-bottom: 0;
}
#servicos-body .carousel-indicators button {
    /* AJUSTE: Cinza mais escuro para contraste no fundo branco */
    background-color: #adb5bd; 
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    border: 0;
    opacity: 1;
}
#servicos-body .carousel-indicators .active {
    background-color: var(--cor-dark); /* Ponto preto (ativo) */
}


/* --- Controles (Setas) do Carrossel --- */
/* (Agora sobre o fundo branco da seção) */
#servicos-body .carousel-control-prev-icon,
#servicos-body .carousel-control-next-icon {
    /* Filtro ciano (funciona bem no branco) */
    filter: brightness(0) saturate(100%) invert(60%) sepia(99%) saturate(1006%) hue-rotate(130deg) brightness(97%) contrast(101%);
    background-color: transparent; 
    width: 2rem;
    height: 2rem;
}


/* --- Media Query para Telas Maiores (Tablet/Desktop) --- */
@media (min-width: 768px) {
    .servicos-slide-box {
        flex-direction: row; 
    }
    .servicos-img-box {
        width: 40%;
        height: 350px; 
        margin-right: 1.5rem;
    }
    .servicos-text-box {
        width: 60%;
        padding: 1.5rem;
    }
}