

/* === CONTENEUR === */
.offre-container {
    max-width: 900px;
    margin: 70px auto 60px;
    padding: 10px 30px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* === ENTÊTE === */
.offre-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.offre-header .logo img {
    height: 70px;
}

/* === TITRE PRINCIPAL === */
.offre-title {
    background: var(--main-color, #002f6c);
    border: 5px solid #002f6c;
    text-align: center;
    padding: 12px 0;
    margin: 25px 0;
}

.offre-title h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
}

/* === INTRODUCTION === */
.offre-intro {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* === META === */
.offre-meta {
    background: #f5f5f5;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-left: 4px solid var(--main-color, #002f6c);
}

.offre-meta p {
    margin: 5px 0;
}

/* === SECTIONS === */
.offre-section {
    margin-bottom: 25px;
}

.offre-section h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-decoration: underline;
}

.offre-section ul {
    margin-left: 20px;
    list-style: disc;
}

.offre-section dl dt {
    font-weight: bold;
    margin-top: 8px;
}

.offre-section dl dd {
    margin-left: 15px;
    margin-bottom: 5px;
}

/* === DATE LIMITE === */
.offre-deadline {
    background: #ffecec;
    border: 1px solid #ffb3b3;
    padding: 12px;
    margin: 25px 0;
    font-weight: bold;
    color: #a00;
}

/* === CANDIDATURE === */
.candidature {
    border: 2px solid var(--main-color, #002f6c);
    padding: 15px;
    background: #f9f9f9;
}

.candidature .note {
    font-style: italic;
    color: #555;
}

/* === FOOTER === */
.offre-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 12px 0;
    font-size: 0.8rem;
    color: var(--main-color, #002f6c);
    background: #fff;
}

/* Colonnes */
.offre-footer .footer-col {
    flex: 1;
    padding: 0 15px;
}

.offre-footer .footer-col:not(:last-child) {
    border-right: 1px solid #ccc;
}

.offre-footer .footer-col p {
    margin: 3px 0;
    line-height: 1.4;
}

/* Bloc mentions légales */
.footer-legales {
    position: relative;
    flex: 1.6;
    padding-left: 45px;
}

.footer-legales .blue-bar {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* ✅ centré verticalement */
    width: 8px;
    height: 35px;
    /* ✅ plus discret */
    background: var(--main-color, #002f6c);
    border-radius: 2px;
}

.footer-legales .mentions-legales {
    margin: 0;
    white-space: nowrap;
    /* ✅ tout sur une seule ligne */
    font-size: 0.75rem;
}

/* Bloc contacts */
.footer-contacts {
    text-align: center;
}

.footer-contacts p {
    margin: 3px 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Bloc adresse */
.footer-adresse {
    flex: 1.3;
    white-space: normal;
    word-break: break-word;
    text-align: right;
}

.footer-adresse p {
    margin: 3px 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Bouton postuler*/
.postuler-wrapper {
    text-align: center;
    margin: 30px 0 60px;
}

.btn-postuler {
    display: inline-block;
    background:  #fff;
    color: var(--main-color, #fff);
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid var(--main-color, #002f6c);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-postuler:hover {
    background: #002f6c;
    border: 2px solid  #002f6c;
    color: #fff;
}
