/* --- style.css - 100% Dynamique & Responsive --- */
:root { 
    /* Variables par défaut - Seront écrasées par config_couleurs.php */
    --primary: #ff4081; 
    --bg-page: #121212;
    --card-bg: #1e1e1e;
    --text-titles: #ffffff;
    --text-body: rgba(255,255,255,0.8);
    --border-soft: rgba(255,255,255,0.1);
    --shadow-color: rgba(0,0,0,0.6);
    --sidebar-width: 250px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
    color: var(--text-body);
    overflow-x: hidden; 
    background-color: var(--bg-page);
}

/* --- CALQUE 1 : LE FOND FIXE (L'IMAGE DU HAUT) --- */
.hero-parallax { 
    position: fixed; 
    top: 80px; 
    left: 12.5%; 
    width: 75%; 
    height: 50vh; 
    background-color: var(--bg-page); 
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('assets/img/monheader.png'); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    z-index: 1; 
    border-radius: 40px; 
    border: none !important; 
}

/* --- CALQUE 2 : LE RIDEAU QUI MONTE --- */
.content-scroll-wrapper { 
    position: relative; 
    margin-top: 55vh; 
    width: 100%; 
    background-color: transparent !important;
    z-index: 10; 
    border: none !important; 
}

/* --- CALQUE 3 : LES VIGNETTES ET SECTIONS --- */
.presta-scroll-area { 
    position: relative; 
    z-index: 11; 
    padding-top: 20px; 
    padding-bottom: 100px; 
    min-height: 50vh; 
}

.hero-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 12;
    background: rgba(0, 0, 0, 0.5) !important; 
    border-radius: 40px;
    margin: 0 5%; 
}

.hero-title, 
.hero-section h2,
.hero-subtitle,
.hero-section p {
    color: var(--text-body) !important; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.hero-title, .hero-subtitle {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- AMÉLIORATION DES VIGNETTES PRESTATIONS --- */
.presta-grid-custom { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; 
}

.presta-card-floating { 
    background-color: var(--card-bg) !important; 
    border-radius: 25px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 15px 35px var(--shadow-color); 
    border: none; 
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease; 
}

.presta-card-floating:hover { transform: translateY(-10px); }

.presta-img-container { position: relative; overflow: hidden; }

.presta-img { width: 100%; height: 220px; object-fit: cover; border-radius: 25px 25px 0 0; }

.presta-price-badge { 
    position: absolute; top: 15px; right: 15px; 
    background: var(--primary); color: white !important; 
    padding: 8px 15px; border-radius: 50px; font-weight: 700; 
    font-size: 1.1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 2; 
}

.presta-info { padding: 25px; text-align: center; border-radius: 0 0 25px 25px; }

.presta-info h3 { color: var(--text-titles); margin-bottom: 10px; }

.presta-tag-habille { 
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; 
    color: var(--primary); font-weight: 700; margin-bottom: 15px; 
}

.presta-durations { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 15px; }

.duration-pill { 
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); 
    padding: 4px 12px; border-radius: 50px; font-size: 0.85rem; color: var(--text-body); 
}

.duration-pill strong { color: var(--primary); }

.presta-desc { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; min-height: 60px; }

.btn-presta-book { 
    display: inline-block; padding: 10px 20px; border: 1px solid var(--primary); 
    color: var(--primary); text-decoration: none; border-radius: 50px; 
    font-size: 0.8rem; font-weight: 600; transition: all 0.3s ease; text-transform: uppercase; 
}

.btn-presta-book:hover { background: var(--primary); color: white !important; transform: scale(1.05); }

/* --- CALQUE 4 : LE HEADER --- */
.main-header { 
    position: fixed; top: 0; left: 0; width: 100%; height: 80px; padding: 0 5%; 
    display: flex; justify-content: flex-end; align-items: center; z-index: 1000; 
    background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-soft); 
}

.nav-links { display: flex; align-items: center; list-style: none; gap: 20px; }

.nav-links a { 
    text-decoration: none; color: #ffffff !important; font-size: 0.8rem; 
    text-transform: uppercase; font-weight: 600; 
}

.nav-links a:hover, .nav-links a.active { color: var(--primary) !important; }

.btn-reserver { 
    border: 1px solid var(--primary) !important; padding: 6px 14px; 
    color: var(--primary) !important; border-radius: 5px; text-decoration: none; 
}

/* --- PAGE CONTACT --- */
.contact-container-scroll { max-width: 1200px; margin: 0 auto; padding: 0 5% 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.contact-form-card, .contact-info-card { 
    background-color: var(--card-bg); padding: 30px; border-radius: 25px; 
    box-shadow: 0 15px 35px var(--shadow-color); border: 1px solid var(--border-soft); 
}

.contact-input-row { display: flex; gap: 15px; margin-bottom: 15px; }
.contact-input-row input { flex: 1; padding: 12px; border-radius: 8px; border: 1px solid var(--border-soft); background: rgba(0,0,0,0.2); color: white; }

.contact-select, .contact-textarea { 
    width: 100%; margin-bottom: 15px; padding: 12px; border-radius: 8px; 
    border: 1px solid var(--border-soft); background: rgba(0,0,0,0.2); color: white; 
}

.contact-info-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }

.contact-tel-display { font-size: 1.3rem; color: var(--text-body) !important; margin-top: 10px; }

.qr-code-mini img { 
    width: 90px; border-radius: 12px; border: 2px solid var(--primary); 
    background: white; padding: 5px; 
}

#map { 
    height: 320px; border-radius: 20px; border: 1px solid var(--border-soft); 
    filter: grayscale(0.5) contrast(1.1); 
}

.btn-submit-contact { 
    background-color: var(--primary) !important; color: white !important; border: none; 
    padding: 15px; width: 100%; border-radius: 10px; font-weight: 700; 
    cursor: pointer; text-transform: uppercase; transition: transform 0.2s ease, filter 0.2s ease; 
}

.btn-submit-contact:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* --- POINT 5 : DESIGN DE LA CONFIRMATION (NOUVEAU) --- */
.contact-success-wrapper {
    display: flex; justify-content: center; margin-bottom: 30px; animation: fadeInDown 0.6s ease-out;
}

.contact-success-card {
    background-color: var(--card-bg); border: 2px solid var(--primary);
    padding: 30px; border-radius: 25px; text-align: center;
    max-width: 500px; box-shadow: 0 15px 40px var(--shadow-color);
}

.success-icon { font-size: 2.5rem; margin-bottom: 10px; }
.contact-success-card h3 { color: var(--primary); margin-bottom: 15px; }

.btn-success-close {
    display: inline-block; margin-top: 20px; padding: 10px 25px;
    background: var(--primary); color: white !important;
    text-decoration: none; border-radius: 50px; font-weight: 700; transition: transform 0.2s;
}

.btn-success-close:hover { transform: scale(1.05); }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .presta-grid-custom { grid-template-columns: repeat(2, 1fr); }
    .hero-parallax { width: 90%; left: 5%; }
}

@media (max-width: 768px) {
    .main-header { justify-content: center; height: auto; padding: 10px; }
    .nav-links { gap: 10px; font-size: 0.7rem; }
    .hero-parallax { 
        position: fixed; width: 100%; left: 0; height: 40vh; top: 60px; border-radius: 0; 
    }
    .content-scroll-wrapper { margin-top: 45vh; }
    .presta-grid-custom { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .contact-input-row { flex-direction: column; }
}