/* ===========================================
   PROJECTIVE CONSEIL - HOVER UTILITIES
   Reusable hover effects for consistency.
   =========================================== */

/* 1. TRANSITIONS (Base) */
.projective-transition {
    transition: all 0.3s ease !important;
}

.projective-transition-slow {
    transition: all 0.4s ease !important;
}

/* 2. ELEVATION LIFTS (Translate Y) */
/* Small - Standard buttons */
.projective-hover-lift-sm:hover {
    transform: translateY(-2px) !important;
}

/* Medium - Important CTA buttons */
.projective-hover-lift-md:hover {
    transform: translateY(-3px) !important;
}

/* Large - Standard cards */
.projective-hover-lift-lg:hover {
    transform: translateY(-5px) !important;
}

/* Extra Large - Strong card effect (Team, etc.) */
.projective-hover-lift-xl:hover {
    transform: translateY(-8px) !important;
}

/* 3. SHADOWS */
/* Buttons */
.projective-hover-shadow-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Light Cards */
.projective-hover-shadow-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Strong Cards */
.projective-hover-shadow-card-strong:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

/* 4. SPECIAL EFFECTS */
/* Subtle Scale */
.projective-hover-scale:hover {
    transform: scale(1.02) !important;
}

/* Border Accent Color */
.projective-hover-border-accent:hover {
    border-color: #E9C46A !important;
}

/* 5. TEXT HOVER EFFECTS */
/* Text Color Change - Accent */
.projective-hover-text-accent:hover {
    color: #E9C46A !important;
}

/* Text Color Change - Teal */
.projective-hover-text-teal:hover {
    color: #006D77 !important;
}

/* Text Underline Reveal */
.projective-text-underline {
    position: relative;
    display: inline-block;
}

.projective-text-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E9C46A;
    transition: width 0.3s ease;
}

.projective-text-underline:hover::after {
    width: 100%;
}

/* Text Glow Effect */
.projective-hover-text-glow:hover {
    text-shadow: 0 0 10px rgba(233, 196, 106, 0.5) !important;
}

/* Combined: Lift + Scale (for bigger text impact) */
.projective-hover-text-lift:hover {
    transform: translateY(-2px) scale(1.02) !important;
}

/* 5b. LIST BULLETS (SVG) */
ul.projective-bullets {
    list-style: none;
    padding-left: 1.4em;
    margin: 0;
}

ul.projective-bullets li {
    position: relative;
}

ul.projective-bullets li::before {
    content: "";
    position: absolute;
    left: -1.4em;
    top: 0.5em;
    width: 0.9em;
    height: 0.9em;
    background: url("/wp-content/uploads/2026/01/Arrow-Projective.svg") no-repeat center / contain;
}

/* ===========================================
   6. ICON SYSTEM (GLOBAL)
   Usage:
   - Wrapper: .projective-icon (or existing .projective-icon-wrapper / .projective-expertise-icon)
   - Shapes:
     .icon-base   -> stroke only, can fill on hover
     .icon-stroke -> stroke only, never fills
     .icon-accent / .icon-fill -> accented fill
   - Hover trigger:
     add .projective-icon--hover-accent to the icon wrapper
     and add .projective-icon-trigger to the hoverable parent (card/cell)
   =========================================== */

:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon) {
    --icon-stroke: #1a1a1a;
    --icon-accent: #E9C46A;
    --icon-stroke-width: 2px;
    color: var(--icon-stroke);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon) svg {
    width: 100%;
    height: 100%;
    display: block;
}

:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon) :is(.icon-base, .icon-stroke, .icon-frame, .icon-shape) {
    fill: none;
    stroke: var(--icon-stroke);
    stroke-width: var(--icon-stroke-width);
}

:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon) :is(.icon-accent, .icon-fill) {
    fill: var(--icon-accent);
    stroke: var(--icon-stroke);
    stroke-width: var(--icon-stroke-width);
}

/* Stronger specificity for real-world SVGs (beats presentation attrs) */
.projective-icon--hover-accent :is(.icon-base, .icon-stroke, .icon-frame, .icon-shape),
.projective-icon-wrapper--hover-accent :is(.icon-base, .icon-stroke, .icon-frame, .icon-shape) {
    fill: none;
    stroke: var(--icon-stroke);
    stroke-width: var(--icon-stroke-width);
}

.projective-icon--hover-accent :is(.icon-accent, .icon-fill),
.projective-icon-wrapper--hover-accent :is(.icon-accent, .icon-fill) {
    fill: var(--icon-accent);
    stroke: var(--icon-stroke);
    stroke-width: var(--icon-stroke-width);
}

:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent):hover :is(.icon-accent, .icon-fill),
.projective-icon--hover-accent:hover :is(.icon-accent, .icon-fill),
.projective-icon-wrapper--hover-accent:hover :is(.icon-accent, .icon-fill),
.projective-icon-trigger:hover :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-accent, .icon-fill),
.projective-card:hover :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-accent, .icon-fill),
.projective-icon-trigger.is-active :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-accent, .icon-fill),
.projective-card.is-active :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-accent, .icon-fill),
:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent).is-active :is(.icon-accent, .icon-fill) {
    fill: none;
}

:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent):hover :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
.projective-icon--hover-accent:hover :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
.projective-icon-wrapper--hover-accent:hover :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
.projective-icon-trigger:hover :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
.projective-card:hover :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
.projective-icon-trigger.is-active :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
.projective-card.is-active :where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent) :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)),
:where(.projective-icon, .projective-icon-wrapper, .projective-expertise-icon):is(.projective-icon--hover-accent, .projective-icon-wrapper--hover-accent).is-active :is(.icon-base, .icon-frame, .icon-shape:not(.icon-accent)) {
    fill: var(--icon-accent);
}

/* Force hover fill for wrapper-based icons */
.projective-icon-wrapper--hover-accent:hover .icon-base,
.projective-icon-trigger:hover .projective-icon-wrapper--hover-accent .icon-base,
.projective-card:hover .projective-icon-wrapper--hover-accent .icon-base,
.projective-icon-wrapper--hover-accent.is-active .icon-base,
.projective-icon-trigger.is-active .projective-icon-wrapper--hover-accent .icon-base,
.projective-card.is-active .projective-icon-wrapper--hover-accent .icon-base {
    fill: var(--icon-accent) !important;
}

/* Ensure accent empties on hover for wrapper-based icons */
.projective-icon-wrapper--hover-accent:hover .icon-accent,
.projective-icon-trigger:hover .projective-icon-wrapper--hover-accent .icon-accent,
.projective-card:hover .projective-icon-wrapper--hover-accent .icon-accent,
.projective-icon-wrapper--hover-accent.is-active .icon-accent,
.projective-icon-trigger.is-active .projective-icon-wrapper--hover-accent .icon-accent,
.projective-card.is-active .projective-icon-wrapper--hover-accent .icon-accent {
    fill: none !important;
}

/* Background-aware inverse fill (use on the icon wrapper) */
.projective-icon-bg-teal {
    --icon-bg: #0A9396;
}

.projective-icon-bg-light {
    --icon-bg: #F0F0F0;
}

.projective-icon-wrapper--hover-accent:hover .icon-accent,
.projective-icon-trigger:hover .projective-icon-wrapper--hover-accent .icon-accent,
.projective-card:hover .projective-icon-wrapper--hover-accent .icon-accent,
.projective-icon-wrapper--hover-accent.is-active .icon-accent,
.projective-icon-trigger.is-active .projective-icon-wrapper--hover-accent .icon-accent,
.projective-card.is-active .projective-icon-wrapper--hover-accent .icon-accent {
    fill: #FFFFFF !important;
}

/* ===========================================
   7. CARD & ICON COMPONENTS
   Usage: .projective-card on parent, children get hover effects
   =========================================== */

/* Icon Wrapper - Base */
.projective-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.projective-icon-wrapper svg {
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
}

.projective-icon-wrapper .icon-fill {
    transition: fill 0.3s ease;
}

/* Wrapper background hover (gold) */
.projective-icon-wrapper.projective-icon-wrapper--hover-gold:hover,
.projective-icon-trigger:hover .projective-icon-wrapper.projective-icon-wrapper--hover-gold,
.projective-card:hover .projective-icon-wrapper.projective-icon-wrapper--hover-gold,
.projective-icon-wrapper.projective-icon-wrapper--hover-gold.is-active {
    background: #E9C46A !important;
}

/* Number Badge - Base */
.projective-number-badge {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0F0F0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.projective-number-badge p {
    margin: 0 !important;
    transition: color 0.3s ease;
}

/* Card Hover Effects - Triggered by .projective-card */
.projective-card:hover .projective-icon-wrapper {
    background: #006D77 !important;
}

.projective-card:hover .projective-number-badge {
    background: #006D77 !important;
}

.projective-card:hover .projective-number-badge p {
    color: #FFFFFF !important;
}

/* ===========================================
   7. LEVIER CARD COMPONENTS
   =========================================== */

/* Levier Letter - Filigrane (P, J, I) */
.projective-levier-letter {
    position: absolute !important;
    top: 15px;
    right: 20px;
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: #006D77;
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Quote Mark - Decorative (top-left) */
.projective-quote {
    position: absolute !important;
    top: 10px !important;
    left: 15px !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 6rem !important;
    color: #006D77 !important;
    opacity: 0.1 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* ===========================================
   8. ICON WRAPPER VARIANTS
   =========================================== */


/* Accent variant - For dark/teal backgrounds */
.projective-icon-wrapper--accent {
    background: transparent !important;
    border: 2px solid var(--icon-accent);
    color: var(--icon-accent) !important;
}

/* Accent variant hover */
.projective-card:hover .projective-icon-wrapper--accent {
    background: var(--icon-accent) !important;
    border-color: var(--icon-accent);
}

.projective-card:hover .projective-icon-wrapper--accent,
.projective-icon-trigger:hover .projective-icon-wrapper--accent,
.projective-icon-wrapper--accent.is-active {
    color: var(--icon-stroke) !important;
}

/* Size variant - Small (50x50) */
.projective-icon-wrapper--sm {
    width: 50px;
    height: 50px;
}

.projective-icon-wrapper--sm svg {
    width: 28px;
    height: 28px;
}

/* ===========================================
   9. SIZE UTILITIES
   For Elementor elements that need fit-content
   =========================================== */

/* Width fit-content */
.projective-fit {
    width: fit-content !important;
    max-width: fit-content !important;
}

/* Width fit-content with centered alignment */
.projective-fit-center {
    width: fit-content !important;
    max-width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Width fit-content aligned left */
.projective-fit-left {
    width: fit-content !important;
    max-width: fit-content !important;
    margin-right: auto !important;
}

/* Width fit-content aligned right */
.projective-fit-right {
    width: fit-content !important;
    max-width: fit-content !important;
    margin-left: auto !important;
}

/* --- SECTION METHODE : LETTRES PROJECTIVE --- */
.projective-letters {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.projective-letters span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #006D77;
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    user-select: none;
}

@media (min-width: 1025px) {
    .projective-letters span:hover {
        color: #E9C46A;
        transform: translateY(-2px);
        box-shadow: 0 3px 0 #E9C46A;
    }
}

/* ===========================================
   10. OVERLAYS
   Reusable overlay effects for sections/containers
   =========================================== */

/* Blue dark overlay - Grayscale + gradient effect */
.projective-overlay-blue {
    position: relative;
    z-index: 0;
}

.projective-overlay-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: grayscale(40%) brightness(0.85);
    z-index: -2;
    pointer-events: none;
}

.projective-overlay-blue::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 40, 60, 0.75) 0%, rgba(30, 50, 70, 0.65) 50%, rgba(15, 35, 55, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* ===========================================
   11. OVERFLOW UTILITIES
   Usage: Add to Elementor section/container CSS Classes
   =========================================== */

/* Hide horizontal overflow */
.projective-overflow-x-hidden {
    overflow-x: hidden !important;
}

/* Hide vertical overflow */
.projective-overflow-y-hidden {
    overflow-y: hidden !important;
}

/* Hide both overflows */
.projective-overflow-hidden {
    overflow: hidden !important;
}

/* Clip overflow (stricter than hidden, no scrollbars ever) */
.projective-overflow-clip {
    overflow: clip !important;
}
