/* Charte légère d'AUXEO 1.0 (07/11/2026), reprise de l'outil « Anonymiser avant l'IA ». Polices servies par l'outil lui-même. */
@font-face { font-family: 'Inter'; font-weight: 300; font-display: swap; src: url(../polices/inter-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(../polices/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(../polices/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(../polices/space-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(../polices/space-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(../polices/space-grotesk-latin-700-normal.woff2) format('woff2'); }

:root {
  --bleu: #6680BF; --or: #CD9D37; --encre: #1D2435; --blanc: #FFFFFF;
  --a700: #384669; --a300: #BFCAE4; --a100: #EDF0F7; --a50: #F7F9FC;
  --succes: #1E7F4F; --erreur: #C0223B;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 16px/26px Inter, system-ui, sans-serif; }
main { max-width: 860px; margin: 0 auto; padding: 0 24px 48px; }

.entete { display: flex; align-items: baseline; gap: 16px; max-width: 860px; margin: 0 auto; padding: 24px; }
.marque { font: 500 28px/1 'Space Grotesk', sans-serif; letter-spacing: -0.01em; color: var(--bleu); }
.point { color: var(--or); }
.entete-outil { font: 400 13px/18px Inter, sans-serif; color: var(--a700); }

h1 { font: 700 40px/48px 'Space Grotesk', sans-serif; color: var(--encre); margin: 24px 0 16px; }
h2 { font: 600 30px/38px 'Space Grotesk', sans-serif; color: var(--bleu); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.chapo { font: 300 20px/32px Inter, sans-serif; color: var(--a700); margin: 0 0 16px; }
.legende, .note { font: 400 13px/18px Inter, sans-serif; color: var(--a700); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--encre); color: var(--blanc); font: 600 20px/1 'Space Grotesk', sans-serif; flex: none; }

.promesse { background: var(--a100); border-left: 4px solid var(--bleu); padding: 12px 16px; margin: 0 0 12px; }
.etat { font: 400 14px/20px Inter, sans-serif; color: var(--a700); min-height: 20px; }
.etat.pret::before { content: '✓ '; color: var(--succes); font-weight: 600; }
.etat.erreur { color: var(--erreur); }
.etat.erreur::before { content: '⚠ '; }

.etape { border-top: 1px solid var(--a300); padding: 32px 0 8px; }
.depot { display: block; border: 2px dashed var(--a300); border-radius: 8px; padding: 32px 24px; text-align: center; cursor: pointer; background: var(--a50); }
.depot:hover, .depot.survol { border-color: var(--bleu); background: var(--a100); }
input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.depot:focus-within, label.bouton:focus-within { outline: 3px solid var(--bleu); outline-offset: 2px; }
input[type=text], input[type=date], textarea { width: 100%; font: 400 15px/24px Inter, sans-serif; color: var(--encre); border: 1px solid var(--a300); border-radius: 6px; padding: 10px 12px; background: var(--blanc); }
input:focus, textarea:focus { outline: 2px solid var(--bleu); border-color: var(--bleu); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0; }
button, label.bouton { font: 600 15px/20px Inter, sans-serif; border-radius: 6px; padding: 11px 20px; cursor: pointer; display: inline-block; }
.bouton-or { background: var(--or); color: var(--encre); border: 2px solid var(--or); }
.bouton { background: var(--blanc); color: var(--encre); border: 2px solid var(--bleu); }
.bouton:hover:not(:disabled) { background: var(--a100); }
.bouton.petit, label.bouton.petit { padding: 6px 12px; font-size: 14px; }
button:disabled { background: var(--a100); border-color: var(--a300); color: var(--a700); cursor: not-allowed; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

/* Les photos : vignette à gauche, légende et boutons à droite ; empilées sur téléphone */
.photos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.photo { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: start; border: 1px solid var(--a300); border-radius: 8px; padding: 12px; background: var(--a50); }
.photo img { width: 160px; height: 120px; object-fit: contain; background: var(--a100); border-radius: 4px; }
.photo label { display: block; }
.photo-num { font-weight: 600; }
.photo textarea { margin-top: 4px; }
.photo-boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champs > label, .champ-titre { display: block; font-weight: 600; font-size: 15px; }
.champs > label input { margin-top: 4px; font-weight: 400; }
.logo { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.logo .champ-titre { width: 100%; }
.logo img { max-height: 48px; max-width: 160px; }

.suite { font: 400 14px/20px Inter, sans-serif; color: var(--a700); }
.pied { max-width: 860px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--a300); font: 400 13px/18px Inter, sans-serif; color: var(--a700); }
.pied a, main a { color: var(--encre); }

@media (max-width: 600px) {
  main { padding: 0 16px 40px; } .entete { padding: 16px; }
  h1 { font-size: 30px; line-height: 38px; } h2 { font-size: 24px; line-height: 30px; }
  .chapo { font-size: 18px; line-height: 28px; }
  .photo { grid-template-columns: 1fr; } .photo img { width: 100%; height: 200px; }
  .champs { grid-template-columns: 1fr; }
}
