:root {
  --encre: #16181d;
  --papier: #f7f8f6;
  --blanc: #ffffff;
  --bleu: #23408e;
  --bleu-fonce: #172c66;
  --jaune: #f2c230;
  --gris: #5e646e;
  --trait: #dadde2;
  --fond2: #eceef1;
  --rouge: #b3261e;
  --vert: #1d7a46;
  --titre: "Archivo", "Arial Narrow", Arial, sans-serif;
  --texte: "Inter", Arial, sans-serif;
  --r-petit: 8px;
  --r: 12px;
  --r-grand: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 16px/1.55 var(--texte); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { font-family: var(--titre); line-height: 1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 14px; border-radius: var(--r-petit); z-index: 50; }
.evitement:focus { left: 8px; }
[hidden] { display: none !important; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(247, 248, 246, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.entete-barre { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font: 800 1.25rem var(--titre); letter-spacing: .01em; }
.marque img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--encre); font-weight: 600; padding: 8px 12px; border-radius: var(--r-petit); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--fond2); }
.lien-panier { background: var(--encre) !important; color: #fff !important; }
.pastille { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 11px; background: var(--jaune); color: var(--encre); font-size: .8rem; font-weight: 700; }
/* ruban défilant (identité CREART PLUS : Inter capitales espacées, noir et blanc) */
.ruban { background: var(--encre); color: #fff; overflow: hidden; white-space: nowrap; font: 600 .74rem/1 var(--texte); text-transform: uppercase; letter-spacing: .08em; }
.ruban-piste { display: inline-flex; padding: 9px 0; animation: ruban 28s linear infinite; }
.ruban-piste span { display: inline-flex; align-items: center; padding: 0 22px; }
.ruban-piste span::after { content: ""; width: 5px; height: 5px; background: #fff; transform: rotate(45deg); margin-left: 44px; opacity: .7; }
.ruban:hover .ruban-piste { animation-play-state: paused; }
@keyframes ruban { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban-piste { animation: none; } }

.page { max-width: 1240px; margin: 0 auto; padding: 32px 16px 72px; }
.etroit { max-width: 820px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 2px solid var(--encre);
  background: var(--encre); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s; }
.btn:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); }
.btn:active { transform: translateY(1px); }
.btn.clair { background: transparent; color: var(--encre); }
.btn.clair:hover { background: var(--fond2); }
.btn.jaune { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.btn.jaune:hover { background: #e2b11c; border-color: #e2b11c; }
.btn.petit { min-height: 38px; padding: 6px 14px; font-size: .92rem; border-radius: var(--r-petit); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.large { width: 100%; }
.lien-btn { background: none; border: 0; padding: 0; color: var(--bleu); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* Accueil */
.heros { max-width: 1240px; margin: 0 auto; padding: 28px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.heros h1 { max-width: 13ch; }
.heros .chapo { font-size: 1.15rem; color: var(--gris); max-width: 46ch; }
.heros-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.heros-scene { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-grand); background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #e6e9ee 70%); overflow: hidden; border: 1px solid var(--trait); }
.heros-scene canvas { width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.heros-outils { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pastilles { display: flex; gap: 8px; background: rgba(255,255,255,.9); padding: 8px; border-radius: 999px; border: 1px solid var(--trait); }
.pastilles button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0,0,0,.18); cursor: pointer; padding: 0; }
.pastilles button[aria-pressed="true"] { outline: 3px solid var(--encre); outline-offset: 2px; }
.essai-logo { background: var(--jaune); color: var(--encre); border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; border: 0; }
.chiffres { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--trait); }
.chiffres div { font-size: .95rem; color: var(--gris); }
.chiffres strong { display: block; font: 800 1.5rem var(--titre); color: var(--encre); }

.section { max-width: 1240px; margin: 0 auto; padding: 56px 16px; }
.section-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-tete p { color: var(--gris); margin: 0; }

/* Tableau des techniques */
.techniques { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-grand); overflow: hidden; }
.techniques th, .techniques td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.techniques thead th { font: 800 1.3rem var(--titre); background: var(--fond2); }
.techniques tbody th { font-weight: 600; color: var(--gris); width: 18%; }
.techniques tr:last-child th, .techniques tr:last-child td { border-bottom: 0; }
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: etape; }
.etapes li { counter-increment: etape; padding-top: 18px; border-top: 3px solid var(--encre); }
.etapes li::before { content: counter(etape); display: block; font: 800 2.4rem var(--titre); color: var(--bleu); margin-bottom: 4px; }
.etapes p { color: var(--gris); margin: 0; }

/* Catalogue */
.filtres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filtre { border: 1px solid var(--trait); background: var(--blanc); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.filtre[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.recherche { flex: 1 1 220px; max-width: 320px; padding: 9px 14px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.produit { display: flex; flex-direction: column; text-decoration: none; color: var(--encre); background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; }
.produit:hover .produit-photo img { transform: scale(1.03); }
.produit-photo { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--trait); }
.produit-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.produit-corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.produit-corps h3 { font-size: 1.02rem; font-family: var(--texte); font-weight: 700; margin: 0; line-height: 1.3; }
.produit-meta { color: var(--gris); font-size: .88rem; }
.produit-prix { margin-top: auto; padding-top: 8px; font-weight: 700; }
.produit-prix span { color: var(--gris); font-weight: 400; font-size: .88rem; }
.points-couleurs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.points-couleurs i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.vide { padding: 40px 20px; text-align: center; background: var(--blanc); border: 1px dashed var(--trait); border-radius: var(--r); color: var(--gris); }

/* Configurateur */
.config { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.config-visuel { position: sticky; top: 76px; }
.scene { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-grand); background: radial-gradient(120% 90% at 50% 15%, #ffffff 0%, #e4e7ec 75%); border: 1px solid var(--trait); overflow: hidden; }
.scene canvas { width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.scene .photo-plein { position: absolute; inset: 0; background: #fff; display: grid; place-items: center; }
.scene .photo-plein img { max-height: 100%; object-fit: contain; }
.vues { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.vues button { border: 1px solid var(--trait); background: var(--blanc); border-radius: var(--r-petit); padding: 7px 12px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.vues button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.vignettes { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.vignettes button { flex: none; width: 64px; height: 64px; border: 1px solid var(--trait); border-radius: var(--r-petit); background: #fff; padding: 2px; cursor: pointer; }
.vignettes button[aria-pressed="true"] { border: 2px solid var(--encre); }
.vignettes img { width: 100%; height: 100%; object-fit: contain; }
.note { font-size: .85rem; color: var(--gris); margin-top: 8px; }
.fil { font-size: .9rem; color: var(--gris); margin-bottom: 12px; }
.fil a { color: var(--gris); }
.config-titre h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: none; }
.config-titre .produit-meta { margin-bottom: 8px; }
.bloc { border-top: 1px solid var(--trait); padding: 20px 0; }
.bloc > h2 { font: 700 1.05rem var(--texte); margin: 0 0 12px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bloc > h2 small { font-weight: 500; color: var(--gris); font-size: .9rem; }
.nuancier { display: flex; flex-wrap: wrap; gap: 8px; }
.nuancier button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; }
.nuancier button[aria-pressed="true"] { outline: 3px solid var(--encre); outline-offset: 2px; }
.tailles { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.taille { display: flex; flex-direction: column; border: 1px solid var(--trait); border-radius: var(--r-petit); background: var(--blanc); overflow: hidden; }
.taille label { font-weight: 700; font-size: .85rem; text-align: center; padding: 6px 4px 2px; }
.taille input { border: 0; text-align: center; padding: 6px 4px 8px; width: 100%; font-size: 1.05rem; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.taille input::-webkit-outer-spin-button, .taille input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.taille.rempli { border-color: var(--encre); box-shadow: inset 0 -3px 0 var(--jaune); }
.zone { border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); margin-bottom: 10px; }
.zone-tete { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.zone-tete input { width: 20px; height: 20px; accent-color: var(--encre); flex: none; }
.zone-tete strong { display: block; }
.zone-tete span { color: var(--gris); font-size: .88rem; }
.zone-tete .zone-prix { margin-left: auto; font-weight: 700; white-space: nowrap; color: var(--encre); }
.zone-corps { padding: 0 14px 14px 46px; display: grid; gap: 12px; }
.segments { display: flex; gap: 6px; flex-wrap: wrap; }
.segments button { border: 1px solid var(--trait); background: var(--papier); border-radius: var(--r-petit); padding: 8px 12px; cursor: pointer; font-weight: 600; text-align: left; }
.segments button small { display: block; font-weight: 400; color: var(--gris); font-size: .78rem; }
.segments button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.segments button[aria-pressed="true"] small { color: #d6d9de; }
.segments button:disabled { opacity: .5; cursor: not-allowed; }
.depot { border: 2px dashed var(--trait); border-radius: var(--r); padding: 14px; display: flex; align-items: center; gap: 12px; cursor: pointer; background: var(--papier); }
.depot:hover, .depot.survol { border-color: var(--bleu); background: #eef2fb; }
.depot img { width: 56px; height: 56px; object-fit: contain; background: repeating-conic-gradient(#e8e8e8 0 25%, #fff 0 50%) 50% / 12px 12px; border-radius: 6px; }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qualite { font-size: .88rem; padding: 8px 10px; border-radius: var(--r-petit); }
.qualite.bon { background: #e4f4ea; color: var(--vert); }
.qualite.moyen { background: #fff4d6; color: #6b4e00; }
.qualite.faible { background: #fde8e6; color: var(--rouge); }
.reglage { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.reglage input[type=range] { width: 100%; accent-color: var(--encre); }
.case { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.case input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--encre); flex: none; }

/* Prix */
.prix { background: var(--jaune); border-radius: var(--r-grand); padding: 20px; margin-top: 8px; }
.prix-ligne { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding: 3px 0; }
.prix-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--encre); margin-top: 10px; padding-top: 10px; }
.prix-total strong { font: 800 2rem var(--titre); }
.prix-piece { font-weight: 700; }
.prix .erreurs { background: rgba(255,255,255,.75); border-radius: var(--r-petit); padding: 10px 12px; margin: 10px 0 0; font-size: .9rem; }
.prix .erreurs li { margin-left: 16px; }
.prix .btn { margin-top: 14px; }
.mention { font-size: .8rem; color: #4a3d0a; margin: 8px 0 0; }

/* Panier */
.panier { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.article { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; padding: 16px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); margin-bottom: 12px; }
.article img { width: 110px; height: 110px; object-fit: contain; background: #f1f2f4; border-radius: var(--r-petit); }
.article ul { margin: 6px 0 0; padding-left: 18px; color: var(--gris); font-size: .9rem; }
.article-actions { display: flex; flex-direction: column; gap: 8px; align-items: end; text-align: right; }
.recap { position: sticky; top: 80px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-grand); padding: 20px; }
.choix { display: grid; gap: 8px; margin: 12px 0; }
.choix label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--trait); border-radius: var(--r-petit); padding: 10px 12px; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--encre); box-shadow: inset 3px 0 0 var(--jaune); }
.choix input { accent-color: var(--encre); margin-top: 4px; }

/* Formulaires */
.formulaire { display: grid; gap: 14px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 12px 13px; border: 1px solid #c5c9d0; border-radius: var(--r-petit); background: var(--blanc); font-size: 16px; }
.champ textarea { min-height: 110px; resize: vertical; }
.champ .aide { font-size: .82rem; color: var(--gris); margin-top: 4px; }
.message { padding: 12px 14px; border-radius: var(--r-petit); font-weight: 500; }
.message.erreur { background: #fde8e6; color: var(--rouge); }
.message.ok { background: #e4f4ea; color: var(--vert); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 8px; }

/* Textes légaux */
.texte h2 { font-size: 1.35rem; margin-top: 1.6em; }
.texte li { margin-bottom: .4em; }

.faq details { border-top: 1px solid var(--trait); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--gris); }

.annonce { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(20px); background: var(--encre); color: #fff; padding: 12px 18px; border-radius: var(--r); opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: calc(100% - 32px); }
.annonce.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.chargement { padding: 80px 16px; text-align: center; color: var(--gris); }

/* Pied */
.pied { background: var(--encre); color: #c9ccd2; margin-top: 40px; }
.pied a { color: #fff; }
.pied-grille { max-width: 1240px; margin: 0 auto; padding: 40px 16px 16px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.pied strong { color: #fff; display: block; margin-bottom: 8px; }
.pied-marque { font: 800 1.4rem var(--titre); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied-legal { max-width: 1240px; margin: 0 auto; padding: 16px 16px 28px; font-size: .8rem; border-top: 1px solid #30343c; }

@media (max-width: 960px) {
  .heros, .config, .panier { grid-template-columns: 1fr; }
  .config-visuel, .recap { position: static; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav a:not(.lien-panier) { padding: 8px 8px; font-size: .92rem; }
  .marque span { display: none; }
  .champs { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; }
  .article { grid-template-columns: 80px 1fr; }
  .article img { width: 80px; height: 80px; }
  .article-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .zone-corps { padding-left: 14px; }
  .techniques th, .techniques td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.desactive{opacity:.45;pointer-events:none}
.techniques { min-width: 620px; }
@media (max-width: 560px) {
  .grille { grid-template-columns: 1fr 1fr; gap: 12px; }
  .produit-corps { padding: 10px 12px 12px; }
  .produit-corps h3 { font-size: .92rem; }
  .produit-prix span { display: block; }
  .heros-outils { flex-direction: column; align-items: stretch; }
  .pastilles { justify-content: center; }
  .chiffres { gap: 16px; }
}

/* ---------- v2 : accueil orienté personnalisation, photos réelles, aperçu secondaire ---------- */
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .8rem; color: var(--bleu); margin-bottom: .6em; }
.heros h1 { max-width: 15ch; }
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaique a { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-grand); overflow: hidden; display: block; }
.mosaique img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.mosaique a:hover img { transform: scale(1.04); }
.mosaique span { position: absolute; left: 10px; bottom: 10px; background: var(--encre); color: #fff; font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 99px; }
.cat-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat-tuile { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: 12px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.cat-tuile:hover { border-color: var(--encre); transform: translateY(-2px); }
.cat-photo { aspect-ratio: 1 / 1; background: #fff; border-radius: var(--r-petit); overflow: hidden; }
.cat-photo img { width: 100%; height: 100%; object-fit: contain; }
.cat-corps h3 { margin: 0 0 4px; font-size: 1.15rem; }
.cat-corps p { margin: 0 0 6px; color: var(--gris); font-size: .9rem; }
.cat-corps span { font-weight: 700; color: var(--bleu); font-size: .9rem; }
.rayon { margin-top: 28px; }
.rayon-tete { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--encre); padding-bottom: 6px; margin-bottom: 16px; }
.rayon-tete h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.rayon-tete p { margin: 0; color: var(--gris); }
.photo-produit { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-grand); overflow: hidden; }
.photo-produit > img { width: 100%; height: 100%; object-fit: contain; }
.calque { position: absolute; inset: 0; pointer-events: none; }
.logo-pose { position: absolute; transform: translate(-50%, -50%); height: auto; max-width: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.apercu-etiquette { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.apercu-etiquette span { background: var(--jaune); color: var(--encre); font-weight: 700; font-size: .85rem; padding: 5px 10px; border-radius: 99px; }
.apercu-etiquette button { border: 1px solid var(--trait); background: #fff; border-radius: 99px; padding: 5px 12px; font-weight: 600; cursor: pointer; font-size: .85rem; }
.vignettes button { position: relative; width: 76px; height: 76px; }
.vignettes button span { position: absolute; left: 0; right: 0; bottom: 0; font-size: .7rem; font-weight: 700; background: rgba(255,255,255,.85); text-align: center; }
.techs { border: 0; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.techs legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.tech-choix { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border: 1px solid var(--trait); border-radius: var(--r-petit); padding: 10px 12px; background: var(--blanc); cursor: pointer; }
.tech-choix:has(input:checked) { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.tech-choix.bloque { opacity: .55; cursor: not-allowed; }
.tech-choix input { margin-top: 4px; accent-color: var(--encre); }
.tech-texte strong { display: block; }
.tech-texte small { color: var(--gris); display: block; line-height: 1.4; }
.badge-conseil { font-style: normal; background: var(--vert); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: 2px; }
.tech-raison { margin: 2px 0 0; font-size: .88rem; background: #eef6f0; border-left: 3px solid var(--vert); padding: 8px 10px; border-radius: 0 var(--r-petit) var(--r-petit) 0; }
.logo-zone select { margin: 4px 0 8px; padding: 6px 8px; border: 1px solid var(--trait); border-radius: var(--r-petit); background: #fff; }
.meme-logo { display: flex; align-items: center; gap: 10px; background: var(--fond2); border-radius: var(--r-petit); padding: 8px 10px; margin: 6px 0; font-size: .9rem; }
.meme-logo img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.apercu-appel { margin-top: 14px; }
.apercu-appel .btn { white-space: normal; }
.prix-titre { font-size: 1.2rem; margin: 0 0 8px; }
.article-photo { position: relative; width: 96px; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-petit); overflow: hidden; }
.article-photo > img { width: 100%; height: 100%; object-fit: contain; }
.article > .article-photo img { border: 0; }
@media (max-width: 960px) { .mosaique { max-width: 520px; } }
@media (max-width: 560px) {
  .cat-tuile { grid-template-columns: 84px 1fr; }
  .article-photo { width: 72px; }
}
.article .logo-pose { height: auto; background: none; border-radius: 0; object-fit: contain; }
.article-photo { width: 110px; }
@media (max-width: 560px) { .article-photo { width: 80px; } }
.config-visuel { scroll-margin-top: 84px; }

/* ---------- v3 : scène animée, menu catalogue, métiers, devis ---------- */
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.heros h1 { max-width: 16ch; }
.scene-perso { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: var(--r-grand); overflow: hidden; border: 1px solid rgba(22,24,29,.06);
  opacity: 0; transform: translateY(28px) scale(.97); animation: arrivee .8s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: calc(var(--i) * .32s); }
.support svg { width: 100%; height: 100%; display: block; }
.support svg > path:first-child, .support svg > rect { transform-box: fill-box; }
.support .logo { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pose .6s cubic-bezier(.3,1.5,.55,1) forwards; animation-delay: calc(var(--i) * .32s + 1.35s); }
.support .vapeur { opacity: 0; animation: vapeur 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .32s + 2s); }
.support figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline;
  opacity: 0; animation: arrivee .5s ease forwards; animation-delay: calc(var(--i) * .32s + 1.8s); }
.support figcaption strong { background: var(--encre); color: #fff; font-size: .8rem; padding: 3px 10px; border-radius: 99px; }
.support figcaption span { font-size: .8rem; color: var(--encre); font-weight: 600; }
@keyframes arrivee { to { opacity: 1; transform: none; } }
@keyframes pose { 0% { opacity: 0; transform: scale(1.7) rotate(-6deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes vapeur { 0%, 100% { opacity: 0; transform: translateY(4px); } 50% { opacity: .9; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .support, .support .logo, .support figcaption, .support .vapeur { animation: none !important; opacity: 1 !important; transform: none !important; } }

.menu-cat { position: relative; }
.menu-cat > button { border: 0; background: none; font-weight: 600; padding: 8px 12px; border-radius: var(--r-petit); cursor: pointer; color: var(--encre); font-size: 1rem; }
.menu-cat > button:hover, .menu-cat > button.actif, .menu-cat > button[aria-expanded="true"] { background: var(--fond2); }
.menu-liste { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 250px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); box-shadow: 0 14px 34px rgba(22,24,29,.14); padding: 6px; display: grid; }
.menu-liste a { padding: 10px 12px; border-radius: var(--r-petit); text-decoration: none; color: var(--encre); font-weight: 600; }
.menu-liste a:hover, .menu-liste a:focus-visible { background: var(--fond2); }
.menu-liste a.tout { border-bottom: 1px solid var(--trait); border-radius: var(--r-petit) var(--r-petit) 0 0; margin-bottom: 4px; color: var(--bleu); }

.filtres.collant { position: sticky; top: 61px; z-index: 10; background: var(--papier); padding: 10px 0; margin: 0 0 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.filtres.collant .filtre { flex: none; }
.filtres.metiers { align-items: center; }
.filtres.metiers span { font-weight: 700; margin-right: 4px; }
.page .section-tete .recherche { max-width: 360px; flex: 1 1 260px; }

.bande-pro { background: var(--encre); color: #fff; max-width: none; border-radius: 0; }
.bande-pro > * { max-width: 1208px; margin-left: auto; margin-right: auto; }
.bande-pro .section-tete p { color: #c9ccd2; }
.metiers-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.metier-tuile { display: grid; gap: 6px; padding: 18px; border-radius: var(--r); background: #23262d; border: 1px solid #343842; color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.metier-tuile:hover { background: var(--bleu); transform: translateY(-2px); }
.metier-tuile strong { font: 800 1.15rem var(--titre); }
.metier-tuile span { color: #c9ccd2; font-size: .9rem; }
.metier-tuile em { font-style: normal; font-weight: 700; color: var(--jaune); font-size: .9rem; }

.choix-final { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) {
  .choix-final { grid-template-columns: 1fr; }
  .scene-perso { gap: 10px; }
  .support figcaption span { display: none; }
  .menu-cat > button { padding: 8px; font-size: .92rem; }
  .filtres.collant { top: 57px; }
}
@media (max-width: 960px) { .heros .scene-perso { order: -1; max-width: 560px; } }
@media (max-width: 560px) { .heros { padding-top: 16px; gap: 22px; } }

/* ---------- v4 : charte noir, blanc et gris (style CREART PLUS) ---------- */
:root { --bleu: #16181d; --bleu-fonce: #000000; --jaune: #e6e7ea; --gris: #5f636b; --trait: #dcdde0; --fond2: #eeeff1; --papier: #f6f6f7; }
.btn.jaune { background: var(--encre); border-color: var(--encre); color: #fff; }
.btn.jaune:hover { background: #000; border-color: #000; }
.btn.blanc { background: #fff; border-color: #fff; color: var(--encre); }
.btn.blanc:hover { background: #e6e7ea; border-color: #e6e7ea; }
.prix { background: var(--fond2); border: 1px solid var(--trait); }
.mention { color: var(--gris); }
.badge-conseil { background: var(--encre); }
.tech-raison { background: var(--fond2); border-left-color: var(--encre); }
.pastille { background: #fff; color: var(--encre); }
.taille.rempli { box-shadow: inset 0 -3px 0 var(--encre); }
.choix label:has(input:checked) { box-shadow: inset 3px 0 0 var(--encre); }
.apercu-etiquette span { background: var(--encre); color: #fff; }
.lien-devis { background: none; border: 1px solid var(--trait); color: var(--gris); border-radius: var(--r); font-weight: 600; cursor: pointer; padding: 0 16px; min-height: 48px; }
.lien-devis:hover { color: var(--encre); border-color: var(--gris); }
.choix-final { grid-template-columns: 1fr auto; }

/* Accueil */
.accueil { max-width: 1240px; margin: 0 auto; padding: 16px 16px 48px; }
.recherche-accueil { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--trait); background: #fff; border-radius: 999px; padding: 0 18px; height: 52px; max-width: 720px; margin: 0 auto 16px; }
.recherche-accueil:focus-within { border-color: var(--encre); }
.recherche-accueil svg { width: 20px; height: 20px; color: var(--gris); flex: none; }
.recherche-accueil input { border: 0; outline: 0; flex: 1; font-size: 1rem; background: transparent; min-width: 0; }
.bandeau { position: relative; }
.bandeau-piste { position: relative; border-radius: 22px; overflow: hidden; background: var(--encre); aspect-ratio: 16 / 6; min-height: 300px; }
.diapo { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; color: #fff; text-decoration: none; padding: 32px 44px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.diapo.active { opacity: 1; visibility: visible; }
.diapo-texte { grid-column: 1; grid-row: 1; display: grid; gap: 20px; justify-items: start; }
.diapo-texte h2 { font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.02; margin: 0; max-width: 14ch; }
.diapo-texte h2 span { display: block; color: #9a9ea6; }
.diapo-objets { grid-column: 2; grid-row: 1; position: relative; height: 100%; min-height: 220px; }
.objet { position: absolute; width: 58%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.objet.o0 { left: 4%; top: 6%; }
.objet.o1 { right: 2%; bottom: 0; width: 50%; }
.diapo.active .objet { animation: entree .8s cubic-bezier(.2,.75,.2,1) both; }
.diapo.active .objet.o1 { animation-delay: .25s; }
.diapo .logo { transform-box: fill-box; transform-origin: center; }
.diapo.active .logo { animation: pose .55s cubic-bezier(.3,1.5,.55,1) both; animation-delay: .9s; }
.diapo.active .o1 .logo { animation-delay: 1.15s; }
.diapo.active .diapo-texte { animation: entree .7s ease both; }
.vapeur { animation: vapeur 2.6s ease-in-out infinite; }
@keyframes entree { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.bandeau-points { display: flex; justify-content: center; gap: 10px; padding: 14px 0 4px; }
.bandeau-points button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: #c9ccd2; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.bandeau-points button[aria-pressed="true"] { width: 30px; background: var(--encre); }
@media (prefers-reduced-motion: reduce) { .diapo, .diapo.active .objet, .diapo.active .logo, .diapo.active .diapo-texte, .vapeur { animation: none !important; transition: none; } }
.atouts { list-style: none; display: flex; gap: 10px 28px; margin: 6px 0 0; padding: 14px 4px; overflow-x: auto; border-bottom: 1px solid var(--trait); white-space: nowrap; color: var(--gris); font-size: .95rem; }
.atouts strong { color: var(--encre); }
.bloc-accueil { margin-top: 30px; }
.titre-bloc { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.titre-bloc h2, .petit-titre { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
.titre-bloc a { color: var(--encre); font-weight: 700; text-decoration: none; white-space: nowrap; }
.familles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.famille { display: grid; justify-items: center; text-align: center; gap: 4px; background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: 14px 10px 16px; text-decoration: none; color: var(--encre); transition: border-color .2s, transform .2s; }
.famille:hover { border-color: var(--encre); transform: translateY(-2px); }
.famille-photo { width: 100%; max-width: 150px; aspect-ratio: 1 / 1; }
.famille-photo img { width: 100%; height: 100%; object-fit: contain; }
.famille strong { font-size: 1.05rem; }
.famille span { color: var(--gris); font-size: .88rem; }
.carte-pro { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 22px 26px; border-radius: 18px; background: var(--encre); color: #fff; text-decoration: none; }
.carte-pro h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.carte-pro p { margin: 0; color: #c9ccd2; }
.grille-2 { grid-template-columns: repeat(4, 1fr); }
.etapes-courtes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.etapes-courtes li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .95rem; }
.etapes-courtes b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--encre); color: #fff; font-size: .85rem; }
.note-devis { color: var(--gris); font-size: .9rem; margin: 12px 0 0; }
@media (max-width: 860px) {
  .bandeau-piste { aspect-ratio: auto; min-height: 0; height: 430px; }
  .diapo { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 22px 22px 24px; }
  .diapo-objets { grid-column: 1; grid-row: 1; min-height: 0; }
  .diapo-texte { grid-row: 2; gap: 14px; }
  .objet { width: 52%; } .objet.o1 { width: 44%; }
  .familles, .grille-2 { grid-template-columns: 1fr 1fr; }
  .etapes-courtes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .accueil { padding-top: 12px; }
  .etapes-courtes li { font-size: .86rem; padding: 8px 10px; }
  .choix-final { grid-template-columns: 1fr; }
  .lien-devis { min-height: 40px; }
}
@media (max-width: 560px) {
  .famille { padding: 10px 8px 12px; border-radius: 14px; }
  .famille-photo { max-width: 92px; }
  .famille strong { font-size: .95rem; }
  .famille span { font-size: .8rem; }
  .bloc-accueil { margin-top: 24px; }
}

/* ---------- v5 : en-tête CREART PLUS centré, couleurs de base, studio BAT, espace client ---------- */
.entete { background: #fff; }
.entete-barre { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 16px; }
.nav-gauche { justify-self: start; }
.nav-droite { justify-self: end; flex-wrap: nowrap; }
.marque { flex-direction: column; gap: 0; align-items: center; line-height: 1; }
.marque img { width: auto; height: 52px; border-radius: 0; object-fit: contain; display: block; }
.marque-atelier { font: 600 .68rem var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 1px; }
.lien-compte { border: 1px solid var(--trait); }
.lien-compte.connecte::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--encre); margin-right: 6px; vertical-align: middle; }
.lien-discret { color: #9a9ea6 !important; font-size: .88rem; }
.plus-couleurs { width: auto !important; height: 36px !important; border-radius: 999px !important; padding: 0 14px !important; background: #fff !important; border: 1px solid var(--trait) !important; font: 600 .85rem var(--texte); color: var(--encre); cursor: pointer; }
.plus-couleurs:hover { border-color: var(--encre) !important; }
.bat-ok { margin: 0 0 8px; font-weight: 700; color: var(--encre); }
.bat-manquant { margin: 6px 0 0; font-size: .9rem; color: var(--gris); }
.bat-manquant a { color: var(--encre); font-weight: 700; }
.mention-vendeur { font-size: .8rem; color: var(--gris); margin: 6px 0 12px; }
@media (max-width: 720px) {
  .entete-barre { padding: 6px 10px; gap: 6px; }
  .marque img { height: 40px; }
  .marque-atelier { font-size: .58rem; letter-spacing: .1em; }
  .marque span { display: block; }
  .nav-droite a, .nav-gauche button { padding: 7px 8px !important; font-size: .85rem; }
  .lien-compte { position: relative; font-size: 0 !important; width: 36px; height: 36px; padding: 0 !important; display: inline-grid !important; place-items: center; border-radius: 50% !important; }
  .lien-compte::after { content: ""; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
  .lien-compte.connecte::before { position: absolute; top: 2px; right: 2px; margin: 0; }
}

/* Studio BAT */
.studio { width: min(1180px, 100vw); max-width: 100vw; height: min(860px, 100dvh); max-height: 100dvh; padding: 0; border: 0; border-radius: 18px; overflow: auto; background: #fff; color: var(--encre); }
.studio::backdrop { background: rgba(10, 11, 13, .62); }
.studio-tete { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--trait); }
.studio-tete > div { display: grid; flex: 1; min-width: 0; }
.studio-tete strong { font: 800 1.15rem var(--titre); }
.studio-tete small { color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-logo { height: 34px; width: auto; }
.studio-fermer { border: 1px solid var(--trait); background: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; cursor: pointer; flex: none; }
.studio-corps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 22px; padding: 18px; }
.studio-corps[hidden] { display: none; }
.studio-vues { display: flex; gap: 6px; margin-bottom: 10px; min-height: 0; }
.studio-vues button { border: 1px solid var(--trait); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; }
.studio-vues button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.studio-photo { position: relative; background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; overflow: hidden; touch-action: none; user-select: none; }
.studio-photo > img { display: block; width: 100%; height: auto; aspect-ratio: auto; }
.studio-calque { position: absolute; inset: 0; }
.studio-cadre { position: absolute; border: 2px dashed #5f636b; border-radius: 4px; pointer-events: none; }
.studio-cadre span { position: absolute; left: 0; top: -22px; font: 600 .7rem var(--texte); background: rgba(255,255,255,.92); padding: 2px 6px; border-radius: 4px; white-space: nowrap; color: var(--gris); }
.studio-logo-pose { position: absolute; transform: translate(-50%, -50%); outline: 1.5px solid var(--encre); outline-offset: 1px; cursor: grab; touch-action: none; }
.studio-logo-pose:active { cursor: grabbing; }
.studio-logo-pose:focus-visible { outline: 3px solid var(--encre); }
.studio-logo-pose img { width: 100%; height: 100%; object-fit: fill; display: block; pointer-events: none; }
.studio-logo-pose .poignee { position: absolute; right: -11px; bottom: -11px; width: 22px; height: 22px; background: var(--encre); border: 3px solid #fff; border-radius: 50%; cursor: nwse-resize; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.studio-logo-pose .cote { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); background: var(--encre); color: #fff; font: 700 .72rem var(--texte); padding: 3px 8px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.studio-aide { font-size: .85rem; color: var(--gris); margin: 10px 0 0; }
.studio-panneau { display: grid; gap: 12px; align-content: start; }
.studio-zone { border: 1px solid var(--trait); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.studio-zone.autre-vue { opacity: .7; }
.studio-zone-tete { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.studio-zone-tete span { color: var(--gris); font-size: .82rem; }
.studio-dims { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: .92rem; }
.studio-dims input { width: 80px; min-height: 40px; border: 1.5px solid var(--trait); border-radius: 8px; padding: 6px 8px; font: 700 1rem var(--texte); }
.studio-dims input:focus { border-color: var(--encre); outline: none; }
.studio-zone small { color: var(--gris); }
.studio-alertes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.studio-alertes li { padding: 8px 10px 8px 12px; border-radius: 8px; background: var(--papier); border-left: 3px solid #9a9ea6; }
.studio-alertes li.alerte { border-left-color: var(--encre); background: #ececee; font-weight: 600; }
.studio-alertes li.ok { border-left-color: var(--encre); }
.studio-apercus { display: grid; gap: 14px; }
.studio-apercus figure, .bat-pages figure { margin: 0; border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; background: #fff; }
.studio-apercus img, .bat-pages img { display: block; width: 100%; height: auto; }
.studio-apercus figcaption, .bat-pages figcaption { padding: 8px 12px; font-size: .85rem; color: var(--gris); border-top: 1px solid var(--trait); }
@media (max-width: 860px) {
  .studio { border-radius: 0; height: 100dvh; width: 100vw; }
  .studio-corps { grid-template-columns: 1fr; padding: 12px; }
  .studio-logo { display: none; }
}

/* Espace client */
.compte-connexion form { margin-top: 16px; }
.code-saisie { font: 800 1.8rem var(--titre) !important; letter-spacing: .4em; text-align: center; max-width: 260px; }
.compte-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.compte-tete h1 { margin: 0; }
.compte h2 { font-size: 1.4rem; margin-top: 26px; }
.compte-action { display: grid; gap: 8px; margin: 12px 0; }
.compte-action a { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--encre); color: #fff; text-decoration: none; }
.compte-action span { font-weight: 700; }
.cmd { border: 1px solid var(--trait); border-radius: 14px; padding: 16px; margin-bottom: 14px; background: #fff; display: grid; gap: 14px; }
.cmd-tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.cmd-tete div { display: grid; }
.cmd-tete span { color: var(--gris); font-size: .9rem; }
.cmd-statut { background: var(--fond2); color: var(--encre) !important; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.cmd-statut.annule { background: #fff; border: 1px solid var(--trait); }
.cmd-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: e; }
.cmd-etapes li { font-size: .74rem; color: #9a9ea6; padding-top: 10px; border-top: 4px solid var(--trait); }
.cmd-etapes li.fait { color: var(--encre); border-top-color: var(--encre); font-weight: 600; }
.cmd-etapes li.encours { color: var(--encre); border-top-color: #9a9ea6; }
.cmd-articles { display: grid; gap: 10px; }
.cmd-article { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.cmd-article img { width: 64px; height: 64px; object-fit: contain; background: var(--papier); border-radius: 10px; }
.cmd-article div { display: grid; gap: 2px; font-size: .9rem; }
.cmd-article small { color: var(--gris); }
.pastille-couleur { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); margin-right: 6px; vertical-align: -1px; }
.cmd-liens { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; border-top: 1px solid var(--trait); padding-top: 10px; }
.cmd-liens a { color: var(--encre); font-weight: 700; }
.compte-devis { padding-left: 18px; }
.compte-coord { margin-top: 24px; border: 1px solid var(--trait); border-radius: 12px; padding: 12px 16px; background: #fff; }
.compte-coord summary { font-weight: 700; cursor: pointer; }
.bat-pages { display: grid; gap: 16px; margin: 16px 0; }
.bat-decision { display: grid; gap: 12px; max-width: 720px; border: 1px solid var(--trait); border-radius: 14px; padding: 16px; background: #fff; }
.bat-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .cmd-etapes li { font-size: .62rem; } }
.cmd-sans-photo { width: 64px; height: 64px; border-radius: 10px; background: var(--papier); }

/* choix du BAT : client ou atelier */
.bat-choix { border: 1px solid var(--trait, #dcdde0); border-radius: 12px; padding: 10px 12px 12px; margin: 0 0 12px; display: grid; gap: 8px; }
.bat-choix legend { font-weight: 700; padding: 0 6px; font-size: .95rem; }
.bat-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.bat-option:has(input:checked) { border-color: var(--encre); background: #f6f6f7; }
.bat-option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--encre); flex: none; }
.bat-option span { display: grid; gap: 3px; }
.bat-option small { color: var(--gris); font-size: .86rem; line-height: 1.4; }
.bat-resp { border-left: 3px solid var(--encre); padding-left: 10px; }
.bat-ok small { font-weight: 400; color: var(--gris); }
.studio-alertes-valider:empty { display: none; }

/* conseils technique (informatifs, jamais bloquants) */
.tech-avis { margin-top: 10px; border-left: 3px solid var(--encre); background: #f3f4f6; padding: 10px 12px; font-size: .88rem; }
.tech-avis ul { margin: 6px 0; padding-left: 18px; }
.tech-avis small { color: var(--gris); }
.prix-ligne.offert span:last-child { color: var(--vert); font-weight: 700; }
.prix-ligne.offert s { color: var(--gris); font-weight: 400; margin-right: 6px; }

/* fichier non conforme : proposition du studio graphique (jamais bloquant) */
.service-fichier { margin-top: 10px; border: 1px solid var(--trait); border-left: 3px solid var(--encre); border-radius: 10px; background: #fff; padding: 10px 12px; font-size: .88rem; }
.service-fichier p { margin: 0 0 6px; }
.service-fichier .petit { color: var(--gris); font-size: .82rem; }
.service-fichier .case { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.service-fichier .case small { color: var(--gris); }
.service-fichier a { color: inherit; font-weight: 600; }
.lien-creation { font-weight: 600; text-decoration: none; color: inherit; padding: 8px 10px; }
.lien-creation:hover { text-decoration: underline; }
@media (max-width: 760px) { .lien-creation { display: none; } }

/* points relais (Boxtal) */
.liste-relais { display: grid; gap: 6px; margin-top: 8px; max-height: 320px; overflow: auto; }
.liste-relais .case { border: 1px solid #d9dadd; border-radius: 10px; padding: 10px 12px; background: #fff; cursor: pointer; }
.liste-relais .case:has(input:checked) { border-color: var(--encre); box-shadow: 0 0 0 1px var(--encre); }
.liste-relais .case { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; text-align: left; }
.liste-relais .case input { width: 18px !important; height: 18px; flex: none; margin: 2px 0 0; }
