/*
Theme Name: JobImmigration
Theme URI: https://jobimmigration.com
Description: Theme sur mesure pour jobimmigration.com - emploi, visa et immigration. Style premium bleu nuit et or.
Author: JobImmigration
Version: 1.0.0
License: Proprietary
Text Domain: jobimm
*/

/* ===== Base ===== */
:root {
    --j2-navy: #0C1D3A;
    --j2-navy-2: #13294F;
    --j2-gold: #E0A92E;
    --j2-gold-dark: #B98A1E;
    --j2-cream: #F6F4EF;
    --j2-slate: #233047;
    --j2-muted: #5E6B84;
    --j2-line: rgba(35,48,71,0.12);
}
html { margin: 0 !important; }
body {
    margin: 0;
    background: var(--j2-cream);
    color: var(--j2-slate);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--j2-navy); }
.j2-ic { width: 18px; height: 18px; flex: none; }
.j2-ic-gold { color: var(--j2-gold); }
.j2-ic-muted { color: var(--j2-muted); width: 15px; height: 15px; }

/* ===== Buttons ===== */
.j2-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 10px; padding: 12px 18px; font-weight: 700; font-size: 14px; font-family: inherit; text-decoration: none; }
.j2-btn-small { padding: 8px 14px; font-size: 13px; }
.j2-btn-gold { background: var(--j2-gold); color: var(--j2-navy); }
.j2-btn-gold:hover { background: var(--j2-gold-dark); color: var(--j2-navy); }
.j2-btn-navy { background: var(--j2-navy); color: #fff; }
.j2-btn-navy:hover { background: var(--j2-navy-2); color: #fff; }
.j2-btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.j2-btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.2); }

/* ===== Hero + nav ===== */
.j2-hero { position: relative; color: #fff; }
.j2-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.j2-hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(12,29,58,0.97) 20%, rgba(12,29,58,0.82) 55%, rgba(12,29,58,0.35) 100%), linear-gradient(to top, var(--j2-navy) 0%, rgba(12,29,58,0) 22%); }
.j2-nav { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; z-index: 5; }
.j2-logo { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.02em; text-decoration: none; }
.j2-logo span { color: var(--j2-gold); }
.j2-nav-links { display: none; gap: 18px; font-size: 14px; margin-left: 10px; }
.j2-nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; }
.j2-nav-links a:hover { color: var(--j2-gold); }
.j2-nav-actions { margin-left: auto; display: flex; gap: 8px; }
.j2-burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; color: #fff; cursor: pointer; }
.j2-mobile-menu { display: none; position: relative; z-index: 6; background: var(--j2-navy-2); padding: 8px 20px 14px; }
.j2-mobile-menu.is-open { display: block; }
.j2-mobile-menu a { display: block; color: rgba(255,255,255,0.9); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; }
.j2-mobile-menu a:last-child { border-bottom: 0; }
.j2-hero-body { position: relative; padding: 26px 20px 58px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.j2-kicker { color: var(--j2-gold); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
.j2-hero-title { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.j2-gold-underline { color: var(--j2-gold); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.j2-hero-sub { margin: 14px 0 0; color: rgba(255,255,255,0.85); font-size: 15px; max-width: 480px; }

/* Inner pages navy band */
.j2-pageband { background: var(--j2-navy); color: #fff; padding: 0 20px 26px; }
.j2-pageband-title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.j2-pageband-sub { color: rgba(255,255,255,0.75); font-size: 14px; margin: 8px 0 0; max-width: 560px; }

/* ===== Dark zone ===== */
.j2-dark { background: var(--j2-navy); color: #fff; padding-bottom: 16px; }
.j2-dark .j2-badges { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.14); }
.j2-dark .j2-badge-title { color: #fff; }
.j2-dark .j2-badge-sub { color: rgba(255,255,255,0.65); }
.j2-dark .j2-section-title { color: #fff; }
.j2-dark .j2-section-link { color: var(--j2-gold); }
.j2-dark .j2-sector, .j2-dark .j2-dest { border-color: transparent; box-shadow: 0 8px 20px rgba(0,0,0,0.28); }
.j2-dark .j2-sector:hover, .j2-dark .j2-dest:hover { border-color: var(--j2-gold); }

/* ===== Search ===== */
.j2-searchbar { padding: 18px 20px 4px; }
.j2-search { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 12px 32px rgba(12,29,58,0.25); }
.j2-search-field { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--j2-line); border-radius: 10px; }
.j2-search-field input, .j2-search-field select { flex: 1; min-width: 0; border: 0; outline: none; padding: 12px 0; font-size: 14px; font-family: inherit; color: var(--j2-slate); background: transparent; }
.j2-search-btn { justify-content: center; padding: 12px 16px; font-size: 13px; gap: 5px; white-space: nowrap; }
.j2-pop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.75); }
.j2-chip { display: inline-block; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; border: 0; text-decoration: none; }
.j2-chip-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.j2-chip-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* ===== Trust badges ===== */
.j2-badges { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px; background: #fff; border-bottom: 1px solid var(--j2-line); }
.j2-badge { display: flex; align-items: center; gap: 10px; }
.j2-badge-title { font-weight: 700; font-size: 14px; }
.j2-badge-sub { font-size: 12px; color: var(--j2-muted); }

/* ===== Sections ===== */
.j2-section { padding: 22px 20px 6px; }
.j2-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.j2-section-title { position: relative; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; padding-left: 12px; }
.j2-section-title::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--j2-gold); }
.j2-section-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--j2-gold-dark); white-space: nowrap; text-decoration: none; }

/* ===== Destinations ===== */
.j2-dests { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.j2-dest { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #fff; border: 1px solid var(--j2-line); border-radius: 12px; padding: 10px 6px; text-align: center; cursor: pointer; text-decoration: none; }
.j2-dest:hover { border-color: var(--j2-gold); }
.j2-flag { display: inline-block; width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 3px rgba(12,29,58,0.25); border: 1px solid rgba(12,29,58,0.12); }
.j2-dest-name { font-weight: 700; font-size: 12.5px; margin-top: 3px; color: var(--j2-slate); }
.j2-dest-detail { font-size: 11px; color: var(--j2-muted); line-height: 1.25; }

/* ===== Sectors ===== */
.j2-sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
a.j2-sector { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #fff; border: 1px solid var(--j2-line); border-radius: 12px; padding: 9px 6px; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--j2-slate); cursor: pointer; text-align: center; text-decoration: none; }
a.j2-sector:hover { border-color: var(--j2-gold); }
.j2-sector .j2-ic { width: 16px; height: 16px; stroke-width: 2.3; }

/* ===== Jobs ===== */
.j2-jobs { display: grid; grid-template-columns: 1fr; gap: 10px; }
a.j2-job { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--j2-line); border-radius: 14px; padding: 14px; text-decoration: none; color: var(--j2-slate); }
a.j2-job:hover { border-color: var(--j2-gold); }
.j2-job-icon { width: 42px; height: 42px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(12,29,58,0.06); }
.j2-job-icon .j2-ic { width: 22px; height: 22px; }
.j2-job-main { flex: 1; min-width: 0; }
.j2-job-title { font-weight: 800; font-size: 15px; }
.j2-new { display: inline-block; background: var(--j2-gold); color: var(--j2-navy); font-size: 10px; font-weight: 800; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.j2-job-company { font-size: 13px; color: var(--j2-muted); margin-top: 2px; }
.j2-job-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--j2-muted); margin-top: 6px; }
.j2-job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.j2-job-go { flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--j2-line); display: flex; align-items: center; justify-content: center; color: var(--j2-slate); }
.j2-job-go .j2-ic { width: 14px; height: 14px; }
.j2-empty { background: #fff; border: 1px dashed var(--j2-line); border-radius: 14px; padding: 22px; text-align: center; color: var(--j2-muted); font-size: 14px; }

/* Single job */
.j2-jobpage { max-width: 780px; margin: 0 auto; padding: 26px 20px 40px; }
.j2-jobpage .job_title { font-size: 26px; font-weight: 800; }
.j2-jobcard { background: #fff; border: 1px solid var(--j2-line); border-radius: 16px; padding: 20px; margin-top: 16px; }
.j2-jobcard h2 { font-size: 18px; margin: 22px 0 8px; }
.j2-jobfacts { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--j2-muted); margin: 10px 0 0; }
.j2-jobfacts span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== Golden ===== */
.j2-golden { display: flex; flex-direction: column; gap: 16px; margin: 6px 20px 26px; padding: 22px 20px; border-radius: 16px; background: linear-gradient(120deg, #F7D774 0%, var(--j2-gold) 45%, #C98A12 100%); box-shadow: 0 14px 34px rgba(201,138,18,0.35); }
.j2-golden-main { min-width: 0; }
.j2-golden-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--j2-navy); color: var(--j2-gold); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; padding: 7px 12px; border-radius: 999px; }
.j2-golden-badge .j2-ic { width: 15px; height: 15px; }
.j2-golden-title { color: var(--j2-navy); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin-top: 12px; }
.j2-golden-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.j2-golden-list li { display: flex; align-items: center; gap: 8px; color: var(--j2-navy); font-size: 13.5px; font-weight: 600; }
.j2-golden-list .j2-ic { width: 15px; height: 15px; flex: none; stroke-width: 2.4; }
.j2-golden-cta { align-self: flex-start; }
.j2-golden-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.j2-golden-price { color: var(--j2-navy); font-size: 30px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
.j2-golden-price span { font-size: 15px; font-weight: 700; }
.j2-golden-price-note { color: var(--j2-navy); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }

/* Golden page */
.j2-gpage { max-width: 760px; margin: 0 auto; padding: 26px 20px 40px; }
.j2-gcard { background: #fff; border: 1px solid var(--j2-line); border-radius: 16px; padding: 22px; margin-top: 16px; }
.j2-gcard h2 { font-size: 18px; margin: 0 0 10px; }
.j2-step { display: flex; gap: 12px; margin-top: 14px; }
.j2-step-n { flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--j2-navy); color: var(--j2-gold); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.j2-step p { margin: 4px 0 0; font-size: 14px; color: var(--j2-slate); }
.j2-rib { background: var(--j2-cream); border: 1px dashed var(--j2-line); border-radius: 12px; padding: 14px; font-family: ui-monospace, monospace; font-size: 14px; margin-top: 10px; word-break: break-all; }

/* ===== CTA cards ===== */
.j2-ctas { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 22px 20px 22px; }
.j2-cta { display: flex; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--j2-line); border-radius: 16px; overflow: hidden; }
.j2-cta-text { flex: 1; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.j2-cta-title { font-size: 18px; font-weight: 800; }
.j2-cta-sub { font-size: 13px; color: var(--j2-muted); margin: 0 0 6px; }
.j2-cta-img { width: 38%; object-fit: cover; display: none; }

/* ===== Footer ===== */
.j2-footer { background: var(--j2-navy); color: #fff; padding: 26px 20px 18px; margin-top: 26px; }
.j2-footer-top { display: flex; flex-direction: column; gap: 18px; }
.j2-footer-note { font-size: 13px; color: rgba(255,255,255,0.7); margin: 8px 0 0; max-width: 260px; }
.j2-footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; font-size: 13px; }
.j2-footer-h { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--j2-gold); margin-bottom: 8px; }
.j2-footer-cols a { display: block; color: rgba(255,255,255,0.8); margin-bottom: 6px; text-decoration: none; }
.j2-footer-cols a:hover { color: var(--j2-gold); }
.j2-footer-bar { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 18px; padding-top: 14px; font-size: 12px; color: rgba(255,255,255,0.5); }
.j2-footer-bar a { color: rgba(255,255,255,0.65); }

/* ===== Generic content pages ===== */
.j2-content { max-width: 780px; margin: 0 auto; padding: 26px 20px 30px; }
.j2-content h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.j2-content h2 { font-size: 20px; font-weight: 800; margin: 26px 0 8px; }
.j2-content h3 { font-size: 16px; margin: 20px 0 6px; }
.j2-content p, .j2-content li { font-size: 15px; }
.j2-content a { color: var(--j2-navy); font-weight: 600; }

/* WP Job Manager skin */
.job_listings { background: transparent; }
ul.job_listings li.job_listing { background: #fff; border: 1px solid var(--j2-line); border-radius: 14px; margin-bottom: 10px; }
ul.job_listings li.job_listing a { color: var(--j2-slate); }
ul.job_listings li.job_listing .position h3 { font-weight: 800; font-size: 15px; }
ul.job_listings li.job_listing .location, ul.job_listings li.job_listing .company { color: var(--j2-muted); }
.job_filters { background: #fff; border-radius: 14px; border: 1px solid var(--j2-line); }
.job_filters .search_jobs { padding: 12px; }
.job_filters .search_jobs input, .job_filters .search_jobs select { border: 1px solid var(--j2-line); border-radius: 10px; padding: 10px; font-family: inherit; }
.job_types { list-style: none; }
.job-manager-form { background: #fff; border: 1px solid var(--j2-line); border-radius: 16px; padding: 18px; }
.job-manager-form fieldset { border: 0; padding: 0 0 14px; margin: 0; }
.job-manager-form label { font-weight: 700; font-size: 13px; }
.job-manager-form input[type=text], .job-manager-form input[type=email], .job-manager-form textarea, .job-manager-form select { width: 100%; border: 1px solid var(--j2-line); border-radius: 10px; padding: 10px; font-family: inherit; font-size: 14px; margin-top: 5px; box-sizing: border-box; }
.job-manager-form input[type=submit], .job_manager_form input[type=submit], .job-manager-form .button { background: var(--j2-gold); color: var(--j2-navy); border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 700; cursor: pointer; }
.job-type-cdi, .job-type-fonction-publique, .job-type-volontariat { color: var(--j2-navy); }

/* Fluent Forms skin */
.fluentform .ff-el-form-control { border: 1px solid var(--j2-line) !important; border-radius: 10px !important; padding: 10px !important; font-family: inherit !important; }
.fluentform .ff-btn-submit { background: var(--j2-gold) !important; color: var(--j2-navy) !important; border: 0 !important; border-radius: 10px !important; font-weight: 700 !important; }

/* ===== Desktop ===== */
@media (min-width: 768px) {
    .j2-nav-links { display: flex; }
    .j2-burger { display: none; }
    .j2-hero-body { padding: 40px 32px 84px; min-height: 360px; }
    .j2-searchbar { padding: 26px 32px 6px; }
    .j2-hero-title { font-size: 44px; }
    .j2-pageband { padding: 0 32px 34px; }
    .j2-pageband-title { font-size: 34px; }
    .j2-search { flex-direction: row; align-items: stretch; padding: 10px; }
    .j2-search-field { flex: 1; }
    .j2-search-btn { flex: none; }
    .j2-badges { grid-template-columns: repeat(4, 1fr); padding: 22px 32px; }
    .j2-dark .j2-badge + .j2-badge { border-left: 1px solid rgba(255,255,255,0.14); padding-left: 22px; }
    .j2-section { padding: 30px 32px 10px; }
    .j2-section-title { font-size: 24px; }
    .j2-dests { grid-template-columns: repeat(6, 1fr); }
    .j2-sectors { grid-template-columns: repeat(8, 1fr); }
    .j2-jobs { grid-template-columns: repeat(2, 1fr); }
    .j2-ctas { grid-template-columns: repeat(2, 1fr); padding: 30px 32px 30px; }
    .j2-cta-img { display: block; }
    .j2-footer { padding: 34px 32px 20px; }
    .j2-footer-top { flex-direction: row; justify-content: space-between; }
    .j2-footer-cols { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
    .j2-golden { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; margin: 10px 32px 30px; padding: 26px 28px; }
    .j2-golden-title { font-size: 24px; }
    .j2-golden-cta { flex: none; }
    .j2-golden-side { flex: none; align-items: flex-end; text-align: right; }
    .j2-nav { padding: 18px 32px; }
    .j2-mobile-menu { display: none !important; }
}
