/* Page Étiquettes, composant 4 : les questions fréquentes, sur du papier listing (papier en continu des imprimantes
   d'atelier) : bandes d'entraînement perforées sur les côtés, bandes alternées, pliures en accordéon. */
.faq { max-width: 1440px; margin: 0 auto; padding: var(--espace-9) max(var(--espace-7), env(safe-area-inset-right, 0px)) var(--espace-9) max(var(--espace-7), env(safe-area-inset-left, 0px));
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--espace-8); align-items: start; border-top: 1px solid var(--filet); }
.faq__texte { position: sticky; top: 110px; }
.faq h2 { margin: 0; font-family: var(--font-titre); font-weight: 700; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.faq__texte p { margin: 20px 0 0; max-width: 30em; font-size: 18px; line-height: 28px; }
.faq__texte .doux { font-size: 16px; line-height: 24px; color: var(--texte-doux); }
.faq__texte strong { font-weight: 600; user-select: all; }

/* Le listing : la feuille, et ses deux bandes perforées. */
.listing {
  --bande: 38px; --rang: rgba(10, 165, 245, 0.075);
  position: relative; margin: 0; padding: 18px var(--bande); list-style: none; background: #fdfcf8;
  box-shadow: 0 1px 1px rgba(10, 10, 11, 0.06), 0 16px 34px -22px rgba(10, 10, 11, 0.35);
}
.listing::before, .listing::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: var(--bande);
  background: radial-gradient(circle at 50% 50%, var(--fond) 0 5px, rgba(10, 10, 11, 0.16) 5.6px, transparent 6.4px) 0 0 / var(--bande) 21px repeat-y;
}
.listing::before { left: 0; border-right: 1.5px dashed rgba(10, 10, 11, 0.16); }
.listing::after { right: 0; border-left: 1.5px dashed rgba(10, 10, 11, 0.16); }

.listing > li { position: relative; }
.listing > li:nth-child(odd) { background: var(--rang); }
/* Pliure en accordéon toutes les cinq questions : un trait perforé et une ombre douce. */
.listing > li:nth-child(5n):not(:last-child) { margin-bottom: 14px; }
.listing > li:nth-child(5n):not(:last-child)::after {
  content: ""; position: absolute; left: calc(-1 * var(--bande)); right: calc(-1 * var(--bande)); bottom: -8px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(10, 10, 11, 0.22) 0 6px, transparent 6px 11px);
  box-shadow: 0 6px 10px -4px rgba(10, 10, 11, 0.18), 0 -6px 10px -6px rgba(255, 255, 255, 0.9);
}

.question { margin: 0; }
.question summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 18px; align-items: center; padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-titre); font-weight: 700; font-size: 19px; line-height: 25px; color: var(--texte);
}
.question summary::-webkit-details-marker { display: none; }
.question summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.question summary i { position: relative; width: 22px; height: 22px; border: 1.5px solid var(--accent); }
.question summary i::before, .question summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -0.8px 0 0 -5px; background: var(--accent); transition: transform 0.3s; }
.question summary i::after { transform: rotate(90deg); }
.question[open] summary i::after { transform: rotate(0deg); }
.question summary:hover { color: var(--accent); }
.reponse { overflow: hidden; }
.reponse p { margin: 0; padding: 0 64px 20px 22px; max-width: 46em; font-size: 16.5px; line-height: 26px; color: #2a2b2f; }

@media (max-width: 1000px) {
  .faq { grid-template-columns: 1fr; gap: var(--espace-6); padding: var(--espace-8) max(var(--espace-4), env(safe-area-inset-right, 0px)) var(--espace-8) max(var(--espace-4), env(safe-area-inset-left, 0px)); }
  .faq__texte { position: static; }
  .listing { --bande: 22px; margin: 0 -4px; }
  .listing::before, .listing::after { background-size: var(--bande) 18px; background-image: radial-gradient(circle at 50% 50%, var(--fond) 0 3.6px, rgba(10, 10, 11, 0.16) 4.2px, transparent 4.8px); }
  .question summary { padding: 16px 14px; font-size: 17px; line-height: 23px; gap: 12px; }
  .reponse p { padding: 0 14px 18px; font-size: 16px; line-height: 25px; }
}
