/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Nunito", sans-serif !important;
    color: #ffffff;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.hamburger-btn {
    display: none;
}

/* Sidebar fixe */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100vh;
    background-color: #1b1b1c !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: width 0.5s;
    z-index: 1000;
    border-right: 1px solid #c500a8;
}

@media (min-width: 768px) {
.sidebar:hover {
    width: 200px;
}
}

.sidebar ul {
    list-style: none;
    width: 100%;
    margin-top: 20px;
}

.sidebar li {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: #ffffff !important;
    transition: background 0.2s;
    width: 100%;
    position: relative;
    margin-left: -25px;
    border-bottom-right-radius: 5px;
    border-top-right-radius:5px;
}

@media (min-width: 768px) {
.sidebar li:hover {
    background-color: #c500a8;
}
}

/* Icon fixée avec décalage de 10px */
.sidebar .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.btnFermer {
    border: 1px solid #c500a8;
    background: #00000000;
    color: #c500a8;
    padding: 5px;
    border-radius: 5px;
    font-size: 25px;
}

/*---------------------------------------------*/

/* Texte qui apparaît au survol de la sidebar */
.sidebar .text {
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    margin-left: 15px;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
.sidebar:hover .text {
    opacity: 1;
}
}

@media (min-width: 768px) {
#openCredits {
    display: flex !important;
    align-items: center !important;
    padding: 5px;
    cursor: pointer;
    color: #c500a890 !important;
    transition: background 0.2s;
    width: 100%;
    position: absolute !important; /* garde absolute */
    bottom: 5px;                  /* 10px depuis le bas du parent */                      /* aligné à gauche */
    margin-left: -25px;             /* ton style existant */
    border-bottom-right-radius: 5px;
    border-top-right-radius:5px;
    white-space: nowrap !important;
    overflow: hidden !important;
    opacity: 1;
    transition: opacity 0.3s;
}


#openCredits:hover {
    display: flex !important;
    align-items: center !important;
    padding: 5px;
    color: #c500a890 !important;
    background: #00000000;
    transition: color 0.2s;
    width: 100%;
    position: absolute !important; /* remplacé relative par absolute */
    bottom: 5px;                   /* 10px depuis le bas */                       /* aligné à gauche */
    margin-left: -25px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    opacity: 1;
}
}

@media (max-width: 768px) {
#openCredits {
    display: flex !important;
    align-items: center !important;
    padding: 5px;
    cursor: pointer;
    color: #c500a890 !important;
    transition: background 0.2s;
    width: 100%;
    position: relative;
    margin-left: -25px;
    border-bottom-right-radius: 5px;
    border-top-right-radius:5px;
    white-space: nowrap;
    overflow: hidden !important;
    opacity: 1;
    transition: opacity 0.3s;
    margin-top: auto !important;
}

#openCredits:hover {
    display: flex !important;
    align-items: center !important;
    padding: 5px;
    color: #c500a890 !important;
    background: #00000000;
    transition: color 0.2s;
    width: 100%;
    position: relative !important;
    margin-left: -25px;
    border-bottom-right-radius: 5px;
    border-top-right-radius:5px;
    opacity: 1;
}
}

@media (min-width: 768px) {
#openCredits a:hover {
    margin-left: 60px !important;
    cursor: pointer !important;
    color: white;
}
}

#openCredits a {
    margin-left: 60px !important;
    transition: color 1s;
}

/*----------------------------------------*/

/* Bloc PDF Engagement - Version réduite */
.engagement-pdf-container {
    background: linear-gradient(135deg, #f8f0ff 0%, #e6f0ff 100%);
    border: 1.5px solid #c500a8;
    border-radius: 12px;
    padding: 15px;
    margin: 20px auto;
    max-width: 550px;
    box-shadow: 0 4px 10px rgba(197, 0, 168, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.engagement-pdf-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.engagement-pdf-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #c500a8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    position: relative;
    z-index: 101;
}

.engagement-pdf-text {
    flex-grow: 1;
}

.engagement-pdf-title {
    color: #c500a8;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Nunito', sans-serif;
}

.engagement-pdf-desc {
    color: #555;
    font-size: 0.9em;
    line-height: 1.3;
    margin: 0;
}

.engagement-pdf-btn {
    flex-shrink: 0;
    background: #c500a8;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    z-index: 101;
}

.engagement-pdf-btn i {
    font-size: 1em;
}

/* Version mobile ULTRA compacte */
@media screen and (max-width: 768px) {
    .engagement-pdf-container {
        margin: 3px 5px;
        padding: 6px;
        max-width: calc(100% - 10px);
        border-width: 1px;
        border-radius: 6px;
    }
    
    .engagement-pdf-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .engagement-pdf-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .engagement-pdf-title {
        font-size: 0.8em;
        margin: 0;
        line-height: 1;
    }
    
    .engagement-pdf-desc {
        font-size: 0.65em;
        line-height: 1.1;
        margin: 0;
    }
    
    .engagement-pdf-btn {
        width: 100%;
        justify-content: center;
        padding: 4px 8px;
        font-size: 0.65em;
        border-radius: 12px;
        margin-top: 2px;
    }
}

/*----------------------------------------*/

/* Highlight onglet actif */
.sidebar li.active {
    background-color: #c500a8;
}

/* Contenu */
.content {
    margin-left: 60px; /* laisse place à la sidebar */
    width: calc(100vw - 60px);
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Scrollbar invisible mais fonctionnelle */
.content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
.content {
    -ms-overflow-style: none; /* IE & Edge */
    scrollbar-width: none; /* Firefox */
}

.tab {
    width: 100%;
    height: 100vh;
    padding: 50px;
    background-color: #303030;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    scroll-snap-align: start;
}

h1, h2 {
    margin-bottom: 20px;
}

p, li {
    font-size: 18px;
    margin-bottom: 10px;
}

ul {
    list-style: disc;
    margin-left: 20px;
}

/*------------------Onglet Acceuil-------------------*/
#accueil {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#accueil::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url("Logo/Image 1.png") center/cover no-repeat;
    z-index: 0;
    filter: blur(2px);
}

.titre {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: white;
    font-weight: bold;
    display: block;          
    width: 750px;             
    text-align: center;
    padding: 12px 25px;
    background: #00000059;
    border-radius: 120px;
    z-index: 2;
}

.description {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    display: block;           
    width: 750px;             
    text-align: center;
    padding: 12px 25px;
    z-index: 2;
}

.logo-gauche {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

#Imge {
    width: 220px;
    height: auto;
}

.droite {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 40px;
    z-index: 2;
    color: white;
}

.service-container,
.rdv-container {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    width: 420px; 
    border-radius: 20px;
    backdrop-filter: blur(12px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
.service-container:hover,
.rdv-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    margin-top: 15px;
    background: linear-gradient(135deg, #ffffff5e, #c500a877);
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px #c500a840;
    color: white;
}

@media (min-width: 768px) {
.btn:hover {
    box-shadow: 0 6px 18px #c500a840;
}
}

.btn.rdv {
    background: linear-gradient(135deg, #c500a877, #ffffff5e);
    box-shadow: 0 4px 12px #c500a840;
}

@media (min-width: 768px) {
.btn.rdv:hover {
    box-shadow: 0 6px 18px #c500a840;
}
}

/* Widget d'avis */
.widget-avis {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 3px;
    width: 190px;
    background: #00000059;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 140px;
    text-align: center;
    z-index: 500;
}

.etoiles {
    font-size: 24px;
    color: #ffcc00;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: -8px;
}

.etoile {
    transition: transform 0.2s ease;
}

@media (min-width: 768px) {
.etoile:hover {
    transform: scale(1.15);
}
}

.nombre-avis {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #00000000;
    padding: 6px 0px;
    border-radius: 8px;
    display: inline-block;
}

/*------------------Onglet Horaires-------------------*/

#horaires {
    background: linear-gradient(90deg, #373737 0%, #252525 100%);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.horaires-wrapper {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: flex-start;
}

/* Colonne gauche - Titre et statut */
.horaires-left {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.horaires-left h2 {
    font-size: 3rem;
    color: #c500a8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
}

.horaires-description {
    color: #dcdcdc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Statut Ouvert/Fermé simplifié */
.status-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.status-badge.ouvert {
    background: linear-gradient(135deg, #c500a8, #91007b);
    color: white;
    border: 2px solid #c500a8;
}

.status-badge.ferme {
    background: linear-gradient(135deg, #dc3545, #a82634);
    color: white;
    border: 2px solid #ff4d5e;
}

/* Colonne droite - Horaires simplifiés */
.horaires-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Chaque petit bloc horaire */
.horaire-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 1rem;
    color: #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
.horaire-row:hover {
    background: #c500a81a;
}
}

.horaire-jour {
    font-weight: 600;
    color: #ffffff;
    text-transform: capitalize;
}

.horaire-heure {
    font-weight: 500;
    color: #dcdcdc;
}

/* Jour actuel highlight */
.horaire-row.today {
    background: #c500a833;
}

/* Badge double statut Ouvert/Fermé */
.status-double {
    display: flex;
    width: 220px;
    height: 60px;
    border-radius: 300px !important;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    background-color: #606060c1 !important;
}

.statut-ouvert, .statut-ferme {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.statut-ouvert {
    background: #ffffff00;
    color: #ffffff99;
}

.statut-ferme {
    background: #ffffff00;
    color: #ffffff99;
}

.statut-ouvert.actif {
    background: linear-gradient(135deg, #c500a8, #7d006a);
    color: white;
    box-shadow:
        0 0 18px rgba(197, 0, 168, 0.75),
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 0 18px rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
    z-index: 1;
}

.statut-ferme.actif {
    background: linear-gradient(135deg, #dc3545, #a82634);
    color: white;
    box-shadow:
        0 0 18px rgba(220, 53, 69, 0.75),
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 0 18px rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
    z-index: 1;
}

/* Icônes dans le badge */
.statut-ouvert i, .statut-ferme i {
    margin-right: 8px;
    font-size: 1.7rem !important;
}

/* Jour actuel highlight (garder le fond) */
.horaire-row.today {
    background: #c500a826;
}

/*------------------Onglet Contact-------------------*/
#contact {
    background: linear-gradient(90deg, #373737 0%, #252525 100%);
    position: relative;
    overflow: hidden;
    border: none !important;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Colonne gauche - Titre et description */
.contact-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-left h2 {
    font-size: 3.5rem;
    color: #c500a8;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1.2;
}

.contact-description {
    color: #dcdcdc;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

.contact-cta {
    margin-top: 20px;
}

.contact-btn-rdv {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background-color: #64646469 ;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    cursor: pointer !important;
}

@media (min-width: 768px) {
.contact-btn-rdv:hover {
    transform: translateY(-5px) scale(1.05);
}
}

.contact-btn-rdv i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
.contact-btn-rdv:hover i {
    transform: rotate(15deg);
}
}

/* Colonne droite - Informations de contact */
.contact-info-container {
    flex: 1;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

@media (min-width: 768px) {
.contact-item:hover {
    background: #c500a81a;
    border-color: #c500a84d;
    transform: translateX(10px);
}
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c500a8, #860072);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 5px 15px #c500a84d;
}

.contact-icon i {
    font-size: 1.4rem;
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 400;
}

.contact-value a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer !important;
}

@media (min-width: 768px) {
.contact-value a:hover {
    color: #c500a8;
}
}

/* Section réseaux sociaux */
.contact-social {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #c500a833;
}

.contact-social-title {
    font-size: 1.1rem;
    color: #c500a8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.contact-social-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: max-content;
    min-width: 190px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border-radius: 0;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: none;
    border: 0;
    cursor: pointer !important;
    overflow: visible;
}

.social-logo {
    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
    transform: none;
    filter: none;
    transition: none;
}

.social-name {
    display: block;
    max-width: none;
    color: #ffffff;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

/*------------------Footer-------------------*/
.site-footer {
    width: 100%;
    min-height: auto;
    padding: 28px 48px;
    background: #171719;
    border-top: 1px solid rgba(197, 0, 168, 0.28);
    color: #ffffff;
    scroll-snap-align: start;
}

.site-footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .5px;
    white-space: nowrap;
}

.footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.footer-nav a,
.footer-link-btn {
    min-height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d8d8d8;
    font: inherit;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}

@media (min-width: 768px) {
.footer-nav a:hover,
.footer-link-btn:hover {
    color: #ffffff;
}
}

.footer-copy {
    margin: 0;
    color: #a9a9a9;
    font-size: .86rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
.social-link:hover {
    transform: none;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.social-link:hover .social-logo {
    transform: none;
    filter: none;
    cursor: pointer !important;
}
}

/* Styles spécifiques par réseau social */
@media (min-width: 768px) {
.social-link.facebook:hover,
.social-link.instagram:hover,
.social-link.twitter:hover,
.social-link.linkedin:hover,
.social-link.youtube:hover,
.social-link.tiktok:hover,
.social-link.snapchat:hover,
.social-link.pinterest:hover {
    background: transparent;
    border-color: transparent;
}
}

/*------------------Onglet Présentation-------------------*/
#presentation {
    background: linear-gradient(90deg, #373737 0%, #252525 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    min-height: auto;
    position: relative;
    overflow: hidden;
    border: none !important;
}

.presentation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    position: relative;
}

.pres-title {
    color: #c500a8;
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.pres-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c500a8, transparent);
}

.pres-meta {
    max-width: 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: -80px;
}

.meta-line {
    color: #e5e5e5;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 300;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.presentation-body {
    position: relative;
    width: 100%;
    min-height: 520px;
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.presentation-gallery {
    --slide-width: min(74vw, 560px);
    --slide-height: 390px;
    position: relative;
    width: min(100%, 980px);
    height: var(--slide-height);
    margin: 0 auto;
    isolation: isolate;
    overflow: visible;
}

.presentation-slide {
    --x: 0px;
    --y: 0px;
    --scale: 0.72;
    --rotate: 0deg;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--slide-width);
    height: var(--slide-height);
    margin: 0;
    border: none;
    border-radius: 0 !important;
    background: transparent;
    opacity: 0;
    overflow: visible !important;
    pointer-events: none;
    transform: translate(-50%, -50%) translateX(var(--x)) translateY(var(--y)) scale(var(--scale)) rotate(var(--rotate));
    transform-origin: center;
    transition: transform 0.75s cubic-bezier(.22, 1, .36, 1), opacity 0.45s ease, filter 0.45s ease;
    will-change: transform, opacity;
}

.presentation-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 24px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 24px) !important;
    filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.45));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
    backface-visibility: hidden;
    user-select: none;
    -webkit-user-drag: none;
}

@media (min-width: 768px) {
.presentation-slide img:hover {
    cursor : pointer !important;
}

.presentation-slide:hover {
    cursor : pointer !important;
}
}

.presentation-slide.is-active {
    --x: 0px;
    --y: 0px;
    --scale: 1;
    --rotate: 0deg;
    z-index: 5;
    opacity: 1;
    cursor: zoom-in;
    pointer-events: auto;
}

.presentation-slide.is-prev {
    --x: -225px;
    --y: 22px;
    --scale: 0.78;
    --rotate: -7deg;
    z-index: 3;
    opacity: 0.68;
    filter: brightness(0.72);
}

.presentation-slide.is-next {
    --x: 225px;
    --y: 22px;
    --scale: 0.78;
    --rotate: 7deg;
    z-index: 4;
    opacity: 0.78;
    filter: brightness(0.82);
}

.presentation-slide.is-before {
    --x: -390px;
    --y: 42px;
    --scale: 0.6;
    --rotate: -10deg;
    z-index: 1;
    opacity: 0.32;
    filter: brightness(0.55);
}

.presentation-slide.is-after {
    --x: 390px;
    --y: 42px;
    --scale: 0.6;
    --rotate: 10deg;
    z-index: 2;
    opacity: 0.38;
    filter: brightness(0.62);
}

.presentation-slide.is-hidden {
    --x: 0px;
    --y: 60px;
    --scale: 0.45;
    --rotate: 0deg;
    z-index: 0;
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .presentation-gallery:hover .presentation-slide.is-active {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1.07) rotate(0deg);
    }
}

.presentation-image-modal {
    background: rgba(0, 0, 0, 0.86);
    z-index: 9999;
}

.presentation-image-modal .modal-content {
    width: auto;
    max-width: 94vw;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
}

.presentation-image-modal .close {
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) !important;
    line-height: 1;
}

.presentation-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.presentation-preview img {
    max-width: 92vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 18px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 18px) !important;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.55));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
    backface-visibility: hidden;
}

/*------------------Onglet RDV-------------------*/
#rdv {
    padding: 20px;
    background: linear-gradient(90deg, #373737 0%, #252525 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* En-tête avec titre et légende */
.rdv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

#rdv-bloc {
    height: 100%;
    width: 100%;
}

/* Titre à gauche */
#rdv h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Cacher le radio button mais garder la fonctionnalité */
.service-option input[type="radio"] {
    display: none;
}

/* Style par défaut de l'option */
.service-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Style au survol */
@media (min-width: 768px) {
.service-option:hover {
    background: #c500a81a;
    border-color: #c500a84d;
}
}

/* Style QUAND SÉLECTIONNÉ */
.service-option input[type="radio"]:checked + label {
    /* Le label lui-même quand sélectionné */
}

/* MIEUX : Style du conteneur .service-option quand sélectionné */
/* On utilise une classe .selected qu'on ajoute via JS */
.service-option.selected {
    background: #c500a81a !important;
    border-color: #c500a8 !important;
    border-width: 0.5px;
}

/* Style du texte dans l'option sélectionnée */
.service-option.selected .service-name {
    color: #c500a8;
}

.service-option.selected .service-info {
    color: #c500a8;
}

/* Légende compacte */
.legend-small {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #dcdcdc;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
}

.legend-small span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.legend-small .available,
.legend-small .busy,
.legend-small .disabled {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-small .available {
    background: #28a745;
}

.legend-small .busy {
    background: #dc3545;
}

.legend-small .disabled {
    background: #6c757d;
}

/* Navigation de semaine */
.week-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1400px;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.week-nav-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
.week-nav-btn:hover {
    background: #c500a833;
    border-color: #c500a8;
    transform: translateY(-1px);
    cursor: pointer !important;
}
}

.week-display {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

#weekRange {
    color: #c500a8;
    font-weight: 700;
}

/* Boutons des jours - Grid compact */
#dayButtons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 1400px;
    margin-bottom: 20px;
}

#dayButtons button {
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
}

@media (min-width: 768px) {
#dayButtons button:hover {
    background: #c500a826;
    border-color: #c500a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #c500a833;
}
}

#dayButtons button.active {
    background: linear-gradient(90deg, #505050, #404040);
    color: white;
    border-color: #c500a8;
}

.day-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.day-date {
    font-size: 0.8rem;
    opacity: 0.8;
}

.day-today {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff6b6b;
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
}

/* Messages d'état pour les jours */
.day-blocked {
    display: block;
    font-size: 0.7rem;
    color: #ff6b6b;
    margin-top: 5px;
    font-weight: 600;
}



.closed-message {
    text-align: center;
    color: #ff6b6b;
    font-weight: 600;
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Amélioration des boutons jours */
#dayButtons button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
#dayButtons button[disabled]:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}
}

#dayButtons button.day-disabled {
    position: relative;
    overflow: hidden;
}

#dayButtons button.day-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Container horaires - compact */
#dayContainer {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    width: 100%;
    max-width: 1400px;
    overflow: visible;
}

/* Cacher la légende dans dayContainer */
#dayContainer .legend {
    display: none;
}

/* Liste horaires en 2 lignes de 10 */
#dayContainer ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    grid-auto-rows: auto;                   /* hauteur auto */
    grid-auto-flow: row;                    /* remplit ligne par ligne */
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    height: auto;        /* pas de scroll */
    max-height: none;    /* retire la limitation précédente */
    overflow: visible;   /* on laisse tout visible */
}

#dayContainer ul::-webkit-scrollbar {
    width: 8px;
}

#dayContainer ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

#dayContainer ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

@media (min-width: 768px) {
#dayContainer ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}
}

#dayContainer ul li {
    margin: 0;
}

@media (min-width: 1025px) {
    #dayContainer {
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 15px;
        overflow: hidden;
    }

    #dayContainer ul {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        gap: 8px;
        padding: 0;
        overflow: visible;
    }
}

/* Boutons horaires */
.slotBtn {
    width: 100%;
    padding: 10px 8px;
    border: 1px solid;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 0.9rem;
    color: white;
}

.slotBtn.available { 
    background: #28a745; 
    border-color: rgba(40, 167, 69, 0.5);
}

.slotBtn.busy { 
    background: #6c757d; 
    cursor: not-allowed;
    border-color: rgba(108, 117, 125, 0.5);
    opacity: 0.6;
}

.slotBtn.disabled { 
    background: #6c757d; 
    cursor: not-allowed;
    border-color: rgba(108, 117, 125, 0.5);
    opacity: 0.6;
}

@media (min-width: 768px) {
.slotBtn.available:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.4);
}
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #2d2d2d;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

@media (min-width: 768px) {
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: #00000000 !important;
    border: none;
    cursor: pointer;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
.close:hover {
    background: #00000000 !important;
    color: #52c500;
    transform: rotate(90deg);
}
}

.modal-content h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.4em;
    text-align: center;
    border-bottom: 2px solid #c500a8;
    padding-bottom: 10px;
}

/* Form styles */
#chooseServiceForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#chooseServiceForm label {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

#chooseServiceForm input[type="text"],
#chooseServiceForm input[type="number"],
#chooseServiceForm input[type="tel"],
#chooseServiceForm input[type="email"],
#chooseServiceForm select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#chooseServiceForm input:focus,
#chooseServiceForm select:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

#chooseServiceForm select option {
    background: #2d2d2d;
    color: #fff;
}

#chooseServiceForm > div {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
#chooseServiceForm > div:hover {
    background: rgba(82, 197, 0, 0.05);
    border-color: rgba(82, 197, 0, 0.4);
}
}

#chooseServiceForm input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #52c500;
}

#chooseServiceForm button[type="submit"] {
    background: linear-gradient(135deg, #52c500, #3a8d00);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

@media (min-width: 768px) {
#chooseServiceForm button[type="submit"]:hover {
    background: linear-gradient(135deg, #3a8d00, #2d6b00);
    box-shadow: 0 4px 12px rgba(82, 197, 0, 0.3);
}
}

.success {
    color: #52c500;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background: rgba(82, 197, 0, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(82, 197, 0, 0.3);
    margin-top: 10px;
}

.error {
    color: #ff6b6b;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    margin-top: 10px;
}

.rdv-info {
    position: block;
    margin-top: 60px;       
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;     
    color: #808080;
    background: #ffffff00; 
    padding: 8px 0;
    backdrop-filter: blur(4px);
    z-index: 2;     
}

/* ---------- Limite rdv ---------- */

.warning-message {
    background: #fff8e1;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.warning-message i {
    color: #ff9800;
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.warning-message p {
    margin: 10px 0;
    color: #333;
    line-height: 1.5;
}

.small-info {
    font-size: 13px;
    color: #666;
    margin-top: 15px !important;
    font-style: italic;
}

.modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

/* Style spécifique pour le message RDV */
.warning-message .fa-calendar-times {
    color: #f44336;
}

/* ---------- Styles pour le nombre de personnes ---------- */
.personnes-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.personne-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
.personne-option:hover {
    background: rgba(82, 197, 0, 0.1);
    border-color: rgba(82, 197, 0, 0.3);
}
}

.personne-option input[type="radio"] {
    margin-right: 12px;
    accent-color: #c500a8;
    transform: scale(1.2);
}

.personne-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.personne-count {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.personne-duree {
    font-size: 0.85rem;
    color: #aaa;
}

/* ---------- Styles SMS ---------- */
.sms-instructions {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.sms-instructions h4 {
    color: #c500a8;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sms-phone {
    margin: 20px 0;
    text-align: center;
}

.sms-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 16px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

@media (min-width: 768px) {
.sms-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
}

.sms-link i {
    font-size: 1.3rem;
}

.sms-action {
    font-size: 0.95rem;
    opacity: 0.9;
}

.sms-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: #ffc107;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.sms-warning i {
    font-size: 1.2rem;
}

/* ---------- Détails RDV ---------- */
.rdv-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #aaa;
    font-size: 0.9rem;
}

.detail-value {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ---------- Boutons actions ---------- */
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-copy-code {
    flex: 1;
    background: #007bff;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 768px) {
.btn-copy-code:hover {
    background: #0056b3;
    transform: translateY(-1px);
}
}

.btn-close-modal {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
}

/* ================== Bouton info RDV ================== */
.rdv-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-btn {
    background: #c500a800;
    border: 1px solid #c500a800;
    color: #c500a8;
    cursor: default !important;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

@media (min-width: 768px) {
.info-btn:hover {
    transform: scale(1.15);
    cursor: default !important;
}
}

.info-btn i{
    cursor: pointer !important;
}

/* ================== Contenu modal RDV ================== */
.info-modal-content {
    max-width: 100%;
    padding: 30px;
    color: #e0e0e0;
}

/* Titre */
.info-modal-content h3 {
    font-size: 1.6rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
}

.info-modal-content h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #c500a8;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Texte d'introduction */
.info-modal-content p {
    text-align: center;
    color: #bdbdbd;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* ================== Liste des infos ================== */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-list li {
    display: flex;
    gap: 14px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

@media (min-width: 768px) {
.info-list li:hover {
    background: rgba(197, 0, 168, 0.08);
    border-color: rgba(197, 0, 168, 0.45);
}
}

/* Icônes */
.info-list i {
    font-size: 1.4rem;
    color: #c500a8;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Texte interne */
.info-list strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.info-list div {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #d0d0d0;
}

/*------------------Onglet Services-------------------*/
#services {
    background: linear-gradient(90deg, #373737 0%, #252525 100%);
    padding: 30px 25px; /* Réduit le padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto; /* Enlève la hauteur fixe */
    height: 100vh; /* Garde la hauteur d'écran mais sans débordement */
    overflow: hidden; /* Empêche le débordement */
}

#services h2 {
    color: #c500a8;
    font-size: 2.2rem; /* Plus petit */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px; /* Réduit */
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    width: 100%;
}

#services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Plus court */
    height: 2px; /* Plus fin */
    background: linear-gradient(90deg, transparent, #c500a8, transparent);
    border-radius: 2px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Espacement réduit */
    width: 100%;
    max-width: 1200px; /* Plus étroit */
    margin: 0 auto;
    height: calc(100vh - 150px); /* Hauteur calculée */
    overflow: hidden;
}

.service-column {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #c500a833;
    border-radius: 12px; /* Arrondi plus petit */
    padding: 15px; /* Padding réduit */
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
.service-column:hover {
    border-color: #c500a866;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
}

.service-column h3 {
    color: #c500a8;
    font-size: 1.2rem; /* Plus petit */
    font-weight: 700;
    margin-bottom: 15px; /* Réduit */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c500a84d;
}

.service-column h3 i {
    font-size: 1rem; /* Plus petit */
}

/* Couleurs spécifiques par catégorie */
.service-column.coiffure h3 {
    color: #52c500;
}

.service-column.manucure h3 {
    color: #ff6b9d;
}

.service-column.tatouage h3 {
    color: #ffa500;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto; /* Ajout du défilement si nécessaire */
    max-height: calc(100% - 40px); /* Limite la hauteur de la liste */
}

.service-list li {
    padding: 8px 0; /* Padding réduit */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Plus discret */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem; /* Plus petit */
    line-height: 1.3;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-name {
    flex: 1;
    padding-right: 10px;
    font-size: 0.9rem;
}

.service-details {
    display: flex;
    gap: 8px; /* Espacement réduit */
    align-items: center;
    white-space: nowrap;
}

.duration {
    color: #aaa;
    font-size: 0.8rem; /* Plus petit */
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px; /* Padding réduit */
    border-radius: 3px;
}

.price {
    color: #fff;
    font-weight: 600;
    background: #c500a833;
    padding: 4px 10px; /* Padding réduit */
    border-radius: 15px; /* Arrondi plus petit */
    min-width: 50px; /* Largeur réduite */
    text-align: center;
    font-size: 0.9rem; /* Plus petit */
}

.no-service {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 15px 0; /* Réduit */
    justify-content: center;
    font-size: 0.9rem;
}

/* Personnaliser la scrollbar */
.service-list::-webkit-scrollbar {
    width: 4px;
}

.service-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
}

.service-list::-webkit-scrollbar-thumb {
    background: rgba(82, 197, 0, 0);
    border-radius: 2px;
}

@media (min-width: 768px) {
.service-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0);
}
}

/*------------------Onglet Avis-------------------*/

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 500;
}

#avis {
    background: linear-gradient(90deg, #373737 0%, #252525 100%);
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    margin-left: 0;
}

.avis-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1400px;
    width: 100%;
    height: 100%;
    position: relative;
}

/* En-tête avec titre centré */
.avis-header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.avis-header-section h2 {
    font-size: 3.5rem;
    color: #c500a8;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.avis-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.avis-cta .btn {
    background: linear-gradient(135deg, #c500a8, #850071);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px #c500a84d;
}

@media (min-width: 768px) {
.avis-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px #c500a866;
}
}

.avis-cta .btn i {
    font-size: 1.2rem;
}

.credits-link {
    max-width: 10px !important;
    display: none !important;
}

.avis-info {
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Container des avis avec navigation */
.avis-main-container {
    width: 100%;
    overflow-x: visible; /* ✅ */
    overflow-y: hidden;
    padding-right: 0px; /* ✅ empêche la coupe visuelle */
}

/* Wrapper qui va glisser */
.avis-container {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(0);
    overflow: visible;
}

/* Chaque carte prend 1/3 de la largeur */
.avis-card {
    min-width: calc(33% - 14px);
    flex-shrink: 0;
}

@media (min-width: 769px) {
    /* Carte individuelle */
    .avis-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        border-radius: 15px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        height: auto;
    }
}

@media (max-width: 768px) {
    .avis-card {
        flex: 0 0 calc(99.999% - 14px);
        max-width: calc(99.999% - 14px);
        border-radius: 15px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        height: auto;
    }
}

/* Boutons de navigation */
.avis-nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.avis-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0);
    border: 1px solid #c500a850;
    border-radius: 50%;
    color: #c500a8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
.avis-nav-btn:hover:not(:disabled) {
    background: #c500a8;
    color: #1a1a1a;
    border-color: #c500a8;
}
}

.avis-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.3);
}

.avis-nav-buttons.left {
    left: 3px !important;
}

.avis-nav-buttons.right {
    right: 7px !important;
}

@media (min-width: 768px) {
.fa-chevron-right:hover{
    cursor: pointer !important;
}

.fa-chevron-left:hover{
    cursor: pointer !important;
}
}

/* En-tête de la carte */
.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.avis-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.avis-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #c500a8, #8a0075);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px #c500a84d;
}

.avis-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.avis-meta strong {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.avis-date {
    color: #aaa;
    font-size: 0.85rem;
}

/* Notation étoiles */
.avis-rating {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
}

.avis-rating .fa-star {
    font-size: 1rem;
}

.avis-rating .fa-star.filled {
    color: #ffc107;
}

.avis-rating .fa-star.empty {
    color: rgba(255, 255, 255, 0.15);
}

/* Badge service */
.avis-service {
    background: #c500a826;
    border: 1px solid #c500a84d;
    border-radius: 20px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #c500a8;
    align-self: flex-start;
}

.avis-service i {
    font-size: 0.9rem;
}

.avis-comment {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow-y: auto;
    max-height: 160px;
    min-height: 100px;
    padding: 6px 0;
    margin: 0;
    display: block;
    width: 100%;

    /* Scroll invisible */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE / Edge ancien */
}

/* Chrome / Safari / Edge */
.avis-comment::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Message aucun avis */
.no-avis {
    width: 100%;
    text-align: center;
    padding: 60px 40px;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 100%;
}

.no-avis i {
    font-size: 4rem;
    color: #c500a84d;
}

.no-avis p {
    font-size: 1.2rem;
    margin: 0;
}

/* Modal pour formulaire d'avis */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #2d2d2d;
    color: #fff;
    padding: 35px;
    border-radius: 15px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto; /* scroll fonctionnel */
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid #c500a833;

    /* Masquer la scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.modal-content::-webkit-scrollbar {
    width: 0; /* Chrome, Safari et Edge */
    background: transparent;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
.close:hover {
    background: rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    transform: rotate(90deg);
}
}

.modal-content h3 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #c500a8;
}

.modal-info {
    color: #aaa;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Formulaire */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c500a8;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(82, 197, 0, 0.1);
}

.form-group select option {
    background: #2d2d2d;
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Étoiles de notation */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 8px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars input:checked ~ label {
    color: #ffc107;
    transform: scale(1.1);
}

@media (min-width: 768px) {
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #ffc107;
    transform: scale(1.1);
}
}

/* Case à cocher */
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #52c500;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    color: #dcdcdc;
}

/* Bouton submit */
.btn-submit {
    background: linear-gradient(135deg, #c500a8, #7f006c);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

@media (min-width: 768px) {
.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(140, 0, 119, 0.4)#c500a8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #c500a866;
}
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-submit i {
    font-size: 1.1rem;
}

/* Messages succès/erreur */
.success-message, .error-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: rgba(82, 197, 0, 0.15);
    border: 1px solid rgba(82, 197, 0, 0.4);
    color: #52c500;
}

.error-message {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
}

.success-message i, .error-message i {
    font-size: 1.3rem;
}

.success-message p, .error-message p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* S'assurer que le conteneur principal ne déborde pas */
.avis-main-container {
    overflow: hidden !important;
    position: relative;
}

/* Force le conteneur des cartes à rester dans les limites */
.avis-container {
    will-change: transform;
    backface-visibility: hidden;
}

/* Désactiver la sélection de texte pendant l'animation */
.avis-container * {
    user-select: none;
}

/* Pour les grands écrans uniquement (styleGrand.css) */
@media (min-width: 1920px) {
    .avis-card {
        width: calc((100vw - 300px) / 3 - 40px);
        min-width: 500px;
        max-width: 550px;
    }
    
    .avis-main-container {
        max-width: 1800px;
    }
}

/* ---------- Styles pour la limite d'avis ---------- */
.warning-message {
    background: #fff8e1;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.warning-message i {
    color: #ff9800;
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.warning-message p {
    margin: 10px 0;
    color: #333;
    line-height: 1.5;
}

.small-info {
    font-size: 13px;
    color: #666;
    margin-top: 15px !important;
    font-style: italic;
}

.modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

/* Style pour le bouton désactivé */
.btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Style pour le message de succès avec info */
.success-message .small-info {
    font-size: 13px;
    color: #28a745;
    margin-top: 10px;
    font-style: italic;
}

/* ---------- Styles pour le modal RDV ---------- */
.modal-subtitle {
    color: #aaa;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.95rem;
}

.form-section {
    background: #ffffff00 !important;
    border: 1px solid #c500a8a8 !important;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section h4 {
    color: #c500a8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #c500a84d;
    padding-bottom: 8px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c500a8;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px #c500a81a;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.hint {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-top: 5px;
}

.service-dropdown {
    position: relative;
    z-index: 30;
}

.service-dropdown-trigger {
    width: 100%;
    border: 1px solid rgba(197, 0, 168, 0.55);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    color: #ffffff;
    border-radius: 12px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.service-dropdown.open .service-dropdown-trigger {
    border-color: #c500a8;
    background: linear-gradient(135deg, rgba(197, 0, 168, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: 0 0 0 3px rgba(197, 0, 168, 0.12);
}

@media (min-width: 768px) {
.service-dropdown-trigger:hover {
    border-color: #c500a8;
    background: linear-gradient(135deg, rgba(197, 0, 168, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: 0 0 0 3px rgba(197, 0, 168, 0.12);
}
}

.service-trigger-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-trigger-label {
    color: #c500a8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.service-trigger-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.service-trigger-duration {
    color: #bdbdbd;
    font-size: 0.86rem;
    font-weight: 500;
}

.service-trigger-side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.service-trigger-price {
    color: #ffffff;
    background: rgba(197, 0, 168, 0.22);
    border: 1px solid rgba(197, 0, 168, 0.35);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-trigger-side i {
    color: #c500a8;
    transition: transform 0.25s ease;
}

.service-dropdown.open .service-trigger-side i {
    transform: rotate(180deg);
}

.service-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: min(52vh, 430px);
    overflow-y: auto;
    padding: 10px;
    background: #252525;
    border: 1px solid rgba(197, 0, 168, 0.5);
    border-radius: 14px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.service-dropdown.open .service-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.service-dropdown-panel::-webkit-scrollbar {
    width: 7px;
}

.service-dropdown-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.service-dropdown-panel::-webkit-scrollbar-thumb {
    background: rgba(197, 0, 168, 0.65);
    border-radius: 999px;
}

.service-dropdown-section + .service-dropdown-section {
    margin-top: 10px;
}

.service-dropdown-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    color: #c500a8;
    background: rgba(197, 0, 168, 0.12);
    border: 1px solid rgba(197, 0, 168, 0.22);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    user-select: none;
}

.service-dropdown-heading,
.service-dropdown-heading * {
    cursor: default !important;
}

.service-dropdown-item {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    color: #ffffff;
    border-radius: 10px;
    margin-top: 7px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-dropdown-item.selected {
    background: rgba(197, 0, 168, 0.14);
    border-color: rgba(197, 0, 168, 0.5);
}

@media (min-width: 768px) {
.service-dropdown-item:hover {
    background: rgba(197, 0, 168, 0.14);
    border-color: rgba(197, 0, 168, 0.5);
}
}

.service-dropdown-item.selected {
    box-shadow: inset 3px 0 0 #c500a8;
}

.service-item-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-item-name {
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.service-item-duration {
    color: #a7a7a7;
    font-size: 0.78rem;
}

.service-item-price {
    flex-shrink: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-dropdown-item.selected .service-item-price {
    background: rgba(197, 0, 168, 0.28);
    border-color: rgba(197, 0, 168, 0.55);
}

@media (min-width: 768px) {
    .service-dropdown-item:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 640px) {
    .service-dropdown-trigger {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-trigger-side {
        width: 100%;
        justify-content: space-between;
    }

    .service-dropdown-panel {
        position: static;
        max-height: 360px;
        margin-top: 10px;
        display: none;
        transform: none;
    }

    .service-dropdown.open .service-dropdown-panel {
        display: block;
    }

    .service-dropdown-item {
        align-items: flex-start;
    }
}

@media (min-width: 768px) {
    button:hover,
    a[href]:hover,
    [role="button"]:hover,
    .btn:hover,
    .sidebar li:hover,
    .hamburger-btn:hover,
    .contact-btn-rdv:hover,
    .social-link:hover,
    .widget-avis:hover,
    .service-dropdown-trigger:hover,
    .service-dropdown-item:hover,
    .personne-btn-option:hover,
    .slotBtn.available:hover,
    #dayButtons button:hover,
    .btn-submit-large:hover,
    .close:hover,
    .menu-item:hover,
    .btn-google-review:hover {
        cursor: pointer !important;
    }

    button:disabled:hover,
    #dayButtons button[disabled]:hover,
    .slotBtn.booked:hover,
    .service-dropdown-heading:hover,
    .service-dropdown-heading:hover * {
        cursor: default !important;
    }
}

.service-name {
    font-weight: 600;
    color: #fff;
}

.service-info {
    color: #c500a8;
    font-size: 0.9rem;
}

/* Bouton de soumission */
.form-submit {
    text-align: center;
    margin-top: 25px;
}

.btn-submit-large,
#chooseServiceForm button.btn-submit-large[type="submit"] {
    --rdv-submit-bg: linear-gradient(135deg, #f020d0 0%, #c500a8 46%, #700060 100%);
    --rdv-submit-shadow: 0 16px 34px rgba(197, 0, 168, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 56px;
    background: var(--rdv-submit-bg);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    box-shadow: var(--rdv-submit-shadow);
}

#chooseServiceForm button.btn-submit-large[type="submit"] {
    background: var(--rdv-submit-bg);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--rdv-submit-shadow);
}

.btn-submit-large::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 38%, rgba(255, 255, 255, 0.1));
    opacity: 0.55;
    pointer-events: none;
}

.btn-submit-large i {
    font-size: 1rem;
}

.btn-submit-large:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: var(--rdv-submit-shadow), 0 0 0 4px rgba(197, 0, 168, 0.24);
}

@media (min-width: 768px) {
.btn-submit-large:hover:not(:disabled),
#chooseServiceForm button.btn-submit-large[type="submit"]:hover:not(:disabled) {
    background: var(--rdv-submit-bg);
    transform: none;
    filter: none;
    box-shadow: var(--rdv-submit-shadow);
}
}

.btn-submit-large:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    box-shadow: none;
}

.form-info {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Modal de succès */
.success-modal {
    text-align: center;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}

.success-modal.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    font-size: 4rem;
    color: #c500a8;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.confirmation-code {
    background: #c500a81a;
    border: 2px solid #c500a84d;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

.code-label {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.code-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c500a8;
    letter-spacing: 3px;
    margin: 15px 0;
    text-shadow: 0 2px 10px #c500a84d;
}

.confirmation-code small {
    color: #888;
    font-size: 0.8rem;
}

.confirmation-email-card {
    padding: 16px;
}

.confirmation-email-value {
    max-width: 100%;
    margin: 10px auto 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(197, 0, 168, 0.12);
    color: #ffffff;
    font-size: clamp(0.92rem, 2.2vw, 1.08rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-shadow: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal.rdv-booking-modal #chooseServiceForm > .saved-rdv-info-prompt {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 22px !important;
    padding: 14px !important;
    border: 1px solid rgba(197, 0, 168, 0.38) !important;
    border-radius: 12px !important;
    background: rgba(197, 0, 168, 0.10) !important;
    box-shadow: none !important;
}

.modal.rdv-booking-modal #chooseServiceForm > .saved-rdv-info-prompt[hidden] {
    display: none !important;
}

.saved-rdv-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    color: #ffffff;
    line-height: 1.25;
}

.saved-rdv-info-text strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.saved-rdv-info-text span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.saved-rdv-info-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.saved-rdv-info-btn {
    min-width: 54px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.saved-rdv-info-yes {
    background: #c500a8;
    border-color: #c500a8;
}

.saved-rdv-info-no {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
    .success-modal {
        padding: 18px 0;
    }

    .confirmation-email-card {
        margin: 18px 0;
        padding: 14px;
    }

    .confirmation-email-value {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .modal.rdv-booking-modal #chooseServiceForm > .saved-rdv-info-prompt {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .saved-rdv-info-actions {
        width: 100%;
    }

    .saved-rdv-info-btn {
        flex: 1;
    }
}

@media (min-width: 768px) {
    .sms-phone {
        display: none !important;
    }

    .btn-copy-code {
        display: none !important;
    }
}

.btn-close-modal {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

@media (min-width: 768px) {
.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
}

/* Messages d'erreur dans le formulaire */
#chooseServiceForm .error-message {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

#chooseServiceForm .error-message i {
    font-size: 1.2rem;
}

#chooseServiceForm .error-message p {
    margin: 0;
    font-size: 0.9rem;
}






.widget-avis {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 15px;
    min-width: 180px;
    z-index: 10;
    text-decoration: none;
}

.avis-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.google-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.avis-google-text {
    color: white;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    margin-left: -22px;
}

.avis-stars {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 5px;
}

.avis-stars i {
    color: #FFD700;
    font-size: 14px;
}

.avis-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #ffffff;
}

.avis-note {
    font-weight: bold;
    color: white;
}

.separateur {
    color: #ffffff;
}

.avis-base {
    font-size: 11px;
    color: #ffffff;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .widget-avis {
        top: 70px;
        right: 10px;
        padding: 6px 12px;
        min-width: 150px;
    }
    
    .google-logo {
        width: 16px;
        height: 16px;
    }
    
    .avis-google-text {
        font-size: 11px;
    }
    
    .avis-stars i {
        font-size: 11px;
    }
    
    .avis-footer {
        font-size: 10px;
    }
}



.avis-google-link {
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #c500a8, #860072);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(197, 0, 168, 0.3);
    justify-content: center;
}

@media (min-width: 768px) {
.btn-google-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 0, 168, 0.4);
    cursor: pointer !important;
}
}

.btn-google-review i {
    font-size: 1.2rem;
}

/* Responsive mobile */
@media screen and (max-width: 768px) {
    .btn-google-review {
        display: none;
    }
}

/* ---------- Finitions propres UI / responsive ---------- */
.btn,
.btn.rdv,
.contact-btn-rdv,
.btn-submit-large,
.btn-close-modal,
.btn-google-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}

.widget-avis {
    width: auto !important;
    min-width: 178px;
    max-width: min(220px, calc(100vw - 28px));
    padding: 9px 13px !important;
    border-radius: 14px !important;
    text-decoration: none;
    box-sizing: border-box;
}

.avis-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.google-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
}

.avis-google-text {
    margin-left: 0 !important;
    white-space: nowrap;
    min-width: 0;
}

@media (max-width: 768px) {
    .widget-avis {
        top: 76px !important;
        right: 10px !important;
        min-width: 142px;
        max-width: 168px;
        padding: 7px 9px !important;
    }

    .avis-header {
        gap: 6px;
    }

    .google-logo {
        width: 16px;
        height: 16px;
    }

    .avis-google-text {
        font-size: 11px;
    }
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .btn:hover,
    .btn.rdv:hover,
    #openCredits:hover,
    #openCredits a:hover,
    .etoile:hover,
    .contact-value a:hover,
    .service-option:hover,
    #chooseServiceForm > div:hover,
    .personne-option:hover,
    .sms-link:hover,
    .close:hover,
    .info-btn:hover,
    .info-list li:hover,
    .avis-cta .btn:hover,
    .avis-nav-btn:hover:not(:disabled),
    .btn-submit:hover:not(:disabled),
    .service-dropdown-trigger:hover,
    .service-dropdown-item:hover,
    .btn-submit-large:hover:not(:disabled),
    .btn-close-modal:hover,
    .btn-google-review:hover,
    #dayButtons button:hover,
    .slotBtn.available:hover {
        transform: none !important;
    }

    .btn:hover,
    .btn.rdv:hover,
    .btn-submit-large:hover:not(:disabled),
    .btn-close-modal:hover,
    .btn-google-review:hover,
    #dayButtons button:hover,
    .slotBtn.available:hover {
        box-shadow: none !important;
    }

    .service-dropdown-trigger:hover,
    .service-dropdown-item:hover,
    #chooseServiceForm > div:hover,
    .personne-option:hover,
    .info-list li:hover {
        border-color: inherit !important;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   CORRECTION PRÉSENTATION
   Border-radius uniquement sur les images, pas sur les containers
========================================================= */

:root {
    --presentation-img-radius: 24px;
    --presentation-img-radius-mobile: 18px;
    --presentation-img-radius-grand: 34px;
}

/* Containers / figures : aucun arrondi */
#presentation .presentation-body,
#presentation .presentation-gallery,
#presentation .presentation-slide,
#presentation figure.presentation-slide,
#presentation [data-gallery-item] {
    border-radius: 0 !important;
}

#presentation .presentation-slide,
#presentation figure.presentation-slide,
#presentation [data-gallery-item] {
    overflow: visible !important;
    background: transparent !important;
}

/* Images uniquement : arrondi réel sur l'image */
#presentation .presentation-slide > img,
#presentation figure.presentation-slide > img,
#presentation [data-gallery-item] > img,
#presentation .presentation-gallery img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: var(--presentation-img-radius) !important;
    overflow: hidden !important;
    clip-path: inset(0 round var(--presentation-img-radius)) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Modale / image agrandie */
.presentation-image-modal .modal-content,
.presentation-image-modal .presentation-preview {
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.presentation-image-modal .presentation-preview > img,
.presentation-image-modal .presentation-preview img,
.presentation-preview > img,
.presentation-preview img {
    display: block !important;
    object-fit: contain !important;
    border-radius: var(--presentation-img-radius) !important;
    overflow: hidden !important;
    clip-path: inset(0 round var(--presentation-img-radius)) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media screen and (max-width: 768px) {
    #presentation .presentation-slide,
    #presentation figure.presentation-slide,
    #presentation [data-gallery-item] {
        border-radius: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    #presentation .presentation-slide > img,
    #presentation figure.presentation-slide > img,
    #presentation [data-gallery-item] > img,
    #presentation .presentation-gallery img,
    .presentation-image-modal .presentation-preview > img,
    .presentation-image-modal .presentation-preview img,
    .presentation-preview > img,
    .presentation-preview img {
        border-radius: var(--presentation-img-radius-mobile) !important;
        clip-path: inset(0 round var(--presentation-img-radius-mobile)) !important;
    }
}

@media screen and (min-width: 1920px) {
    #presentation .presentation-slide,
    #presentation figure.presentation-slide,
    #presentation [data-gallery-item] {
        border-radius: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    #presentation .presentation-slide > img,
    #presentation figure.presentation-slide > img,
    #presentation [data-gallery-item] > img,
    #presentation .presentation-gallery img,
    .presentation-image-modal .presentation-preview > img,
    .presentation-image-modal .presentation-preview img,
    .presentation-preview > img,
    .presentation-preview img {
        border-radius: var(--presentation-img-radius-grand) !important;
        clip-path: inset(0 round var(--presentation-img-radius-grand)) !important;
    }
}

/* =========================================================
   Animations UI : hover PC et feedback tactile mobile
========================================================= */
:root {
    --aurora-motion-fast: 160ms;
    --aurora-motion-med: 280ms;
    --aurora-motion-slow: 520ms;
    --aurora-ease: cubic-bezier(.22, 1, .36, 1);
}

@keyframes auroraFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auroraSoftPop {
    0% {
        transform: scale(.98);
        filter: brightness(.96);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.tab {
    animation: auroraFadeUp var(--aurora-motion-slow) var(--aurora-ease) both;
}

#presentation .presentation-slide.is-active > img {
    animation: auroraSoftPop 420ms var(--aurora-ease) both;
}

@media (min-width: 768px) {
    .btn,
    .btn.rdv,
    .contact-btn-rdv,
    .social-link,
    .widget-avis,
    .service-container,
    .rdv-container,
    .horaire-row,
    .contact-item,
    .service-option,
    .week-nav-btn,
    #dayButtons button,
    .slotBtn.available,
    .close,
    #chooseServiceForm > div,
    #chooseServiceForm button[type="submit"],
    .personne-option,
    .sms-link,
    .btn-copy-code,
    .btn-close-modal,
    .info-btn,
    .info-list li,
    .service-column,
    .avis-cta .btn,
    .avis-nav-btn,
    .btn-submit,
    .service-dropdown-trigger,
    .service-dropdown-item,
    .btn-submit-large,
    .btn-google-review {
        transition:
            transform var(--aurora-motion-med) var(--aurora-ease),
            box-shadow var(--aurora-motion-med) var(--aurora-ease),
            filter var(--aurora-motion-med) var(--aurora-ease),
            background var(--aurora-motion-med) var(--aurora-ease),
            border-color var(--aurora-motion-med) var(--aurora-ease),
            color var(--aurora-motion-fast) ease !important;
    }

    .btn:hover,
    .btn.rdv:hover,
    .contact-btn-rdv:hover,
    .widget-avis:hover,
    .week-nav-btn:hover,
    #dayButtons button:hover,
    .slotBtn.available:hover,
    #chooseServiceForm button[type="submit"]:hover,
    .sms-link:hover,
    .btn-copy-code:hover,
    .btn-close-modal:hover,
    .avis-cta .btn:hover,
    .avis-nav-btn:hover:not(:disabled),
    .btn-submit:hover:not(:disabled),
    .btn-submit-large:hover:not(:disabled),
    .btn-google-review:hover {
        transform: translateY(-3px) scale(1.015);
        filter: brightness(1.06);
    }

    .service-container:hover,
    .rdv-container:hover,
    .horaire-row:hover,
    .contact-item:hover,
    .service-option:hover,
    #chooseServiceForm > div:hover,
    .personne-option:hover,
    .info-list li:hover,
    .service-dropdown-trigger:hover,
    .service-dropdown-item:hover {
        transform: translateY(-4px);
        filter: brightness(1.04);
    }

    .sidebar:hover .text,
    #openCredits:hover,
    #openCredits a:hover,
    .contact-value a:hover,
    .fa-chevron-right:hover,
    .fa-chevron-left:hover,
    .presentation-slide:hover,
    .presentation-slide img:hover {
        transition:
            transform var(--aurora-motion-fast) var(--aurora-ease),
            color var(--aurora-motion-fast) ease,
            opacity var(--aurora-motion-med) ease,
            filter var(--aurora-motion-med) ease !important;
    }

    .presentation-gallery:hover .presentation-slide.is-active > img {
        filter: brightness(1.04) drop-shadow(0 28px 40px rgba(0, 0, 0, 0.5));
    }
}

@media (max-width: 767px), (hover: none), (pointer: coarse) {
    .btn,
    .btn.rdv,
    .contact-btn-rdv,
    .menu-item,
    .hamburger-btn,
    .week-nav-btn,
    #dayButtons button,
    .slotBtn.available,
    .close,
    .personne-option,
    .personne-btn-option,
    .service-dropdown-trigger,
    .service-dropdown-item,
    .btn-submit,
    .btn-submit-large,
    .btn-close-modal,
    .btn-google-review,
    .social-link {
        transition:
            transform var(--aurora-motion-fast) var(--aurora-ease),
            filter var(--aurora-motion-fast) ease,
            box-shadow var(--aurora-motion-fast) ease !important;
    }

    .btn:active,
    .btn.rdv:active,
    .contact-btn-rdv:active,
    .menu-item:active,
    .week-nav-btn:active,
    #dayButtons button:active,
    .slotBtn.available:active,
    .close:active,
    .personne-option:active,
    .personne-btn-option:active,
    .service-dropdown-trigger:active,
    .service-dropdown-item:active,
    .btn-submit:active,
    .btn-submit-large:active,
    .btn-close-modal:active,
    .btn-google-review:active,
    .social-link:active {
        transform: scale(.97) !important;
        filter: brightness(1.08) !important;
    }

    .hamburger-btn:active {
        transform: scale(.94) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tab,
    #presentation .presentation-slide.is-active > img {
        animation: none !important;
    }
}

/* Panneau ouvert / ferme : style plat, sans ombre */
#horaires .status-double {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 510px;
    height: 82px;
    gap: 1px;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none !important;
}

#horaires .statut-ouvert,
#horaires .statut-ferme {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1;
    box-shadow: none !important;
    transform: none !important;
    transition:
        background 0.25s ease,
        color 0.25s ease !important;
}

#horaires .statut-ouvert.actif {
    background: linear-gradient(135deg, rgba(197, 0, 168, 0.95), rgba(125, 0, 106, 0.95));
    color: #ffffff;
}

#horaires .statut-ferme.actif {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(168, 38, 52, 0.95));
    color: #ffffff;
}

#horaires .statut-ouvert i,
#horaires .statut-ferme i {
    margin-right: 0;
}

/* Modal prise de RDV : fond plein ecran, panneau centre sur desktop */
.modal.rdv-booking-modal {
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: #080808 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
}

.modal.rdv-booking-modal .modal-content {
    width: 30vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: max(22px, env(safe-area-inset-top)) 24px max(26px, env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.modal.rdv-booking-modal .modal-content h3 {
    margin: 0 42px 18px 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 2px solid #c500a8 !important;
    font-size: clamp(1.35rem, 5.6vw, 1.7rem) !important;
    line-height: 1.12 !important;
}

.modal.rdv-booking-modal .close,
.modal.rdv-booking-modal .close:hover {
    top: max(18px, env(safe-area-inset-top)) !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    background: rgba(197, 0, 168, 0.13) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
    color: #ffffff !important;
    font-size: 36px !important;
    line-height: 1 !important;
    transform: none !important;
    filter: none !important;
}

.modal.rdv-booking-modal .modal-subtitle {
    margin: 0 0 22px !important;
    color: rgba(255, 255, 255, 0.68) !important;
    text-align: center !important;
}

.modal.rdv-booking-modal #chooseServiceForm {
    gap: 22px !important;
}

.modal.rdv-booking-modal #chooseServiceForm > div,
.modal.rdv-booking-modal #chooseServiceForm > div:hover,
.modal.rdv-booking-modal .form-section,
.modal.rdv-booking-modal .form-section:hover {
    padding: 0 !important;
    margin: 0 0 26px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
}

.modal.rdv-booking-modal .form-section h4 {
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid rgba(197, 0, 168, 0.5) !important;
    color: #c500a8 !important;
}

.modal.rdv-booking-modal .personne-btn-option,
.modal.rdv-booking-modal .personne-btn-option:hover {
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

.modal.rdv-booking-modal .personnes-buttons {
    gap: 12px !important;
}

.modal.rdv-booking-modal .personne-btn-option.selected {
    border-color: rgba(197, 0, 168, 0.95) !important;
    color: #c500a8 !important;
}

.modal.rdv-booking-modal .personne-btn-content {
    padding: 0 !important;
}

.modal.rdv-booking-modal .personne-icon,
.modal.rdv-booking-modal .personne-check {
    box-shadow: none !important;
}

.modal.rdv-booking-modal .service-dropdown-trigger,
.modal.rdv-booking-modal .service-dropdown-trigger:hover,
.modal.rdv-booking-modal .service-dropdown.open .service-dropdown-trigger {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(197, 0, 168, 0.55) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(197, 0, 168, 0.18), rgba(255, 255, 255, 0.055)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transform: none !important;
    filter: none !important;
}

.modal.rdv-booking-modal .service-dropdown.open .service-dropdown-trigger {
    border-color: rgba(197, 0, 168, 0.9) !important;
    background: linear-gradient(135deg, rgba(197, 0, 168, 0.24), rgba(255, 255, 255, 0.07)) !important;
    box-shadow: 0 0 0 2px rgba(197, 0, 168, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.modal.rdv-booking-modal .service-trigger-price,
.modal.rdv-booking-modal .service-item-price {
    border: 1px solid rgba(197, 0, 168, 0.38) !important;
    background: rgba(197, 0, 168, 0.3) !important;
}

.modal.rdv-booking-modal .service-dropdown-panel {
    left: 0 !important;
    right: 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(197, 0, 168, 0.45) !important;
    border-radius: 12px !important;
    background: #181818 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55) !important;
}

.modal.rdv-booking-modal .service-dropdown-heading {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-inline: 0 !important;
}

.modal.rdv-booking-modal .service-dropdown-item,
.modal.rdv-booking-modal .service-dropdown-item:hover {
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}

.modal.rdv-booking-modal .service-dropdown-item.selected {
    background: rgba(197, 0, 168, 0.14) !important;
    box-shadow: inset 3px 0 0 #c500a8 !important;
    padding-left: 10px !important;
}

.modal.rdv-booking-modal .form-row {
    gap: 14px !important;
}

.modal.rdv-booking-modal .form-group input[type="text"],
.modal.rdv-booking-modal .form-group input[type="tel"],
.modal.rdv-booking-modal .form-group input[type="email"],
.modal.rdv-booking-modal .form-group select,
.modal.rdv-booking-modal .form-group textarea {
    border-width: 0 0 1px 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 10px 0 !important;
    box-shadow: none !important;
}

.modal.rdv-booking-modal #chooseServiceForm .btn-submit-large:hover:not(:disabled),
.modal.rdv-booking-modal .sms-link:hover,
.modal.rdv-booking-modal .btn-copy-code:hover,
.modal.rdv-booking-modal .btn-close-modal:hover {
    transform: none !important;
    filter: none !important;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .modal.rdv-booking-modal .close,
    .modal.rdv-booking-modal .service-dropdown-trigger,
    .modal.rdv-booking-modal .service-dropdown-item,
    .modal.rdv-booking-modal .personne-btn-option,
    .modal.rdv-booking-modal #chooseServiceForm .btn-submit-large,
    .modal.rdv-booking-modal .sms-link,
    .modal.rdv-booking-modal .btn-copy-code,
    .modal.rdv-booking-modal .btn-close-modal {
        cursor: pointer !important;
    }

    .modal.rdv-booking-modal .close:hover {
        color: #c500a8 !important;
        text-shadow: 0 0 12px rgba(197, 0, 168, 0.5) !important;
    }

    .modal.rdv-booking-modal .service-dropdown-trigger:hover {
        border-color: rgba(197, 0, 168, 0.9) !important;
        background: linear-gradient(135deg, rgba(197, 0, 168, 0.24), rgba(255, 255, 255, 0.07)) !important;
        box-shadow: 0 0 0 2px rgba(197, 0, 168, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    }

    .modal.rdv-booking-modal .service-dropdown-item:not(.selected):hover {
        border-color: rgba(197, 0, 168, 0.28) !important;
        background: rgba(197, 0, 168, 0.1) !important;
    }

    .modal.rdv-booking-modal .personne-btn-option:not(.selected):hover {
        border-bottom-color: rgba(197, 0, 168, 0.55) !important;
        background: rgba(197, 0, 168, 0.08) !important;
    }

    .modal.rdv-booking-modal #chooseServiceForm .btn-submit-large:hover:not(:disabled) {
        border-color: rgba(255, 255, 255, 0.28) !important;
        box-shadow: 0 18px 34px rgba(197, 0, 168, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
    }

    .modal.rdv-booking-modal .btn-copy-code:hover,
    .modal.rdv-booking-modal .btn-close-modal:hover,
    .modal.rdv-booking-modal .sms-link:hover {
        box-shadow: 0 0 0 2px rgba(197, 0, 168, 0.14) !important;
    }

    .modal.rdv-booking-modal #chooseServiceForm .btn-submit-large:disabled {
        cursor: not-allowed !important;
    }
}

/* =========================================================
   Responsive PC portable court
   Garde les onglets presentation/avis dans l'ecran en 1366x768,
   1440x900 et tailles proches, sans toucher au mobile ni au grand desktop.
========================================================= */
@media (min-width: 769px) and (max-height: 920px) {
    #presentation,
    #avis {
        height: 100vh !important;
        min-height: 100vh !important;
        padding-top: clamp(24px, 4vh, 38px) !important;
        padding-bottom: clamp(20px, 3vh, 34px) !important;
        overflow: hidden !important;
    }

    #presentation {
        padding-left: clamp(28px, 4vw, 54px) !important;
        padding-right: clamp(28px, 4vw, 54px) !important;
        gap: clamp(12px, 2vh, 22px) !important;
        justify-content: flex-start !important;
    }

    #presentation .presentation-header {
        gap: clamp(24px, 4vw, 46px) !important;
        align-items: flex-start !important;
        flex: 0 0 auto !important;
    }

    #presentation .pres-title {
        font-size: clamp(1.75rem, 3.2vw, 2.45rem) !important;
        line-height: 1.05 !important;
        letter-spacing: 1px !important;
        padding-bottom: 8px !important;
        margin: 0 !important;
    }

    #presentation .pres-title::after {
        width: 58px !important;
        height: 2px !important;
    }

    #presentation .pres-meta {
        max-width: min(68%, 980px) !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    #presentation .meta-line {
        font-size: clamp(.9rem, 1.55vw, 1.08rem) !important;
        line-height: 1.34 !important;
        margin: 0 !important;
    }

    #presentation .presentation-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        margin-top: 0 !important;
        align-items: center !important;
    }

    #presentation .presentation-gallery {
        --slide-width: min(58vw, 760px) !important;
        --slide-height: clamp(250px, 52vh, 430px) !important;
        width: min(100%, 1180px) !important;
        height: var(--slide-height) !important;
    }

    #presentation .presentation-slide.is-prev {
        --x: clamp(-230px, -18vw, -155px) !important;
        --y: clamp(10px, 2.5vh, 22px) !important;
        --scale: .74 !important;
    }

    #presentation .presentation-slide.is-next {
        --x: clamp(155px, 18vw, 230px) !important;
        --y: clamp(10px, 2.5vh, 22px) !important;
        --scale: .74 !important;
    }

    #presentation .presentation-slide.is-before {
        --x: clamp(-390px, -31vw, -260px) !important;
        --y: clamp(22px, 4vh, 42px) !important;
        --scale: .58 !important;
    }

    #presentation .presentation-slide.is-after {
        --x: clamp(260px, 31vw, 390px) !important;
        --y: clamp(22px, 4vh, 42px) !important;
        --scale: .58 !important;
    }

    #avis {
        padding-left: clamp(26px, 4vw, 46px) !important;
        padding-right: clamp(26px, 4vw, 46px) !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    #avis .avis-wrapper {
        gap: clamp(12px, 1.8vh, 18px) !important;
        height: 100% !important;
        min-height: 0 !important;
        max-width: min(100%, 1500px) !important;
        overflow: hidden !important;
    }

    #avis .avis-header-section {
        gap: clamp(8px, 1.4vh, 14px) !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    #avis .avis-header-section h2 {
        font-size: clamp(2.05rem, 5.1vw, 3.45rem) !important;
        line-height: 1 !important;
        letter-spacing: 1.5px !important;
        margin: 0 !important;
    }

    #avis .avis-description {
        font-size: clamp(.95rem, 1.65vw, 1.18rem) !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    #avis .avis-embed-container {
        width: 100%;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin !important;
    }

    .avis-embed-container{
        width: 100% !important;
        max-width: 1600px !important;
        margin: 40px auto 0 !important;
        overflow: hidden !important;
    }

    [class*="eapps-google-reviews"]{
        max-width: 100% !important;
    }

    .elfsight-app-7702359f-e3f7-4fe7-a941-1b6a1789c486{
        width: 100%;
        min-height: 900px; /* à ajuster selon le nombre d'avis */
    }

    #avis .avis-embed-container > *,
    #avis .avis-embed-container iframe,
    #avis .avis-embed-container [class*="elfsight"],
    #avis .avis-embed-container [class*="Widget"],
    #avis .avis-embed-container [class*="widget"] {
        max-width: 100% !important;
        max-height: auto !important;
        min-width: 0 !important;
        overflow: auto !important;
        box-sizing: border-box !important;
    }

    #avis .avis-google-link {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    #avis .btn-google-review {
        min-height: 40px !important;
        padding: 9px 18px !important;
        border-radius: 8px !important;
        font-size: .9rem !important;
        line-height: 1.1 !important;
    }
}

@media (min-width: 769px) and (max-height: 760px) {
    #presentation,
    #avis {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    #presentation .presentation-header {
        gap: 22px !important;
    }

    #presentation .pres-title {
        font-size: clamp(1.45rem, 2.7vw, 2rem) !important;
    }

    #presentation .meta-line {
        font-size: clamp(.78rem, 1.25vw, .94rem) !important;
        line-height: 1.28 !important;
    }

    #presentation .presentation-gallery {
        --slide-width: min(52vw, 680px) !important;
        --slide-height: clamp(210px, 48vh, 340px) !important;
    }

    #avis .avis-header-section h2 {
        font-size: clamp(1.8rem, 4.4vw, 2.8rem) !important;
    }

    #avis .avis-description {
        font-size: clamp(.82rem, 1.35vw, 1rem) !important;
    }

    #avis .avis-wrapper {
        gap: 10px !important;
    }

    #avis .btn-google-review {
        min-height: 36px !important;
        padding: 7px 14px !important;
        font-size: .82rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    #presentation .presentation-header {
        flex-direction: column !important;
        gap: 14px !important;
    }

    #presentation .pres-meta {
        max-width: 100% !important;
    }

    #presentation .presentation-gallery {
        --slide-width: min(72vw, 660px) !important;
    }
}
