/*
 * --- SLEEK DARK MODE DESIGN SYSTEM (2026) ---
 * High-End Luxury Staging Stride for v2.lecire.com
 */

/* 1. TYPOGRAPHY & CORE VARIABLES */
:root {
    --bg-dark: #0a0a0a;
    --bg-carbon: #141414;
    --bg-glass: rgba(20, 20, 20, 0.75);
    --gold-primary: #c5a059;
    --gold-bright: #e5c158;
    --text-pure: #ffffff;
    --text-silk: #e0e0e0;
    --text-muted: #a8a8a8;
    --border-light: rgba(255, 255, 255, 0.05);
}

/* Base Body Styles 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;
}

/* 2. TYPOGRAPHIC SYSTEM */
h1, h2, h3, h4, h5, h6, 
.w-person-name, .custom-text-shadow h2, .custom-text-shadow h4 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500 !important;
    color: var(--gold-primary) !important;
    letter-spacing: 0.5px !important;
}

/* Global paragraph styling */
p, span, li, td, th, input, textarea, select {
    font-family: 'Outfit', sans-serif !important;
}

/* Subtitle and links */
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;
}

/* 3. LUXURY HEADER & NAVIGATION */
.l-header {
    background-color: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-light) !important;
    transition: all 0.3s ease !important;
}

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

.w-nav-item-a {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    color: var(--text-pure) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

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

/* Soulignement de menu fluide et or */
.w-nav-item-a {
    position: relative !important;
    padding-bottom: 6px !important;
}

.w-nav-item-a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

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

/* 4. SECTIONS & SEPARATORS OVERRIDES */
.l-section, .vc_row {
    background-color: var(--bg-dark) !important;
}

/* Remove default light background colors inside layout rows */
.vc_row-inner, [class*="my-custom-element"] {
    background-color: transparent !important;
}

/* Sophisticated dividers */
.w-separator.color_primary, .w-separator {
    border-color: var(--gold-primary) !important;
    opacity: 0.25 !important;
}

/* 5. SERVICE CARDS (PORTRAIT, MARIAGE, ETC.) */
.w-person {
    background-color: var(--bg-carbon) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.w-person-image {
    overflow: hidden !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.w-person-image img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.w-person:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.1) !important;
}

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

.w-person-name {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.35rem !important;
    font-weight: 500 !important;
    color: var(--text-pure) !important;
    padding: 20px 10px !important;
    text-align: center !important;
    transition: color 0.3s ease !important;
}

.w-person:hover .w-person-name {
    color: var(--gold-primary) !important;
}

/* Hide empty roles/descriptions if any */
.w-person-role {
    display: none !important;
}

/* 6. EXQUISITE GRID & PORTFOLIOS */
.w-grid-item-anchor {
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.w-grid-item-img img {
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.w-grid-item:hover .w-grid-item-anchor {
    transform: translateY(-4px) !important;
    border-color: rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.06) !important;
}

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

/* Elegant portfolio caption overlay */
.w-grid-item-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

/* 7. GLASSMORPHIC CONTACT & TESTIMONIALS */
#formulaire_contact .vc_row-inner {
    background-color: var(--bg-glass) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    padding: 50px 30px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

/* Testimonials Carousel inside the same block */
.w-testimonial {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px !important;
}

.w-testimonial-text {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic !important;
    font-size: 1.45rem !important;
    line-height: 1.6 !important;
    color: var(--text-silk) !important;
    text-align: center !important;
}

.w-testimonial-author {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    color: var(--gold-primary) !important;
    margin-top: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.9rem !important;
}

/* Form inputs styling */
.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.15) !important;
    color: var(--text-pure) !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 12px 10px !important;
    border-radius: 0 !important;
    box-shadow: none !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.04) !important;
    border-bottom-color: var(--gold-primary) !important;
    outline: none !important;
}

.w-form-row-label {
    font-family: 'Outfit', sans-serif !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Premium Gold CTA Button */
.w-btn.style_14, .w-btn[type="submit"], #formulaire_contact input[type="submit"] {
    background-color: transparent !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 4px !important;
    padding: 14px 32px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.w-btn.style_14:hover, .w-btn[type="submit"]:hover, #formulaire_contact input[type="submit"]:hover {
    background-color: var(--gold-primary) !important;
    color: #000000 !important;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* 8. TRUSTINDEX GOOGLE REVIEWS DARK MODE INTEGRATION */
#avis_Google_Business .vc_row-inner {
    background-color: transparent !important;
}

/* Invert colors to match dark mode, maintaining the google red/blue/green/yellow colors naturally! */
.ti-widget.ti-goog, .ti-widget, #ti-widget-wrapper {
    filter: invert(0.92) hue-rotate(180deg) !important;
}

/* Re-invert image elements, user profile pictures and badge logo so they appear in correct natural colors */
.ti-widget img, 
.ti-profile-img img, 
.ti-review-header img,
.ti-widget .ti-goog-logo img,
.ti-widget .ti-large-logo img {
    filter: invert(0.92) hue-rotate(180deg) !important;
}

/* 9. SUBTLE SCROLLBAR FOR MODERN BROWSERS */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #252525;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* 10. GLOBAL CONTRAST & BACKGROUND SOLVER FOR OLD INLINE STYLES */
/* Core content text colors force readable contrast */
p, 
li, 
td, 
th, 
.wpb_text_column, 
.wpb_text_column p, 
.wpb_text_column li,
.wpb_text_column td,
.wpb_text_column th {
    color: var(--text-silk) !important;
}

span[style*="color: #000000"], 
span[style*="color:#000000"], 
span[style*="color: #000"], 
span[style*="color:#000"], 
span[style*="color: rgb(0, 0, 0)"],
span[style*="color:rgb(0, 0, 0)"],
span[style*="color: #333"], 
span[style*="color:#333"], 
span[style*="color: #444"], 
span[style*="color:#444"], 
span[style*="color: #555"], 
span[style*="color:#555"], 
span[style*="color: #666"], 
span[style*="color:#666"], 
span[style*="color: #222"], 
span[style*="color:#222"], 
span[style*="color: #2c3e50"], 
span[style*="color:#2c3e50"], 
strong[style*="color: #000000"], 
strong[style*="color:#000000"], 
strong[style*="color: #000"], 
strong[style*="color:#000"],
strong span {
    color: var(--text-silk) !important;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    color: var(--gold-primary) !important;
}

p span, p strong, li span, li strong {
    color: var(--text-silk) !important;
}

/* Override column inline light backgrounds from old visual builder options */
.vc_column-inner[style*="background-color: rgba(255,255,255"],
.vc_column-inner[style*="background-color:rgba(255,255,255"],
.vc_column-inner[style*="background-color: rgb(255,255,255"],
.vc_column-inner[style*="background-color:rgb(255,255,255"],
.vc_column-inner[style*="background-color: #ffffff"],
.vc_column-inner[style*="background-color:#ffffff"] {
    background-color: transparent !important;
}

/* AGGRESSIVE TEXT COLOR OVERRIDES FOR LEGACY WPBK ELEMENTS */
.wpb_text_column *, 
.wpb_wrapper *, 
.vc_column-inner *,
.us_custom_text *,
p, span, div, li, td, th {
    color: var(--text-silk) !important;
}

/* Exceptions for headings and specific gold elements */
h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
.w-person-name, .custom-text-shadow h2,
a, .w-btn, .luxury-button, .w-grid-item-title {
    color: var(--gold-primary) !important;
}

/* Fix specific dark colors hardcoded in style attributes */
[style*="color:"] {
    color: var(--text-silk) !important;
}
[style*="color: #000"], [style*="color: #111"], [style*="color: #222"], [style*="color: #333"] {
    color: var(--text-silk) !important;
}

/* 11. QUIET LUXURY & EDITORIAL PORTFOLIO STYLING (MAY 2026 TRENDS) */

/* Modern thin lines framing elements like high-end art galleries */
.vc_row, .vc_row_inner {
    border-bottom: 1px solid rgba(197, 160, 89, 0.08) !important;
}

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

/* Luxury Editorial Headings (Cormorant Garamond) */
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.5rem !important;
    line-height: 1.25 !important;
}

h3 {
    font-size: 1.9rem !important;
}

/* Elegant subtitle typography (Outfit) */
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;
}

/* High-End Portrait Plaque Cards (Prestations) */
.w-person.layout_cards {
    background-color: var(--bg-carbon) !important;
    border: 1px solid rgba(197, 160, 89, 0.1) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

.w-person.layout_cards:hover {
    transform: translateY(-8px) !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.18) !important;
}

.w-person.layout_cards img {
    border-radius: 4px !important;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

.w-person-name {
    margin-top: 1.2rem !important;
    font-size: 1.15rem !important;
    text-align: center !important;
    font-weight: 400 !important;
}

/* Refined post masonry grid for news */
.w-grid-item {
    background-color: var(--bg-carbon) !important;
    border: 1px solid rgba(197, 160, 89, 0.08) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.w-grid-item:hover {
    border-color: rgba(197, 160, 89, 0.3) !important;
    transform: translateY(-4px) !important;
}

.w-grid-item-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: var(--gold-primary) !important;
}

/* 12. LUXURY EDITORIAL CALL TO ACTION BUTTON */
.luxury-button {
    background-color: transparent !important;
    border: 1px solid var(--gold-primary) !important;
    color: var(--gold-primary) !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    padding: 1rem 2.5rem !important;
    text-decoration: none !important;
    border-radius: 0 !important; /* Sharp prestige edges */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-block !important;
}

.luxury-button:hover {
    background-color: var(--gold-primary) !important;
    color: #0a0a0a !important;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* 13. EDITORIAL PRICING & FAQ LAYOUTS */
.pricing-card-luxury {
    background-color: var(--bg-carbon) !important;
    border: 1px solid rgba(197, 160, 89, 0.15) !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.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;
}

.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: '✦';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.8rem;
    top: 2px;
}

/* WPBakery Accordion Custom Styling for Dark FAQ */
.vc_tta-container, .vc_tta-panels-container {
    background: transparent !important;
    border: none !important;
}

.vc_tta-panel {
    background-color: var(--bg-carbon) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    margin-bottom: 10px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.vc_tta-panel-heading {
    background-color: transparent !important;
    padding: 0 !important;
}

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

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

.vc_tta-panel-body {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
    padding: 20px 24px !important;
    color: var(--text-silk) !important;
}

/* 14. BIOGRAPHY & EDITORIAL ELEMENTS */
.dropcap-luxury {
    float: left;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 4.8rem !important;
    line-height: 0.8 !important;
    padding-top: 4px;
    padding-right: 12px;
    padding-left: 3px;
    color: var(--gold-primary) !important;
    font-weight: 300 !important;
}

.bilingual-box {
    background-color: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(197, 160, 89, 0.1) !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    margin-top: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
}

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