/* Deux affiches générées : la hiérarchie se révèle au rythme du deck. */
.alba-posters-slide {
  padding-top: 77px;
  --poster-play-state: paused;
}
.alba-posters-slide[data-posters-running="true"] { --poster-play-state: running; }
.alba-posters-slide .content { justify-content: flex-start; }
.alba-posters-slide .eyebrow { margin-bottom: 9px; }
.alba-posters-slide h2 { font-size: 59px; }
.poster-board {
  display: grid;
  grid-template-columns: 286px 46px 286px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 20px;
}
.poster-example { min-width: 0; }
.poster-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.poster-label > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ede3d5;
  color: #775d44;
  font-size: 13px;
}
.poster-label-clear > span { background: #dfe9df; color: #2d634c; }
.poster-paper {
  position: relative;
  display: block;
  width: 250px;
  margin-inline: auto;
  border-radius: 3px;
  box-shadow: 0 14px 24px #4936251f;
  background: #f3ebdf;
  transform: rotate(-3deg);
}
.poster-paper img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: inherit; }
.poster-paper:focus-visible { outline: 4px solid var(--accent); outline-offset: 6px; }
.poster-answer-slot { position: relative; min-height: 415px; }
.poster-placeholder {
  position: absolute;
  inset: 40px 11px 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 17px;
  border: 1px dashed #bdc9bc;
  border-radius: 3px;
  color: #5f7369;
  background: #f4f2e8b0;
  text-align: center;
  font-size: 23px;
  line-height: 1.25;
}
.poster-placeholder .icon { width: 39px; height: 39px; color: #9caa98; }
.poster-answer.reveal { transition: none; transform: none; }
.poster-answer .poster-paper { transform: rotate(1.5deg); }
.alba-posters-slide:has(.poster-answer.is-visible) .poster-placeholder { visibility: hidden; }
.poster-process { align-self: center; color: var(--accent); }
.poster-process .icon { width: 43px; height: 43px; }
.poster-process.reveal, .poster-zones.reveal, .poster-rules.reveal { transition: none; transform: none; }
.poster-rationale { position: relative; min-width: 0; align-self: stretch; padding: 35px 0 0 12px; }
.poster-question {
  position: absolute;
  inset: 35px 0 auto 12px;
  font-size: 36px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -.045em;
}
.poster-question em { display: block; margin-top: 8px; }
.poster-bridge {
  position: absolute;
  inset: 35px 0 auto 12px;
  visibility: hidden;
  color: var(--muted);
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.alba-posters-slide:has(.poster-answer.is-visible) .poster-question { visibility: hidden; }
.alba-posters-slide:has(.poster-answer.is-visible):not(:has(.poster-rules.is-visible)) .poster-bridge { visibility: visible; }
.poster-rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 26px; }
.poster-rule { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 13px; align-items: start; }
.poster-rule-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--rule-color);
  font-size: 14px;
  font-weight: 650;
}
.poster-rule strong { display: block; color: var(--rule-color); font-size: 24px; line-height: 1.1; letter-spacing: -.04em; }
.poster-rule p { margin-top: 6px; font-size: 18px; line-height: 1.3; color: var(--muted); }
.poster-design-rule { margin-top: 27px; border-top: 1px solid var(--line); padding-top: 17px; color: var(--muted); font-size: 18px; letter-spacing: -.025em; }
.poster-design-rule.reveal { transition: none; transform: none; }
.poster-rule-message, .poster-zone-message { --rule-color: #b6482c; }
.poster-rule-info, .poster-zone-info { --rule-color: #526c9d; }
.poster-rule-action, .poster-zone-action { --rule-color: #236346; }
.poster-zones { position: absolute; inset: 0; pointer-events: none; }
.poster-zone {
  position: absolute;
  display: block;
  left: 4%;
  width: 92%;
  border: 2px solid var(--rule-color);
  border-radius: 3px;
  box-shadow: 0 0 0 3px #ffffffa8;
}
.poster-zone b {
  position: absolute;
  right: -12px;
  top: -13px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rule-color);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}
.poster-zone-message { top: 13.5%; height: 19%; }
.poster-zone-info { top: 79.5%; height: 9.5%; }
.poster-zone-action { top: 90.5%; height: 7%; width: 60%; }
.poster-disclosure { margin-top: 15px; color: var(--muted); font-size: 12px; letter-spacing: .015em; }
.alba-posters-slide.active .poster-overloaded .poster-paper {
  animation: poster-before .6s cubic-bezier(.2,.75,.25,1) both;
  animation-play-state: var(--poster-play-state);
}
.alba-posters-slide.active .poster-answer.is-visible {
  animation: poster-clarify .7s cubic-bezier(.2,.75,.25,1) both;
  animation-play-state: var(--poster-play-state);
}
.alba-posters-slide.active .poster-process.is-visible,
.alba-posters-slide.active .poster-rules.is-visible,
.alba-posters-slide.active .poster-design-rule.is-visible {
  animation: poster-rules .5s ease both;
  animation-play-state: var(--poster-play-state);
}
.alba-posters-slide.active .poster-zones.is-visible .poster-zone {
  animation: poster-mark .65s ease both;
  animation-play-state: var(--poster-play-state);
}
.poster-zone-info { animation-delay: .16s !important; }
.poster-zone-action { animation-delay: .32s !important; }
@keyframes poster-before { from { opacity: 0; transform: translateY(18px) rotate(-7deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes poster-clarify { from { opacity: 0; transform: translateX(-35px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes poster-rules { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes poster-mark { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(-20px -20px -10px -10px); } }
@media screen and (max-width: 759px) {
  .alba-posters-slide { padding-top: 77px; }
  .alba-posters-slide h2 { font-size: 43px; }
  .poster-board { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-top: 25px; }
  .poster-paper { width: min(100% - 24px, 330px); }
  .poster-label { max-width: 330px; margin-inline: auto; }
  .poster-process { justify-self: center; transform: rotate(90deg) !important; height: 30px; }
  .poster-process .icon { width: 30px; height: 30px; }
  .poster-answer-slot { min-height: 436px; }
  .poster-placeholder { inset: 0 12px; }
  .poster-rationale { padding: 0; min-height: 220px; }
  .poster-question, .poster-bridge { inset: 0; font-size: 29px; }
  .poster-rules { gap: 22px; }
  .poster-rule strong { font-size: 23px; }
  .poster-rule p { font-size: 17px; }
  .poster-disclosure { margin-top: 27px; font-size: 11px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce), print {
  .alba-posters-slide *, .alba-posters-slide .content { animation: none !important; transition: none !important; }
}
@media print {
  .slide.alba-posters-slide { padding-top: 77px; }
  .alba-posters-slide .poster-answer,
  .alba-posters-slide .poster-process,
  .alba-posters-slide .poster-zones,
  .alba-posters-slide .poster-rules { visibility: visible !important; opacity: 1 !important; transform: none !important; }
  .alba-posters-slide .poster-placeholder,
  .alba-posters-slide .poster-question,
  .alba-posters-slide .poster-bridge { display: none !important; }
}
