/* Variables */
:root {
    --primary-color: #ffbc50;
    --secondary-color: #ffb747;
    --text-color: #333;
    --background-color: #FFF8F3;
    --accent-color: #FFE4BA;
    --light-orange: #FFF8F3;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --container-width: 90%;

    /* Nouvelles variables pour le responsive */
    --mobile-padding: 1rem;
    --tablet-padding: 1.5rem;
    --desktop-padding: 2rem;
    --mobile-font-size: 0.9rem;
    --tablet-font-size: 1rem;
    --desktop-font-size: 1.1rem;
    --mobile-border-radius: 8px;
    --tablet-border-radius: 12px;
    --desktop-border-radius: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #333;
    transform: scale(1.1);
}

.modal h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.modal h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.modal p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.luxury-button {
    display: inline-block;
    background: #ffb747;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.luxury-button:hover {
    background: #ffa827;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 71, 0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles de base - Mobile First */
.personalisation-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: var(--mobile-padding);
    font-family: 'Outfit', sans-serif;
    min-height: auto;
    /* Assurer que le contenu ne déborde pas sur mobile */
    overflow-x: hidden;
    margin-bottom: 100px; /* Espace pour les boutons de navigation fixes */
}

/* Tablette */
@media (min-width: 768px) {
    .personalisation-container {
        width: 95%;
        max-width: 768px;
        padding: var(--tablet-padding);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .personalisation-container {
        width: 90%;
        max-width: 980px;
        padding: var(--desktop-padding);
    }
}

/* Icône de l'étape */
.step i {
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Étape complétée */
.step.completed i {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed i::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 0.8rem;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -5px;
    right: -5px;
    border: 2px solid white;
}

/* Étape active */
.step.active i {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.2);
}

.step span {
    font-size: 0.9rem;
    color: #888;
    transition: all 0.3s ease;
    font-weight: 500;
}

.step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed span {
    color: var(--primary-color);
}

/* Effet hover sur les étapes cliquables */
.step.clickable {
    cursor: pointer;
}

.step.clickable:hover i {
    transform: scale(1.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Amélioration des styles pour l'étape active */
.step.current {
    transform: scale(1.05);
}

.step.current i {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(255, 188, 80, 0.4);
}

.step.current span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .destination-grid {
        grid-template-columns: 1fr;
    }

    .period-selection {
        grid-template-columns: 1fr;
    }
}

/* Formulaire de personnalisation - Mobile First */
.personalisation-form {
    background: white;
    border-radius: var(--mobile-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: relative;
    /* Suppression de la hauteur fixe pour permettre le scroll de page */
    display: flex;
    flex-direction: column;
    min-height: auto;
    /* S'assurer qu'il n'y a pas de contraintes de hauteur sur mobile */
    height: auto;
    max-height: none;
}

/* Tablette */
@media (min-width: 768px) {
    .personalisation-form {
        border-radius: var(--tablet-border-radius);
        height: calc(100vh - 200px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .personalisation-form {
        border-radius: var(--desktop-border-radius);
        height: calc(100vh - 300px);
        min-height: 500px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
}

.form-step {
    display: none;
    flex-direction: column;
    /* Suppression de height: 100% et overflow: hidden pour mobile */
}

/* Tablette et Desktop - garder le comportement existant */
@media (min-width: 768px) {
    .form-step {
        height: 100%;
        overflow: hidden;
    }
}

.form-step.active {
    display: flex;
}

/* Header compact pour mobile */
.mobile-step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem var(--mobile-padding);
    background: var(--light-orange);
    border-bottom: 1px solid rgba(255, 188, 80, 0.3);
    position: sticky;
    top: 0;
    z-index: 20;
}

.mobile-step-header .step-indicator {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-step-header .step-dots {
    margin: 0 1rem;
}

.mobile-step-header .step-dot {
    width: 8px;
    height: 8px;
}

/* Masquer sur tablette et desktop */
@media (min-width: 768px) {
    .mobile-step-header {
        display: none;
    }
}

.form-step-content {
    flex: 1;
    /* Suppression du overflow-y: auto pour mobile - permet le scroll de page */
    padding: 0.8rem;
    padding-bottom: 80px; /* Espace réduit pour les boutons de navigation fixes */
    /* Assurer que le contenu ne déborde pas */
    max-width: 100%;
    box-sizing: border-box;
    /* Empêcher tout scroll interne sur mobile */
    overflow: visible;
}

/* Tablette */
@media (min-width: 768px) {
    .form-step-content {
        overflow-y: auto;
        /* Style de la scrollbar */
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) #f0f0f0;
        padding: var(--tablet-padding);
        padding-bottom: 110px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .form-step-content {
        padding: var(--desktop-padding);
        padding-bottom: 100px;
    }
}

/* Style de la scrollbar pour Chrome */
.form-step-content::-webkit-scrollbar {
    width: 8px;
}

.form-step-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.form-step-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Navigation buttons - Mobile First avec position fixe */
.navigation-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* Afficher le compteur de résultats sur mobile de manière compacte */
.navigation-buttons .results-counter {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: var(--light-orange);
    border-radius: 15px;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.navigation-buttons .results-counter i {
    font-size: 0.8rem;
}

/* Masquer la progression sur mobile pour gagner de la place */
.navigation-buttons .steps-progress {
    display: none;
}

/* Tablette */
@media (min-width: 768px) {
    .navigation-buttons {
        position: sticky;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: var(--tablet-padding);
        background: white;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navigation-buttons .results-counter {
        display: flex; /* Afficher sur tablette/desktop */
    }

    .navigation-buttons .steps-progress {
        display: flex;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .navigation-buttons {
        padding: 1.5rem;
    }
}

.nav-buttons-container {
    display: flex;
    gap: 0.8rem;
    width: 100%;
    flex: 1;
}

/* Mobile - Boutons pleine largeur */
.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 36px; /* Taille tactile encore plus réduite pour mobile */
    text-decoration: none;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tablette */
@media (min-width: 768px) {
    .nav-buttons-container {
        margin-left: auto;
        width: auto;
        flex: none;
    }

    .nav-button {
        font-size: var(--tablet-font-size);
        min-width: 140px;
        flex: none;
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        min-height: 48px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .nav-button {
        font-size: var(--desktop-font-size);
        min-width: 160px;
    }
}

.prev-step {
    background-color: #f5f5f5;
    color: #666;
}

.prev-step:hover {
    background-color: #e0e0e0;
    transform: translateX(-3px);
}

.next-step {
    background-color: var(--primary-color);
    color: white;
}

.next-step:hover {
    background-color: var(--secondary-colordark);
    transform: translateX(3px);
}

.nav-button i {
    transition: all 0.3s ease;
}

.prev-step i {
    margin-right: 8px;
}

.next-step i {
    margin-left: 8px;
}

.prev-step:hover i {
    transform: translateX(-3px);
}

.next-step:hover i {
    transform: translateX(3px);
}

/* Style pour le dernier bouton "Voir les offres" */
.nav-button.next-step:last-child {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.2);
}

.nav-button.next-step:last-child:hover {
    background: var(--primary-color);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .navigation-buttons {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-buttons-container {
        width: 100%;
        justify-content: space-between;
    }

    .nav-button {
        min-width: 120px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animation des boutons */
@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.nav-button.next-step:last-child {
    animation: buttonPulse 2s infinite;
}

/* Nouveau style pour la progression des étapes */
.steps-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    margin: 0 2rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.step-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--primary-color);
}

.step-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive design pour la navigation */
@media (max-width: 768px) {
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .steps-progress {
        order: -1;
        margin: 0 0 1rem 0;
        width: 100%;
        justify-content: center;
    }

    .step-indicator {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-buttons-container {
        display: flex;
        gap: 1rem;
        width: 100%;
    }

    .nav-button {
        flex: 1;
        justify-content: center;
        padding: 1rem;
    }
}

/* Animation pour les transitions d'étapes */
@keyframes stepProgress {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.step-name {
    animation: stepProgress 0.3s ease;
}

/* Budget Slider */
.budget-slider-container {
    position: relative;
    padding: 2rem 1rem;
    background: var(--light-orange);
    border-radius: 15px;
    margin: 1rem auto;
    max-width: 100%;
    /* S'assurer qu'il n'y a pas de débordement sur mobile */
    box-sizing: border-box;
    overflow: visible;
}

/* Couronne pour indiquer le budget idéal */
.budget-crown {
    position: absolute;
    top: 1.5rem;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ffb747, #ff9500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 183, 71, 0.3);
    z-index: 10;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.budget-crown.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.budget-crown i {
    margin-right: 0.5rem;
    color: #fff;
    animation: crownPulse 2s infinite;
}

.budget-crown::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ff9500;
}

@keyframes crownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Tablette et desktop */
@media (min-width: 768px) {
    .budget-slider-container {
        padding: 3rem 2rem;
        margin: 2rem auto;
        max-width: 680px;
    }
    
    .budget-crown {
        top: 2rem;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

.budget-slider-hint {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    align-items: center;
}

.budget-slider-hint i {
    color: var(--primary-color);
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

input[type="range"] {
    -webkit-appearance: none;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary-color) var(--value, 0%), #e0e0e0 var(--value, 0%));
    margin: 2rem 0;
    width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

input[type="range"]::-moz-range-progress {
    background-color: var(--primary-color);
    height: 10px;
    border-radius: 5px;
}

.budget-value {
    position: relative;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Styles pour les limites de budget */
.budget-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 10px;
}

.budget-limit {
    font-size: 0.9rem;
    color: #666;
}

.budget-limit.min {
    text-align: left;
}

.budget-limit.max {
    text-align: right;
}

/* Grille de destinations */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    /* S'assurer qu'il n'y a pas de scroll intérieur */
    overflow: visible;
    height: auto;
    max-height: none;
}

/* Mobile - ajustements pour éviter les débordements */
@media (max-width: 768px) {
    .destination-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
        overflow: visible !important;
    }
}

.destination-card {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    margin: 0;
    font-size: 1.2rem;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card.selected {
    border: 3px solid var(--primary-color);
}

.destination-card h4 {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    margin: 0;
    font-size: 0.6rem;
}

/* Sélection de période */
.period-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.period-option {
    position: relative;
}

.period-option input[type="radio"] {
    display: none;
}

.period-option label {
    display: block;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.period-option input[type="radio"]:checked + label {
    background: var(--primary-color);
    color: white;
}

/* Sélecteur de voyageurs */
.travelers-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-orange);
    border-radius: 15px;
    max-width: 300px;
    margin: 2rem auto;
}

.traveler-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.traveler-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.traveler-btn:active {
    transform: translateY(0);
}

input[type="number"] {
    width: 70px;
    height: 45px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: var(--text-color);
    background: white;
    transition: all 0.3s ease;
}

input[type="number"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 188, 80, 0.2);
}

/* Suppression des flèches par défaut du input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Résultats de recherche */
.search-results {
    margin-top: 3rem;
    gap: 2rem;
    max-width: 1680px;
    margin: 3rem auto;
    padding: 0 0rem;
}

.search-results .packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 981px) and (max-width: 1600px) {
    .search-results .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .search-results .packages-grid {
        grid-template-columns: 1fr;
    }
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-count i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.results-count i.fa-plane {
    animation: flyPlane 2s ease-in-out infinite;
}

@keyframes flyPlane {
    0% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-10px) rotate(45deg);
    }
    100% {
        transform: translateY(0) rotate(45deg);
    }
}

.no-results-voyage {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-results-voyage h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results-voyage p {
    color: var(--text-color-light);
    font-size: 1.1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price .amount {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .per-person {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.total-price {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.total-amount {
    font-weight: 600;
}

.stripe-button {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stripe-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Styles pour l'en-tête des résultats */
.results-header {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--light-orange);
    border-radius: 10px;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.results-count h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Animation de l'avion dans les résultats */
.results-count i.fa-plane {
    display: inline-block;
    transform-origin: center;
    animation: flyPlane 1.5s ease-in-out;
}

@keyframes flyPlane {
    0% {
        transform: translate(-100vw, 20px) rotate(15deg);
        opacity: 0;
    }
    50% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: translate(0, 0) rotate(0deg) scale(1.2);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal pour les séjours en luxe */
.luxury-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.luxury-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Message d'erreur */
.no-results-voyage {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 10px;
}

@media (max-width: 980px) {
    .personalisation-container {
        width: 100%;
        padding: 1rem;
    }

    .step {
        flex: 1 1 100%;
    }

    .budget-value {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step {
    animation: slideIn 0.5s ease;
}

.package-card {
    animation: slideUp 0.5s ease;
}

/* Loader */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.loader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Espace pour les boutons fixes sur mobile */
@media (max-width: 767px) {
    body {
        padding-bottom: 100px; /* Espace pour les boutons fixes */
    }
}

/* Hero Section Personnalisation voyage - Mobile First */
.hero-personnalisation-filtre-voyage {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../images/nos-offres-de-voyages/nos-offres-de-voyage-thailande-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: auto;
    padding-top: 80px;
    padding-bottom: var(--mobile-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* Tablette */
@media (min-width: 768px) {
    .hero-personnalisation-filtre-voyage {
        padding-top: 90px;
        padding-bottom: var(--tablet-padding);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-personnalisation-filtre-voyage {
        padding-top: 100px;
        padding-bottom: 0px;
    }
}

@media (max-width: 980px) {
    .hero-personnalisation-filtre-voyage {
        min-height: auto;
        padding-top: 100px;
    }
}

/* Hero Features Redesign */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

@media screen and (max-width: 980px) {
    .hero-feature {
        padding: 0.5rem 1.5rem;
    }

}

.hero-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-feature span {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.hero-personnalisation-filtre-voyage h1 {
    font-size: var(--font-size-5xl);
    margin: 0 auto 1.5rem;
    padding: 0 20px;
    max-width: 800px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Dancing Script', cursive;
    font-style: normal;
    position: relative;
    z-index: 2;
}

@media (max-width: 980px) {
    .hero-personnalisation-filtre-voyage h1 {
        font-size: var(--font-size-4xl);
        margin-bottom: 1rem;
    }
}

/* Hero Features Redesign */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

@media screen and (max-width: 980px) {
    .hero-feature {
        padding: 0.5rem 1.5rem;
    }

}

.hero-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-feature span {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Introduction Section */
.intro-section {
    background-color: #FFF8F3;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

/* Modification des styles pour les destinations non disponibles */
.destination-card.unavailable {
    opacity: 0.6;
    position: relative;
}

.destination-card.unavailable::after {
    content: attr(data-price-info);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--error-color);
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: pre-wrap;
    text-align: center;
    width: 80%;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Ajout des styles pour les états des destinations */
.destination-card {
    position: relative;
}

/* Style pour les destinations disponibles */
.destination-card.available::after {
    content: attr(data-price-info);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-color);
    padding: 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    white-space: pre-wrap;
    text-align: left;
    width: 85%;
    max-width: 280px;
    line-height: 1.6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.destination-card.available:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Effet de fondu sur l'image */
.destination-card.available img {
    transition: all 0.3s ease;
}

.destination-card.available:hover img {
    filter: brightness(0.3);
    transform: scale(1.05);
}

/* Animation plus fluide pour l'apparition */
@keyframes tooltipAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Ajout d'un effet de transition sur l'image quand la carte est survolée */
.destination-card.available:hover img {
    filter: brightness(0.7);
}

/* Styles pour la destination sur mesure */
.custom-destination {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.custom-destination img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-destination h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    margin: 0;
    font-size: 1.2rem;
    z-index: 2;
}

.custom-destination-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    font-size: 1.1rem;
    text-align: center;
}

.custom-destination:hover .custom-destination-description {
    opacity: 1;
}

.custom-destination:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-destination:hover img {
    transform: scale(1.1);
}

/* Styles pour la carte "Toutes destinations" */
.all-destinations {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.all-destinations img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.all-destinations h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    margin: 0;
    font-size: 1.2rem;
    z-index: 2;
}

.all-destinations-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.all-destinations-overlay h3 {
    text-align: center;
    padding: 0;
    margin: 0;
    background: none;
}

.all-destinations-overlay p {
    margin-top: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.all-destinations:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.all-destinations:hover img {
    transform: scale(1.1);
}

.all-destinations:hover .all-destinations-overlay {
    opacity: 1;
}

/* Styles pour les cartes de packages */
.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: packageAppear 0.6s forwards;
}

/* Animation d'apparition des cartes */
@keyframes packageAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajout d'un délai pour chaque carte */
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.4s; }
.package-card:nth-child(4) { animation-delay: 0.6s; }

/* Effets de survol */
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Styles pour le swiper des packages */
.package-image {
    position: relative;
    height: 250px;
}

.package-image .swiper {
    width: 100%;
    height: 100%;
}

.package-image .swiper-slide {
    width: 100%;
    height: 100%;
}

.package-image .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-image .swiper-button-next,
.package-image .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.package-image .swiper-button-next:after,
.package-image .swiper-button-prev:after {
    font-size: 1.2rem;
}

.package-image .swiper-pagination {
    bottom: 10px;
}

.package-image .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: white;
    opacity: 0.5;
}

.package-image .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Animation de l'image */
.package-image {
    overflow: hidden;
}

.package-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

/* Animation du bouton */
.book-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
}

.book-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.book-button:hover::after {
    width: 300px;
    height: 300px;
}

/* Animation des étoiles */
.rating .star {
    display: inline-block;
    transition: transform 0.3s ease;
}

.package-card:hover .rating .star {
    animation: starPulse 1s infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Animation des détails */
.package-details > div {
    transition: transform 0.3s ease;
}

.package-card:hover .package-details > div {
    transform: translateX(5px);
}

.package-details > div:nth-child(1) { transition-delay: 0.1s; }
.package-details > div:nth-child(2) { transition-delay: 0.2s; }
.package-details > div:nth-child(3) { transition-delay: 0.3s; }
.package-details > div:nth-child(4) { transition-delay: 0.4s; }

/* Animation du prix */
.price {
    transition: all 0.3s ease;
}

.package-card:hover .price {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.trust-banner {
    margin: 20px;
    padding: 15px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-banner i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */
/* NOUVEAU CSS */



.budget-section {
    text-align: center;
    padding: 0;
}

/* Tablette */
@media (min-width: 768px) {
    .budget-section {
        padding: var(--tablet-padding) 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .budget-section {
        padding: var(--desktop-padding) 0;
    }
}

.budget-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.budget-display {
    font-size: 2rem;
    font-weight: 700;
    color: #ffb747;
    margin: 1.5rem 0;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Tablette */
@media (min-width: 768px) {
    .budget-display {
        font-size: 2.5rem;
        margin: 1.8rem 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .budget-display {
        font-size: 3rem;
        margin: 2rem 0;
    }
}

.budget-display small {
    font-size: 1.1rem;
    color: #666;
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
}

.budget-slider-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.budget-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #f0f0f0;
    outline: none;
    margin: 2rem 0;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffb747;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 183, 71, 0.3);
    transition: all 0.2s ease;
    border: 2px solid white;
}

.budget-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 183, 71, 0.4);
}

.budget-info {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

.budget-popular {
    display: inline-block;
    background: rgba(255, 183, 71, 0.1);
    color: #ffb747;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    margin-top: 2rem;
    border: 2px solid rgba(255, 183, 71, 0.2);
}

.budget-popular i {
    margin-right: 0.8rem;
    color: #ffb747;
}

.included-services {
    margin-top: 4rem;
    text-align: left;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.included-services h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    padding-left: 1rem;
}

.included-services h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #ffb747;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #444;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-item i {
    color: #ffb747;
    font-size: 1.2rem;
}

.navigation-buttons {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.nav-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.prev-step {
    background: #f0f0f0;
    color: #666;
    margin-right: 1rem;
}

.prev-step:hover {
    background: #e0e0e0;
}

.next-step {
    background: var(--primary-color);
    color: white;
}

.next-step:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 71, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style responsive */
@media (max-width: 768px) {
    .budget-display {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .step {
        flex: 1 1 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .budget-display {
        font-size: 2rem;
    }
}

/* Styles pour la section des thèmes - Mobile First */
.themes-section {
    padding: 0;
}

/* Tablette */
@media (min-width: 768px) {
    .themes-section {
        padding: var(--tablet-padding);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .themes-section {
        padding: var(--desktop-padding);
    }
}

.themes-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.themes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
}

/* Tablette */
@media (min-width: 768px) {
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .themes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }
}

.theme-card {
    background: white;
    border-radius: var(--mobile-border-radius);
    padding: var(--mobile-padding);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tablette */
@media (min-width: 768px) {
    .theme-card {
        border-radius: var(--tablet-border-radius);
        padding: var(--tablet-padding);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        min-height: 140px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .theme-card {
        border-radius: var(--desktop-border-radius);
        padding: var(--desktop-padding);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        min-height: 160px;
    }
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.theme-card.selected {
    border-color: var(--primary-color);
    background: rgba(255, 188, 80, 0.1);
}

.theme-icon {
    width: 60px;
    height: 60px;
    background: var(--light-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.theme-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Tablette */
@media (min-width: 768px) {
    .theme-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.2rem;
    }

    .theme-icon i {
        font-size: 1.8rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .theme-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
    }

    .theme-icon i {
        font-size: 2rem;
    }
}

.theme-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.theme-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Animation pour les cartes de thèmes */
.theme-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.theme-card:nth-child(1) { animation-delay: 0.1s; }
.theme-card:nth-child(2) { animation-delay: 0.2s; }
.theme-card:nth-child(3) { animation-delay: 0.3s; }
.theme-card:nth-child(4) { animation-delay: 0.4s; }
.theme-card:nth-child(5) { animation-delay: 0.5s; }
.theme-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design pour les thèmes */
@media (max-width: 768px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }

    .theme-card {
        padding: 1.5rem;
    }

    .theme-icon {
        width: 60px;
        height: 60px;
    }

    .theme-icon i {
        font-size: 1.5rem;
    }
}

/* Styles pour la section des voyageurs - Mobile First */
.travelers-section {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* Tablette */
@media (min-width: 768px) {
    .travelers-section {
        padding: var(--tablet-padding);
        max-width: 500px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .travelers-section {
        padding: var(--desktop-padding);
        max-width: 600px;
    }
}

.travelers-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.travelers-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.traveler-type {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: var(--mobile-padding);
    background: var(--light-orange);
    border-radius: var(--mobile-border-radius);
    transition: all 0.3s ease;
}

/* Tablette */
@media (min-width: 768px) {
    .traveler-type {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: var(--tablet-padding);
        border-radius: var(--tablet-border-radius);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .traveler-type {
        padding: 1rem;
        border-radius: var(--desktop-border-radius);
    }
}

.traveler-type:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.traveler-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.traveler-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.traveler-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.traveler-age {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.traveler-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.traveler-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--light-orange);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Tablette */
@media (min-width: 768px) {
    .traveler-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .traveler-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.traveler-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.traveler-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.traveler-count {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .travelers-section {
        padding: 1rem;
    }

    .travelers-container {
        padding: 1rem;
    }

    .traveler-type {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .traveler-header {
        flex-direction: column;
    }

    .traveler-controls {
        width: 100%;
        justify-content: center;
    }
}

/* Styles pour la section période - Mobile First */
.period-section {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Tablette */
@media (min-width: 768px) {
    .period-section {
        padding: var(--tablet-padding);
        border-radius: var(--tablet-border-radius);
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .period-section {
        padding: var(--desktop-padding);
        border-radius: var(--desktop-border-radius);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.period-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.period-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

/* Tablette */
@media (min-width: 768px) {
    .period-tabs {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
        border-bottom: 2px solid #e0e0e0;
    }
}

.period-tab {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 1rem;
    font-size: var(--mobile-font-size);
    color: #666;
    border-radius: var(--mobile-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    width: 100%;
}

/* Tablette */
@media (min-width: 768px) {
    .period-tab {
        background: none;
        border: none;
        padding: 1rem 1.5rem;
        font-size: var(--tablet-font-size);
        border-radius: var(--tablet-border-radius);
        flex: 1;
        min-width: 150px;
        width: auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .period-tab {
        padding: 1rem 2rem;
        font-size: var(--desktop-font-size);
        border-radius: 8px;
    }
}

.period-tab i {
    font-size: 1.2rem;
    color: #666;
}

.period-tab.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.period-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.period-content.active {
    display: block;
    opacity: 1;
}

/* Styles pour la grille de mois flexible */
.flexible-months-grid {
    padding: 1rem;
}

.info-message {
    background: white;
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.info-message i {
    color: var(--primary-color);
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

/* Tablette */
@media (min-width: 768px) {
    .months-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .months-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

.month-card {
    background: white;
    border: 2px solid #eee;
    border-radius: var(--mobile-border-radius);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tablette */
@media (min-width: 768px) {
    .month-card {
        border-radius: var(--tablet-border-radius);
        padding: 1.2rem;
        min-height: 90px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .month-card {
        border-radius: 8px;
        padding: 1.5rem;
        min-height: 100px;
    }
}

.month-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.month-card.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 71, 0.3);
}

.month-card.selected::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.month-card.selected::before {
    opacity: 1;
    transform: scale(1);
}

.month-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.year {
    font-size: 0.9rem;
    color: #666;
}

.month-card.selected .month-name,
.month-card.selected .year {
    color: white;
}

/* Pagination pour les mois flexibles */
.months-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0 1rem;
}

/* Masquer la pagination sur desktop */
@media (min-width: 768px) {
    .months-pagination {
        display: none;
    }
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--light-orange);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.current-year-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    background: rgba(255, 188, 80, 0.1);
    border-radius: 15px;
    min-width: 80px;
    text-align: center;
}

/* Styles pour le calendrier */
.calendar-wrapper {
    padding: 0.5rem;
}

/* Mobile - réduire l'espacement */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 0.3rem;
    }
}

.selected-dates {
    background: var(--light-orange);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Mobile - réduire l'espacement */
@media (max-width: 768px) {
    .selected-dates {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
}

.selected-dates i {
    font-size: 1.2rem;
}

.calendar-container {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile - réduire le padding */
@media (max-width: 768px) {
    .calendar-container {
        padding: 0.8rem;
        max-width: 100%;
        overflow-x: auto;
        /* Assurer que le calendrier ne déborde pas */
        box-sizing: border-box;
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.calendar-header button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--primary-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-header button:hover {
    background: var(--light-primary);
}

.current-month {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
}

/* Mobile - réduire l'espacement */
@media (max-width: 768px) {
    .calendar-grid {
        gap: 0.2rem;
    }
}

.calendar-day-header {
    color: #666;
    text-align: center;
    font-weight: 600;
    /* color: var(--text-light); */
    padding: 0.5rem;
}

.calendar-day {
    font-size: 0.9rem;
    padding: 0.4rem;
    height: 2.2rem;
    width: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
    position: relative;
    z-index: 1;
}

.calendar-day:hover:not(.disabled) {
    background: var(--light-orange);
    color: var(--primary-color);
}

.calendar-day.range-start,
.calendar-day.range-end {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.calendar-day.in-range {
    background: var(--light-orange);
    color: var(--primary-color);
    border-radius: 0;
}

.calendar-day.in-range::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-orange);
    z-index: -1;
}

.calendar-day.range-start {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.calendar-day.range-end {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: none;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
}

.calendar-day.disabled {
    color: #989898;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.calendar-day.range {
    background-color: var(--primary-color-light);
}

.calendar-day.range.start {
    border-radius: 50% 0 0 50%;
}

.calendar-day.range.end {
    border-radius: 0 50% 50% 0;
}

@media (max-width: 768px) {
    .period-section {
        padding: 1rem;
    }

    .period-tabs {
        flex-direction: column;
    }

    .months-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .calendar-day {
        font-size: 0.8rem;
        height: 1.8rem;
        width: 1.8rem;
        padding: 0.2rem;
        /* Suppression de color: white qui rendait les dates invisibles */
        color: #333;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.3rem 0;
    }
}

/* Styles pour la modal d'erreur */
#errorModal.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#errorModal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
}

#errorModal h2 {
    font-size: 2rem;
    color: #f44336;
    margin-bottom: 1.5rem;
    text-align: center;
}

#errorModal p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

#errorModal .modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

#errorModal .modal-close:hover {
    color: #e74c3c;
}

.unknown-period-message {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 800px;
    color: var(--primary-color);
}

.unknown-period-message i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.unknown-period-message h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.unknown-period-message p {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.benefit-item span {
    font-size: 1rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .benefits {
        grid-template-columns: 1fr;
    }

    .unknown-period-message {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Ajustement des tabs pour inclure le nouveau bouton */
.period-tabs {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.period-tab {
    flex: 1;
    min-width: 150px;
}

.custom-travel-suggestion {
    background: linear-gradient(235deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.suggestion-content {
    max-width: 600px;
    margin: 0 auto;
}

.suggestion-content i.fa-star {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    animation: starPulse 2s infinite;
}

.suggestion-content h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.suggestion-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.custom-travel-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-travel-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-travel-button i {
    transition: transform 0.3s ease;
}

.custom-travel-button:hover i {
    transform: translateX(5px);
}

.results-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: var(--primary-color-light);
    border-radius: 20px;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 0.9em;
    animation: fadeIn 0.3s ease-in-out;
}

.results-counter i {
    font-size: 1.1em;
    color: var(--primary-color);
}

.results-counter span {
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuster le style pour la disposition mobile */
@media (max-width: 768px) {
    .results-counter {
        margin: 10px 0;
        justify-content: center;
    }
}

/* S'assurer que les résultats sont initialement cachés */
.search-results {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    /* S'assurer qu'il n'y a pas de scroll intérieur sur mobile */
    overflow: visible;
    height: auto;
    max-height: none;
}

.results-section {
    background-color: #fff;
    padding: 4rem 0rem;
    margin-top: 0;
    width: 100%;
    /* Permettre le scroll de page */
    overflow: visible;
}

.results-section .search-results {
    max-width: var(--container-width);
    margin: 0 auto;
    opacity: 0;
    display: none;
    animation: fadeIn 0.5s ease-in-out forwards;
    /* Pas de contraintes de hauteur */
    height: auto;
    max-height: none;
    overflow: visible;
}

.results-section .search-results.visible {
    opacity: 1;
    display: block;
}

@media (max-width: 768px) {
    .results-section {
        padding: 2rem 0rem;
    }
}