/* Entrée « Par où commencer » de l'accueil (décision 0171). Pleine largeur (décision 0120) :
   les portes se partagent la rangée, puis passent sur deux colonnes et une seule. */
.po { display: grid; gap: 1rem; margin: .4rem 0 1.2rem; padding: 1.2rem 1.3rem 1rem; border: 1px solid var(--ligne);
  border-radius: 16px; background: linear-gradient(135deg, var(--doux), var(--carte) 55%); }
.po-tete { display: grid; gap: .35rem; }
.po-tete h2 { margin: 0; font: 700 clamp(1.5rem, 3vw, 2.15rem)/1.15 var(--titre); }
.po-tete p { margin: 0; color: var(--discret); max-width: 78ch; }
.po-portes { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.po-portes > li { display: flex; min-width: 0; }
.po-porte { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: .45rem; padding: .95rem 1rem; border: 1px solid var(--ligne);
  border-radius: 12px; background: var(--carte); color: var(--texte); text-decoration: none; min-width: 0; }
.po-porte > div { min-width: 0; }
a.po-porte:hover { border-color: var(--or-vif); }
.po-num { font: 700 .75rem var(--chiffres); color: var(--or); }
.po-porte b { font: 600 1.1rem/1.25 var(--titre); }
.po-porte p { margin: 0 0 .5rem; font-size: .86rem; line-height: 1.5; color: var(--discret); }
.po-act { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-top: .55rem;
  border-top: 1px solid var(--ligne); font-size: .85rem; font-weight: 600; }
.po-act > span:last-child { font-weight: 400; font-size: .75rem; color: var(--discret); }
.po-fleche { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; vertical-align: -3px; }
[dir="rtl"] .po-fleche { transform: scaleX(-1); }
.po-champ { display: flex; gap: .4rem; }
.po-champ input { flex: 1; min-width: 0; min-height: 36px; padding: .3rem .65rem; border: 1px solid var(--ligne); border-radius: 8px;
  background: var(--fond); color: var(--texte); font: inherit; font-size: .9rem; }
.po-bouton { display: grid; place-items: center; flex: none; width: 40px; min-height: 36px; padding: 0; border: 0; border-radius: 8px; background: var(--encre); color: var(--encre-texte);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.po-bouton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.po-exemples { display: flex; flex-wrap: wrap; gap: .35rem; margin: .55rem 0 0; padding: 0; list-style: none; }
.po-exemples a { display: block; font-size: .78rem; padding: .15rem .6rem; border: 1px solid var(--ligne); border-radius: 99px;
  background: var(--fond); color: var(--texte); text-decoration: none; }
.po-exemples a:hover { border-color: var(--or-vif); }
.po-gestes { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: .9rem; align-items: center; padding-top: .2rem; }
.po-gestes h3 { margin: 0; font: 700 .72rem var(--corps); letter-spacing: .08em; text-transform: uppercase; color: var(--discret); }
[dir="rtl"] .po-gestes h3 { letter-spacing: 0; font-size: .85rem; }
.po-geste { display: flex; gap: .7rem; align-items: flex-start; }
.po-geste svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--panneau); fill: none;
  stroke: var(--or); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.po-geste b { display: block; font-size: .92rem; }
.po-geste b i { font: italic 400 .92rem var(--titre); color: var(--or); margin-inline-start: .3rem; }
.po-geste span { font-size: .8rem; color: var(--discret); line-height: 1.4; }
.po-pied { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; font-size: .8rem; color: var(--discret); }
.po-masquer { padding: 0; border: 0; background: none; font: inherit; font-size: .85rem; color: var(--discret);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.po-masquer:hover { color: var(--texte); }
.po-masque .po { display: none; }
/* Tant que « Par où commencer » est visible, les parcours guidés restent repliés : la frise reste
   proche du haut de la page. La porte « Une histoire » les ouvre. Sans JavaScript, ils restent visibles. */
html.js:not(.po-masque):not(.po-parcours-ouvert) :is(.pg, .pg-revenir) { display: none !important; }
html:not(.js) .po-masquer { display: none; }
@media (max-width: 70rem) { .po-gestes { grid-template-columns: 1fr; } }
@media print { .po { display: none !important; } }
