/* Visit Népal — stylesheet
   Charte Cause We Are Young (2026-10-10) : sous-marque Visit (brique newar), rouge népalais pour les actions,
   bandeau bleu nuit, fond gris froid, polices Archivo / Atkinson Hyperlegible / IBM Plex Mono. Light/dark via prefers-color-scheme.
   Les noms historiques des variables sont gardés (comments.css et photos.css, partagés, les utilisent) :
   --blue = couleur du site (brique Visit), --red = rouge des actions, --blue-deep = bleu nuit profond,
   --sand = paper, --sand-2 = mist, --paper = surface. */

:root {
  --red: #C0122F;
  --red-deep: #9C0E26;
  --blue: #A6421A;
  --blue-deep: #10233F;
  --sand: #F4F6F8;
  --sand-2: #E6EBF1;
  --paper: #FFFFFF;
  --ink: #121A26;
  --ink-2: #4E5968;
  --ink-3: #5B6675;
  --line: #D5DBE2;
  --ok: #1F7A4D;
  --ok-bg: #E4F3EA;
  --skip: #8A94A2;
  --skip-bg: #EEF1F5;
  --warn: #9A5A00;
  --warn-bg: #FFF3DC;
  --on-red: #FFFFFF;
  --on-blue: #FFFFFF;
  --link: #A6421A;
  --link-hover: #84340F;
  /* Refonte du 2026-10-14 (design de Guides Népal v1.24) : ombres douces et coins plus ronds */
  --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;
  --blue-soft: #F7EBE5;   /* fond des pastilles d'icône (brique très claire) */
  --blue-ink: #8A3614;    /* brique foncée sur --blue-soft (6,9:1) */
  --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-ink: #F4F6F8;
  --hero-accent: #F2A985; /* brique claire : accents et anneau de focus sur les fonds bleu nuit (bandeau, en-têtes, pied de page) */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #0E141C;
    --sand-2: #1E2834;
    --paper: #18202B;
    --ink: #E8EDF3;
    --ink-2: #A3AEBB;
    --ink-3: #8F9AA8;
    --line: #2B3542;
    --ok: #6FCB94;
    --ok-bg: #163224;
    --skip: #6F7A88;
    --skip-bg: #1E2834;
    --warn: #F0B45B;
    --warn-bg: #3A2A10;
    --red: #F2596E;
    --red-deep: #F47A8B;
    --blue: #F08B62;
    --on-red: #0E141C;
    --on-blue: #0E141C;
    --link: #F08B62;
    --link-hover: #F5AB8C;
    --hero-bg: linear-gradient(160deg, #080F18 0%, #0E1B30 55%, #142849 100%);
    --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);
    --blue-soft: #35231B; --blue-ink: #F5AB8C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sand: #0E141C; --sand-2: #1E2834; --paper: #18202B; --ink: #E8EDF3; --ink-2: #A3AEBB; --ink-3: #8F9AA8;
  --line: #2B3542; --ok: #6FCB94; --ok-bg: #163224; --skip: #6F7A88; --skip-bg: #1E2834; --warn: #F0B45B; --warn-bg: #3A2A10;
  --red: #F2596E; --red-deep: #F47A8B; --blue: #F08B62; --on-red: #0E141C; --on-blue: #0E141C; --link: #F08B62; --link-hover: #F5AB8C;
  --hero-bg: linear-gradient(160deg, #080F18 0%, #0E1B30 55%, #142849 100%);
  --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);
  --blue-soft: #35231B; --blue-ink: #F5AB8C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .pagehead :focus-visible, .pricebar :focus-visible, .footer :focus-visible { outline-color: var(--hero-accent); }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
code { font-family: var(--font-data); font-size: .92em; background: var(--sand-2); padding: .1em .35em; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: var(--on-red); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sand) 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-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand em { font-style: normal; color: var(--blue); }
.brand__mark { width: 32px; height: 32px; display: block; }
/* Tampon : version claire, inverse (anneaux blancs) en thème sombre */
.stamp-inverse { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stamp { display: none; } :root:not([data-theme="light"]) .stamp-inverse { display: block; } }
:root[data-theme="dark"] .stamp { display: none; }
:root[data-theme="dark"] .stamp-inverse { display: block; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blue); }
.lang { display: inline-flex; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.nav + .lang { margin-left: 0; }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-ink); overflow: hidden; }
.hero__in { position: relative; z-index: 2; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); max-width: 780px; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--hero-accent); margin-bottom: 18px; }
.hero h1 span { color: var(--hero-accent); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #D9DEE8; max-width: 640px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-s); font-family: var(--font-head); font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: transform .15s, background .15s; }
.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--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: #C5CDDC; }
.hero__facts li::before { content: "◆"; color: var(--hero-accent); font-size: .6rem; margin-right: 8px; vertical-align: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--sand-2); }
.section__title { max-width: 820px; }
.section__intro { color: var(--ink-2); max-width: 720px; font-size: 1.08rem; margin-bottom: 32px; }
.note { color: var(--ink-3); font-size: .92rem; }

/* ---------- Wizard ---------- */
.wizard { display: grid; gap: 22px; }
.wizard__q { border: 0; padding: 0; margin: 0; }
.wizard__q legend { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.08rem; margin-bottom: 12px; padding: 0; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-family: var(--font-head); font-size: .95rem; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--paper);
  border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.chip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.chip:hover span { border-color: var(--blue); }

.result { margin-top: 32px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); animation: pop .3s ease; }
.result__tag { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.result h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.result__why { color: var(--ink-2); }
.result__steps { display: grid; gap: 10px; margin: 18px 0; }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---------- Boutons secondaires et encarts (utilisés sur toutes les pages) ---------- */
.btn--small { padding: 9px 16px; font-size: .92rem; }
.btn--blue { background: var(--blue); color: var(--on-blue); }
.btn--blue:hover { background: var(--blue-deep); color: #fff; }
.callout { padding: 14px 16px; font-size: .95rem; }
.callout--warn { background: var(--warn-bg); color: var(--warn); }
.callout--ok { background: var(--ok-bg); color: var(--ok); }
.callout--info { background: var(--sand-2); color: var(--ink-2); }

@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.table tr:last-child td { border-bottom: 0; }
.table td:last-child { white-space: nowrap; font-weight: 700; color: var(--blue); }

/* ---------- Requirements grid ---------- */
.grid3 { display: grid; gap: 18px; }
@media (min-width: 860px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.card ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.card li { margin-bottom: .5em; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.flags span { font-size: .82rem; background: var(--sand-2); padding: 3px 9px; border-radius: 999px; }
/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--font-head); font-size: 1.4rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 18px; color: var(--ink-2); font-size: .97rem; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: #B9C2D3; padding: 48px 0 36px; font-size: .9rem; }
.footer a { color: var(--hero-accent); }
.footer__brand { margin: 0 0 14px; }
.footer__brand a { display: inline-flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; }
.footer__brand a:hover { color: var(--hero-accent); }
.footer__disclaimer { max-width: 780px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 6px; }
.footer__nav a { color: #F4F6F8; font-weight: 600; }
.footer__navlabel { color: #8C97AB; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; }
.footer__feedback { margin: 0 0 14px; color: #D9DEE8; }
.footer__feedback a { font-weight: 700; }
.footer__meta { margin: 0; color: #8C97AB; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .door__inside { transition: none; animation: none; } }

/* ---------- Multi-pages (v0.2) ---------- */
.lang a { display: inline-block; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .85rem; padding: 6px 12px; }
.lang a[aria-current="true"] { background: var(--blue); color: var(--on-blue); }
.nav a[aria-current="page"] { color: var(--blue); }

.pagehead { background: var(--hero-bg); color: var(--hero-ink); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.pagehead h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 860px; }
.pagehead .lead { max-width: 720px; margin-bottom: 0; }
.pagehead .path__tags { margin-top: 18px; }
.pagehead .tag { background: rgba(255,255,255,.12); color: #fff; }
.pagehead .tag--ok { background: rgba(111,203,148,.22); color: #C9F0D8; }
.pagehead .tag--warn { background: rgba(240,180,91,.22); color: #FFE0AE; }

.col-title--next { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); }
.col-title { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 12px; }
.card__title { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.path--page .path__body { padding-top: 28px; }

.pcards { display: grid; gap: 18px; }
@media (min-width: 720px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
.pcard { display: flex; flex-direction: column; gap: 8px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; color: inherit; text-decoration: none; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.pcard:hover { transform: translateY(-2px); border-color: var(--blue); color: inherit; }
.pcard--3:hover { border-color: var(--red); }
.pcard__top { margin-bottom: 6px; }
.pcard__top .mini-timeline { gap: 4px; }
.pcard__top .mini { padding: 5px 10px; font-size: .8rem; }
.pcard__top .pill { font-size: .7rem; padding: 2px 8px; }
.pcard h3 { font-size: 1.3rem; margin: 0; }
.pcard__tag { margin: 0; color: var(--blue); font-weight: 700; font-size: .9rem; }
.pcard__desc { margin: 0; color: var(--ink-2); font-size: .95rem; }
.pcard__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.center { text-align: center; margin-top: 28px; }

.linkgrid { display: grid; gap: 14px; }
@media (min-width: 720px) { .linkgrid { grid-template-columns: repeat(4, 1fr); } }
.linkcard { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 18px; text-decoration: none; color: inherit; border: 2px solid transparent; transition: border-color .15s; }
.linkcard:hover { color: inherit; }
.linkcard strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--blue); }
.linkcard span { font-size: .88rem; color: var(--ink-2); }
/* ---------- Partage ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.share__label { font-weight: 700; font-size: .9rem; color: var(--ink-2); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); font: inherit; font-weight: 600; font-size: .88rem; text-decoration: none; cursor: pointer; transition: border-color .15s, transform .15s; }
.share a:hover, .share button:hover { border-color: var(--blue); transform: translateY(-1px); color: var(--ink); }
.share svg { width: 16px; height: 16px; }
.share .is-done { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.hero .share { margin-top: 26px; }
.hero .share__label { color: #C5CDDC; }
.hero .share a, .hero .share button { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.hero .share a:hover, .hero .share button:hover { border-color: #fff; color: #fff; }

/* ---------- Date de vérification ---------- */
.updated { display: inline-flex; align-items: center; gap: 7px; margin: 18px 0 0; font-size: .85rem; font-weight: 600; color: #C9F0D8; background: rgba(111,203,148,.16); padding: 5px 12px 5px 9px; border-radius: 999px; }
.updated svg { width: 15px; height: 15px; }
.updated + .share, .updated + .pagehead-share { margin-top: 18px; }
/* ---------- Tableau des tarifs empilé sur mobile (pas de défilement latéral) ---------- */
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .table tr:last-child { border-bottom: 0; }
  .table td { display: block; padding: 2px 0; border-bottom: 0; }
  .table td:last-child { white-space: normal; padding-bottom: 4px; }
}

/* ---------- Navigation sur mobile et tablette : liens en ligne sous la marque ---------- */
@media (max-width: 899px) {
  .topbar__in { flex-wrap: wrap; height: auto; padding: 10px 0 0; row-gap: 6px; }
  .nav { display: flex; order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: .9rem; }
}
/* ---------- Page FAQ : rubriques, filtre, ouverture par ancre ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faq__toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; max-width: 860px; }
.faq__filter { flex: 1 1 240px; }
.faq__filter input { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: .95rem; }
.faq__filter input:focus { outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent); border-color: var(--blue); }
.faq__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq__toc a { text-decoration: none; font-size: .85rem; font-weight: 700; color: var(--blue); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.faq__toc a:hover { border-color: var(--blue); }
.faq__section { display: grid; gap: 10px; }
.faq__section + .faq__section { margin-top: 18px; }
.faq__group { font-size: 1.15rem; margin: 6px 0 0; color: var(--blue); scroll-margin-top: 90px; }
.faq details { scroll-margin-top: 90px; }
.faq details.is-target { outline: 2px solid var(--blue); }
.faq [hidden] { display: none !important; }

/* ---------- Partage compact sur mobile : un bouton, partage natif ou liste dépliée ---------- */
.share__items { display: contents; }
.share .share__toggle { display: none; }
@media (max-width: 699px) {
  .share .share__toggle { display: inline-flex; }
  .share__items { display: none; width: 100%; flex-wrap: wrap; gap: 8px; }
  .share.is-open .share__items { display: flex; }
}
.section__title--sub { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 44px 0 16px; }
.section__title--sub:first-child { margin-top: 0; }
.grid2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.stack { display: grid; gap: 10px; }
.prose { max-width: 820px; }
.prose > p, .prose li { color: var(--ink-2); }

/* ---------- Pastilles de valeur (guide, oui/non) ---------- */
.val { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.val--ok { background: var(--ok-bg); color: var(--ok); }
.val--warn { background: var(--warn-bg); color: var(--warn); }
.val--maybe { background: var(--sand-2); color: var(--ink-2); }   /* neutre : la brique se confondait avec le rouge de « Non » */
.val--no { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }

/* ---------- Niveau (4 points) ---------- */
.lvl { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.lvl__dots { display: inline-flex; gap: 3px; }
.lvl__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.lvl__dot.is-on { background: var(--blue); }
.lvl--4 .lvl__dot.is-on { background: var(--ink); }   /* niveau 4 : encre, le rouge se confondait avec la brique des niveaux 1-3 */

/* ---------- Cartes de trek ---------- */
.tcards { display: grid; gap: 18px; }
@media (min-width: 700px) { .tcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tcards { grid-template-columns: repeat(3, 1fr); } }
.tcard { display: flex; flex-direction: column; gap: 8px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 20px; color: inherit; text-decoration: none; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.tcard:hover { color: inherit; }
.tcard__region { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.tcard__name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; line-height: 1.15; }
.tcard__tag { color: var(--ink-2); font-size: .95rem; }
.tcard__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tcard__why { font-size: .88rem; color: var(--ink-2); background: var(--sand-2); border-radius: 10px; padding: 8px 10px; }
.tcard__warn { color: var(--warn); font-weight: 600; }
.tcard__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.tcards--result { margin: 16px 0; }


/* ---------- Sommaire interne d'une page ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.toc a { text-decoration: none; font-size: .85rem; font-weight: 700; color: var(--blue); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.toc a:hover { border-color: var(--blue); }
.tsec { scroll-margin-top: 90px; }
.tsec + .tsec { margin-top: 56px; }
.tsec > h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.tsec__intro { color: var(--ink-2); max-width: 780px; }
.tsec h3 { font-size: 1.1rem; margin: 22px 0 10px; }

/* ---------- Saisons (12 mois) ---------- */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; max-width: 760px; }
.month { display: grid; place-items: center; height: 42px; border-radius: 8px; font-size: .78rem; font-weight: 700; }
.month--good { background: var(--ok); color: #fff; }
.month--ok { background: var(--warn-bg); color: var(--warn); }
.month--bad { background: var(--skip-bg); color: var(--skip); }
.months__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--ink-2); margin: 10px 0 0; }
.months__key::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.months__key--good::before { background: var(--ok); }
.months__key--ok::before { background: var(--warn-bg); border: 1px solid var(--warn); }
.months__key--bad::before { background: var(--skip-bg); border: 1px solid var(--skip); }
@media (max-width: 520px) { .month { height: 34px; font-size: .66rem; } }

/* ---------- Tableau comparatif des treks ---------- */
.ctable { width: 100%; border-collapse: collapse; font-size: .93rem; }
.ctable th, .ctable td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ctable thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); white-space: nowrap; }
.ctable tbody th a { font-family: var(--font-head); font-size: 1.05rem; color: var(--blue); text-decoration: none; }
.ctable tbody th a:hover { color: var(--blue); }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .ctable thead { display: none; }
  .ctable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ctable tbody th { grid-column: 1 / -1; padding: 0 0 2px; border: 0; }
  .ctable td { padding: 0; border: 0; font-size: .88rem; }
  .ctable td::before { content: attr(data-col); display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 2px; }
}

/* ---------- Tableaux génériques : première colonne en gras ---------- */
.table td:first-child { font-weight: 700; }
.table td:last-child { white-space: normal; font-weight: 400; color: var(--ink-2); }
.table--money td:last-child { white-space: nowrap; font-weight: 700; color: var(--blue); }
@media (max-width: 640px) {
  .table td[data-col]::before { content: attr(data-col); display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-top: 6px; }
  .table td:first-child[data-col]::before { display: none; }
  .table--money td:last-child { white-space: normal; }
}

/* ---------- Cartes (permis, bureaux) ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card p { color: var(--ink-2); font-size: .95rem; }
.card p:last-child { margin-bottom: 0; }
.card__kicker { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 4px; }
.card .card__price { font-family: var(--font-data); font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 700; color: var(--blue); margin: 0 0 8px; line-height: 1.2; }
.card__price small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.card .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; margin: 10px 0 0; }
.card .kv dt { color: var(--ink-3); font-weight: 600; }
.card .kv dd { margin: 0; color: var(--ink); }

/* ---------- Transports : trajets ---------- */
.legs { display: grid; gap: 12px; }
.leg { display: grid; grid-template-columns: 40px 1fr; gap: 12px; background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 16px 18px; }
.leg__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--sand-2); display: grid; place-items: center; font-size: 1.2rem; }
.leg__title { font-weight: 700; margin: 0 0 2px; }
.leg__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .85rem; color: var(--ink-3); font-weight: 600; margin: 0 0 6px; }
.leg__meta b { color: var(--blue); }
.leg p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.leg p + p { margin-top: 6px; }

/* ---------- Divers ---------- */
.linkgrid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .linkgrid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .linkgrid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .linkgrid--5 { grid-template-columns: repeat(5, 1fr); } }
.pricebar { margin: 0 0 18px; background: var(--blue-deep); color: var(--hero-ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.pricebar__label { font-weight: 700; font-size: 1.05rem; flex: 1 1 260px; }
.pricebar__label small { display: block; font-weight: 400; font-size: .85rem; color: #C5CDDC; margin-top: 4px; }
.pricebar__items { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pricebar__item { display: flex; flex-direction: column; }
.pricebar__big { font-family: var(--font-data); font-variant-numeric: tabular-nums; font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.pricebar__small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hero-accent); }
.crosslink { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px clamp(20px, 3vw, 28px); }
.crosslink p { margin: 0; flex: 1 1 320px; color: var(--ink-2); }
.crosslink strong { color: var(--ink); }
@media print {
  .topbar, .share, .section--tint, .footer__links, .toc { display: none !important; }
  .pagehead, .section { padding: 12px 0; }
  .card, .table-wrap, .tcard, .day { box-shadow: none; border: 1px solid #ccc; }
}
.cards + .callout, .cards + .stack { margin-top: 14px; }

/* ---------- Pages et treks « bientôt » ---------- */
.soon { max-width: 720px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--warn); padding: clamp(22px, 4vw, 36px); }
.soon h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.soon p { color: var(--ink-2); }
.soon__badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); margin-bottom: 10px; }
.tcard--soon { opacity: .78; }
.tcard--soon:hover { opacity: 1; }
.tcard__soon { display: inline-block; margin-left: 6px; font-size: .66rem; padding: 2px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); letter-spacing: .06em; vertical-align: 1px; }


/* ---------- Visit Népal : cartes d'itinéraire ---------- */
@media (min-width: 1000px) { .tcards--4 { grid-template-columns: repeat(4, 1fr); } }
.tcard__route { font-size: .85rem; font-weight: 600; color: var(--blue); }
.tcard__route i { font-style: normal; color: var(--blue); }
.section__intro { color: var(--ink-2); max-width: 760px; }
.note { font-size: .88rem; color: var(--ink-3); }
.card__map { font-size: .88rem; font-weight: 600; }
.stack--cross { gap: 14px; }

/* ---------- Carte du Népal (accueil) ---------- */
.dm { margin: 8px 0 32px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 12px 8px; }
.dm__svg { display: block; width: 100%; height: auto; }
.dm__land { fill: color-mix(in srgb, var(--blue) 9%, var(--paper)); stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; }
.dm__dot { fill: var(--blue); stroke: var(--paper); stroke-width: 3; }
.dm__dot--valley { fill: var(--ink); }   /* encre : distinct de la brique des autres points */
.dm__lead { stroke: var(--ink-3); stroke-width: 1.2; }
.dm__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.dm__pt:hover .dm__name, .dm__pt:focus .dm__name { fill: var(--blue); }
.dm__pt:hover .dm__dot { r: 9; }
.dm__box { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.dm__vtitle { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; fill: var(--ink-3); font-family: var(--font-body); }
.dm__vitem text { font-family: var(--font-head); font-weight: 700; font-size: 19px; fill: var(--blue); }
.dm__vitem:hover text, .dm__vitem:focus text { fill: var(--blue); }
.dm .is-soon .dm__dot { fill: var(--skip); }
.dm .is-soon text { opacity: .7; }
.dm__cap { font-size: .82rem; color: var(--ink-3); padding: 4px 6px 0; }
@media (max-width: 640px) { .dm__name { font-size: 30px; } .dm__vitem text { font-size: 27px; } .dm__vtitle { font-size: 18px; } }

/* ---------- Organiser la visite ---------- */
.plan { display: grid; gap: 14px; }
@media (min-width: 860px) { .plan { grid-template-columns: repeat(3, 1fr); } }
.plan__item { background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 18px 20px; }
.tsec .plan__item h3 { margin: 0 0 8px; }
.plan__item p { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* ---------- Programme jour par jour ---------- */
.days { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.day { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin: 0; position: relative; padding-bottom: 18px; }
.day::before { content: ""; position: absolute; left: 27px; top: 50px; bottom: 0; width: 2px; background: var(--line); }
.day:last-child::before { display: none; }
.day__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; position: relative; z-index: 1; }
.day__body { background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 16px 20px; }
.tsec .day__title { margin: 0 0 8px; font-size: 1.15rem; }
.day__body p { margin: 0 0 8px; color: var(--ink-2); font-size: .96rem; }
.day__body p:last-child { margin-bottom: 0; }
.day__night { font-size: .88rem !important; color: var(--ink-3) !important; }
.day__night b { color: var(--blue); }
@media (max-width: 520px) { .day { grid-template-columns: 40px 1fr; gap: 10px; } .day__n { width: 40px; height: 40px; font-size: 1rem; } .day::before { left: 19px; top: 40px; } }

/* ---------- Fêtes, total des entrées ---------- */
.fest__when { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-right: 6px; }
.table--total tr:last-child td { border-top: 2px solid var(--blue); font-size: 1.02rem; }

/* ---------- Saisons par région (page « Quand partir ») ---------- */
.mrows { display: grid; gap: 14px; }
.mrow { background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 16px 20px; }
.tsec .mrow__title, .mrow__title { font-size: 1.1rem; margin: 0 0 10px; }
.mrow__txt { margin: 12px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 820px; }
.mrow .months__legend { display: none; }
.mrows + .mrows__legend, .mrows ~ .note { margin-top: 10px; }
.day--span .day__n { font-size: .95rem; background: var(--ink); }   /* étape de plusieurs jours : pastille encre, distincte des jours simples (brique) */
@media (max-width: 520px) { .day--span .day__n { font-size: .72rem; } }
.result__sub { font-size: 1.05rem; margin: 22px 0 10px; }

/* ---------- Carte de l'accueil : infobulle d'une destination ---------- */
.dm { position: relative; }
.dm__tip { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 10px)); width: max-content; max-width: min(260px, 80vw); background: var(--blue-deep); color: #fff; border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); pointer-events: none; font-size: .85rem; line-height: 1.35; }
.dm__tip b { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: 2px; }
.dm__tip span { color: #D9DEE8; }
.dm__tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--blue-deep); }
.dm__tip[hidden] { display: none; }

/* équivalent en euros ajouté après les prix NPR/USD (assets/js/eur.js) */
.eur { color: var(--ink-3); font-family: var(--font-body); font-size: min(.85em, .95rem); font-weight: 400; letter-spacing: normal; white-space: nowrap; }

.hero .eur, .pagehead .eur, .pricebar .eur { color: var(--hero-accent); }   /* équivalent en euros lisible sur les fonds bleu nuit */

/* ===================== Refonte du design (2026-10-14) =====================
   Design de Guides Népal v1.24 (maquette validée par Vincent), adapté à un site de contenu : bandeau photo de l'accueil
   avec barre arrondie, cartes de destination à bande photo, pastilles, icônes au trait (sprite assets/img/icons.svg,
   ico() dans render.js), pages intérieures avec fil d'Ariane, couverture ou en-tête arrondi, sommaire collant à droite.
   Charte CWAY : jamais de bordure colorée sur un seul côté d'un bloc. */
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.btn .icon { width: 17px; height: 17px; }
.ibub, .tcard__ico { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; flex: none; background: var(--blue-soft); color: var(--blue-ink); }
.ibub .icon, .tcard__ico .icon { width: 22px; height: 22px; vertical-align: 0; }
.ibub--s { width: 36px; height: 36px; border-radius: 10px; }
.ibub--s .icon { width: 19px; height: 19px; }
.box { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 2.4vw, 26px); }
.box > p:last-child { margin-bottom: 0; }
.cross-gap { margin-top: clamp(36px, 5vw, 52px); }

/* Blocs : coins de 16 px, ombre douce ; survol = ombre plus marquée (plus de bordure qui s'allume) */
.leg, .plan__item, .day__body, .mrow, .callout, .faq details { border-radius: var(--radius); }
.tcard, .linkcard { border: 0; transition: transform .2s, box-shadow .2s; }
.tcard:hover, .linkcard:hover { transform: translateY(-2px); box-shadow: var(--hover-shadow); }
.tcard:focus-visible, .linkcard:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.card h3.card__title { font-size: 1.12rem; }

/* ---------- Accueil : bandeau photo + voile bleu nuit ---------- */
.hero--photo { background: #0B1A30; min-height: clamp(540px, 58vw, 680px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%;   /* cadrage à droite (photo d’accueil sans signature depuis le 2026-10-14) */ display: block; }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  /* voile limité à la zone du texte : nul vers 80 % de la largeur, le bas à droite reste clair */
  background: linear-gradient(90deg, rgba(8, 18, 34, .88) 0%, rgba(8, 18, 34, .66) 45%, rgba(8, 18, 34, .2) 68%, transparent 82%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(8, 18, 34, .5), transparent 70%); }
@media (max-width: 640px) { .hero--photo::after { background: linear-gradient(0deg, rgba(8, 18, 34, .78) 0%, rgba(8, 18, 34, .62) 55%, rgba(8, 18, 34, .45) 100%); } }
.hero--photo h1, .hero--photo .lead, .hero--photo .hero__facts { text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 16px rgba(0, 0, 0, .35); }
.hero--photo .hero__in { max-width: none; padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 64px); }
.hero--photo .hero__in > :not(.hero__flag) { max-width: 720px; }
.hero--photo .hero__flag { left: auto; right: 0; top: 40px; }   /* drapeau (≥ 1 240 px) : à droite du bloc de texte, sur la photo */
.hero--photo h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; }
.hero--photo .lead { color: rgba(255, 255, 255, .9); }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.hero__facts li::before { content: none; }
.hero__facts .icon { color: var(--hero-accent); width: 17px; height: 17px; }
.hero--photo .hero__facts { color: rgba(255, 255, 255, .9); }
.hero__cta { margin: 0 0 24px; gap: 10px; }
.btn--pill { border-radius: 999px; padding: 9px 16px; font-size: .95rem; }
.hero--photo .btn--ghost { background: rgba(8, 18, 34, .38); border-color: rgba(255, 255, 255, .45); }
.hero--photo .btn--ghost:hover { background: rgba(8, 18, 34, .6); }
/* Barre arrondie : une destination → sa page (script de l'accueil). Sans JavaScript : bouton « Les destinations » à la place. */
.quicksearch { color-scheme: light; display: flex; align-items: center; gap: 4px; margin: 26px 0 16px; max-width: 600px; 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; flex: 1 1 auto; min-width: 0; }
.quicksearch .icon { color: #5B6675; }
.quicksearch select { width: 100%; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 6px; border: 0; background: transparent; color: #121A26; cursor: pointer; }
.quicksearch select:focus-visible { outline: 2px solid #A6421A; outline-offset: 2px; border-radius: 6px; }
.hero .quicksearch :focus-visible { outline-color: #A6421A; }   /* fond blanc : pas la brique claire du bandeau */
.quicksearch .btn { border-radius: 999px; flex: none; }
html:not(.js) .quicksearch, .js .hero__nojs { display: none; }
@media (max-width: 640px) {
  .quicksearch { flex-direction: column; align-items: stretch; border-radius: 18px; padding: 8px; gap: 2px; }
  .quicksearch .btn { justify-content: center; margin-top: 6px; }
}

/* ---------- Cartes de destination à bande photo, cartes d'itinéraire à icône ---------- */
.tcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard--photo { padding: 0; gap: 0; overflow: hidden; }
.tcard--photo .tcard__body { padding: 16px 18px 18px; }
.tcard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-deep); }
.tcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; transform-origin: 100% 100%; }   /* zoom ancré en bas à droite : la signature incrustée dans ce coin n'est jamais rognée */
.tcard--photo:hover .tcard__img img { transform: scale(1.04); }
.tcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px; border-radius: 999px; background: var(--sand-2); color: var(--ink-2); font-size: .84rem; line-height: 1.35; }
.tchip .icon { width: 15px; height: 15px; color: var(--blue); }
.tchip b { font-family: var(--font-data); font-weight: 500; color: var(--ink); white-space: nowrap; }
.tcard__more { display: inline-flex; align-items: center; gap: 6px; }
.tcard__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.tcard:hover .tcard__more .icon { transform: translateX(3px); }
.tcard__ico { margin-bottom: 4px; }
.tcard__route { display: flex; align-items: flex-start; gap: 6px; }
.tcard__route .icon { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- Essentiels de l'accueil, « Préparer le voyage », liens vers Visa / Trek ---------- */
.card--ess .ibub { margin-bottom: 14px; }
.card__cta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.card__cta a:hover { text-decoration: underline; }
.card__cta .icon { width: 16px; height: 16px; }
.linkcard { border-radius: var(--radius); padding: 18px; }
.linkcard .ibub { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 6px; color: var(--blue-ink); }
.linkcard .ibub .icon { width: 19px; height: 19px; }
.crosslink { border-radius: var(--radius); }
.callout { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; }
.callout__ico { width: 18px; height: 18px; margin-top: 3px; }
.callout__txt { min-width: 0; }
.callout__txt > :last-child { margin-bottom: 0; }

/* ---------- Pages intérieures : fil d'Ariane, en-tête arrondi ou couverture photo, pastilles ---------- */
.crumbs { padding: 14px 0 12px; font-size: .88rem; color: var(--ink-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.pagetop .pagehead { border-radius: 18px; padding: clamp(28px, 4.5vw, 52px) clamp(20px, 4vw, 48px); }
.pagehead h1 { margin-bottom: .35em; }
.pagetop .pagehead .lead { margin: 0; }
.lead--page { color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 760px; margin: 20px 0 0; }
.pagetop .share { margin-top: 18px; }
.pchips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin: 0; padding: 7px 13px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; color: var(--ink-2); }
.pchip .icon { width: 16px; height: 16px; color: var(--blue); }
.pchip__k { color: var(--ink-3); white-space: nowrap; }
.pchip b { min-width: 0; color: var(--ink); font-weight: 700; }
/* couverture : le bandeau photo commun (photos.css) dans un cadre arrondi, ratio d'origine conservé (la signature
   incrustée en bas à droite n'est jamais coupée), titre posé dessus ; sous l'image sur téléphone */
.cover__media { position: relative; border-radius: 18px; overflow: hidden; background: var(--blue-deep); }
.cover .photohero { background: transparent; }
.cover .photohero picture { max-width: none; }
.cover__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 72px clamp(20px, 3vw, 36px) clamp(18px, 2.6vw, 30px); color: #fff; pointer-events: none;
  /* voile seulement sous le titre (bas gauche), éteint vers 65 % de la largeur : la signature en bas à droite reste lisible */
  background: radial-gradient(ellipse 75% 120% at 0% 100%, rgba(8, 18, 34, .78) 0%, rgba(8, 18, 34, .45) 45%, transparent 75%); }
.cover__txt > * { max-width: 62%; }
.cover__txt .eyebrow { margin-bottom: 8px; text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 12px rgba(0, 0, 0, .5); }
.cover__txt h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 16px rgba(0, 0, 0, .45); }
.cover .photohero__cap { width: auto; margin: 8px 2px 0; }
@media (max-width: 699px) {
  .cover__txt { position: static; padding: 14px 16px 16px; background: var(--blue-deep); }
  .cover__txt > * { max-width: none; }
  .cover__txt h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); text-shadow: none; }
}

/* ---------- Corps des pages : sommaire en pastilles (mobile) ou colonne collante (grand écran) ---------- */
.section--page { padding-top: clamp(28px, 4vw, 44px); }
.pagegrid { display: grid; gap: 28px; }
.pagegrid .toc { margin: 0; }
.pagemain { min-width: 0; }
.toc a { display: inline-flex; align-items: center; gap: 6px; }
.toc .icon { display: none; width: 16px; height: 16px; color: var(--blue); }
.toc__label { display: none; margin: 0 10px 8px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
@media (min-width: 1000px) {
  .pagegrid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
  .pagemain { grid-column: 1; grid-row: 1; }
  .pageside { grid-column: 2; grid-row: 1; position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow-y: auto; border-radius: var(--radius); }
  .pageside .toc { flex-direction: column; flex-wrap: nowrap; gap: 2px; padding: 16px 10px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
  .pageside .toc__label { display: block; }
  .pageside .toc a { display: flex; gap: 10px; padding: 8px 10px; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--ink-2); font-size: .92rem; }
  .pageside .toc a:hover { background: var(--sand-2); color: var(--blue); }
  .pageside .toc .icon { display: inline-block; }
  .pageside .toc a:focus-visible { outline-offset: -2px; }
}
.tsec + .tsec { margin-top: clamp(44px, 6vw, 64px); }
.tsec > h2 { display: flex; align-items: center; gap: 12px; }

/* ---------- Photos : crédits Wikimedia discrets (gardés sous les images, jamais de ©) ---------- */
/* page « Crédits photos » (photos des cartes et du bandeau de l'accueil, sans crédit visible sur les cartes) + lien discret sous les destinations */
.photonote { margin: 14px 0 0; font-size: .85rem; text-align: right; }
.photonote a { color: var(--ink-3); }
.creditlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.creditlist li { display: flex; gap: 14px; align-items: center; margin: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.creditlist img { width: 112px; height: 75px; object-fit: cover; border-radius: var(--radius-s); flex: none; }
.creditlist span { display: grid; gap: 4px; min-width: 0; font-size: .92rem; }
.creditlist small { color: var(--ink-3); font-size: .84rem; }
/* photos.css (commun) est chargé après ce fichier : sélecteurs préfixés pour l'emporter */
.cover .photohero__cap, .tsec .pgal__fig figcaption { font-size: .78rem; }

@media (prefers-reduced-motion: reduce) {
  .tcard, .linkcard, .tcard__img img, .tcard__more .icon { transition: none; }
  .tcard:hover, .linkcard:hover, .tcard--photo:hover .tcard__img img, .tcard:hover .tcard__more .icon { transform: none; }
  .result { animation: none; }
  .tsec .pgal__item img { transition: none; }
  .tsec .pgal__item:hover img, .tsec .pgal__item:focus-visible img { transform: none; }
}
