/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header - Design UX optimisé */
header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 75px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

/* Header au scroll - effet premium */
header.scrolled {
    height: 65px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

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

/* Logo Container - Disposition optimisée */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 1001;
}

.logo-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(138, 43, 226, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(138, 43, 226, 0.35);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

/* Navigation principale - UX améliorée */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    padding: 0;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

/* Indicateur de page active */
.nav-links a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.12);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 1px;
}

/* Dropdown - Design moderne */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}

.dropbtn:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

.dropbtn::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: #667eea;
}

.dropdown.show .dropbtn::after {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    border-radius: 12px;
    top: calc(100% + 8px);
    left: 0;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 0;
    margin: 2px 8px;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    transform: translateX(5px);
    border-radius: 6px;
}

/* Bouton de connexion - Design premium */
.login-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4c93);
}

/* Bouton hamburger - Design moderne */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section - Ajustement pour le header */
.hero {
    padding: 120px 0 80px;
    padding-top: calc(75px + 60px);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

main {
    padding-top: 75px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('LOGO LA LUMIERE DE LESPRIT 600x600 ok.jpg') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 80px 0;
    background: white;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    margin: 20px auto;
    border-radius: 2px;
}

/* Styles spécifiques pour les pages de détails des services */
.section h3 {
    font-size: 1.6rem;
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    position: relative;
    padding-left: 10px;
}

.section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 2px;
}

.section p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1.05rem;
    color: #444;
}

.section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.section ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #444;
}

.section ul li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.section .content-block {
    margin-bottom: 40px;
}

.section .final-paragraph {
    margin-top: 25px;
    font-style: italic;
    color: #555;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.contact-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item .icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

/* Booking Section */
.booking-container {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ADJUSTED IFRAME HEIGHT HERE IN MAIN CSS */
.booking-iframe {
    width: 100%;
    height: 1400px; /* Grande hauteur pour desktop, ajustez si besoin */
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow-y: auto; /* Permet le défilement vertical si le contenu dépasse */
    overflow-x: hidden; /* Empêche le défilement horizontal sur l'iframe elle-même */
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Important : alignement en haut */
    gap: 40px;
    margin-top: 40px;
    text-align: left;
    max-width: 1200px; /* Augmenté pour plus d'espace */
    margin-left: auto;
    margin-right: auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Container de l'image amélioré */
.about-image {
    flex: 0 0 350px; /* Taille fixe au lieu de flex: 1 */
    min-width: 300px;
    max-width: 400px;
    text-align: center;
    align-self: flex-start; /* Alignement en haut */
}

/* Photo professionnelle optimisée */
.about-image .professional-photo {
    width: 100%;
    height: 400px; /* Hauteur fixe */
    object-fit: cover; /* Crop intelligent */
    object-position: center top; /* Position du crop */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Effet hover sur la photo */
.about-image .professional-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Container du texte ajusté */
.about-text {
    flex: 1;
    min-width: 400px;
    padding-left: 20px; /* Espacement avec l'image */
}


/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

/* Tarifs */
.tarif-details {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 3px solid #667eea;
}

.tarif-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
    margin: 5px 0;
}

.tarif-duration {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 5px 0;
}

.tarif-description {
    font-size: 0.95rem;
    color: #555;
    margin-top: 15px;
}

.stripe-button {
    display: inline-block;
    background-color: #6772E5;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.stripe-button:hover {
    background-color: #5469d4;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.legal-content h3 {
    color: #667eea;
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
}

.legal-content h4 {
    color: #333;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.legal-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.legal-content li {
    margin: 8px 0;
}

.legal-nav {
    text-align: center;
    margin: 30px 0;
}

.legal-nav a {
    display: inline-block;
    margin: 0 15px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.legal-nav a:hover {
    transform: translateY(-2px);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.back-to-top.show {
    display: block;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 25px;
}

.close:hover {
    color: #333;
}

.login-form {
    margin-top: 30px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* FAQ specific styles */
.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f7fa;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e2e6fa;
    color: #667eea;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.show {
    max-height: 500px;
    padding: 15px 25px 20px;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    /* Header mobile */
    header {
        height: 65px;
        padding: 0 15px;
    }
    
    nav {
        padding: 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
        max-width: calc(100vw - 120px);
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Menu mobile - Design moderne */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
        align-items: stretch;
        text-align: center;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        margin: 0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links li a {
        padding: 15px 25px;
        width: 100%;
        border-radius: 0;
        font-size: 1rem;
    }
    
    .login-btn {
        margin: 15px 25px;
        text-align: center;
        border-radius: 25px;
    }
    
    /* Dropdown mobile */
    .nav-links .dropdown-content {
        position: static;
        display: none;
        background: rgba(240, 245, 255, 0.95);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: unset;
        border: none;
        margin: 0;
    }
    
    .nav-links .dropdown-content.show {
        display: block;
    }
    
    .nav-links .dropdown-content a {
        padding: 12px 40px;
        font-size: 0.9rem;
        margin: 0;
        border-radius: 0;
    }
    
    /* Ajustements pour le contenu principal */
    .hero {
        padding-top: calc(65px + 40px);
    }
    
    main {
        padding-top: 65px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section {
        margin: 20px 0;
        padding: 40px 0;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Adjusted iframe height for mobile */
    .booking-iframe {
        height: 1400px; /* Grande hauteur pour mobile, ajustez si besoin */
        overflow-x: hidden; /* Assure que la barre horizontale n'apparaît pas ici */
    }
.booking-container,
    main,
    .section { /* Ajoutez ces sélecteurs si ce n'est pas déjà fait */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
.about-content {
        padding: 20px;
        gap: 25px;
    }
    
    .about-image {
        max-width: 300px;
    }
    
    .about-image .professional-photo {
        height: 300px;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: left; /* Alignement à gauche sur mobile */
    }
}
}
@media (max-width: 480px) {
    .about-image {
        max-width: 250px;
    }
    
    .about-image .professional-photo {
        height: 250px;
    }
}
