/* Concours d'ouverture : page /inscription et la suite du parcours (maquette validée par Greg,
   docs/maquettes/concours). Fond rouge piment avec grain, logo crème, étiquette dorée, carte crème. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("polices/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("polices/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("polices/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --piment: #B42A1E; --piment-fonce: #8F1F15; --papier: #FFFBF4; --soja: #1C1712; --croute: #E3A62F;
  --gris: #6E655C; --filet: #DCCCB3;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--piment); color: var(--papier); font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; position: relative; isolation: isolate;
  min-height: 100vh; }
body::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .16;
  pointer-events: none; z-index: -1; mix-blend-mode: multiply; }
img { display: block; max-width: 100%; height: auto; }
h1, p { margin: 0; }
.page { max-width: 460px; margin: 0 auto; padding: 28px 20px 30px; display: grid; gap: 18px; justify-items: center;
  text-align: center; }
.logo { width: 190px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--croute); color: var(--soja);
  font-weight: 800; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding: 11px 18px; border-radius: 14px; transform: rotate(-2deg); box-shadow: 0 5px 0 #B47E17; margin-top: 6px; }
.badge svg { flex: none; }
.titre { font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
.offre { font-size: 17px; max-width: 20em; }
.carte { width: 100%; background: var(--papier); color: var(--soja); border-radius: 22px; padding: 22px 20px;
  text-align: left; display: grid; gap: 16px; box-shadow: 0 18px 40px rgba(28, 23, 18, .3); }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 600; font-size: 15px; }
.champ small { font-weight: 400; color: var(--gris); }
.champ input { font: inherit; font-size: 17px; padding: 13px 14px; border: 2px solid var(--filet); border-radius: 12px;
  background: #fff; color: var(--soja); width: 100%; min-width: 0; }
.champ input::placeholder { color: #8C8278; }
.champ input:focus { outline: none; border-color: var(--piment); box-shadow: 0 0 0 3px rgba(180, 42, 30, .18); }
.aide { font-size: 13px; color: var(--gris); }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gris); cursor: pointer; }
.case input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--piment); flex: none; }
.bouton { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; border: 0;
  border-radius: 999px; background: var(--piment); color: var(--papier); font: inherit; font-weight: 800;
  font-size: 19px; box-shadow: 0 6px 0 var(--piment-fonce); cursor: pointer; }
.bouton:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--piment-fonce); }
.bouton:focus-visible { outline: 3px solid var(--croute); outline-offset: 3px; }
.bouton[disabled] { opacity: .75; cursor: default; }
/* Bouton seul sur le fond rouge (page de confirmation) : crème, pour se détacher. */
.seul-bouton { width: 100%; }
.seul-bouton .bouton { background: var(--papier); color: var(--piment); box-shadow: 0 6px 0 #D9C9AE; }
.seul-bouton .bouton:active { box-shadow: 0 3px 0 #D9C9AE; }
.erreur { background: #FBE3DF; color: var(--piment-fonce); border-radius: 12px; padding: 12px 14px; font-weight: 600;
  font-size: 15px; }
.petit { font-size: 14px; opacity: .85; }
.pied { font-size: 13px; opacity: .8; padding-top: 6px; }
.pied-adresse { display: inline-block; }
.pied sup { font-size: .7em; line-height: 0; }
.rond { width: 84px; height: 84px; border-radius: 50%; background: var(--papier); color: var(--piment); display: grid;
  place-items: center; margin-top: 10px; }
.lien { color: var(--papier); font-weight: 600; }
.lien:focus-visible { outline: 2px solid var(--papier); outline-offset: 2px; }
.visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 360px) {
  .badge { font-size: 14px; padding: 10px 14px; gap: 8px; }
  .titre { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { .bouton:active { transform: none; } }
