/* Contenu de style.css */
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Navigation */
.nav-tabs {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(245, 134, 52, 0.2);
}

.nav-tab {
    padding: 15px 25px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1em;
}

.nav-tab:hover {
    background: rgba(245, 134, 52, 0.2);
    border-color: #F58634;
}

.nav-tab.active {
    background: linear-gradient(135deg, #F58634, #ff9f5a);
    color: #1a1a2e;
    border-color: #F58634;
}

/* Style pour le sélecteur de langue */
.language-switch {
    margin-left: auto; 
    padding: 15px 25px; 
    background: rgba(255, 255, 255, 0.1); 
    border: 2px solid #F58634; 
    border-radius: 50px; 
    cursor: pointer; 
    font-weight: 600; 
    color: #F58634;
    transition: all 0.3s ease;
}
.language-switch:hover {
    background: rgba(245, 134, 52, 0.2);
}


/* Pages */
.page {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
    padding: 40px 20px;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page 1 - Identité */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    transition: padding 0.3s ease; /* Ajouté pour l'optimisation mobile */
}

.logo {
    font-size: 4em;
    font-weight: 900;
    color: #F58634;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-banner {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(245, 134, 52, 0.3);
    border-radius: 20px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: rgba(245, 134, 52, 0.7);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-banner:hover {
    border-color: rgba(245, 134, 52, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.hero-banner-text {
    position: relative;
    z-index: 2;
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
}

.prestation-photo {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #1a1a2e, #F58634);
    border-radius: 20px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
    box-shadow: 0 15px 30px rgba(245, 134, 52, 0.3);
    border: 3px solid #F58634;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: left;
}

.intro-text h3 {
    color: #F58634;
    font-size: 1.8em;
    margin: 30px 0 20px 0;
}

/* Styles pour section "Mon Parcours" cliquable */
.experience-header {
    position: relative;
    cursor: pointer;
}
.experience-header .expand-indicator {
    position: absolute;
    top: 10px; /* Ajustez au besoin */
    right: 20px;
    font-size: 1.5em;
    color: #D4A574; /* Couleur du titre */
    transition: transform 0.3s ease;
}

/* Style pour le contenu à réduire */
.experience-content {
    max-height: 2000px; /* Valeur large pour l'état "ouvert" */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease, margin 0.5s ease;
    opacity: 1;
}

/* État réduit */
.experience-section.collapsed .experience-content {
    max-height: 0;
    opacity: 0;
    margin-top: -20px; /* Compense le margin-bottom du h3 */
}

.experience-section.collapsed .expand-indicator {
    transform: rotate(180deg); /* Flèche vers le haut */
}
/* Fin des styles "Mon Parcours" */


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

.differentiator {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid #F58634;
    transition: transform 0.3s ease;
}

.differentiator:hover {
    transform: translateY(-5px);
}

.differentiator h4 {
    color: #F58634;
    font-size: 1.4em;
    margin-bottom: 15px;
}

/* Page 2 - Prestations */
.prestations-grid {
    display: grid;
    gap: 40px;
}

.prestation-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(245, 134, 52, 0.3);
}

.category-icon {
    font-size: 3em;
    margin-right: 20px;
}

.category-title {
    font-size: 2.2em;
    color: #F58634;
    font-weight: 700;
    transition: font-size 0.3s ease; /* Ajouté pour l'optimisation mobile */
}

.category-subtitle {
    color: #b0b0b0;
    font-style: italic;
    margin-top: 5px;
}

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

.formule-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.formule-card:hover {
    border-color: #F58634;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(245, 134, 52, 0.2);
}

/* La classe .expanded GÈRE la rétractation */
.formule-card.expanded {
    /* Style de la carte quand elle est fermée/rétractée */
    background: rgba(255, 255, 255, 0.08);
}
.formule-card.expanded:hover {
    border-color: #F58634;
    background: rgba(245, 134, 52, 0.1);
}

/* Contenu de la formule (pour rétractation) */
.formule-content {
    max-height: 1000px; /* Ouvert par défaut (état NON-expanded) */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease, margin 0.5s ease;
    opacity: 1;
    margin-top: 0;
}

/* État rétracté (quand .expanded est présent) */
.formule-card.expanded .formule-content {
    max-height: 0;
    opacity: 0;
    margin-top: -20px; 
}


.formule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-right: 30px; /* Espace pour la flèche */
}

.formule-name {
    font-size: 1.5em;
    font-weight: 700;
    color: #ffffff;
}

.formule-price {
    font-size: 1.1em;
    font-weight: 600;
    color: #F58634;
    flex-shrink: 0; 
    margin-left: 15px; 
}

.formule-description {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.formule-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.formule-features li {
    padding: 8px 0;
    color: #e0e0e0;
    position: relative;
    padding-left: 25px;
}

.formule-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F58634;
    font-weight: bold;
}

.options-section {
    margin-top: 50px;
    background: rgba(245, 134, 52, 0.1);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid #F58634;
}

.options-title {
    font-size: 2em;
    color: #F58634;
    text-align: center;
    margin-bottom: 30px;
}

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

.option-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.option-name {
    font-weight: 600;
    color: #ffffff;
}

.option-description {
    color: #b0b0b0;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Page 3 - Galerie */
.gallery-section {
    padding: 20px;
}

.gallery-title {
    text-align: center;
    font-size: 3em;
    color: #F58634;
    margin-bottom: 20px;
    font-weight: 700;
    transition: font-size 0.3s ease; /* Ajouté pour l'optimisation mobile */
}

.gallery-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 25px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(245, 134, 52, 0.2);
    border-color: #F58634;
    color: #F58634;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 134, 52, 0.2);
}

.gallery-media {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
    background: #222;
}

.gallery-info {
    padding: 20px;
}

.gallery-event-type {
    color: #D4A574;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-title-item {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 600;
    margin: 8px 0;
}

.gallery-description {
    color: #b0b0b0;
    font-size: 0.95em;
    line-height: 1.5;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 165, 116, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #1a1a2e;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item.video:hover .play-button {
    opacity: 1;
}

/* Page 4 - Avis */
.reviews-section {
    padding: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid #F58634;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-rating {
    font-size: 1.5em;
    color: #F58634;
    margin-bottom: 15px;
}

.review-text {
    flex-grow: 1;
}

.review-text p {
    font-size: 1.1em;
    color: #e0e0e0;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.review-author {
    font-size: 1.2em;
    font-weight: 700;
    color: #ffffff;
    margin-top: 20px;
}

.review-event {
    font-size: 0.9em;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* Page 5 - Contact */
.contact-page-wrapper {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-intro-text h3 {
    color: #F58634;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-intro-text p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.contact-intro-text ul {
    list-style: none;
    padding: 0 0 0 20px;
}

.contact-intro-text li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.contact-intro-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F58634;
    font-weight: bold;
}

.contact-methods {
    display: grid;
    gap: 20px;
    align-content: start;
}

.contact-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    border: 2px solid transparent;
    border-left: 4px solid #F58634;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(245, 134, 52, 0.1);
    border-color: #F58634;
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 2.5em;
    margin-right: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-info {
    font-size: 1.1em;
    color: #b0b0b0;
    margin-top: 5px;
}

/* Pied de Page Global */
.site-footer {
    text-align: center;
    padding: 40px 20px 30px 20px;
    border-top: 1px solid rgba(245, 134, 52, 0.2);
    margin: 30px 20px 0 20px;
    color: #b0b0b0;
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-info {
    font-size: 1.1em;
}

.copyright {
    margin-top: 15px;
    font-size: 0.9em;
    color: #888;
}

.siret {
    margin-top: 15px;
    font-size: 0.8em;
    color: #777;
}

/* CTA Mobile Flottant */
.cta-mobile {
    display: none; /* Caché par défaut sur desktop */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: linear-gradient(135deg, #F58634, #ff9f5a);
    color: #1a1a2e;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(245, 134, 52, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap; /* Empêche le texte de se couper */
}

.cta-mobile:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 30px rgba(245, 134, 52, 0.5);
}


/* Responsive */
@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: wrap;
        padding: 15px 10px;
    }

    .nav-tab {
        margin: 5px;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Style pour le sélecteur de langue en mobile */
    .language-switch {
        margin: 5px;
        padding: 12px 20px;
        font-size: 1em;
    }

    .logo {
        font-size: 2.5em;
    }

    /* Optimisation padding et typos */
    .hero-section {
        padding: 40px 20px;
    }
    .gallery-title {
        font-size: 2.2em;
    }
    .category-title {
        font-size: 1.8em;
    }


    .formules-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        height: 150px;
        font-size: 1.5em;
    }

    .prestation-photo {
        height: 200px;
        font-size: 2.5em;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-content-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    /* Afficher le CTA sur mobile */
    .cta-mobile {
        display: block; /* S'affiche sur mobile */
    }

    /* Ajoute un padding en bas pour que le CTA ne cache pas le footer */
    .site-footer {
        padding-bottom: 100px; 
    }

    /* Correction chevauchement flèche/prix */
    .formule-header {
        flex-wrap: wrap; 
        padding-right: 30px; /* Garde l'espace pour la flèche */
    }
    .formule-name {
        flex-basis: 100%; 
        margin-bottom: 5px;
    }
    .formule-price {
        flex-basis: 100%; 
        margin-left: 0; 
        text-align: left; 
    }
    .expand-indicator {
        top: 20px;
        right: 15px; /* Rapproche la flèche du bord */
    }
}

/* Flèche pour les formules */
.expand-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5em;
    color: #F58634;
    transition: transform 0.3s ease;
}

/* Flèche par défaut (ouverte) */
.formule-card .expand-indicator {
    transform: rotate(0deg); /* Flèche vers le bas */
}

/* Flèche à l'état fermé (.expanded) */
.formule-card.expanded .expand-indicator {
    transform: rotate(180deg); /* Flèche vers le haut */
}


/* Modal pour les médias */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Flèches de navigation du Modal */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #F58634;
    font-size: 2.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1002;
    user-select: none; /* Empêche la sélection du texte */
}

.modal-nav:hover {
    background: rgba(245, 134, 52, 0.4);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
}

/* Style pour l'image/vidéo DANS le modal */
.modal-media {
    width: 100%;
    height: auto;
    max-height: 80vh; /* Limite la hauteur */
    border-radius: 15px;
    display: block; /* S'assure que l'image/vidéo est un bloc */
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #F58634;
    font-size: 2em;
    cursor: pointer;
    z-index: 1003; /* Au-dessus de la flèche 'next' */
}

@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 2em;
        top: auto;
        bottom: 20px; /* Place les flèches en bas sur mobile */
        transform: none;
    }
    .modal-nav.prev {
        left: 15px;
    }
    .modal-nav.next {
        right: 15px;
    }
    .modal-content {
        padding: 10px;
        width: 95%;
        max-width: 95%;
    }
    .modal-media {
        max-height: 75vh;
    }
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 1.8em;
    }
}