/**
 * ==============================================================================
 * RÉSIDENCE TOUVALEM - STYLES DE LA PRIVATISATION DE LA VILLA (privatisation.css)
 * ==============================================================================
 * Styles de la page de privatisation complète :
 * 1. Bannière Hero avec overlay sombre et typographie Playfair Display.
 * 2. Section Privilèges & Services exclusifs (Cartes blanches avec ombre portée).
 * 3. Occasions idéales (Familles, Amis, Séminaires, Célébrations).
 * 4. Bandeau des tarifs transparents (Semaine 250 000 FCFA / Week-end 300 000 FCFA).
 * 5. Grille 2 Colonnes (Texte & Inclusions à gauche + Formulaire Multi-Steps à droite).
 * 6. Barre de progression des étapes (Step 1 -> Step 2 -> Step 3).
 * 7. Simulateur de devis en direct & Intégration WhatsApp.
 * 8. Responsive design et adaptations mobiles.
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
 * 1. BANNIÈRE HERO PRIVATISATION
 * ------------------------------------------------------------------------------
 */
.privatisation-hero {
    height: 42vh;
    min-height: 380px;
    background-image: url('/images/WhatsApp Image 2026-06-14 at 12.14.20 (2).jpeg');
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.privatisation-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.privatisation-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 820px;
    padding: 0 20px;
}

.privatisation-hero h1 {
    font-size: 3.6rem;
    font-family: var(--font-heading, 'Playfair Display', serif);
    margin-bottom: 18px;
    line-height: 1.18;
}

.privatisation-hero p {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ------------------------------------------------------------------------------
 * 2. CARTES D'AVANTAGES & SERVICES EXCLUSIFS
 * ------------------------------------------------------------------------------
 */
.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #E0F2F1;
    color: #244C4A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.feature-card h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* ------------------------------------------------------------------------------
 * 3. CARTES D'OCCASIONS (ÉVÉNEMENTS)
 * ------------------------------------------------------------------------------
 */
.occasion-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 14px;
    border: 1px solid #eeeeee;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.occasion-card:hover {
    border-color: #244C4A;
    box-shadow: 0 10px 30px rgba(36, 76, 74, 0.1);
    transform: translateY(-5px);
}

.occasion-icon {
    color: #EFA836;
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.occasion-card h4 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.occasion-card p {
    color: #777777;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ------------------------------------------------------------------------------
 * 4. BANDEAU DES TARIFS VILLA
 * ------------------------------------------------------------------------------
 */
.pricing-banner {
    background: #244C4A;
    color: #ffffff;
    padding: 40px 45px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    box-shadow: 0 15px 40px rgba(36, 76, 74, 0.22);
}

.pricing-banner h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.9rem;
    margin: 0 0 8px 0;
}

.pricing-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.pricing-rates-wrapper {
    display: flex;
    gap: 35px;
}

.pricing-rate-item {
    text-align: right;
}

.pricing-rate-item .rate-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    font-weight: 600;
}

.pricing-rate-item .rate-amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: #EFA836;
    font-family: var(--font-heading, serif);
}

.pricing-rate-item .rate-amount span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: normal;
}

/* ------------------------------------------------------------------------------
 * 5. GRANDE GALERIE PHOTOS & DISPOSITION 2 COLONNES
 * ------------------------------------------------------------------------------
 */

/* Galerie grande format au-dessus de la section 2 colonnes */
.priv-big-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.priv-big-main {
    position: relative;
    overflow: hidden;
}

.priv-big-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.priv-big-main:hover img {
    transform: scale(1.04);
}

.priv-big-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(36, 76, 74, 0.85);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.priv-big-side {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 12px;
}

.priv-big-side-img {
    overflow: hidden;
    border-radius: 4px;
}

.priv-big-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.priv-big-side-img:hover img {
    transform: scale(1.06);
}

/* Grille 2 colonnes : texte gauche + formulaire droite */
.privatisation-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: flex-start;
}

/* Colonne de Gauche : Présentation & Inclusions */
.privatisation-side-info {
    padding-right: 15px;
}

.side-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 168, 54, 0.15);
    color: #d98c22;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.side-info-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2.6rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 18px;
}

.side-info-desc {
    color: #666666;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.side-inclusions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.side-inclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.side-inclusion-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E0F2F1;
    color: #244C4A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.side-inclusion-text h4 {
    margin: 0 0 3px 0;
    font-size: 1.05rem;
    color: #1a1a1a;
}

.side-inclusion-text p {
    margin: 0;
    font-size: 0.88rem;
    color: #777777;
    line-height: 1.5;
}

.side-contact-box {
    background: #FAFAFA;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.side-contact-box .sc-icon {
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.side-contact-box .sc-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    margin-bottom: 2px;
    font-weight: 600;
}

.side-contact-box .sc-phone {
    font-size: 1.15rem;
    font-weight: 700;
    color: #244C4A;
    text-decoration: none;
}

/* Colonne de Droite : Wrapper Formulaire */
.privatisation-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
    width: 100%;
}

/* ------------------------------------------------------------------------------
 * 6. BARRE DE PROGRESSION DES ÉTAPES (STEP PROGRESS BAR)
 * ------------------------------------------------------------------------------
 */
.step-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 35px;
    padding: 0 10px;
}

.step-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #eeeeee;
    z-index: 1;
}

.step-progress-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    color: #888888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.step-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #888888;
    transition: color 0.3s ease;
}

.step-progress-item.active .step-circle {
    background: #244C4A;
    border-color: #244C4A;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(36, 76, 74, 0.3);
}

.step-progress-item.active .step-title {
    color: #244C4A;
    font-weight: 700;
}

.step-progress-item.completed .step-circle {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

.step-progress-item.completed .step-title {
    color: #1a1a1a;
}

/* ------------------------------------------------------------------------------
 * 7. ÉTAPES DU FORMULAIRE (FORM STEPS)
 * ------------------------------------------------------------------------------
 */
.form-step {
    display: none;
    animation: fadeInStep 0.35s ease;
}

.form-step.active {
    display: block;
}

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

.step-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.step-header h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.55rem;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}

.step-header p {
    margin: 0;
    color: #777777;
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
    background-color: #f8fafc;
    color: #1e293b;
    box-sizing: border-box;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.form-control:focus {
    border-color: #244C4A;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(36, 76, 74, 0.12);
}

select.form-control {
    cursor: pointer;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23244C4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-control option {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 10px;
}

textarea.form-control {
    resize: vertical;
    min-height: 95px;
    line-height: 1.6;
}

/* Boutons de navigation des étapes */
.step-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-step-prev {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-step-prev:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-step-next {
    background: #244C4A;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    box-shadow: 0 4px 14px rgba(36, 76, 74, 0.25);
}

.btn-step-next:hover {
    background: #183332;
    transform: translateY(-2px);
}

.btn-submit-booking {
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-submit-booking:hover {
    background: #1eb956;
    transform: translateY(-2px);
}

/* Simulateur de Prix de Privatisation */
.privatisation-calc-box {
    background: #f8faf9;
    border: 1.5px dashed #244C4A;
    border-radius: 14px;
    padding: 22px 25px;
    margin: 20px 0;
}

.privatisation-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #444444;
    margin-bottom: 10px;
}

.privatisation-calc-details {
    font-size: 0.86rem;
    color: #666666;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5ebe8;
}

.privatisation-calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
}

.privatisation-calc-total-row span.total-label {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.privatisation-calc-total-row span.total-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: #244C4A;
    font-family: var(--font-heading, serif);
}

/* Carte de confirmation WhatsApp */
.booking-redirect-card {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.booking-redirect-icon {
    width: 60px;
    height: 60px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px auto;
}

.btn-whatsapp-confirm {
    background-color: #25D366;
    color: #ffffff;
    border-radius: 30px;
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-confirm:hover {
    background-color: #1eb956;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-pdf-download {
    background-color: #ffffff;
    color: #333333;
    border: 1.5px solid #dddddd;
    border-radius: 30px;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-pdf-download:hover {
    background-color: #f8fafc;
    border-color: #bbbbbb;
    color: #1a1a1a;
}

/* ------------------------------------------------------------------------------
 * 8. MEDIA QUERIES (RESPONSIVE)
 * ------------------------------------------------------------------------------
 */
@media (max-width: 992px) {
    .privatisation-section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .privatisation-side-info {
        padding-right: 0;
    }
    .priv-big-gallery {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .privatisation-hero h1 {
        font-size: 2.4rem;
    }
    .pricing-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .pricing-rates-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .pricing-rate-item {
        text-align: center;
    }
    .privatisation-form-wrapper {
        padding: 25px 20px;
    }
    .step-title {
        display: none;
    }
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    /* Galerie en colonne unique sur mobile */
    .priv-big-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    .priv-big-main {
        height: 260px;
    }
    .priv-big-side {
        grid-template-rows: none;
        grid-template-columns: repeat(3, 1fr);
        height: 110px;
    }
    /* Formulaire : rangées 2 colonnes passent en 1 colonne */
    .priv-form-row {
        grid-template-columns: 1fr;
    }
}
