/* =========================================
   STYLE JOBS - VERSION PREMIUM (MATCH SERVICES)
   ========================================= */

/* --- 0. CONFIGURATION GLOBALE (Idem Services) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --it-orange: #f36f2b;
    --it-blue: #007cc2;
    --it-dark: #002b45;
    --it-black: #111111;
    --it-grey-light: #f8f9fa;
    --text-color: #4a4a4a;
}

body {
    background-color: #fff;
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

/* Utils */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   1. HERO BANNER (Style Image: Texte sur fond bleu)
   ========================================= */
.jobs-hero {
    /* Image de fond : Business / Équipe */
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center top; 
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Overlay sombre léger pour faire ressortir le bloc */
.jobs-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 43, 69, 0.3);
}

/* Boite Bleue Flottante (Premium Style) */
.hero-box-blue {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 124, 194, 0.95); /* Bleu ITBELSYS profond */
    padding: 50px;
    max-width: 650px;
    color: white;
    border-radius: 20px; /* Arrondi comme Services */
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); /* Ombre portée luxe */
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.hero-box-blue h1 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-box-blue p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 35px;
    line-height: 1.6;
    color: #eef8ff;
}

.btn-white-pill {
    background-color: white;
    color: var(--it-blue);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-white-pill:hover {
    background-color: var(--it-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}


/* =========================================
   2. INTRO & BANDEAU BLEU
   ========================================= */
.jobs-intro-section {
    padding: 100px 0 60px 0;
    text-align: center;
    background-color: #fff;
}

.center-text-block {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.orange-upper-title {
    color: var(--it-orange);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}
/* Petite ligne déco */
.orange-upper-title::after {
    content: ''; display: block; width: 50px; height: 3px; background: var(--it-orange); margin: 15px auto 0 auto;
}

.blue-headline {
    color: var(--it-dark); /* Bleu très foncé pour le contraste */
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
}

/* Le fameux bandeau bleu arrondi (Signature Style) */
.blue-rounded-bar {
    background: linear-gradient(90deg, var(--it-blue) 0%, #005a9e 100%);
    color: white;
    padding: 30px 50px;
    border-radius: 50px; /* Bords très ronds (Pill) */
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 124, 194, 0.25);
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 600;
}


/* =========================================
   3. SECTION SPLIT (Texte + Image)
   ========================================= */
.jobs-split-section {
    padding: 80px 0;
    background-color: #fff;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px; /* Espace aéré */
}

.col-text { flex: 1; }
.col-image { flex: 1; perspective: 1000px; }

.orange-title-left {
    color: var(--it-orange);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.2;
}

.col-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    font-size: 1.05rem;
}

/* Image avec effet 3D léger comme sur Services */
.rounded-shadow-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: rotateY(5deg);
    transition: transform 0.5s ease;
}
.col-image:hover .rounded-shadow-img {
    transform: rotateY(0deg);
}


/* =========================================
   4. GRILLE DES OFFRES (Style Cartes Premium)
   ========================================= */
.jobs-grid-section {
    padding: 80px 0 120px 0;
    background-color: var(--it-grey-light); /* Fond gris doux pour faire ressortir les cartes */
}

.jobs-grid {
    display: grid;
    /* 2 colonnes larges */
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
}

/* Style de la Carte Job */
.job-card {
    background: white;
    padding: 40px;
    border-radius: 20px; /* Coins arrondis modernes */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Ombre subtile */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

/* Effet Hover (La carte monte) */
.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* Petite barre orange déco sur le côté */
.job-card::before {
    content: '';
    position: absolute;
    left: 0; top: 20px; bottom: 20px;
    width: 4px;
    background-color: var(--it-orange);
    border-radius: 0 5px 5px 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.job-card:hover::before { opacity: 1; }

.job-category {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--it-blue);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.job-title {
    font-size: 1.4rem;
    color: var(--it-dark);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.job-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Pousse le bouton vers le bas */
}

/* Bouton dans la carte */
.card-bottom { width: 100%; margin-top: auto; }

.btn-job-blue {
    display: block;
    background-color: var(--it-blue);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 124, 194, 0.2);
}

.btn-job-blue:hover {
    background-color: var(--it-dark);
    transform: translateY(-2px);
}

/* Bouton Spontané (Bas de page) */
.center-btn-wrapper { text-align: center; margin-top: 60px; }

.btn-orange-outline {
    background: linear-gradient(90deg, var(--it-orange) 0%, #ff5e00 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(243, 111, 43, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-orange-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(243, 111, 43, 0.5);
}


/* =========================================
   RESPONSIVE MOBILE
   ========================================= */
@media (max-width: 900px) {
    /* Hero */
    .jobs-hero { align-items: center; justify-content: center; text-align: center; padding: 100px 0 60px 0; }
    .hero-box-blue { margin: 0 20px; width: 100%; padding: 30px; }
    .hero-box-blue h1 { font-size: 1.6rem; }
    
    /* Intro */
    .blue-rounded-bar { border-radius: 20px; padding: 30px; margin: 0 20px; font-size: 1rem; }
    
    /* Split */
    .split-layout { flex-direction: column; gap: 40px; }
    .col-image { order: -1; width: 100%; } /* Image au dessus */
    .col-text { text-align: center; }
    .col-text p { text-align: center; }
    
    /* Grid */
    .jobs-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
        gap: 30px;
    }
    
    .job-card { padding: 30px; }
}