/* Service Emploi de Lattes v3.0 — Styles scopés sans dépendance CDN */
#lattes-emploi-wrapper,
.le-modal,
#le-cookie-banner {
    --le-navy: #0f2942;
    --le-navy-dark: #091524;
    --le-navy-mid: #243b53;
    --le-blue: #2563eb;
    --le-slate-900: #0f172a;
    --le-slate-800: #1e293b;
    --le-slate-700: #334155;
    --le-slate-600: #475569;
    --le-slate-500: #64748b;
    --le-slate-400: #94a3b8;
    --le-slate-200: #e2e8f0;
    --le-slate-100: #f1f5f9;
    --le-slate-50: #f8fafc;
    --le-white: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--le-slate-700);
    box-sizing: border-box;
}

#lattes-emploi-wrapper *,
#lattes-emploi-wrapper *::before,
#lattes-emploi-wrapper *::after,
.le-modal *,
.le-modal *::before,
.le-modal *::after,
#le-cookie-banner *,
#le-cookie-banner *::before,
#le-cookie-banner *::after {
    box-sizing: border-box;
}

#lattes-emploi-wrapper h1,
#lattes-emploi-wrapper h2,
#lattes-emploi-wrapper h3,
#lattes-emploi-wrapper h4,
#lattes-emploi-wrapper p,
.le-modal h3,
.le-modal p,
#le-cookie-banner p {
    margin: 0;
}

#lattes-emploi-wrapper a {
    text-decoration: none;
}

#lattes-emploi-wrapper :focus-visible,
.le-modal :focus-visible,
#le-cookie-banner :focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.le-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.le-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.le-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.le-icon-xs {
    width: 0.85em;
    height: 0.85em;
}

.le-icon-lg {
    width: 1.35em;
    height: 1.35em;
}

.le-icon-mr {
    margin-right: 8px;
}

.le-icon-ml {
    margin-left: 8px;
}

.le-hidden {
    display: none !important;
}

/* Main Wrapper */
#lattes-emploi-wrapper {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    background: var(--le-white);
    border-radius: 32px;
    border: 1px solid var(--le-slate-100);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    overflow: visible;
}

/* Header */
.le-portal-header {
    background: linear-gradient(135deg, #0f2942 0%, #243b53 55%, #1e3a8a 100%);
    color: var(--le-white);
    padding: 32px;
    border-radius: 32px 32px 0 0;
    position: relative;
    overflow: hidden;
    z-index: 30;
}

.le-portal-header::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -110px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.le-portal-header::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 180px;
    height: 180px;
    background: rgba(96, 165, 250, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.le-header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.le-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.le-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.le-brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.le-brand-divider {
    height: 28px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.le-brand-tagline {
    color: #dbeafe;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1.3;
}

.le-burger-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--le-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-size: 20px;
}

.le-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#lattes-emploi-wrapper .le-portal-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--le-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.le-portal-subtitle {
    color: #dbeafe;
    max-width: 640px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
}

.le-header-badge {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 28px;
    color: var(--le-white);
    flex-shrink: 0;
}

/* Mobile Menu */
.le-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--le-white);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.2);
    border-radius: 0 0 24px 24px;
    border: 1px solid var(--le-slate-200);
    border-top: none;
    z-index: 40;
    flex-direction: column;
    overflow: hidden;
}

.le-mobile-menu.is-open {
    display: flex;
}

.le-mobile-tab-btn {
    text-align: left;
    padding: 15px 22px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-bottom: 1px solid var(--le-slate-100);
    background: var(--le-white);
    color: var(--le-slate-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.le-mobile-tab-btn.active {
    background: #eff6ff;
    color: var(--le-blue);
}

/* Desktop Tabs Bar */
.le-tabs-bar {
    background: var(--le-white);
    border-bottom: 1px solid var(--le-slate-100);
    padding: 14px 16px;
}

.le-tabs-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.le-tabs-nav::-webkit-scrollbar {
    display: none;
}

.le-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    background: var(--le-slate-50);
    color: var(--le-slate-600);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.le-tab-btn:hover {
    background: var(--le-slate-100);
    color: var(--le-slate-900);
}

.le-tab-btn.active {
    background: var(--le-slate-900);
    color: var(--le-white);
    box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.35);
}

/* Body & Panels */
.le-portal-body {
    padding: 28px 32px;
    min-height: 480px;
    background: rgba(248, 250, 252, 0.6);
}

.le-tab-panel {
    display: none;
}

.le-tab-panel.active {
    display: block;
    animation: leFadeSlide 0.35s ease forwards;
}

@keyframes leFadeSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.le-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

#lattes-emploi-wrapper .le-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--le-slate-900);
}

.le-count-pill {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* Home Presentation Banner */
.le-pres-banner {
    width: 100%;
    text-align: left;
    background: linear-gradient(90deg, #1e3a8a 0%, #0f2942 100%);
    border-radius: 24px;
    padding: 28px 30px;
    margin-bottom: 28px;
    color: var(--le-white);
    box-shadow: 0 20px 35px -12px rgba(15, 41, 66, 0.25);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.le-pres-banner:hover {
    transform: translateY(-2px);
}

.le-pres-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.le-pres-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--le-white);
    flex-shrink: 0;
}

#lattes-emploi-wrapper .le-pres-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--le-white);
    margin-bottom: 6px;
}

.le-pres-excerpt {
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.5;
}

.le-pres-cta {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--le-white);
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background 0.18s, color 0.18s;
}

.le-pres-banner:hover .le-pres-cta {
    background: var(--le-white);
    color: var(--le-slate-900);
}

/* Home Cards Grid */
.le-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.le-nav-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--le-slate-200);
    background: var(--le-white);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.le-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.12);
}

.le-nav-card-icon {
    width: 48px;
    height: 48px;
    background: var(--le-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

#lattes-emploi-wrapper .le-nav-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--le-slate-900);
    margin-bottom: 8px;
}

.le-nav-card-desc {
    color: var(--le-slate-600);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Color Themes */
.le-theme-blue { background: #eff6ff; border-color: #bfdbfe; }
.le-theme-blue:hover { background: #dbeafe; }
.le-theme-blue .le-nav-card-icon, .le-text-blue { color: #2563eb; }

.le-theme-indigo { background: #eef2ff; border-color: #c7d2fe; }
.le-theme-indigo:hover { background: #e0e7ff; }
.le-theme-indigo .le-nav-card-icon, .le-text-indigo { color: #4f46e5; }

.le-theme-rose { background: #fff1f2; border-color: #fecdd3; }
.le-theme-rose:hover { background: #ffe4e6; }
.le-theme-rose .le-nav-card-icon, .le-text-rose { color: #e11d48; }

.le-theme-amber { background: #fffbeb; border-color: #fde68a; }
.le-theme-amber:hover { background: #fef3c7; }
.le-theme-amber .le-nav-card-icon, .le-text-amber { color: #d97706; }

.le-theme-emerald { background: #ecfdf5; border-color: #a7f3d0; }
.le-theme-emerald:hover { background: #d1fae5; }
.le-theme-emerald .le-nav-card-icon, .le-text-emerald { color: #059669; }

.le-theme-green { background: #f0fdf4; border-color: #bbf7d0; }
.le-theme-green:hover { background: #dcfce7; }
.le-theme-green .le-nav-card-icon, .le-text-green { color: #16a34a; }

.le-theme-purple { background: #faf5ff; border-color: #e9d5ff; }
.le-theme-purple:hover { background: #f3e8ff; }
.le-theme-purple .le-nav-card-icon, .le-text-purple { color: #9333ea; }

.le-theme-orange { background: #fff7ed; border-color: #fed7aa; }
.le-theme-orange:hover { background: #ffedd5; }
.le-theme-orange .le-nav-card-icon, .le-text-orange { color: #ea580c; }

.le-theme-slate { background: #ffffff; border-color: #e2e8f0; }
.le-theme-slate:hover { background: #f8fafc; }
.le-theme-slate .le-nav-card-icon, .le-text-slate { color: #475569; }

/* Newsletter Banner on Home */
.le-newsletter-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 24px;
    padding: 24px 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 14px -6px rgba(37, 99, 235, 0.16);
}

.le-nl-banner-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.le-nl-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--le-blue);
    color: var(--le-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

#lattes-emploi-wrapper .le-nl-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--le-slate-900);
    margin-bottom: 4px;
}

.le-nl-desc {
    color: var(--le-slate-600);
    font-size: 13px;
}

.le-btn-nl {
    background: var(--le-blue);
    color: var(--le-white);
    border: none;
    border-radius: 12px;
    padding: 13px 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 16px -6px rgba(37, 99, 235, 0.45);
    transition: background 0.18s, transform 0.18s;
}

.le-btn-nl:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Recruiter Banner */
.le-recruiter-banner-wrap {
    border-top: 1px solid var(--le-slate-200);
    padding-top: 28px;
}

.le-recruiter-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--le-slate-800);
    border-radius: 24px;
    padding: 28px 30px;
    color: var(--le-white);
    box-shadow: 0 20px 35px -12px rgba(15, 23, 42, 0.25);
    transition: background 0.2s, transform 0.2s;
}

.le-recruiter-banner:hover {
    background: var(--le-slate-900);
    transform: translateY(-2px);
}

.le-recruiter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

#lattes-emploi-wrapper .le-recruiter-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--le-white);
    margin-bottom: 6px;
}

.le-recruiter-desc {
    color: #cbd5e1;
    font-size: 14px;
}

.le-recruiter-cta {
    background: var(--le-white);
    color: var(--le-slate-900);
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Jobs Grid & Cards */
.le-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.le-job-card {
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    border-radius: 24px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.le-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -12px rgba(15, 41, 66, 0.14);
}

.le-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.le-bar-blue { background: #3b82f6; }
.le-bar-purple { background: #a855f7; }
.le-bar-green { background: #22c55e; }
.le-bar-amber { background: #f59e0b; }
.le-bar-rose { background: #f43f5e; }

.le-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 8px;
}

.le-pill-blue { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.le-pill-purple { background: #faf5ff; color: #9333ea; border: 1px solid #f3e8ff; }
.le-pill-green { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.le-pill-amber { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.le-pill-rose { background: #fff1f2; color: #e11d48; border: 1px solid #ffe4e6; }
.le-pill-mairie { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

#lattes-emploi-wrapper .le-job-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--le-slate-900);
    margin: 12px 0 6px;
    line-height: 1.3;
}

.le-job-company {
    font-size: 14px;
    color: var(--le-slate-500);
    font-weight: 600;
    margin-bottom: 14px;
}

.le-job-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--le-slate-100);
}

.le-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.le-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--le-slate-50);
    border: 1px solid var(--le-slate-200);
    color: var(--le-slate-700);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.le-btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--le-slate-100);
    color: var(--le-slate-700);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    transition: background 0.18s, color 0.18s;
}

.le-btn-detail:hover {
    background: var(--le-slate-900);
    color: var(--le-white);
}

/* Useful Links Tab */
.le-links-sections {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

#lattes-emploi-wrapper .le-links-cat-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--le-slate-800);
    border-bottom: 1px solid var(--le-slate-200);
    padding-bottom: 8px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.le-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.le-useful-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    border-radius: 16px;
    color: var(--le-slate-700);
    font-weight: 700;
    font-size: 13px;
    transition: border-color 0.18s, box-shadow 0.18s, color 0.18s;
}

.le-useful-link-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.22);
    color: var(--le-blue);
}

.le-useful-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

/* Events */
.le-events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.le-event-card {
    display: flex;
    flex-direction: row;
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.le-event-date-col {
    width: 155px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--le-white);
    flex-shrink: 0;
}

.le-dark-blue { background: #1e3a8a; }
.le-dark-purple { background: #581c87; }
.le-dark-green { background: #14532d; }
.le-dark-amber { background: #78350f; }
.le-dark-rose { background: #881337; }

.le-event-date-icon {
    font-size: 30px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.le-event-date-text {
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.3;
}

.le-event-body {
    flex: 1;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
}

#lattes-emploi-wrapper .le-event-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--le-slate-900);
    margin-bottom: 8px;
}

.le-event-excerpt {
    color: var(--le-slate-500);
    font-size: 13px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.le-event-img-desktop {
    width: 190px;
    flex-shrink: 0;
    background: var(--le-slate-100);
    border-left: 1px solid var(--le-slate-100);
}

.le-event-img-desktop img,
.le-event-img-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.le-event-img-mobile {
    display: none;
    height: 190px;
}

.le-btns-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.le-btn-ext {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--le-slate-100);
    color: var(--le-slate-700);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid var(--le-slate-200);
}

.le-btn-ext:hover {
    background: var(--le-slate-200);
    color: var(--le-slate-900);
}

/* Formations / Actus Timeline */
.le-timeline {
    position: relative;
    border-left: 2px solid var(--le-slate-200);
    margin-left: 16px;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.le-timeline-item {
    position: relative;
}

.le-timeline-dot {
    position: absolute;
    left: -38px;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 4px solid var(--le-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.le-dot-active { background: #3b82f6; }
.le-dot-muted { background: #cbd5e1; }

.le-actu-card {
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    border-radius: 24px;
    padding: 22px;
    display: flex;
    gap: 20px;
}

.le-actu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.le-actu-thumb {
    width: 180px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--le-slate-100);
}

.le-actu-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Conseils Grid */
.le-conseils-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.le-conseil-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--le-slate-200);
    transition: transform 0.2s, box-shadow 0.2s;
}

.le-conseil-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.12);
}

.le-conseil-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--le-white);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Contact Tab */
.le-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.le-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.le-contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    border-radius: 18px;
    color: var(--le-slate-900);
}

.le-contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--le-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.le-contact-box {
    background: linear-gradient(135deg, #0f2942 0%, #0f172a 100%);
    color: var(--le-white);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.le-contact-form-wrap {
    width: 100%;
    text-align: left;
}

.le-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.le-field {
    margin-bottom: 14px;
}

.le-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--le-slate-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.le-input {
    width: 100%;
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--le-slate-900);
}

.le-input:focus {
    border-color: var(--le-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.le-rgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
}

.le-rgpd-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.le-rgpd-label a {
    color: inherit;
    text-decoration: underline !important;
}

.le-btn-submit {
    width: 100%;
    background: var(--le-blue);
    color: var(--le-white);
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.18s;
}

.le-btn-submit:hover {
    background: #1d4ed8;
}

.le-btn-white {
    background: var(--le-white);
    color: var(--le-slate-900);
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

/* Detail View */
.le-detail-topbar {
    background: var(--le-slate-50);
    border-bottom: 1px solid var(--le-slate-200);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.le-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--le-slate-600);
    font-weight: 700;
    font-size: 14px;
}

.le-back-link:hover {
    color: var(--le-slate-900);
}

.le-share-btn {
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    color: var(--le-slate-700);
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.le-share-btn.is-copied {
    background: #16a34a;
    border-color: #16a34a;
    color: var(--le-white);
}

.le-detail-content {
    padding: 36px 32px;
    background: var(--le-white);
    min-height: 460px;
}

.le-detail-container {
    max-width: 780px;
    margin: 0 auto;
}

#lattes-emploi-wrapper .le-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--le-slate-900);
    line-height: 1.2;
    margin: 12px 0 8px;
}

.le-detail-meta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    background: var(--le-slate-50);
    border: 1px solid var(--le-slate-200);
    border-radius: 16px;
    padding: 18px;
    margin: 22px 0;
}

.le-prose {
    color: var(--le-slate-700);
    font-size: 15px;
    line-height: 1.7;
}

.le-prose p {
    margin-bottom: 14px !important;
}

.le-prose ul, .le-prose ol {
    margin: 12px 0 16px 22px;
}

.le-btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--le-slate-900);
    color: var(--le-white);
    padding: 15px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 20px -8px rgba(15, 23, 42, 0.35);
    transition: background 0.18s;
}

.le-btn-apply:hover {
    background: var(--le-blue);
    color: var(--le-white);
}

/* Banners & Alerts */
.le-alert-box {
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.le-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.le-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.le-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.le-expired-banner {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 5px solid #d97706;
    border-radius: 18px;
    padding: 20px 24px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Footer */
#le-footer {
    background: var(--le-slate-50);
    border-top: 1px solid var(--le-slate-200);
    padding: 20px 28px;
    border-radius: 0 0 32px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.le-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.le-footer-btn {
    background: transparent;
    border: none;
    color: var(--le-slate-600);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 2px;
}

.le-footer-btn:hover {
    color: var(--le-blue);
}

.le-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.le-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--le-white);
    border: 1px solid var(--le-slate-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--le-slate-600);
    transition: background 0.18s, transform 0.18s;
}

.le-social-btn:hover {
    background: var(--le-slate-100);
    transform: translateY(-1px);
}

/* Modals */
.le-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.le-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
}

.le-modal-container {
    position: relative;
    z-index: 2;
    background: var(--le-white);
    border-radius: 24px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.le-modal-flyer {
    max-width: 960px;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.le-flyer-side {
    width: 40%;
    background: linear-gradient(170deg, #1e40af 0%, #0f2942 100%);
    color: var(--le-white);
    padding: 36px 30px;
    position: relative;
    border-left: 6px solid #f97316;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.le-flyer-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    pointer-events: none;
}

.le-flyer-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

.le-flyer-body {
    width: 60%;
    padding: 36px;
    overflow-y: auto;
    max-height: 90vh;
}

.le-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--le-slate-100);
    color: var(--le-slate-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.le-modal-close-btn:hover {
    background: var(--le-slate-200);
    color: var(--le-slate-900);
}

/* TNP Newsletter Form inside Modal */
.tnp.tnp-subscription .tnp-field {
    margin-bottom: 14px;
}

.tnp.tnp-subscription label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--le-slate-700);
    margin-bottom: 6px;
}

.tnp.tnp-subscription .tnp-name,
.tnp.tnp-subscription .tnp-email {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--le-slate-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--le-slate-900);
    background: var(--le-slate-50);
}

.tnp.tnp-subscription .tnp-name:focus,
.tnp.tnp-subscription .tnp-email:focus {
    background: var(--le-white);
    border-color: var(--le-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.tnp.tnp-subscription .tnp-privacy-field label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    font-size: 13px;
    color: var(--le-slate-600);
    cursor: pointer;
}

.tnp.tnp-subscription .tnp-privacy {
    margin-top: 3px;
    flex-shrink: 0;
}

.tnp.tnp-subscription .tnp-submit {
    width: 100%;
    background: var(--le-navy);
    color: var(--le-white);
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
}

.tnp.tnp-subscription .tnp-submit:hover {
    background: var(--le-blue);
}

.tnp.tnp-subscription .tnp-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Discreet Cookie Banner */
#le-cookie-banner {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 99990;
    max-width: 410px;
    width: calc(100% - 36px);
    background: rgba(15, 41, 66, 0.96);
    color: var(--le-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 18px 36px -12px rgba(9, 21, 36, 0.45);
    backdrop-filter: blur(8px);
}

.le-cookie-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 6px;
}

.le-cookie-text {
    font-size: 12px;
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 12px !important;
}

.le-cookie-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.le-cookie-btn-accept,
.le-cookie-btn-refuse {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.le-cookie-btn-accept {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
}

.le-cookie-btn-accept:hover {
    background: #1d4ed8;
}

.le-cookie-btn-refuse {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.le-cookie-btn-refuse:hover {
    background: rgba(255, 255, 255, 0.22);
}

.le-cookie-more {
    background: transparent;
    border: none;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 6px;
}

/* Responsive */
@media (max-width: 900px) {
    .le-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .le-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .le-contact-layout,
    .le-jobs-grid,
    .le-conseils-grid {
        grid-template-columns: 1fr;
    }
    .le-modal-flyer {
        flex-direction: column;
        overflow-y: auto;
    }
    .le-flyer-side,
    .le-flyer-body {
        width: 100%;
        max-height: none;
    }
}

@media (max-width: 768px) {
    #lattes-emploi-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
    .le-portal-header {
        padding: 22px 20px;
        border-radius: 0 0 28px 28px;
        overflow: visible;
    }
    .le-burger-btn {
        display: inline-flex;
    }
    .le-header-badge,
    .le-tabs-bar {
        display: none;
    }
    .le-portal-body {
        padding: 20px 16px;
    }
    .le-pres-banner,
    .le-newsletter-banner,
    .le-recruiter-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }
    .le-pres-banner-left,
    .le-nl-banner-left,
    .le-recruiter-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .le-pres-cta,
    .le-btn-nl,
    .le-recruiter-cta {
        justify-content: center;
        width: 100%;
    }
    .le-cards-grid,
    .le-links-grid,
    .le-form-row {
        grid-template-columns: 1fr;
    }
    .le-event-card,
    .le-actu-card {
        flex-direction: column;
    }
    .le-event-date-col {
        width: 100%;
        flex-direction: row;
        gap: 12px;
        padding: 14px 18px;
    }
    .le-event-img-desktop {
        display: none;
    }
    .le-actu-thumb {
        width: 100%;
        height: 190px;
        order: -1;
    }
    .le-event-img-mobile {
        display: block;
    }
    #le-footer {
        border-radius: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
