/* LES NOUVEAUTÉS (26/10/2026) : la pastille du mégaphone, la liste, une nouveauté.
 * Couleurs et polices : la charte seule (`charte.css`), aucune valeur recopiée.
 * Aucun long tiret dans les textes de ces pages. */

/* ── La pastille du mégaphone : un point, comme la cloche en violet ── */
.topbar-pastille {
  position: absolute; top: -3px; right: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid #0F0F1A;
  box-shadow: 0 0 0 0 var(--accent-glow-strong);
  animation: nv-pouls 2.4s ease-out 3;
}
@keyframes nv-pouls {
  0% { box-shadow: 0 0 0 0 var(--accent-glow-strong); }
  70% { box-shadow: 0 0 0 8px rgba(139,127,224,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,127,224,0); }
}
@media (prefers-reduced-motion: reduce) { .topbar-pastille { animation: none; } }

/* ════════════════════════════════════════════════════════════════════════
   LA FRISE (29/10/2026) : l'en-tête, « Bientôt », les jours, les cartes
   scellées et leur révélation. Les teintes des sortes : violet pour une
   fonction, or pour un rendez-vous, cyan pour une info.
   ════════════════════════════════════════════════════════════════════════ */
.nvh, .nva { --nv-violet: #8B7FE0; --nv-rose: #F472B6; --nv-or: #FCD34D; --nv-cyan: #67E8F9; }
.nvh { max-width: 860px; margin: 0 auto; width: 100%; display: grid; gap: 30px; }

/* ── L'en-tête ── */
.nvh-tete { position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); padding: 20px 24px 18px;
  border: 1px solid rgba(180,168,255,.22);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(139,127,224,.34), transparent 55%),
    radial-gradient(80% 120% at 0% 110%, rgba(244,114,182,.13), transparent 60%),
    var(--card); }
.nvh-tete h1 { margin: 6px 0 6px; font-size: clamp(1.45rem, 3vw, 1.85rem); font-weight: 600;
  letter-spacing: -.025em; line-height: 1.1; padding-bottom: 2px;
  background: linear-gradient(100deg, #fff 30%, var(--accent) 75%, var(--nv-rose));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.nvh-tete p { margin: 0; max-width: 520px; color: var(--muted-foreground); line-height: 1.6;
  font-size: var(--text-base); }
.nvh-surtitre { display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: var(--text-eyebrow); font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent); }
.nvh-tete-fond { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nvh-tete-fond i { position: absolute; border-radius: 50%; background: var(--accent);
  opacity: .5; animation: nvh-flotte 7s ease-in-out infinite; }
.nvh-tete-fond i:nth-child(1) { width: 6px; height: 6px; right: 12%; top: 22%; }
.nvh-tete-fond i:nth-child(2) { width: 4px; height: 4px; right: 24%; top: 62%; animation-delay: -2s; background: var(--nv-rose); }
.nvh-tete-fond i:nth-child(3) { width: 3px; height: 3px; right: 8%; top: 70%; animation-delay: -4s; }
.nvh-tete-fond i:nth-child(4) { width: 5px; height: 5px; right: 34%; top: 18%; animation-delay: -1s; background: var(--nv-or); opacity: .35; }
.nvh-tete-fond i:nth-child(5) { width: 3px; height: 3px; right: 18%; top: 42%; animation-delay: -3s; background: #fff; }
.nvh-tete-fond i:nth-child(6) { width: 110px; height: 110px; right: -20px; top: -24px; opacity: .14;
  filter: blur(20px); animation-duration: 11s; }
@keyframes nvh-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.nvh-a-reveler { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 8px 14px 8px 12px; border-radius: var(--radius-pill); text-decoration: none;
  font-weight: 500; font-size: var(--text-sm); color: #fff;
  background: linear-gradient(100deg, var(--nv-violet), var(--nv-rose));
  box-shadow: 0 6px 22px rgba(139,127,224,.40); animation: nvh-appel 2.6s ease-in-out infinite; }
.nvh-a-reveler:hover { filter: brightness(1.08); }
@keyframes nvh-appel { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

.nvh-section-tete { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  margin-bottom: 14px; }
.nvh-section-tete h2 { margin: 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-lg); font-weight: 600; }
.nvh-section-tete h2 svg { color: var(--nv-or); }
.nvh-section-tete span { font-size: var(--text-sm); color: var(--muted-foreground); }

/* Les étiquettes des sortes. */
.nvh-sorte { align-self: flex-start; display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: calc(11px * var(--echelle-texte)); font-weight: 600; letter-spacing: .02em;
  background: rgba(180,168,255,.14); color: var(--accent); }
.nvh-sorte--rendez-vous { background: rgba(252,211,77,.13); color: var(--nv-or); }
.nvh-sorte--info { background: rgba(103,232,249,.12); color: var(--nv-cyan); }

/* ── Bientôt ── */
.nvh-bientot-liste { display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.nvh-prevu { position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 20px; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px dashed rgba(180,168,255,.38);
  background: linear-gradient(160deg, rgba(180,168,255,.10), rgba(180,168,255,.015) 60%), var(--card);
  scroll-margin-top: 80px; }
.nvh-prevu--rendez-vous { border-color: rgba(252,211,77,.40);
  background: linear-gradient(160deg, rgba(252,211,77,.10), rgba(252,211,77,.015) 60%), var(--card); }
.nvh-prevu-haut { display: flex; align-items: center; gap: 12px; }
.nvh-prevu-icone { display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 13px; background: rgba(180,168,255,.14); color: var(--accent); flex: none; }
.nvh-prevu--rendez-vous .nvh-prevu-icone { background: rgba(252,211,77,.14); color: var(--nv-or); }
.nvh-prevu-quand { display: grid; line-height: 1.25; }
.nvh-prevu-quand strong { font-size: var(--text-lg); font-weight: 600; color: var(--foreground);
  font-variant-numeric: tabular-nums; }
.nvh-prevu-quand span { font-size: var(--text-sm); color: var(--muted-foreground); }
.nvh-prevu-quand strong + span { font-size: var(--text-xs); }
.nvh-prevu h3 { margin: 4px 0 0; font-size: var(--text-md, 1.05rem); font-weight: 600; line-height: 1.35; }
.nvh-prevu p { margin: 0; color: var(--muted-foreground); line-height: 1.55; font-size: var(--text-sm); }
.nvh-prevu-lien { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center;
  gap: 6px; font-size: var(--text-sm); font-weight: 500; color: var(--accent); text-decoration: none; }
.nvh-prevu--rendez-vous .nvh-prevu-lien { color: var(--nv-or); }
.nvh-prevu-lien:hover { text-decoration: underline; }

/* ── La frise : un fil à gauche, un point par jour ── */
.nvh-frise { position: relative; padding-left: 34px; }
.nvh-frise::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 6px; width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(180,168,255,.25) 40%, rgba(180,168,255,.06)); }
.nvh-mois { margin: 26px 0 6px; font-family: var(--font-mono); font-size: var(--text-eyebrow);
  font-weight: 500; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--muted-foreground); }
.nvh-mois:first-child { margin-top: 0; }
.nvh-jour { margin-bottom: 8px; }
.nvh-jour-titre { position: relative; display: flex; align-items: center; min-height: 28px;
  margin: 12px 0 10px; }
.nvh-jour-titre h3 { margin: 0; font-size: var(--text-base); font-weight: 600; }
.nvh-point { position: absolute; left: -29px; top: 50%; width: 12px; height: 12px;
  margin-top: -6px; border-radius: 50%; background: var(--background);
  border: 2px solid var(--accent); }
.nvh-jour--aujourdhui .nvh-jour-titre h3 { color: var(--accent); }
.nvh-jour--aujourdhui .nvh-point { background: var(--accent); animation: nvh-battement 2.2s ease-out infinite; }
@keyframes nvh-battement {
  0% { box-shadow: 0 0 0 0 var(--accent-glow-strong); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(139,127,224,0); } }
.nvh-fin { position: relative; height: 14px; }
.nvh-fin .nvh-point { border-color: rgba(180,168,255,.3); width: 8px; height: 8px; left: -27px; margin-top: -4px; }

/* ── Une carte ── */
.nvh-carte { position: relative; margin: 0 0 14px; border-radius: var(--radius-xl);
  background: var(--card); border: 1px solid var(--border); overflow: hidden;
  scroll-margin-top: 90px; transition: border-color .2s ease, box-shadow .3s ease; }
.nvh-carte:not(.nvh-carte--scellee):hover { border-color: var(--accent-ring-strong); }
.nvh-carte:target:not(.nvh-carte--scellee) { border-color: rgba(180,168,255,.5); }
.nvh-contenu { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px;
  padding: 20px 22px; align-items: start;
  transition: filter .7s ease, opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.nvh-carte--dessin .nvh-contenu { grid-template-columns: 190px minmax(0, 1fr); align-items: center; }
.nvh-icone { display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 17px; color: var(--accent);
  background: linear-gradient(145deg, rgba(180,168,255,.22), rgba(180,168,255,.05));
  border: 1px solid rgba(180,168,255,.18); }
.nvh-icone--rendez-vous { color: var(--nv-or);
  background: linear-gradient(145deg, rgba(252,211,77,.20), rgba(252,211,77,.04));
  border-color: rgba(252,211,77,.20); }
.nvh-icone--info { color: var(--nv-cyan);
  background: linear-gradient(145deg, rgba(103,232,249,.18), rgba(103,232,249,.04));
  border-color: rgba(103,232,249,.18); }
.nvh-dessin { background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 8px; }
.nvh-dessin svg { width: 100%; height: auto; display: block; }
.nvh-texte { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nvh-texte h4 { margin: 2px 0 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
.nvh-texte p { margin: 0; color: var(--muted-foreground); line-height: 1.6; }
.nvh-gestes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.nvh-gestes .btn { display: inline-flex; gap: 6px; align-items: center; }

/* ── La carte scellée ── */
.nvh-carte--scellee { min-height: 136px; border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg, var(--nv-violet), var(--nv-rose), var(--nv-or), var(--nv-violet)) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: nvh-bordure 6s linear infinite;
  box-shadow: 0 10px 34px rgba(139,127,224,.18); }
@keyframes nvh-bordure { to { background-position: 0 0, 300% 0; } }
.nvh-carte--scellee .nvh-contenu { filter: blur(11px) saturate(.5); opacity: .3;
  pointer-events: none; user-select: none; transform: scale(.98); }
.nvh-sceau { position: absolute; inset: 0; z-index: 2; width: 100%; display: flex;
  align-items: center; gap: 18px; padding: 18px 24px; margin: 0; border: 0;
  font: inherit; color: var(--foreground); text-align: left; cursor: pointer; overflow: hidden;
  background:
    radial-gradient(circle at 54px 50%, rgba(139,127,224,.38), transparent 140px),
    linear-gradient(110deg, rgba(20,22,31,.35), rgba(20,22,31,.70));
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease; }
/* Un reflet passe sur la carte, de temps en temps : « il y a quelque chose là ». */
.nvh-sceau::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent);
  transform: skewX(-18deg); animation: nvh-reflet 3.8s ease-in-out infinite; }
@keyframes nvh-reflet { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.nvh-sceau:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px;
  border-radius: var(--radius-xl); }
.nvh-sceau-orbe { position: relative; flex: none; display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; color: #fff;
  background: linear-gradient(140deg, var(--nv-violet), var(--nv-rose));
  box-shadow: 0 0 0 6px rgba(180,168,255,.10), 0 10px 30px rgba(139,127,224,.55);
  animation: nvh-cadeau 2.8s ease-in-out infinite; transition: transform .2s ease; }
@keyframes nvh-cadeau {
  0%, 70%, 100% { transform: rotate(0); }
  76% { transform: rotate(-9deg) scale(1.04); } 82% { transform: rotate(8deg) scale(1.04); }
  88% { transform: rotate(-5deg); } 94% { transform: rotate(3deg); } }
.nvh-sceau:hover .nvh-sceau-orbe { transform: scale(1.08); animation-play-state: paused; }
.nvh-sceau-texte { display: grid; gap: 3px; min-width: 0; }
.nvh-sceau-mot { font-family: var(--font-mono); font-size: var(--text-eyebrow); font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--nv-rose); }
.nvh-sceau-texte strong { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
.nvh-sceau-texte > span:last-child { font-size: var(--text-sm); color: var(--muted-foreground); }
.nvh-sceau-fleche { margin-left: auto; color: var(--accent); flex: none; opacity: .8; }

/* La révélation : le sceau s'envole, le contenu se pose. */
.nvh-carte--ouverture { animation: nvh-eclat 1.5s ease-out; }
.nvh-carte--ouverture .nvh-sceau { opacity: 0; transform: scale(1.12); filter: blur(6px);
  pointer-events: none; }
@keyframes nvh-eclat {
  0% { box-shadow: 0 0 0 0 rgba(180,168,255,0); border-color: rgba(180,168,255,.9); }
  25% { box-shadow: 0 0 0 6px rgba(180,168,255,.28), 0 20px 60px rgba(139,127,224,.35); }
  100% { box-shadow: 0 0 0 0 rgba(180,168,255,0); } }

/* ── Les étincelles (posées par `nouveautes.js`) ── */
.nv-gerbe { position: fixed; width: 0; height: 0; z-index: 2147483000; pointer-events: none; }
.nv-gerbe i { position: absolute; left: -4px; top: -2px; width: 9px; height: 4px; border-radius: 2px;
  opacity: 0; animation: nv-etincelle 1.15s cubic-bezier(.12,.75,.3,1) forwards; }
.nv-gerbe i.rond { width: 6px; height: 6px; border-radius: 50%; }
@keyframes nv-etincelle {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1.1); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 70px)) rotate(var(--tour)) scale(.5); } }

/* ════════════════════════════════════════════════════════════════════════
   LA FENÊTRE D'ARRIVÉE : une carte qui se retourne
   ════════════════════════════════════════════════════════════════════════ */
.nva { width: min(420px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: transparent; color: var(--foreground); overflow: visible; }
.nva::backdrop { background: rgba(6,6,12,.82); backdrop-filter: blur(8px); }
.nva[open] { animation: nva-entree .45s cubic-bezier(.2,.8,.2,1); }
@keyframes nva-entree { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.nva-haut { display: flex; align-items: center; gap: 12px; margin: 0 4px 12px; }
.nva-titre { display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: var(--text-eyebrow); font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: rgba(255,255,255,.8); }
.nva-points { display: inline-flex; gap: 5px; margin-left: auto; }
.nva-points i { width: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18);
  transition: background .25s ease, width .25s ease; }
.nva-points i.vu { background: rgba(180,168,255,.55); }
.nva-points i.actif { width: 26px; background: var(--accent); }
.nva-fermer { margin-left: auto; display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); color: #fff; }
.nva-points + .nva-fermer { margin-left: 4px; }

.nva-scene { perspective: 1400px; }
.nva-pivot { display: grid; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.nva-carte--revelee .nva-pivot { transform: rotateY(180deg); }
.nva-face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px;
  min-height: min(440px, calc(100dvh - 140px)); padding: 28px 24px 24px; border-radius: 26px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); }

.nva-face--sceau { position: relative; overflow: hidden; align-items: center; justify-content: center;
  text-align: center; cursor: pointer; border: 1px solid rgba(180,168,255,.38);
  background:
    radial-gradient(circle at 50% 36%, rgba(180,168,255,.42), transparent 52%),
    linear-gradient(165deg, #2B2452, #14161F 72%);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 70px rgba(139,127,224,.28); }
.nva-rayons { position: absolute; left: 50%; top: 36%; width: 180%; aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none; opacity: .22;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.55) 0 6deg, transparent 6deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 58%);
          mask: radial-gradient(circle, #000 0, transparent 58%);
  animation: nva-tourne 26s linear infinite; }
@keyframes nva-tourne { to { transform: translate(-50%, -50%) rotate(360deg); } }
.nva-orbe { position: relative; display: inline-grid; place-items: center; width: 108px; height: 108px;
  margin-bottom: 8px; border-radius: 50%; color: #fff;
  background: linear-gradient(140deg, var(--nv-violet), var(--nv-rose));
  box-shadow: 0 0 0 10px rgba(180,168,255,.10), 0 0 0 22px rgba(180,168,255,.05),
              0 18px 50px rgba(139,127,224,.6);
  animation: nva-flotte 3s ease-in-out infinite; }
@keyframes nva-flotte {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-8px) rotate(-4deg); }
  60% { transform: translateY(-8px) rotate(4deg); } }
.nva-date { position: relative; font-family: var(--font-mono); font-size: var(--text-eyebrow);
  font-weight: 500; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: rgba(255,255,255,.62); }
.nva-face--sceau h2 { position: relative; margin: 0 0 8px; font-size: 1.4rem; font-weight: 600;
  line-height: 1.25; max-width: 300px; }
.nva .nva-reveler { position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; font-size: var(--text-base); font-weight: 600; color: #fff;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-pill);
  background: linear-gradient(100deg, var(--nv-violet), var(--nv-rose));
  box-shadow: 0 10px 30px rgba(139,127,224,.55); transition: transform .15s ease, filter .15s ease; }
.nva .nva-reveler:hover { transform: translateY(-1px) scale(1.03); filter: brightness(1.08); }

/* La dernière carte : les succès débloqués (29/10/2026), en or. Elle ne se
   retourne pas : son bouton mène à « Mes succès », où chacun se révèle. */
.nva-face--succes { position: relative; overflow: hidden; align-items: center; justify-content: center;
  text-align: center; border: 1px solid rgba(252,211,77,.40);
  background:
    radial-gradient(circle at 50% 34%, rgba(252,211,77,.30), transparent 55%),
    linear-gradient(165deg, #3A2F14, #14161F 72%);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 70px rgba(245,158,11,.20); }
.nva-face--succes h2 { position: relative; margin: 0 0 4px; font-size: 1.4rem; font-weight: 600;
  line-height: 1.25; max-width: 300px; }
.nva-orbe--or { color: #2B2010; background: linear-gradient(140deg, #FDE68A, var(--nv-or) 45%, #F59E0B);
  box-shadow: 0 0 0 10px rgba(252,211,77,.10), 0 0 0 22px rgba(252,211,77,.05),
              0 18px 50px rgba(245,158,11,.45); }
.nva-succes-liste { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin: 0 0 10px; padding: 0; list-style: none; }
.nva-succes-liste li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; color: var(--nv-or);
  background: rgba(252,211,77,.12); border: 1px solid rgba(252,211,77,.25); }
.nva .nva-face--succes .nva-reveler { color: #2B2010; text-decoration: none;
  background: linear-gradient(100deg, #FDE68A, var(--nv-or), #F59E0B);
  box-shadow: 0 10px 30px rgba(245,158,11,.40); }

.nva-face--contenu { transform: rotateY(180deg); background: var(--card);
  border: 1px solid var(--border-strong); }
.nva-dessin { background: var(--background); border: 1px solid var(--border);
  border-radius: 18px; padding: 10px; }
.nva-dessin svg { width: 100%; height: auto; display: block; max-height: 190px; }
.nva-icone { display: grid; place-items: center; height: 150px; border-radius: 18px;
  color: var(--accent); background: radial-gradient(circle, rgba(180,168,255,.22), rgba(180,168,255,.03) 70%);
  border: 1px solid rgba(180,168,255,.16); }
.nva-icone.nvh-icone--rendez-vous { color: var(--nv-or);
  background: radial-gradient(circle, rgba(252,211,77,.22), rgba(252,211,77,.03) 70%);
  border-color: rgba(252,211,77,.18); }
.nva-face--contenu h2 { margin: 2px 0 0; font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.nva-face--contenu p { margin: 0; color: var(--muted-foreground); line-height: 1.6; }
.nva-gestes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.nva-gestes .btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.nva-plus-tard { display: block; margin: 14px auto 0; padding: 6px 10px; background: none; border: 0;
  cursor: pointer; font: inherit; font-size: var(--text-sm); color: rgba(255,255,255,.6); }
.nva-plus-tard:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .nvh-tete-fond i, .nvh-a-reveler, .nvh-carte--scellee, .nvh-sceau::after, .nvh-sceau-orbe,
  .nvh-jour--aujourdhui .nvh-point, .nva-rayons, .nva-orbe, .nva[open],
  .nvh-carte--ouverture { animation: none; }
  .nvh-contenu, .nvh-sceau, .nva-pivot { transition: none; }
}

/* Une nouveauté, sa page : la ligne de date. */
.nv-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: var(--text-sm); color: var(--muted-foreground); }

/* ── Une nouveauté ── */
.nv { max-width: 1060px; margin: 0 auto; width: 100%; display: grid;
  grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; align-items: start; }
.nv-corps { display: grid; gap: 18px; min-width: 0; }
.nv-retour { display: inline-flex; gap: 6px; align-items: center; font-size: var(--text-sm);
  color: var(--muted-foreground); text-decoration: none; }
.nv-retour:hover { color: var(--foreground); }

.nv-une { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px;
  align-items: center; background: linear-gradient(135deg, rgba(139,127,224,.16), rgba(139,127,224,.03));
  border: 1px solid rgba(167,139,250,.28); border-radius: var(--radius-xl); padding: 28px; }
.nv-une h1 { margin: 6px 0 10px; font-size: var(--text-2xl, 1.6rem); font-weight: 600;
  line-height: 1.25; }
.nv-une p { margin: 0; color: var(--muted-foreground); line-height: 1.65; }
.nv-une-dessin svg { width: 100%; height: auto; }

.nv-sommaire { position: sticky; top: 76px; display: grid; gap: 4px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 16px; }
.nv-sommaire h2 { margin: 0 0 6px; font-size: var(--text-sm); font-weight: 600;
  color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .06em; }
.nv-sommaire a { display: flex; gap: 8px; padding: 6px 8px; border-radius: var(--radius-md, 8px);
  color: var(--foreground); text-decoration: none; font-size: var(--text-sm); line-height: 1.4; }
.nv-sommaire a:hover { background: var(--muted); }
.nv-sommaire a span:first-child { color: var(--accent); font-variant-numeric: tabular-nums;
  flex: none; width: 16px; }

.nv-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 22px 24px; scroll-margin-top: 80px; }
.nv-section--alerte { border-color: rgba(251,191,36,.40);
  background: linear-gradient(135deg, rgba(251,191,36,.07), rgba(251,191,36,.01)); }
.nv-section-dessin { align-self: start; background: var(--background);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px; }
.nv-section-dessin svg { width: 100%; height: auto; }
.nv-section-texte { display: grid; gap: 12px; min-width: 0; }
.nv-num { justify-self: start; min-width: 26px; height: 26px; padding: 0 9px;
  border-radius: var(--radius-pill); background: rgba(167,139,250,.16); color: var(--accent);
  font-size: calc(12px * var(--echelle-texte)); font-weight: 600; display: inline-flex; align-items: center;
  justify-content: center; }
.nv-section--alerte .nv-num { background: rgba(251,191,36,.16); color: var(--warning-text); }
.nv-section h2 { margin: 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.35; }
.nv-section p { margin: 0; line-height: 1.65; color: var(--muted-foreground); }
.nv-section p strong { color: var(--foreground); font-weight: 500; }
.nv-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nv-points li { display: flex; gap: 10px; line-height: 1.55; color: var(--muted-foreground); }
.nv-points li svg { color: var(--accent); flex: none; margin-top: 3px; }
.nv-points li strong { color: var(--foreground); font-weight: 500; }

.nv-pas { border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--background); }
.nv-pas summary { cursor: pointer; padding: 10px 14px; display: flex; gap: 8px;
  align-items: center; font-weight: 500; list-style: none; }
.nv-pas summary::-webkit-details-marker { display: none; }
.nv-pas summary .nv-chevron { margin-left: auto; transition: transform .15s ease;
  color: var(--muted-foreground); }
.nv-pas[open] summary .nv-chevron { transform: rotate(180deg); }
.nv-pas ol { margin: 0; padding: 0 14px 14px; list-style: none; counter-reset: pas;
  display: grid; gap: 10px; }
.nv-pas li { counter-increment: pas; display: grid; grid-template-columns: 26px 1fr;
  gap: 10px; line-height: 1.55; color: var(--muted-foreground); }
.nv-pas li::before { content: counter(pas); width: 24px; height: 24px; border-radius: 50%;
  background: rgba(167,139,250,.16); color: var(--accent); font-size: calc(12px * var(--echelle-texte)); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; }
.nv-pas li strong { color: var(--foreground); font-weight: 500; }

.nv-gestes { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-gestes .btn { display: inline-flex; gap: 8px; align-items: center; }

.nv-pied { background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 22px 24px; display: grid; gap: 12px; }
.nv-pied h2 { margin: 0; font-size: var(--text-lg); font-weight: 600; }
.nv-pied p { margin: 0; color: var(--muted-foreground); line-height: 1.6; }
.nv-risque { font-size: var(--text-sm); color: var(--muted-foreground); line-height: 1.55;
  border-top: 1px solid var(--border); padding-top: 12px; }

/* Sans compte : la page de l'application, centrée par la coquille anonyme. */
.main-centered .nv-cadre { align-self: flex-start; }

/* ── Étroit : on mesure la PLACE DE LA PAGE, pas l'écran ──
   ⚠️ Le menu de gauche prend près de 250 points : un écran de 1024 ne laisse
   que 600 points à la page, où le titre s'écrasait sur une colonne. Les
   requêtes de conteneur lisent la place réelle, menu ou pas. */
.nv-cadre, .nvl-cadre { container-type: inline-size; width: 100%; }
@container (max-width: 900px) {
  .nv { grid-template-columns: minmax(0, 1fr); }
  .nv-sommaire { display: none; }
}
@container (max-width: 680px) {
  .nvh { gap: 24px; }
  .nvh-tete { padding: 26px 20px 22px; }
  .nvh-frise { padding-left: 26px; }
  .nvh-frise::before { left: 6px; }
  .nvh-point { left: -25px; }
  .nvh-fin .nvh-point { left: -23px; }
  .nvh-carte--dessin .nvh-contenu { grid-template-columns: minmax(0, 1fr); }
  .nvh-carte--dessin .nvh-dessin { max-width: 240px; }
  .nvh-contenu { padding: 16px; gap: 14px; grid-template-columns: minmax(0, 1fr); }
  /* Scellée, la carte reste compacte : le dessin arrive avec la révélation. */
  .nvh-carte--scellee .nvh-dessin { display: none; }
  .nvh-icone { width: 44px; height: 44px; border-radius: 14px; }
  .nvh-sceau { padding: 16px 18px; gap: 14px; }
  .nvh-sceau-orbe { width: 50px; height: 50px; }
  .nvh-sceau-fleche { display: none; }
  .nvh-sceau-texte strong { font-size: var(--text-base); }
  .nv-une { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .nv-une-dessin { order: -1; max-width: 240px; }
  .nv-section { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 14px; }
  .nv-section-dessin { max-width: 132px; padding: 4px; }
}
@container (max-width: 480px) {
  .nv-gestes .btn { flex: 1 1 100%; justify-content: center; }
}

/* ── La cérémonie du podium (29/10/2026, `arene/ceremonie.py`) ── */
.nva-face--ceremonie { position: relative; overflow: hidden; align-items: center; text-align: center;
  justify-content: flex-start; border: 1px solid rgba(252,211,77,.40);
  background:
    radial-gradient(circle at 50% 30%, rgba(252,211,77,.22), transparent 55%),
    linear-gradient(165deg, #2B2452, #14161F 75%); }
.nva-face--ceremonie h2 { position: relative; margin: 0; font-size: 1.4rem; font-weight: 600; }
.cer-podium { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end;
  gap: 8px; width: 100%; margin: 6px 0 4px; min-height: 210px; }
.cer-marche { display: grid; gap: 6px; align-content: end; }
.cer-qui { display: grid; gap: 2px; opacity: 0; transform: translateY(10px) scale(.95);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.cer-nom { font-weight: 600; font-size: var(--text-sm); overflow-wrap: anywhere; }
.cer-trader { font-size: var(--text-xs); color: var(--muted-foreground); }
.cer-montant { font-size: var(--text-xs); font-variant-numeric: tabular-nums; color: var(--foreground); }
.cer-montant small { display: block; font-size: calc(10px * var(--echelle-texte)); color: var(--muted-foreground); letter-spacing: .03em; }
.cer-socle { display: grid; place-items: center; border-radius: 12px 12px 4px 4px; font-weight: 700;
  font-size: 1.3rem; color: rgba(255,255,255,.35); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10); transition: background .5s ease, color .5s ease, box-shadow .5s ease; }
.cer-marche--1 .cer-socle { height: 96px; }
.cer-marche--2 .cer-socle { height: 70px; }
.cer-marche--3 .cer-socle { height: 52px; }
.cer-visible .cer-qui { opacity: 1; transform: none; }
.cer-marche--1.cer-visible .cer-socle { color: #2B2010; background: linear-gradient(160deg, #FDE68A, #FCD34D 50%, #F59E0B);
  box-shadow: 0 10px 30px rgba(245,158,11,.45); }
.cer-marche--2.cer-visible .cer-socle { color: #1F2330; background: linear-gradient(160deg, #F1F5F9, #CBD5E1); }
.cer-marche--3.cer-visible .cer-socle { color: #2A1708; background: linear-gradient(160deg, #FDBA74, #C2410C); }
.cer-moi { position: relative; margin: 0; font-size: var(--text-sm); color: var(--foreground); }
.cer-suite { width: 100%; }
.cer-risque { position: relative; margin: 4px 0 0; font-size: calc(11px * var(--echelle-texte)); line-height: 1.45; color: var(--muted-foreground); }
@media (prefers-reduced-motion: reduce) { .cer-qui, .cer-socle { transition: none; } }
