/* IBM Plex Sans (famille principale) */
@font-face {
    font-family: 'IBM_Plex_Sans';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBM_Plex_Sans';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Alias pour conserver les styles existants sans tout réécrire */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Changa';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Changa';
    src: url('fonts/IBM_Plex_Sans/static/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    background: url('photo/photo-presta/background_tracte_fbjets.png') center/cover no-repeat;
    background-color: #0B2847;
    font-family: Changa, sans-serif;
}

h1, h2, h3 {
    font-family: Roboto, sans-serif;
    color: #FFFFFF;
}

/* Style pour l'image en haut à droite */
.image-top-right {
    position: absolute;
    top: 4px;
    right: 12px;
    z-index: 220;
    pointer-events: none;
}

.top-right-image {
    width: 150px;
    height: auto;
    display: block;
}

#titre_accueill {
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #D4AF37;
}

#sous_titre {
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #FFFFFF;
}

#village {
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #FFFFFF;
}

/* Style pour la navigation horizontale */
.navigation {
    background: linear-gradient(to right, #1E3A8A, #4682B4);
    width: 100%;
    min-height: 72px;
    margin: 48px 0;
    padding: 0 20px;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.navigation ul {
    list-style-type: none; /* Enlève les puces */
    padding: 0;
    margin: 0;
    display: flex; /* Affiche les éléments en ligne */
    justify-content: space-around;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.navigation li a {
    text-decoration: none; /* Enlève le soulignement */
    color: #FFFFFF; /* Blanc brillant pour le texte */
    font-family: 'Changa', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease, opacity 0.3s ease;
    padding: 0 10px;
    line-height: 72px;
    display: inline-block;
}

.navigation li a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none; /* Pas de soulignement */
    border-bottom: none;
}

/* Styles spécifiques à la page prestation */
.prestation-container {
    max-width: 900px;
    margin: 30px auto; /* Centre le conteneur horizontalement */
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 79, 139, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 10px;
    border-left: 5px solid #D4AF37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    text-align: center; /* Centre tout le texte à l'intérieur */
}

.prestation-title {
    text-align: center;
    color: #D4AF37;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.tarif-table {
    width: 90%; /* Largeur relative pour éviter que le tableau ne soit trop large sur mobile */
    margin: 20px auto; /* Centre le tableau horizontalement */
    border-collapse: collapse;
}

.tarif-table th,
.tarif-table td {
    padding: 12px;
    text-align: center; /* Centre le contenu des cellules */
    border-bottom: 1px solid #ddd;
}

.tarif-table th {
    background: linear-gradient(90deg, #DC143C 0%, #0D7F8F 100%);
    color: #FFFFFF;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
}

.tarif-table tr:nth-child(even) {
    background-color: rgba(212, 175, 55, 0.1);
}

.tarif-table tr:hover {
    background-color: rgba(212, 175, 55, 0.25);
}

.info-text {
    text-align: center;
    font-style: italic;
    color: #FFFFFF;
    margin: 20px auto;
    font-family: 'Changa', sans-serif;
    max-width: 80%; /* Limite la largeur du texte pour une meilleure lisibilité */
    margin-left: auto;
    margin-right: auto;
}

.reservation-btn {
    display: block;
    width: 200px;
    margin: 30px auto; /* Centre le bouton horizontalement */
    padding: 12px;
    background: linear-gradient(90deg, #DC143C 0%, #D4AF37 100%);
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.reservation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

/* Styles spécifiques à la page prestation 2 */
.prestation-container-2 {
    max-width: 900px;
    margin: 30px auto; /* Centre le conteneur horizontalement */
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 79, 139, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 10px;
    border-left: 5px solid #D4AF37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    text-align: center; /* Centre tout le texte à l'intérieur */
}

.prestation-title-2 {
    text-align: center;
    color: #D4AF37;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.tarif-table-2 {
    width: 90%; /* Largeur relative pour éviter que le tableau ne soit trop large sur mobile */
    margin: 20px auto; /* Centre le tableau horizontalement */
    border-collapse: collapse;
}

.tarif-table-2 th,
.tarif-table-2 td {
    padding: 12px;
    text-align: center; /* Centre le contenu des cellules */
    border-bottom: 1px solid #ddd;
}

.tarif-table-2 th {
    background: linear-gradient(90deg, #DC143C 0%, #0D7F8F 100%);
    color: #FFFFFF;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
}

.tarif-table-2 tr:nth-child(even) {
    background-color: rgba(212, 175, 55, 0.1);
}

.tarif-table-2 tr:hover {
    background-color: rgba(212, 175, 55, 0.25);
}

.info-text-2 {
    text-align: center;
    font-style: italic;
    color: #FFFFFF;
    margin: 20px auto;
    font-family: 'Changa', sans-serif;
    max-width: 80%; /* Limite la largeur du texte pour une meilleure lisibilité */
    margin-left: auto;
    margin-right: auto;
}

.reservation-btn-2 {
    display: block;
    width: 200px;
    margin: 30px auto; /* Centre le bouton horizontalement */
    padding: 12px;
    background: linear-gradient(90deg, #DC143C 0%, #D4AF37 100%);
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.reservation-btn-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.prestation-seo-section,
.prestation-faq-section {
    max-width: 1040px;
    margin: 28px auto;
    padding: 28px;
    background: #ffffff;
    color: #0B2847;
    border-radius: 18px;
    border: 1px solid rgba(11, 40, 71, 0.12);
    border-top: 6px solid #5CB8E4;
    box-shadow: 0 20px 45px rgba(11, 40, 71, 0.16);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 18px, 6% 0, 18% 12px, 30% 4px, 44% 16px, 58% 3px, 73% 15px, 86% 0, 100% 18px, 100% calc(100% - 18px), 92% 100%, 78% calc(100% - 10px), 64% 100%, 48% calc(100% - 12px), 32% 100%, 16% calc(100% - 8px), 0 calc(100% - 18px));
}

.prestation-seo-section::before,
.prestation-faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(92, 184, 228, 0.35);
    border-radius: 18px;
    pointer-events: none;
}

.prestation-seo-inner h2,
.prestation-seo-inner h3 {
    color: #1E3A8A;
}

.prestation-seo-inner h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 30px;
}

.prestation-seo-inner h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 21px;
    color: #6A5ACD;
}

.prestation-seo-inner p,
.prestation-faq-grid p {
    font-family: 'Roboto', sans-serif;
    color: #0F172A;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.prestation-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.prestation-faq-grid article {
    padding: 18px;
    border-radius: 10px;
    background: #fffdf4;
    border: 1px solid rgba(11, 40, 71, 0.14);
}

.faq-question {
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    margin-top: 10px;
}

#prestations {
    background: #ffffff;
    color: #0B2847;
    max-width: 900px;
    width: calc(100% - 40px);
    margin: 20px auto;
    padding: 30px 26px;
    border-radius: 18px;
    border: 1px solid rgba(11, 40, 71, 0.12);
    border-top: 6px solid #5CB8E4;
    box-shadow: 0 20px 45px rgba(11, 40, 71, 0.16);
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 18px, 6% 0, 18% 12px, 30% 4px, 44% 16px, 58% 3px, 73% 15px, 86% 0, 100% 18px, 100% calc(100% - 18px), 92% 100%, 78% calc(100% - 10px), 64% 100%, 48% calc(100% - 12px), 32% 100%, 16% calc(100% - 8px), 0 calc(100% - 18px));
}

#prestations::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(92, 184, 228, 0.35);
    border-radius: 18px;
    pointer-events: none;
}


.prestations-subsection {
    margin-top: 22px;
}

.prestations-inner h2,
.prestations-inner h3 {
    font-family: Arial, sans-serif;
    color: #222222;
}

.prestations-inner h2 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 32px;
    letter-spacing: 0.04em;
}

.prestations-inner h3 {
    margin: 0 0 8px;
    font-size: 22px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 6px;
}

.prestation-description {
    margin: 10px 0 10px;
    color: #34495e;
    line-height: 1.65;
    font-size: 16px;
}

.prestation-pricing-note {
    text-align: right;
    font-size: 14px;
    color: #7f8c8d;
    margin: 8px 0 10px;
}

.prestations-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.prestation-item {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 120px 90px;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid #e8e8e8;
}

.prestation-item-simple {
    grid-template-columns: minmax(180px, 1fr) 90px;
}

.prestation-name {
    font-weight: 700;
    color: #1f2933;
}

.prestation-duration {
    color: #4a4a4a;
    text-align: center;
    font-weight: 600;
}

.prestation-price {
    color: #e67e22;
    text-align: right;
    font-weight: 700;
    font-size: 18px;
}

.prestation-footnote {
    margin-top: 14px;
    font-size: 13px;
    color: #7f8c8d;
    font-style: italic;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .prestation-seo-section,
    .prestation-faq-section {
        margin: 20px 12px;
        padding: 20px;
    }

    .prestation-seo-inner h2 {
        font-size: 24px;
    }

    #prestations {
        width: calc(100% - 24px);
        margin: 16px auto;
        padding: 16px;
    }

    .prestations-inner h2 {
        font-size: 26px;
    }

    .prestations-inner h3 {
        font-size: 20px;
    }

    .prestation-item {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: left;
    }

    .prestation-pricing-note {
        text-align: left;
    }

    .prestation-duration,
    .prestation-price {
        text-align: left;
    }

}

/* Styles spécifiques à la page prestation 3*/
.prestation-container-3{
    max-width: 900px;
    margin: 30px auto; /* Centre le conteneur horizontalement */
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 79, 139, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 10px;
    border-left: 5px solid #D4AF37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    text-align: center; /* Centre tout le texte à l'intérieur */
    position: relative; /* Nécessaire pour le positionnement absolu de l'image */
    overflow: hidden; /* Évite que l'image dépasse du conteneur */
}

.prestation-title-3 {
    text-align: center;
    color: #D4AF37;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.tarif-table-3 {
    width: 90%; /* Largeur relative pour éviter que le tableau ne soit trop large sur mobile */
    margin: 20px auto; /* Centre le tableau horizontalement */
    border-collapse: collapse;
}

.tarif-table-3 th,
.tarif-table-3 td {
    padding: 12px;
    text-align: center; /* Centre le contenu des cellules */
    border-bottom: 1px solid #ddd;
}

.tarif-table-3 th {
    background: linear-gradient(90deg, #DC143C 0%, #0D7F8F 100%);
    color: #FFFFFF;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
}

.tarif-table-3 tr:nth-child(even) {
    background-color: rgba(212, 175, 55, 0.1);
}

.tarif-table-3 tr:hover {
    background-color: rgba(212, 175, 55, 0.25);
}

.info-text-3 {
    text-align: center;
    font-style: italic;
    color: #FFFFFF;
    margin: 20px auto;
    font-family: 'Changa', sans-serif;
    max-width: 80%; /* Limite la largeur du texte pour une meilleure lisibilité */
    margin-left: auto;
    margin-right: auto;
}

.reservation-btn-3 {
    display: block;
    width: 200px;
    margin: 30px auto; /* Centre le bouton horizontalement */
    padding: 12px;
    background: linear-gradient(90deg, #DC143C 0%, #D4AF37 100%);
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.reservation-btn-3:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.image-container-3 {
    position: absolute;
    top: 10px; /* Ajuste la position verticale */
    right: 10px; /* Ajuste la position horizontale */
    z-index: 1; /* Assure que l'image reste au-dessus du contenu */
}

.image-corner-3 {
    width: 100px; /* Ajuste la taille selon tes besoins */
    height: auto;
    border-radius: 5px; /* Optionnel : coins arrondis */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optionnel : ombre légère */
}


/* Styles spécifiques à la page prestation 4*/
.prestation-container-4{
    max-width: 900px;
    margin: 30px auto; /* Centre le conteneur horizontalement */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centre tout le texte à l'intérieur */
    position: relative; /* Nécessaire pour le positionnement absolu de l'image */
    overflow: hidden; /* Évite que l'image dépasse du conteneur */
}

.prestation-title-4 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.tarif-table-4 {
    width: 90%; /* Largeur relative pour éviter que le tableau ne soit trop large sur mobile */
    margin: 20px auto; /* Centre le tableau horizontalement */
    border-collapse: collapse;
}

.tarif-table-4 th,
.tarif-table-4 td {
    padding: 12px;
    text-align: center; /* Centre le contenu des cellules */
    border-bottom: 1px solid #ddd;
}

.tarif-table-4 th {
    background-color: #333333;
    color: #F8F4E9;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
}

.tarif-table-4 tr:nth-child(even) {
    background-color: #f2f2f2;
}

.tarif-table-4 tr:hover {
    background-color: #e6e6e6;
}

.info-text-4 {
    text-align: center;
    font-style: italic;
    color: #666;
    margin: 20px auto;
    font-family: 'Changa', sans-serif;
    max-width: 80%; /* Limite la largeur du texte pour une meilleure lisibilité */
    margin-left: auto;
    margin-right: auto;
}

.reservation-btn-4 {
    display: block;
    width: 200px;
    margin: 30px auto; /* Centre le bouton horizontalement */
    padding: 12px;
    background-color: #333333;
    color: #F8F4E9;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    transition: background-color 0.3s;
}

.reservation-btn-4:hover {
    background-color: #555555;
}

/* Menu hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 200;
}

.menu-toggle img {
    width: 40px;
    height: 40px;
}

/* Style de la pop-up */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Affiche une popup lorsque la classe .open est ajoutée */
.popup.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px 20px 40px; /* extra bottom padding so sticky button doesn't overlap content */
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    /* Prevent the popup from exceeding the viewport and enable internal scrolling */
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
} 

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

/* Small inline error message for form fields */
.field-error {
    color: #d9534f;
    font-size: 0.9em;
    margin-top: 6px;
    display: none;
} 

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Ensure action buttons inside popups are visible and full width */
#validerCreneauBtn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    position: sticky;
    bottom: 0;
    z-index: 10;
    background-color: #2196F3;
}

#validerCreneauBtn:hover { background-color: #1976D2; }

/* Style pour le calendrier */
#calendar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
}

.calendar-day {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.calendar-day.available {
    background-color: #222; /* Dark background */
    border: 2px solid #90EE90; /* Green border for available */
    color: #90EE90;
}

.calendar-day.available:hover {
    background-color: #90EE90;
    color: #000;
}

.calendar-day.unavailable {
    background-color: #DC143C;
    border: 2px solid #FF6B81;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.9;
}

.calendar-day.selected {
    background-color: #D4AF37; /* Gold for selected */
    color: #000;
    font-weight: bold;
    border: 2px solid #D4AF37;
}

.no-dates {
    width: 100%;
    text-align: center;
    color: #aaa;
    margin-top: 10px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

/* Style pour les tranches horaires */
#timeSlots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
    /* Limit height to avoid pushing the button off-screen */
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 8px; /* avoid scrollbar overlapping content */
}

.time-slot {
    padding: 12px 8px;
    background-color: #222; /* Dark background */
    color: #fff;
    border: 1px solid #444; /* Subtle border */
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background-color: #333;
    border-color: #D4AF37;
    color: #D4AF37;
}

.time-slot.selected {
    background-color: #D4AF37; /* Gold for selected */
    color: #000;
    border-color: #D4AF37;
    font-weight: bold;
}


/* Style pour la section "Suivez-nous" */
.suivez-nous {
    text-align: center; /* Centre le texte */
    margin: 30px auto; /* Espacement vertical et centrage horizontal */
    max-width: 800px; /* Largeur maximale */
}

.suivez-nous h3 {
    font-family: 'Changa', sans-serif;
    font-size: 24px;
    color: #333333; /* Gris foncé */
    display: inline-block; /* Permet de souligner uniquement le texte */
    border-bottom: 1px solid #333333; /* Soulignement fin */
    padding-bottom: 5px; /* Espacement sous le soulignement */
    margin-bottom: 20px; /* Espacement sous le titre */
}

/* Conteneur pour les logos */
.logos-container {
    display: flex; /* Affiche les logos en ligne */
    justify-content: center; /* Centre les logos horizontalement */
    gap: 20px; /* Espace entre les logos */
}

/* Style pour chaque logo */
.logo {
    width: 50px; /* Largeur du logo */
    height: 50px; /* Hauteur du logo */
    object-fit: contain; /* Garde les proportions */
    transition: transform 0.3s; /* Effet de transition au survol */
}

.logo:hover {
    transform: scale(1.1); /* Légèrement agrandi au survol */
}

footer {
    background-color: #000000; /* Noir */
    padding: 20px 0; /* Espacement vertical */
    text-align: center; /* Centre le texte */
    margin-top: 40px; /* Espacement au-dessus du footer */
    border-top: 3px solid #D4AF37;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style pour le copyright */
.copyright {
    color: #ffffff; /* Gris foncé */
    font-family: 'Changa', sans-serif;
    font-size: 14px; /* Taille du texte */
    margin: 0; /* Enlève les marges par défaut */
}

/* === Styles pour les formulaires et inputs === */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 8px 12px;
    background-color: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    font-family: 'Changa', sans-serif;
    font-size: 13px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    background-color: #333;
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

input[type="file"]::file-selector-button {
    background-color: #D4AF37;
    color: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background-color: #e0c765;
}

input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #D4AF37;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

/* ====================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ==================================== */

/* Tablettes et écrans moyens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 250;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle img {
        width: 40px;
        height: 40px;
    }

    .top-right-image {
        width: 110px;
    }

    #titre_accueill {
        margin-top: 60px;
        font-size: 28px;
    }

    #sous_titre {
        font-size: 18px;
    }

    #village {
        font-size: 16px;
    }

    .navigation {
        position: fixed;
        left: -300px;
        top: 96px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(to right, #1E3A8A, #4682B4);
        padding: 20px 0;
        border-radius: 0;
        margin: 0;
        transition: left 0.3s;
        z-index: 180;
        overflow-y: auto;
    }

    .navigation.active {
        left: 0;
    }

    .navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .navigation li {
        width: 100%;
        padding: 0;
    }

    .navigation li a {
        padding: 15px 20px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    .prestation-container,
    .prestation-container-2,
    .prestation-container-3,
    .prestation-container-4 {
        max-width: 95%;
        margin: 20px auto;
        padding: 15px;
    }

    .prestation-title,
    .prestation-title-2,
    .prestation-title-3,
    .prestation-title-4 {
        font-size: 22px;
    }

    .tarif-table,
    .tarif-table-2,
    .tarif-table-3,
    .tarif-table-4 {
        width: 100%;
        font-size: 14px;
    }

    .tarif-table th,
    .tarif-table td,
    .tarif-table-2 th,
    .tarif-table-2 td,
    .tarif-table-3 th,
    .tarif-table-3 td,
    .tarif-table-4 th,
    .tarif-table-4 td {
        padding: 8px;
    }

    .reservation-btn,
    .reservation-btn-2,
    .reservation-btn-3,
    .reservation-btn-4 {
        width: 100%;
        max-width: 200px;
    }

    .info-text,
    .info-text-2,
    .info-text-3,
    .info-text-4 {
        font-size: 14px;
        max-width: 95%;
    }

    .popup-content {
        width: 95%;
        max-width: 500px;
    }

    .calendar-day {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 12px;
    }

    #timeSlots {
        max-height: 30vh;
    }

    .suivez-nous {
        margin: 20px 10px;
    }

    .logos-container {
        gap: 15px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }
}

/* Petits écrans - téléphones */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .menu-toggle {
        top: 5px;
        left: 5px;
    }

    .menu-toggle img {
        width: 35px;
        height: 35px;
    }

    .top-right-image {
        width: 72px;
    }

    #titre_accueill {
        margin-top: 50px;
        font-size: 24px;
    }

    #sous_titre {
        font-size: 16px;
    }

    #village {
        font-size: 14px;
    }

    .navigation {
        width: 250px;
        top: 50px;
    }

    .navigation li a {
        font-size: 16px;
        padding: 12px 15px;
    }

    .prestation-container,
    .prestation-container-2,
    .prestation-container-3,
    .prestation-container-4 {
        max-width: 100%;
        margin: 15px 10px;
        padding: 12px;
    }

    .prestation-title,
    .prestation-title-2,
    .prestation-title-3,
    .prestation-title-4 {
        font-size: 20px;
    }

    .tarif-table,
    .tarif-table-2,
    .tarif-table-3,
    .tarif-table-4 {
        width: 100%;
        font-size: 12px;
    }

    .tarif-table th,
    .tarif-table td,
    .tarif-table-2 th,
    .tarif-table-2 td,
    .tarif-table-3 th,
    .tarif-table-3 td,
    .tarif-table-4 th,
    .tarif-table-4 td {
        padding: 6px;
    }

    .reservation-btn,
    .reservation-btn-2,
    .reservation-btn-3,
    .reservation-btn-4 {
        width: 100%;
        max-width: 150px;
        font-size: 14px;
    }

    .info-text,
    .info-text-2,
    .info-text-3,
    .info-text-4 {
        font-size: 13px;
        max-width: 100%;
        padding: 0 10px;
    }

    .popup-content {
        width: 98%;
        max-width: 450px;
        padding: 15px;
    }

    .close {
        font-size: 20px;
        right: 15px;
        top: 8px;
    }

    .form-group input {
        font-size: 16px;
    }

    .calendar-day {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 11px;
    }

    #calendar {
        gap: 3px;
    }

    #timeSlots {
        max-height: 25vh;
        gap: 8px;
    }

    .time-slot {
        padding: 6px 10px;
        font-size: 14px;
    }

    .suivez-nous {
        margin: 15px 5px;
    }

    .logos-container {
        gap: 10px;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    footer {
        margin-top: 20px;
        padding: 15px 10px;
    }

    .copyright {
        font-size: 12px;
    }
}
/* === Global responsive safety net === */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

input, select, textarea, button {
    max-width: 100%;
}

table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* === End global responsive safety net === */

/* === Flyer color theme override === */
:root {
    --flyer-blue-main: #1E3A8A;
    --flyer-blue-violet: #6A5ACD;
}

body,
h1, h2, h3, h4, h5, h6,
p,
a,
.title,
.main-text,
.content {
    color: var(--flyer-blue-main) !important;
}

#sous_titre,
#village,
h2.subtitle,
h3.subtitle,
h4.subtitle,
.subtitle,
.info-text,
.info-text-2,
.info-text-3,
.info-text-4,
.details,
.horaires,
.coordonnees,
.contact-card__eyebrow,
.contact-card__label {
    color: var(--flyer-blue-violet) !important;
}

a {
    text-decoration: none;
    border-bottom: 1px solid var(--flyer-blue-violet);
    transition: border-bottom 0.3s ease;
}

a:hover {
    border-bottom: 2px solid var(--flyer-blue-violet);
}
/* === End flyer color theme override === */

/* === Keep navigation text white === */
.navigation a,
.navigation li a,
.navbar a,
.navbar li a,
nav a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.navigation a:hover,
.navigation li a:hover,
.navbar a:hover,
.navbar li a:hover,
nav a:hover {
    color: rgba(255, 255, 255, 0.88) !important;
    border-bottom: none !important;
}
/* === End keep navigation text white === */

/* === Mobile hardening (final overrides) === */
@media (max-width: 768px) {
    #titre_accueill {
        padding: 0 56px;
        line-height: 1.2;
        word-break: break-word;
    }

    .navigation {
        width: min(280px, 88vw);
        top: 58px !important;
        height: calc(100dvh - 58px);
        padding: 12px 0;
        border-radius: 0 14px 14px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }

    #prestations {
        width: calc(100% - 16px);
        padding: 14px;
    }

    .prestation-seo-section,
    .prestation-faq-section {
        margin: 16px 10px;
        padding: 16px;
    }

    .prestation-item,
    .prestation-item-simple {
        grid-template-columns: 1fr;
    }

    .prestation-duration,
    .prestation-price {
        text-align: left;
    }

    .popup-content {
        width: 96% !important;
        max-width: 560px;
    }
}

@media (max-width: 480px) {
    #titre_accueill {
        padding: 0 48px;
    }

    .navigation {
        width: min(250px, 90vw);
        top: 58px !important;
        height: calc(100dvh - 58px);
    }
}
