/* ==========================================================================
   ASAE Event - Stylesheet for Services & Inner Pages (produit.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CONTEXTUAL HEADER INVERSION (Transparent header when light)
   -------------------------------------------------------------------------- */
.page-template-template-produit .site-header:not(.is-sticky) {
    border-bottom: 1px solid rgba(26, 24, 23, 0.08);
}

.page-template-template-produit .site-header:not(.is-sticky) .logo-text {
    color: var(--color-dark);
}

.page-template-template-produit .site-header:not(.is-sticky) .logo-text span {
    color: var(--color-bordeaux);
}

.page-template-template-produit .site-header:not(.is-sticky) .main-navigation a {
    color: var(--color-dark);
}

.page-template-template-produit .site-header:not(.is-sticky) .main-navigation a:hover {
    color: var(--color-bordeaux);
}

/* --------------------------------------------------------------------------
   1. HERO ÉPURÉ (Light Hero)
   -------------------------------------------------------------------------- */
.produit-hero-section {
    position: relative;
    padding: 220px 0 120px 0;
    background-color: var(--color-soie);
    text-align: center;
    overflow: hidden;
}

.produit-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.produit-hero-tag {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-bordeaux);
    display: inline-block;
    margin-bottom: 16px;
}

.produit-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.produit-hero-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-bordeaux);
    margin: 0 auto 30px auto;
}

.produit-hero-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.75;
    color: #55514E;
}

.produit-hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape-sable {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background-color: var(--color-sable);
    border-radius: 50%;
    transform: rotate(-15deg);
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   2. PRESENTATION DE L'OFFRE / INTRO
   -------------------------------------------------------------------------- */
.produit-intro-section {
    background-color: var(--color-sable);
    padding: 120px 0;
}

.produit-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title-line-left {
    width: 60px;
    height: 1px;
    background-color: var(--color-bordeaux);
    margin: 20px 0 30px 0;
}

.produit-intro-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #55514E;
}

.produit-intro-image-container {
    position: relative;
    padding-bottom: 110px;
    height: 0;
    width: 100%;
}

.produit-intro-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 92%;
    height: 92%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(26, 24, 23, 0.08);
}

.produit-intro-decorative-frame {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 92%;
    height: 92%;
    border: 1px solid var(--color-bordeaux);
    z-index: 1;
}

/* --------------------------------------------------------------------------
   3. GRILLE DES LIVRABLES
   -------------------------------------------------------------------------- */
.livrables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.livrable-card {
    background: var(--color-soie);
    border: 1px solid rgba(26, 24, 23, 0.04);
    padding: 48px 40px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.livrable-card:hover {
    transform: translateY(-5px);
    border-color: rgba(109, 7, 26, 0.15);
    box-shadow: 0 15px 35px rgba(26, 24, 23, 0.03);
}

.livrable-icon-wrapper {
    background-color: var(--color-sable);
    color: var(--color-bordeaux);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.livrable-card:hover .livrable-icon-wrapper {
    background-color: var(--color-bordeaux);
    color: var(--color-soie);
}

.livrable-icon-wrapper .material-symbols-outlined {
    font-size: 22px;
}

.livrable-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.livrable-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #66625F;
}

/* --------------------------------------------------------------------------
   4. TARIFS / LEAD FILTRATION CARD
   -------------------------------------------------------------------------- */
.produit-pricing-section {
    background-color: var(--color-soie);
    padding: 120px 0;
}

.produit-pricing-card {
    background: var(--color-soie);
    border: 1px solid rgba(109, 7, 26, 0.15);
    padding: 60px 48px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(26, 24, 23, 0.03);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-bordeaux);
    color: var(--color-soie);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
}

.pricing-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    color: var(--color-dark);
    display: block;
    margin-bottom: 30px;
    font-weight: 300;
}

.pricing-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-text-muted);
    margin: 0 auto 30px auto;
    opacity: 0.3;
}

.pricing-filter-block {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--color-sable);
    padding: 20px 24px;
    border-left: 3px solid var(--color-bordeaux);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.filter-icon {
    color: var(--color-bordeaux);
    font-size: 24px;
    flex-shrink: 0;
}

.pricing-filter-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #55514E;
}

/* --------------------------------------------------------------------------
   5. DIRECT CTA SECTION
   -------------------------------------------------------------------------- */
.produit-cta-section {
    padding: 120px 0;
}

.cta-tag {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 16px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--color-soie);
    line-height: 1.25;
    margin-bottom: 24px;
}

.cta-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .produit-intro-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .produit-intro-media-block {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }

    .livrables-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .produit-hero-section {
        padding: 160px 0 80px 0;
    }

    .produit-intro-section,
    .produit-livrables-section,
    .produit-pricing-section,
    .produit-cta-section {
        padding: 80px 0;
    }

    .produit-pricing-card {
        padding: 40px 24px;
    }

    .pricing-filter-block {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
