* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: #fbe9c9; color: #3a2412; font-family: "Nunito", system-ui, sans-serif;
}
.porte {
  width: min(420px, 100%); text-align: center;
  background: #fff6e4; border: 3px solid #3a2412; border-radius: 22px; box-shadow: 0 6px 0 #9a5a24;
  padding: 28px 24px;
}
.tete { display: block; margin: 0 auto; animation: hoche 2.4s ease-in-out infinite; }
@keyframes hoche { 50% { transform: rotate(-6deg) translateY(-4px); } }
h1 { font-family: "Bowlby One", "Arial Black", sans-serif; font-size: 3.4rem; margin: 6px 0 4px; text-shadow: 3px 3px 0 #c07d3a; }
form { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
label { font-weight: 700; }
input {
  font: 700 1.1rem "Nunito", system-ui, sans-serif; padding: 12px 14px;
  border: 3px solid #3a2412; border-radius: 14px; background: #fff; color: #3a2412;
}
input:focus-visible, button:focus-visible { outline: 3px solid #c8322b; outline-offset: 2px; }
button {
  font-family: "Bowlby One", "Arial Black", sans-serif; font-size: 1.15rem; cursor: pointer;
  background: #3a2412; color: #fbe9c9; border: none; border-radius: 999px; padding: 12px 24px;
  box-shadow: 0 5px 0 #9a5a24;
}
button:active { transform: translateY(4px); box-shadow: 0 1px 0 #9a5a24; }
button:disabled { opacity: .6; cursor: wait; }
#message { min-height: 1.5em; font-weight: 700; color: #8f1f1a; margin: 14px 0 0; }
@media (prefers-reduced-motion: reduce) { .tete { animation: none; } }
