/* Hive — charte V2, thème clair. Mobile d'abord, barre latérale à partir de 1024 px. */
:root {
  --encre: #141210;
  --galet: #5A564F;
  --moka: #322C26;
  --taupe: #D5C6B8;
  --ivoire: #F5F5F2;
  --pierre: #F0EDE8;
  --grege: #E1D5C9;
  --bronze: #8A7560;
  --trait: rgba(90, 86, 79, 0.45);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-bord: rgba(255, 255, 255, 0.95);
  --ombre: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 32px rgba(90, 70, 50, 0.10);
  --rayon: 22px;
  --titre: "Outfit", "Inter", system-ui, sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--texte);
  color: var(--encre);
  background:
    radial-gradient(80% 40% at 100% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--ivoire) 0%, var(--pierre) 55%, var(--grege) 100%) fixed;
}
a { color: var(--encre); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--moka); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mise en page ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { display: none; }
.content { flex: 1; min-width: 0; padding: 16px 20px 120px; }
.page { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.topbar { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { font-family: var(--titre); font-size: 21px; font-weight: 600; letter-spacing: 0.06em; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.page-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.eyebrow { font-size: 11.5px; line-height: 16px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--galet); }
.eyebrow--bronze { color: var(--bronze); }
h1 { margin: 2px 0; font-family: var(--titre); font-size: 30px; line-height: 36px; font-weight: 400; letter-spacing: -0.01em; }
h2 { margin: 0; font-family: var(--titre); font-size: 18px; line-height: 24px; font-weight: 500; }
.sub { margin: 0; font-size: 14px; line-height: 20px; color: var(--galet); }
.muted { color: var(--galet); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head a { font-size: 13px; font-weight: 500; text-underline-offset: 3px; }

.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cols__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cols__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Surfaces ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-bord);
  box-shadow: var(--ombre);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: var(--rayon);
}
.card { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 16px; background: rgba(50, 44, 38, 0.06); font-size: 12.5px; line-height: 18px; color: var(--galet); }
.dark { background: var(--moka); color: var(--ivoire); border-radius: var(--rayon); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.dark p { margin: 0; font-size: 13.5px; line-height: 19px; color: rgba(245, 245, 242, 0.88); }

/* ---------- Icônes ---------- */
.ico svg { display: block; width: 18px; height: 18px; flex: none; }
.ico { display: inline-flex; flex: none; }
.ico--lg svg { width: 22px; height: 22px; }

/* ---------- Boutons et contrôles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 23px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid var(--moka); background: var(--moka); color: var(--ivoire);
}
.btn--ghost { background: rgba(255, 255, 255, 0.6); color: var(--encre); border-color: var(--trait); }
.btn--light { background: var(--ivoire); color: var(--encre); border-color: var(--ivoire); }
.btn--full { width: 100%; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 22px; flex: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-bord); background: var(--glass); color: var(--encre); box-shadow: var(--ombre);
  text-decoration: none;
}
.icon-btn--line { border-color: var(--trait); background: rgba(255, 255, 255, 0.7); box-shadow: none; }

.search {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; color: var(--galet);
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-bord); border-radius: 16px; box-shadow: var(--ombre);
  width: 100%;
}
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; color: var(--encre); }
.search input::placeholder { color: var(--galet); opacity: 1; }
@media (min-width: 720px) { .search--narrow { width: 340px; } }

.chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 38px; padding: 0 15px; border-radius: 19px; cursor: pointer;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--glass-bord); background: rgba(255, 255, 255, 0.55); color: var(--encre);
}
.chip[aria-pressed="true"] { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 18px; }
.segmented > * {
  min-height: 40px; border-radius: 14px; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 14px;
}
.segmented > [aria-pressed="true"], .segmented > [aria-current="page"] { background: var(--moka); color: var(--ivoire); font-weight: 600; }
@media (min-width: 720px) { .segmented--fit { width: 380px; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 12px;
  font-size: 12px; font-weight: 500; white-space: nowrap; border: 1px solid var(--trait); color: var(--moka);
}
.tag--fill { background: var(--taupe); border-color: var(--taupe); color: var(--encre); }
.tag .ico svg { width: 13px; height: 13px; }

.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars svg { width: 13px; height: 13px; }
.rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.rating span.muted { font-weight: 400; }

.switch { width: 48px; height: 28px; border-radius: 14px; border: 0; padding: 0; position: relative; cursor: pointer; background: rgba(90, 86, 79, 0.3); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #FFF; transition: left .15s; }
.switch[aria-checked="true"] { background: var(--moka); }
.switch[aria-checked="true"]::after { left: 23px; }

/* ---------- Navigation ---------- */
.bottom-nav {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; height: 68px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 6px; border-radius: 34px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-bord);
  box-shadow: inset 0 1px 0 #FFF, 0 18px 40px rgba(90, 70, 50, 0.16);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 11px; font-weight: 500; color: var(--galet); text-decoration: none; border: 0; background: transparent; cursor: pointer;
}
.bottom-nav .pill { width: 48px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.bottom-nav .pill svg { width: 22px; height: 22px; }
.bottom-nav [aria-current="page"] { color: var(--encre); font-weight: 600; }
.bottom-nav [aria-current="page"] .pill { background: rgba(50, 44, 38, 0.08); }
.fade { position: fixed; left: 0; right: 0; bottom: 0; height: 120px; z-index: 10; pointer-events: none; background: linear-gradient(180deg, rgba(225, 213, 201, 0) 0%, rgba(225, 213, 201, 0.92) 55%, var(--grege) 100%); }

@media (min-width: 1024px) {
  .sidebar {
    display: flex; flex-direction: column; gap: 24px; width: 248px; flex: none; padding: 24px 16px;
    position: sticky; top: 0; height: 100vh;
    background: rgba(255, 255, 255, 0.45); border-right: 1px solid var(--glass-bord);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  }
  .sidebar .brand { padding: 0 8px; }
  .sidebar nav { display: flex; flex-direction: column; gap: 4px; }
  .sidebar nav a, .sidebar nav button {
    display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: 14px;
    font-size: 14.5px; font-weight: 500; color: var(--galet); text-decoration: none; border: 0; background: transparent; cursor: pointer; text-align: left;
  }
  .sidebar nav svg { width: 20px; height: 20px; }
  .sidebar nav [aria-current="page"] { background: rgba(50, 44, 38, 0.08); color: var(--encre); font-weight: 600; }
  .profile { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; }
  .avatar { width: 40px; height: 40px; border-radius: 20px; background: var(--taupe); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-size: 16px; font-weight: 500; flex: none; }
  .bottom-nav, .fade, .topbar--mobile { display: none; }
  .content { padding: 32px 40px 48px; }
  .page { gap: 24px; }
  h1 { font-size: 36px; line-height: 42px; }
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}

/* ---------- Logements ---------- */
.listings { display: grid; gap: 12px; }
.listing {
  display: flex; gap: 12px; padding: 10px; text-decoration: none; color: var(--encre);
}
.listing img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex: none; }
.listing__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.listing__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.listing__title, .price { font-family: var(--titre); font-size: 16px; line-height: 20px; font-weight: 500; }
.price { white-space: nowrap; }
.price small { font-family: var(--texte); font-size: 12px; font-weight: 400; color: var(--galet); }
.listing__place { font-size: 12.5px; line-height: 17px; color: var(--galet); }
.quote { font-size: 13px; line-height: 18px; font-style: italic; margin: 0; }
.when { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }
.empty { padding: 24px; text-align: center; color: var(--galet); }
@media (min-width: 720px) {
  .listings { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .listing { flex-direction: column; padding: 10px 10px 14px; }
  .listing img { width: 100%; height: 150px; }
  .listing__body { padding: 0 4px; }
}

.map {
  position: relative; height: 300px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--glass-bord);
  background-color: #EAE4DB;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.55) 0 2px, transparent 2px 46px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 2px, transparent 2px 58px);
}
.map__road { position: absolute; left: -10%; top: 62%; width: 130%; height: 14px; background: rgba(255, 255, 255, 0.8); transform: rotate(-14deg); }
.map__label { position: absolute; left: 12px; top: 12px; height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(255, 255, 255, 0.92); display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; }
.pin {
  position: absolute; transform: translate(-50%, -50%); height: 28px; padding: 0 10px; border-radius: 14px;
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; white-space: nowrap; text-decoration: none;
  background: #FFF; color: var(--encre); border: 1px solid rgba(90, 86, 79, 0.3); box-shadow: 0 6px 14px rgba(90, 70, 50, 0.14);
}
.pin--campus { background: var(--moka); color: var(--ivoire); border-color: var(--moka); }
.map-wrap { display: none; }
@media (min-width: 1024px) { .map-wrap { display: block; } }

.around { display: grid; gap: 4px 20px; }
@media (min-width: 560px) { .around--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.around__item { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.bubble { width: 38px; height: 38px; border-radius: 19px; background: var(--grege); display: flex; align-items: center; justify-content: center; flex: none; }
.around__item strong { display: block; font-size: 14px; font-weight: 500; }
.around__item span.muted { font-size: 12.5px; }
.link-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--encre); border-radius: 18px; }
.link-card strong { display: block; font-size: 14px; }
.link-card .muted { font-size: 12.5px; }

/* ---------- Fiche ---------- */
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 20px; text-decoration: none; font-size: 14px; font-weight: 500; }
.gallery { display: grid; gap: 10px; }
.gallery img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--rayon); }
.gallery img:not(:first-child) { display: none; }
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 160px); }
  .gallery img { height: 100%; border-radius: 18px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 2; border-radius: var(--rayon); }
  .gallery img:not(:first-child) { display: block; }
}
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--galet); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.bars { display: grid; gap: 10px 28px; }
@media (min-width: 720px) { .bars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 26px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar__track { height: 6px; border-radius: 3px; background: rgba(90, 86, 79, 0.18); }
.bar__fill { height: 6px; border-radius: 3px; background: var(--moka); }
.bar b { text-align: right; }
blockquote { margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 20px; }
blockquote footer { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--galet); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fact { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); }
.fact span { display: block; font-size: 12px; color: var(--galet); }
.fact b { font-size: 14.5px; }
.booking { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: rgba(255, 255, 255, 0.78); }
.booking__price { display: flex; align-items: baseline; gap: 6px; }
.booking__price b { font-family: var(--titre); font-size: 30px; font-weight: 500; }
.booking ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.booking li { display: flex; align-items: center; gap: 8px; }
.dossier { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(50, 44, 38, 0.06); font-size: 12.5px; }
.dossier strong { display: block; font-size: 13.5px; }
@media (min-width: 1024px) { .booking { position: sticky; top: 32px; } }

/* ---------- Marché ---------- */
.pack { padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.pack__text { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pack__title { font-family: var(--titre); font-size: 19px; line-height: 25px; font-weight: 500; margin: 0; }
.pack__items { flex: 1 1 280px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pack__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.65); color: var(--bronze); font-size: 12px; }
.pack__item span { color: var(--encre); font-weight: 500; }
.pack__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } }
.item { padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 4px; border-radius: 18px; min-width: 0; }
.item__visual { height: 90px; border-radius: 12px; background: linear-gradient(160deg, #EBE7E0 0%, var(--grege) 100%); color: var(--bronze); display: flex; align-items: center; justify-content: center; }
.item__visual svg { width: 32px; height: 32px; }
@media (min-width: 720px) { .item__visual { height: 120px; } }
.item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 2px 4px 0; }
.item__name { font-size: 13.5px; line-height: 18px; font-weight: 600; min-width: 0; }
.item__price { font-family: var(--titre); font-size: 16px; font-weight: 500; white-space: nowrap; }
.item__seller { padding: 0 4px; font-size: 12px; color: var(--galet); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* ---------- Parcours ---------- */
.goal { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.goal__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.goal__title { font-family: var(--titre); font-size: 22px; line-height: 28px; font-weight: 500; }
@media (min-width: 1024px) { .goal__title { font-size: 28px; line-height: 34px; } }
.ring { width: 60px; height: 60px; border-radius: 30px; display: flex; align-items: center; justify-content: center; flex: none; }
.ring span { width: 46px; height: 46px; border-radius: 23px; background: #FBFAF8; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.timeline::before { content: ""; position: absolute; left: 7px; right: 0; top: 6px; height: 2px; background: rgba(90, 86, 79, 0.2); }
.timeline li { position: relative; padding-top: 22px; display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12px; color: var(--galet); }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 7px; background: #FFF; border: 2px solid var(--trait); box-sizing: border-box; }
.timeline li.is-now::before { background: var(--moka); border-color: var(--moka); }
.timeline li strong { font-size: 13px; color: var(--encre); font-weight: 600; }
.timeline .goal-step { display: none; color: var(--encre); font-size: 13px; line-height: 18px; }
@media (min-width: 1024px) { .timeline { gap: 20px; } .timeline .goal-step { display: block; } }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.level {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 16px; cursor: pointer; text-align: left; min-width: 0;
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--glass-bord); color: var(--encre);
}
.level small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.level strong { font-size: 13.5px; line-height: 18px; }
.level span { font-size: 12px; line-height: 16px; color: var(--galet); display: none; }
@media (min-width: 720px) { .level span { display: block; } .level strong { font-size: 14.5px; line-height: 20px; } }
.level[aria-pressed="true"] { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }
.level[aria-pressed="true"] span { color: rgba(245, 245, 242, 0.85); }
.target { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 20px; font-weight: 500; margin: 0; }
.actions { display: flex; flex-direction: column; gap: 8px; }
.action { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; cursor: pointer; }
.action input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--moka); }
.action strong { display: block; font-size: 14px; font-weight: 500; }
.action span.muted { font-size: 12px; }
.action.is-done strong { text-decoration: line-through; color: var(--galet); }
.dates { display: flex; flex-direction: column; gap: 12px; }
.date { display: flex; align-items: center; gap: 12px; }
.date__day { width: 48px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.date__day b { font-family: var(--titre); font-size: 16px; font-weight: 500; }
.date__day small { font-size: 10.5px; color: var(--galet); text-transform: uppercase; }
.date strong { display: block; font-size: 14px; font-weight: 500; }
.date .muted { font-size: 12.5px; }

/* ---------- Explorer ---------- */
.filters { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; flex: 1 1 260px; min-width: 0; }
.filters fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.filters legend { padding: 0 0 8px; font-size: 13px; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-btn { min-height: 36px; padding: 0 13px; border-radius: 18px; cursor: pointer; font-size: 13px; font-weight: 500; border: 1px solid var(--trait); background: rgba(255, 255, 255, 0.6); }
.pill-btn[aria-pressed="true"] { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.switch-row strong { display: block; font-size: 13.5px; }
.switch-row .muted { font-size: 12px; }
.results { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.results__grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .results__grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; } }
.result { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; border-radius: 20px; min-width: 0; }
.result__head { display: flex; align-items: flex-start; gap: 12px; }
.result__head > div { flex: 1; min-width: 0; }
.tile { width: 42px; height: 42px; border-radius: 13px; background: var(--grege); color: var(--moka); display: flex; align-items: center; justify-content: center; flex: none; }
.result__title { display: block; font-family: var(--titre); font-size: 16.5px; line-height: 21px; font-weight: 500; }
.result .muted { font-size: 12.5px; }
.added { background: var(--moka) !important; color: var(--ivoire) !important; border-color: var(--moka) !important; }
@media (max-width: 1023px) { .filters { display: none; } .filters.is-open { display: flex; } }
.filters-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filters-toggle { display: none; } }

/* ---------- Investir ---------- */
.modules { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.module { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.45); cursor: pointer; text-align: left; border: 0; width: 100%; }
.module small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--galet); }
.module strong { font-size: 14px; line-height: 18px; }
.module span { font-size: 12px; line-height: 16px; color: var(--galet); }
.module.is-done { background: rgba(255, 255, 255, 0.75); }
.module.is-now { background: #FFF; box-shadow: inset 0 0 0 2px var(--moka); }
.progress { height: 6px; border-radius: 3px; background: rgba(90, 86, 79, 0.18); }
.progress div { height: 6px; border-radius: 3px; background: var(--moka); transition: width .2s; }
.partners { display: grid; gap: 12px; }
@media (min-width: 720px) { .partners { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } }
.partner { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; border-radius: 20px; }
.partner__head { display: flex; align-items: center; gap: 12px; }
.partner__name { font-family: var(--titre); font-size: 18px; font-weight: 500; display: block; }
.criteria { display: flex; flex-direction: column; gap: 12px; }
.criterion { display: flex; gap: 10px; align-items: flex-start; }
.criterion strong { display: block; font-size: 14px; }
.criterion .muted { font-size: 12.5px; }

/* ---------- Message éphémère ---------- */
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%) translateY(20px); z-index: 50;
  max-width: calc(100% - 40px); padding: 12px 18px; border-radius: 16px; background: var(--moka); color: var(--ivoire);
  font-size: 14px; box-shadow: 0 14px 32px rgba(50, 44, 38, 0.3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------- Compléments du site ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; }
.toolbar { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 720px) {
  .toolbar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .toolbar .chips { flex: 1 1 300px; min-width: 0; margin: 0; padding: 2px 0; }
}
@media (max-width: 719px) { .page-head__actions { width: 100%; } }
.cols--stretch { align-items: stretch; }
.profile { border-radius: 18px; }
.profile strong { display: block; font-size: 14px; }
.profile .muted { display: block; font-size: 12px; }
button.item { width: 100%; text-align: left; cursor: pointer; color: var(--encre); }
.item__seller .stars svg { width: 11px; height: 11px; }
.result__head .eyebrow, .result__head .muted { display: block; }
.result .pill-btn { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.result .pill-btn .ico svg { width: 15px; height: 15px; }
.partner__head .muted { display: block; font-size: 12.5px; }
.partner .btn { align-self: flex-start; min-height: 40px; font-size: 13.5px; }
.empty { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dark h2 { color: var(--ivoire); }
.dark .btn { align-self: flex-start; }
.dark form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(245, 245, 242, 0.88); }
.field input {
  height: 44px; padding: 0 12px; border-radius: 12px; color-scheme: dark;
  border: 1px solid rgba(245, 245, 242, 0.35); background: rgba(255, 255, 255, 0.08); color: var(--ivoire);
}
.check-line { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 18px; }
.check-line input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--taupe); }
.link-btn { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--ivoire); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.booking .sub { margin: 0; font-size: 12.5px; }
.dossier .ico { color: var(--moka); }
@media (max-width: 1023px) { .cols--stretch .cols__side { order: -1; } }
.item__seller .ico svg { width: 13px; height: 13px; }
.segmented > * { text-align: center; line-height: 18px; }
@media (max-width: 719px) {
  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .timeline::before { left: 6px; right: auto; top: 7px; bottom: 7px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 26px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .timeline li::before { top: 2px; }
}
.section-head { flex-wrap: wrap; }
@media (max-width: 419px) { .segmented > * { padding: 0 8px; font-size: 13.5px; } }

/* ---------- Marché : tags, billets, mise en vente ---------- */
.tagbar { display: flex; flex-direction: column; gap: 8px; }
.chips--tags .pill-btn { flex: none; }
.pill-btn .count { font-size: 11.5px; opacity: 0.7; margin-left: 2px; }
.pill-btn--clear { border-style: dashed; }
.tag-btn { background: transparent; cursor: pointer; font-family: inherit; }
.item__tags { padding: 2px 4px 0; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 18px; }
.item .btn--sm { margin: 6px 4px 0; }
.item__visual { position: relative; }
.item__date {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px;
  border-radius: 12px; background: #FFF; color: var(--encre); font-size: 11.5px; font-weight: 600;
}
.item__date .ico svg { width: 13px; height: 13px; }
.item__price small { font-family: var(--texte); font-size: 11px; color: var(--galet); }
.nowrap { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field-l { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.field-l input, .field-l select, .tag-add input {
  height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--trait); background: rgba(255, 255, 255, 0.85); font-size: 14.5px;
}
#form-vente { display: flex; flex-direction: column; gap: 16px; }
#form-vente fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
#form-vente legend { padding: 0 0 8px; font-size: 13px; font-weight: 600; }
.check-line--light input { accent-color: var(--moka); }
.tag-add { display: flex; gap: 8px; }
.tag-add input { flex: 1; min-width: 0; }
.form-error { margin: 0; color: #8A2B1F; font-size: 13px; font-weight: 500; }
.form-error:empty { display: none; }
.item__tags .tag { white-space: normal; height: auto; min-height: 24px; padding: 3px 9px; line-height: 16px; text-align: left; }
@media (max-width: 719px) {
  .item__row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .item__tags .tag:nth-child(n+4) { display: none; }
}

/* ---------- Annonces d'agence ---------- */
.listing__pitch { margin: 0; font-size: 13px; line-height: 18px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--galet); }
.sort select { height: 38px; padding: 0 10px; border-radius: 19px; border: 1px solid var(--glass-bord); background: rgba(255, 255, 255, 0.7); font-size: 13.5px; color: var(--encre); }
@media (min-width: 720px) { .toolbar .sort { margin-left: auto; } }
.costs { margin: 0; display: flex; flex-direction: column; }
.costs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(90, 86, 79, 0.15); font-size: 14px; }
.costs div:last-child { border-bottom: 0; }
.costs dt { color: var(--galet); }
.costs dd { margin: 0; font-weight: 600; white-space: nowrap; }
.photos-btn { align-self: flex-start; }

/* ---------- Parcours par années ---------- */
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.65); min-width: 120px; }
.stat b { font-family: var(--titre); font-size: 17px; font-weight: 500; }
.stat span { font-size: 12px; color: var(--galet); }
.years { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .years { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
@media (min-width: 1200px) { .years { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.year { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-bord); min-width: 0; }
.year__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.year__label { font-family: var(--titre); font-size: 16px; font-weight: 500; }
.year__status { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 11.5px; font-weight: 600; background: rgba(50, 44, 38, 0.07); color: var(--moka); white-space: nowrap; }
.year__status .ico svg { width: 13px; height: 13px; }
.year__dates { font-size: 12px; color: var(--galet); margin-top: -4px; }
.year--figee { background: rgba(225, 213, 201, 0.45); cursor: default; }
.year--en-cours { box-shadow: inset 0 0 0 2px var(--moka); background: #FFF; }
.year--en-cours .year__status { background: var(--moka); color: var(--ivoire); }
.year--objectif { background: var(--moka); color: var(--ivoire); border-color: var(--moka); }
.year--objectif .year__status { background: rgba(245, 245, 242, 0.15); color: var(--ivoire); }
.year--objectif .year__dates { color: rgba(245, 245, 242, 0.75); }
.brick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 10px 12px; border-radius: 14px;
  text-align: left; border: 1px solid transparent; background: rgba(255, 255, 255, 0.75); color: var(--encre); font: inherit;
}
.brick small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--galet); }
.brick strong { font-size: 14px; line-height: 19px; font-weight: 600; }
.brick span { font-size: 12px; line-height: 16px; color: var(--galet); }
.brick--done { background: rgba(255, 255, 255, 0.5); }
.brick--now { background: rgba(50, 44, 38, 0.05); }
.brick--plan { cursor: pointer; border-color: rgba(90, 86, 79, 0.2); }
.brick--plan[aria-pressed="true"] { border-color: var(--moka); box-shadow: inset 0 0 0 1px var(--moka); }
.brick__level { margin-top: 3px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--taupe); color: var(--encre) !important; font-weight: 600; font-size: 11.5px !important; }
.year--objectif .brick { background: rgba(245, 245, 242, 0.1); color: var(--ivoire); border-color: rgba(245, 245, 242, 0.25); }
.year--objectif .brick small, .year--objectif .brick span { color: rgba(245, 245, 242, 0.8); }
.year--objectif .brick[aria-pressed="true"] { border-color: var(--ivoire); box-shadow: inset 0 0 0 1px var(--ivoire); }
.levels--stack { grid-template-columns: 1fr; }
@media (min-width: 720px) { .levels--stack { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.levels--stack .level span { display: block; }
.ladder { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ladder li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); }
.ladder li.is-done { background: rgba(225, 213, 201, 0.55); }
.ladder li.is-goal { box-shadow: inset 0 0 0 2px var(--moka); background: #FFF; }
.ladder__n { width: 28px; height: 28px; border-radius: 14px; background: var(--grege); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.ladder__text { flex: 1; min-width: 0; }
.ladder__text strong { display: block; font-size: 14px; }
.ladder__text .muted { font-size: 12.5px; line-height: 17px; }
.acquis { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.acquis li { display: flex; gap: 10px; align-items: flex-start; }
.acquis strong { display: block; font-size: 14px; }
.acquis .muted { font-size: 12.5px; }
.mini { margin: 4px 0 0; font-size: 13px; font-weight: 600; }

/* ---------- Objectifs du semestre ---------- */
.action__text { flex: 1; min-width: 0; }
.action__date { flex: none; font-size: 12px; font-weight: 600; color: var(--galet); white-space: nowrap; }
.action .tag { flex: none; }
.objectifs-btn { align-self: flex-start; }

/* ---------- Investir : niveau de risque ---------- */
.risk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; }
.risk__bars { display: inline-flex; gap: 3px; }
.risk__bars i { width: 14px; height: 6px; border-radius: 3px; background: rgba(90, 86, 79, 0.2); }
.risk__bars i.on { background: var(--moka); }
.partner__horizon { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--galet); }
.partner__horizon .ico svg { width: 15px; height: 15px; }
.partner .sub { flex: 1; }
.partner .tag { white-space: normal; height: auto; min-height: 24px; padding: 3px 9px; line-height: 16px; }

/* ---------- Formulaire de demande ---------- */
.dialog { width: min(580px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: var(--ivoire); color: var(--encre); box-shadow: 0 30px 80px rgba(20, 18, 16, 0.25); }
.dialog::backdrop { background: rgba(20, 18, 16, 0.35); backdrop-filter: blur(4px); }
.dialog__inner { display: flex; flex-direction: column; gap: 14px; padding: 22px; max-height: calc(100dvh - 24px); overflow: auto; }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dialog__head h2 { margin: 4px 0 0; font-size: 22px; }
.dialog__done { align-items: center; text-align: center; padding: 36px 24px; }
.dialog__done h2 { margin: 0; }
.field-l textarea { min-height: 84px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--trait); background: rgba(255, 255, 255, 0.85); font: inherit; font-size: 14.5px; resize: vertical; }
.help { margin: 0; font-size: 12.5px; line-height: 18px; color: var(--galet); }
.help a, .dossier a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-sent { opacity: 0.75; cursor: default; }
.btn.is-sent .ico svg { width: 16px; height: 16px; }

/* ---------- MVP logement : comptes, aperçu, carte, propositions, espace Hive ---------- */
.page--narrow { max-width: 780px; }
.count-title { margin: 0; font-size: 16px; font-weight: 500; color: var(--galet); }
.lock { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; flex-wrap: wrap; }
.lock > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; }
.lock strong { font-size: 15px; }
.lock .muted { font-size: 13px; }
.listing__locked { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 16px; color: var(--moka); }
.listing__locked .ico svg { width: 14px; height: 14px; }
.photo-une img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: var(--rayon); }
@media (min-width: 720px) { .photo-une img { height: 340px; } }
.map-wrap--osm { display: block; }
.osm { height: 260px; border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-bord); background: var(--pierre); }
@media (min-width: 1024px) { .osm { height: 380px; } }
.mini-map { height: 240px; margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-bord); }
.leaflet-container { font-family: var(--texte); }
.osm-pin { width: auto !important; height: auto !important; background: none; border: 0; }
.osm-pin span {
  display: inline-block; transform: translate(-50%, -100%); padding: 4px 8px; border-radius: 12px; white-space: nowrap;
  background: var(--moka); color: var(--ivoire); font: 600 12px/16px var(--texte); box-shadow: 0 4px 12px rgba(20, 18, 16, 0.25); cursor: pointer;
}
.osm-pin--campus span { background: #FFF; color: var(--encre); border: 1.5px solid var(--moka); }
.osm-pin--poi span { background: var(--taupe); color: var(--encre); font-size: 11px; cursor: default; }
.props { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.prop { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; }
.prop img { width: 100%; height: 120px; object-fit: cover; }
.prop__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.prop__body .quote { margin: 0; }
.prop-inline { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(225, 213, 201, 0.55); }
.stepper { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.stepper li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--galet); }
.stepper li span { width: 24px; height: 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(90, 86, 79, 0.12); font-size: 12px; font-weight: 600; }
.stepper li + li::before { content: ""; width: 18px; height: 1px; background: rgba(90, 86, 79, 0.3); margin-right: 2px; }
.stepper li.is-now { color: var(--encre); font-weight: 600; }
.stepper li.is-now span { background: var(--moka); color: var(--ivoire); }
.stepper li.is-done span { background: var(--taupe); color: var(--encre); }
.choices { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.choices legend { padding: 0 0 6px; font-size: 13px; font-weight: 600; }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); font-size: 14px; cursor: pointer; }
.choice input { accent-color: var(--moka); width: 18px; height: 18px; margin: 0; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; pointer-events: none; }
.pill-check span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--glass-bord); background: rgba(255, 255, 255, 0.7); font-size: 13.5px; cursor: pointer; }
.pill-check input:checked + span { background: var(--moka); color: var(--ivoire); border-color: var(--moka); }
.pill-check input:focus-visible + span { outline: 2px solid var(--moka); outline-offset: 2px; }
.checklist { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); }
.checklist ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.checklist li { display: flex; align-items: center; gap: 8px; }
.auth { max-width: 480px; }
.auth .segmented { margin-bottom: 4px; }
.wait { align-items: center; text-align: center; }
.cand-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.cand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); color: inherit; text-decoration: none; }
.cand > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cand .muted { font-size: 12.5px; }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(90, 86, 79, 0.15); }
.admin-row:last-child { border-bottom: 0; }
.admin-row > div:first-child { display: flex; flex-direction: column; gap: 3px; flex: 1 1 320px; min-width: 0; }
.admin-row .muted { font-size: 12.5px; }
.admin-row select { height: 38px; border-radius: 12px; border: 1px solid var(--trait); padding: 0 10px; background: #FFF; }
.links a, .target a, .sub a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.link-btn--dark { color: var(--encre); }
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 96px; max-width: 520px; padding: 14px 16px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.consent p { margin: 0; }
@media (min-width: 1024px) { .consent { left: auto; right: 24px; bottom: 24px; } }

/* ---------- Conditions d'utilisation ---------- */
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.check-line a, .consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal { gap: 10px; }
.legal p, .legal li { margin: 0; font-size: 14px; line-height: 21px; }
.legal ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal .btn { align-self: flex-start; }

/* Dictée vocale */
.dictee { display: none; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: -4px; }
.has-dictee .dictee { display: flex; }
.dictee .btn svg { flex: none; }
.dictee .btn.is-rec { border-color: #B3412E; color: #B3412E; }
.dictee .btn.is-rec svg { animation: hive-pulse 1.2s ease-in-out infinite; }
@keyframes hive-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .dictee .btn.is-rec svg { animation: none; } }

/* Photos en grand */
[data-photo] { cursor: zoom-in; }
.photos-btn[data-photo] { cursor: pointer; }
[data-photo]:focus-visible { outline: 3px solid var(--moka); outline-offset: 3px; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #141210; color: #FFF; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 18, 16, 0.6); }
.lightbox__fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 12px 20px; box-sizing: border-box; }
.lightbox__fig img { max-width: min(100%, 1400px); max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 12px; cursor: default; }
.lightbox__compte { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.lightbox__btn { position: absolute; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #FFF; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__btn svg { stroke: currentColor; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }

/* Trajet perso */
.trajet { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--trait); }
.trajet .mini { margin: 0; }
.trajet__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.trajet__res { margin: 0; font-size: 14px; line-height: 20px; }
/* Liste déroulante d'adresses (trajet perso) */
.adresse { position: relative; }
.au-dessus { position: relative; z-index: 30; }
.adresse input { width: 100%; box-sizing: border-box; }
.adresse__liste {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 1200; margin: 0; padding: 4px; list-style: none;
  max-height: 290px; overflow-y: auto; background: #fff; border: 1px solid var(--trait); border-radius: 14px;
  box-shadow: 0 12px 28px rgba(31, 27, 23, 0.16); font-weight: 400;
}
.adresse__liste [role=option] { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.adresse__liste [role=option] strong { font-size: 14px; font-weight: 600; color: var(--encre); }
.adresse__liste [role=option] .muted { font-size: 12px; line-height: 16px; }
.adresse__liste [role=option]:hover, .adresse__liste [role=option].is-actif { background: rgba(59, 47, 39, 0.08); }
.adresse__info { padding: 9px 10px; font-size: 12.5px; line-height: 17px; color: var(--galet); }
.trajet__res a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.osm-pin--trajet span { background: #FFF; color: var(--moka); border: 1.5px solid var(--moka); }

/* ---------- Navigation : compte, rubriques à venir, proposer un logement ---------- */
.avatar--top, .avatar--nav { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--taupe); color: var(--encre); font-family: var(--titre); font-weight: 500; text-decoration: none; flex: none; }
.avatar--top { width: 36px; height: 36px; font-size: 14px; }
.avatar--nav { width: 26px; height: 26px; font-size: 11.5px; }
.avatar--nav svg { width: 16px !important; height: 16px !important; }
.avatar--init { letter-spacing: 0.02em; }
.is-soon { opacity: 0.45; }
.is-soon:hover { opacity: 0.6; }
.soon-tag { margin-left: auto; padding: 2px 8px; border-radius: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; background: rgba(50, 44, 38, 0.08); color: var(--moka); }
.side-link { display: none; }
@media (min-width: 1024px) {
  .side-link { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 0 14px; font-size: 13px; color: var(--galet); text-decoration: none; }
  .side-link:hover { color: var(--encre); }
  .side-link + .profile { margin-top: 0; }
  a.profile { color: var(--encre); text-decoration: none; }
  a.profile:hover, a.profile[aria-current="page"] { background: rgba(255, 255, 255, 0.85); }
  .profile > span:last-child { min-width: 0; }
  .profile strong, .profile .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.attente-acces .content { visibility: hidden; }

/* ---------- Logements : compatibilité, encart campus, appel aux propriétaires ---------- */
.compat { display: flex; flex-wrap: wrap; gap: 6px; }
.compat__tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 11px; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(90, 86, 79, 0.25); color: var(--moka); }
.compat__tag.is-ok { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }
.compat__tag .ico svg { width: 13px; height: 13px; }
.autour-campus .autour-campus__nom { margin: -6px 0 2px; font-size: 13px; }
.autour-campus .help { margin-top: 4px; }
.proposer-cta { flex-direction: row; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; }
.proposer-cta > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.proposer-cta .muted { font-size: 13px; }
.proposer-cta:hover { background: rgba(255, 255, 255, 0.8); }

/* ---------- Compte : départ, suppression ---------- */
.depart { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--moka); }
.depart > div { display: flex; flex-direction: column; gap: 3px; flex: 1 1 260px; }
.depart .muted { font-size: 13px; }
.compte-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.link-btn--danger { color: #9A3412; }
.btn--danger { background: #9A3412; border-color: #9A3412; color: #FFF; }

/* ---------- Espace Hive ---------- */
.stat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-chip { display: inline-flex; align-items: baseline; gap: 4px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(90, 86, 79, 0.2); color: var(--galet); font-size: 13px; text-decoration: none; }
.stat-chip b { font-family: var(--titre); font-size: 16px; color: var(--encre); }
.stat-chip.is-on { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }
.stat-chip.is-on b { color: var(--ivoire); }
.admin-row--col { flex-direction: column; align-items: stretch; }
.admin-row--col > div:first-child { flex: none; }
.admin-row--col select { align-self: flex-start; }
.admin-row details summary, .eleve summary { cursor: pointer; font-size: 13px; color: var(--moka); }
.eleve { padding: 10px 0; border-bottom: 1px solid rgba(90, 86, 79, 0.15); }
.eleve:last-child { border-bottom: 0; }
.eleve summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; color: var(--encre); }
.eleve summary::-webkit-details-marker { display: none; }
.eleve summary > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eleve summary .muted { font-size: 12.5px; }
.eleve summary::after { content: "+"; font-size: 18px; color: var(--galet); }
.eleve[open] summary::after { content: "–"; }
.eleve .btn { margin-top: 8px; }
.costs--admin div { font-size: 13px; padding: 6px 0; }
.costs--admin dd { white-space: normal; text-align: right; overflow-wrap: anywhere; }
.costs--admin a { color: inherit; }
.costs--recap dd { white-space: normal; text-align: right; overflow-wrap: anywhere; }

/* Cartes de logement en colonne aussi sur téléphone : la photo en grand, le texte dessous */
@media (max-width: 719px) {
  .listing { flex-direction: column; padding: 8px 8px 12px; }
  .listing img { width: 100%; height: 170px; border-radius: 14px; }
  .listing__body { padding: 0 4px; }
  .listing__row { align-items: flex-start; }
  .listing__title { flex: 1 1 auto; min-width: 0; }
  .props { grid-template-columns: minmax(0, 1fr); }
  .depart .btn, .proposer-cta { width: 100%; }
  .depart .btn { justify-content: center; }
  .stat-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .stat-chip { flex: none; }
  .trajet__actions .btn { flex: 1 1 auto; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__next { transform: rotate(180deg); }
  .lightbox__fig { padding-bottom: 72px; }
  .lightbox__fig img { max-height: calc(100dvh - 150px); }
}

/* ---------- Inscription courte : motifs, jauge, rappels ---------- */
:root { --orange: #D9782D; }
.motifs { display: grid; gap: 8px; }
@media (min-width: 720px) { .motifs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .motifs legend { grid-column: 1 / -1; } }
.choice--carte { align-items: flex-start; }
.choice--carte > span { display: flex; flex-direction: column; gap: 2px; }
.choice--carte .muted { font-size: 12.5px; font-weight: 400; }
.jauge__barre { height: 8px; border-radius: 4px; background: rgba(90, 86, 79, 0.15); overflow: hidden; }
.jauge__barre span { display: block; height: 100%; border-radius: 4px; background: var(--moka); }
.jauge__manque { display: flex; flex-wrap: wrap; gap: 8px; }
.jauge__manque .pill-btn { display: inline-flex; align-items: center; gap: 6px; }
.jauge__manque .ico svg { width: 14px; height: 14px; }
.alerte-dossier, .incitation { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.alerte-dossier > div, .incitation > div { display: flex; flex-direction: column; gap: 3px; flex: 1 1 260px; }
.alerte-dossier .muted, .incitation .muted { font-size: 13px; }
.alerte-dossier { border: 2px solid var(--orange); }
.alerte-dossier .btn { background: var(--orange); border-color: var(--orange); color: #FFF; }
.alerte-ligne { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 18px; background: rgba(217, 120, 45, 0.1); border: 1px solid rgba(217, 120, 45, 0.5); }
.alerte-ligne a { color: inherit; }
.profile.is-alerte { box-shadow: inset 0 0 0 2px var(--orange); }
.profile.is-alerte .muted { color: var(--orange); font-weight: 600; }
.avatar.is-alerte, .avatar--top.is-alerte, .avatar--nav.is-alerte { box-shadow: 0 0 0 2px var(--orange); }
.tags-ligne { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag--alerte { border-color: var(--orange); color: var(--orange); }
.demo-bandeau { flex-direction: row; align-items: center; gap: 12px; border: 1.5px dashed var(--moka); }
.demo-bandeau > div { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.demo-bandeau .muted { font-size: 13px; }
.demo-bandeau .soon-tag { margin-left: 0; align-self: flex-start; }
@media (max-width: 719px) { .alerte-dossier .btn, .incitation .btn { width: 100%; justify-content: center; } .demo-bandeau { flex-wrap: wrap; } }
.trajet__res .credit { display: block; margin-top: 2px; font-size: 11.5px; color: var(--galet); }

/* Mes candidatures : 5 visibles, le reste derrière « Voir + » */
.cand.is-replie { display: none; }
.voir-plus { display: block; margin: 10px auto 0; padding: 8px 18px; border: 1px solid var(--trait); border-radius: 999px; background: rgba(255, 255, 255, 0.6); color: var(--encre); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.voir-plus:hover { background: rgba(255, 255, 255, 0.9); }

/* ---------- Mon parcours v3 : actions en tête, avis Hive, historique par année ---------- */
.maintenant { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; border-radius: var(--rayon); background: var(--moka); color: var(--ivoire); box-shadow: 0 18px 40px rgba(20, 18, 16, 0.18); }
.maintenant .eyebrow { color: rgba(245, 245, 242, 0.7); }
.maintenant h2 { margin: 2px 0 0; font-size: 22px; color: var(--ivoire); }
.maintenant__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-right: 36px; }
.maintenant__charge { font-size: 12.5px; padding: 5px 11px; border-radius: 14px; background: rgba(245, 245, 242, 0.12); color: rgba(245, 245, 242, 0.9); }
.maintenant .objectifs-btn { align-self: flex-start; }
.action-carte { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(245, 245, 242, 0.08); border: 1px solid rgba(245, 245, 242, 0.16); }
.actions--toutes .action-carte { grid-template-columns: minmax(0, 1fr) auto auto; }
.action-carte__num { width: 30px; height: 30px; border-radius: 15px; background: var(--ivoire); color: var(--moka); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 600; }
.action-carte__texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.action-carte__texte strong { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ivoire); }
.action-carte__texte .muted { color: rgba(245, 245, 242, 0.75); font-size: 12.5px; line-height: 17px; }
.action-carte__quand { font-size: 12px; color: rgba(245, 245, 242, 0.75); white-space: nowrap; }
@media (max-width: 719px) {
  .action-carte, .actions--toutes .action-carte { grid-template-columns: auto minmax(0, 1fr); }
  .actions--toutes .action-carte { grid-template-columns: minmax(0, 1fr); }
  .action-carte__quand, .action-carte .btn { grid-column: 2; justify-self: start; }
  .actions--toutes .action-carte__quand, .actions--toutes .action-carte .btn { grid-column: 1; }
}

.jauge-avis { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-bord); }
.jauge-avis__haut { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.jauge-avis__niveau { display: inline-flex; align-items: baseline; gap: 8px; }
.jauge-avis__niveau strong { font-family: var(--titre); font-size: 17px; font-weight: 600; }
.jauge-avis__niveau .muted { font-size: 12.5px; }
.jauge-avis__barre { height: 10px; border-radius: 5px; background: rgba(90, 86, 79, 0.16); overflow: hidden; }
.jauge-avis__barre div { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--taupe), var(--moka)); transition: width .3s; }
.jauge-avis__texte { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; }
.jauge-avis__reseau { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 18px; color: var(--galet); }
.jauge-avis__note { margin: 0; font-size: 12px; color: var(--galet); }
.jauge-avis__details summary { cursor: pointer; font-size: 13px; font-weight: 500; }
.jauge-avis__details ul { margin: 8px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.jauge-avis__details li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 18px; }
.jauge-avis__details li b { font-weight: 600; white-space: nowrap; }
.jauge-avis--compact { background: rgba(255, 255, 255, 0.85); }

[data-zone] { position: relative; }
.goal[data-zone] .goal__top, .glass.card[data-zone] > h2, .glass.card[data-zone] > .section-head, #options-contenu > .section-head, #savoirs-contenu > h2 { padding-right: 36px; }
.signaler { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 15px; border: 1px solid var(--trait); background: rgba(255, 255, 255, 0.75); color: var(--galet); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.75; }
.signaler:hover, .signaler:focus-visible { opacity: 1; color: var(--encre); }
.maintenant .signaler { background: rgba(245, 245, 242, 0.12); border-color: rgba(245, 245, 242, 0.25); color: var(--ivoire); }

.annees-aide { margin: 0; font-size: 12.5px; color: var(--galet); }
.year--faite { background: rgba(225, 213, 201, 0.45); }
.year--faite .year__status { background: var(--taupe); color: var(--encre); }
.year--ouvrable { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.year--ouvrable:hover, .year--ouvrable:focus-visible { box-shadow: 0 8px 22px rgba(20, 18, 16, 0.10); outline: none; }
.year--en-cours.year--ouvrable:hover { box-shadow: inset 0 0 0 2px var(--moka), 0 8px 22px rgba(20, 18, 16, 0.10); }
.year__ouvrir { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--moka); }
.year__ouvrir .ico svg { width: 14px; height: 14px; }
.year__resume { font-size: 12px; color: var(--galet); }
.brick--vide { border-style: dashed; background: transparent; }
.tag--retour { margin-top: 4px; align-self: flex-start; background: rgba(217, 120, 45, 0.12); border-color: var(--orange); color: #8A4512; }
.options-pied { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.histo { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(90, 86, 79, 0.15); }
.histo__tete { display: flex; align-items: center; gap: 8px; }
.histo__tete h3 { margin: 0; flex: 1; font-size: 15px; }
.histo__tete .link-btn { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; }
.histo__liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.histo__liste li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); }
.histo__liste li > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.histo__liste .muted { font-size: 12.5px; }
.histo__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.histo__vide { margin: 0; font-size: 13px; }

.savoirs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.savoirs li { display: flex; flex-direction: column; gap: 6px; }
.savoirs__nom { font-size: 13.5px; font-weight: 500; line-height: 18px; }
.savoirs__choix { display: flex; gap: 4px; flex-wrap: wrap; }
.savoir-btn { min-height: 30px; padding: 0 10px; border-radius: 15px; border: 1px solid var(--trait); background: rgba(255, 255, 255, 0.6); font-size: 12px; cursor: pointer; }
.savoir-btn[aria-pressed="true"] { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }
.savoir-btn[data-statut="en_cours"][aria-pressed="true"] { background: var(--taupe); border-color: var(--taupe); color: var(--encre); }
[data-jauge-form]:empty { display: none; }

/* Zone de recherche, stage signé, rappel hebdo */
.zone-barre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 18px; }
.zone-barre__texte { flex: 1; min-width: 200px; font-size: 14px; line-height: 20px; }
.plus-loin { margin: 4px 0 0; font-size: 13.5px; color: var(--galet); grid-column: 1 / -1; }
.choice.is-off { opacity: 0.55; }
.zone-choix .choice span { line-height: 19px; }
.rappel-toggle { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 19px; color: rgba(245, 245, 242, 0.9); cursor: pointer; }
.rappel-toggle input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ivoire); flex: none; }
.stage-recherche { display: flex; gap: 8px; align-items: flex-start; }
.dark .champ-adresse label { display: block; margin-bottom: 6px; }
.dark .adresse input { height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(245, 245, 242, 0.3); background: rgba(245, 245, 242, 0.95); color: var(--encre); font-size: 14.5px; }
.dark select { height: 40px; border-radius: 12px; padding: 0 10px; font-size: 14px; }
.dark .field select { width: 100%; margin-top: 6px; }
.brick--signe { border: 1px solid var(--moka); }
.brick--signe .brick__level { background: var(--moka); color: var(--ivoire) !important; }

/* Espace Hive : parcours de l'élève */
.admin-parcours { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-bord); }
.admin-parcours h3 { font-family: var(--titre); font-size: 17px; font-weight: 500; margin: 0 0 8px; }
.admin-parcours h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--galet); margin: 14px 0 4px; }
.admin-parcours p, .admin-parcours li { font-size: 14px; margin: 0; }
.admin-parcours ul, .admin-parcours ol { margin: 0; padding-left: 18px; }
.admin-parcours li + li { margin-top: 4px; }
.admin-parcours__annees > li { list-style: none; margin-left: -18px; }
.admin-parcours__annees > li > ul { margin-top: 2px; }
.admin-parcours__avis { margin-top: 8px !important; }
.admin-parcours .btn { margin-top: 8px; }
#metiers .admin-row, #metiers .admin-row > * { min-width: 0; }
#metiers .pack__actions { flex-wrap: wrap; }
#metiers select { flex: 1 1 220px; width: 100%; max-width: 100%; min-width: 0; }

/* Mon parcours, visiteur : aperçu puis parcours complet flouté */
.apercu { display: flex; flex-direction: column; gap: 12px; }
.apercu h2 { margin: 0; }
.apercu__choix { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.apercu__choix select { min-width: 0; width: 100%; }
.apercu__etape .action-carte { margin-top: 6px; background: var(--moka); border-color: var(--moka); }
#parcours-complet { display: flex; flex-direction: column; gap: 16px; }
.flou-zone { position: relative; max-height: 1150px; overflow: hidden; }
.flou-zone #parcours-complet { filter: blur(7px); opacity: .8; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.flou-cta { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); z-index: 2;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 18px 50px rgba(20, 18, 16, 0.16); background: rgba(255, 255, 255, 0.92); }
.flou-cta h2 { margin: 0; }
.flou-cta__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.flou-cta__liste li { display: flex; gap: 8px; align-items: flex-start; }
.flou-cta__liste .ico { flex: 0 0 auto; margin-top: 2px; }
@media (max-width: 719px) { .flou-cta { top: 24px; } .flou-cta .btn { width: 100%; justify-content: center; } }
.alerte-ligne--info { background: rgba(50, 44, 38, 0.06); border-color: var(--trait); margin-bottom: 12px; }

/* Logements, visiteur non inscrit : annonces floutées et message pour se connecter */
.liste-floue { position: relative; min-height: 560px; grid-column: 1 / -1; }
.liste-floue__cartes { display: grid; gap: 12px; filter: blur(7px); opacity: .85; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.flou-barre { display: block; height: 14px; border-radius: 7px; background: var(--taupe); }
.flou-barre--fine { height: 10px; opacity: .7; }
.flou-message { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.flou-message h2 { margin: 0; }
.flou-message p { margin: 0; }
.liste-floue .flou-message { position: absolute; top: 90px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); z-index: 2;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 18px 50px rgba(20, 18, 16, 0.16); }
@media (min-width: 720px) { .liste-floue__cartes { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } }
@media (max-width: 719px) { .liste-floue .flou-message { top: 40px; } .flou-message .btn { width: 100%; justify-content: center; } }

/* Explorer : liens partenaires */
.result__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.result__actions .btn .ico, .result__actions .btn svg { margin-left: 2px; }
.result__partenaire { margin: 0; font-size: 11.5px; line-height: 15px; color: var(--galet); }

/* Gratuit pour les étudiants, zones floutées (01/12) */
.flou-gratuit { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--moka); }
.flou-gratuit .ico, .flou-gratuit svg { flex: 0 0 auto; margin-top: 1px; }
.auth .flou-gratuit { margin: 4px 0 10px; }
.zone-floue { position: relative; min-height: 520px; }
.zone-floue__contenu { filter: blur(7px); opacity: .85; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.zone-floue .flou-message { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); z-index: 2;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 18px 50px rgba(20, 18, 16, 0.16); }
.est-inactif { opacity: .55; filter: grayscale(.3); }
.lien-livre { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.action-carte small, .apercu small { font-size: 11px; opacity: .8; }

/* ---------- Mon parcours v4 (01/12) : bandeau objectif, Cette semaine, Mon plan, Entretiens, onglets ---------- */
.objectif-bandeau { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 20px 22px; border-radius: var(--rayon); background: var(--moka); color: var(--ivoire); box-shadow: 0 18px 40px rgba(20, 18, 16, 0.18); }
.objectif-bandeau .eyebrow { color: rgba(245, 245, 242, 0.72); }
.objectif-bandeau__texte { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 280px; }
.objectif-bandeau__titre { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.objectif-bandeau .goal__title { color: var(--ivoire); }
.objectif-bandeau__modifier { color: rgba(245, 245, 242, 0.88); min-height: 32px; }
.objectif-bandeau__avis { flex: 1 1 300px; max-width: 440px; display: flex; flex-direction: column; gap: 6px; padding-right: 30px; }
.objectif-bandeau .help { color: rgba(245, 245, 242, 0.78); }
.objectif-bandeau .signaler { background: rgba(245, 245, 242, 0.12); border-color: rgba(245, 245, 242, 0.25); color: var(--ivoire); }
.jauge-avis--anneau { padding: 0; background: none; border: 0; gap: 6px; }
.jauge-avis--anneau .jauge-avis__haut { align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 14px; }
.jauge-avis--anneau .jauge-avis__niveau { flex-direction: column; align-items: flex-start; gap: 1px; }
.jauge-avis--anneau .jauge-avis__texte { font-size: 13px; line-height: 18px; font-weight: 400; }
.objectif-bandeau .jauge-avis__niveau strong { color: var(--ivoire); }
.objectif-bandeau .jauge-avis__niveau .muted, .objectif-bandeau .jauge-avis__texte { color: rgba(245, 245, 242, 0.85); }
.anneau { flex: none; }
.anneau__fond { fill: none; stroke: rgba(90, 86, 79, 0.18); stroke-width: 8; }
.anneau__val { fill: none; stroke: var(--moka); stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray .3s; }
.anneau__score { font-family: var(--titre); font-size: 21px; font-weight: 600; fill: var(--encre); }
.objectif-bandeau .anneau__fond { stroke: rgba(245, 245, 242, 0.18); }
.objectif-bandeau .anneau__val { stroke: var(--grege); }
.objectif-bandeau .anneau__score { fill: var(--ivoire); }
.anneau--petit .anneau__fond, .anneau--petit .anneau__val { stroke-width: 7; }
.anneau--petit .anneau__score { font-size: 14px; }

.semaine { display: flex; flex-direction: column; gap: 12px; }
.semaine__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding-right: 36px; }
.semaine__tete h2 { margin: 0; }
.semaine__charge { font-size: 12.5px; color: var(--galet); }
.semaine__prog { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--galet); }
.semaine .action-carte, .semaine .actions--toutes .action-carte { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 56px; padding: 10px 14px; background: rgba(255, 255, 255, 0.62); border: 1px solid var(--glass-bord); color: var(--encre); }
.semaine .action-carte__texte strong { color: var(--encre); font-size: 14.5px; }
.semaine .action-carte__texte .muted, .semaine .action-carte__quand { color: var(--galet); }
.action-carte__case { width: 24px; height: 24px; margin: 0; accent-color: var(--moka); cursor: pointer; }
.action-carte__puce { width: 8px; height: 8px; margin: 0 8px; border-radius: 4px; background: var(--taupe); }
.semaine__pied { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.semaine .rappel-toggle { color: var(--encre); }
.semaine .rappel-toggle input { accent-color: var(--moka); }
@media (max-width: 719px) {
  .semaine .action-carte, .semaine .actions--toutes .action-carte { grid-template-columns: auto minmax(0, 1fr); }
  .semaine .action-carte__quand, .semaine .actions--toutes .action-carte__quand { grid-column: 2; }
}

.plan { display: flex; flex-direction: column; gap: 14px; }
.plan__corps { display: flex; flex-direction: column; gap: 14px; }
.frise { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.frise::before { content: ""; position: absolute; left: 8%; right: 8%; top: 26px; height: 2px; background: var(--taupe); }
.frise .year { position: relative; align-items: center; text-align: center; gap: 4px; padding: 10px 6px 12px; border: 1px solid transparent; border-radius: 16px; background: transparent; box-shadow: none; color: var(--encre); font: inherit; cursor: pointer; }
.frise .year--ouvrable:hover, .frise .year--ouvrable:focus-visible, .frise .year:hover, .frise .year:focus-visible { background: rgba(255, 255, 255, 0.7); box-shadow: none; outline: 2px solid transparent; }
.frise .year:focus-visible { box-shadow: inset 0 0 0 2px var(--moka); }
.frise .year[aria-pressed="true"] { background: #FFF; border-color: var(--moka); box-shadow: inset 0 0 0 1px var(--moka); }
.frise__point { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 15px; border: 2px solid var(--taupe); background: var(--ivoire); display: flex; align-items: center; justify-content: center; color: var(--ivoire); box-sizing: border-box; }
.frise__point svg { width: 15px; height: 15px; }
.frise .year--faite .frise__point { background: var(--moka); border-color: var(--moka); }
.frise .year--en-cours .frise__point { background: var(--moka); border-color: var(--moka); box-shadow: inset 0 0 0 5px var(--ivoire); }
.frise .year--objectif .frise__point { border-color: var(--moka); color: var(--moka); }
.frise .year__label { font-size: 15px; line-height: 20px; }
.frise .year__status, .frise .year--en-cours .year__status, .frise .year--faite .year__status, .frise .year--objectif .year__status { height: auto; padding: 0; background: none; color: var(--galet); font-size: 12px; font-weight: 500; }
.frise .year--en-cours .year__status { color: var(--encre); font-weight: 600; }
.frise__choix, .frise .brick.frise__choix { padding: 0; border: 0; background: none; color: var(--encre); font-size: 12.5px; line-height: 17px; font-weight: 500; }
.frise .brick__level { margin-top: 2px; }
.frise .year__ouvrir { margin-top: 2px; font-size: 12px; }
.frise .tag--retour { align-self: center; }
.periode { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: #FFF; border: 2px solid var(--moka); }
#options-contenu { display: flex; flex-direction: column; gap: 12px; }
.periode h3 { margin: 0; font-family: var(--titre); font-size: 17px; font-weight: 500; }
.periode__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.periode__actions .link-btn { margin-left: auto; min-height: 36px; }
.periode__dates { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(90, 86, 79, 0.15); }
@media (min-width: 900px) { .periode__dates .dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 719px) {
  .plan__corps { gap: 4px; }
  .frise { display: contents; }
  .frise::before { display: none; }
  .frise .year { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; justify-items: start; text-align: left; padding: 10px; }
  .frise__point { grid-row: 1 / span 2; }
  .frise .year__label { grid-column: 2; }
  .frise .year__status { grid-column: 3; grid-row: 1; justify-self: end; }
  .frise__choix, .frise .brick__level, .frise .year__ouvrir, .frise .tag--retour { grid-column: 2 / 4; justify-self: start; }
  .periode { margin: 2px 0 8px; padding: 14px; }
  .periode .levels--stack .level span { display: none; }
  .periode__actions .link-btn { margin-left: 0; }
}

.cols--egal { align-items: stretch; }
.cols--egal > * { flex: 1 1 340px; min-width: 0; }
#savoirs-contenu { display: flex; flex-direction: column; gap: 10px; }
.entretiens__tete { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.entretiens__tete h2 { margin: 0; }
.entretiens__tete .sub { margin: 2px 0 0; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { min-height: 44px; padding: 5px 14px; border-radius: 22px; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; text-align: left; }
.pastille .savoirs__nom { font-size: 13px; line-height: 17px; }
.pastille__etat { font-size: 11px; line-height: 14px; color: var(--galet); }
.pastille--en_cours { background: var(--grege); border-color: var(--taupe); }
.pastille--maitrise { background: var(--moka); border-color: var(--moka); color: var(--ivoire); }
.pastille--maitrise .pastille__etat { color: rgba(245, 245, 242, 0.8); }
.comprendre { display: flex; flex-direction: column; }
.comprendre > h2 { margin: 0 0 8px; }
.repli { border-top: 1px solid rgba(90, 86, 79, 0.15); }
.repli summary { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; list-style: none; }
.repli summary::-webkit-details-marker { display: none; }
.repli summary::after { content: "+"; font-size: 18px; color: var(--galet); }
.repli[open] summary::after { content: "−"; }
.repli[open] { padding-bottom: 12px; }
.repli .help { margin-bottom: 8px; }
.pourquoi { display: flex; flex-direction: column; gap: 8px; }

.onglets { display: none; }
@media (max-width: 899px) {
  .onglets { display: flex; gap: 4px; padding: 4px; position: sticky; top: 8px; z-index: 6; border-radius: 24px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--glass-bord); box-shadow: var(--ombre); }
  .onglets button { flex: 1; min-height: 44px; border: 0; border-radius: 20px; background: transparent; font: inherit; font-size: 14px; color: var(--encre); cursor: pointer; }
  .onglets button[aria-pressed="true"] { background: var(--moka); color: var(--ivoire); font-weight: 600; }
  #parcours-complet[data-onglet="maintenant"] [data-tab]:not([data-tab="maintenant"]),
  #parcours-complet[data-onglet="plan"] [data-tab]:not([data-tab="plan"]),
  #parcours-complet[data-onglet="entretiens"] [data-tab]:not([data-tab="entretiens"]) { display: none; }
}
.cols--egal { align-items: flex-start; }
.plan .section-head .muted { font-size: 13px; }
@media (max-width: 719px) { .entretiens__tete h2 { font-size: 19px; line-height: 24px; } }
