/* =====================================================================
   MedCare — Socle des pages interieures
   Reprend l'identite de l'accueil : fond papier + quadrillage,
   accent serif (Fraunces italique), numerotation, navy + turquoise.
   ===================================================================== */

:root {
  --pg-paper: #F7F6F1;
  --pg-ink: #10222F;
  --pg-navy: #0F2A3D;
  --pg-mint: #BDEDE5;
  --pg-line: rgba(16, 34, 47, .12);
  --pg-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---------- Bandeau de page ---------- */
.pg-hero {
  position: relative; overflow: hidden;
  background: var(--pg-paper);
  border-bottom: 1px solid var(--pg-line);
  padding: 28px 0 clamp(36px, 5vw, 56px);
}
.pg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--pg-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pg-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 5%, transparent 70%);
  opacity: .6;
}
.pg-hero > .container-xl { position: relative; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.pg-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-dark);
}
.pg-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); }
.pg-title {
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--pg-ink); margin: 12px 0 12px; max-width: 820px;
}
.pg-title em, .pg-h2 em {
  font-family: var(--pg-serif); font-style: italic; font-weight: 500; color: var(--primary); letter-spacing: -0.02em;
}
.pg-lead { font-size: 1.08rem; line-height: 1.6; color: var(--text-secondary); max-width: 640px; margin: 0; }
.pg-hero-stat {
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
  padding-left: 28px; border-left: 1px solid var(--pg-line);
}
.pg-hero-stat strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--pg-navy); }
.pg-hero-stat span { color: var(--text-secondary); font-size: .9rem; margin-top: 6px; }

/* Fil d'Ariane */
.breadcrumb-mc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .84rem; color: var(--text-secondary); margin: 0; }
.breadcrumb-mc a { color: var(--text-secondary); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.breadcrumb-mc a:hover { color: var(--primary-dark); text-decoration-color: currentColor; }
.breadcrumb-mc span[aria-current] { color: var(--pg-ink); font-weight: 600; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb-mc .bi { font-size: .65rem; opacity: .6; }

/* ---------- Sections ---------- */
.pg-section { padding: clamp(40px, 6vw, 72px) 0; }
.pg-section-soft { background: var(--pg-paper); }
.pg-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; }
.pg-head-split { justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.pg-index {
  display: inline-block; font-family: var(--pg-serif); font-style: italic; font-size: 1.05rem; color: var(--primary);
  border-top: 2px solid currentColor; padding-top: 5px; min-width: 40px; margin-top: 6px;
}
.pg-h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.12; color: var(--pg-ink); margin: 0 0 6px; }
.pg-sub { color: var(--text-secondary); margin: 0; }

/* ---------- Boutons ---------- */
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; white-space: nowrap; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.pg-btn:hover { transform: translateY(-1px); }
.pg-btn:active { transform: none; }
.pg-btn i { transition: transform .2s ease; }
.pg-btn:hover .bi-arrow-right { transform: translateX(3px); }
.pg-btn-primary { background: var(--primary); color: #fff; }
.pg-btn-primary:hover { background: var(--pg-navy); color: #fff; }
.pg-btn-navy { background: var(--pg-navy); color: #fff; }
.pg-btn-navy:hover { background: var(--primary); color: #fff; }
.pg-btn-outline { border-color: var(--pg-ink); color: var(--pg-ink); background: transparent; }
.pg-btn-outline:hover { background: var(--pg-ink); color: #fff; }
.pg-btn-soft { background: var(--surface); color: var(--pg-navy); }
.pg-btn-soft:hover { background: var(--pg-mint); color: var(--pg-navy); }
.pg-btn-block { width: 100%; }
.pg-btn-sm { height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 10px; }

/* ---------- Cartes ---------- */
.pg-card {
  background: #fff; border: 1px solid var(--pg-line); border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
}
.pg-card-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--pg-ink); margin: 0 0 14px; }
.pg-card-title i {
  width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center;
  background: var(--surface); color: var(--primary); font-size: 1rem;
}

/* ---------- Formulaires (socle commun, y compris espaces connectes) ---------- */
.form-floating-card {
  background: #fff; border: 1px solid var(--pg-line); border-radius: 20px;
  padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 40px -28px rgba(15, 42, 61, .3);
}
.form-label { color: var(--pg-ink); }
.form-control, .form-select { border-color: var(--pg-line); min-height: 46px; color: var(--pg-ink); }
.form-control.rounded-pill, .form-select.rounded-pill, .form-control.rounded-3 { border-radius: 12px !important; }
textarea.form-control { min-height: 120px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(23, 163, 152, .14); }
.form-control::placeholder { color: #8A989F; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* ---------- Etat vide ---------- */
.pg-empty {
  text-align: center; padding: 48px 24px; border: 1.5px dashed var(--pg-line); border-radius: 20px; background: #fff;
}
.pg-empty > i {
  width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center;
  background: var(--surface); color: var(--primary); font-size: 1.5rem; margin-bottom: 14px;
}
.pg-empty h2 { font-size: 1.2rem; color: var(--pg-ink); margin-bottom: 6px; }
.pg-empty p { color: var(--text-secondary); max-width: 440px; margin: 0 auto 18px; }

/* ---------- Texte long (articles, pages legales) ---------- */
.pg-prose { font-size: 1.06rem; line-height: 1.8; color: #2A3C48; max-width: 720px; }
.pg-prose h2, .pg-prose h3 { color: var(--pg-ink); margin: 2em 0 .6em; line-height: 1.25; }
.pg-prose h2 { font-size: 1.5rem; }
.pg-prose h3 { font-size: 1.2rem; }
.pg-prose p { margin: 0 0 1.2em; }
.pg-prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.pg-prose ul, .pg-prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.pg-prose li { margin-bottom: .4em; }
.pg-prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary);
  font-family: var(--pg-serif); font-style: italic; font-size: 1.2rem; color: var(--pg-ink);
}
.pg-prose img { border-radius: 16px; max-width: 100%; height: auto; }

/* =====================================================================
   CARTE MISSION (partials/job-card.php) — format ligne
   ===================================================================== */
.jc {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--pg-line); border-radius: 18px; padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.jc:hover { border-color: rgba(23, 163, 152, .45); box-shadow: 0 18px 36px -24px rgba(15, 42, 61, .4); }
.jc-date {
  width: 64px; height: 70px; border-radius: 14px; background: var(--pg-paper); border: 1px solid var(--pg-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  border-top: 6px solid var(--primary);
}
.jc-date strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--pg-navy); }
.jc-date span { font-size: .7rem; font-weight: 800; text-transform: uppercase; color: var(--text-secondary); margin-top: 3px; }
.jc-date i { font-size: 1.3rem; color: var(--primary); }
.jc-body { min-width: 0; }
.jc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 4px; }
.jc-spec { font-size: .78rem; font-weight: 700; color: var(--primary-dark); display: inline-flex; gap: 5px; align-items: center; }
.jc-flag { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.jc-flag-urgent { background: #FFEDD5; color: #C2410C; }
.jc-flag-new { background: var(--surface); color: var(--primary-dark); }
.jc-title { font-size: 1.08rem; line-height: 1.3; margin: 0 0 6px; }
.jc-title a { color: var(--pg-ink); }
.jc-title a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; } /* toute la carte cliquable */
.jc-title a:hover { color: var(--primary-dark); }
.jc-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .86rem; color: var(--text-secondary); }
.jc-meta i { color: var(--primary); margin-right: 4px; }
.jc-perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jc-perk { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 7px; background: var(--pg-paper); color: var(--pg-navy); }
.jc-perk i { color: var(--primary); }
.jc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; position: relative; z-index: 1; }
.jc-pay { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--pg-navy); text-align: right; white-space: nowrap; }
.jc-pay small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--text-secondary); }
.jc-actions { display: flex; align-items: center; gap: 6px; }
.jc-fav {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--pg-line); background: #fff;
  color: var(--pg-navy); display: grid; place-items: center; transition: all .2s ease;
}
.jc-fav:hover { border-color: #E11D48; color: #E11D48; }
.jc-fav.active { background: #FFE4E6; border-color: #FFE4E6; color: #E11D48; }
.jc-go { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--pg-navy); color: #fff; font-weight: 700; font-size: .86rem; }
.jc-go:hover { background: var(--primary); color: #fff; }
.jc-list { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 767.98px) {
  .jc { grid-template-columns: 56px minmax(0, 1fr); padding: 16px; gap: 14px; }
  .jc-date { width: 56px; height: 62px; }
  .jc-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid var(--pg-line); padding-top: 12px; }
  .jc-pay { text-align: left; }
}

/* =====================================================================
   PAGE MISSIONS (/offres)
   ===================================================================== */
.of-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; }
.of-filters { position: sticky; top: calc(var(--header-height) + 12px); }
.of-filters-box { background: #fff; border: 1px solid var(--pg-line); border-radius: 20px; overflow: hidden; }
.of-filters-box > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; font-weight: 800; color: var(--pg-ink);
}
.of-filters-box > summary::-webkit-details-marker { display: none; }
.of-filters-box > summary .of-count { margin-left: 8px; }
.of-group { padding: 14px 18px; border-top: 1px solid var(--pg-line); }
.of-group-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
.of-search { position: relative; }
.of-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.of-search input { padding-left: 40px; }
.of-radio, .of-check { display: flex; flex-direction: column; gap: 2px; }
.of-radio label, .of-check label {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 9px; cursor: pointer; font-size: .93rem; color: var(--pg-ink);
}
.of-radio label:hover, .of-check label:hover { background: var(--pg-paper); }
.of-radio input, .of-check input { accent-color: var(--primary); width: 17px; height: 17px; }
.of-filters-foot { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--pg-line); background: var(--pg-paper); }
.of-filters-foot .pg-btn { flex: 1; }
.of-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--primary); color: #fff; font-size: .74rem; font-weight: 800; }

.of-results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.of-results-head p { margin: 0; color: var(--text-secondary); }
.of-results-head p strong { color: var(--pg-ink); }
.of-sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-secondary); }
.of-sort select { min-height: 38px; height: 38px; padding-top: 0; padding-bottom: 0; width: auto; font-size: .9rem; }
.of-active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.of-active a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px;
  background: var(--surface); color: var(--pg-navy); font-size: .84rem; font-weight: 600;
}
.of-active a:hover { background: var(--pg-mint); }
.of-active a i { font-size: .7rem; }

@media (min-width: 992px) {
  .of-filters-box > summary { pointer-events: none; }
  .of-filters-box > summary .bi-chevron-down { display: none; }
}
@media (max-width: 991.98px) {
  .of-layout { grid-template-columns: 1fr; }
  .of-filters { position: static; }
  .of-filters-box[open] > summary .bi-chevron-down { transform: rotate(180deg); }
}

/* =====================================================================
   DETAIL MISSION (/offres/{slug})
   ===================================================================== */
.jd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.jd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--pg-line); font-size: .84rem; font-weight: 700; color: var(--pg-navy); }
.jd-badge i { color: var(--primary); }
.jd-badge-urgent { background: #FFEDD5; border-color: #FFEDD5; color: #C2410C; }
.jd-badge-urgent i { color: #C2410C; }
.jd-badge-match { background: var(--pg-navy); border-color: var(--pg-navy); color: #fff; }
.jd-badge-match i { color: var(--accent); }
.jd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.jd-main { display: flex; flex-direction: column; gap: 18px; }
.jd-text { color: #2A3C48; line-height: 1.75; margin: 0; }
.jd-conditions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.jd-cond { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--pg-line); font-weight: 600; font-size: .92rem; }
.jd-cond i { font-size: 1.1rem; }
.jd-cond-yes { background: var(--surface); border-color: transparent; color: var(--pg-navy); }
.jd-cond-yes i { color: var(--primary); }
.jd-cond-no { color: var(--text-secondary); }
.jd-cond-no i { color: #B8C2C7; }
.jd-cond small { display: block; font-weight: 500; font-size: .76rem; color: var(--text-secondary); }

.jd-aside { position: sticky; top: calc(var(--header-height) + 12px); }
.jd-summary { background: var(--pg-navy); color: #fff; border-radius: 22px; overflow: hidden; }
.jd-summary-pay { padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.jd-summary-pay small { display: block; color: rgba(255,255,255,.6); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.jd-summary-pay strong { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: 4px; color: var(--accent); }
.jd-facts { list-style: none; margin: 0; padding: 8px 22px; }
.jd-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .9rem; }
.jd-facts li:last-child { border-bottom: 0; }
.jd-facts span { color: rgba(255,255,255,.6); }
.jd-facts strong { text-align: right; font-weight: 600; }
.jd-apply { background: #fff; color: var(--pg-ink); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.jd-apply textarea { min-height: 90px; }
.jd-apply .favorite-btn { position: static; width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--pg-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--pg-navy); }
.jd-apply .favorite-btn.active { background: #FFE4E6; border-color: #FFE4E6; color: #E11D48; }
.jd-applied { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: #DCFCE7; color: #166534; font-weight: 600; font-size: .92rem; }
.jd-help { font-size: .84rem; color: var(--text-secondary); text-align: center; margin: 4px 0 0; }
.jd-help a { color: var(--primary-dark); font-weight: 700; }

@media (max-width: 991.98px) {
  .jd-layout { grid-template-columns: 1fr; }
  .jd-aside { position: static; }
}
@media (max-width: 575.98px) {
  .jd-conditions { grid-template-columns: 1fr; }
}

/* =====================================================================
   SPECIALITES (/metiers)
   ===================================================================== */
.sp-search { position: relative; max-width: 460px; margin-top: 22px; }
.sp-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.sp-search input { height: 52px; padding-left: 44px; border-radius: 14px; background: #fff; }
.sp-letters {
  position: sticky; top: calc(var(--header-height) - 1px); z-index: 5;
  display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 0; margin-bottom: 18px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pg-line);
}
.sp-letters a {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; color: var(--pg-navy); background: var(--pg-paper);
}
.sp-letters a:hover { background: var(--primary); color: #fff; }
.sp-group { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--pg-line); scroll-margin-top: calc(var(--header-height) + 70px); }
.sp-letter { font-family: var(--pg-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--primary); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sp-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px;
  border: 1px solid var(--pg-line); background: #fff; color: var(--pg-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sp-card:hover { border-color: var(--primary); box-shadow: 0 14px 30px -22px rgba(15, 42, 61, .45); color: var(--pg-ink); }
.sp-card-icon { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--primary); font-size: 1.15rem; }
.sp-card:hover .sp-card-icon { background: var(--primary); color: #fff; }
.sp-card h3 { font-size: 1rem; margin: 2px 0 4px; }
.sp-card p { font-size: .85rem; color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-card-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .78rem; font-weight: 700; color: #15803D; }
.sp-card-open::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.sp-card-none { margin-top: 8px; font-size: .78rem; color: var(--text-secondary); }

.sp-hero-icon {
  width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  background: var(--pg-navy); color: var(--accent); font-size: 2.3rem;
}

@media (max-width: 575.98px) {
  .sp-group { grid-template-columns: 1fr; gap: 8px; }
}

/* =====================================================================
   FAQ
   ===================================================================== */
.fq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.fq-nav { position: sticky; top: calc(var(--header-height) + 16px); display: flex; flex-direction: column; gap: 2px; }
.fq-nav a { padding: 9px 12px; border-radius: 10px; color: var(--pg-ink); font-weight: 600; font-size: .93rem; display: flex; justify-content: space-between; gap: 8px; }
.fq-nav a span { color: var(--text-secondary); font-weight: 500; }
.fq-nav a:hover { background: var(--pg-paper); }
.fq-nav-help { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--pg-navy); color: #fff; }
.fq-nav-help p { font-size: .9rem; color: rgba(255,255,255,.75); margin: 4px 0 12px; }
.fq-search { position: relative; margin-bottom: 26px; }
.fq-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.fq-search input { height: 52px; padding-left: 44px; border-radius: 14px; }
.fq-group { margin-bottom: 34px; scroll-margin-top: calc(var(--header-height) + 20px); }
.fq-group h2 { font-size: 1.25rem; color: var(--pg-ink); margin-bottom: 8px; }
.fq-item { border-bottom: 1px solid var(--pg-line); }
.fq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; font-weight: 700; color: var(--pg-ink);
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary i {
  flex: 0 0 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--pg-paper); color: var(--primary); transition: transform .25s ease, background .2s ease, color .2s ease;
}
.fq-item[open] summary i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.fq-item summary:hover { color: var(--primary-dark); }
.fq-item p { color: var(--text-secondary); line-height: 1.7; margin: 0 52px 18px 0; }
.fq-none { display: none; }
@media (max-width: 991.98px) {
  .fq-layout { grid-template-columns: 1fr; gap: 20px; }
  .fq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fq-nav a { background: var(--pg-paper); }
  .fq-nav-help { display: none; }
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.ct-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; }
.ct-info { background: var(--pg-navy); color: #fff; border-radius: 22px; padding: 28px; position: relative; overflow: hidden; }
.ct-info::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(95, 211, 196, .08); }
.ct-info h2 { font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.ct-info > p { color: rgba(255,255,255,.7); margin-bottom: 22px; }
.ct-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); color: #fff; position: relative; z-index: 1; }
.ct-line > i { flex: 0 0 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(95, 211, 196, .14); color: var(--accent); }
.ct-line small { display: block; color: rgba(255,255,255,.6); font-size: .78rem; }
.ct-line strong { font-weight: 600; overflow-wrap: anywhere; }
a.ct-line:hover { color: var(--accent); }
.ct-alt { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: .9rem; color: rgba(255,255,255,.8); position: relative; z-index: 1; }
.ct-alt a { color: var(--accent); font-weight: 700; }
@media (max-width: 991.98px) { .ct-layout { grid-template-columns: 1fr; } }

/* =====================================================================
   RESSOURCES (blog)
   ===================================================================== */
.bl-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; margin-top: 22px; background: #fff; border: 1px solid var(--pg-line); border-radius: 14px; width: fit-content; max-width: 100%; }
.bl-tabs a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--text-secondary); white-space: nowrap; }
.bl-tabs a:hover { color: var(--pg-ink); }
.bl-tabs a.active { background: var(--pg-navy); color: #fff; }
.bl-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; color: var(--pg-ink); }
.bl-feature:hover { color: var(--pg-ink); }
.bl-thumb { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--pg-mint); display: grid; place-items: center; font-size: 2.6rem; color: var(--pg-navy); }
.bl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover > .bl-thumb img { transform: scale(1.04); }
.bl-cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-dark); }
.bl-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin: 8px 0 10px; transition: color .2s; }
.bl-feature:hover h2 { color: var(--primary-dark); }
.bl-feature p { color: var(--text-secondary); margin-bottom: 14px; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; color: var(--text-secondary); }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.bl-card { display: flex; flex-direction: column; gap: 10px; color: var(--pg-ink); }
.bl-card:hover { color: var(--pg-ink); }
.bl-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; transition: color .2s; }
.bl-card:hover h3 { color: var(--primary-dark); }
.bl-card p { font-size: .92rem; color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991.98px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } .bl-feature { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 575.98px) { .bl-grid { grid-template-columns: 1fr; } }

/* Article */
.ar-head { max-width: 780px; }
.ar-cover { max-width: 1000px; margin: -28px auto 0; position: relative; }
.ar-cover .bl-thumb { aspect-ratio: 21 / 9; border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(15, 42, 61, .5); }
.ar-body { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: 48px; justify-content: center; }
.ar-aside { position: sticky; top: calc(var(--header-height) + 20px); align-self: start; font-size: .88rem; color: var(--text-secondary); display: flex; flex-direction: column; gap: 14px; }
.ar-aside strong { display: block; color: var(--pg-ink); }
.ar-author { display: flex; gap: 10px; align-items: center; }
.ar-avatar { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--pg-navy); color: var(--accent); font-weight: 800; }
@media (max-width: 991.98px) { .ar-body { grid-template-columns: 1fr; gap: 20px; } .ar-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; } .ar-cover { margin-top: 24px; } }

/* =====================================================================
   A PROPOS
   ===================================================================== */
.ab-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-pillar { padding: 26px; border-radius: 20px; border: 1px solid var(--pg-line); background: #fff; }
.ab-pillar i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--primary); font-size: 1.2rem; margin-bottom: 16px; }
.ab-pillar h3 { font-size: 1.12rem; color: var(--pg-ink); margin-bottom: 8px; }
.ab-pillar p { color: var(--text-secondary); margin: 0; line-height: 1.65; }
.ab-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.ab-values li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--pg-line); }
.ab-values .n { font-family: var(--pg-serif); font-style: italic; font-size: 1.6rem; color: var(--primary); line-height: 1; }
.ab-values h3 { font-size: 1.08rem; color: var(--pg-ink); margin: 0 0 4px; }
.ab-values p { color: var(--text-secondary); margin: 0; }
.ab-quote { font-family: var(--pg-serif); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35; color: var(--pg-ink); max-width: 860px; margin: 0; }
.ab-quote::before { content: '\201C'; display: block; font-size: 4rem; line-height: .5; color: var(--primary); margin-bottom: 18px; }
.ab-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: var(--pg-navy); color: #fff; }
.ab-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 6px; }
.ab-cta h2 em { font-family: var(--pg-serif); font-style: italic; font-weight: 500; color: var(--accent); }
.ab-cta p { color: rgba(255,255,255,.72); margin: 0; }
.ab-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-cta .pg-btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.ab-cta .pg-btn-outline:hover { background: #fff; color: var(--pg-navy); }
@media (max-width: 991.98px) { .ab-pillars { grid-template-columns: 1fr; } .ab-values { grid-template-columns: 1fr; } .ab-cta { grid-template-columns: 1fr; } }

/* =====================================================================
   CONNEXION / INSCRIPTION
   ===================================================================== */
.au-wrap { padding: clamp(28px, 5vw, 64px) 0; background: var(--pg-paper); }
.au-split { display: grid; grid-template-columns: 1fr 1.1fr; max-width: 1040px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--pg-line); box-shadow: 0 40px 80px -50px rgba(15, 42, 61, .45); }
.au-split-narrow { grid-template-columns: 1fr 1fr; max-width: 960px; }
.au-side { position: relative; background: var(--pg-navy); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; overflow: hidden; }
.au-side::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.au-side > * { position: relative; }
.au-mark { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; margin-bottom: 26px; }
.au-mark img { width: 38px; }
.au-side h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 18px; }
.au-side h2 em { font-family: var(--pg-serif); font-style: italic; font-weight: 500; color: var(--accent); }
.au-points { list-style: none; margin: 0 0 auto; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.au-points li { display: flex; gap: 12px; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.5; }
.au-points i { flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(95, 211, 196, .16); color: var(--accent); font-size: .85rem; margin-top: 1px; }
.au-side-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: rgba(255,255,255,.7); }
.au-side-foot a { color: var(--accent); font-weight: 700; }
.au-form { padding: clamp(28px, 4vw, 48px); }
.au-form h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--pg-ink); margin-bottom: 6px; }
.au-form > p.au-sub { color: var(--text-secondary); margin-bottom: 24px; }
.au-switch { text-align: center; font-size: .92rem; color: var(--text-secondary); margin: 18px 0 0; }
.au-switch a { color: var(--primary-dark); font-weight: 700; }
.au-pass { position: relative; }
.au-pass button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; width: 36px; height: 36px; border-radius: 8px; color: var(--text-secondary); }
.au-pass button:hover { background: var(--pg-paper); color: var(--pg-ink); }
.au-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #FEE2E2; color: #991B1B; font-size: .92rem; margin-bottom: 18px; }
@media (max-width: 991.98px) { .au-split, .au-split-narrow { grid-template-columns: 1fr; } .au-points { margin-bottom: 0; } .au-side { padding-bottom: 28px; } }

/* =====================================================================
   CANDIDATURE SPONTANEE (stepper)
   ===================================================================== */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 22px; counter-reset: none; }
.stepper .step { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--text-secondary); text-align: left; }
.stepper .step::before { content: ''; height: 5px; border-radius: 5px; background: var(--pg-line); }
.stepper .step.done::before { background: var(--primary); }
.stepper .step.active::before { background: linear-gradient(90deg, var(--primary) 50%, var(--pg-line) 50%); }
.stepper .step.active { color: var(--pg-ink); }
.stepper .circle { display: none; }
@media (max-width: 575.98px) { .stepper .step span { display: none; } .stepper .step.active span { display: inline; white-space: nowrap; } }

/* =====================================================================
   ERREURS
   ===================================================================== */
.er-wrap { min-height: 60vh; display: grid; place-items: center; padding: 64px 0; background: var(--pg-paper); position: relative; overflow: hidden; }
.er-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: .8; letter-spacing: -.04em; color: transparent; background: linear-gradient(180deg, var(--primary), rgba(23, 163, 152, .1)); -webkit-background-clip: text; background-clip: text; margin-bottom: 18px; }
.er-box { text-align: center; max-width: 560px; padding: 0 20px; position: relative; }
.er-box h1 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--pg-ink); }
.er-box p { color: var(--text-secondary); }
.er-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }

/* ---------- Responsive bandeau ---------- */
@media (max-width: 767.98px) {
  .pg-hero-grid { grid-template-columns: 1fr; }
  .pg-hero-stat { align-items: flex-start; text-align: left; padding-left: 0; border-left: 0; flex-direction: row; gap: 10px; align-items: baseline; }
  .pg-head { flex-direction: column; gap: 4px; }
}
