:root { --navy: #1f2d3d; --gold: #b79d60; --cream: #f6efe4; --sand: #e7dccb; --slate: #55616f; --error: #9b2c2c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.entete { background: var(--navy); padding: 1rem 1.25rem; }
.marque { font: 600 1.35rem Georgia, "Times New Roman", serif; color: #fff; }
.marque em { color: var(--gold); }
.conteneur { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
h1 { font: 600 clamp(1.8rem, 5vw, 2.5rem)/1.15 Georgia, serif; margin: 0.5rem 0 0.75rem; }
h2 { font: 600 1.35rem Georgia, serif; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.6rem; }
h2 span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--gold); color: #8c6b4a; font: 600 0.95rem system-ui, sans-serif; }
.intro { color: var(--slate); }
.bloc { background: #fffaf2; border: 1px solid var(--sand); border-radius: 10px; padding: 1.25rem; margin: 1.25rem 0; }
label { display: block; margin: 0 0 0.9rem; font-weight: 600; font-size: 0.95rem; }
input, select, textarea { display: block; width: 100%; margin-top: 0.3rem; padding: 0.65rem 0.8rem; font: 400 1rem system-ui, sans-serif; color: var(--navy); background: #fff; border: 1px solid #cdbf9f; border-radius: 6px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(183 157 96 / 0.35); }
.deux { display: grid; gap: 0 1rem; } @media (min-width: 640px) { .deux { grid-template-columns: 1fr 1fr; } }
.aide { color: var(--slate); font-size: 0.9rem; margin: 0 0 1rem; }
.case { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; }
.case input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; flex: none; }
.fichier { display: inline-block; cursor: pointer; padding: 0.7rem 1.1rem; border: 1px dashed var(--gold); border-radius: 6px; background: #fff; }
.fichier input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.vignettes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 0.8rem; }
.vignettes li { background: #fff; border: 1px solid var(--sand); border-radius: 6px; padding: 0.4rem; }
.vignettes img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; display: block; }
.vignettes input { font-size: 0.8rem; padding: 0.35rem 0.5rem; margin-top: 0.35rem; }
.vignettes button { font-size: 0.75rem; background: none; border: 0; color: var(--error); cursor: pointer; padding: 0.2rem 0; }
.styles { display: grid; gap: 0.8rem; } @media (min-width: 640px) { .styles { grid-template-columns: repeat(3, 1fr); } }
.styles label { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--sand); border-radius: 8px; padding: 0.7rem; cursor: pointer; margin: 0; }
.styles input { width: auto; margin: 0; }
.sw { width: 2.2rem; height: 3rem; border-radius: 3px; border: 1px solid #0002; flex: none; }
.sw-premium { background: var(--navy); box-shadow: inset 0 0 0 2px var(--gold); } .sw-beige { background: #efe6d8; } .sw-doux { background: linear-gradient(#cfe3ee, #fbeedd); }
.bouton { display: inline-block; width: 100%; padding: 0.95rem 1.4rem; background: var(--navy); color: #fff; border: 0; border-radius: 6px; font: 600 1.05rem system-ui, sans-serif; cursor: pointer; }
.bouton:disabled { opacity: 0.45; cursor: not-allowed; }
.lien { background: none; border: 0; color: var(--slate); text-decoration: underline; cursor: pointer; margin-top: 1rem; font: inherit; }
.erreurs { background: #fdecec; border-left: 4px solid var(--error); color: #5c1a1a; padding: 0.8rem 1rem; margin: 1rem 0; border-radius: 4px; }
.erreurs li { margin: 0.2rem 0; }
#cadre { width: 100%; height: 70vh; border: 1px solid var(--sand); border-radius: 6px; background: #fff; }
details summary { cursor: pointer; font-weight: 600; margin: 0.5rem 0; }
