/* Correção específica: Cards de tratamentos com largura uniforme no mobile */

/* DESKTOP: Manter layout original - NÃO ALTERAR */
/* O CSS original do desktop permanece intacto */

/* MOBILE: Cards de tratamentos com largura uniforme */
@media (max-width: 768px) {
    /* Container dos tratamentos */
    .treatments-container,
    .tratamentos-container,
    .services-container,
    .treatment-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Cards de tratamentos com largura uniforme */
    .treatment-card,
    .tratamento-card,
    .service-card,
    .treatment-item {
        width: 100% !important;
        max-width: 350px !important;
        min-width: 300px !important;
        margin: 0 auto !important;
        padding: 2rem 1.5rem !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }

    .treatment-card:hover,
    .tratamento-card:hover,
    .service-card:hover,
    .treatment-item:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
    }

    /* Ícones dos tratamentos */
    .treatment-icon,
    .tratamento-icon,
    .service-icon,
    .card-icon {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 1.5rem auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, #d4af37, #f4d03f) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
        flex-shrink: 0 !important;
    }

    .treatment-icon i,
    .tratamento-icon i,
    .service-icon i,
    .card-icon i {
        font-size: 2rem !important;
        color: white !important;
    }

    /* Títulos dos tratamentos */
    .treatment-title,
    .tratamento-title,
    .service-title,
    .card-title {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        color: #2c3e50 !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    /* Subtítulos dos tratamentos */
    .treatment-subtitle,
    .tratamento-subtitle,
    .service-subtitle,
    .card-subtitle {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        color: #d4af37 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    /* Descrições dos tratamentos */
    .treatment-description,
    .tratamento-description,
    .service-description,
    .card-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: #555 !important;
        text-align: center !important;
        width: 100% !important;
        flex-grow: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Grid responsivo para mobile */
    .treatments-grid,
    .tratamentos-grid,
    .services-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
    }
}

/* Mobile pequeno - Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .treatment-card,
    .tratamento-card,
    .service-card,
    .treatment-item {
        max-width: 320px !important;
        min-width: 280px !important;
        padding: 1.8rem 1.2rem !important;
    }

    .treatment-icon,
    .tratamento-icon,
    .service-icon,
    .card-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1.2rem !important;
    }

    .treatment-icon i,
    .tratamento-icon i,
    .service-icon i,
    .card-icon i {
        font-size: 1.8rem !important;
    }

    .treatment-title,
    .tratamento-title,
    .service-title,
    .card-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.6rem !important;
    }

    .treatment-subtitle,
    .tratamento-subtitle,
    .service-subtitle,
    .card-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
    }

    .treatment-description,
    .tratamento-description,
    .service-description,
    .card-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .treatments-grid,
    .tratamentos-grid,
    .services-grid {
        max-width: 350px !important;
        gap: 1.8rem !important;
        padding: 0 0.8rem !important;
    }
}

/* Mobile extra pequeno - Para telas muito pequenas */
@media (max-width: 360px) {
    .treatment-card,
    .tratamento-card,
    .service-card,
    .treatment-item {
        max-width: 300px !important;
        min-width: 260px !important;
        padding: 1.5rem 1rem !important;
    }

    .treatment-icon,
    .tratamento-icon,
    .service-icon,
    .card-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1rem !important;
    }

    .treatment-icon i,
    .tratamento-icon i,
    .service-icon i,
    .card-icon i {
        font-size: 1.6rem !important;
    }

    .treatment-title,
    .tratamento-title,
    .service-title,
    .card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .treatment-subtitle,
    .tratamento-subtitle,
    .service-subtitle,
    .card-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 0.7rem !important;
    }

    .treatment-description,
    .tratamento-description,
    .service-description,
    .card-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .treatments-grid,
    .tratamentos-grid,
    .services-grid {
        max-width: 320px !important;
        gap: 1.5rem !important;
        padding: 0 0.5rem !important;
    }
}

