/* Buddies Népal — maquettes. Même langage que Guides Népal (refonte du 2026-10-14) : barre du haut floutée,
   bandeau photo + voile bleu nuit, recherche en pilule, cartes sans filet à ombre douce (coins 16 px),
   couverture + avatar qui la chevauche, pastilles à icônes, rouge népalais pour les actions.
   Sous-marque Buddies : sarcelle #0F6B73 (texte et liens), clair #9FDCE1 sur bleu nuit.
   Charte CWAY : JAMAIS de bordure colorée sur un seul côté d'un bloc — un statut = pastille, anneau fin ou couleur du texte. */

:root {
  --red: #C0122F; --red-deep: #9C0E26;
  --site: #0F6B73; --site-deep: #10233F; --site-soft: #E2F1F2; --site-ink: #0B5960;
  --night: #10233F; --paper: #F4F6F8; --mist: #E6EBF1; --surface: #FFFFFF;
  --ink: #121A26; --ink-2: #4E5968; --ink-3: #5B6675; --line: #D5DBE2;
  --on-red: #FFFFFF; --on-site: #FFFFFF;
  --link: #0F6B73; --link-hover: #0A4A50;
  --women: #A3245C; --women-soft: #F8E5EE;
  --ok: #1F5C3B; --ok-soft: #E4F3EA; --warn: #7A4700; --warn-soft: #FFF3DC;
  --guides: #A35C17; --guides-soft: #F6EDE4;
  --shadow: 0 0 0 1px rgba(16, 35, 63, .05), 0 1px 2px rgba(16, 35, 63, .06), 0 6px 18px rgba(16, 35, 63, .06);
  --hover-shadow: 0 0 0 1px rgba(16, 35, 63, .05), 0 14px 32px rgba(16, 35, 63, .14);
  --radius: 16px; --radius-s: 8px;
  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --hero-bg: linear-gradient(160deg, #0B1A30 0%, #10233F 55%, #1A3560 100%);
  --hero-accent: #9FDCE1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E141C; --mist: #1E2834; --surface: #18202B; --ink: #E8EDF3; --ink-2: #A3AEBB; --ink-3: #8F9AA8; --line: #2B3542;
    --red: #F2596E; --red-deep: #F47A8B; --on-red: #0E141C;
    --site: #6CC6CE; --on-site: #0E141C; --site-soft: #16343A; --site-ink: #8ED6DC; --link: #6CC6CE; --link-hover: #A6E2E7;
    --women: #F08BB6; --women-soft: #3A2230; --ok: #A7E3C0; --ok-soft: #163224; --warn: #F0C060; --warn-soft: #3A2F14;
    --guides: #D6AB81; --guides-soft: #33261C;
    --shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(0, 0, 0, .3);
    --hover-shadow: 0 0 0 1px var(--line), 0 14px 32px rgba(0, 0, 0, .5);
    --hero-bg: linear-gradient(160deg, #080F18 0%, #0E1B30 55%, #142849 100%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--site); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--ink-2); }
.data { font-family: var(--font-data); font-weight: 500; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--site); margin: 0 0 10px; }

/* Bandeau « maquette » (même place et même forme que le bandeau Bêta de Guides) */
.beta { background: var(--night); color: #D9DEE8; font-size: .86rem; padding: 6px 0; }
.beta .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; }
.beta__tag { font: 700 .7rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; border-radius: 999px; padding: 2px 9px; }
.beta a { color: #D9DEE8; text-decoration: none; }
.beta a[aria-current] { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Barre du haut */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem var(--font-head); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand em { font-style: normal; color: var(--site); }
.brand img { width: 32px; height: 32px; display: block; }
.stamp-inverse { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stamp { display: none !important; } :root:not([data-theme="light"]) .stamp-inverse { display: block !important; } }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.top-acts { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .85rem; padding: 6px 12px; }
.lang a[aria-current="true"] { background: var(--site); color: var(--on-site); }
.iconbtn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.iconbtn .dot { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 700 11px/19px var(--font-body); text-align: center; box-shadow: 0 0 0 2px var(--paper); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-s); font: 700 1rem var(--font-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: var(--on-red); }
.btn--primary:hover { background: var(--red-deep); color: var(--on-red); }
.btn--site { background: var(--site); color: var(--on-site); }
.btn--site:hover { background: var(--site-deep); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--outline:hover { color: var(--site); border-color: var(--site); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--small { padding: 9px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.seemore { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); font: 700 .92rem var(--font-head); text-decoration: none; }
.seemore:hover { color: var(--site); box-shadow: var(--hover-shadow); }
.seemore .icon { width: 16px; height: 16px; }

/* Bandeau d'accueil photo */
.hero { position: relative; background: #0B1A30; color: #F4F6F8; overflow: hidden; min-height: clamp(540px, 60vw, 640px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 18, 34, .88) 0%, rgba(8, 18, 34, .64) 48%, rgba(8, 18, 34, .12) 85%), linear-gradient(0deg, rgba(8, 18, 34, .6), transparent 55%); }
.hero > .wrap { position: relative; z-index: 2; }
.hero__in { padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 64px); max-width: 780px; }
.hero .eyebrow { color: var(--hero-accent); }
.hero h1 { line-height: 1.05; letter-spacing: -.02em; }
.hero h1 span { color: var(--hero-accent); }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .88); max-width: 640px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: #C5CDDC; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .icon { color: var(--hero-accent); width: 17px; height: 17px; }

/* Recherche en pilule (trek · dates · bouton) */
.quicksearch { color-scheme: light; display: flex; align-items: center; gap: 4px; margin: 24px 0 22px; max-width: 760px; padding: 6px; background: #fff; color: #121A26; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.quicksearch label { display: flex; align-items: center; gap: 8px; padding-left: 14px; min-width: 0; }
.quicksearch label + label { border-left: 1px solid #D5DBE2; }
.qs-trek { flex: 1 1 auto; }
.qs-when { flex: 0 1 230px; }
.quicksearch .icon { color: #5B6675; }
.quicksearch select { width: 100%; min-width: 0; font: inherit; padding: 10px 6px; border: 0; background: transparent; color: #121A26; cursor: pointer; }
.quicksearch .btn { border-radius: 999px; flex: none; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--mist); }
.section--tight { padding-top: 28px; }
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.sechead h2 { margin: 0; }
.sechead .eyebrow { margin-bottom: 6px; }
.intro { color: var(--ink-2); max-width: 720px; font-size: 1.05rem; margin: -8px 0 26px; }

/* Barre de filtres et onglets (même forme que le tri de l'annuaire Guides) */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.seg a, .seg button { border: 0; background: none; font: 600 .92rem var(--font-body); color: var(--ink-2); padding: 7px 14px; border-radius: 999px; text-decoration: none; cursor: pointer; }
.seg [aria-current="true"] { background: var(--site); color: var(--on-site); }
.seg .n { font-family: var(--font-data); font-size: .8rem; opacity: .8; margin-left: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); border: 0; font: 600 .88rem var(--font-body); color: var(--ink-2); cursor: pointer; }
.fchip .icon { width: 16px; height: 16px; color: var(--site); }
.fchip[aria-pressed="true"] { background: var(--site-soft); color: var(--site-ink); box-shadow: 0 0 0 1.5px var(--site); }
.fchip--women[aria-pressed="true"] { background: var(--women-soft); color: var(--women); box-shadow: 0 0 0 1.5px var(--women); }

/* Cartes génériques */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h3 { font-size: 1.15rem; }
.card > p:last-child { margin-bottom: 0; }
.card__label { font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--site); margin: 0 0 8px; }
.card--site { background: var(--site-soft); box-shadow: none; }
.card--site .card__label { color: var(--site-ink); }
.card--guides { background: var(--guides-soft); box-shadow: none; }
.card--guides .card__label { color: var(--guides); }

/* Pastilles */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--mist); color: var(--ink-2); }
.pill .icon { width: 14px; height: 14px; }
.pill--women { background: var(--women-soft); color: var(--women); }
.pill--guide { background: var(--guides-soft); color: var(--guides); }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--site { background: var(--site-soft); color: var(--site-ink); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* Avatars (initiales sur teinte douce, comme les fiches sans photo de Guides) */
.av { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 800 1rem var(--font-head); flex: none; background: var(--site-soft); color: var(--site-ink); }
.av--sm { width: 32px; height: 32px; font-size: .78rem; }
.av--lg { width: 132px; height: 132px; font-size: 3rem; }
.av--empty { background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink-3); }
.c1 { background: #DCE6F7; color: #1C4D9C; } .c2 { background: #F7E2D8; color: #8E3815; } .c3 { background: #DDEFE6; color: #1D6A4B; }
.c4 { background: #F8E5EE; color: #A3245C; } .c5 { background: #EEE3F2; color: #6B2F7A; } .c6 { background: #E2F1F2; color: #0B5960; }
.c7 { background: #F1EED8; color: #5B5612; } .c8 { background: #DFE4EC; color: #10233F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .av:not(.av--empty) { filter: saturate(.9) brightness(.92); } }
.stack { display: flex; }
.stack .av { box-shadow: 0 0 0 3px var(--surface); }
.stack .av + .av { margin-left: -10px; }
/* Accompagnant sans compte : pastille « +n » en anneau sarcelle (il compte dans les places mais n'a pas de profil) */
.av.av--plus, .stack .av.av--plus, .tcard__body .stack .av.av--plus { background: var(--surface); color: var(--site-ink); font-size: .85rem; box-shadow: inset 0 0 0 2px var(--site), 0 0 0 3px var(--surface); }
.av--plus.av--sm { font-size: .72rem; }

/* Carte de départ (même ossature que la carte de fiche Guides) */
.tgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tcard { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.tcard:hover { box-shadow: var(--hover-shadow); transform: translateY(-2px); }
.tcard--women { box-shadow: 0 0 0 1.5px var(--women), var(--shadow); }
.tcard--guide { box-shadow: 0 0 0 1.5px var(--guides), var(--shadow); }
.tcard a.tcard__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.tcard__cover { position: relative; height: 120px; background: var(--mist); }
.tcard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__date { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #121A26; font: 500 .8rem var(--font-data); }
.tcard__flag { position: absolute; top: 10px; right: 10px; }
.tcard__body { display: flex; flex-direction: column; gap: 7px; padding: 0 18px 16px; flex: 1; }
.tcard__body .stack { margin-top: -18px; position: relative; }
.tcard__body .stack .av { box-shadow: 0 0 0 3px var(--surface); }
.tcard__body .card__label { margin: 2px 0 0; }
.tcard h3 { margin: 0; font-size: 1.12rem; }
.facts { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-2); }
.facts > span { display: flex; align-items: center; gap: 8px; }
.facts .icon { width: 16px; height: 16px; color: var(--ink-3); }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); font-size: .9rem; }
.seats { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; }
.seats i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--site); }
.seats i.free { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.seats span { display: inline-flex; gap: 3px; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 700 .9rem var(--font-head); color: var(--site); white-space: nowrap; }
.more .icon { width: 16px; height: 16px; }

/* Personnes disponibles */
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.person { display: flex; flex-direction: column; gap: 10px; }
.person__head { display: flex; gap: 12px; align-items: center; }
.person__head h3 { margin: 0; font-size: 1.05rem; }
.person__win { font: 500 .85rem var(--font-data); color: var(--site); }
.person__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); }
.compat { font-size: .84rem; color: var(--ok); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.compat .icon { width: 15px; height: 15px; }

/* Tuiles photo (départs par trek) */
.photogrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.photocard { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; color: #fff; text-decoration: none; box-shadow: var(--shadow); background: #10233F; }
.photocard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.photocard:hover img { transform: scale(1.04); }
.photocard:hover { color: #fff; }
.photocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 32, .86) 0%, rgba(8, 18, 32, .2) 55%, transparent); }
.photocard__txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.photocard__title { font: 800 1.12rem/1.2 var(--font-head); }
.photocard__sub { font-size: .84rem; color: rgba(255, 255, 255, .86); }
.photocard__count { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .93); color: #121A26; font: 700 .76rem var(--font-head); }

/* Comment ça marche */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.step__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--site-soft); color: var(--site-ink); margin-bottom: 12px; }
.step__ico .icon { width: 22px; height: 22px; }

/* Bloc bleu nuit (appel aux guides) */
.proband { background: var(--night); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; }
.proband p { color: #C9D3DF; margin: 0; }
.proband .card__label { color: #E3C5A8; }
.proband h2 { color: #fff; margin-bottom: 8px; }

/* En-tête des pages intérieures */
.pagehead { background: var(--hero-bg); color: #F4F6F8; padding: clamp(36px, 5vw, 60px) 0 clamp(32px, 4vw, 48px); }
.pagehead .eyebrow { color: var(--hero-accent); }
.pagehead h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.pagehead .lead { margin: 0; }

/* Fil d'Ariane, couverture et en-tête de fiche (identiques aux fiches Guides) */
.crumbs { padding: 16px 0 12px; font-size: .88rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--site); text-decoration: underline; }
.crumbs span + span::before { content: "›"; margin: 0 8px; }
.cover { position: relative; height: clamp(200px, 30vw, 340px); border-radius: 18px; overflow: hidden; background: var(--mist); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover__pill { position: absolute; left: 14px; top: 14px; }
.cover__btn { position: absolute; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); color: #121A26; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.phead { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 22px; align-items: start; padding: 16px clamp(8px, 3vw, 32px) 0; }
.phead > .av--lg { margin-top: -82px; box-shadow: 0 0 0 6px var(--paper), var(--shadow); }
.stackbig { display: flex; margin-top: -66px; }
.stackbig .av { width: 104px; height: 104px; font-size: 2.3rem; box-shadow: 0 0 0 6px var(--paper); }
.stackbig .av + .av { margin-left: -26px; }
.phead h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0; }
.phead__lead { margin: 6px 0 0; color: var(--ink-2); font-size: 1.05rem; }
.phead .eyebrow { margin-bottom: 6px; }
.pchips { list-style: none; margin: 18px 0 0; padding: 0 clamp(8px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .9rem; color: var(--ink-2); }
.pchip .icon { width: 16px; height: 16px; color: var(--site); }
.pchip strong { color: var(--ink); font-family: var(--font-data); font-weight: 500; }
.pchip--women { background: var(--women-soft); color: var(--women); box-shadow: none; }
.pchip--women .icon { color: var(--women); }
.pchip--ok { background: var(--ok-soft); color: var(--ok); box-shadow: none; }
.pchip--ok .icon { color: var(--ok); }

/* Fiche à deux colonnes */
.profile { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; margin-top: 26px; }
.profile__main, .profile__side { display: grid; gap: 18px; min-width: 0; }
.profile__side { position: sticky; top: 84px; }
.members { display: grid; gap: 10px; }
.member { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.member small { display: block; color: var(--ink-2); }
.member .pill { margin-left: auto; }
.member--free { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-3); }
.member--companion { background: transparent; box-shadow: inset 0 0 0 1.5px var(--site-soft); }
/* Départ complet : carte grisée, pastille « Complet · n en attente » */
.tcard--full .tcard__cover img { filter: grayscale(.5); }
.seats--full { color: var(--warn); }
.seats--full .icon { width: 16px; height: 16px; }
.alt-cta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
/* Vue de l'organisateur (liste d'attente) : anneau sarcelle en pointillés, jamais de bordure d'un seul côté */
.orgview { box-shadow: inset 0 0 0 2px var(--site-soft), var(--shadow); }
.orgview__tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--site-soft); color: var(--site-ink); font: 700 .74rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.orgview__tag .icon { width: 14px; height: 14px; }
.waitlist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.waitlist .member .btn { margin-left: auto; }
.rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font: 800 .8rem var(--font-head); flex: none; }
.grow { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--paper); margin-bottom: 12px; }
.grow .btn { justify-self: start; }
.member--companion small { display: block; color: var(--ink-3); }
/* « Vous venez avec d'autres personnes ? » */
.companions { padding: 14px; border-radius: 12px; background: var(--site-soft); }
.companions > .lbl { display: flex; align-items: center; gap: 8px; color: var(--site-ink); }
.companions .opts label { background: var(--surface); }
.companions .hint .icon { width: 14px; height: 14px; color: var(--site); vertical-align: -2px; }
.itin { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.itin li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.itin li:last-child { border-bottom: 0; }
.itin b { font: 500 .85rem var(--font-data); color: var(--site); }
.itin .alt { font: 500 .85rem var(--font-data); color: var(--ink-3); }
.locked { display: flex; gap: 14px; align-items: center; color: var(--ink-2); }
.locked__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); flex: none; }
.price { font: 500 2rem/1.1 var(--font-data); margin: 2px 0 4px; }
.price small { font: 400 .95rem var(--font-body); color: var(--ink-2); }
.hint { font-size: .86rem; color: var(--ink-3); margin: 0; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.note .icon { color: var(--site); margin-top: 2px; }
.report { text-align: center; font-size: .86rem; margin: 0; }
.report a { color: var(--ink-3); }

/* Formulaires */
.field { display: grid; gap: 6px; min-width: 0; }
.field > .lbl { font-weight: 700; font-size: .95rem; }
.input { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); }
.input:focus { border-color: var(--site); outline: none; box-shadow: 0 0 0 3px var(--site-soft); }
textarea.input { min-height: 130px; resize: vertical; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.form { display: grid; gap: 18px; }
.form .card { display: grid; gap: 18px; }
.form h2 { font-size: 1.2rem; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; }
.opts input:checked + label { background: var(--site-soft); color: var(--site-ink); box-shadow: inset 0 0 0 1.5px var(--site); }
.opts input:focus-visible + label { outline: 2px solid var(--site); outline-offset: 2px; }
.modes { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.modes input { position: absolute; opacity: 0; }
.modes label { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; }
.modes label b { display: block; font: 700 1.08rem var(--font-head); margin-bottom: 2px; }
.modes label span { color: var(--ink-2); font-size: .93rem; }
.modes input:checked + label { box-shadow: 0 0 0 2px var(--site), var(--shadow); }
.modes .step__ico { margin: 0; flex: none; }
.womenopt { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--women-soft); color: var(--ink); }
.womenopt input { width: 20px; height: 20px; accent-color: var(--women); margin-top: 3px; flex: none; }
.womenopt b { color: var(--women); }
.formfoot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Messagerie (bulles comme la messagerie Guides : les miennes en teinte douce) */
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr) 300px; gap: 18px; padding: 22px 0; height: calc(100vh - 64px - 34px); }
.panelbox { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.convlist { overflow: auto; padding: 8px; display: grid; gap: 4px; align-content: start; }
.convlist h2 { font-size: 1.1rem; padding: 10px 10px 0; margin: 0; }
.convsep { padding: 12px 10px 2px; font: 700 .7rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.conv { display: flex; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none; align-items: center; }
.conv:hover { background: var(--paper); color: var(--ink); }
.conv[aria-current] { background: var(--site-soft); }
.conv__txt { min-width: 0; flex: 1; }
.conv__top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: .95rem; }
.conv__top time { font: 500 .74rem var(--font-data); color: var(--ink-3); }
.conv__last { font-size: .86rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv.is-unread .conv__last { color: var(--ink); font-weight: 700; }
.unread { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.gico { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; }
.gico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thead { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.thead small { color: var(--ink-2); }
.msgs { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.msg { display: flex; gap: 10px; max-width: 78%; align-items: flex-end; }
.msg__body { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); box-shadow: var(--shadow); }
.msg__meta { font-size: .76rem; color: var(--ink-3); margin: 0 0 3px 4px; }
.msg--mine { align-self: flex-end; flex-direction: row-reverse; }
.msg--mine .msg__body { background: var(--site-soft); box-shadow: none; border-radius: 14px 14px 4px 14px; }
.msg--mine .msg__meta { text-align: right; margin: 0 4px 3px 0; }
.sys { align-self: center; display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--ink-2); background: var(--surface); box-shadow: var(--shadow); padding: 4px 12px; border-radius: 999px; text-align: center; }
.sys .icon { width: 14px; height: 14px; color: var(--site); }
.compose { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.compose .input { border-radius: 999px; }
.compose .btn { border-radius: 999px; }
.ctx { overflow: auto; padding: 18px; display: grid; gap: 18px; align-content: start; }
.ctx h3 { font-size: 1rem; margin: 0 0 8px; }
.request { border-radius: 12px; padding: 14px; background: var(--warn-soft); box-shadow: 0 0 0 1.5px #C98A1A; }
.request .card__label { color: var(--warn); }
.request__acts { display: flex; gap: 8px; margin-top: 12px; }
.request q { display: block; font-size: .92rem; margin: 10px 0 0; quotes: "« " " »"; }
.reqbar { display: none; }

/* Profil */
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 24px; height: 8px; border-radius: 4px; background: var(--line); }
.meter i.on { background: var(--site); }

/* Pied de page */
.footer { background: var(--night); color: #B9C2D3; padding: 48px 0 36px; font-size: .9rem; }
.footer a { color: #9FDCE1; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 6px; }
.footer__nav a { color: #F4F6F8; font-weight: 600; }
.footer__brand { display: flex; align-items: center; gap: 10px; font: 800 1.1rem var(--font-head); color: #fff; margin-bottom: 10px; }
.footer__brand img { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 1100px) {
  .inbox { grid-template-columns: 280px minmax(0, 1fr); }
  .inbox .ctx-box { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .top-acts { margin-left: auto; }
  .profile { grid-template-columns: 1fr; }
  .profile__side { position: static; }
  .proband { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .topbar .btn--primary { display: none; }
  .topbar__in { gap: 10px; }
  .top-acts { gap: 8px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .iconbtn { width: 36px; height: 36px; }
  .lang a { padding: 5px 8px; font-size: .8rem; }
  .hero::after { background: linear-gradient(0deg, rgba(8, 18, 34, .92) 0%, rgba(8, 18, 34, .7) 60%, rgba(8, 18, 34, .45) 100%); }
  .quicksearch { flex-direction: column; align-items: stretch; border-radius: 18px; padding: 8px; gap: 2px; }
  .quicksearch label { flex: none; }
  .quicksearch label + label { border-left: 0; border-top: 1px solid #D5DBE2; }
  .quicksearch .btn { margin-top: 6px; }
  .seg { width: 100%; }
  .seg a, .seg button { flex: 1; text-align: center; }
  .phead { grid-template-columns: 1fr; padding: 0 4px; }
  .phead > .av--lg { width: 104px; height: 104px; margin-top: -56px; font-size: 2.4rem; }
  .stackbig { margin-top: -50px; }
  .stackbig .av { width: 80px; height: 80px; font-size: 1.8rem; }
  .modes { grid-template-columns: 1fr; }
  .inbox { grid-template-columns: 1fr; height: auto; padding: 12px 0; gap: 12px; }
  .inbox .conv-box { display: none; }
  .reqbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--warn-soft); color: var(--warn); font-size: .9rem; font-weight: 700; }
  .msgs { min-height: 60vh; }
  .msg { max-width: 90%; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .itin li { grid-template-columns: 56px minmax(0, 1fr); }
  .itin .alt { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .tcard, .photocard img, .btn { transition: none; } .tcard:hover, .btn:hover { transform: none; } }
