/* Parcours client : les indications restent lisibles sur les aplats et les photos. */
html body.prospect-rich #journey :is(.journey-help,.journey-description,.journey-foot,.journey-progress,.journey-foot button,.journey-more,.field-label,.journey-consent,.journey-kicker),
html body.prospect-rich #journey .journey-panel small {
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
  line-height:1.5;font-size:max(14px,1em);
}
html body.prospect-rich #journey .journey-help,
html body.prospect-rich #journey .journey-panel small,
html body.prospect-rich #journey .journey-progress {font-size:14px!important}
html body.prospect-rich #journey :is(input:not([type=checkbox]),select,textarea),
html body.prospect-rich :is(.filter-bar,.tryon-settings,dialog form) :is(select,textarea,input:not([type=checkbox]):not([type=range]):not([type=radio])) {
  color:#272222!important;-webkit-text-fill-color:#272222!important;background:#fff!important;color-scheme:light;font-size:16px!important;
}
html body.prospect-rich :is(#journey,.filter-bar,.tryon-settings,dialog) :is(input,textarea)::placeholder {
  color:#655959!important;-webkit-text-fill-color:#655959!important;opacity:1!important;
}
html body.prospect-rich #journey .journey-option {background:#fff!important;color:#352627!important;-webkit-text-fill-color:#352627!important}
html body.prospect-rich #journey .journey-option[aria-pressed=true] {background:#811422!important;color:white!important;-webkit-text-fill-color:white!important;outline:2px solid white}
html body.prospect-rich #journey .form-error:not(:empty) {padding:.6rem .8rem;border-radius:8px;background:#fff0f1!important;color:#811422!important;-webkit-text-fill-color:#811422!important}
html body.prospect-rich #journey .journey-visual-footer {background:#361016!important;color:white!important}
html body.prospect-rich #journey .journey-visual-footer :is(span,strong,small) {color:white!important;-webkit-text-fill-color:white!important;opacity:1!important;font-size:14px!important}
/* Offre Family : texte empilé sur toute la largeur (plus de colonne étroite coupée mot par mot). */
html body.prospect-rich #journey .journey-visual-footer {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;padding:18px 22px!important;text-align:left!important}
html body.prospect-rich #journey .journey-visual-footer > span {display:block!important;width:100%!important;max-width:none!important;line-height:1.45!important}
html body.prospect-rich #journey .journey-visual-footer > span:first-child strong {display:block!important;font-size:17px!important;font-weight:800!important;letter-spacing:.01em!important;margin-bottom:2px!important}
html body.prospect-rich #journey .journey-visual-footer > span:last-child {font-size:12px!important;font-style:italic!important;opacity:.82!important;padding-top:8px!important;border-top:1px solid rgba(255,255,255,.18)!important}
html body.prospect-rich #journey .journey-visual-footer > span:last-child br {display:none!important}
html body.prospect-rich #collections .product-info,
html body.prospect-rich #product-dialog .product-detail-copy,
html body.prospect-rich #offers .offer-copy {background:#fffcfa!important;color:#2c2222!important}
html body.prospect-rich #collections .product-info :is(.product-meta,.product-color,.compare-toggle),
html body.prospect-rich #product-dialog :is(.muted,.detail-note,.detail-specs dt,.detail-specs dd),
html body.prospect-rich #offers .offer-copy :is(p,small),
html body.prospect-rich #agences .agency-grid article :is(.agency-where,.agency-hours) {
  color:#493d3c!important;-webkit-text-fill-color:#493d3c!important;opacity:1!important;font-size: max(14px,.95rem)!important;line-height:1.5!important;
}
html body.prospect-rich #product-dialog :is(.close-button,.zoom-button),
html body.prospect-rich #collections .product-tag {
  background:#fff!important;color:#702030!important;-webkit-text-fill-color:#702030!important;border:1px solid #bca9a8!important;opacity:1!important;font-size:14px!important;
}
html body.prospect-rich #collections .product-info h3 button {color:#30191b!important;-webkit-text-fill-color:#30191b!important;background:transparent!important}
html body.prospect-rich #collections .product-info :is(.camera-button,.try-button,.compare-toggle) {font-size:14px!important;min-height:40px}
html body.prospect-rich :is(#offers .offer-copy,#product-dialog,.tryon-dialog) .button.red {background:#a31825!important;color:white!important;-webkit-text-fill-color:white!important}
html body.prospect-rich #agences .agency-grid article :is(.agency-number,a) {color:#841a26!important;-webkit-text-fill-color:#841a26!important}
html body.prospect-rich #agences .agency-grid a.button {background:#fff!important;border:1px solid #a98e8b!important}
html body.prospect-rich #prospect-whatsapp a {background:#096238!important;color:white!important;-webkit-text-fill-color:white!important}
html body.prospect-rich .tryon-dialog :is(.tryon-status,.tryon-note,.tryon-fit,.tryon-settings,.tryon-adjust summary),
html body.prospect-rich dialog .offer-dialog-terms {
  background:#fffaf7!important;color:#392d2d!important;-webkit-text-fill-color:#392d2d!important;font-size:14px!important;line-height:1.55!important;opacity:1!important;
}
html body.prospect-rich .tryon-dialog .tryon-fit :is(small,strong),html body.prospect-rich .tryon-dialog .tryon-settings :is(label,small) {color:#392d2d!important;-webkit-text-fill-color:#392d2d!important;opacity:1!important;font-size:14px!important}
html body.prospect-rich .tryon-dialog .tryon-status:not(:empty) {padding:6px 10px;border-radius:6px}
html body.prospect-rich :is(#new-arrivals .arrival-grid,#collections,.offer-chips,.tryon-dialog,dialog form) :focus-visible {outline:3px solid #972237!important;outline-offset:2px;box-shadow:0 0 0 5px white!important}
@media(max-width:640px){
  html body.prospect-rich :is(#product-dialog,.tryon-dialog,dialog) {max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto}
  html body.prospect-rich #product-dialog .product-detail-copy {min-width:0}
  html body.prospect-rich #product-dialog .product-detail-visual img {max-height:32vh;object-fit:contain!important}
  html body.prospect-rich :is(.product-info,.detail-specs,.agency-grid) {overflow-wrap:break-word}
}
/* Espaces d’agence : repères de lecture pour les panneaux et chiffres sur fond sombre. */
html.pro body :is(.bq-kpi,.bq-item,.dv-card-block) {background-color:#302b2c!important;color:#fff!important}
html.pro body .bq-kpi :is(strong,span),html.pro body :is(.bq-item,.dv-card-block) :is(.bq-meta,.bq-hint) {color:#f6eeee!important;-webkit-text-fill-color:#f6eeee!important;opacity:1!important}
html.pro body :is(.bq-meta,.bq-hint,.bq-kpi span,.bq-table th) {font-size:14px!important;line-height:1.5!important}
html.pro body .bq-table th {background:#3a3032!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html.pro-auth .access-card :is(small,.profile-help,.session-note) {font-size:14px!important;line-height:1.5!important}

/* Paires premier plan / fond explicites là où les thèmes historiques se superposent. */
@layer sudoptic-contraste {
  .directory-header .space-badge {background:#fff5f3!important;color:#731427!important;-webkit-text-fill-color:#731427!important}
  #commercial-list article {background:#fffaf8!important}
  #commercial-list article :is(h2,p,span) {color:#342729!important;-webkit-text-fill-color:#342729!important;opacity:1!important}
  #commercial-list article>a {color:#841a29!important;-webkit-text-fill-color:#841a29!important;overflow-wrap:anywhere}
  #commercial-list nav a,.directory-main nav button {background:#841a29!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
  html.pro .panel .stat,html.pro .dx-kpis .dx-kpi {background:#3b2830!important;border:1px solid #9a737b!important}
  html.pro .panel .stat :is(strong,span,small),html.pro .dx-kpis .dx-kpi :is(strong,span,small) {color:#fff8f7!important;-webkit-text-fill-color:#fff8f7!important;opacity:1!important}
  html.pro .dx-kpis .dx-kpi:is([aria-pressed=true],.active,.selected) {background:#6f1728!important;outline:2px solid #ffc7c9!important}
  html.pro main.box a {background:#811829!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
  body.prospect-rich #journey .journey-panel {background-color:#5a1821!important}
  body.prospect-rich #journey #journey-title span {background:none!important;color:#ffcdd2!important;-webkit-text-fill-color:#ffcdd2!important}
}


/* Messagerie : la zone d'écriture reste lisible (texte foncé sur fond blanc, curseur visible). */
html.pro body:not(#_):not(#v6):not(#v6b):not(#v6c):not(#v7):not(#msg):not(#lis) dialog.diamond-messages :is(textarea,input[type=search],input[type=text]){background:#fff!important;color:#1d1d1b!important;-webkit-text-fill-color:#1d1d1b!important;caret-color:#C8101A!important;border:2px solid #d8cfcf!important;font-size:16px!important;line-height:1.45!important}
html.pro body:not(#_):not(#v6):not(#v6b):not(#v6c):not(#v7):not(#msg):not(#lis) dialog.diamond-messages :is(textarea,input)::placeholder{color:#71716c!important;-webkit-text-fill-color:#71716c!important;opacity:1!important}
html.pro body:not(#_):not(#v6):not(#v6b):not(#v6c):not(#v7):not(#msg):not(#lis) dialog.diamond-messages :is(textarea,input):focus{border-color:#C8101A!important;outline:3px solid rgba(200,16,26,.25)!important;outline-offset:1px!important}
/* Case « Rester connecté » */
.sx-remember{display:flex!important;align-items:flex-start;gap:12px;margin:14px 0 6px!important;cursor:pointer;font-weight:600;line-height:1.35;text-align:left}
.sx-remember input{flex:0 0 auto;width:22px!important;height:22px!important;min-height:0!important;margin:1px 0 0!important;padding:0!important;accent-color:#C8101A;cursor:pointer}
.sx-remember small{display:block;margin-top:3px;font-weight:500;font-size:13px;opacity:.85}
