:root { --encre: #22201c; --fond: #faf8f3; --accent: #8a4b1f; --ligne: #ddd6c8; --doux: #f1ece2; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.55 Georgia, "Times New Roman", serif; color: var(--encre); background: var(--fond); }
main { max-width: 860px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.entete { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; padding: 1rem; border-bottom: 1px solid var(--ligne); font-family: system-ui, sans-serif; }
.entete .marque { font-weight: 700; font-size: 1.25rem; color: var(--encre); text-decoration: none; }
.entete nav a { margin-right: 1rem; color: var(--accent); text-decoration: none; }
.entete nav a[aria-current] { text-decoration: underline; }
h1 { font-size: 1.9rem; line-height: 1.2; }
h2 { font-size: 1.35rem; margin-top: 2rem; }
h3 { font-size: 1.1rem; }
a { color: var(--accent); }
.bouton { display: inline-block; padding: .6rem 1.1rem; background: var(--accent); color: #fff; text-decoration: none; border: 0; border-radius: 4px; font: inherit; font-family: system-ui, sans-serif; cursor: pointer; }
.bouton.secondaire { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.cartes { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cartes li { background: var(--doux); padding: .7rem .9rem; border-radius: 4px; }
.cartes a { color: var(--encre); text-decoration: none; }
.etapes { counter-reset: etape; list-style: none; padding: 0; }
.etapes li { counter-increment: etape; padding: .5rem 0 .5rem 2.4rem; position: relative; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: .5rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent); color: #fff; text-align: center; line-height: 1.7rem; font: 700 .9rem/1.7rem system-ui, sans-serif; }
.note { font-size: .9rem; color: #5a564d; }
.resume { font-size: 1.1rem; background: var(--doux); padding: .8rem 1rem; border-radius: 4px; }
.resume.erreur { border-left: 4px solid #a33a2a; }
.encart { background: var(--doux); padding: 1rem 1.2rem; border-radius: 4px; margin-top: 2rem; }
.offre { border: 1px solid var(--ligne); padding: 1rem 1.2rem; margin: 1rem 0; border-radius: 4px; }
.offres { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.prix { font-size: 1.6rem; font-family: system-ui, sans-serif; font-weight: 700; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid var(--ligne); padding: .4rem .6rem; text-align: left; vertical-align: top; }
.formulaire fieldset { border: 1px solid var(--ligne); margin: 1rem 0; padding: .8rem 1rem; }
.formulaire label { display: block; margin: .3rem 0; }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=url], .formulaire textarea, .formulaire select { width: 100%; padding: .5rem; font: inherit; margin: .2rem 0 .6rem; border: 1px solid var(--ligne); background: #fff; }
.formulaire input[type=file] { margin: .2rem 0 .8rem; }
.rendus { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rendus figure { margin: 0; background: #fff; border: 1px solid var(--ligne); border-radius: 4px; padding: .5rem; }
.rendus img { width: 100%; height: auto; display: block; border-radius: 3px; }
.rendus figcaption { font: .9rem system-ui, sans-serif; padding: .4rem .2rem 0; }
.pied { border-top: 1px solid var(--ligne); padding: 1rem; font-size: .85rem; color: #5a564d; max-width: 860px; margin: 0 auto; }
.fil { font-size: .9rem; }
.texte-court { white-space: pre-wrap; background: #fff; border: 1px solid var(--ligne); padding: .8rem 1rem; font: .95rem/1.5 system-ui, sans-serif; border-radius: 4px; }
textarea.texte-court { width: 100%; }
.resume.ok { border-left: 4px solid #3d7a3a; }
