/* css/solutions-carousel.css (VERSÃO CORRIGIDA E ESTÁVEL) */

.solutions-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

.solutions-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.solutions-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.86, 0, 0.07, 1);
}

.solution-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.solution-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.7) 0%, rgba(10, 10, 12, 0.95) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 3rem;
    color: #fff;
}

.slide-content h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.slide-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }

/* --- BARRA DE NAVEGAÇÃO (Abaixo do Carrossel) --- */
.solutions-carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* --- CONTROLES (Setas e Pontos) --- */
.carousel-control {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background-color: var(--gradient-start);
    border-color: var(--gradient-start);
    color: #fff;
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}