/* --- CONFIGURATION GÉNÉRALE --- */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-blue: #3b82f6;
    --font-main: 'Poppins', sans-serif;
    --font-title: 'Poppins', sans-serif;
}

@font-face {
    font-family: 'Poppins', sans-serif;
    src: url('https://assets.team-réality.com/assets/fonts/neuropol/Neuropol X Rg.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    color: var(--secondary-color);
    font-family: var(--font-main);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- STRUCTURE DES SECTIONS 100VH --- */
.jobs-wrapper {
    width: 100%;
}

.lv-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Plein écran strict */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* VIDÉO EN ARRIÈRE-PLAN */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.45); /* Assombrit pour la lisibilité du texte */
}

/* --- SECTION 1 : HERO & RECHERCHE --- */
.lv-overlay-center {
    position: relative;
    z-index: 10;
    margin: auto; /* Centre parfaitement au milieu de la section */
    text-align: center;
    width: 100%;
    max-width: 850px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    text-transform: uppercase;
    line-height: 0.85;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

/* BARRE DE RECHERCHE LUXE */
.lv-search-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 30px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    transform: scale(1.02);
}

.search-box i {
    font-size: 1.1rem;
    margin-right: 15px;
    opacity: 0.6;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SECTIONS PÔLES : CONTENU EN BAS --- */
.lv-content-bottom {
    position: relative;
    z-index: 10;
    margin-top: auto; /* Pousse le contenu en bas de la section */
    padding: 80px 8%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.label-dept {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.pole-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
}

.pole-desc {
    max-width: 550px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.job-count {
    display: block;
    margin-top: 10px;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 1px;
}

/* BOUTON SYNC */
.lv-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 18px 40px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.lv-btn:hover {
    background: #fff;
    color: #000;
}

.lv-btn i {
    transition: transform 0.3s ease;
}

.lv-btn:hover i {
    transform: translateX(8px);
}

/* --- FOOTER --- */
footer {
    position: relative;
    background: #000;
    padding: 60px 0;
    z-index: 10;
}

.search-page {
    padding-top: 120px; /* Espace pour le header */
    min-height: 100vh;
    background-color: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-header {
    text-align: center;
    margin-bottom: 60px;
}

.search-title {
    font-family: 'Neuropol Custom', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.results-count {
    opacity: 0.5;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Grille de résultats */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding-bottom: 100px;
}

/* Carte Job Luxe */
.job-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.tag-pole {
    color: var(--accent-blue);
    text-transform: uppercase;
}

.job-date { opacity: 0.4; }

.job-title {
    font-family: 'Neuropol Custom', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.job-excerpt {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 900;
}

.view-more {
    color: var(--accent-blue);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Pas de résultats */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    opacity: 0.6;
}

.no-results i { font-size: 3rem; margin-bottom: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .lv-content-bottom {
        padding: 40px 5%;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .search-box {
        padding: 15px 20px;
    }
}