/* MEDJOB BÉNIN — interface v4 (mobile d'abord) */
:root {
  --blue: #0b5cab; --blue-d: #084a8c; --blue-l: #e8f2fc;
  --teal: #0e9f94; --teal-d: #0b857c; --teal-l: #e0f6f3;
  --navy: #0e2a47; --text: #1b3550; --muted: #5d7288; --line: #e1e9f1; --bg: #f4f8fb; --white: #fff;
  --amber: #8a5a00; --amber-l: #fff3dc; --red: #b42318; --red-l: #fde8e8; --green: #0d7a55; --green-l: #e2f6ee; --indigo: #4f46e5; --indigo-l: #eceafd;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 10px 28px rgba(14, 42, 71, .08);
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .06), 0 2px 8px rgba(14, 42, 71, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; font-size: 16px; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(28px, 5.5vw, 48px); }
h2 { font-size: clamp(22px, 3.4vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #7fb4ee; outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: 14px; } .xs { font-size: 12.5px; }
.center { text-align: center; } .mt { margin-top: 16px; } .mt-s { margin-top: 10px; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i.flip { transform: rotate(180deg); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo { width: 40px; height: 40px; border-radius: 11px; display: block; box-shadow: 0 4px 12px rgba(11, 92, 171, .3); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-size: 18px; }
.brand-text small { font-size: 10px; letter-spacing: .22em; color: var(--teal-d); margin-top: 3px; }
.brand-light { color: #fff; } .brand-light .brand-text small { color: #8fe3da; }
.nav-links { display: none; gap: 4px; }
.nav-links a, .mobile-menu a { color: var(--text); font-weight: 600; padding: 9px 13px; border-radius: 10px; font-size: 15px; }
.nav-links a:hover, .mobile-menu a:hover { background: var(--blue-l); text-decoration: none; }
.nav-links a.active, .mobile-menu a.active { color: var(--blue); background: var(--blue-l); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { border: 1px solid var(--line); background: #fff; width: 42px; height: 42px; border-radius: 12px; font-size: 20px; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; padding-bottom: 14px; }
@media (min-width: 880px) { .nav-links { display: flex; } .burger { display: none; } .mobile-menu.open { display: none; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--blue), #0f6fd0); color: #fff; box-shadow: 0 6px 16px rgba(11, 92, 171, .28); }
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-d), var(--blue)); }
.btn-teal { background: linear-gradient(135deg, var(--teal-d), var(--teal)); color: #fff; box-shadow: 0 6px 16px rgba(14, 159, 148, .28); }
.btn-outline { background: #fff; color: var(--blue); border-color: #c9dbee; }
.btn-outline:hover { background: var(--blue-l); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-danger { background: #fff; color: var(--red); border-color: #efc4c4; }
.btn-danger:hover { background: var(--red-l); }
.btn-good { background: var(--green); color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.link-btn { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px 0; }
.link-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- Puces, états ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--blue-l); color: var(--blue); }
.chip.t-garde { background: var(--teal-l); color: var(--teal-d); }
.chip.t-recrut { background: var(--blue-l); color: var(--blue); }
.chip.t-rempl { background: var(--indigo-l); color: var(--indigo); }
.chip-urgent { background: #ffe9e3; color: #c2410c; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.st-pending { background: var(--amber-l); color: var(--amber); } .st-approved, .st-sent { background: var(--green-l); color: var(--green); } .st-rejected { background: var(--red-l); color: var(--red); }

/* ---------- Cartes ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
.card-pad + .card-pad, .card + .card, .card + .notice, .notice + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid-span { grid-column: 1 / -1; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(900px 400px at 85% -10%, #d3f4ef 0, transparent 60%), radial-gradient(800px 400px at 0% 0%, #dcecff 0, transparent 60%), linear-gradient(180deg, #f2f8ff, var(--bg)); padding: 36px 0 70px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--teal-d); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.hero h1 { margin-bottom: 14px; }
.grad { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; color: #3b556e; max-width: 54ch; }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 6px; } .trust .i { color: var(--teal); }
.hero-art { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hero-art > svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(11, 92, 171, .18)); }
.float-chip { position: absolute; background: #fff; border-radius: 12px; padding: 9px 13px; font-size: 13px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); display: flex; align-items: center; gap: 7px; }
.float-chip .i { color: var(--teal); }
.fc1 { top: 6%; left: -2%; } .fc2 { bottom: 9%; right: -2%; }
@media (min-width: 900px) { .hero { padding: 56px 0 90px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }

.quick-search { margin-top: -44px; position: relative; z-index: 2; padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.quick-search .btn { height: 48px; align-self: end; }
@media (min-width: 760px) { .quick-search { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; padding: 18px; } }

/* ---------- Sections ---------- */
.section { padding-top: 56px; padding-bottom: 56px; } .section-tight { padding-top: 26px; padding-bottom: 26px; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; }
.section-head h2, .section-head h3 { margin-bottom: 4px; }
.section-head.compact { margin-bottom: 14px; align-items: center; }
.center-head { justify-content: center; text-align: center; }
.stats { display: grid; gap: 14px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 18px; }
.stat-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-l), var(--teal-l)); color: var(--blue); font-size: 22px; }
.stat strong { display: block; font-size: 28px; color: var(--navy); line-height: 1; } .stat span { color: var(--muted); font-size: 14px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section.alt .feature { background: var(--bg); }
.feature-ic, .aud-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); font-size: 22px; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.steps { display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--teal)); margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; font-size: 14.5px; }
.audience { display: grid; gap: 16px; }
@media (min-width: 800px) { .audience { grid-template-columns: 1fr 1fr; } }
.aud p { color: var(--muted); }
.aud-2 .aud-ic { background: var(--teal-l); color: var(--teal-d); }
.page-head { background: linear-gradient(135deg, var(--blue), #0a74c9 60%, var(--teal)); color: #fff; padding: 34px 0 40px; }
.page-head h1 { color: #fff; font-size: clamp(26px, 4.5vw, 38px); margin-bottom: 6px; }
.page-head p { color: #d9ecfb; margin: 0; }
.page-head .back { color: #d9ecfb; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 12px; }
.page-head .job-org { color: #e6f3ff; font-size: 17px; margin-top: 4px; }
.page-head .job-top { margin-bottom: 10px; }

/* ---------- Annonces ---------- */
.job-card { padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .15s; }
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.job-card.is-urgent { border-color: #f6c9bb; }
.job-top { display: flex; gap: 8px; flex-wrap: wrap; }
.job-title { margin: 0; font-size: 18px; } .job-title a { color: var(--navy); } .job-title a:hover { color: var(--blue); text-decoration: none; }
.job-org { color: #3b556e; font-weight: 600; display: flex; align-items: center; gap: 7px; font-size: 14.5px; }
.job-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; color: var(--muted); font-size: 14px; }
.job-meta li { display: flex; align-items: center; gap: 8px; } .job-meta .i { color: var(--teal); }
.job-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay { font-weight: 800; color: var(--green); font-size: 15px; }
.sk { height: 14px; border-radius: 8px; background: linear-gradient(90deg, #eef3f8, #f7fafc, #eef3f8); background-size: 200% 100%; animation: sh 1.2s infinite; margin-bottom: 10px; }
.w30 { width: 30%; } .w50 { width: 50%; } .w80 { width: 80%; } .w100 { width: 100%; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 42px 18px; background: #fff; border: 1px dashed #cfdcea; border-radius: var(--radius); }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 16px; }
.empty-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin: 0 auto 12px; font-size: 24px; }

/* ---------- Filtres ---------- */
.filters { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.filters .fq { grid-column: 1 / -1; }
@media (min-width: 700px) { .filters { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .filters { grid-template-columns: 2fr repeat(6, 1fr); } .filters .fq { grid-column: auto; } }
.list-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 2px 12px; }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 12px; min-width: 0; }
.field label, label.lbl { display: block; font-size: 12.5px; font-weight: 800; color: #40566d; margin-bottom: 5px; }
input, select, textarea { width: 100%; border: 1.5px solid #d3e0ec; border-radius: 12px; padding: 12px 13px; font: inherit; font-size: 16px; color: var(--navy); background: #fff; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 171, .14); }
.row2 { display: grid; gap: 0 12px; } @media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; margin: 6px 0 14px; } .check input { width: auto; }
.quick-search .field, .filters .field { margin-bottom: 0; }

/* ---------- Détail annonce ---------- */
.detail-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 940px) { .detail-grid { grid-template-columns: 1fr 360px; } .sticky { position: sticky; top: 88px; } }
.facts { display: grid; gap: 16px; } @media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact > .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--teal-l); color: var(--teal-d); }
.fact span { display: block; font-size: 12.5px; color: var(--muted); } .fact strong { color: var(--navy); }
.prose { font-size: 15.5px; line-height: 1.7; } .prose h3 { margin-top: 1.2em; font-size: 16px; }
.detail-main > * + * { margin-top: 16px; }
.notice { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 13px 15px; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.notice > .i { margin-top: 2px; }
.notice.info { background: var(--blue-l); color: #0b4a8a; border: 1px solid #cfe3f8; }
.notice.warn { background: var(--amber-l); color: var(--amber); border: 1px solid #f3dca8; }
.notice.ok { background: var(--green-l); color: var(--green); border: 1px solid #bfe6d4; }

/* ---------- Espaces (candidat, établissement, admin) ---------- */
.dash-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 940px) { .dash-grid { grid-template-columns: 1fr 340px; } }
.dash-main > * + * { margin-top: 16px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.tile span { display: block; color: var(--muted); font-size: 13px; } .tile strong { font-size: 28px; color: var(--navy); line-height: 1.1; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item.col { flex-direction: column; align-items: stretch; }
.li-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; word-break: break-word; }
.li-main p { margin: 6px 0 0; }
.kv { margin: 0 0 14px; display: grid; gap: 10px; } .kv div { display: flex; flex-direction: column; } .kv dt { font-size: 12px; color: var(--muted); } .kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.uid { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 12px; padding: 12px; } .uid code { font-size: 12px; word-break: break-all; }

/* ---------- À propos ---------- */
.about-grid { display: grid; gap: 16px; align-items: start; } @media (min-width: 940px) { .about-grid { grid-template-columns: 1fr 380px; } }
.about-main > * + * { margin-top: 16px; } .about-side > * + * { margin-top: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .contact-list li { display: flex; gap: 10px; align-items: center; }
.legal h3 { margin-top: 1.4em; font-size: 17px; } .legal h3:first-child { margin-top: 0; }

/* ---------- Fenêtre modale ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 30, 50, .55); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: #fff; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 24px 20px 28px; position: relative; }
@media (min-width: 640px) { .overlay { align-items: center; padding: 20px; } .modal { border-radius: 20px; } }
.close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #eef3f8; font-size: 22px; cursor: pointer; color: #40566d; }
.modal-title { margin: 0 34px 4px 0; font-size: 22px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g-badge { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff; font-size: 12px; font-weight: 800; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 80; max-width: 92vw; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0a2540; color: #b8cde2; margin-top: 30px; }
.foot-grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a, .foot-link { display: flex; align-items: center; gap: 8px; color: #b8cde2; font-size: 14px; padding: 4px 0; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.site-footer a:hover, .foot-link:hover { color: #fff; text-decoration: none; }
.foot-text { font-size: 14px; max-width: 34ch; margin-top: 12px; }
.foot-bottom { display: flex; justify-content: space-between; border-top: 1px solid #1d3d5e; padding-top: 16px; padding-bottom: 22px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 560px) { .hero .btn-row .btn { flex: 1 1 100%; } .float-chip { font-size: 12px; padding: 7px 10px; } .fc1 { left: 0; } .fc2 { right: 0; } }
.card-pad h2 { font-size: 22px; }

.chip-gold { background: #fff4d1; color: #8a6100; }
.chip-new { background: var(--green-l); color: var(--green); }
.chip-closed { background: #eceff3; color: #5b6b7b; }
.job-card.is-sponsored { border-color: #efd58a; box-shadow: 0 0 0 1px #efd58a, var(--shadow-sm); }
.job-card.is-closed { opacity: .72; }
.prof-fields .field { margin-bottom: 12px; }

/* ---------- Cartes (phase 3) ---------- */
.map { position: relative; z-index: 0; height: 340px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #e8eef4; }
.map-sm { height: 260px; } .map-lg { height: 460px; }
.map-fallback { background: var(--amber-l); color: var(--amber); border: 1px solid #f3dca8; border-radius: 12px; padding: 14px; font-size: 14px; }
.pin-wrap { background: none; border: 0; }
.pin { position: relative; display: block; width: 24px; height: 24px; margin: 5px 3px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); border: 3px solid #fff; box-shadow: 0 2px 7px rgba(0, 0, 0, .4); }
.pin::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; top: 5px; left: 5px; }
.pin-me { background: #e11d48; } .pin-pick { background: var(--teal); }
.dist-box { margin-top: 12px; } .dist-box .notice { margin-bottom: 0; }
.map-tools { display: grid; gap: 12px; align-items: end; margin-bottom: 16px; }
@media (min-width: 700px) { .map-tools { grid-template-columns: 260px auto 1fr; } }
.map-grid { display: grid; gap: 16px; } @media (min-width: 940px) { .map-grid { grid-template-columns: 1fr 380px; } }
.est-list { display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow: auto; }
.est-item { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font: inherit; color: inherit; cursor: pointer; }
.est-item:hover { border-color: var(--blue); background: var(--blue-l); }
.est-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-l); color: var(--teal-d); display: grid; place-items: center; flex: none; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.map-teaser { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.map-teaser .feature-ic { margin: 0; } .map-teaser h3 { margin-bottom: 4px; } .map-teaser p { margin: 0; }
@media (min-width: 760px) { .map-teaser { flex-direction: row; align-items: center; } .map-teaser > div:nth-child(2) { flex: 1; } }
.leaflet-container { font: inherit; }

/* ---------- Administration (phase 4) ---------- */
.tiles-wide { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .tiles-wide { grid-template-columns: repeat(4, 1fr); } }
.bar-row { display: grid; grid-template-columns: minmax(90px, 1.2fr) 2fr auto; align-items: center; gap: 10px; margin: 8px 0; font-size: 14px; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 10px; background: #edf2f7; border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 999px; }
.st-msg-new { background: var(--amber-l); color: var(--amber); } .st-msg-read { background: var(--blue-l); color: var(--blue); } .st-msg-done { background: var(--green-l); color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 700px) { .stats.stats-4 { grid-template-columns: repeat(4, 1fr); } }
[data-panel] > * + * { margin-top: 16px; }
.bar-row { grid-template-columns: minmax(120px, 1.7fr) 1.5fr auto; }

/* ---------- Espace candidat (phase 5) ---------- */
.progress { height: 10px; background: #edf2f7; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 999px; transition: width .4s; }
.st-viewed { background: var(--blue-l); color: var(--blue); } .st-shortlisted { background: #fff4d1; color: #8a6100; } .st-contacted { background: var(--teal-l); color: var(--teal-d); }
.status-row { align-items: center; } .extra-fields { margin-top: 4px; }
.dash-main > div > .grid { margin-top: 12px; }

.foot-slogan { color: #8fe3da; font-weight: 700; font-size: 14px; margin-top: 8px; }
