/* ==========================================================
   PAGE OFFRES D'EMPLOI - CSS
   Chargé uniquement sur /offres-demploi/ via wp_enqueue_style conditionnel
   ========================================================== */


/* ========== HERO / FILTRES ========== */

.hero-a {
    min-height: auto;
    background: var(--bleu-petrole-dark, #1a4460);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 40px;
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
}

.hero-a * {
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
    box-sizing: border-box;
}

.hero-a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 214, 100, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 87, 122, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Cercle décoratif animé */
.hero-a::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 214, 100, 0.1);
    border-radius: 50%;
    animation: pulse-ring 4s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumb */
.offres-breadcrumb {
    background: var(--ivoire, #f7f4ed);
    padding: 0.9rem 2rem;
    border-bottom: 1px solid rgba(34, 87, 122, 0.08);
    font-size: 0.82rem;
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
}
.offres-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gris-moyen, #888);
}
.offres-breadcrumb a {
    color: var(--bleu-petrole, #22577a);
    text-decoration: none;
    transition: all 0.2s ease;
}
.offres-breadcrumb a:hover {
    color: var(--bleu-petrole-dark, #1a4a66);
    text-decoration: underline;
}
.offres-breadcrumb .separator {
    color: var(--gris-clair, #ccc);
    margin: 0 0.15rem;
}
.offres-breadcrumb .current {
    color: var(--texte-principal, #2c2c2c);
    font-weight: 500;
}

@keyframes underline-grow {
    to { transform: scaleX(1); }
}

.hero-a-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-a-header {
    margin-bottom: 32px;
}

.hero-a .hero-a-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.2s;
}

.hero-a .hero-a-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: #ffd664;
}

.hero-a-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--blanc, #ffffff);
    line-height: 1.05;
    margin: 0 0 20px 0;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.3s;
}

.hero-a-title-accent {
    color: var(--jaune-cuivre, #ffd664);
    position: relative;
    display: inline-block;
}

.hero-a-title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.12em;
    background: rgba(255, 214, 100, 0.3);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-grow 0.8s ease forwards 0.8s;
}

.hero-a-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.4s;
}

.hero-a-form {
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.5s;
}

.hero-a-filters {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.hero-a-field {
    position: relative;
}

.hero-a-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.hero-a-input-wrap {
    position: relative;
}

.hero-a-input,
.hero-a-select {
    width: 100%;
    padding: 18px 18px 18px 52px;
    background: var(--blanc, #ffffff);
    border: 2px solid transparent;
    border-radius: var(--radius-md, 12px);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--anthracite, #2c2c2c);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-a-input::placeholder {
    color: var(--anthracite-muted, #6b6b6b);
}

.hero-a-input:focus,
.hero-a-select:focus {
    outline: none;
    border-color: var(--jaune-cuivre, #ffd664);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(255, 214, 100, 0.2);
}

.hero-a-select {
    cursor: pointer;
    appearance: none;
}

.hero-a-select option {
    background: var(--blanc, #ffffff);
    color: var(--anthracite, #2c2c2c);
    padding: 12px;
}

.hero-a-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--bleu-petrole, #22577a);
    pointer-events: none;
    transition: color 0.3s ease;
    opacity: 0.6;
}

.hero-a-field:focus-within .hero-a-icon {
    color: var(--jaune-cuivre-dark, #e5be4d);
    opacity: 1;
}

.hero-a-chevron {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--anthracite-muted, #6b6b6b);
    pointer-events: none;
}

.hero-a-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-a-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-cuivre, linear-gradient(135deg, #ffd664 0%, #ffe28a 100%));
    color: var(--anthracite, #2c2c2c);
    border: none;
    border-radius: var(--radius-md, 12px);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-cuivre, 0 8px 24px rgba(255, 214, 100, 0.35));
}

.hero-a-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-a-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 214, 100, 0.4);
}

.hero-a-submit:hover::before {
    opacity: 1;
}

.hero-a-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-a-submit:hover svg {
    transform: translateX(4px);
}

.hero-a-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: var(--blanc, #ffffff);
    color: var(--anthracite-muted, #6b6b6b);
    border: 2px solid transparent;
    border-radius: var(--radius-md, 12px);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-a-reset:hover {
    color: var(--bleu-petrole, #22577a);
    border-color: var(--bleu-petrole, #22577a);
}

.hero-a-reset svg {
    width: 18px;
    height: 18px;
}


/* ========== LISTE DES OFFRES ========== */

.jobs-list {
    padding: 30px 2rem;
    background: var(--ivoire, #f7f4ed);
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
}

.jobs-list * {
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
    box-sizing: border-box;
}

.jobs-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.jobs-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.jobs-list-count {
    font-size: 1rem;
    color: var(--anthracite-muted, #6b6b6b);
}

.jobs-list-count-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bleu-petrole, #22577a);
}

.jobs-list-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jobs-list-sort label {
    font-size: 0.9rem;
    color: var(--anthracite-muted, #6b6b6b);
}

.jobs-list-sort select {
    padding: 0.6rem 1rem;
    border: 2px solid var(--bleu-petrole-pale, #e8f0f4);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--anthracite, #2c2c2c);
    background: var(--blanc, #ffffff);
    cursor: pointer;
    transition: all 0.3s ease;
}

.jobs-list-sort select:focus {
    outline: none;
    border-color: var(--bleu-petrole, #22577a);
}

.jobs-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.jobs-list-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--blanc, #ffffff);
    border-radius: 20px;
    border: 2px dashed var(--bleu-petrole-pale, #e8f0f4);
}

.jobs-list-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.jobs-list-empty-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--anthracite, #2c2c2c);
    margin: 0 0 0.75rem 0;
}

.jobs-list-empty-text {
    font-size: 1rem;
    color: var(--anthracite-muted, #6b6b6b);
    margin: 0 0 1.5rem 0;
}

.jobs-list-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--bleu-petrole, #22577a);
    color: var(--blanc, #ffffff);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jobs-list-empty-btn:hover {
    background: var(--bleu-petrole-dark, #1a4460);
    transform: translateY(-2px);
}

.jobs-list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.jobs-pagination-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--bleu-petrole-pale, #e8f0f4);
    background: var(--blanc, #ffffff);
    color: var(--bleu-petrole, #22577a);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.jobs-pagination-btn:hover:not(:disabled) {
    background: var(--bleu-petrole, #22577a);
    border-color: var(--bleu-petrole, #22577a);
    color: var(--blanc, #ffffff);
}

.jobs-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.jobs-pagination-btn svg {
    width: 20px;
    height: 20px;
}

.jobs-pagination-pages {
    display: flex;
    gap: 0.25rem;
}

.jobs-pagination-page {
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--anthracite-muted, #6b6b6b);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jobs-pagination-page:hover {
    background: var(--blanc, #ffffff);
    border-color: var(--bleu-petrole-pale, #e8f0f4);
    color: var(--bleu-petrole, #22577a);
}

.jobs-pagination-page.active {
    background: var(--bleu-petrole, #22577a);
    border-color: var(--bleu-petrole, #22577a);
    color: var(--blanc, #ffffff);
}

.jobs-pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    color: var(--anthracite-muted, #6b6b6b);
}


/* ========== CANDIDATURE SPONTANÉE ========== */

.spontaneous-app {
    padding: 50px 2rem;
    background: var(--ivoire, #f7f4ed);
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
}

.spontaneous-app * {
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
    box-sizing: border-box;
}

.spontaneous-app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.spontaneous-app-content {
    padding-right: 20px;
}

.spontaneous-app-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bleu-petrole, #22577a);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.spontaneous-app-eyebrow::before {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--jaune-cuivre, #ffd664);
    border-radius: 2px;
}

.spontaneous-app-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--anthracite, #2c2c2c);
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.spontaneous-app-title-accent {
    color: var(--bleu-petrole, #22577a);
}

.spontaneous-app-text {
    font-size: 1.05rem;
    color: var(--anthracite-muted, #6b6b6b);
    line-height: 1.7;
    margin: 0 0 32px 0;
}

.spontaneous-app-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spontaneous-app-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spontaneous-app-benefit-icon {
    width: 28px;
    height: 28px;
    background: var(--jaune-cuivre, #ffd664);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spontaneous-app-benefit-icon svg {
    width: 14px;
    height: 14px;
    color: var(--anthracite, #2c2c2c);
}

.spontaneous-app-benefit-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--anthracite, #2c2c2c);
}

.spontaneous-app-form-wrapper {
    background: var(--blanc, #ffffff);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(34, 87, 122, 0.08);
    border: 1px solid rgba(34, 87, 122, 0.06);
}

.spontaneous-app-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spontaneous-app-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.spontaneous-app-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spontaneous-app-field--full {
    grid-column: span 2;
}

.spontaneous-app-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--anthracite, #2c2c2c);
}

.spontaneous-app-label .required {
    color: #e74c3c;
}

.spontaneous-app-label .optional {
    font-weight: 400;
    color: var(--anthracite-muted, #6b6b6b);
    font-size: 0.8rem;
}

.spontaneous-app-input,
.spontaneous-app-select,
.spontaneous-app-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--ivoire, #f7f4ed);
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--anthracite, #2c2c2c);
    transition: all 0.3s ease;
}

.spontaneous-app-input::placeholder,
.spontaneous-app-textarea::placeholder {
    color: var(--anthracite-muted, #6b6b6b);
}

.spontaneous-app-input:focus,
.spontaneous-app-select:focus,
.spontaneous-app-textarea:focus {
    outline: none;
    border-color: var(--bleu-petrole, #22577a);
    background: var(--blanc, #ffffff);
    box-shadow: 0 0 0 4px rgba(34, 87, 122, 0.1);
}

.spontaneous-app-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.spontaneous-app-textarea {
    resize: vertical;
    min-height: 100px;
}

.spontaneous-app-upload {
    position: relative;
    border: 2px dashed var(--bleu-petrole-pale, #e8f0f4);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.spontaneous-app-upload:hover,
.spontaneous-app-upload.dragover {
    border-color: var(--bleu-petrole, #22577a);
    background: rgba(34, 87, 122, 0.03);
}

.spontaneous-app-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.spontaneous-app-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.spontaneous-app-upload-icon {
    width: 48px;
    height: 48px;
    background: var(--bleu-petrole-pale, #e8f0f4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.spontaneous-app-upload-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bleu-petrole, #22577a);
}

.spontaneous-app-upload-text {
    font-size: 0.95rem;
    color: var(--anthracite, #2c2c2c);
}

.spontaneous-app-upload-text strong {
    color: var(--bleu-petrole, #22577a);
}

.spontaneous-app-upload-hint {
    font-size: 0.8rem;
    color: var(--anthracite-muted, #6b6b6b);
}

.spontaneous-app-upload-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bleu-petrole-pale, #e8f0f4);
    border-radius: 8px;
    margin-top: 12px;
}

.spontaneous-app-upload-filename {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bleu-petrole, #22577a);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spontaneous-app-upload-filename::before {
    content: '📄';
}

.spontaneous-app-upload-remove {
    width: 28px;
    height: 28px;
    background: var(--blanc, #ffffff);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.spontaneous-app-upload-remove:hover {
    background: #e74c3c;
}

.spontaneous-app-upload-remove:hover svg {
    color: var(--blanc, #ffffff);
}

.spontaneous-app-upload-remove svg {
    width: 14px;
    height: 14px;
    color: var(--anthracite-muted, #6b6b6b);
}

.spontaneous-app-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.spontaneous-app-checkbox input {
    display: none;
}

.spontaneous-app-checkbox-mark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--bleu-petrole-pale, #e8f0f4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.spontaneous-app-checkbox input:checked + .spontaneous-app-checkbox-mark {
    background: var(--bleu-petrole, #22577a);
    border-color: var(--bleu-petrole, #22577a);
}

.spontaneous-app-checkbox input:checked + .spontaneous-app-checkbox-mark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--blanc, #ffffff);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.spontaneous-app-checkbox-text {
    font-size: 0.85rem;
    color: var(--anthracite-muted, #6b6b6b);
    line-height: 1.5;
}

.spontaneous-app-checkbox-text a {
    color: var(--bleu-petrole, #22577a);
    text-decoration: underline;
}

.spontaneous-app-checkbox-text a:hover {
    color: var(--jaune-cuivre-dark, #e5be4d);
}

.spontaneous-app-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--gradient-cuivre, linear-gradient(135deg, #ffd664 0%, #ffe28a 100%));
    color: var(--anthracite, #2c2c2c);
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 214, 100, 0.3);
    margin-top: 8px;
}

.spontaneous-app-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 214, 100, 0.4);
}

.spontaneous-app-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spontaneous-app-submit-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.spontaneous-app-submit:hover .spontaneous-app-submit-icon {
    transform: translateX(4px);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spontaneous-app-submit-loader .spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.spontaneous-app-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.spontaneous-app-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.spontaneous-app-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.spontaneous-app-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* ========== BANDEAU MÉTIERS (SEO) ========== */

.jobs-pillars {
    background: var(--blanc, #ffffff);
    padding: 50px 2rem;
    border-bottom: 1px solid var(--bleu-petrole-pale, #e8f0f4);
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
}

.jobs-pillars-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.jobs-pillars-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jobs-pillars-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bleu-petrole, #22577a);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.jobs-pillars-eyebrow::before {
    content: '';
    width: 24px;
    height: 3px;
    background: var(--jaune-cuivre, #ffd664);
    border-radius: 2px;
}

.jobs-pillars-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--anthracite, #2c2c2c);
    letter-spacing: -0.01em;
}

.jobs-pillars-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.jobs-pillars-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--ivoire, #f7f4ed);
    border: 1px solid var(--bleu-petrole-pale, #e8f0f4);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bleu-petrole, #22577a);
    text-decoration: none;
    transition: all 0.3s ease;
}

.jobs-pillars-tag:hover {
    background: var(--bleu-petrole, #22577a);
    border-color: var(--bleu-petrole, #22577a);
    color: var(--blanc, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 87, 122, 0.2);
}

.jobs-pillars-tag--all {
    background: var(--jaune-cuivre, #ffd664);
    border-color: var(--jaune-cuivre, #ffd664);
    color: var(--anthracite, #2c2c2c);
}

.jobs-pillars-tag--all:hover {
    background: var(--jaune-cuivre-dark, #e5be4d);
    border-color: var(--jaune-cuivre-dark, #e5be4d);
    color: var(--anthracite, #2c2c2c);
}


/* ========== FILTRE TITRE ========== */

.jobs-filter-title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bleu-petrole-pale, #e8f0f4);
}

.jobs-filter-title h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--anthracite, #2c2c2c);
    margin: 0 0 8px 0;
}

.jobs-filter-count {
    font-size: 0.95rem;
    color: var(--anthracite-muted, #6b6b6b);
    margin: 0;
}


/* ========== PAGE OFFRES - RESPONSIVE ========== */

@media (max-width: 1024px) {
    .hero-a-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spontaneous-app-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spontaneous-app-content {
        padding-right: 0;
        text-align: center;
    }

    .spontaneous-app-eyebrow {
        justify-content: center;
    }

    .spontaneous-app-benefits {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-a {
        padding: 120px 20px 40px;
    }

    .hero-a-header {
        margin-bottom: 24px;
    }

    .hero-a-title {
        font-size: 2rem;
    }

    .hero-a-filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-a-actions {
        flex-direction: column;
    }

    .hero-a-submit,
    .hero-a-reset {
        width: 100%;
        justify-content: center;
    }

    .jobs-list {
        padding: 20px 1rem 60px;
    }

    .jobs-list-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .jobs-list-grid {
        grid-template-columns: 1fr;
    }

    .jobs-pagination-page {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .jobs-pagination-btn {
        width: 38px;
        height: 38px;
    }

    .spontaneous-app {
        padding: 20px 1rem;
    }

    .spontaneous-app-form-wrapper {
        padding: 24px;
    }

    .spontaneous-app-form-row {
        grid-template-columns: 1fr;
    }

    .spontaneous-app-field--full {
        grid-column: span 1;
    }

    .spontaneous-app-title {
        font-size: 1.6rem;
    }

    .jobs-pillars {
        padding: 24px 1rem;
    }

    .jobs-pillars-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .jobs-pillars-title {
        font-size: 1.1rem;
    }

    .jobs-pillars-list {
        gap: 8px;
    }

    .jobs-pillars-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}


/* ========== MULTI-SELECT DROPDOWNS ========== */

.ms-trigger {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.ms-trigger.ms-open {
    border-color: var(--jaune-cuivre, #ffd664);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(255, 214, 100, 0.2);
}

.ms-trigger.ms-has-value {
    color: var(--anthracite, #2c2c2c);
    font-weight: 600;
}

.ms-dropdown {
    position: fixed;
    background: var(--blanc, #ffffff);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
    z-index: 10000;
    font-family: var(--font-primary, 'Orkney', 'Nunito Sans', system-ui, sans-serif);
}

.ms-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--anthracite, #2c2c2c);
    transition: background 0.15s ease;
    margin: 0;
}

.ms-option:hover {
    background: var(--ivoire, #f7f4ed);
}

.ms-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--bleu-petrole, #22577a);
    cursor: pointer;
    flex-shrink: 0;
}

.ms-option-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-dropdown::-webkit-scrollbar {
    width: 6px;
}

.ms-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.ms-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}