:root { --encre: #16181d; --gris: #5d6470; --trait: #e3e6eb; --fond: #f6f7f9;
  --accent: #1f4fd8; --rouge: #b3261e; --vert: #1a7f4b; --ambre: #9a6400; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--encre); background: var(--fond); }
header, footer { display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--trait); }
header { justify-content: space-between; }
header nav { display: flex; gap: 16px; align-items: center; }
footer { border-top: 1px solid var(--trait); border-bottom: 0; font-size: 14px; color: var(--gris); }
footer span { margin-left: auto; }
.marque { font-weight: 700; color: var(--encre); text-decoration: none; }
a { color: var(--accent); }
main { max-width: 980px; margin: 0 auto; padding: 32px 16px 64px; min-height: 70vh; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { margin: 0 0 6px; font-size: 16px; }
.hero { padding: 32px 0; max-width: 680px; }
.hero p { font-size: 18px; color: var(--gris); }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.carte, .bloc, .etroit, .texte, form#pub { background: #fff; border: 1px solid var(--trait);
  border-radius: 10px; padding: 20px; }
.carte p { margin: 0; color: var(--gris); }
.bloc { margin-bottom: 20px; }
.etroit { max-width: 420px; margin: 24px auto; }
.texte { max-width: 720px; }
.pile { display: flex; flex-direction: column; gap: 16px; }
label { display: block; font-weight: 600; font-size: 14px; }
input[type=email], input[type=password], textarea, select { display: block; width: 100%;
  margin-top: 6px; padding: 10px; font: inherit; border: 1px solid #c5cad3; border-radius: 8px;
  background: #fff; }
fieldset { border: 1px solid var(--trait); border-radius: 8px; margin: 0; padding: 12px 14px; }
legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.case { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 15px;
  margin: 6px 0; }
.case input { margin-top: 4px; }
.grise { color: #9aa1ad; cursor: not-allowed; }
.bouton { display: inline-block; padding: 10px 18px; border: 0; border-radius: 8px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none;
  cursor: pointer; }
.bouton.secondaire { background: #fff; color: var(--encre); border: 1px solid #c5cad3; }
.bouton:disabled { background: #b9c0cc; cursor: not-allowed; }
.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; cursor: pointer; }
.note { color: var(--gris); font-size: 14px; font-weight: 400; margin: 0; }
.alerte { background: #fdecea; color: var(--rouge); padding: 10px 14px; border-radius: 8px; }
.info { background: #eef3ff; padding: 10px 14px; border-radius: 8px; font-size: 14px; margin: 8px 0 0; }
.info:empty { display: none; }
.compte { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.compte form { margin-left: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--trait); object-fit: cover; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--trait); }
.liste li:first-child { border-top: 0; }
.pastille { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px;
  background: #eceff3; color: var(--gris); }
.p-publie { background: #e3f4ea; color: var(--vert); }
.p-echec { background: #fdecea; color: var(--rouge); }
.p-envoi, .p-traitement { background: #fff4dc; color: var(--ambre); }
.deux { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px;
  align-items: start; }
video { width: 100%; border-radius: 10px; background: #000; }
.retour { display: inline-block; margin-bottom: 12px; font-size: 14px; }
@media (max-width: 720px) { .deux { grid-template-columns: 1fr; } footer span { margin-left: 0; } }
