/* ============================================
   PLAN & VASQUE - Homepage Styles
   Haute spécificité pour écraser Elementor
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Montserrat:ital,wght@0,400;0,500;1,300;1,400;1,500&display=swap');

/* === HEADER HOMEPAGE : transparent === */

#index #mobile-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#index #mobile-header-sticky {
    background: transparent !important;
}

#index .header-nav {
    display: none;
}

/* === HERO PLEIN ECRAN === */

#index #wrapper {
    border-bottom: none !important;
    background: transparent !important;
}

#index #inner-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Fond noir uni sur la section — le marbre est seulement en haut et en bas */
#index .elementor-section.page-home {
    background: #0d0d0d !important;
    position: relative;
}

#index #content.page-home {
    background: transparent;
}

/* Contenu Elementor au dessus des gradients */
#index .elementor-section.page-home > .elementor-container {
    position: relative;
    z-index: 2;
    justify-content: center;
}

/* Centrer les widgets dans la colonne */
#index .elementor-section.page-home .elementor-column-wrap {
    align-items: center;
}

#index .elementor-section.page-home .elementor-widget-wrap {
    align-items: center;
}

/* === SUBTITLE — écraser les styles Elementor === */

#index .elementor-widget-text-editor .pv-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    font-style: italic !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
    text-align: center !important;
    max-width: 307px;
    margin: 0 auto !important;
    line-height: 1.5 !important;
}

#index .pv-subtitle .pv-gold-text {
    color: #FFE1B8 !important;
    font-weight: 500 !important;
}

/* === SEPARATOR — écraser Elementor divider === */

#index .elementor-widget-divider.pv-separator .elementor-divider-separator {
    border-top-color: #FFE1B8 !important;
    width: 65px !important;
    margin: 0 auto !important;
}

#index .elementor-widget-divider.pv-separator .elementor-divider {
    padding-top: 16px !important;
    padding-bottom: 0 !important;
}

/* === CATEGORY CARDS === */

.pv-cards-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center !important;
    align-items: flex-start;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.pv-card {
    display: block !important;
    width: 422px !important;
    height: 264px !important;
    min-width: 0;
    max-width: 422px;
    flex: 0 0 422px;
    border-radius: 10px;
    border: 1.2px solid rgba(209, 209, 209, 0.3);
    background: rgba(25, 26, 27, 0.3);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
    color: #FFFFFF !important;
}

.pv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    text-decoration: none !important;
    color: #FFFFFF !important;
}

.pv-card > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pv-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 71px;
    padding: 14px 14px 14px 29px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.pv-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    color: #FFFFFF !important;
    line-height: 1.3;
}

.pv-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 5px;
    flex-shrink: 0;
}

.pv-card-arrow img {
    width: 29px;
    height: 29px;
    display: block;
}

/* === FOOTER HOMEPAGE === */

#index #footer-container-main {
    background-color: var(--pv-bg-primary);
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
    .pv-card {
        width: 350px !important;
        height: 230px !important;
        flex: 0 0 350px;
    }

    .pv-cards-container {
        gap: 32px;
    }
}

@media (max-width: 767px) {
    #index .header-top {
        padding: 12px 20px;
    }

    #index #inner-wrapper {
        position: relative;
        z-index: 4;
    }

    .pv-cards-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px;
        padding: 0 20px;
        margin-top: 0px;
        margin-bottom: 50px;
    }

    .pv-card {
        width: 100% !important;
        max-width: 350px !important;
        height: 220px !important;
        flex: 0 0 auto;
    }

    .pv-card-title {
        font-size: 16px !important;
    }

    .pv-card-footer {
        padding: 16px 20px;
        height: 60px;
    }

    #index .elementor-widget-text-editor .pv-subtitle {
        font-size: 14px !important;
        max-width: 300px;
        padding: 0 20px;
    }

    .pv-logo-plan, .pv-logo-vasque {
        font-size: 18px;
    }

    .pv-logo-amp {
        font-size: 32px;
    }
}
