/* Le studio : une planche-contact (pellicule, 4 vues de l'objet, cerclage au crayon gras), le tirage final qui sort
   avec son fond et son étiquette ROUBLA, et un ticket de caisse qui calcule la commission de 10 %. */
.studio-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pellicule { background: #241d17; padding: 22px 14px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  box-shadow: 0 18px 26px -20px rgba(0, 0, 0, .8); }
.pellicule::before, .pellicule::after { content: ""; position: absolute; left: 8px; right: 8px; height: 8px;                     /* les perforations */
  background: repeating-linear-gradient(90deg, transparent 0 7px, #d9cbb0 7px 15px, transparent 15px 22px); opacity: .55; }
.pellicule::before { top: 7px; } .pellicule::after { bottom: 7px; }
.vue { margin: 0; position: relative; }
.vue img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.vue figcaption { font-family: var(--etiquette); font-size: 12px; letter-spacing: .06em; color: #d9cbb0; margin-top: 5px; display: flex; justify-content: space-between; }
.vue svg { position: absolute; inset: -8px -8px auto; width: calc(100% + 16px); aspect-ratio: 1; pointer-events: none; overflow: visible; }
.vue svg path { fill: none; stroke: #c2402a; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease .5s; }
.js .studio:not(.vu) .vue svg path { stroke-dashoffset: 420; }
.tirage { margin: 0; position: relative; background: var(--carte); padding: 12px 12px 14px; box-shadow: 0 0 0 1px var(--ligne), 0 22px 30px -22px rgba(43, 35, 28, .8);
  transform: rotate(-1.5deg); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .9s, opacity .6s ease .9s; max-width: 430px; justify-self: center; }
.js .studio:not(.vu) .tirage { transform: translateY(40px) rotate(4deg); opacity: 0; }
.tirage img { width: 100%; }
.tirage figcaption { font-size: 15px; color: var(--doux); margin-top: 10px; }
.etapes-studio { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: e; display: grid; gap: 0; }
.etapes-studio li { counter-increment: e; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.etapes-studio li::before { content: counter(e); font-family: var(--titre); font-size: 26px; color: var(--brique); line-height: 1; }
.etapes-studio b { display: block; }
.ticket { margin-top: 30px; background: var(--carte); padding: 22px 22px 34px; position: relative; max-width: 430px; font-family: var(--etiquette);
  box-shadow: 0 0 0 1px var(--ligne); }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;                                   /* bord déchiré */
  background: linear-gradient(-45deg, transparent 6px, var(--carte) 6px) 0 0 / 12px 10px, linear-gradient(45deg, transparent 6px, var(--carte) 6px) 0 0 / 12px 10px; }
.ticket h3 { font-family: var(--titre); font-size: 22px; text-align: center; }
.ticket .sous { text-align: center; font-size: 14px; color: var(--doux); margin: 2px 0 14px; letter-spacing: .03em; }
.ticket label { display: block; font-size: 15px; letter-spacing: .03em; color: var(--doux); margin-bottom: 6px; }
.ticket .saisie { display: flex; align-items: center; border-bottom: 2px solid var(--encre); }
.ticket input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--titre); font-size: 30px; color: var(--encre); padding: 4px 0; }
.ticket input:focus { outline: none; }
.ticket .saisie:focus-within { border-color: var(--brique); }
.ticket .saisie span { font-size: 18px; color: var(--doux); }
.ticket dl { margin: 16px 0 0; font-size: 17px; }
.ticket dl div { display: flex; gap: 8px; padding: 5px 0; align-items: baseline; }
.ticket dt { flex: 1; display: flex; min-width: 0; }
.ticket dt::after { content: ""; flex: 1; min-width: 12px; border-bottom: 2px dotted var(--ligne); margin: 0 0 5px 8px; }
.ticket dd { margin: 0; font-weight: 600; white-space: nowrap; }
.ticket .net { border-top: 2px solid var(--encre); margin-top: 6px; padding-top: 8px; font-size: 20px; }
.ticket .net dd { color: var(--brique); }
.ticket .note { font-family: var(--texte); margin: 14px 0 0; }

@media (max-width: 960px) { .studio-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .pellicule { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
}
