body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
  }
  
  .container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  /* Lien retour vers l’archive */
  .offer-back-link {
    display: inline-flex;
    align-items: center;
    margin: 0 0 20px;
    font-size: 0.9em;
    color: #5a6270;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .offer-back-link::before {
    content: "←";
    margin-right: 8px;
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .offer-back-link:hover {
    color: #2f3542;
  }

  .offer-back-link:hover::before {
    transform: translateX(-3px);
  }

  .offer-layout {
    display: flex;
    gap: 40px;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    align-items: stretch;
    min-height: 400px;
  }
  
  .offer-summary {
    background-color: #2f3542;
    color: white;
    padding: 30px;
    border-radius: 8px;
    flex: 0 0 300px;

    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    text-align: left;
  }
  
  .offer-summary h2 {
    margin-top: 0;
    font-size: 1.4em;
    margin-bottom: 20px;
  }
  
  .offer-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
  }
  
  .offer-summary li {
    margin-bottom: 15px;
    line-height: 1.5;
  }
  
  .offer-summary strong {
    display: block;
    font-weight: bold;
  }
  
  /* Parcours candidat — 4 étapes (single-offre) */
  .offer-steps {
    margin: 40px 0 0;
    padding: 48px 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .offer-steps__title {
    margin: 0 0 36px;
    font-size: 1.6em;
    line-height: 1.3;
    color: #2f3542;
    font-weight: 700;
    text-align: center;
  }

  .offer-steps__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: offer-step;
  }

  .offer-steps__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 20px;
    background-color: #f8f9fb;
    border-radius: 8px;
    border-top: 3px solid #00a8ff;
  }

  /* Flèche entre les étapes (desktop) */
  .offer-steps__item:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    color: #c4cad3;
    font-size: 1.4em;
    font-weight: 700;
    pointer-events: none;
  }

  .offer-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    background-color: #2f3542;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1em;
  }

  .offer-steps__item-title {
    margin: 0 0 8px;
    font-size: 1.05em;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.3;
  }

  .offer-steps__item-desc {
    margin: 0;
    font-size: 0.92em;
    line-height: 1.55;
    color: #5a6270;
  }

  @media (max-width: 1024px) {
    .offer-steps__list {
      grid-template-columns: repeat(2, 1fr);
    }

    /* Flèche horizontale entre colonnes ; cachée pour les items en fin de ligne */
    .offer-steps__item:nth-child(2n)::after {
      display: none;
    }
  }

  @media (max-width: 640px) {
    .offer-steps {
      padding: 32px 22px;
    }

    .offer-steps__title {
      font-size: 1.3em;
      margin-bottom: 28px;
    }

    .offer-steps__list {
      grid-template-columns: 1fr;
      gap: 18px;
    }

    /* Flèche verticale entre étapes en colonne */
    .offer-steps__item:not(:last-child)::after {
      content: "↓";
      top: auto;
      bottom: -22px;
      right: 50%;
      transform: translateX(50%);
      display: block;
    }
  }

  /* Section formulaire de candidature */
  .offer-form {
    margin: 40px 0 0;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 80px;
  }

  .offer-form__title {
    margin: 0 0 12px;
    font-size: 1.6em;
    color: #2f3542;
    font-weight: 700;
    line-height: 1.3;
  }

  .offer-form__ref {
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eceef1;
    color: #5a6270;
    font-size: 0.95em;
  }

  .offer-form__ref strong {
    color: #2f3542;
    margin-right: 6px;
  }

  /* Champs CF7 — version soignée */

  /* CF7 wrappe chaque champ dans un <p> par défaut → espacement vertical */
  .offer-form .wpcf7-form p {
    margin: 0 0 32px;
    line-height: 1.5;
  }

  /* UACF7 (Ultimate Addons for CF7) — espacement vertical des rows */
  .offer-form .uacf7-row {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .offer-form .uacf7-row:first-child {
    margin-top: 0;
  }

  .offer-form .uacf7-row:last-child {
    margin-bottom: 0;
  }

  .offer-form .wpcf7-form p:last-of-type {
    margin-bottom: 0;
  }

  /* Labels (texte au-dessus du champ) */
  .offer-form .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2f3542;
    font-size: 0.92em;
  }

  /* Inputs / textareas / selects */
  .offer-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e3e8;
    border-radius: 6px;
    background-color: #fff;
    color: #2f3542;
    font-size: 1em;
    font-family: inherit;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .offer-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"])::placeholder {
    color: #9aa3b1;
  }

  .offer-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover {
    border-color: #c4cad3;
  }

  .offer-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
  }

  /* Textarea — hauteur confortable, redimensionnement vertical seulement */
  .offer-form textarea.wpcf7-form-control {
    min-height: 140px;
    resize: vertical;
  }

  /* Champ file (upload CV) — neutralisation de l'apparence native */
  .offer-form .wpcf7-form-control[type="file"] {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1px dashed #c4cad3;
    border-radius: 6px;
    background-color: #f8f9fb;
    color: #5a6270;
    font-size: 0.92em;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .offer-form .wpcf7-form-control[type="file"]:hover {
    border-color: #00a8ff;
    background-color: #fff;
  }

  /* Cases à cocher / radios */
  .offer-form .wpcf7-checkbox,
  .offer-form .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .offer-form .wpcf7-list-item {
    margin: 0;
  }

  .offer-form .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-weight: 400;
    color: #2f3542;
    cursor: pointer;
  }

  /* Bouton submit — cohérent avec la charte */
  .offer-form .wpcf7-submit {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 32px;
    background-color: #00a8ff;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  }

  .offer-form .wpcf7-submit:hover {
    background-color: #0086d1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 168, 255, 0.35);
  }

  .offer-form .wpcf7-submit:focus-visible {
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.25), 0 0 0 3px rgba(0, 168, 255, 0.3);
  }

  .offer-form .wpcf7-submit:disabled,
  .offer-form .wpcf7-spinner ~ .wpcf7-submit {
    opacity: 0.7;
    cursor: not-allowed;
  }

  /* Spinner CF7 (loader pendant l'envoi) */
  .offer-form .wpcf7-spinner {
    margin-left: 12px;
    vertical-align: middle;
  }

  /* Messages de validation / réponse */
  .offer-form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.95em;
    line-height: 1.5;
  }

  .offer-form .wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #b7e1c3;
    background-color: #ecf8f0;
    color: #1f7a3a;
  }

  .offer-form .wpcf7 form.invalid .wpcf7-response-output,
  .offer-form .wpcf7 form.unaccepted .wpcf7-response-output,
  .offer-form .wpcf7 form.failed .wpcf7-response-output {
    border: 1px solid #f3c5c5;
    background-color: #fdecec;
    color: #b03030;
  }

  .offer-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #b03030;
    font-size: 0.85em;
  }

  @media (max-width: 768px) {
    .offer-form {
      padding: 24px;
    }

    .offer-form__title {
      font-size: 1.3em;
    }
  }

  /* Bloc candidature spontanée (archive) */
  .offer-spontaneous {
    margin-top: 60px;
  }

  .offer-spontaneous__cta {
    padding: 48px 32px;
    background: linear-gradient(135deg, #2f3542 0%, #3d4452 100%);
    border-radius: 8px;
    text-align: center;
    color: #fff;
  }

  .offer-spontaneous__title {
    margin: 0 0 14px;
    font-size: 1.8em;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
  }

  .offer-spontaneous__hook {
    margin: 0 auto 28px;
    max-width: 640px;
    font-size: 1.05em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
  }

  .offer-spontaneous__btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #00a8ff;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.3);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  }

  .offer-spontaneous__btn:hover,
  .offer-spontaneous__btn:focus-visible {
    background-color: #0086d1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 168, 255, 0.4);
    outline: none;
  }

  .offer-spontaneous__btn:focus-visible {
    box-shadow: 0 6px 18px rgba(0, 168, 255, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.6);
  }

  .offer-spontaneous__form {
    margin-top: 32px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 80px;
  }

  /* Hérite des styles CF7 de .offer-form (mêmes inputs / submit / messages) */
  .offer-spontaneous__form .wpcf7-form p {
    margin: 0 0 32px;
    line-height: 1.5;
  }

  .offer-spontaneous__form .wpcf7-form p:last-of-type {
    margin-bottom: 0;
  }

  .offer-spontaneous__form .uacf7-row {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .offer-spontaneous__form .uacf7-row:first-child {
    margin-top: 0;
  }

  .offer-spontaneous__form .uacf7-row:last-child {
    margin-bottom: 0;
  }

  .offer-spontaneous__form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e3e8;
    border-radius: 6px;
    background-color: #fff;
    color: #2f3542;
    font-size: 1em;
    font-family: inherit;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .offer-spontaneous__form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
  }

  .offer-spontaneous__form .wpcf7-submit {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 32px;
    background-color: #00a8ff;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  }

  .offer-spontaneous__form .wpcf7-submit:hover {
    background-color: #0086d1;
    transform: translateY(-1px);
  }

  @media (max-width: 768px) {
    .offer-spontaneous__cta {
      padding: 36px 22px;
    }

    .offer-spontaneous__title {
      font-size: 1.4em;
    }

    .offer-spontaneous__hook {
      font-size: 1em;
    }

    .offer-spontaneous__form {
      padding: 24px;
    }
  }

  /* Bouton Candidature spontanée flottant (archive-offre) */
  .offer-spontaneous-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    background-color: #2f3542;
    color: #fff;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(47, 53, 66, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .offer-spontaneous-fab:hover,
  .offer-spontaneous-fab:focus-visible {
    background-color: #3d4452;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(47, 53, 66, 0.45);
    outline: none;
  }

  .offer-spontaneous-fab:focus-visible {
    box-shadow: 0 10px 26px rgba(47, 53, 66, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.6);
  }

  @media (max-width: 768px) {
    .offer-spontaneous-fab {
      left: 0;
      right: 0;
      bottom: 0;
      padding: 16px 20px;
      border-radius: 0;
      box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.12);
    }

    .offer-spontaneous-fab:hover,
    .offer-spontaneous-fab:focus-visible {
      transform: none;
    }

    /* Compense la hauteur du bandeau fixe pour ne pas masquer le bas du contenu */
    body.post-type-archive-offre {
      padding-bottom: 72px;
    }
  }

  /* Scroll smooth vers la cible quand on clique sur le FAB */
  #candidature-spontanee {
    scroll-margin-top: 80px;
  }

  /* Bouton Postuler flottant (single-offre) */
  .offer-apply-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    background-color: #00a8ff;
    color: #fff;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .offer-apply-fab:hover,
  .offer-apply-fab:focus-visible {
    background-color: #0086d1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 168, 255, 0.45);
    outline: none;
  }

  .offer-apply-fab:focus-visible {
    box-shadow: 0 10px 26px rgba(0, 168, 255, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.6);
  }

  @media (max-width: 768px) {
    .offer-apply-fab {
      left: 0;
      right: 0;
      bottom: 0;
      transform: none;
      padding: 16px 20px;
      border-radius: 0;
      box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.12);
    }

    .offer-apply-fab:hover,
    .offer-apply-fab:focus-visible {
      transform: none;
    }

    /* Compense la hauteur du bandeau fixe pour ne pas masquer le bas du contenu */
    body.single-offre {
      padding-bottom: 72px;
    }
  }

  /* Signature référent (sidebar) */
  .offer-referent {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .offer-referent__photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .offer-referent__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .offer-referent__label {
    margin: 0 0 4px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
  }

  .offer-referent__name {
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
  }

  .offer-referent__role {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
  }

  .offer-referent__phone,
  .offer-referent__email {
    font-size: 0.85em;
    color: #00a8ff;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
  }

  .offer-referent__phone:hover,
  .offer-referent__email:hover {
    color: #fff;
    text-decoration: underline;
  }

  .btn {
    display: inline-block;
    background-color: #00a8ff;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #0086d1;
  }
  
  .offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
  }
  
  .offer-content h1 {
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 20px;
  }
  
  .offer-content p {
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  /* Responsive basique */
  @media (max-width: 768px) {
    .offer-layout {
      flex-direction: column;
      min-height: auto;
    }

    .offer-summary {
      flex: none;
      width: 100%;
      margin-bottom: 30px;
    }

    .offer-content {
      padding-top: 0;
    }
  }

  /* =========================================================
     Archive Offres — liste épurée (inspirée Reflex)
     ========================================================= */

  /* Hero archive */
  .offer-hero {
    margin: 0 0 40px;
    padding: 56px 32px;
    background: linear-gradient(135deg, #2f3542 0%, #3d4452 100%);
    border-radius: 8px;
    text-align: center;
    color: #fff;
  }

  .offer-hero__title {
    margin: 0 0 18px;
    font-size: 2.2em;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  .offer-hero__subtitle {
    margin: 0 auto;
    max-width: 680px;
    font-size: 1.1em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
  }

  @media (max-width: 768px) {
    .offer-hero {
      padding: 40px 22px;
      margin-bottom: 28px;
    }

    .offer-hero__title {
      font-size: 1.6em;
    }

    .offer-hero__subtitle {
      font-size: 1em;
    }
  }

  /* Barre de filtres */
  .offer-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    padding: 20px;
    margin: 0 0 18px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .offer-filters__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    flex: 1 1 180px;
  }

  .offer-filters__field label {
    font-size: 0.85em;
    font-weight: 600;
    color: #2f3542;
  }

  .offer-filters select,
  .offer-filters input[type="text"] {
    padding: 10px 12px;
    border: 1px solid #e0e3e8;
    border-radius: 4px;
    background-color: #fff;
    color: #2f3542;
    font-size: 0.95em;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .offer-filters select:focus,
  .offer-filters input[type="text"]:focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
  }

  .offer-filters__reset {
    flex: 0 0 auto;
    align-self: flex-end;
    background-color: transparent;
    color: #5a6270;
    border: 1px solid #e0e3e8;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .offer-filters__reset:hover {
    color: #2f3542;
    border-color: #2f3542;
  }

  /* Compteur de résultats */
  .offer-results-count {
    margin: 0 0 14px;
    font-size: 0.9em;
    color: #5a6270;
    min-height: 1.2em;
  }

  /* État de chargement de la liste */
  .offer-list.is-loading,
  .offer-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }

  /* Toggle liste / cartes */
  .offer-view-toggle {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin: 0 0 18px;
  }

  .offer-view-toggle__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #eceef1;
    border-radius: 4px;
    color: #5a6270;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .offer-view-toggle__btn:hover {
    color: #2f3542;
    border-color: #d6dae0;
  }

  .offer-view-toggle__btn.is-active {
    background-color: #2f3542;
    color: #fff;
    border-color: #2f3542;
  }

  .offer-view-toggle__btn svg {
    width: 18px;
    height: 18px;
  }

  .offer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  /* Vue cartes */
  .offer-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .offer-grid .offer-item {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 24px;
    background-color: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }

  .offer-grid .offer-item:hover {
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
  }

  .offer-grid .offer-item__title {
    flex: 0 0 auto;
    font-size: 1.2em;
  }

  .offer-grid .offer-item__meta {
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
  }

  .offer-grid .btn-view-offer {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    margin-top: auto;
  }

  .offer-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border-bottom: 1px solid #eceef1;
    transition: background-color 0.2s ease;
  }

  .offer-item:last-child {
    border-bottom: 0;
  }

  .offer-item:hover {
    background-color: #f8f9fb;
  }

  .offer-item__title {
    flex: 1 1 220px;
    margin: 0;
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.3;
  }

  .offer-item__title a {
    color: #2f3542;
    text-decoration: none;
  }

  .offer-item__title a:hover {
    color: #00a8ff;
  }

  .offer-item__meta {
    flex: 2 1 380px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 0.9em;
    color: #5a6270;
  }

  .offer-item__meta li {
    margin: 0;
  }

  .offer-item__meta strong {
    color: #2f3542;
    font-weight: 600;
    margin-right: 4px;
  }

  /* Badges taxonomies (type-contrat, secteur-activite) */
  .offer-item__badges {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .offer-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
  }

  .offer-badge--contrat {
    background-color: #00a8ff;
  }

  .offer-badge--secteur {
    background-color: #2f3542;
  }

  .btn-view-offer {
    flex: 0 0 auto;
    background-color: transparent;
    color: #00a8ff;
    border: 2px solid #00a8ff;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .btn-view-offer:hover {
    background-color: #00a8ff;
    color: #fff;
  }

  /* Pagination */
  .offer-pagination {
    margin: 24px 0 0;
    text-align: center;
    min-height: 1px;
  }

  .offer-pagination .page-numbers {
    display: inline-block;
    margin: 4px;
    padding: 8px 14px;
    color: #2f3542;
    text-decoration: none;
    border: 1px solid #eceef1;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .offer-pagination a.page-numbers:hover {
    border-color: #2f3542;
  }

  .offer-pagination .page-numbers.current {
    background-color: #2f3542;
    color: #fff;
    border-color: #2f3542;
  }

  .offer-pagination .page-numbers.dots {
    border: 0;
    background: transparent;
  }

  /* Responsive archive — vue liste compactée (la grille garde ses propres styles) */
  @media (max-width: 768px) {
    .offer-list .offer-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      padding: 12px 14px;
    }

    .offer-list .offer-item__title {
      font-size: 1em;
    }

    .offer-list .offer-item__meta {
      flex-direction: column;
      gap: 2px;
      font-size: 0.82em;
    }

    .offer-list .offer-item__badges {
      gap: 4px;
    }

    .offer-list .offer-badge {
      padding: 2px 8px;
      font-size: 9px;
    }

    .offer-list .btn-view-offer {
      width: 100%;
      padding: 8px 14px;
      font-size: 0.9em;
      text-align: center;
    }
  }
