/* Habillage provisoire (phase 0). */
:root {
  --fond: #f7f4ee;
  --papier: #fffdf9;
  --encre: #2b2722;
  --pale: #6f675d;
  --accent: #3c6e71;
  --rouge: #a33b2f;
  --vert: #2f6b3c;
  --trait: #e2dbcf;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 17px/1.55 Georgia, "Times New Roman", serif;
}
header {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--trait);
  background: var(--papier);
}
header nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.marque { font-size: 1.3rem; font-weight: bold; color: var(--encre); text-decoration: none; letter-spacing: .02em; }
main {
  max-width: 56rem;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 6px;
}
footer { text-align: center; padding: 1rem; font-size: .9rem; }
h1 { margin-top: 0; font-weight: normal; }
a { color: var(--accent); }
.message, .erreur { padding: .7rem 1rem; border-radius: 4px; }
.message { background: #e6f0e8; color: var(--vert); }
.erreur { background: #f6e3e0; color: var(--rouge); }
form.bloc { display: grid; gap: .9rem; max-width: 26rem; }
label { display: grid; gap: .25rem; }
label.case { display: flex; gap: .5rem; align-items: flex-start; }
input[type=email], input[type=password], input[type=text], input[type=number] {
  font: inherit;
  padding: .45rem .6rem;
  border: 1px solid #c9bfb0;
  border-radius: 4px;
  background: #fff;
}
button {
  font: inherit;
  padding: .5rem 1rem;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
button.danger { background: var(--rouge); }
button.secondaire { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
button.lien { background: none; color: var(--accent); padding: 0; text-decoration: underline; }
form.enligne { display: inline; }
.pale { color: var(--pale); font-size: .92rem; }
.separation { margin: 1.5rem 0; color: var(--pale); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
td code { font-size: .85rem; word-break: break-word; }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .8rem; margin-bottom: 1.5rem; }
.carte { border: 1px solid var(--trait); border-radius: 4px; padding: .6rem .8rem; }
.carte strong { display: block; font-size: 1.3rem; }
.ok { color: var(--vert); }
.ko { color: var(--rouge); }
pre { white-space: pre-wrap; background: #f1ece3; padding: .8rem; border-radius: 4px; }
@media (max-width: 600px) {
  main { margin: 0; border: 0; border-radius: 0; padding: 1rem; }
}
