/* FAQ « Au verso » : le dos de la facture, là où l'on imprime les conditions. On devine le recto à travers le papier
   (le mot FACTURE et ses filets, à l'envers). Chaque question est un article numéroté ; l'ouvrir le coche au stylo bleu. */
.verso { padding-block: var(--space-24); background: var(--papier); }
.verso__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.verso__tete { position: sticky; top: calc(var(--entete) + 32px); margin-bottom: 0; }
.verso__tete .bouton { margin-top: 26px; }
.verso__tete .bouton svg { color: var(--encre-payee); }

.verso__feuille { position: relative; padding: 36px 40px 26px; background: #fdfcf8; border-radius: 3px; box-shadow: var(--ombre-soulevee); overflow: hidden; }
/* Le recto, vu par transparence */
.verso__feuille::before { content: "FACTURE"; position: absolute; right: 36px; top: 26px; transform: scaleX(-1); pointer-events: none;
  font: 800 72px/1 var(--font-sans); letter-spacing: .02em; color: rgba(29, 35, 64, .045); }
.verso__feuille::after { content: ""; position: absolute; left: 40px; right: 40px; top: 150px; height: 220px; pointer-events: none; transform: scaleX(-1);
  background: repeating-linear-gradient(to bottom, rgba(29, 35, 64, .035) 0 1px, transparent 1px 34px),
              linear-gradient(90deg, rgba(29, 35, 64, .03) 0 52%, transparent 52% 64%, rgba(29, 35, 64, .03) 64% 74%, transparent 74% 82%, rgba(29, 35, 64, .03) 82%) 0 0 / 100% 22px no-repeat; }
.verso__titre { position: relative; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--carbone); font: 600 13px/1.3 var(--font-mono); letter-spacing: .06em; color: var(--carbone-doux); }

.article { position: relative; border-bottom: 1px solid var(--filet); }
.article summary { display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; gap: 10px; align-items: baseline; padding: 18px 0; cursor: pointer; list-style: none; }
.article summary::-webkit-details-marker { display: none; }
.article summary:focus-visible { outline-offset: 2px; }
.article__num { position: relative; font: 600 13px/1.5 var(--font-mono); color: var(--carbone-doux); white-space: nowrap; }
/* La coche au bic, tracée quand l'article est ouvert */
.article__num::after { content: ""; position: absolute; left: -2px; top: 1.15em; width: 30px; height: 12px; clip-path: inset(0 100% 0 0); transition: clip-path .35s cubic-bezier(.5, 0, .2, 1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M1.5 6.8 7 10.6C12 6.6 19 3.2 28.5 1.4' fill='none' stroke='%231f3fb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0 / contain; }
.article[open] .article__num::after { clip-path: inset(0 0 0 0); }
.article__q { font: 700 18px/1.35 var(--font-sans); color: var(--carbone); text-wrap: pretty; }
.article summary:hover .article__q { color: var(--bic); }
.article__signe { position: relative; width: 16px; height: 16px; align-self: center; justify-self: end; }
.article__signe::before, .article__signe::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 1px; background: var(--carbone-doux);
  transition: transform .2s ease; }
.article__signe::after { transform: rotate(90deg); }
.article[open] .article__signe::after { transform: rotate(0deg); }
.article__r { padding: 0 34px 20px 74px; }
.article__r p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--carbone); max-width: 62ch; }
.article[open] .article__r { animation: verso-ouvre .3s ease; }
@keyframes verso-ouvre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .verso__grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .verso__tete { position: static; }
}
@media (max-width: 560px) {
  .verso { padding-block: 64px; }
  .verso__feuille { padding: 22px 16px 12px; margin-inline: -4px; }
  .verso__feuille::before { font-size: 44px; right: 16px; }
  .article summary { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 10px; padding: 16px 0; }
  .article__num { grid-column: 1 / -1; }
  .article__q { font-size: 17px; }
  .article__r { padding: 0 0 18px; }
  .article__r p { font-size: 16px; }
  .verso__tete .bouton { width: 100%; }
}
