/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
body {
    background-color: #121212;
    color: #EDE0E0;
    border-top: 1px solid #2A2A2A;
    overflow-x: hidden;
}
/* Header & Navbar */
header {
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
/* Bouton hamburger (stylisé avec Bootstrap Icons) */
.menu-toggle {
    display: none; /* Masqué sur desktop */
    background: none;
    border: none;
    color: #EDE0E0;
    font-size: 1.75rem; /* Taille de l'icône */
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    transition: color 0.3s ease;
}
.menu-toggle:focus {
    outline: none;
}
.menu-toggle i {
    pointer-events: none;
}
/* Menu Desktop */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}
.nav-link {
    text-decoration: none;
    color: #EDE0E0;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}
.nav-link:hover {
    color: #00F0FF;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00F0FF;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
/* Hero */
.hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 0 1rem;
    margin-top: 80px;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #9D00FF;
}
.btn-cta {
    display: inline-block;
    background-color: #9D00FF;
    color: white;
    padding: 0.8rem 1.5rem;
    border: 1px solid #00F0FF;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background-color: #00F0FF;
    color: #121212;
}
/* Sections */
.section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #00F0FF;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #9D00FF;
    margin: 0.5rem auto;
}
/* Grille des prestations */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.prestation-card {
    background-color: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.prestation-card:hover {
    transform: translateY(-5px);
}
.prestation-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.prestation-card h3 {
    padding: 0.8rem 1rem 0.5rem;
    color: #00F0FF;
    font-size: 1.1rem;
}
.prestation-card p {
    padding: 0 1rem 1rem;
    color: #A0A0A0;
    line-height: 1.4;
    font-size: 0.9rem;
}
/* Formulaires */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #EDE0E0;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #121212;
    color: #EDE0E0;
}
/* Menu Mobile - MODIFIÉ POUR PLEINE LARGEUR */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        gap: 0; /* Supprime l'espacement entre les éléments */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%; /* Pleine largeur */
        background-color: #1E1E1E;
        padding: 0; /* Supprime le padding */
        margin: 0; /* Supprime les marges */
        border-top: 1px solid #00F0FF;
    }
    nav ul.active {
        display: flex;
    }
    /* Styles pour chaque élément du menu mobile */
    nav ul li {
        width: 100%; /* Pleine largeur */
        border-bottom: 1px solid #2A2A2A; /* Séparation entre les éléments */
    }
    nav ul li a {
        display: block; /* Force le bloc */
        padding: 1rem 2rem; /* Padding horizontal pour le texte */
        text-align: left; /* Alignement du texte */
        width: 100%; /* Pleine largeur */
    }
    .hero h1 {
        font-size: 2rem;
    }
    .prestations-grid {
        grid-template-columns: 1fr;
    }
    /* Animation de l'icône */
    .menu-toggle.active i::before {
        content: "\F278";
    }
}
/* Page Prestations - Images à gauche */
.prestations-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.prestation-full {
    display: flex;
    flex-direction: column;
    background-color: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.prestation-image {
    width: 100%;
    max-height: 350px;
    overflow: hidden;
}
.prestation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prestation-text {
    padding: 2rem;
}
.prestation-text h2 {
    color: #00F0FF;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.prestation-details {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}
.prestation-details li {
    margin-bottom: 0.8rem;
    color: #A0A0A0;
}
.btn-cta {
    display: inline-block;
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .prestation-full {
        flex-direction: row;
    }
    .prestation-image {
        flex: 0 0 40%; /* 40% de la largeur pour l'image */
        max-height: none;
    }
    .prestation-text {
        flex: 1;
        padding: 2rem;
    }
}
/* ========== GALERIE (NOUVELLES RÈGLES) ========== */
/* Conteneur principal de la galerie */
.galerie-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Élément individuel de la galerie */
.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
    background: #1A1A1A;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.galerie-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Style des images/miniatures */
.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay pour les vidéos (icône play) */
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galerie-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Date du média (optionnel) */
.media-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Message "aucune image" */
.no-images {
    text-align: center;
    color: #A0A0A0;
    padding: 2rem;
    grid-column: 1 / -1;
}

/* Bloc de prestation pour la galerie */
.prestation-block {
    margin-bottom: 3rem;
}

.prestation-block h2 {
    color: #00F0FF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #2A2A2A;
    padding-bottom: 0.5rem;
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox-image,
.lightbox-video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    display: none;
}

.lightbox-video {
    width: 100%;
    height: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive pour la galerie */
@media (max-width: 1200px) {
    .galerie-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .galerie-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .galerie-container {
        grid-template-columns: 1fr;
    }
    .galerie-item {
        aspect-ratio: 1/1;
    }
}
/* Style spécifique pour les miniatures vidéo */
.galerie-item[data-type="video"] {
    position: relative;
}

.galerie-item[data-type="video"] .media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galerie-item[data-type="video"]:hover .media-overlay {
    opacity: 1;
}

.galerie-item[data-type="video"] .media-overlay i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* ========== STRUCTURE GÉNÉRALE ========== */
.hero {
    height: 40vh;
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(26, 26, 26, 0.9));
}

.hero h1 {
    color: #EDE0E0;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: #A0A0A0;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CONTAINER PRINCIPAL ========== */
.section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-section {
    max-width: 800px;
    margin: 0 auto;
}

/* ========== CARTES D'INFORMATIONS ========== */
.info-card {
    background-color: #1A1A1A;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.info-card h2 {
    color: #00F0FF;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00F0FF, #9D00FF);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-label {
    color: #00F0FF;
    font-weight: 600;
}

.contact-value {
    color: #EDE0E0;
}

.contact-value a {
    color: #EDE0E0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value a:hover {
    color: #00F0FF;
    text-decoration: underline;
}

/* ========== FORMULAIRES ========== */
.form-container {
    background-color: #1A1A1A;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.form-title {
    color: #00F0FF;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #00F0FF, #9D00FF);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #121212;
    color: #EDE0E0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #00F0FF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
    background-color: #1A1A1A;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding: 0.75rem;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EDE0E0'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* ========== CHECKBOXES ========== */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: rgba(0, 240, 255, 0.1);
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #00F0FF;
    cursor: pointer;
    border-radius: 4px;
}

.checkbox-label {
    color: #EDE0E0;
    cursor: pointer;
    font-size: 0.95rem;
}

/* ========== BOUTONS ========== */
.submit-btn {
    background: linear-gradient(135deg, #9D00FF, #00F0FF);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 1.5rem auto 0;
    width: fit-content;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #00F0FF, #9D00FF);
}

/* ========== MESSAGES D'ALERTE ========== */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
    border-left-color: #00F0FF;
}

.alert-error {
    background-color: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border-left-color: #ff4444;
}

/* ========== PROCESSUS (DEVIS) ========== */
.process-steps {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2A2A2A;
}

.process-title {
    color: #00F0FF;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.3rem;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00F0FF;
}

.process-list {
    color: #A0A0A0;
    line-height: 1.6;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.process-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.process-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    color: #00F0FF;
    font-weight: bold;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.process-list {
    counter-reset: step-counter;
}

.process-link {
    color: #00F0FF;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.process-link:hover {
    text-decoration: underline;
    color: #9D00FF;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .form-container, .info-card {
        padding: 1.5rem;
    }
}

/* ========== EFFETS SUPPLÉMENTAIRES ========== */
.form-control::placeholder {
    color: #666;
    opacity: 0.8;
}

.checkbox-input:checked + .checkbox-label {
    color: #00F0FF;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #1e1e1e;
    padding: 3rem 0 1rem;
    color: #EDE0E0;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: #00F0FF;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00F0FF, #9D00FF);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #A0A0A0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00F0FF;
}

.contact-info-footer {
    margin-bottom: 1rem;
}

.contact-info-footer p {
    margin-bottom: 0.5rem;
    color: #A0A0A0;
}

.contact-info-footer a {
    color: #EDE0E0;
    text-decoration: none;
}

.contact-info-footer a:hover {
    color: #00F0FF;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #EDE0E0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00F0FF;
    transform: translateY(-2px);
}

.trustpilot-btn {
    display: inline-block;
    background-color: #00B67A;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
}

.trustpilot-btn:hover {
    background-color: #009966;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #00F0FF;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========== MENTIONS LÉGALES ========== */
.legal-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: #EDE0E0;
    line-height: 1.7;
}

.legal-title {
    color: #00F0FF;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #00F0FF, #9D00FF);
}

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

.legal-section h2 {
    color: #00F0FF;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.3rem;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: #00F0FF;
}

.legal-section h3 {
    color: #EDE0E0;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-section a {
    color: #00F0FF;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-highlight {
    color: #00F0FF;
    font-weight: 600;
}

.back-to-top {
    display: inline-block;
    margin-top: 2rem;
    color: #00F0FF;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #00F0FF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #00F0FF;
    color: #121212;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .legal-section {
        margin-bottom: 2rem;
    }
}
