.careers-hero {
    background-image:
        linear-gradient(rgba(15, 32, 58, 0.65), rgba(15, 32, 58, 0.65)),
        url('/image/carrieres.webp');
    background-size: cover;
    background-position: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 38px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border: 2px solid #10284a;
    color: #10284a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3,
.contact-form-box h2 {
    color: #10284a;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-item p,
.contact-item a {
    color: #42536b;
    text-decoration: none;
}

.contact-form-box h2 {
    font-size: 2.3rem;
    font-style: italic;
}

.contact-form {
    margin-top: 25px;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 18px;
    padding: 15px 18px;
    border: 1px solid #d6dee8;
    border-radius: 6px;
    background: #fff;
    color: #10284a;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-map {
    max-width: 1100px;
    margin: 35px auto 0;
    border-radius: 8px;
    overflow: hidden;
}

.carrieres-image{
    flex:1;

    display:flex;
    justify-content:center;
    align-items:center;
}

.carrieres-image img{
    width:100%;
    max-width:600px;

    border-radius:24px;

    object-fit:cover;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.25);
}

/* =========================
   FAQ
========================= */

.faq-hero {
    background:
        linear-gradient(rgba(19, 35, 61, 0.78), rgba(40, 71, 109, 0.82)),
        url('/image/faq.webp');
    background-size: cover;
    background-position: center;
}

.faq-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #edf4fb 0%, #dfeaf5 100%);
}

.faq-container {
    max-width: 1250px;
    margin: auto;
}

.faq-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 45px 0;
}

.faq-tab {
    background: white;
    border: none;
    padding: 28px 20px;
    border-radius: 12px;
    color: var(--bleu-fonce);
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.faq-tab:hover,
.faq-tab.active {
    background: var(--bleu);
    color: white;
    transform: translateY(-4px);
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-category-title {
    background: var(--bleu-fonce);
    color: white;
    padding: 20px 26px;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 12px 12px 0 0;
}

.faq-item {
    background: white;
    border-bottom: 1px solid #cddbeb;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 22px 26px;
    color: var(--bleu-fonce);
    font-size: 1.05rem;
    font-weight: 900;
    text-align: left;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question span {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: var(--bleu-fonce);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
}

.faq-answer {
    display: none;
    padding: 0 26px 24px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question {
    color: var(--bleu);
}

.admin-row,
.admin-price-row {
    background: #eef4f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 18px;
    display: grid;
    gap: 12px;
}

.admin-row {
    grid-template-columns: 1fr auto auto;
    align-items: center;
}

.admin-price-row strong {
    color: #10284a;
    font-size: 1.05rem;
}

.admin-price-row button,
.admin-row button {
    background: var(--bleu);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}

.admin-price-row button:hover,
.admin-row button:hover {
    background: var(--bleu-fonce);
}

.admin-page {
    padding: 120px 30px 80px;
    background: linear-gradient(180deg, #edf4fb 0%, #dfeaf5 100%);
    min-height: 100vh;
}

.admin-header {
    max-width: 1300px;
    margin: 0 auto 35px;
}

.admin-header h1 {
    color: var(--bleu-fonce);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
}

.admin-header p {
    color: #4b5563;
    font-size: 18px;
}

.trails-admin-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trail-admin-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.trail-admin-card h3 {
    color: var(--bleu-fonce);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 18px;
}

.trail-admin-card h3 span {
    color: var(--bleu);
}

.trail-status-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.trail-status-row label {
    color: var(--bleu-fonce);
    font-weight: 800;
    font-size: 14px;
}

.trail-status-row select {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d9e7f5;
    color: var(--bleu-fonce);
    font-weight: 700;
}

.save-container {
    max-width: 1300px;
    margin: 45px auto 0;
    text-align: center;
}

.btn-save-all {
    background: var(--bleu);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 18px 45px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.admin-dashboard-info {
    margin-bottom: 25px;
    color: var(--bleu-fonce);
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dashboard-bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.btn-dashboard-logout {
    background: #dc2626;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-dashboard-logout:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

@media(max-width: 1000px) {
    .trails-admin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 650px) {
    .trails-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 900px) {
    .faq-tabs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 35px;
    }

    .contact-form-box h2 {
        font-size: 1.9rem;
    }
}

/* =========================================
   FAQ - DEMANDE DE CRÉDIT MALADIE
========================================= */

/* -----------------------------------------
   ONGLETS FAQ
----------------------------------------- */

.faq-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

/* Bouton crédit maladie centré sous les 3 autres */

.faq-tab[data-target="credit-maladie"] {
    grid-column: 2;
}


/* -----------------------------------------
   SECTION CRÉDIT MALADIE
----------------------------------------- */

#credit-maladie {
    max-width: 1100px;
    margin: 0 auto;
}


/* -----------------------------------------
   BLOC PRINCIPAL
----------------------------------------- */

.credit-maladie-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 8px 30px rgba(25, 48, 82, 0.12);
    border-top: 5px solid var(--turquoise);
}


/* -----------------------------------------
   TITRE
----------------------------------------- */

.credit-maladie-title {
    background: var(--bleu-fonce);
    color: white;
    padding: 18px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}


/* -----------------------------------------
   TEXTE INTRODUCTION
----------------------------------------- */

.credit-maladie-intro {
    margin-bottom: 30px;
}

.credit-maladie-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--bleu-fonce);
    margin-bottom: 12px;
}


/* -----------------------------------------
   SOUS-TITRES
----------------------------------------- */

.credit-maladie-content h3 {
    color: var(--bleu-fonce);
    font-size: 18px;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}


/* -----------------------------------------
   LISTES
----------------------------------------- */

.credit-maladie-content ul {
    padding-left: 25px;
    margin-bottom: 30px;
}

.credit-maladie-content li {
    color: #43546d;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 7px;
}


/* =========================================
   TABLEAU DE CRÉDIT
========================================= */

.credit-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.credit-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: white;
}

.credit-table thead {
    background: var(--bleu-fonce);
    color: white;
}

.credit-table th {
    padding: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.credit-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid #e5e9f0;
    color: #3d4b60;
    font-size: 15px;
}

.credit-table tbody tr {
    transition: 0.2s ease;
}

.credit-table tbody tr:hover {
    background: rgba(0, 173, 181, 0.06);
}

.credit-table tbody tr:last-child td {
    border-bottom: none;
}


/* Première colonne */

.credit-table td:first-child {
    font-weight: 600;
    color: var(--bleu-fonce);
}


/* Dernière ligne */

.credit-table .no-credit {
    font-weight: 700;
    color: var(--bleu-fonce);
}


/* =========================================
   FORMULAIRE
========================================= */

.credit-form {
    margin-top: 40px;
    padding: 35px;
    background: #f7f9fc;
    border-radius: 16px;
    border: 1px solid #e3e8ef;
}


/* Titre formulaire */

.credit-form-title {
    color: var(--bleu-fonce);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 30px;
}


/* -----------------------------------------
   GRILLE FORMULAIRE
----------------------------------------- */

.credit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}


/* Champ pleine largeur */

.credit-form-full {
    grid-column: 1 / -1;
}


/* -----------------------------------------
   LABELS
----------------------------------------- */

.credit-form label {
    display: block;
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}


/* -----------------------------------------
   INPUTS
----------------------------------------- */

.credit-form input[type="text"],
.credit-form input[type="email"],
.credit-form input[type="tel"],
.credit-form textarea,
.credit-form select {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #ccd5e0;
    border-radius: 8px;

    background: white;

    color: var(--bleu-fonce);

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.credit-form input:focus,
.credit-form textarea:focus,
.credit-form select:focus {
    outline: none;

    border-color: var(--turquoise);

    box-shadow:
        0 0 0 3px rgba(0, 173, 181, 0.12);
}


/* -----------------------------------------
   TEXTAREA
----------------------------------------- */

.credit-form textarea {
    min-height: 150px;
    resize: vertical;
}


/* =========================================
   CASES À COCHER
========================================= */

.credit-checkbox-section {
    margin: 30px 0;
}

.credit-checkbox-section > label:first-child {
    font-size: 16px;
    margin-bottom: 15px;
}


/* Chaque choix */

.credit-checkbox {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    background: white;

    border: 1px solid #e0e6ee;

    border-radius: 8px;

    margin-bottom: 10px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.credit-checkbox:hover {
    background: rgba(0, 173, 181, 0.05);
    border-color: var(--turquoise);
}

.credit-checkbox input {
    width: 18px;
    height: 18px;

    accent-color: var(--turquoise);

    cursor: pointer;
}

.credit-checkbox span {
    color: var(--bleu-fonce);
    font-size: 15px;
}


/* =========================================
   OPTIONS CRÉDIT / REMBOURSEMENT
========================================= */

.credit-options {
    margin: 30px 0;
}

.credit-option {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 15px;

    background: white;

    border-radius: 8px;

    border: 1px solid #e0e6ee;

    margin-bottom: 10px;

    cursor: pointer;

    transition: 0.2s ease;
}

.credit-option:hover {
    border-color: var(--turquoise);
    background: rgba(0, 173, 181, 0.05);
}

.credit-option input {
    margin-top: 3px;

    width: 18px;
    height: 18px;

    accent-color: var(--turquoise);
}

.credit-option span {
    color: var(--bleu-fonce);
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================
   IMPORTANT
========================================= */

.credit-important {
    margin: 30px 0;

    padding: 25px;

    background: rgba(0, 173, 181, 0.08);

    border-left: 5px solid var(--turquoise);

    border-radius: 10px;
}

.credit-important h3 {
    margin-top: 0;
}

.credit-important ul {
    margin-bottom: 0;
}


/* =========================================
   FICHIER MÉDICAL
========================================= */

.credit-file-section {
    margin-top: 30px;
}

.credit-form input[type="file"] {
    width: 100%;

    box-sizing: border-box;

    padding: 12px;

    background: white;

    border: 1px dashed #b9c5d4;

    border-radius: 8px;

    cursor: pointer;
}


/* =========================================
   BOUTON ENVOYER
========================================= */

.credit-form button[type="submit"] {
    display: block;

    width: 100%;

    margin-top: 30px;

    padding: 16px 25px;

    border: none;
    border-radius: 8px;

    background: var(--bleu-fonce);

    color: white;

    font-size: 16px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.credit-form button[type="submit"]:hover {
    background: var(--turquoise);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 173, 181, 0.25);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    /* Onglets */

    .faq-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .faq-tab[data-target="credit-maladie"] {
        grid-column: auto;
    }


    /* Contenu */

    .credit-maladie-content {
        padding: 25px 18px;
        border-radius: 12px;
    }

    .credit-maladie-title {
        font-size: 18px;
        padding: 15px;
    }

    .credit-maladie-intro p {
        font-size: 14px;
    }


    /* Formulaire */

    .credit-form {
        padding: 20px 15px;
    }

    .credit-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .credit-form-title {
        font-size: 19px;
    }


    /* Tableau */

    .credit-table th,
    .credit-table td {
        padding: 10px;
        font-size: 13px;
    }

}

/* =========================================
   MESSAGES FORMULAIRES
========================================= */

.form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    animation: messageAppear 0.4s ease;
}

.form-success {
    background: #e8f7ee;
    color: #1d7a46;
    border: 1px solid #b8e5c8;
}

.form-error {
    background: #fdeaea;
    color: #a52a2a;
    border: 1px solid #f3baba;
}

@keyframes messageAppear {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================
   CARTES EMPLOIS
========================================= */

.career-card {
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.career-card .career-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}


/* =========================================
   MODAL EMPLOI
========================================= */

.job-modal {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    z-index: 9999;
}


.job-modal.active {
    display: flex;
}


.job-modal-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(12, 25, 45, 0.75);

    backdrop-filter: blur(5px);
}


/* =========================================
   CONTENU DU POPUP
========================================= */

.job-modal-content {
    position: relative;

    width: 100%;
    max-width: 950px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 20px;

    z-index: 2;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    animation: jobModalOpen 0.3s ease;
}


@keyframes jobModalOpen {

    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================
   IMAGE
========================================= */

.job-modal-image {
    width: 100%;
    height: 300px;

    overflow: hidden;

    border-radius: 20px 20px 0 0;
}


.job-modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
   CONTENU
========================================= */

.job-modal-body {
    padding: 45px;
}


.job-modal-body h2 {
    margin-top: 10px;
    margin-bottom: 20px;

    font-size: 2.2rem;

    color: #1d2e49;
}


.career-department {
    display: inline-block;

    font-weight: 700;

    letter-spacing: 1px;

    color: #1595aa;

    text-transform: uppercase;
}


.job-modal-summary {
    font-size: 1.1rem;

    line-height: 1.7;

    color: #596579;

    margin-bottom: 35px;
}


/* =========================================
   DÉTAILS DU POSTE
========================================= */

.job-details {
    margin-top: 25px;
}


.job-details h3 {
    font-size: 1.1rem;

    font-weight: 800;

    color: #1d2e49;

    margin-bottom: 20px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* LISTE AVEC PETITS POINTS */

.job-description-list {
    margin: 0;
    padding-left: 25px;

    color: #596579;
}


.job-description-list li {
    font-size: 1.05rem;

    line-height: 1.7;

    margin-bottom: 8px;

    padding-left: 5px;
}


.job-description-list li::marker {
    color: #1d2e49;
}


/* =========================================
   BOUTON FERMER
========================================= */

.job-modal-close {
    position: absolute;

    top: 15px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #1d2e49;

    font-size: 2rem;

    cursor: pointer;

    z-index: 5;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.15);

    transition: 0.2s;
}


.job-modal-close:hover {
    transform: rotate(90deg);

    background: #1d2e49;

    color: white;
}


/* =========================================
   ACTIONS
========================================= */

.job-modal-actions {
    display: flex;

    gap: 15px;

    margin-top: 40px;

    flex-wrap: wrap;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .job-modal {
        padding: 15px;
    }

    .job-modal-body {
        padding: 30px 22px;
    }

    .job-modal-body h2 {
        font-size: 1.7rem;
    }

    .job-modal-image {
        height: 220px;
    }

    .job-description-list li {
        font-size: 1rem;
    }

}

.career-description-list {
    margin: 20px 0;
    padding-left: 22px;

    color: #596579;
}

.career-description-list li {
    margin-bottom: 8px;

    line-height: 1.5;

    font-size: 0.95rem;
}

.career-description-list li::marker {
    color: #243650;
}

.form-success-message {

    max-width: 900px;

    margin: 20px auto 30px;

    padding: 18px 22px;

    background: #e8f7ed;

    border-left: 5px solid #2e9b57;

    border-radius: 8px;

    color: #1e6b3a;

    font-size: 16px;

    line-height: 1.6;

}


.form-error-message {

    max-width: 900px;

    margin: 20px auto 30px;

    padding: 18px 22px;

    background: #fdeaea;

    border-left: 5px solid #c53030;

    border-radius: 8px;

    color: #9b2020;

    font-size: 16px;

    line-height: 1.6;

}

#credit-maladie {
    scroll-margin-top: 140px;
}