/* User specific overrides v4 */

/* 1. HERO SECTION LAYOUT & SPACING */
body .hero-section {
    position: relative !important;
    z-index: 10 !important;
    margin-bottom: 0 !important; /* Reset margin, use padding/gap instead */
    padding-bottom: 8rem !important; /* Internal spacing */
    background-color: #000; /* Ensure no transparency leak */
}

/* 2. HERO TITLE TYPOGRAPHY (Matches nos-promesses) */
/* 2. HERO TITLE TYPOGRAPHY (Matches nos-promesses) */
.hero-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    margin-bottom: 1rem !important;
    line-height: 1.1 !important;
    
    /* Gradient Text Effect */
    background: linear-gradient(135deg, #ffffff 0%, #00ccff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    
    /* Text Glow */
    text-shadow: 0 10px 30px rgba(0, 204, 255, 0.3) !important;
}

/* 2b. HERO DESCRIPTION (Matches inner-hero-subtitle) */
.hero-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 800px !important;
    margin: 0 auto 3rem !important;
    line-height: 1.6 !important;
}

/* 3. NEXT SECTION (ABOUT) LAYOUT - Fixes Overlap */
.intelligent-recruitment {
    position: relative !important;
    z-index: 20 !important; /* Sit on top of hero if needed, or distinct */
    /* Remove manual spacing hacks if native class handles it, but keep z-index assurance */
    background-color: #000 !important;
}

/* 4. SECTION FONTS */
/* 4. SECTION FONTS */
.intelligent-recruitment h2, .intelligent-recruitment p {
    font-family: 'Inter', sans-serif !important;
}

/* Enhanced Title for Intelligent Recruitment */
.intelligent-recruitment h2 {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    background: linear-gradient(90deg, #00ccff, #ffffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-feature-settings: "ss01", "ss02" !important;
    text-shadow: 0 5px 15px rgba(0, 204, 255, 0.3) !important;
    margin-bottom: 0 !important; /* No bottom margin */
    padding-bottom: 0.5rem !important;
    margin-top: 6rem !important; /* Lowered VERY significantly */
    line-height: 1.2 !important;
    position: relative !important;
    top: 0px !important;
}

/* Ensure tightness between title and text */
.about-grid, .about-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.about-content p:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Blur video behind hero text */
.hero-content {
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    background-color: rgba(0, 0, 0, 0.2) !important; /* Slight dark tint for contrast */
    padding: 3rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 5. GLOBAL FALLBACK */
body {
    font-family: 'Inter', sans-serif !important;
}
