/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Empêcher le “glissement” horizontal sur mobile et verrouiller l'axe X */
html, body {
    overscroll-behavior-x: none;
    touch-action: pan-y;
    max-width: 100%;
}

/* Éviter tout débordement horizontal accidentel des sections racines */
section, .container, .rdv, .rdv-content, .rdv-calendar, .fc, .fc-view-harness, .fc-daygrid, .fc-daygrid-body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}



.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
    color: var(--primary-color);
}

.loader-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}



/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Forcer la suppression de toute barre sous les liens */
.nav-link::before,
.nav-link::after {
    display: none !important;
    content: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--secondary-color);
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--secondary-color);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    transform: rotate(45deg);
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

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

/* Sections générales */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Section Histoire */
.histoire {
    background: var(--accent-color);
}

.histoire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.histoire-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.histoire-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.histoire-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.image-placeholder:hover {
    /* Effet de scale supprimé pour éviter les problèmes visuels */
    /* transform: scale(1.02); */
    box-shadow: var(--shadow-hover);
}

/* Section Tarifs */
.tarifs-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.tarifs-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tarif-category {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tarif-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tarif-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.tarif-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tarif-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--accent-color);
}

.tarif-item:last-child {
    border-bottom: none;
}

.service {
    font-weight: 500;
}

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

.tarif-cta {
    margin-top: 2rem;
    text-align: center;
}

.tarif-cta .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sections Homme/Femme */
.homme,
.femme {
    background: var(--secondary-color);
}

.coupes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.coupe-card {
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.coupe-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.coupe-image {
    height: 250px;
    overflow: hidden;
}

.coupe-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.coupe-info {
    padding: 1.5rem;
}

.coupe-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.coupe-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

/* Section Exemples */
.exemples {
    background: var(--accent-color);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.slide-item {
    min-width: calc(33.333% - 0.67rem);
    flex-shrink: 0;
}

.slide-item .image-placeholder {
    height: 300px;
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 2;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -25px;
}

.slider-arrow.next {
    right: -25px;
}

/* Section Avis */
.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.avis-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.avis-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.avis-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

.avis-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Localisation */
.localisation {
    background: var(--secondary-color);
}

.localisation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.localisation-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.localisation-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.localisation-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.localisation-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.localisation-cta .btn-primary,
.localisation-cta .btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
}

.localisation-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.localisation-map:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.localisation-map iframe {
    border-radius: 10px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .histoire-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slide-item {
        min-width: calc(50% - 0.5rem);
    }

    .localisation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .slide-item {
        min-width: 100%;
    }

    .tarif-category,
    .coupe-card,
    .avis-card {
        padding: 1.5rem;
    }
}

/* Animations supplémentaires */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Styles pour la page Histoire */
.histoire-cta {
    margin-top: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: var(--secondary-color);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
}

/* Navigation Active State */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Histoire Blocks Dynamiques */
.histoire-detail {
    padding: 80px 0;
    background: var(--accent-color);
}

.histoire-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.histoire-block:last-child {
    margin-bottom: 0;
}

.histoire-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.histoire-block.reverse {
    direction: rtl;
}

.histoire-block.reverse>* {
    direction: ltr;
}

.histoire-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.histoire-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.histoire-text p:last-of-type {
    margin-bottom: 0;
}

.story-image {
    height: 400px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Animations d'apparition */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Section Valeurs */
.valeurs {
    background: var(--secondary-color);
    padding: 80px 0;
}

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

.valeur-card {
    text-align: center;
    padding: 2rem;
    background: var(--accent-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.valeur-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.valeur-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.valeur-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.valeur-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Équipe */
.equipe {
    background: var(--accent-color);
    padding: 80px 0;
}

.equipe-text-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.equipe-text-intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.equipe-text-intro p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipe-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.equipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.equipe-photo {
    height: 250px;
    overflow: hidden;
}

.equipe-photo .image-placeholder {
    height: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.equipe-info {
    padding: 1.5rem;
}

.equipe-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.equipe-role {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.equipe-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Section Retour */
.retour-accueil {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

.retour-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.retour-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.retour-buttons .btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.retour-buttons .btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.retour-buttons .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Styles pour les pages de tarifs détaillées */
.tarifs-detail {
    padding: 6rem 0;
    background: var(--bg-color);
}

.tarifs-detail .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tarifs-detail .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tarifs-detail .tarifs-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Nouveau style pour le livret de tarifs */
.tarifs-livret {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: var(--secondary-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.tarifs-livret.visible {
    opacity: 1;
    transform: translateY(0);
}

.tarifs-livret:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.livret-header {
    background: linear-gradient(135deg, var(--primary-color), #333);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.livret-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.livret-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.livret-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.livret-content {
    padding: 3rem 2rem;
}

.livret-section {
    margin-bottom: 2.5rem;
}

.livret-section:last-child {
    margin-bottom: 0;
}

.livret-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.livret-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.livret-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.livret-item:last-child {
    border-bottom: none;
}

.livret-item:hover {
    background: rgba(0, 0, 0, 0.02);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
}

.livret-item .service {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-color);
    flex: 1;
}

.livret-item .price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-left: 2rem;
    min-width: 60px;
    text-align: right;
}

.livret-footer {
    background: var(--accent-color);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.livret-footer p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Responsive pour le livret */
@media (max-width: 768px) {
    .tarifs-livret {
        margin: 0 1rem 3rem;
    }
    
    .livret-header {
        padding: 2rem 1.5rem;
    }
    
    .livret-icon {
        font-size: 3rem;
    }
    
    .livret-header h2 {
        font-size: 2rem;
    }
    
    .livret-content {
        padding: 2rem 1.5rem;
    }
    
    .livret-section h3 {
        font-size: 1.2rem;
    }
    
    .livret-item .service {
        font-size: 1rem;
    }
    
    .livret-item .price {
        font-size: 1.1rem;
    }
}

/* Styles pour les informations importantes et engagements */
.tarifs-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.info-block {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.info-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-block:hover {
    box-shadow: var(--shadow-hover);
}

.info-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-block li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 2rem;
}

.info-block li:last-child {
    border-bottom: none;
}

.info-block li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .tarifs-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-block {
        margin: 0 1rem;
        padding: 2rem;
    }
}

/* Box Prestations de soins */
.soins-box {
    max-width: 700px;
    margin: 3rem auto 3rem auto;
    background: var(--secondary-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}
.soins-box.visible {
    opacity: 1;
    transform: translateY(0);
}
.soins-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}
.soins-tables {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.soins-table {
    flex: 1 1 250px;
    min-width: 220px;
}
.soins-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.soins-table th, .soins-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}
.soins-table th {
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    text-align: left;
    font-size: 1.05rem;
}
.soins-table tr:last-child td {
    border-bottom: none;
}
.soins-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
    align-items: center;
}
.soins-note, .soins-paiement {
    background: var(--accent-color);
    border-radius: 8px;
    padding: 1.1rem 1.5rem;
    box-shadow: var(--shadow);
    font-size: 1rem;
    color: var(--text-color);
    max-width: 420px;
    width: 100%;
    text-align: left;
}
.soins-note strong, .soins-paiement strong {
    color: var(--primary-color);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .soins-tables {
        flex-direction: column;
        gap: 1.5rem;
    }
}
@media (max-width: 600px) {
    .soins-box {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    }
    .soins-title {
        font-size: 1.3rem;
    }
    .soins-table th, .soins-table td {
        padding: 0.5rem 0.5rem;
        font-size: 0.95rem;
    }
    .soins-note, .soins-paiement {
        padding: 0.7rem 0.7rem;
        font-size: 0.95rem;
    }
}

/* Section Prestations de soins sur la page d'accueil */
.soins-section {
    background: var(--accent-color);
    padding: 80px 0;
}

.soins-section .soins-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--secondary-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.soins-section .soins-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.soins-section .soins-box:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.soins-section .soins-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.soins-section .soins-tables {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.soins-section .soins-table {
    flex: 1 1 300px;
    min-width: 280px;
}

.soins-section .soins-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--accent-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.soins-section .soins-table th, 
.soins-section .soins-table td {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.soins-section .soins-table th {
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    text-align: left;
    font-size: 1.1rem;
}

.soins-section .soins-table tr:last-child td {
    border-bottom: none;
}

.soins-section .soins-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

.soins-section .soins-note, 
.soins-section .soins-paiement {
    background: var(--accent-color);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    font-size: 1.05rem;
    color: var(--text-color);
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.soins-section .soins-note strong, 
.soins-section .soins-paiement strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.8rem;
}

@media (max-width: 900px) {
    .soins-section .soins-tables {
        flex-direction: column;
        gap: 2rem;
    }
    
    .soins-section .soins-box {
        padding: 2rem 1.5rem;
    }
    
    .soins-section .soins-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .soins-section {
        padding: 60px 0;
    }
    
    .soins-section .soins-box {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
    
    .soins-section .soins-title {
        font-size: 1.8rem;
    }
    
    .soins-section .soins-table th, 
    .soins-section .soins-table td {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }
    
    .soins-section .soins-note, 
    .soins-section .soins-paiement {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
}

/* Container pour centrer la box soins */
.soins-box-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
    align-items: flex-start;
}

.soins-category {
    max-width: 350px;
    width: 100%;
}

.soins-info-complementaire {
    max-width: 400px;
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex: 0 0 auto;
}

.soins-info-complementaire h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.soins-info-complementaire p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .soins-box-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .soins-category,
    .soins-info-complementaire {
        max-width: 100%;
    }
}

/* Ligne pour la box soins centrée et le texte à droite */
.soins-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.soins-row-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}
.soins-category {
    max-width: 350px;
    width: 100%;
}
.soins-info-complementaire {
    max-width: 400px;
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex: 0 0 auto;
}
.soins-info-text {
    flex: 1 1 320px;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-top: 0.5rem;
    max-width: 400px;
}
.soins-info-text strong {
    color: var(--primary-color);
    font-size: 1.08rem;
}
.soins-inda {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}
@media (max-width: 900px) {
    .soins-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .soins-row-center {
        width: 100%;
    }
    .soins-info-text {
        max-width: 100%;
        text-align: left;
    }
}

.nav-logo h2,
.navbar h2,
.navbar h3,
.navbar h2:after,
.navbar h2:before,
.navbar h3:after,
.navbar h3:before,
.page-header h1,
.page-header h2,
.page-header h3 {
    border-bottom: none !important;
    box-shadow: none !important;
}

.livret-section h3 {
    border-bottom: none !important;
}

body.histoire-page .nav-logo h2,
body.histoire-page .nav-logo h2::after,
body.histoire-page .nav-logo h2::before {
    border-bottom: none !important;
    box-shadow: none !important;
    background: none !important;
    color: #000 !important;
}

/* Styles pour les statuts des créneaux */
.slot-status.available {
    background: #dcfce7;
    color: #166534;
}
.slot-status.pending {
    background: #fef3c7;
    color: #92400e;
}
.slot-status.booked {
    background: #fee2e2;
    color: #991b1b;
}

.slot-status.full {
    background: #9e9e9e;
    color: white;
}

/* Statut confirmé dans les listes/modales des créneaux */
.slot-status.confirmed {
    background: #fee2e2;
    color: #991b1b;
}

/* Styles pour les modals */
.slots-modal,
.reservation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100; /* au-dessus des popovers FullCalendar */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modale de confirmation personnalisée */
.confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.confirm-modal.show { opacity: 1; }

.confirm-modal .confirm-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 92%;
    max-width: 420px;
    box-shadow: var(--shadow);
    transform: translateY(10px);
    transition: transform 0.2s ease;
}

.confirm-modal.show .confirm-modal-content { transform: translateY(0); }

.confirm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 0 16px;
}

.confirm-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.15rem;
}

.confirm-modal-body { padding: 16px; color: #374151; }

.confirm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 16px 16px 16px;
}

/* Boutons dans la modale de confirmation */
.confirm-modal .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color); /* contour noir identique au bouton Oui */
}

.confirm-modal .btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.confirm-modal .btn-secondary:focus,
.confirm-modal .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.slots-modal.show,
.reservation-modal.show {
    opacity: 1;
}

.slots-modal-content,
.reservation-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.slots-modal.show .slots-modal-content,
.reservation-modal.show .reservation-modal-content {
    transform: scale(1);
}

.slots-modal-header,
.reservation-modal-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.slots-modal-header h3,
.reservation-modal-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.slots-modal-body,
.reservation-modal-body {
    padding: 20px;
}

.slots-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-item:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.slot-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slot-time .time {
    font-weight: 600;
    color: #1f2937;
}

.slot-time .duration {
    font-size: 0.875rem;
    color: #6b7280;
}

.slot-select-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.slot-select-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Styles pour la modal de réservation */
.selected-slot-info {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.selected-slot-info p {
    margin: 8px 0;
    color: #374151;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}



/* Modal de sélection de prestation */
.prestation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100; /* au-dessus des popovers FullCalendar */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prestation-modal.show {
    opacity: 1;
}

.prestation-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.prestation-modal.show .prestation-modal-content {
    transform: translateY(0);
}

.prestation-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prestation-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.prestation-modal-body {
    padding: 20px;
}

.prestation-categories {
    margin: 20px 0;
}

.prestation-categories h4 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.prestation-category {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.prestation-category:hover {
    border-color: var(--primary-color);
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2rem;
    margin-right: 16px;
    width: 50px;
    text-align: center;
}

.category-info {
    flex: 1;
}

.category-info h5 {
    margin: 0 0 4px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.category-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.price-range {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.category-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Modal de sélection des prestations */
.services-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100; /* au-dessus des popovers FullCalendar */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-modal.show {
    opacity: 1;
}

.services-modal-content {
    background: white;
    border-radius: 12px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.services-modal.show .services-modal-content {
    transform: translateY(0);
}

.services-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.services-modal-body {
    padding: 20px;
}

.services-container {
    margin: 20px 0;
}

.services-container h4 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.services-section {
    margin-bottom: 30px;
}

.services-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.services-list {
    display: grid;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.service-item:hover {
    border-color: var(--primary-color);
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item.selected {
    border-color: var(--primary-color);
    background: var(--secondary-color);
    color: var(--primary-color);
}

.service-item.selected .service-price {
    background: var(--primary-color);
    color: white;
}

.service-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-name {
    font-weight: 500;
    color: var(--primary-color);
}

.service-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
    background: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 50px;
    text-align: center;
}

.service-checkbox {
    margin-left: 16px;
}

.service-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.services-summary {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
}

.selected-services h5 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

#selected-services-list {
    margin-bottom: 20px;
}

.selected-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.selected-service-item:last-child {
    border-bottom: none;
}

.total-price {
    text-align: right;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 2px solid var(--secondary-color);
}

/* Soins supplémentaires */
.soins-separator {
    margin: 40px 0 20px 0;
    padding: 20px 0;
    border-top: 2px dashed var(--secondary-color);
    border-bottom: 2px dashed var(--secondary-color);
    text-align: center;
}

.soins-separator h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.soins-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.soins-supplementaires {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.soins-supplementaires h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.section-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-item.soin-supplementaire {
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.service-item.soin-supplementaire:hover {
    border-color: var(--primary-color);
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item.soin-supplementaire.selected {
    border-color: var(--primary-color) !important;
    background: white !important;
}

.service-item.soin-supplementaire.selected .service-name {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.service-item.soin-supplementaire.selected .service-price {
    color: white !important;
    background: var(--primary-color) !important;
}

.service-item.soin-supplementaire.selected .service-checkbox input[type="checkbox"] {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* S'assurer que le texte reste toujours visible */
.service-item.soin-supplementaire .service-name {
    color: var(--primary-color) !important;
}



/* Messages de succès et d'erreur */
.reservation-success,
.reservation-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.reservation-success.show,
.reservation-error.show {
    transform: translateX(0);
}

.success-content h3,
.error-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.125rem;
}

.success-content p,
.error-content p {
    margin: 8px 0;
    color: #374151;
}

.success-content button,
.error-content button {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.success-content button:hover,
.error-content button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Styles pour les créneaux du jour */
.slot-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.slot-display.clickable {
    cursor: pointer;
}

.slot-display.clickable:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.slot-display .slot-time {
    font-weight: 500;
    color: #1f2937;
}

.slot-display .slot-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.slot-display .slot-status.available {
    background: #dcfce7;
    color: #166534;
}

.slot-display .slot-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.slot-display .slot-status.confirmed {
    background: #fee2e2;
    color: #991b1b;
}

/* Styles pour les boutons "Afficher plus/moins" */
.show-more-btn,
.show-less-btn {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 8px;
}

.btn-show-more,
.btn-show-less {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-show-more:hover,
.btn-show-less:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #1f2937;
}

.btn-show-more:active,
.btn-show-less:active {
    transform: translateY(1px);
}

/* Message "aucun créneau disponible" */
.no-slots-message {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-slots-message p {
    margin: 8px 0;
    font-size: 1rem;
}

/* Responsive pour les modals */
@media (max-width: 768px) {
    .slots-modal-content,
    .reservation-modal-content,
    .prestation-modal-content,
    .services-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .slot-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .slot-time {
        align-items: center;
    }
    
    .prestation-category {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .category-arrow {
        display: none;
    }
    
    .price-range {
        font-size: 0.75rem;
        margin-top: 2px;
    }
    
    .service-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .service-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .service-price {
        font-size: 1rem;
        padding: 3px 6px;
        min-width: 40px;
    }
    
    .service-checkbox {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .selected-service-item {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .soins-separator {
        margin: 30px 0 15px 0;
        padding: 15px 0;
    }
    
    .soins-supplementaires {
        padding: 10px;
    }
    
    .soins-supplementaires h4 {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .section-badge {
        align-self: center;
    }
}

/* Bulle flottante du total */
.floating-total {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-total.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-total-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.floating-total-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.floating-total-amount {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .floating-total {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
    }
    
    .floating-total-amount {
        font-size: 1.1rem;
    }
}

/* Styles pour l'interface d'administration */
.admin-main {
    padding-top: 100px;
    min-height: 100vh;
    background: #f8fafc;
}

.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
}

.dashboard-container {
    padding: 20px 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-header h2 {
    margin: 0;
    color: #1f2937;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.dashboard-panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-panel h3 {
    margin: 0 0 20px 0;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h3 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.reservations-list {
    max-height: 400px;
    overflow-y: auto;
}

.reservation-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9fafb;
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reservation-header h4 {
    margin: 0;
    color: #1f2937;
}

.reservation-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.reservation-details p {
    margin: 5px 0;
    font-size: 0.875rem;
    color: #374151;
}

.reservation-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-confirm {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-confirm:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-cancel {
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.slots-list {
    max-height: 400px;
    overflow-y: auto;
}

.date-group {
    margin-bottom: 20px;
}

.date-group h4 {
    margin: 0 0 10px 0;
    color: #1f2937;
    font-size: 1rem;
}

.slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #f9fafb;
}

.slot-item.available {
    border-left: 4px solid #10b981;
}

.slot-item.pending {
    border-left: 4px solid #f59e0b;
}

.slot-item.confirmed {
    border-left: 4px solid #ef4444;
}

.slot-time {
    font-weight: 500;
    color: #1f2937;
}

.slot-status {
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.no-reservations,
.no-slots {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 20px;
}

/* Responsive pour l'admin */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .reservation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .reservation-actions {
        flex-direction: column;
    }
    
    .slot-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Section Calendrier RDV */
.rdv {
    background: var(--accent-color);
    padding: 80px 0;
}

.rdv-content {
    max-width: 1000px;
    margin: 0 auto;
}

.rdv-calendar {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

/* Supprimer l'ancien calendrier mobile vertical (retour au FC de base) */
.mobile-calendar { display: none; }

.rdv-calendar:hover {
    box-shadow: var(--shadow-hover);
}

.rdv-help {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.rdv-help p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Styles FullCalendar personnalisés */
.fc {
    font-family: 'Inter', sans-serif;
}

.fc-toolbar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-color);
}

.fc-button-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: var(--transition);
}

.fc-button-primary:hover {
    background: #333 !important;
    border-color: #333 !important;
    transform: translateY(-1px);
}

.fc-button-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25) !important;
}

.fc-daygrid-day {
    transition: var(--transition);
}

.fc-daygrid-day:hover {
    background: rgba(0, 0, 0, 0.02);
}

.fc-daygrid-day.fc-day-today {
    background: rgba(0, 0, 0, 0.05) !important;
}

.fc-daygrid-day-number {
    font-weight: 500;
    color: var(--text-color);
}

/* Badge dispo dans les cases du calendrier (mobile uniquement) */
.fc-availability-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 4px 6px;
    border-radius: 6px;
    background: #f8fafc;
    color: #111827;
    border: 1px solid #e5e7eb;
    font-size: 0.75rem;
    text-align: center;
    pointer-events: auto;
    cursor: pointer;
}

/* Cases plus uniformes et compactes sur mobile */
@media (max-width: 600px) {
  .fc .fc-daygrid-day-frame { min-height: 84px; }
  .fc-availability-badge { font-size: 0.7rem; bottom: 4px; }
  .fc .fc-daygrid-day-number { font-size: 0.9rem; padding: 4px; }
}

.fc-daygrid-day.fc-day-past .fc-daygrid-day-number {
    color: var(--text-light);
}

.fc-daygrid-day.fc-day-future .fc-daygrid-day-number {
    color: var(--primary-color);
}

/* Griser et hachurer proprement les jours passés (sans impacter la lisibilité des chiffres) */
.fc-daygrid-day.past-day,
.fc-daygrid-day.fc-day-past {
    pointer-events: none;
}

.fc-daygrid-day.past-day .fc-daygrid-day-frame,
.fc-daygrid-day.fc-day-past .fc-daygrid-day-frame {
    background-color: #f5f5f5;
    background-image: repeating-linear-gradient(-45deg,
        rgba(0, 0, 0, 0.06) 0px,
        rgba(0, 0, 0, 0.06) 6px,
        rgba(0, 0, 0, 0.0) 6px,
        rgba(0, 0, 0, 0.0) 12px
    );
}

.fc-daygrid-day.past-day .fc-daygrid-day-number,
.fc-daygrid-day.fc-day-past .fc-daygrid-day-number {
    color: #9ca3af !important; /* gris lisible */
    text-decoration: none;      /* éviter toute barre accidentelle */
    position: relative;
    z-index: 1;
}

/* Responsive pour le calendrier */
@media (max-width: 768px) {
    .rdv-calendar {
        padding: 0.75rem;
        margin: 0 0.5rem 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .fc-toolbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fc-toolbar-title {
        font-size: 1.1rem !important;
    }
    
    .rdv-help {
        margin: 0 0.5rem;
        padding: 0.75rem;
    }
    
    .rdv-help p {
        font-size: 0.95rem;
    }

    /* FullCalendar: rendre les cases plus hautes et lisibles sur mobile */
    .fc .fc-daygrid-day-frame {
        min-height: 70px;
    }
    .fc .fc-daygrid-day-number {
        font-size: 0.9rem;
        padding: 4px 6px;
    }
    .fc .fc-daygrid-event-harness { 
        margin-top: 2px;
    }
    .fc .fc-daygrid-event {
        font-size: 0.8rem;
        padding: 2px 4px;
    }
    .fc .fc-daygrid-more-link {
        font-size: 0.8rem;
    }
}

/* Styles pour les revenus */
.revenue-panel {
    grid-column: span 2;
}

.revenue-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.revenue-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    font-size: 0.9em;
}

.revenue-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.revenue-total {
    text-align: center;
}

.revenue-amount {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.revenue-label {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.revenue-stats {
    display: flex;
    gap: 30px;
}

.revenue-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.revenue-details {
    margin-top: 20px;
}

.revenue-details h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.revenue-breakdown {
    max-height: 200px;
    overflow-y: auto;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.revenue-item-name {
    font-weight: 500;
}

.revenue-item-count {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.revenue-item-amount {
    font-weight: bold;
    color: var(--primary-color);
}

/* Styles pour l'historique */
.history-panel {
    grid-column: span 2;
}

.history-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.history-select,
.history-date {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    font-size: 0.9em;
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-item-info {
    flex: 1;
}

.history-item-client {
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.history-item-details {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.history-item-services {
    font-size: 0.8em;
    color: var(--text-secondary);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.history-item-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.history-item-status.confirmed {
    background: #E8F5E8;
    color: #2E7D32;
}

.history-item-status.cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.history-item-status.completed {
    background: #E3F2FD;
    color: #1565C0;
}

.history-item-amount {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
}

.history-cancel-btn {
    padding: 6px 12px;
    background: #F44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background 0.3s ease;
}

.history-cancel-btn:hover {
    background: #D32F2F;
}

.history-cancel-btn:disabled {
    background: #BDBDBD;
    cursor: not-allowed;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .revenue-panel,
    .history-panel {
        grid-column: span 1;
    }
    
    .revenue-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .revenue-stats {
        justify-content: center;
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .history-item-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .revenue-filters,
    .history-filters {
        flex-direction: column;
        align-items: stretch;
    }
}