/* /fiche-gratuite/ — sign-up page for the free "7 erreurs" sheet. Tokens come from ../style.css. */
.fiche { padding-block: var(--sp-50); }
.fiche__grille {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-40);
  align-items: center;
}
.fiche h1 { margin-bottom: 0.4em; }
.fiche__pitch { list-style: none; padding: 0; margin: 0 0 var(--sp-30); display: grid; gap: 0.6rem; }
.fiche__pitch li { display: flex; gap: 0.7rem; font-size: 1.1rem; color: var(--encre-douce); }
.fiche__pitch li::before { content: "→"; color: var(--accent); font-weight: 700; flex: none; }

.fiche__form { display: grid; gap: var(--sp-20); max-width: 30rem; }
.fiche__form .champ label { color: var(--encre); }
.fiche__form .champ input { border: 1px solid var(--filet); background: var(--surface); }
.fiche__consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; line-height: 1.5; color: var(--encre-douce); }
.fiche__consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--accent); }
.fiche__form .bouton { justify-self: start; }
.fiche__form .bouton[disabled] { opacity: 0.6; cursor: wait; }
.fiche__mention { font-size: 0.8rem; color: var(--encre-douce); margin: 0; }
.fiche__mention a { color: var(--accent); }
.fiche__message { margin: 0; padding: 0.9rem 1rem; font-size: 1rem; background: var(--accent-doux); color: var(--accent-fonce); }
.fiche__message[hidden] { display: none; }
.fiche__message[data-etat="erreur"] { background: var(--second-doux); color: #8A2B1E; }
.fiche__merci { background: var(--accent-doux); padding: var(--sp-30); max-width: 30rem; }
.fiche__merci h2 { margin-top: 0; }
.fiche__merci[hidden], .fiche__form[hidden] { display: none; }

.fiche__couverture { margin: 0; justify-self: center; }
.fiche__couverture img {
  display: block;
  width: min(100%, 330px);
  height: auto;
  border: 1px solid var(--filet);
  box-shadow: 0 18px 40px rgba(27, 33, 31, 0.18);
  transform: rotate(2deg);
}

@media (max-width: 820px) {
  .fiche__grille { grid-template-columns: 1fr; }
  .fiche__couverture { order: -1; }
  .fiche__couverture img { width: min(62%, 240px); }
  .fiche__form .bouton { justify-self: stretch; justify-content: center; }
}
