
/* =========================================================
   DETAIL OFFRE EMPLOI — ARIDEL
========================================================= */

.offre-detail-page {
    padding-bottom: 90px;
    background: #f7faf8;
}


/* =========================================================
   HERO
========================================================= */

.offre-detail-hero {
    position: relative;
    padding: 70px 0 75px;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #041c32,
            #056b3d 60%,
            #087f49
        );
}

.offre-detail-hero::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -160px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(247,127,0,.07);
}

.offre-detail-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -180px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.12);

    box-shadow:
        0 0 0 45px rgba(255,255,255,.025),
        0 0 0 90px rgba(255,255,255,.015);
}

.offre-detail-hero-content {
    position: relative;
    z-index: 2;
}

.offre-detail-eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    color: #f77f00;

    font-size: 12px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.offre-detail-hero h1 {
    max-width: 900px;

    margin: 0;

    color: #fff;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.12;

    font-weight: 850;
}

.offre-detail-hero-meta {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

.offre-detail-badge {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    padding: 8px 13px;

    border-radius: 30px;

    background: rgba(255,255,255,.11);

    border: 1px solid rgba(255,255,255,.18);

    color: #fff;

    font-size: 12px;
}

.offre-detail-badge i {
    color: #f77f00;
}


/* STATUT */

.offre-statut-ouvert {
    background: rgba(16,185,129,.18);
    border-color: rgba(16,185,129,.30);
}

.offre-statut-ferme {
    background: rgba(239,68,68,.18);
    border-color: rgba(239,68,68,.30);
}


/* =========================================================
   CONTENT
========================================================= */

.offre-detail-content {
    padding-top: 45px;
}

.offre-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(350px, .8fr);

    gap: 28px;

    align-items: start;
}


/* =========================================================
   MAIN CARD
========================================================= */

.offre-detail-main,
.offre-application {
    background: #fff;

    border: 1px solid #e5ece8;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(4,28,50,.055);
}

.offre-detail-main {
    padding: 32px;
}


/* =========================================================
   RESUME OFFRE
========================================================= */

.offre-summary {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 35px;

    padding: 18px;

    border-radius: 14px;

    background: #f7faf8;

    border: 1px solid #e4ece7;
}

.offre-summary-item {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    padding: 12px;

    background: #fff;

    border-radius: 11px;

    border: 1px solid #e9efec;
}

.offre-summary-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eaf8f0;

    color: #087f49;
}

.offre-summary-label {
    display: block;

    margin-bottom: 3px;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .05em;
}

.offre-summary-value {
    display: block;

    color: #172b4d;

    font-size: 13px;

    font-weight: 750;
}


/* =========================================================
   SECTIONS
========================================================= */

.offre-section {
    margin-bottom: 34px;
}

.offre-section:last-child {
    margin-bottom: 0;
}

.offre-section-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 17px;

    color: #172b4d;

    font-size: 20px;

    font-weight: 800;
}

.offre-section-title i {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eaf8f0;

    color: #087f49;

    font-size: 15px;
}

.offre-content-text {
    color: #536170;

    font-size: 14px;

    line-height: 1.9;
}

.offre-content-text p {
    margin-bottom: 12px;
}

.offre-content-text ul {
    padding-left: 20px;
}

.offre-content-text ol {
    padding-left: 22px;
}

.offre-content-text li {
    margin-bottom: 8px;
}


/* =========================================================
   TABLEAU INFORMATIONS
========================================================= */

.offre-info-table {
    width: 100%;

    border-collapse: collapse;

    overflow: hidden;

    border-radius: 12px;

    border: 1px solid #e5ece8;
}

.offre-info-table tr {
    border-bottom: 1px solid #edf2ef;
}

.offre-info-table tr:last-child {
    border-bottom: 0;
}

.offre-info-table td {
    padding: 13px 15px;

    vertical-align: top;

    font-size: 13px;
}

.offre-info-table td:first-child {
    width: 35%;

    background: #f8faf9;

    color: #64748b;

    font-weight: 700;
}

.offre-info-table td:last-child {
    color: #172b4d;

    font-weight: 600;
}


/* =========================================================
   APPLICATION
========================================================= */

.offre-application {
    position: sticky;

    top: 25px;

    overflow: hidden;
}

.offre-application-header {
    padding: 22px 25px;

    background:
        linear-gradient(
            135deg,
            #056b3d,
            #087f49
        );

    color: #fff;
}

.offre-application-header h2 {
    margin: 0 0 5px;

    font-size: 20px;

    font-weight: 800;
}

.offre-application-header p {
    margin: 0;

    color: rgba(255,255,255,.75);

    font-size: 12px;
}

.offre-application-body {
    padding: 25px;
}


/* =========================================================
   FORMULAIRE
========================================================= */

.candidature-form-group {
    margin-bottom: 16px;
}

.candidature-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 12px;

    font-weight: 750;
}

.candidature-form-group label span {
    color: #e11d48;
}

.candidature-form-group input,
.candidature-form-group textarea,
.candidature-form-group select {
    width: 100%;

    border: 1px solid #dce5e0;

    border-radius: 9px;

    padding: 11px 12px;

    background: #fff;

    color: #172b4d;

    font-size: 13px;

    outline: none;

    transition: .2s ease;
}

.candidature-form-group textarea {
    min-height: 105px;

    resize: vertical;
}

.candidature-form-group input:focus,
.candidature-form-group textarea:focus,
.candidature-form-group select:focus {
    border-color: #087f49;

    box-shadow:
        0 0 0 3px rgba(8,127,73,.08);
}

.candidature-file {
    padding: 9px !important;

    background: #f8faf9 !important;
}

.candidature-submit {
    width: 100%;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 5px;

    padding: 12px 18px;

    border: 0;

    border-radius: 10px;

    background: #087f49;

    color: #fff;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: .25s ease;
}

.candidature-submit:hover {
    background: #056b3d;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(8,127,73,.20);
}

.candidature-help {
    margin-top: 12px;

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   ALERTES
========================================================= */

.offre-alert {
    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 13px;

    line-height: 1.6;
}

.offre-alert-success {
    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    color: #047857;
}

.offre-alert-error {
    background: #fff1f2;

    border: 1px solid #fecdd3;

    color: #be123c;
}
/* =========================================================
   BREADCRUMB
========================================================= */

.offres-breadcrumb {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 10px;


    font-size: 14px;
}

.offres-breadcrumb a {
    color: #fff;

    text-decoration: none;

    transition: .2s ease;
}

.offres-breadcrumb a:hover {
       color: #f77f00;
}
.offres-breadcrumb span {
    color: #94a3b8;
}

.offres-breadcrumb strong {
    color: #f77f00;
    font-weight: 700;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .offre-detail-layout {
        grid-template-columns: 1fr;
    }

    .offre-application {
        position: static;
    }

}

@media (max-width: 650px) {

    .offre-detail-main {
        padding: 22px;
    }

    .offre-application-body {
        padding: 20px;
    }

    .offre-detail-hero {
        padding: 55px 0;
    }

    .offre-summary {
        grid-template-columns: 1fr;
    }

    .offre-summary-item {
        min-width: 0;
    }

}

