/* ============================================================================
   STAND SUR MESURE — configurateur
   ============================================================================ */

.stand {
    padding-top: calc(var(--header-height) + var(--top-bar-height) + var(--spacing-md));
    padding-bottom: var(--spacing-xl);
}

/* ---------- en-tête : le prix est la première information ---------- */
.stand-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--spacing-md); align-items: start;
}
@media (max-width: 760px) { .stand-hero { grid-template-columns: 1fr; } }
.stand-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
.stand-hero__lead { margin-top: 0.7rem; color: var(--color-text-secondary); font-size: 0.96rem; line-height: 1.65; max-width: 62ch; }
.stand-hero__lead strong { color: var(--color-text-primary); font-weight: 700; }
.stand-hero__note { margin-top: 0.45rem; color: var(--color-text-muted); font-size: 0.83rem; }
.stand-hero__price {
    background: var(--color-bg-dark); color: var(--color-text-light);
    border-radius: var(--radius-lg); padding: 16px 22px; min-width: 232px; margin: 0;
}
.stand-hero__from { display: block; font-size: 0.74rem; opacity: 0.6; letter-spacing: 0.06em; text-transform: uppercase; }
.stand-hero__price strong {
    display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums;
}
.stand-hero__price strong small { display: block; font-size: 0.8rem; font-weight: 600; opacity: 0.6; letter-spacing: 0; margin-top: 2px; }
.stand-hero__all { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.78rem; opacity: 0.85; }

/* ---------- ce que comprend le prix : l'argument, pas une note de bas de page ---------- */
.stand-offer {
    margin-top: var(--spacing-md);
    background: var(--color-bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
}
.stand-offer__t { font-size: 0.73rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 12px; }
.stand-offer__y {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 20px;
}
@media (max-width: 1100px) { .stand-offer__y { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .stand-offer__y { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Sur téléphone, hero + offre + parcours repoussent le premier choix : on resserre
   plutôt que de masquer du contenu. */
@media (max-width: 680px) {
    .stand-offer { padding: 15px 16px; }
    .stand-offer__y { gap: 6px 14px; }
    .stand-offer__y li { font-size: 0.79rem; line-height: 1.35; }
    .stand-how { padding: 16px; }
    .stand-how__g { gap: 12px; }
    .stand-how__i { padding-top: 10px; }
    .stand-how__it { margin: 12px 0 3px; }
    .stand-how__id { font-size: 0.78rem; line-height: 1.45; }
}
.stand-offer__y li {
    position: relative; padding-left: 20px; font-size: 0.81rem; line-height: 1.45;
    color: var(--color-text-secondary);
}
.stand-offer__y li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--color-success); font-weight: 800; }
.stand-offer__y li strong { color: var(--color-text-primary); font-weight: 700; }
.stand-offer__n {
    margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border-color);
    font-size: 0.79rem; color: var(--color-text-muted); line-height: 1.5;
}
.stand-offer__n span {
    display: inline-block; margin-right: 8px; font-weight: 800; font-size: 0.7rem;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-tertiary);
}
.stand-offer__n strong { color: var(--color-text-secondary); font-weight: 700; }

/* ---------- parcours en 4 étapes ---------- */
.stand-how {
    margin-top: var(--spacing-lg);
    padding: 20px;
    background: var(--color-bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.stand-how__h { margin-bottom: 18px; }
.stand-how__t { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.stand-how__s { font-size: 0.84rem; color: var(--color-text-muted); margin: 4px 0 0; }
.stand-how__g {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
@media (max-width: 900px) { .stand-how__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .stand-how__g { grid-template-columns: 1fr; gap: 15px; } }
.stand-how__i { position: relative; padding-top: 14px; }
/* Le trait relie les étapes : il s'arrête avant la dernière de chaque ligne. */
.stand-how__i::before {
    content: ''; position: absolute; top: 12px; left: 30px; right: -18px;
    height: 1px; background: var(--border-color);
}
.stand-how__i:last-child::before { display: none; }
@media (max-width: 900px) {
    .stand-how__i:nth-child(2n)::before { display: none; }
}
@media (max-width: 540px) { .stand-how__i::before { display: none; } }
.stand-how__n {
    position: absolute; top: 0; left: 0;
    width: 25px; height: 25px; border-radius: 50%;
    background: var(--color-bg-dark); color: var(--color-text-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.73rem; font-weight: 800;
}
.stand-how__it { font-size: 0.88rem; font-weight: 800; line-height: 1.3; margin: 14px 0 5px; }
.stand-how__id { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* ---------- grille ---------- */
.stand__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: var(--spacing-md);
    align-items: start;
    margin-top: var(--spacing-md);
}
/* Toute la colonne suit le défilement, pas seulement le récapitulatif : le prix,
   l'aperçu et la réassurance restent ensemble au moment de la décision.
   Même principe que .catalog-side, scroll interne si l'écran est court. */
.stand__side {
    position: sticky;
    top: calc(var(--header-height) + 14px);
}
/* Pas de max-height ni de scroll interne : la colonne dépasse la hauteur d'écran
   sur un portable, et un ascenseur caché y rendrait la réassurance introuvable.
   Sans contrainte, sticky laisse simplement la colonne défiler normalement. */
@media (max-width: 1000px) {
    .stand__wrap { grid-template-columns: 1fr; }
    /* La colonne suit la configuration au lieu de la précéder : sur mobile elle
       faisait défiler l'aperçu, le récapitulatif et la réassurance AVANT le premier
       choix. Le total reste visible en permanence dans la barre basse. */
    .stand__side { position: static; }
}

/* ---------- groupes et champs ---------- */
.stand-group,
.stand-trust,
.stand-card,
.stand-recap {
    background: var(--color-bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
}
.stand-card, .stand-recap, .stand-trust { padding: 18px; }
.stand-group { padding: 0; overflow: hidden; }
.stand-group__h {
    padding: 16px 20px;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.stand-group__t { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.stand-group__d { font-size: 0.81rem; color: var(--color-text-muted); margin: 3px 0 0; }

.stand-field { padding: 18px 20px; border-top: 1px solid var(--border-color); }
.stand-field:first-of-type { border-top: none; }
.stand-field__t { font-size: 0.92rem; font-weight: 800; margin: 0 0 3px; }
.stand-field__d { font-size: 0.81rem; color: var(--color-text-muted); margin: 0 0 13px; line-height: 1.55; }
.stand-field__tip { margin-top: 11px; font-size: 0.76rem; color: var(--color-text-muted); }
/* La surface commande l'essentiel du prix : elle mérite plus de place. */
.stand-field--lead .stand-field__t { font-size: 1rem; }
.stand-field--lead .stand-opt { padding: 13px 18px; font-size: 0.94rem; }
.stand-sub {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--color-text-muted); margin: 15px 0 9px;
}
.stand-sub:first-of-type { margin-top: 0; }

/* ---------- boutons simples (surface, durée) ---------- */
.stand-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.stand-opt {
    border: 1px solid var(--border-color); background: var(--color-bg-primary);
    border-radius: 11px; padding: 11px 15px; cursor: pointer; text-align: left;
    font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--color-text-primary);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.stand-opt:hover { border-color: var(--color-text-tertiary); }
.stand-opt.is-on { border-color: var(--color-bg-dark); background: var(--color-bg-dark); color: var(--color-text-light); }
.stand-opt small { display: block; font-weight: 500; font-size: 0.73rem; opacity: 0.65; margin-top: 2px; }

/* ---------- formes ---------- */
.stand-formes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stand-forme {
    border: 1px solid var(--border-color); border-radius: 12px; padding: 12px;
    cursor: pointer; background: var(--color-bg-primary); transition: border-color 0.15s, box-shadow 0.15s;
}
.stand-forme:hover { border-color: var(--color-text-tertiary); }
.stand-forme.is-on { border-color: var(--color-bg-dark); box-shadow: 0 0 0 1px var(--color-bg-dark); }
.stand-forme svg { width: 100%; height: 58px; display: block; }
.stand-forme__n { display: block; font-size: 0.84rem; font-weight: 700; margin-top: 7px; }
.stand-forme__s { display: block; font-size: 0.72rem; color: var(--color-text-muted); }

/* ---------- sol ---------- */
.stand-sols { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 11px; }
.stand-sol {
    display: flex; align-items: center; gap: 11px; padding: 11px;
    border: 1px solid var(--border-color); border-radius: 13px;
    cursor: pointer; background: var(--color-bg-primary); transition: border-color 0.15s, box-shadow 0.15s;
}
.stand-sol:hover { border-color: var(--color-text-tertiary); }
.stand-sol.is-on { border-color: var(--color-bg-dark); box-shadow: 0 0 0 1px var(--color-bg-dark); }
.stand-sol img {
    width: 54px; height: 54px; object-fit: cover; border-radius: 9px;
    flex: 0 0 auto; background: var(--color-bg-secondary);
}
.stand-sol__n { display: block; font-size: 0.86rem; font-weight: 800; line-height: 1.2; }
.stand-sol__p { display: block; font-size: 0.75rem; color: var(--color-text-muted); margin-top: 3px; }
.stand-sol__p.is-free { color: var(--color-success); font-weight: 600; }

.stand-coul {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--border-color);
}
.stand-coulc { width: 76px; cursor: pointer; text-align: center; background: none; border: none; padding: 0; font: inherit; }
.stand-coulc img {
    width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
    border: 2px solid transparent; box-shadow: 0 0 0 1px var(--border-color);
    display: block; margin: 0 auto; transition: box-shadow 0.15s;
}
.stand-coulc:hover img { box-shadow: 0 0 0 1px var(--color-text-tertiary); }
.stand-coulc.is-on img { border-color: var(--color-bg-primary); box-shadow: 0 0 0 2px var(--color-bg-dark); }
.stand-coulc span { display: block; font-size: 0.73rem; margin-top: 6px; color: var(--color-text-secondary); line-height: 1.2; }
.stand-coulc.is-on span { font-weight: 700; color: var(--color-text-primary); }

/* ---------- enseigne ---------- */
.stand-ens { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 11px; }
.stand-ensc {
    border: 1px solid var(--border-color); border-radius: 13px; padding: 12px;
    cursor: pointer; background: var(--color-bg-primary); text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.stand-ensc:hover { border-color: var(--color-text-tertiary); }
.stand-ensc.is-on { border-color: var(--color-bg-dark); box-shadow: 0 0 0 1px var(--color-bg-dark); }
.stand-ensc img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; display: block; }
.stand-ensc__n { display: block; font-size: 0.9rem; font-weight: 800; margin-top: 10px; }
.stand-ensc__s { display: block; font-size: 0.76rem; color: var(--color-text-muted); margin-top: 2px; line-height: 1.45; }
.stand-ensc__p { display: block; font-size: 0.85rem; font-weight: 800; margin-top: 9px; }
.stand-ensc__p.is-free { color: var(--color-success); font-size: 0.8rem; }

/* ---------- packs ---------- */
.stand-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 11px; }
.stand-pack {
    border: 1px solid var(--border-color); border-radius: 13px; padding: 13px;
    cursor: pointer; background: var(--color-bg-primary); text-align: left;
    display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s;
}
.stand-pack:hover { border-color: var(--color-text-tertiary); }
.stand-pack.is-on { border-color: var(--color-bg-dark); box-shadow: 0 0 0 1px var(--color-bg-dark); }
.stand-pack__n { display: block; font-size: 0.94rem; font-weight: 800; }
.stand-pack__c { display: block; font-size: 0.75rem; color: var(--color-text-muted); margin: 4px 0 9px; }
.stand-pack__p { display: block; margin-top: auto; padding-top: 9px; font-size: 0.8rem; font-weight: 700; color: var(--color-success); }

.stand-inv { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border-color); }
.stand-inv__h {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 10px; margin-bottom: 11px; flex-wrap: wrap;
}
.stand-inv__t { font-size: 0.85rem; font-weight: 800; }
.stand-inv__m { font-size: 0.75rem; color: var(--color-text-muted); }
.stand-inv__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.stand-piece { text-align: center; }
.stand-piece__i {
    position: relative; background: var(--color-bg-secondary); border: 1px solid var(--border-color);
    border-radius: 11px; aspect-ratio: 1; overflow: hidden;
}
.stand-piece__i img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.stand-piece__q {
    position: absolute; top: 5px; left: 5px; background: var(--color-bg-dark); color: var(--color-text-light);
    border-radius: 7px; padding: 2px 7px; font-size: 0.73rem; font-weight: 800;
}
.stand-piece__n { font-size: 0.72rem; line-height: 1.25; margin-top: 6px; color: var(--color-text-secondary); }

/* ---------- options ---------- */
.stand-optgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 9px; }
.stand-optcard {
    display: flex; align-items: center; gap: 9px; padding: 9px; text-align: left;
    border: 1px solid var(--border-color); border-radius: 11px;
    cursor: pointer; background: var(--color-bg-primary); transition: border-color 0.15s, box-shadow 0.15s;
}
.stand-optcard:hover { border-color: var(--color-text-tertiary); }
.stand-optcard.is-on { border-color: var(--color-bg-dark); box-shadow: 0 0 0 1px var(--color-bg-dark); }
.stand-optcard img {
    width: 42px; height: 42px; object-fit: contain; border-radius: 7px;
    background: var(--color-bg-secondary); flex: 0 0 auto;
}
.stand-optcard__n { display: block; font-size: 0.79rem; font-weight: 700; line-height: 1.25; }
.stand-optcard__p { display: block; font-size: 0.73rem; color: var(--color-text-muted); margin-top: 2px; }

/* ---------- compris / en plus ---------- */
.stand-incl {
    margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border-color);
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 620px) { .stand-incl { grid-template-columns: 1fr; gap: 14px; } }
.stand-incl h3 {
    font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 9px;
}
.stand-incl--yes h3 { color: var(--color-success); }
.stand-incl--no h3 { color: var(--color-text-muted); }
.stand-incl ul { list-style: none; font-size: 0.8rem; line-height: 1.5; padding: 0; margin: 0; }
.stand-incl li { position: relative; padding-left: 19px; margin-bottom: 6px; color: var(--color-text-secondary); }
.stand-incl li::before { position: absolute; left: 0; top: -1px; font-weight: 800; }
.stand-incl--yes li::before { content: '\2713'; color: var(--color-success); }
.stand-incl--no li::before { content: '\2192'; color: var(--color-text-tertiary); }
.stand-incl li strong { color: var(--color-text-primary); font-weight: 700; }

/* ---------- réassurance ---------- */
.stand-trust__g { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (max-width: 1000px) { .stand-trust__g { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.stand-trust__i { display: flex; gap: 11px; align-items: flex-start; }
.stand-trust__ic {
    width: 34px; height: 34px; border-radius: 9px; background: var(--color-bg-secondary);
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 1rem;
}
.stand-trust__t { display: block; font-size: 0.85rem; font-weight: 800; line-height: 1.25; }
.stand-trust__d { display: block; font-size: 0.77rem; color: var(--color-text-muted); line-height: 1.5; margin-top: 3px; }
.stand-axa {
    display: flex; align-items: center; gap: 12px;
    margin: 15px 0 0; padding-top: 14px; border-top: 1px solid var(--border-color);
}
.stand-axa img { width: 84px; height: auto; flex: 0 0 auto; }
.stand-axa span { font-size: 0.79rem; line-height: 1.5; color: var(--color-text-secondary); }

/* ---------- colonne de droite ---------- */
.stand-card__t {
    font-size: 0.69rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
    color: var(--color-text-muted); margin: 0 0 10px;
}
.stand-card__t--sep { margin-top: 14px; }
.stand-render { position: relative; border-radius: 12px; overflow: hidden; }
.stand-render img { width: 100%; display: block; }
.stand-render__ph {
    aspect-ratio: 4 / 3; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 18px;
    background: var(--color-bg-secondary); border: 1px dashed var(--border-color); border-radius: 12px;
}
.stand-render__ph strong { font-size: 0.85rem; }
.stand-render__ph span { font-size: 0.76rem; color: var(--color-text-muted); line-height: 1.45; }
.stand-render__tag {
    position: absolute; top: 9px; left: 9px; background: rgba(0, 0, 0, 0.78);
    color: var(--color-text-light); font-size: 0.69rem; font-weight: 700; padding: 4px 9px; border-radius: 7px;
}
.stand-plan { width: 100%; height: auto; display: block; }
.stand-plan__leg {
    display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px;
    font-size: 0.73rem; color: var(--color-text-muted);
}
.stand-plan__leg i {
    display: inline-block; width: 13px; height: 4px; border-radius: 2px;
    background: var(--color-bg-dark); margin-right: 5px; vertical-align: 2px;
}
.stand-plan__leg i.is-open { background: none; border-top: 2px dashed var(--color-text-tertiary); height: 0; }

.stand-recap__t { font-size: 0.96rem; font-weight: 800; margin-bottom: 12px; }
.stand-recap__l { list-style: none; font-size: 0.83rem; padding: 0; margin: 0; }
.stand-recap__l li {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 7px 0; border-bottom: 1px solid var(--border-color); line-height: 1.4;
}
.stand-recap__l li:last-child { border-bottom: none; }
.stand-recap__h {
    display: block; border-bottom: none !important; padding: 12px 0 4px !important;
    font-size: 0.69rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--color-text-muted);
}
.stand-recap__l li:first-child.stand-recap__h { padding-top: 0 !important; }
.stand-recap__h--free { color: var(--color-success); }
/* Compris : pas de colonne prix, et un discret crochet en marge. */
.stand-recap__l li.is-free { position: relative; padding-left: 18px; border-bottom: none; padding-top: 4px; padding-bottom: 4px; }
.stand-recap__l li.is-free::before { content: '\2713'; position: absolute; left: 0; top: 4px; color: var(--color-success); font-weight: 800; font-size: 0.78rem; }
.stand-recap__l li.is-free .lab { color: var(--color-text-muted); }
.stand-recap__l li.is-free .lab small { display: none; }
.stand-recap__l .lab { color: var(--color-text-secondary); }
.stand-recap__l .lab small { display: block; color: var(--color-text-muted); font-size: 0.73rem; }
.stand-recap__l .val { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stand-recap__tot {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 13px; padding-top: 13px; border-top: 2px solid var(--color-bg-dark);
}
.stand-recap__tot span { font-size: 0.83rem; font-weight: 700; }
.stand-recap__tot strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stand-recap__alt { text-align: right; font-size: 0.73rem; color: var(--color-text-muted); margin-top: 2px; }
.stand-recap__cta {
    display: block; width: 100%; margin-top: 14px; padding: 13px;
    background: var(--color-bg-dark); color: var(--color-text-light);
    border: none; border-radius: 11px; font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer;
}
.stand-recap__cta:hover { background: var(--color-accent-hover, var(--color-bg-dark)); }
.stand-recap__axa {
    display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px;
    background: var(--color-bg-secondary); border: 1px solid var(--border-color);
    border-radius: 10px; font-size: 0.75rem; line-height: 1.4;
}
.stand-recap__axa img { width: 58px; height: auto; flex: 0 0 auto; }
.stand-recap__note { font-size: 0.73rem; color: var(--color-text-muted); line-height: 1.5; margin-top: 10px; }

/* ---------- les quatre supports imprimables ---------- */
.stand-perso {
    margin-top: var(--spacing-md);
    background: var(--color-bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px;
}
.stand-perso__h { margin-bottom: 16px; }
.stand-perso__t { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.stand-perso__d { font-size: 0.85rem; color: var(--color-text-muted); margin: 4px 0 0; line-height: 1.55; max-width: 80ch; }
.stand-perso__g {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 900px) { .stand-perso__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stand-perso__i img,
.stand-perso__ph {
    display: block; width: 100%; aspect-ratio: 4 / 3;
    border-radius: var(--radius-md); background: var(--color-bg-secondary);
}
.stand-perso__i img { object-fit: cover; border: 1px solid var(--border-color); }
.stand-perso__ph {
    display: flex; align-items: center; justify-content: center;
    border: 1px dashed var(--border-color);
    font-size: 0.76rem; color: var(--color-text-tertiary); text-align: center; padding: 10px;
}
.stand-perso__it { font-size: 0.88rem; font-weight: 800; margin: 10px 0 3px; }
.stand-perso__id { font-size: 0.79rem; line-height: 1.5; color: var(--color-text-muted); margin: 0; }

/* ---------- contenu éditorial et FAQ ---------- */
.stand-seo {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}
@media (max-width: 840px) { .stand-seo { grid-template-columns: 1fr; } }
.stand-seo__col {
    background: var(--color-bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px;
}
.stand-seo h2 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.stand-seo p { font-size: 0.87rem; line-height: 1.65; color: var(--color-text-secondary); margin: 0 0 10px; }
.stand-seo p:last-child { margin-bottom: 0; }
.stand-seo strong { color: var(--color-text-primary); font-weight: 700; }
.stand-seo a { color: var(--color-text-primary); text-decoration: underline; text-underline-offset: 2px; }

.stand-faq {
    margin-top: var(--spacing-md);
    background: var(--color-bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px;
}
.stand-faq__t { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.stand-faq__i { border-top: 1px solid var(--border-color); }
.stand-faq__i:first-child { border-top: none; }
.stand-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 0; cursor: pointer; list-style: none;
    font-size: 0.9rem; font-weight: 700; color: var(--color-text-primary);
}
.stand-faq__q::-webkit-details-marker { display: none; }
.stand-faq__q svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--color-text-muted); transition: transform 0.2s ease; }
.stand-faq__i[open] .stand-faq__q svg { transform: rotate(180deg); }
.stand-faq__a {
    margin: 0; padding: 0 0 15px; font-size: 0.86rem; line-height: 1.65;
    color: var(--color-text-secondary); max-width: 86ch;
}

/* ---------- barre de prix mobile ---------- */
.stand-bar {
    /* Sous la navigation basse du site (z-index 900), au-dessus du contenu. */
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 890;
    background: var(--color-bg-dark); color: var(--color-text-light);
    padding: 7px 14px; display: none; align-items: center; justify-content: space-between; gap: 12px;
}
.stand-bar strong { font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; }
/* La barre affichait le total sans porter l'action : pour commander il fallait
   redescendre jusqu'au récapitulatif, 5 400 px plus bas. Elle est désormais le
   raccourci permanent vers la validation. */
.stand-bar__p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stand-bar__cta {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 18px;
    border-radius: var(--radius-md);
    background: var(--color-text-light); color: var(--color-bg-dark);
    font-size: 0.9rem; font-weight: 700; text-decoration: none;
    white-space: nowrap;
}
.stand-bar__cta:hover { background: #fff; }
.stand-bar span { font-size: 0.72rem; line-height: 1.25; }
.stand-bar span b { display: block; opacity: 0.7; font-weight: 500; }
@media (max-width: 1000px) {
    .stand-bar:not([hidden]) { display: flex; }
    .stand { padding-bottom: 96px; }
}

/* En dessous de 768 px, .bottom-nav occupe le bas de l'écran (59 px hors encoche).
   La barre de prix se pose juste au-dessus, sinon elle est entièrement masquée. */
@media (max-width: 768px) {
    .stand-bar { bottom: calc(59px + env(safe-area-inset-bottom, 0px)); }
    .stand { padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px)); }
    /* Cette feuille n'est chargée que sur /stand-sur-mesure : on y remonte le
       bouton WhatsApp de la hauteur de la barre de prix, sinon la barre le
       recouvre. Le !important répond à celui de style.css (.whatsapp-float
       y est figé à 76px !important sous 768 px) — il reste cantonné à cette page. */
    .whatsapp-float { bottom: calc(137px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ---------- focus clavier ---------- */
.stand-opt:focus-visible,
.stand-forme:focus-visible,
.stand-sol:focus-visible,
.stand-coulc:focus-visible,
.stand-ensc:focus-visible,
.stand-pack:focus-visible,
.stand-optcard:focus-visible,
.stand-recap__cta:focus-visible {
    outline: 2px solid var(--color-bg-dark);
    outline-offset: 2px;
}

/* ============================================================================
   ALLÈGEMENT MOBILE
   Le configurateur faisait 14,3 écrans sur un téléphone. Aucun choix n'est
   retiré : on remet en colonnes ce qui s'empilait inutilement.
   ============================================================================ */
@media (max-width: 620px) {
    /* Les vignettes de meubles s'empilaient par deux : à cette taille, trois
       tiennent largement et le pack se lit d'un coup d'œil. */
    .stand-inv__g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .stand-piece__n { font-size: 0.66rem; }

    /* Options et goodies : une carte par ligne faisait défiler sept écrans
       pour cinq lots de stylos. */
    .stand-optgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .stand-optcard { flex-direction: column; align-items: flex-start; gap: 6px; }

    /* Les deux enseignes côte à côte : empilées, leurs visuels 16/9
       occupaient 641 px pour deux choix. */
    .stand-ens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .stand-ensc { padding: 10px; }
    .stand-ensc__n { font-size: 0.84rem; }
    .stand-ensc__s { font-size: 0.72rem; }

    /* Les quatre supports personnalisables et la liste du compris :
       deux colonnes au lieu d'une. */
    .stand-perso__g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stand-perso__id { font-size: 0.75rem; line-height: 1.4; }
    .stand-offer__y { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; }
    .stand-offer__y li { font-size: 0.76rem; line-height: 1.3; }
    .stand-how__g { gap: 10px; }
    .stand-how__id { font-size: 0.76rem; line-height: 1.4; }
}

/* ============================================================================
   ORDRE MOBILE — LE CONFIGURATEUR D'ABORD
   Mesuré à 375 px : le premier choix se trouvait à 1 600 px, soit 1,9 écran de
   scroll (hero 436 + « ce qui est compris » 386 + les 4 étapes 532) avant de
   pouvoir agir sur une page dont c'est l'unique fonction. Sur desktop la
   colonne latérale rend ce préambule gratuit ; sur mobile il s'empile.
   La réassurance et le parcours passent après la configuration : c'est au
   moment de valider que le client en a besoin, pas avant de commencer.
   ============================================================================ */
@media (max-width: 1000px) {
    .stand > .container { display: flex; flex-direction: column; }
    /* Garde-fou : sans ordre explicite un enfant vaut order:0 et remonte en tête. */
    .stand > .container > * { order: 20; }
    .stand > .container > .stand-hero { order: 1; }
    .stand > .container > .stand__off { order: 2; }
    .stand > .container > .stand__wrap { order: 3; }
    .stand > .container > .stand-offer { order: 4; }
    .stand > .container > .stand-how { order: 5; }
    .stand > .container > .stand-perso { order: 6; }
    .stand > .container > .stand-seo { order: 7; }
    .stand > .container > .stand-faq { order: 8; }
}

/* ============================================================================
   TABLETTE (1001 - 1199 px) : la zone morte du configurateur
   ----------------------------------------------------------------------------
   Deux regles existantes s'arretent a 1000 px : le decollage de .stand__side
   et l'apparition de la barre de prix. Entre 1001 et 1199 — c'est-a-dire tout
   l'iPad en paysage — aucune des deux ne s'applique.
   Mesure sur 1024 x 768 : .stand__side est collee et mesure 1 516 px pour
   576 px d'espace visible, soit 2,6 fois trop. C'est la colonne qui porte le
   total et le bouton de commande : elle reste amputee en permanence, et sans
   barre de prix le montant n'apparait nulle part pendant la configuration.
   La disposition en deux colonnes tient a cette largeur : on ne la touche pas,
   on decolle la colonne et on fait apparaitre la barre.
   La navigation basse etant masquee au-dessus de 768 px, la barre se pose
   directement en bas de l'ecran.
   ============================================================================ */
@media (min-width: 1001px) and (max-width: 1199px) {
    .stand__side {
        position: static;
        top: auto;
    }

    .stand-bar:not([hidden]) { display: flex; }
    .stand-bar { bottom: 0; }

    /* Le bas de page ne doit pas passer sous la barre. */
    .stand { padding-bottom: 96px; }

    /* Le bouton WhatsApp se pose au-dessus d'elle. */
    .whatsapp-float { bottom: 86px !important; }
}
