/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}


/*---------------------------------------------------------*/
/* Bandeau fixe */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #E0D2BC; /* Beige originel */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    font-family: 'Josefin Sans', sans-serif;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto; /* 3 zones distinctes */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    font-family: 'Josefin Sans', sans-serif;
}
/* Espacement pour éviter le chevauchement avec le header */
/* Supprime padding-top: 80px d'ici */
main, section {
    text-align: center;
}

/* Style du logo */
.logo-img {
    height: 90px; /* Ajuste la hauteur selon ton logo */
    width: auto;  /* Garde les proportions */
    display: block;
}

.logo a {
    display: flex;
    align-items: center;
}
/* Sections */
section {
    padding: 2rem 1rem; /* Espace interne */
    min-height: auto; /* Désactive min-height: 100vh si ça pose problème */
    font-family: 'Josefin Sans', sans-serif;

}

/* Conteneur principal pour centrer le contenu */
.container {
    width: 100%;
    max-width: 800px; /* Largeur maximale pour le contenu */
    margin: 0 auto;
    padding: 0rem;
    text-align: center;
}

/* Titres */
h1, h2, h3 {
    margin-bottom: 0rem; /* Espace après le titre */
    text-align: center;
    color: #1D3549; /* Bleu foncé */
    font-family: 'Josefin Sans', sans-serif;
}

h1 {
    margin-top: 1rem; /* Espace avant le titre */
    text-align: center;
    font-size: 3.8rem;
    max-width: auto;
}

h2 {
    margin-top: 1rem; /* Espace avant le titre */
    font-size: 2rem;
    max-width: 800px;
}

h3 {
    margin-top: 1rem; /* Espace avant le titre */
    font-size: 1.5rem;
    max-width: 800px;
}

/* Paragraphes */
p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0rem; /* Espace après le paragraphe */
    line-height: 1.8;
    font-family: 'Josefin Sans', sans-serif;

}

/* Grille des services centrée */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
    margin: 2rem auto;
    max-width: 1200px;
}

/* Style du menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Espacement entre les liens */
    margin: 0;
    padding: 0;
    justify-content: center;
}

/* Réinitialise la marge automatique de la partie droite */
.header-right {
    margin-left: 0; 
    display: flex;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Josefin Sans', sans-serif;

}

nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Espace pour éviter que le contenu soit caché sous le bandeau */
body {
    background-color: #F2ECE1;
    margin: 0;
    padding-top: 110px; /* <--- Ajuste cette valeur selon la hauteur de ton header sur Desktop */
    font-family: 'Josefin Sans', sans-serif;
    color: #333;
}
/* Décale le point d'atterrissage des liens pour tenir compte du header fixe */
section[id] {
    scroll-margin-top: 110px;
}

/*---------------------------------------------------------*/

/* Grille des services centrée */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
    margin: 2rem auto;
    max-width: 1200px;
}

/* Cartes de services */
.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/*.service-card:hover {
    transform: translateY(-5px);
}*/

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
}


/* Style de base pour le lien de l'image */
.image-link {
    display: inline-block; /* Permet de gérer la largeur/hauteur */
    position: relative;   /* Pour positionner la flèche */
    overflow: hidden;     /* Évite que la flèche dépasse */
}

/* Style de l'image */
.service-image {
    display: block;       /* Évite les espaces en dessous */
    width: 300px;          /* Largeur maximale */
    transition: transform 0.3s; /* Effet de zoom au survol (optionnel) */
}

/* Flèche qui apparaît au survol */
.image-link::after {
    content: "→";         /* Flèche simple (tu peux utiliser une icône) */
    position: absolute;
    top: 50%;             /* Centre verticalement */
    left: 50%;            /* Centre horizontalement */
    transform: translate(-50%, -50%); /* Centre parfaitement */
    color: white;         /* Couleur de la flèche */
    font-size: 2rem;      /* Taille de la flèche */
    opacity: 0;           /* Invisible par défaut */
    transition: opacity 0.3s; /* Animation douce */
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    width: 50px;          /* Largeur du fond */
    height: 50px;         /* Hauteur du fond */
    border-radius: 50%;   /* Forme ronde */
    display: flex;        /* Centre le contenu */
    align-items: center;  /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
    pointer-events: none; /* Permet de cliquer sur l'image */
}

/* Afficher la flèche au survol */
.image-link:hover::after {
    opacity: 1; /* Rend la flèche visible */
}

/* Effet de zoom léger au survol (optionnel) */
.image-link:hover .service-image {
    transform: scale(1.05); /* Zoom de 5% */
}


/* Section hero avec image en plein écran */
.large {
    position: relative;
    height: 100vh; /* Pleine hauteur de l'écran */
    overflow: hidden; /* Cache le débordement */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Image de fond avec effet de zoom */
.large-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease-out;
    z-index: -1; /* Place l'image derrière le contenu */
}

/* Contenu du hero (texte, bouton) */
.large-content {
    max-width: 800px;
    padding: 0 1rem;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.large h1 {
    max-width: 800px;

    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.large p {
    max-width: 800px;

    font-size: 1.5rem;
    margin-bottom: 2rem;
}

p {
    max-width: 800px;   /* Limite la largeur pour éviter des lignes trop longues */
    margin: 0 auto;     /* Centre le bloc lui-même */
    text-align: justify;
    /*text-align-last: justify; justifie la dernière ligne */
    text-justify: inter-word;
}
/* Animation pour le texte */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Liste personnalisée */
.custom-list {
    text-align: left;
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 5rem;
}

.custom-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-family: 'Josefin Sans', sans-serif;

}

.custom-list li::before {
    content: "●"; /* Puce personnalisée */
    color: #007BFF;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.custom-list p {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: #555;
}

strong_ {
    font-weight: bold;
    color: #1D3549; /* Bleu foncé */
    font-family: 'Josefin Sans', sans-serif;
}

italic_ {
    font-style: italic;
    color: #1D3549; /* Bleu foncé */
    font-family: 'Josefin Sans', sans-serif;
}


/* Conteneur du carousel */
.carousel-container {
    position: relative; /* Nécessaire pour positionner les flèches */
    width: 100%;
    max-width: 1000px; /* Largeur maximale du carousel */
    margin: 2rem auto;
    overflow: hidden; /* Cache les images qui dépassent */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Carousel (conteneur des slides) */
.carousel {
    display: flex;
    transition: transform 0.5s ease; /* Animation fluide pour le défilement */
    width: 100%;
}

/* Slides (chaque image) */
.carousel-slide {
    min-width: 100%; /* Chaque slide prend toute la largeur du conteneur */
    flex-shrink: 0; /* Empêche les slides de rétrécir */
}

.carousel-slide img {
    width: 100%;
    height: 400px; /* Hauteur fixe pour les images */
    object-fit: cover; /* Remplit bien l'espace */
    display: block;
}

/* Flèches de navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0; /* Invisible par défaut */
    transition: opacity 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px; /* Flèche à gauche */
}

.carousel-next {
    right: 10px; /* Flèche à droite */
}

/* Afficher les flèches au survol du conteneur */
.carousel-container:hover .carousel-arrow {
    opacity: 1; /* Visible au survol */
}
/* Style des drapeaux */
.language-flags {
    display: flex;
    gap: 0.5rem; /* Espace entre les drapeaux */
    margin-left: 1rem;
    padding-right: 1.5rem;
    position: relative;
}

.flag-link {
    font-size: 1.5rem; /* Taille des emojis */
    color: #333;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.flag-link:hover {
    opacity: 1; 
}


/* Bouton LinkedIn */

.linkedin-link {
    display: inline-block; /* Permet de gérer la largeur/hauteur */
    position: relative;   /* Pour positionner la flèche */
    overflow: hidden;     /* Évite que la flèche dépasse */
}


/* Icônes sociales */
.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-left: 0rem;
}



.language-flags::after {
    content: "";
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background-color: #4b402d;
}


/* Section Réservation */
#booking {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
}

.booking-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0077B5;
    outline: none;
}

.submit-button {
    display: block;
    width: 100%;
    background-color: #0077B5;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #005582;
}

/* Agenda intégré */
.calendar-embed {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.bandeau-container {
width: 100%;
overflow: hidden;
position: relative;
background: #f5f5f5; /* couleur de fond, à adapter */
padding: 20px 0;
}

.bandeau-track {
display: flex;
width: max-content;
animation: defilement 25s linear infinite;
}

.bandeau-track img {
height: 250px;      /* hauteur des images, à ajuster */
width: auto;
margin-right: 40px; /* espace entre les images */
object-fit: contain;
flex-shrink: 0;
}

@keyframes defilement {
from {
    transform: translateX(0);
}
to {
    transform: translateX(-50%);
}
}

/* Pause au survol de la souris (optionnel, tu peux supprimer ce bloc) */
.bandeau-container:hover .bandeau-track {
animation-play-state: paused;
}


.btn-reservation {
    display: inline-block;
    background-color: #1D3549; /* couleur à adapter à ta charte */
    color: #fff;
    text-decoration: none;
    padding: 40px 150px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 2rem;
    margin: 20px 0;
    transition: background-color 0.2s ease;
    font-family: 'Josefin Sans', sans-serif;
}

.btn-reservation:hover {
    background-color: #1a252f; /* teinte légèrement plus foncée au survol */
}


/* PAGE DE RESERVATION.   */

:root {
    --resa-primary: #2F4538;      /* vert profond — à adapter à ta charte */
    --resa-primary-dark: #1E2E24;
    --resa-accent: #C68B59;       /* ocre chaud, pour les accents */
    --resa-bg: #FAF7F2;           /* fond crème clair */
    --resa-available: #8FA888;    /* vert doux = disponible */
    --resa-available-dark: #5A7A54;
    --resa-booked: #D8A9A0;       /* rose terracotta = complet */
    --resa-closed: #E4E0D6;       /* beige neutre = fermé/passé */
    --resa-text: #2C2C2A;
    --resa-text-muted: #7A7870;
    --resa-border: #E4E0D6;
    --resa-radius: 10px;
}
 
.resa-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--resa-text);
    max-width: 680px;
    margin: 0 auto;
    background: var(--resa-bg);
    border-radius: 16px;
    padding: 28px;
}
 
.resa-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.resa-cal-header button {
    background: none;
    border: 1px solid var(--resa-border);
    border-radius: var(--resa-radius);
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 16px;
    color: var(--resa-primary);
}
.resa-cal-header h3 {
    margin: 0;
    font-size: 18px;
    text-transform: capitalize;
  }
 
  .resa-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}
 
.resa-daylabel {
    text-align: center;
    font-size: 12px;
    color: var(--resa-text-muted);
    padding-bottom: 4px;
}
 
.resa-day {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    font-size: 13px;
    background: transparent;
    border: 2px solid transparent;
    padding: 4px 2px;
}
 
.resa-day-num { font-weight: 600; }
 
.resa-day.clickable { cursor: pointer; background: #fff; border: 1px solid var(--resa-border); }
.resa-day.clickable:hover { border-color: var(--resa-accent); }
.resa-day.selected { border-color: var(--resa-primary-dark) !important; }
 
.resa-day.closed,
.resa-day.empty {
    color: var(--resa-text-muted);
}

.resa-day.closed { background: var(--resa-closed); }
.resa-day.empty { visibility: hidden; }
 
.resa-day.full { background: var(--resa-booked); color: #fff; opacity: 0.8; }
 
.resa-mini-slots {
    display: flex;
    gap: 3px;
}
.resa-mini-slots i {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    display: inline-block;
    background: var(--resa-closed);
}
.resa-mini-slots i.ok { background: var(--resa-available); }
.resa-mini-slots i.no { background: var(--resa-booked); }

.resa-grid-message {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
    text-align: center;
    padding: 0 24px;
    color: var(--resa-text-muted);
    font-size: 13px;
    font-family: 'Josefin Sans', sans-serif;
}

.resa-legend {
    display: flex;
    gap: 16px;
    font-size: 11.5px;
    color: var(--resa-text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.resa-legend span { display: flex; align-items: center; gap: 5px; }
.resa-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
 
.resa-steps {
    border-top: 1px solid var(--resa-border);
    margin-top: 20px;
    padding-top: 20px;
}
 
.resa-step { display: none; animation: resa-fade 0.25s ease; }
.resa-step.active { display: block; }
 
@keyframes resa-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
 
.resa-step h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--resa-text-muted);
    font-weight: 600;
}
 
.resa-services,
.resa-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
 
.resa-service-card,
.resa-slot-card {
    border: 1px solid var(--resa-border);
    border-radius: var(--resa-radius);
    padding: 14px;
    cursor: pointer;
    background: #fff;
    font-size: 14px;
    text-align: left;
}
.resa-service-card:hover,
.resa-slot-card:not(:disabled):hover { border-color: var(--resa-accent); }
.resa-service-card.selected,
.resa-slot-card.selected {
    border-color: var(--resa-primary);
    background: #F0F3EE;
    font-weight: 600;
}
.resa-slot-card:disabled {
    background: var(--resa-closed);
    color: var(--resa-text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}
.resa-slot-card .resa-slot-time {
    display: block;
    font-size: 11.5px;
    color: var(--resa-text-muted);
    margin-top: 3px;
}
 
.resa-field { margin-bottom: 12px; }
.resa-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--resa-text-muted);
}
.resa-field input,
.resa-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--resa-border);
    border-radius: var(--resa-radius);
    font-size: 14px;
    font-family: inherit;
}
.resa-field textarea { resize: vertical; min-height: 70px; }
 
.resa-people { display: flex; align-items: center; gap: 14px; }
.resa-people button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--resa-border);
    background: #fff;
    font-size: 16px;
    cursor: pointer;
}
.resa-people span { font-size: 16px; font-weight: 600; min-width: 20px; text-align: center; }
 
.resa-btn {
    background: var(--resa-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--resa-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}
.resa-btn:hover { background: var(--resa-primary-dark); }
 
.resa-summary {
    background: #fff;
    border: 1px solid var(--resa-border);
    border-radius: var(--resa-radius);
    padding: 14px;
    font-size: 13px;
    margin-bottom: 14px;
    color: var(--resa-text-muted);
}
.resa-summary strong { color: var(--resa-text); }
 
.resa-confirm { text-align: center; padding: 20px 0; }
.resa-confirm .resa-check {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--resa-available);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
}

/* ============================================================ */
/* AJUSTEMENTS SMARTPHONE — ajouts uniquement, rien de modifié    */
/* au-dessus. S'applique sous 768px (tablette/mobile) puis       */
/* affine encore en dessous de 480px (petits smartphones).       */
/* ============================================================ */

/* ---------- Bouton hamburger ---------- */
/* Caché sur desktop, affiché uniquement sous 768px (voir media query) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1D3549;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
/* Transforme les 3 barres en croix quand le menu est ouvert */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Sur desktop, ce conteneur ne doit rien changer à la mise en page :
   il se rend "invisible" en tant que boîte, nav et header-right
   restent des enfants directs de .header-content, comme avant. */
.mobile-menu-panel {
    display: contents;
}


/* ==========================================================
   Bouton Retour en haut
========================================================== */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: #1D3549;
    color: white;

    font-size: 1.8rem;
    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0,0,0,.25);

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        background .2s ease;

    z-index: 9999;
}

.back-to-top:hover {
    background: #2F4538;
    transform: translateY(0) scale(1.08);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


@media (max-width: 768px) {

    .back-to-top{
        width:50px;
        height:50px;
        font-size:1.5rem;
        bottom:18px;
        right:18px;
    }
    /* ---------- Header ---------- */
    .header-content {
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    .logo-img {
        height: 55px;
    }

    .nav-toggle {
        display: flex;
    }

    /* Le menu ET le bloc drapeaux/icônes sont regroupés dans un seul
       panneau déroulant, empilés l'un sous l'autre (plus de chevauchement) */
    .mobile-menu-panel {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #E0D2BC;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    .mobile-menu-panel.is-open {
        display: flex;
    }

    nav {
        width: 100%;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0;
    }
    nav a {
        display: block;
        padding: 0.9rem 1.5rem;
        font-size: 1.05rem;
        border-radius: 0;
        text-align: center;
    }

    .header-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
        margin-left: 0;
        padding: 0.5rem 0 1.2rem;
    }
    .language-flags::after {
        display: none;
    }

    /* Le header ne prend plus que la hauteur d'une seule ligne compacte :
       le panneau déroulant se superpose au contenu (position: absolute)
       au lieu de le pousser. */

    body {
        padding-top: 75px; /* <--- Hauteur réduite du header sur mobile */
    }
    
    main, section {
        padding-top: 0; /* Évite de rajouter de l'espace inutile */
    }

    /* ---------- Titres et texte ---------- */
    
    h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    p {
        text-align: left;
    }

    .large h1 {
        font-size: 2.2rem;
    }
    .large p {
        font-size: 1.1rem;
    }

    .custom-list {
        margin: 1rem 1.2rem;
    }

    /* ---------- Bouton de réservation ---------- */
    .btn-reservation {
        padding: 18px 40px;
        font-size: 1.2rem;
        font-family: 'Josefin Sans', sans-serif;
        width: 100%;
        max-width: 320px;
        text-align: center;
        box-sizing: border-box;
    }

    /* ---------- Bandeau défilant ---------- */
    .bandeau-track img {
        height: 90px;
        margin-right: 24px;
    }
    .bandeau-track {
        animation-duration: 16s;
    }

    /* ---------- Cartes de services ---------- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .service-card {
        max-width: 100%;
    }
    .service-image {
        width: 100%;
        height: auto;
    }

    /* ---------- Carousel ---------- */
    .carousel-slide img {
        height: 220px;
    }

    /* ---------- Module de réservation (calendrier) ---------- */
    .resa-wrap {
        padding: 16px;
        border-radius: 0;
    }
    .resa-cal-header h3 {
        font-size: 15px;
    }
    .resa-day {
        min-height: 44px;
        font-size: 12px;
    }
    .resa-mini-slots i {
        width: 5px;
        height: 5px;
    }

    .resa-grid-message {
        height: 300px;
    }

    .resa-legend {
        font-size: 10.5px;
        gap: 10px;
    }
    .resa-services,
    .resa-slots {
        grid-template-columns: 1fr;
    }
    .resa-service-card,
    .resa-slot-card {
        padding: 12px;
        font-size: 13px;
    }
    .resa-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }
    .btn-reservation {
        padding: 16px 24px;
        font-size: 1rem;
    }
}


.error-message {
    color: #ff0000; /* Rouge */
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none; /* Masqué par défaut */
}


/* =========================== */
/* ===== SECTION CONTACT ===== */
/* =========================== */


.contact-section {
    text-align: center;
    padding: 2rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-section p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Conteneur des méthodes de contact */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Lien de contact (email/WhatsApp) */
.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.contact-link:hover {
    background-color: #0077B5; /* Bleu LinkedIn */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Icônes de contact */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s;
}

.contact-link:hover .contact-icon {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Icône Email */
.email-icon svg {
    color: #333;
    transition: color 0.3s;
}

.contact-link:hover .email-icon svg {
    color: white;
}

/* Icône WhatsApp */
.whatsapp-icon {
    background-color: #ffffff; /* Vert WhatsApp */
}

.whatsapp-icon svg {
    color: white;
    transition: color 0.3s;
}

.contact-link:hover .whatsapp-icon svg {
    color: white;
}

/* Responsive : affiche les liens côte à côte sur desktop */
@media (min-width: 600px) {
    .contact-methods {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-link {
        flex: 1 1 200px; /* Largeur flexible */
    }
}


/* ===== FOOTER SUR UNE SEULE LIGNE ===== */
.site-footer {
    background-color: #F2ECE1;
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-family: 'Josefin Sans', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: 'Josefin Sans', sans-serif;

}

.footer-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Espace entre les éléments */
    flex-wrap: wrap; /* Permet de passer à la ligne sur mobile si nécessaire */
    font-family: 'Josefin Sans', sans-serif;

}

.footer-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    font-family: 'Josefin Sans', sans-serif;

}

.footer-link:hover {
    color: #0077B5; /* Bleu LinkedIn */
    font-family: 'Josefin Sans', sans-serif;

}

/* Réseaux sociaux dans le footer */
.footer-social {
    display: flex;
    gap: 0.75rem; /* Espace entre les icônes */
    font-family: 'Josefin Sans', sans-serif;

}

.footer-social .social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    font-family: 'Josefin Sans', sans-serif;

}

.footer-social .social-link:hover {
    transform: scale(1.1);
}

.footer-social .social-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Copyright */
.footer-copyright {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;

}

/* Responsive : sur mobile, les éléments peuvent passer à la ligne */
@media (max-width: 600px) {
    .footer-inline {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-social {
        order: 1; /* Place les réseaux sociaux en premier sur mobile */
    }

    .footer-copyright {
        order: 2; /* Place le copyright en dernier sur mobile */
    }
}