:root {
    --tj-primary: #305979;
    --tj-primary-dark: #244761;
    --tj-accent: #f9b233;
    --tj-bg: #f7f6f3;
    --tj-ink: #0f1b26;
    --tj-ink-muted: #5c6b78;
    --tj-ink-soft: #66727d;
    --tj-hairline: #e8e5de;
    --tj-hairline-soft: #f0ede6;
    --tj-success: #2fa37a;
    --tj-danger: #d9534f;
    --tj-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tj-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #e9edf0;
    color-scheme: light;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: #e9edf0;
    color: var(--tj-ink);
    font-family: var(--tj-display);
    -webkit-font-smoothing: antialiased;
}

button,
a,
input {
    font: inherit;
}

button,
.click {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(249, 178, 51, 0.62);
    outline-offset: 3px;
}

.offer-detail {
    width: min(100%, 680px);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--tj-bg);
    box-shadow: 0 0 40px rgba(15, 27, 38, 0.18);
}

.offer-stage {
    position: relative;
}

/* Hero */
.offer-hero {
    position: relative;
    height: 296px;
    overflow: hidden;
    background: var(--tj-primary);
}

.offer-hero-img,
.offer-hero-veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.offer-hero-img {
    display: block;
    object-fit: cover;
}

.offer-hero-veil {
    background: linear-gradient(
        180deg,
        rgba(15, 27, 38, 0.62) 0%,
        rgba(15, 27, 38, 0.08) 38%,
        rgba(48, 89, 121, 0.18) 100%
    );
}

.offer-topbar {
    position: absolute;
    z-index: 2;
    top: max(8px, env(safe-area-inset-top));
    right: 16px;
    left: 16px;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
}

.offer-topbar > span {
    grid-column: 2;
    justify-self: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.offer-back {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(36, 71, 97, 0.78);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 27, 38, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.offer-back svg {
    width: 20px;
    height: 20px;
}

.offer-kind {
    position: absolute;
    z-index: 2;
    bottom: 88px;
    left: 20px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(15, 27, 38, 0.4);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* Panneau et avatar */
.offer-panel {
    position: relative;
    margin-top: -52px;
    padding-top: 8px;
    background: linear-gradient(to bottom, transparent 0 51px, var(--tj-bg) 52px 100%);
}

.offer-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 52px;
    background: var(--tj-bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    pointer-events: none;
}

.offer-avatar-space {
    height: 56px;
}

.offer-avatar {
    position: absolute;
    z-index: 5;
    top: 222px;
    left: 50%;
    transform: translateX(-50%);
}

.offer-avatar-ring {
    width: 92px;
    height: 92px;
    padding: 4px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 27, 38, 0.18);
}

.offer-avatar-ring img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.offer-identity {
    margin-top: 10px;
    padding: 0 20px;
    text-align: center;
}

.offer-identity h1 {
    margin: 0;
    color: var(--tj-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.offer-identity p {
    margin: 3px 0 0;
    color: var(--tj-ink-muted);
    font-size: 13px;
    font-weight: 600;
}

/* Action principale */
.offer-apply {
    width: min(300px, calc(100% - 40px));
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px auto 0;
    padding: 10px 22px;
    border: 1px solid rgba(249, 178, 51, 0.75);
    border-radius: 999px;
    background: linear-gradient(110deg, var(--tj-primary-dark) 0%, var(--tj-primary) 32%, #4c82a7 50%, var(--tj-primary) 68%, var(--tj-primary-dark) 100%);
    background-size: 240% 100%;
    color: #fff;
    box-shadow: 0 9px 22px rgba(48, 89, 121, 0.28), 0 0 0 0 rgba(249, 178, 51, 0.4);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(36, 71, 97, 0.4);
    animation: offer-apply-colors 4s ease-in-out infinite, offer-apply-glow 2s ease-in-out infinite;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.offer-apply svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.offer-apply:hover {
    transform: translateY(-1px) scale(1.015);
    box-shadow: 0 12px 26px rgba(48, 89, 121, 0.34), 0 0 0 4px rgba(249, 178, 51, 0.18);
}

.offer-apply:active {
    transform: scale(0.985);
}

.offer-relation {
    width: fit-content;
    max-width: calc(100% - 40px);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px auto 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.offer-relation.is-success {
    background: rgba(47, 163, 122, 0.1);
    color: #237b5d;
}

.offer-relation.is-warning {
    background: rgba(249, 178, 51, 0.18);
    color: #8c5d08;
}

.offer-relation.is-danger {
    background: rgba(213, 83, 79, 0.1);
    color: #a33c39;
}

.relation-icon,
.relation-icon svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

/* Timeline */
.recruitment-timeline {
    width: min(420px, calc(100% - 40px));
    margin: 8px auto 0;
}

.recruitment-timeline > summary {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--tj-primary-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
}

.recruitment-timeline > summary::-webkit-details-marker {
    display: none;
}

.recruitment-timeline > summary:hover {
    background: rgba(48, 89, 121, 0.06);
}

.recruitment-timeline > summary svg {
    width: 15px;
    height: 15px;
    transition: transform 160ms ease;
}

.recruitment-timeline[open] > summary svg {
    transform: rotate(180deg);
}

.timeline-card {
    margin-top: 4px;
    padding: 15px;
    border: 1px solid rgba(48, 89, 121, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 27, 38, 0.07);
}

.timeline-header small {
    color: #8c5d08;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.timeline-header h2 {
    margin: 2px 0 0;
    color: var(--tj-ink);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.25px;
}

.timeline-card > p {
    margin: 9px 0 13px;
    color: var(--tj-ink-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}

.timeline-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.timeline-card li {
    position: relative;
    min-height: 38px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
}

.timeline-card li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    bottom: -10px;
    left: 12px;
    width: 2px;
    border-radius: 2px;
    background: #dce4ea;
}

.timeline-card li.is-complete:not(:last-child)::after {
    background: var(--tj-success);
}

.timeline-marker {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 2px solid #dce4ea;
    border-radius: 50%;
    background: #fff;
    color: var(--tj-ink-muted);
    font-size: 10px;
    font-weight: 800;
}

.timeline-card li.is-complete .timeline-marker {
    border-color: var(--tj-success);
    background: var(--tj-success);
    color: #fff;
}

.timeline-card li.is-current .timeline-marker {
    border-color: var(--tj-accent);
    background: var(--tj-accent);
    color: var(--tj-primary-dark);
    box-shadow: 0 0 0 4px rgba(249, 178, 51, 0.17);
}

.timeline-card li.is-upcoming > span:last-child {
    opacity: 0.62;
}

.timeline-card li > span:last-child {
    min-width: 0;
    padding-top: 1px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-card li strong {
    color: var(--tj-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.timeline-card li small {
    color: var(--tj-ink-muted);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
}

/* Statistiques */
.offer-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 20px 0;
    padding: 4px 0;
}

.offer-stats > div {
    min-width: 0;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.offer-stats > div + div {
    border-left: 1px solid var(--tj-hairline);
}

.offer-stats strong {
    max-width: 100%;
    color: var(--tj-primary-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.offer-stats strong.is-accent {
    color: #a86e08;
}

.offer-stats span {
    color: var(--tj-ink-soft);
    font-size: 9.5px;
    font-weight: 600;
}

/* Cartes */
.offer-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px calc(28px + env(safe-area-inset-bottom));
}

.offer-card {
    padding: 16px;
    border: 1px solid var(--tj-hairline-soft);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(15, 27, 38, 0.04), 0 12px 26px rgba(15, 27, 38, 0.05);
}

.offer-card h2 {
    margin: 0 0 13px;
    color: var(--tj-ink);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.offer-card-period {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.offer-card-period h2 {
    margin-bottom: 0;
}

.card-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(249, 178, 51, 0.17);
    color: #a86e08;
}

.card-icon svg {
    width: 21px;
    height: 21px;
}

.offer-card-period p {
    margin: 5px 0 0;
    color: var(--tj-primary);
    font-size: 13px;
    font-weight: 800;
}

.offer-card-period small {
    display: block;
    margin-top: 4px;
    color: var(--tj-ink-soft);
    font-size: 11px;
}

.offer-copy {
    margin: 0;
    color: var(--tj-ink-muted);
    font-size: 13px;
    line-height: 1.58;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.offer-copy p {
    margin: 0 0 10px;
}

.offer-copy p:last-child {
    margin-bottom: 0;
}

.location-summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    margin-bottom: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tj-hairline-soft);
}

.location-summary > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.location-summary strong {
    color: var(--tj-ink);
    font-size: 13px;
}

.location-summary span:not(.card-icon) {
    color: var(--tj-ink-muted);
    font-size: 11.5px;
}

.offer-map {
    height: 168px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--tj-hairline-soft);
    border-radius: 16px;
    background: #e8eef3;
}

.offer-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: var(--tj-ink-muted);
    font-size: 12px;
    line-height: 1.4;
}

.contact-row svg {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    color: var(--tj-primary);
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.card-heading h2 {
    margin-bottom: 0;
}

.card-heading > span {
    display: none;
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(48, 89, 121, 0.09);
    color: var(--tj-primary);
    font-family: var(--tj-mono);
    font-size: 10px;
    font-weight: 700;
}

/* Horaires */
.schedule-table {
    width: calc(100% + 8px);
    margin: -6px -4px 0;
    border-collapse: separate;
    border-spacing: 4px 6px;
    table-layout: fixed;
}

.schedule-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.schedule-table th {
    padding: 0;
    color: var(--tj-ink-muted);
    font-family: var(--tj-mono);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.schedule-table td {
    padding: 0;
    vertical-align: stretch;
}

.schedule-slot {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 1px;
    border: 1px solid #dedbd4;
    border-radius: 7px;
    background: #fff;
    color: var(--tj-ink-soft);
    font-family: var(--tj-mono);
    font-size: 8.5px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.schedule-slot.is-morning {
    border-color: transparent;
    background: var(--tj-accent);
    color: var(--tj-primary-dark);
}

.schedule-slot.is-evening {
    border-color: transparent;
    background: var(--tj-primary);
    color: #fff;
}

.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.schedule-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tj-ink-muted);
    font-size: 11px;
    font-weight: 600;
}

.schedule-legend i {
    width: 12px;
    height: 12px;
    display: inline-block;
    border: 1px solid #dedbd4;
    border-radius: 4px;
    background: #fff;
}

.schedule-legend i.is-morning {
    border-color: var(--tj-accent);
    background: var(--tj-accent);
}

.schedule-legend i.is-evening {
    border-color: var(--tj-primary);
    background: var(--tj-primary);
}

/* Détail du planning — mêmes dimensions et couleurs que la modale V2. */
.schedule-detail-trigger {
    width: 100%;
    min-height: 42px;
    margin-top: 14px;
    padding: 9px 13px;
    border: 1.5px solid rgba(48, 89, 121, 0.35);
    border-radius: 12px;
    background: rgba(48, 89, 121, 0.04);
    color: var(--tj-primary-dark);
    display: grid;
    grid-template-columns: 20px 1fr 18px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.schedule-detail-trigger svg {
    width: 18px;
    height: 18px;
}

.schedule-detail-trigger svg:last-child {
    width: 16px;
    height: 16px;
}

.schedule-detail-trigger:hover {
    border-color: var(--tj-primary);
    background: rgba(48, 89, 121, 0.09);
}

.schedule-detail-trigger:active {
    transform: scale(0.99);
}

.schedule-modal {
    width: min(calc(100vw - 32px), 460px);
    height: min(calc(100vh - 32px), 640px);
    height: min(calc(100dvh - 32px), 640px);
    max-width: 460px;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(48, 89, 121, 0.12);
    border-radius: 24px;
    background: #fff;
    color: var(--tj-ink);
    box-shadow: 0 24px 70px rgba(15, 27, 38, 0.3);
}

.schedule-modal::backdrop {
    background: rgba(15, 27, 38, 0.58);
    backdrop-filter: blur(3px);
}

.schedule-dialog {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--tj-display);
}

.schedule-dialog-header {
    flex: 0 0 auto;
    padding: 22px 20px 18px;
    border-bottom: 1px solid var(--tj-hairline-soft);
    background: radial-gradient(circle at 92% 8%, rgba(249, 178, 51, 0.22), transparent 35%), #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.schedule-dialog-header h2 {
    margin: 4px 0 0;
    color: var(--tj-primary-dark);
    font-size: 22px;
    font-weight: 850;
    line-height: 1.15;
}

.schedule-dialog-header p {
    margin: 7px 0 0;
    color: var(--tj-ink-muted);
    font-family: var(--tj-mono);
    font-size: 12px;
    font-weight: 700;
}

.schedule-dialog-eyebrow {
    color: #8c5d08;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.schedule-dialog-close {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(48, 89, 121, 0.18);
    border-radius: 50%;
    background: rgba(48, 89, 121, 0.06);
    color: var(--tj-primary);
    display: grid;
    flex: 0 0 38px;
    place-items: center;
}

.schedule-dialog-close svg {
    width: 21px;
    height: 21px;
}

.schedule-dialog-close:hover {
    background: rgba(48, 89, 121, 0.12);
}

.schedule-dialog-days {
    min-height: 0;
    padding: 16px 20px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.schedule-dialog-day {
    flex: 0 0 auto;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(48, 89, 121, 0.12);
    border-radius: 14px;
    background: var(--tj-bg);
    display: grid;
    grid-template-columns: minmax(86px, 0.8fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 12px;
}

.schedule-dialog-day.is-off {
    background: #fff;
}

.schedule-dialog-day-name {
    color: var(--tj-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.schedule-dialog-ranges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.schedule-dialog-ranges span {
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--tj-primary);
    color: #fff;
    font-family: var(--tj-mono);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.schedule-dialog-rest {
    color: var(--tj-ink-soft);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.offer-reference {
    padding: 2px 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--tj-ink-soft);
    font-family: var(--tj-mono);
    font-size: 9.5px;
    text-align: center;
}

.offer-reference a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    margin-top: 9px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(48, 89, 121, 0.08);
    color: var(--tj-primary);
    font-family: var(--tj-display);
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
}

/* Modale de candidature publique */
.bloc_modal {
    position: fixed;
    z-index: 50;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    padding: 20px;
    background: rgba(15, 27, 38, 0.58);
    transform: translate(-100%, 0);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal {
    position: relative;
    width: min(100%, 420px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    margin: auto;
    padding: 23px;
    border: 1px solid var(--tj-hairline-soft);
    border-radius: 20px;
    background: #fff;
    color: var(--tj-ink);
    text-align: center;
    box-shadow: 0 20px 55px rgba(15, 27, 38, 0.28);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--tj-hairline);
    border-radius: 50%;
    background: #fff;
    color: var(--tj-primary);
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-eyebrow {
    color: #8c5d08;
    font-family: var(--tj-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.modal h2 {
    margin: 8px 28px 0;
    color: var(--tj-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal > p:not(.footer_modal) {
    margin: 12px 0 0;
    color: var(--tj-ink-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bloc_ref {
    margin: 17px 0 14px;
    padding: 13px 16px;
    border: 1px dashed rgba(48, 89, 121, 0.3);
    border-radius: 14px;
    background: var(--tj-bg);
    color: var(--tj-primary-dark);
    transition: background 160ms ease;
}

.bloc_ref strong {
    font-family: var(--tj-mono);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.btn_modal {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 9px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.btn_modal svg {
    width: 17px;
    height: 17px;
}

.btn-copy {
    border: 1.5px solid var(--tj-primary);
    background: #fff;
    color: var(--tj-primary);
}

.btn-app {
    border: 0;
    background: var(--tj-accent);
    color: var(--tj-primary-dark);
    box-shadow: 0 8px 18px rgba(249, 178, 51, 0.3);
}

.footer_modal {
    margin: 13px 0 0;
    color: var(--tj-ink-soft);
    font-size: 10.5px;
    font-weight: 600;
}

/* SweetAlert raccordé à la palette */
.swal2-popup {
    border-radius: 20px !important;
    font-family: var(--tj-display) !important;
}

.swal2-title {
    color: var(--tj-ink) !important;
    font-size: 20px !important;
}

.swal2-html-container {
    color: var(--tj-ink-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.swal2-confirm,
.swal2-deny {
    border-radius: 999px !important;
    font-weight: 800 !important;
}

@keyframes offer-apply-colors {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes offer-apply-glow {
    0%, 100% { box-shadow: 0 9px 22px rgba(48, 89, 121, 0.28), 0 0 0 0 rgba(249, 178, 51, 0.34); }
    50% { box-shadow: 0 11px 25px rgba(48, 89, 121, 0.33), 0 0 0 5px rgba(249, 178, 51, 0.12); }
}

@media (max-width: 390px) {
    .offer-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .offer-card {
        padding: 14px;
        border-radius: 18px;
    }

    .offer-stats {
        margin-right: 12px;
        margin-left: 12px;
    }

    .offer-stats > div {
        padding-right: 5px;
        padding-left: 5px;
    }

    .offer-stats strong {
        font-size: 11px;
    }

    .schedule-table {
        border-spacing: 3px 6px;
    }
}

@media (min-width: 521px) {
    .card-heading > span {
        display: inline-flex;
    }
}

@media (min-width: 720px) {
    .offer-detail {
        margin-top: 16px;
        margin-bottom: 16px;
        overflow: hidden;
        border-radius: 26px;
    }

    .offer-hero {
        border-radius: 26px 26px 0 0;
    }
}

@media (min-width: 1024px) {
    .offer-detail {
        width: min(100%, 920px);
    }

    .offer-hero {
        height: 340px;
    }

    .offer-avatar {
        top: 266px;
    }

    .offer-content,
    .offer-identity,
    .offer-stats,
    .offer-relation,
    .offer-apply,
    .recruitment-timeline {
        max-width: 820px;
        margin-right: auto;
        margin-left: auto;
    }

    .offer-content {
        width: 100%;
        padding-right: 28px;
        padding-bottom: 48px;
        padding-left: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .offer-apply {
        animation: none;
    }
}
