/* Styles responsives pour la page tarifs */

@media (max-width: 991px) {
    /* Adaptation du titre sur mobile */
    .tarifs-title-container h1 {
        font-size: 2.3rem !important;
        line-height: 1.3 !important;
        margin-bottom: 40px !important;
        padding: 0 15px !important;
    }
    
    .tarifs-title-container h1 span:last-child {
        font-size: 2.3rem !important;
        transform: rotate(-1deg);
        padding: 4px 12px !important;
        margin: 10px -2px 0 !important;
        display: inline-block !important;
    }
    
    /* Affichage des cartes en colonne sur mobile */
    .offres-cards {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px 30px;
        overflow-x: hidden;
    }
    
    .offre-card {
        min-width: unset;
        max-width: 100%;
        width: 100%;
        margin: 0 0 25px 0;
    }
    
    /* Mettre en évidence la carte populaire */
    .offre-card.populaire {
        order: -1; /* Placer la carte populaire en premier */
        transform: scale(1.02);
    }
    
    /* Ajustements de l'espacement */
    .offres-toggle {
        margin-bottom: 30px;
    }
    
    /* Ajuster le texte des offres sur mobile */
    .offre-titre {
        font-size: 1.6rem;
    }
    
    .offre-prix-value {
        font-size: 2.8rem;
    }
    
    .offre-main-feature {
        font-size: 1rem;
    }
}

/* Très petits écrans */
@media (max-width: 767px) {
    .tarifs-title-container h1 {
        font-size: 1.8rem !important;
    }
    
    .tarifs-title-container h1 span:last-child {
        font-size: 1.8rem !important;
    }
    
    .toggle-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
