/* ============================================
   PROBLEMA SECTION - ESTILO IGUAL A SOLUÇÃO
   ============================================ */

.problem-section {
    padding: 60px 0 60px 0;
}

/* TÍTULOS */
.small-label {
    color: #d6b88d;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
}

.section-title {
    color: #2e1809;
    font-size: 45px;
    line-height: 1.1;
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
}

.problem-subtext {
    color: #555;
    line-height: 1.5;
    font-size: 16px;
    max-width: 760px;
    margin: 0 auto;
}

/* ============================================
   CARDS COM ÍCONES - ESTILO IGUAL A SOLUÇÃO
   ============================================ */

.problem-box {
    padding: 10px 10px;
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-box:hover {
    background: #fff;
    box-shadow: 0 20px 50px rgba(46, 24, 9, 0.08);
    transform: translateY(-4px);
}

/* ÍCONE - EXATAMENTE IGUAL AO DA SOLUÇÃO */
.problem-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #572b07;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.problem-box:hover .problem-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(87, 43, 7, 0.25);
}

.problem-icon i {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

/* TEXTO - EXATAMENTE IGUAL AO DA SOLUÇÃO */
.problem-box h4 {
    color: #2e1809;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.0;
    font-family: 'Cormorant Garamond', serif;
}

.problem-box p {
    color: #555;
    line-height: 1.5;
    font-size: 15px;
    margin: 0;
    flex: 1;
}

/* ============================================
   SLIDER MOBILE - MESMA APARÊNCIA
   ============================================ */

.problem-slider-mobile {
    display: block;
}

.problem-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 40px;
}

.problem-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

.problem-slide-item {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 5px;
}

/* ===== SETAS DO SLIDER ===== */
.slider-arrow-mobile {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(46, 24, 9, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #2e1809;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.slider-arrow-mobile:hover {
    background: #572b07;
    border-color: #572b07;
    color: #fff;
}

.slider-arrow-left-mobile {
    left: 0;
}

.slider-arrow-right-mobile {
    right: 0;
}

/* ===== DOTS DO SLIDER ===== */
.slider-dots-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.slider-dots-mobile .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots-mobile .dot.active {
    background: #572b07;
    width: 28px;
    border-radius: 10px;
}

/* ============================================
   RESPONSIVIDADE - MANTENDO A APARÊNCIA ORIGINAL
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
    .section-title {
        font-size: 28px;
    }

    .problem-box {
        padding: 32px 24px;
    }

    .problem-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .problem-icon i {
        font-size: 26px;
    }

    .problem-box h4 {
        font-size: 22px;
    }

    /* Slider mobile - tablet */
    .problem-slider-wrapper {
        padding: 10px 35px;
    }

    .slider-arrow-mobile {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .problem-section {
        padding: 60px 0 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .problem-subtext {
        font-size: 15px;
    }

    .problem-box {
        padding: 28px 20px;
    }

    .problem-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .problem-icon i {
        font-size: 22px;
    }

    .problem-box h4 {
        font-size: 23px;
        margin-bottom: 14px;
    }

    .problem-box p {
        font-size: 14px;
    }

    /* Slider mobile */
    .problem-slider-wrapper {
        padding: 10px 35px;
    }

    .slider-arrow-mobile {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .slider-arrow-left-mobile {
        left: 0;
    }

    .slider-arrow-right-mobile {
        right: 0;
    }

    .problem-slide-item .problem-box {
        padding: 28px 20px;
    }

    .problem-slide-item .problem-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    .problem-slide-item .problem-icon i {
        font-size: 22px;
    }

    .problem-slide-item h4 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .problem-slide-item p {
        font-size: 14px;
    }
}

/* Mobile Pequeno */
@media (max-width: 576px) {
    .problem-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .problem-icon i {
        font-size: 20px;
    }

    .problem-box h4 {
        font-size: 18px;
    }

    .problem-slider-wrapper {
        padding: 10px 30px;
    }

    .slider-arrow-mobile {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .problem-slide-item .problem-box {
        padding: 24px 16px;
    }

    .problem-slide-item .problem-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }

    .problem-slide-item .problem-icon i {
        font-size: 20px;
    }

    .problem-slide-item h4 {
        font-size: 18px;
    }

    .problem-slide-item p {
        font-size: 14px;
    }
}

/* ============================================
   CONTROLE DE EXIBIÇÃO VIA BOOTSTRAP
   ============================================ */

/* Desktop: mostra grid, esconde slider */
@media (min-width: 992px) {
    .problem-desktop {
        display: block !important;
    }
    .problem-mobile {
        display: none !important;
    }
}

/* Mobile/Tablet: mostra slider, esconde grid */
@media (max-width: 991px) {
    .problem-desktop {
        display: none !important;
    }
    .problem-mobile {
        display: block !important;
    }
}