/* ==========================================================================
   PRÉSENTATION DU JEU (app/Views/pages/presentation.php) : version provisoire
   Cadre d'avertissement, texte d'introduction, points clés, puis captures
   d'écran en alternance (image d'un côté, texte de l'autre).
   Captures : public/images/presentation/*-900.webp et *-1600.webp.
   ========================================================================== */

.pres{max-width:92rem;margin-inline:auto;font-size:1.1rem;line-height:1.6;color:var(--text-soft)}
.pres p{margin:0}
.pres h1,.pres h2,.pres h3{margin:0;font-family:"Exo 2","Noto Sans",sans-serif;color:var(--text)}

/* ---------- Avertissement : jeu en cours de développement ---------- */
.pres-notice{
  display:flex;align-items:flex-start;gap:1.4rem;
  padding:1.5rem 1.9rem;
  border:1px solid rgba(255,194,46,.55);border-left:.35rem solid var(--gold);border-radius:.8rem;
  background:linear-gradient(160deg,rgba(74,54,8,.55),rgba(7,24,58,.88) 62%);
}
.pres-notice__icon{
  flex:none;display:grid;place-items:center;width:3.4rem;height:3.4rem;
  border:1px solid rgba(255,194,46,.6);border-radius:50%;background:rgba(255,194,46,.12);color:var(--gold);
}
.pres-notice__icon .icon{width:1.8rem;height:1.8rem}
.pres-notice__kicker{font-size:.85rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.pres-notice__title{margin:.2rem 0 .5rem;font-weight:700;font-size:1.6rem;line-height:1.25}

/* ---------- Introduction ---------- */
.pres-intro{margin-top:3rem;max-width:62rem}
.pres-kicker{font-size:.9rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#d8b46a}
.pres-title{margin-top:.8rem;font-style:italic;font-weight:700;font-size:3.2rem;line-height:1.12}
.pres-title em{font-style:italic;color:#7cc0ff}
.pres-rule{width:4rem;height:1px;margin:1.3rem 0;background:#d8b46a}
.pres-lead{font-size:1.3rem;line-height:1.55}

.pres-h2{
  padding-bottom:.55rem;border-bottom:1px solid rgba(90,150,230,.3);
  font-weight:700;font-size:1.9rem;line-height:1.25;
}

/* ---------- Le principe du jeu ---------- */
.pres-about{margin-top:3.4rem}
.pres-about__text{max-width:62rem;margin-top:1.3rem}
.pres-about__text p+p{margin-top:.9rem}

.pres-points{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-top:2rem}
.pres-point{
  padding:1.3rem 1.4rem;
  border:1px solid rgba(105,170,245,.3);border-radius:.7rem;
  background:linear-gradient(160deg,rgba(18,52,108,.7),rgba(7,24,58,.85));
  font-size:1rem;line-height:1.5;
}
.pres-point__icon{
  display:grid;place-items:center;width:2.9rem;height:2.9rem;
  border-radius:.5rem;background:linear-gradient(180deg,#2e9bff,#0b6fdc);color:#fff;
}
.pres-point__icon .icon{width:1.5rem;height:1.5rem}
.pres-point__title{margin:.9rem 0 .35rem;font-weight:700;font-size:1.2rem}

/* ---------- Captures d'écran ---------- */
.pres-shots{margin-top:3.6rem}
.pres-shot{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:3rem;
  margin-top:2.6rem;
}
/* Image à droite : la colonne large passe en second */
.pres-shot--reverse{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
.pres-shot--reverse .pres-shot__media{order:2}
/* Capture haute : colonnes égales, pour ne pas dépasser la hauteur de l'écran */
.pres-shot--tall{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}

.pres-shot__media{
  display:block;overflow:hidden;
  border:1px solid rgba(105,170,245,.4);border-radius:.7rem;
  background:#06132c;
  box-shadow:0 1rem 2.6rem rgba(0,0,0,.45);
  transition:border-color .2s,box-shadow .2s;
}
.pres-shot__media:hover,.pres-shot__media:focus-visible{border-color:#7cc0ff;box-shadow:0 1rem 2.6rem rgba(0,0,0,.45),0 0 1.4rem rgba(60,150,255,.35)}
.pres-shot__media img{display:block;width:100%;height:auto}
/* Documents détourés (fond transparent) : pas de cadre, les feuilles sont posées sur la page */
.pres-shot--paper .pres-shot__media{border-color:transparent;background:none;box-shadow:none}
.pres-shot--paper .pres-shot__media img{filter:drop-shadow(0 .8rem 1.6rem rgba(0,0,0,.5))}

.pres-shot__step{
  display:grid;place-items:center;width:2.4rem;height:2.4rem;
  border:1px solid #d8b46a;border-radius:50%;
  font-family:"Exo 2","Noto Sans",sans-serif;font-weight:700;font-size:1.15rem;color:#d8b46a;
}
.pres-shot__title{margin:.8rem 0 .6rem;font-weight:700;font-size:1.65rem;line-height:1.25}

.pres-list{margin-top:.9rem}
.pres-list li{position:relative;padding-left:1.4rem}
.pres-list li+li{margin-top:.45rem}
.pres-list li::before{content:"";position:absolute;left:.15rem;top:.65em;width:.5rem;height:.5rem;border-radius:50%;background:var(--blue-400)}

/* ---------- Rubriques du menu du jeu ---------- */
.pres-menu{margin-top:3.8rem}
.pres-menu__intro{margin-top:1.2rem;max-width:62rem}
.pres-menu__grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:1.2rem;margin-top:1.6rem}
.pres-rubric{
  padding:1.3rem 1.4rem;
  border:1px solid rgba(105,170,245,.3);border-radius:.7rem;
  background:linear-gradient(160deg,rgba(18,52,108,.7),rgba(7,24,58,.85));
  font-size:1rem;line-height:1.5;
}
.pres-rubric__title{font-weight:700;font-size:1.25rem;line-height:1.3}
/* Rubrique au menu, pas encore jouable */
.pres-tag{
  display:inline-block;margin-left:.2rem;padding:.05rem .5rem;vertical-align:.1em;
  border:1px solid rgba(255,194,46,.55);border-radius:1rem;background:rgba(255,194,46,.12);
  font-family:"Noto Sans","Segoe UI",system-ui,sans-serif;font-size:.74rem;font-weight:600;line-height:1.5;white-space:nowrap;color:var(--gold);
}

/* ---------- Suite ---------- */
.pres-end{margin-top:3.8rem}
.pres-end p{margin-top:1.2rem;max-width:62rem}
.pres-end__actions{display:flex;flex-wrap:wrap;gap:1rem}

/* ==========================================================================
   TABLETTE / MOBILE
   ========================================================================== */
@media (max-width:1100px){
  .pres{font-size:1.05rem}
  .pres-intro{margin-top:2.2rem}
  .pres-title{font-size:2.4rem}
  .pres-lead{font-size:1.15rem}
  .pres-points{grid-template-columns:1fr 1fr}
  .pres-menu__grid{grid-template-columns:1fr 1fr}
  .pres-shot,.pres-shot--tall{grid-template-columns:1fr;gap:1.4rem}
  .pres-shot--reverse .pres-shot__media{order:0}
}
@media (max-width:560px){
  .pres{font-size:1rem}
  .pres-notice{flex-direction:column;gap:.9rem;padding:1.2rem 1.1rem}
  .pres-notice__title{font-size:1.35rem}
  .pres-title{font-size:2rem}
  .pres-h2{font-size:1.5rem}
  .pres-points{grid-template-columns:1fr}
  .pres-menu__grid{grid-template-columns:1fr}
  .pres-shot__title{font-size:1.4rem}
  .pres-end__actions .btn-sm{flex:1 1 100%}
}
