/* --- CONTENEUR GLOBAL --- */
.page-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Arial, sans-serif;
}

/* --- BLOC FILTRES --- */
.zone-filtres {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(17, 34, 49, 0.05); /* Ombre douce */
}

.filtres-grille {
    display: grid;
    /* Aligne les 5 listes sur une ligne sur grand écran, bascule automatiquement sur mobile */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
    gap: 1.2rem;
}

.groupe-filtre {
    display: flex;
    flex-direction: column;
}

/* Style des labels au-dessus des listes */
.groupe-filtre label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* --- STYLE DES LISTES DÉROULANTES --- */
.groupe-filtre select {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    color: #112231;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    
    /* Pour personnaliser la flèche sur les navigateurs modernes (Optionnel) */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* Effet au survol ou focus du select */
.groupe-filtre select:hover, 
.groupe-filtre select:focus {
    border-color: #112231;
    background-color: #ffffff;
}

/* --- ACTION BUTTONS --- */
.filtres-actions {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.btn-filtrer {
    background-color: #112231;
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-filtrer:hover {
    background-color: #1e3549;
}

.btn-reset {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-reset:hover {
    color: #112231;
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .filtres-grille {
        grid-template-columns: 1fr; /* 1 seule liste par ligne sur tout petit écran */
    }
    
    .filtres-actions {
        flex-direction: column; /* Boutons l'un sur l'autre sur mobile */
        width: 100%;
    }
    
    .btn-filtrer {
        width: 100%;
        text-align: center;
    }
}


/* --- STYLE GÉNÉRAL DE LA LISTE --- */
.carte-sejour {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 950px;
    margin: 2rem auto;
    font-family: 'Arial', sans-serif;
    overflow: hidden;

    /* --- LES DEUX LIGNES À RAJOUTER ICI --- */
    text-decoration: none;  /* Supprime le soulignement automatique */
    color: inherit;         /* Force le texte à garder ses couleurs d'origine */
}

/* --- 1. SECTIONS DE GAUCHE : L'IMAGE --- */
.sejour-visuel {
    width: 100%;
    height: 250px;
}

.sejour-visuel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 2. SECTION CENTRALE : INFOS --- */
.sejour-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sejour-age {
    font-size: 0.95rem;
    color: #112233;
    font-weight: bold;
}

.ligne-separation {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0.5rem 0 1.2rem 0;
    width: 100%;
}

.sejour-nom {
    font-size: 2rem;
    color: #112233;
    margin: 0 0 0.8rem 0;
    font-weight: bold;
}

.sejour-lieu {
    font-size: 1.1rem;
    font-weight: bold;
    color: #112233;
    margin: 0 0 1rem 0;
}

.sejour-categorie {
    color: #3ba3c4;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.sejour-niveau {
    color: #3ba3c4;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

/* --- 3. SECTION DROITE : BLOC PRIX --- */
.sejour-prix-bloc {
    background-color: #112231; /* Bleu marine très sombre de l'image */
    color: #ffffff;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; /* Nécessaire pour positionner le losange */
}

/* Style du Losange déco du haut */
.losange-deco {
    width: 34px;
    height: 34px;
    background-color: green;
    border: 2px solid #ffffff;
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}
.losange-deco.complet {
    background-color: red;
}

.prix-label {
    font-size: 0.9rem;
    margin: 0 0 0.2rem 0;
    font-weight: bold;
}

.prix-montant {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.prix-mention {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0.2rem 0 0.5rem 0;
}

.prix-transport {
    font-size: 0.9rem;
    margin: 0 0 0.8rem 0;
}

.prix-ligne {
    width: 25px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0.5rem 0;
}

.prix-date, .prix-duree {
    font-size: 0.95rem;
    margin: 0.2rem 0;
}

.prix-duree {
    font-weight: bold;
}

.gras {
    font-weight: bold;
    font-size: 1.1rem;
}


/* --- ADAPTATION ORDINATEUR (Mise en page en ligne de image.png) --- */
@media (min-width: 768px) {
    .carte-sejour {
        flex-direction: row; /* Aligne les 3 blocs côte à côte */
        height: 320px; /* Hauteur fixe pour tout aligner proprement */
    }

    .sejour-visuel {
        width: 32%; /* Ajuste la largeur de l'image */
        height: 100%;
    }

    .sejour-details {
        padding: 1.5rem 2rem;
    }

    .sejour-prix-bloc {
        width: 220px; /* Largeur fixe pour le bloc prix à droite */
        padding-top: 1.5rem;
    }

    /* Repositionne le losange sur le bord gauche du bloc prix en mode Desktop */
    .losange-deco {
        top: -17px;
        left: 50%;
    }
}