/* ── HERO ── */
.offers-hero {
    background-color: var(--gray-900);
    color: #fff;
    padding: 80px 0 60px;
}

.offers-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.offers-hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--red);
}

.offers-hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--red);
}

.offers-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    color: #fff;
}

.offers-hero h1 em {
    font-style: italic;
    color: var(--red);
}

.offers-hero-desc {
    color: var(--gray-300);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    max-width: 380px;
    margin-top: 16px;
}

/* ── FILTERS ── */
.offers-filters {
    background: var(--gray-100);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.offers-filters-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-right: 4px;
}

.filter-btn {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-700);
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gray-900);
    color: #fff;
    border-color: var(--gray-900);
}

/* ── MAIN CONTENT ── */
.offers-main {
    background: var(--gray-100);
    padding: 40px 0 80px;
}

/* ── CTA SPONTANEOUS ── */
.offers-cta-spontaneous {
    text-align: center;
    margin-bottom: 36px;
}

.btn-spontaneous {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-spontaneous:hover {
    background: var(--red-dark);
    color: #fff;
}

.btn-spontaneous::after {
    content: '→';
    font-size: 1rem;
}

/* ── OFFERS LIST ── */
.offers-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.offer-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.offer-row:last-child {
    border-bottom: none;
}

.offer-row:hover {
    background: #fafafa;
}

.offer-info {
    min-width: 0;
}

.offer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-date {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.offer-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.offer-tag {
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.875rem;
    color: var(--gray-500);
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.offer-location::before {
    content: '📍';
    font-size: 0.875rem;
}

.offer-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gray-300);
    flex-shrink: 0;
    transition: all 0.2s;
}

.offer-row:hover .offer-arrow {
    background: var(--gray-900);
    color: #fff;
    border-color: var(--gray-900);
}

/* ── EMPTY STATE ── */
.offers-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* ── CTA RECRUTEUR ── */
.offers-recruiter-cta {
    background: #fff;
    color: #000;
    padding: 60px 0;
}

.offers-recruiter-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 4px;
}

.offers-recruiter-cta h2 em {
    font-style: italic;
    font-weight: 400;
}

.btn-recruiter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-recruiter:hover {
    background: var(--red-light);
    border-color: var(--red-light);
    color: #fff;
}

.recruiter-phone {
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.offers-recruiter-cta a[href^="mailto"] {
    color: #000;
    text-decoration: none;
}

.offers-recruiter-cta a[href^="mailto"]:hover {
    text-decoration: underline;
}

.recruiter-box {
    display: inline-block;
    background: var(--gray-900);
    color: #fff;
    padding: 32px 40px;
    text-align: center;
    border-radius: 8px;
}

.recruiter-box .recruiter-phone {
    color: #fff;
}

.recruiter-box a[href^="mailto"] {
    color: #fff;
}

/* ── SHOW PAGE ── */
.offers-hero-back {
    color: var(--red);
    text-decoration: none;
    font-size: 0.9rem;
}

.offer-detail-block {
    margin-bottom: 40px;
}

.offer-detail-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
}

.offer-detail-content {
    color: #444;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.offer-detail-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.offer-detail-back {
    color: var(--red);
    text-decoration: none;
    font-size: 0.9rem;
}

.offer-sidebar-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px;
}

.offer-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.offer-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-sidebar-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.offer-sidebar-label {
    color: #888;
}

.offer-sidebar-value {
    font-weight: 600;
    color: #1a1a1a;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .offers-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    .offer-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 16px;
    }

    .offer-tags {
        grid-column: 1;
        grid-row: 2;
        flex-wrap: wrap;
    }

    .offer-arrow {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }

    .offer-detail-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .recruiter-box {
        width: 100%;
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .offer-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .offer-tags {
        flex-wrap: wrap;
    }

    .offer-arrow {
        display: none;
    }

    .offers-filters-inner {
        gap: 6px;
    }
}