/*
 * =========================================================================
 *   CINEMATIC GOLD 2026 DESIGN SYSTEM
 *   Custom Design System for v3.lecire.com (Zephyr Child Theme)
 * =========================================================================
 */

/* 1. TYPOGRAPHY & DESIGN TOKENS */
:root {
    --bg-dark: #080808;
    --bg-carbon: #121212;
    --bg-glass: rgba(14, 14, 14, 0.85);
    
    --gold-primary: #C9A227;      /* Warm golden matte */
    --gold-bright: #E5C158;       /* Bright golden for hover states */
    --gold-dimmed: rgba(201, 162, 39, 0.15);
    
    --text-pure: #FFFFFF;
    --text-silk: #F0F0F0;         /* Soft white for body reading */
    --text-muted: #9E9E9E;        /* Subtle description texts */
    
    --border-light: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(201, 162, 39, 0.12);
}

/* 2. BASE OVERRIDES */
body, html, .l-canvas, .l-main, .l-footer, .g-html {
    background-color: var(--bg-dark) !important;
    color: var(--text-silk) !important;
    font-family: 'Outfit', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 3. TYPOGRAPHY SYSTEM */
h1, h2, h3,
.w-person-name,
.custom-text-shadow h2,
.custom-text-shadow h2 a {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--gold-primary) !important;
    text-shadow: none !important;
}

h2 {
    font-size: 2.6rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1.5rem !important;
}

h3 {
    font-size: 1.85rem !important;
    line-height: 1.35 !important;
}

h4, h5, h6,
.w-person-role,
.w-grid-item-meta,
.w-separator-text {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
}

p, span, li, td, th, input, textarea, select {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Link defaults */
a {
    color: var(--gold-primary) !important;
    text-decoration: none !important;
    transition: color 0.3s ease, border-color 0.3s ease !important;
}
a:hover {
    color: var(--gold-bright) !important;
}

/* 4. PREMIUM HEADER & NAVIGATION */
.l-header {
    background-color: rgba(8, 8, 8, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-light) !important;
    transition: all 0.4s ease !important;
}

.l-subheader {
    background-color: transparent !important;
}

/* Navigation links spacing and styling */
.w-nav-item-a {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
    color: var(--text-pure) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.85rem !important;
    padding-bottom: 6px !important;
    position: relative !important;
}

.w-nav-item:hover .w-nav-item-a {
    color: var(--gold-bright) !important;
}

/* Dynamic gold indicator bar under active/hover menu items */
.w-nav-item-a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.w-nav-item:hover .w-nav-item-a::after,
.w-nav-item.current-menu-item .w-nav-item-a::after {
    width: 100%;
}

/* Mobile Nav Styles */
.w-nav-anchor {
    color: var(--text-pure) !important;
}

/* 5. SECTIONS & LAYOUT OVERRIDES */
.l-section, .vc_row, .vc_row_inner {
    background-color: var(--bg-dark) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.l-section:last-child, .vc_row:last-child {
    border-bottom: none !important;
}

/* Generous Whitespace Spacing */
.l-section.height_small .l-section-h {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}
.l-section.height_medium .l-section-h {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}
.l-section.height_large .l-section-h {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

/* Reset default light container backgrounds */
.vc_row-inner, .vc_column-inner {
    background-color: transparent !important;
}

/* Grid spacing alignment to prevent text clipping */
.vc_row-inner {
    margin-left: -15px !important;
    margin-right: -15px !important;
}
:not(.vc_row-no-padding) > .vc_column_container > .vc_column-inner {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Quiet luxury horizontal dividers */
.w-separator.color_primary, .w-separator {
    border-color: var(--gold-primary) !important;
    opacity: 0.15 !important;
}

/* 6. PHOTO / PRESTATION CARDS (LAYOUT CARDS & PERSON) */
.w-person {
    background-color: var(--bg-carbon) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    padding: 0 !important; /* No double padding */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.w-person:hover {
    transform: translateY(-6px) !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.12) !important;
}

.w-person-image {
    overflow: hidden !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.w-person-image img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.w-person:hover .w-person-image img {
    transform: scale(1.04) !important;
}

/* Fix text hierarchy and spacing inside cards */
.w-person-content {
    padding: 24px 20px !important; /* Proper padding for text block */
}

.w-person-name {
    font-size: 1.35rem !important;
    color: var(--text-pure) !important;
    margin-top: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.w-person-role {
    font-size: 0.75rem !important;
    color: var(--gold-primary) !important;
    text-align: center !important;
    display: block !important; /* Explicitly visible, not hidden */
    margin: 8px 0 12px 0 !important;
    opacity: 0.9;
}

.w-person-description {
    font-size: 0.92rem !important;
    color: var(--text-muted) !important;
    line-height: 1.55 !important;
    text-align: center !important;
    margin-top: 10px !important;
}

/* Portfolio grids */
.w-grid-item-anchor {
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid var(--border-light) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.w-grid-item:hover .w-grid-item-anchor {
    transform: translateY(-5px) !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.1) !important;
}

.w-grid-item-img img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.w-grid-item:hover .w-grid-item-img img {
    transform: scale(1.03) !important;
}

/* 7. CONTACT FORM & ACCORDIONS (GLASSMORPHIC & TIGHT CONTRAST) */
#formulaire_contact .vc_row-inner {
    background-color: var(--bg-glass) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 12px !important;
    padding: 40px 30px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

.w-form-row-input input,
.w-form-row-input textarea {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--text-pure) !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 12px 8px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.w-form-row-input input:focus,
.w-form-row-input textarea:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-bottom-color: var(--gold-primary) !important;
    outline: none !important;
}

/* Buttons style - Sharp & Luxurious */
.w-btn.style_14, .w-btn[type="submit"], #formulaire_contact input[type="submit"], .luxury-button {
    background-color: transparent !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    padding: 14px 36px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-block;
}

.w-btn.style_14:hover, .w-btn[type="submit"]:hover, #formulaire_contact input[type="submit"]:hover, .luxury-button:hover {
    background-color: var(--gold-primary) !important;
    color: #000000 !important;
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Accordions for FAQ */
.vc_tta-panel {
    background-color: var(--bg-carbon) !important;
    border: 1px solid var(--border-light) !important;
    margin-bottom: 12px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.vc_tta-panel-title a {
    color: var(--text-pure) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
    padding: 18px 24px !important;
}

.vc_tta-panel-title a:hover {
    color: var(--gold-bright) !important;
}

.vc_tta-panel-body {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-top: 1px solid var(--border-light) !important;
    padding: 20px 24px !important;
}

/* 8. SLIDER & HERO OVERLAYS (CRITICAL CONTRAST FIX) */
.rev_slider_wrapper {
    position: relative !important;
}

/* Dark cinematic gradient over the main hero image to protect text visibility */
.rev_slider_wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.25) 0%, rgba(8, 8, 8, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

/* 9. SCROLLBARS & CUSTOM LAYOUT DETAILS */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* 10. CLEAN READABLE TEXT IN COLUMNS (NO WHITE OVERLAYS) */
.wpb_text_column,
.vc_column_text,
.wpb_wrapper,
.vc_column-inner {
    color: var(--text-silk) !important;
}

.wpb_text_column p,
.wpb_text_column li,
.wpb_text_column td,
.wpb_text_column th,
.us_custom_text {
    color: var(--text-silk) !important;
}

/* Clean hardcoded inline styles from old builder copy-paste */
[style*="color: #0"],
[style*="color:#0"],
[style*="color: rgb(0"],
[style*="color:rgb(0"],
[style*="color: #1"],
[style*="color:#1"],
[style*="color: #2"],
[style*="color:#2"],
[style*="color: #3"],
[style*="color:#3"],
[style*="color: #4"],
[style*="color:#4"],
[style*="color: #5"],
[style*="color:#5"],
[style*="color: #6"],
[style*="color:#6"],
[style*="color: black"],
[style*="color:black"] {
    color: var(--text-silk) !important;
}

/* 11. BILINGUAL & QUOTE BOXES */
.bilingual-box {
    background-color: var(--bg-carbon) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 10px !important;
    padding: 2.5rem !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

.biography-quote {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic !important;
    font-weight: 300 !important;
    font-size: 1.85rem !important;
    color: var(--gold-primary) !important;
    line-height: 1.45 !important;
    text-align: center;
    margin: 2.5rem 0 !important;
    padding: 0 2rem !important;
    border-left: 2px solid var(--gold-primary);
}

/* 12. RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
    h2 {
        font-size: 2.0rem !important;
    }
    h3 {
        font-size: 1.5rem !important;
    }
    .bilingual-box {
        padding: 1.5rem !important;
    }
    .biography-quote {
        font-size: 1.4rem !important;
        margin: 1.5rem 0 !important;
    }
}

/* ===================================================================
   13. PRICING CARDS — TARIFS PORTRAITS & FAMILLE
   =================================================================== */

/* Remove white column override from WPBakery hero rows */
.vc_column_container .vc_column-inner[style*="background-color: rgba(255,255,255"],
.vc_column_container .vc_column-inner[style*="background-color:rgba(255,255,255"],
.vc_column_container .vc_column-inner[style*="background-color: #fff"],
.vc_column_container .vc_column-inner[style*="background-color:#fff"] {
    background-color: transparent !important;
}

/* Pricing card base */
.pricing-card {
    background-color: var(--bg-carbon) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 10px !important;
    padding: 2.5rem 2rem !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright));
}

.pricing-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.15) !important;
}

/* FAQ Accordion in Tarifs pages - force dark */
.vc_tta-accordion .vc_tta-panel-title > a {
    background-color: var(--bg-carbon) !important;
    color: var(--text-pure) !important;
}

.vc_tta-accordion .vc_tta-panel.vc_active .vc_tta-panel-heading {
    border-bottom: 1px solid var(--gold-primary) !important;
}

/* Force red award links to gold */
a[style*="color: #b00707"],
a[style*="color:#b00707"],
a[style*="color: red"],
a[style*="color:red"] {
    color: var(--gold-primary) !important;
}

/* ===================================================================
   14. À PROPOS PAGE — DISTINCTIONS
   =================================================================== */

.awards-block {
    border-left: 2px solid var(--gold-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.awards-block li {
    color: var(--text-silk) !important;
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
}

.awards-block strong {
    color: var(--gold-primary) !important;
}

/* ===================================================================
   15. CORPORATE PAGE — CAROUSEL FIXES
   =================================================================== */

.w-carousel-item img {
    border-radius: 4px !important;
    transition: filter 0.4s ease !important;
}

.w-carousel-arrow {
    color: var(--gold-primary) !important;
    border: 1px solid var(--border-gold) !important;
    background-color: rgba(8, 8, 8, 0.7) !important;
    border-radius: 50% !important;
}

.w-carousel-arrow:hover {
    background-color: var(--gold-primary) !important;
    color: #000 !important;
}

/* ===================================================================
   16. FOOTER LUXURY
   =================================================================== */

.l-footer {
    background-color: var(--bg-carbon) !important;
    border-top: 1px solid var(--border-light) !important;
    padding-top: 3rem !important;
}

.l-footer .w-nav-item-a {
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
}

.l-footer .w-nav-item:hover .w-nav-item-a {
    color: var(--gold-primary) !important;
}

.l-footer p, .l-footer span {
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
}

.l-footer-area.pos_bottom {
    border-top: 1px solid var(--border-light) !important;
    padding: 1.5rem 0 !important;
    margin-top: 2rem !important;
}

.w-socials-item-link {
    color: var(--text-muted) !important;
    transition: color 0.3s ease !important;
}

.w-socials-item-link:hover {
    color: var(--gold-primary) !important;
}

/* ===================================================================
   17. LOGO — Force white logo on dark header
   =================================================================== */

.w-logo img {
    filter: brightness(1) !important;
    max-height: 60px !important;
    width: auto !important;
}

/* ===================================================================
   18. PAGE TITLE HERO (Zephyr title areas)
   =================================================================== */

.l-titlebar {
    background-color: var(--bg-carbon) !important;
    border-bottom: 1px solid var(--border-gold) !important;
}

.l-titlebar-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: var(--gold-primary) !important;
    font-weight: 300 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.l-titlebar-breadcrumbs a,
.l-titlebar-breadcrumbs span {
    color: var(--text-muted) !important;
    font-size: 0.82rem !important;
}

.l-titlebar-breadcrumbs a:hover {
    color: var(--gold-primary) !important;
}

/* ===================================================================
   19. SURCHARGE DES VARIABLES ZEPHYR NATIVES (garantie fonds noirs)
   Zephyr génère ces CSS variables via us_theme_options_css.
   On les surcharge ici pour écraser #21282e par notre #080808.
   =================================================================== */
:root {
    --color-content-bg: #080808 !important;
    --color-content-bg-grad: #080808 !important;
    --color-content-bg-alt: #0f0f0f !important;
    --color-content-bg-alt-grad: #0f0f0f !important;
    --color-content-text: #F0F0F0 !important;
    --color-content-faded: #9E9E9E !important;
    --color-content-border: rgba(255,255,255,0.07) !important;
    --color-content-primary: #C9A227 !important;
    --color-alt-content-bg: #0a0a0a !important;
    --color-alt-content-bg-alt: #111111 !important;
}

/* Force le fond du canvas principal */
.l-canvas,
.l-main,
#page,
#wrapper,
main,
article {
    background-color: #080808 !important;
}

/* Éliminer tous les fonds blancs résiduels sur les inner containers */
.vc_column-inner,
.wpb_column,
.vc_row,
[class*="vc_col-"] {
    background-color: transparent !important;
}

/* Correction spécifique: le Zephyr .l-section peut avoir background-color inline */
.l-section[style*="background-color: rgb(255,255,255)"],
.l-section[style*="background-color:#ffffff"],
.l-section[style*="background-color: #ffffff"],
.l-section[style*="background-color:white"] {
    background-color: var(--bg-dark) !important;
}

/* ===================================================================
   19. PRICING LUXURY CARDS, OVERLAYS & CONTRAST SOLVERS (MAY 2026)
   =================================================================== */

/* ALL SECTIONS WITH BACKGROUND IMAGES GET A DARK CINEMATIC OVERLAY */
.l-section {
    position: relative !important;
}

.l-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(8, 8, 8, 0.72) !important; /* Cinematic Gold 72% dark overlay */
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Ensure content sits above the overlay */
.l-section-h,
.g-cols,
.vc_column-inner,
.wpb_wrapper {
    position: relative !important;
    z-index: 2 !important;
}

/* OVERRIDE DYNAMIC WHITE BACKGROUNDS FROM VISUAL BUILDER CLASS GENERATION */
div[class*="us_custom_"],
div[class*="vc_custom_"],
.vc_column-inner,
.wpb_column {
    background-color: transparent !important;
}

/* If a row has a custom white/light background, force it to dark carbon */
.vc_row[class*="us_custom_"],
.vc_row[class*="vc_custom_"],
.l-section[class*="us_custom_"],
.l-section[class*="vc_custom_"] {
    background-color: var(--bg-dark) !important;
}

/* PRICING CARD LUXURY STYLING */
.pricing-card,
.pricing-card-luxury {
    background-color: var(--bg-carbon) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

.pricing-card::before,
.pricing-card-luxury::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright)) !important;
}

.pricing-card:hover,
.pricing-card-luxury:hover {
    transform: translateY(-8px) !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.2) !important;
}

.pricing-card-header {
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 1.5rem !important;
}

.pricing-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
}

.pricing-card-price {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 3.5rem !important;
    font-weight: 300 !important;
    color: var(--gold-primary) !important;
    line-height: 1 !important;
}

.pricing-card-price span {
    font-size: 1.2rem !important;
    color: var(--text-muted) !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: normal !important;
    margin-left: 0.5rem !important;
}

.pricing-feature-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 !important;
}

.pricing-feature-list li {
    position: relative !important;
    padding-left: 1.8rem !important;
    margin-bottom: 0.8rem !important;
    color: var(--text-silk) !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
}

.pricing-feature-list li::before {
    content: '✦' !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--gold-primary) !important;
    font-size: 0.8rem !important;
    top: 2px !important;
}
