/* Devis à plusieurs options (0.25.0) : bloc « Autres options proposées » de /devis/, /suivi/ et de l'espace client.
   Téléphone : cartes empilées ; dès 560 px, cartes côte à côte (2 à 4), totaux alignés en bas. Transitions courtes (180 ms),
   coupées si l'appareil demande moins d'animations. */
.dvo { display: grid; gap: 14px; }
.dvo-h { margin-bottom: 0; }
.dvo-lead { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.dvo-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .dvo-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.dvo-card {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.dvo-card:hover { border-color: rgba(255, 140, 0, 0.35); }
.dvo-card.is-current { border-color: rgba(255, 140, 0, 0.45); background: var(--orange-pale); }
.dvo-card.is-open { border-color: var(--orange); transform: translateY(-2px); }
.dvo-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.dvo-card__title { margin: 0 auto 0 0; font-size: 1.05rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.dvo-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.dvo-badge--reco { color: var(--orange-light); background: rgba(255, 140, 0, 0.14); }
.dvo-badge--now { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.dvo-i { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dvo-badge--reco .dvo-i { fill: currentColor; }
.dvo-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 0.92rem; line-height: 1.45; }
.dvo-lines > li { position: relative; padding-left: 14px; overflow-wrap: anywhere; }
.dvo-lines > li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.dvo-note { margin: 0; color: var(--text-muted); font-size: 0.86rem; }
.dvo-card__foot { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.dvo-price { margin: 0; display: grid; font-variant-numeric: tabular-nums; }
.dvo-price b { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.dvo-price small { color: var(--text-muted); font-size: 0.78rem; }
.dvo-diff { font-size: 0.86rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text-muted); }
.dvo-diff.is-up { color: var(--orange-light); }
.dvo-diff.is-down { color: #6fd39a; }
.dvo-choose { width: 100%; justify-content: center; min-height: 46px; }
.dvo-confirm { display: grid; gap: 10px; animation: dvo-in 200ms ease both; }
.dvo-confirm__t { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.dvo-confirm__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px; }
.dvo-confirm__row .btn { min-height: 46px; }
.dvo-link { background: none; border: 0; padding: 10px 4px; color: var(--text-muted); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dvo-link:hover { color: var(--text); }
.dvo-msg { margin: 0; }
.dvo-foot { margin: 0; color: var(--text-muted); font-size: 0.86rem; }
.dvo-done { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--orange-pale); border: 1px solid rgba(255, 140, 0, 0.35); font-weight: 600; animation: dvo-in 220ms ease both; }
@keyframes dvo-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .dvo-card, .dvo-confirm, .dvo-done { transition: none; animation: none; }
  .dvo-card.is-open { transform: none; }
}
@media print { .dvo-choose, .dvo-confirm { display: none !important; } .dvo-card { border-color: #ccc; background: #fff; } }
/* Titre et carte hors de suivi.css (espace client) : mêmes repères visuels. */
.dvo-h { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.esp .dvo { padding: 18px; border-radius: var(--radius-md); background: var(--e-card); border: 1px solid var(--e-line2); }
.dvo-msg { color: #ff8a80; font-size: 0.9rem; }

/* Description riche d'une ligne (0.25.1) : comme sur le PDF d'Abby, en plus discret. */
.tr { margin-top: 3px; color: var(--text-muted); font-size: 0.86rem; line-height: 1.45; overflow-wrap: anywhere; }
.tr p { margin: 0; }
.tr ul { margin: 2px 0; padding-left: 1.15em; list-style: disc outside; }
.tr li { margin: 1px 0; display: list-item; list-style: inherit; }
.tr li::marker { color: var(--orange); }
.tr .tr-tiret { padding-left: 1.15em; text-indent: -1.15em; }
.tr .tr-tiret::before { content: '–'; display: inline-block; width: 1.15em; text-indent: 0; color: var(--orange); }
.tr strong { color: var(--text); font-weight: 700; }
/* Options (0.25.2) : descriptions et note mises en forme dans les cartes « Autres options ». */
.dvo-lines .tr { margin-top: 2px; font-size: 0.84rem; }
.dvo-card .tr.dvo-note { margin: 0; }

/* Options facultatives (0.25.3) : une case par option, + prix, total en direct, un seul bouton de mise à jour. */
.dvx-list { display: grid; gap: 8px; }
.dvx-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease; }
.dvx-item:hover { border-color: rgba(255, 140, 0, 0.35); }
.dvx-item.is-on { border-color: rgba(255, 140, 0, 0.5); background: var(--orange-pale); }
.dvx-item input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange); cursor: pointer; }
.dvx-item input:disabled { cursor: default; }
.dvx-item__c { display: grid; gap: 4px; min-width: 0; }
.dvx-item__t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.dvx-item__t b { font-weight: 800; overflow-wrap: anywhere; }
.dvx-item__l { color: var(--text-muted); font-size: 0.88rem; }
.dvx-item__p { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--orange-light); }
.dvx-total { margin: 4px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dvx-total span { color: var(--text-muted); }
.dvx-total__v { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dvx-maj { width: 100%; justify-content: center; min-height: 48px; white-space: normal; animation: dvo-in 200ms ease both; }
