/* =====================================================================
 * ABIMEDIA Réparation — feuille de style publique
 *
 * Direction artistique : accent unique affirmé, couleurs sémantiques
 * réservées au sens, rayons généreux et cohérents, ombres discrètes
 * colorées par l'accent, mouvement au service de la compréhension.
 * Mode sombre pris en charge, accessibilité AA.
 * ===================================================================== */

:root {
  --ar-accent: #0B69F6;
  --ar-accent-dark: #084EC2;
  --ar-accent-soft: #F2F7FF;
  --ar-ok: #188251;
  --ar-ok-soft: #E7F6EE;
  --ar-warn: #C26A12;
  --ar-warn-soft: #FFFBF2;
  --ar-err: #D92D20;
  --ar-err-soft: #FDECEC;
  --ar-work: #7C3AED;

  --ar-ink: #101828;
  --ar-body: #475467;
  --ar-muted: #667085;
  --ar-soft: #98A2B3;
  --ar-line: #EEF0F3;
  --ar-bg: #F9FAFB;
  --ar-card: #FFFFFF;

  --ar-r-field: 10px;
  --ar-r-btn: 12px;
  --ar-r-card: 16px;
  --ar-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ============================== En-tête ============================== */
.abirep-hero {
  background: linear-gradient(135deg, var(--ar-accent-soft), var(--ar-card));
  border: 1px solid var(--ar-line);
  border-radius: 20px;
  padding: 30px 28px;
  margin-bottom: 26px;
}
.abirep-hero__title { font-size: 28px; font-weight: 800; margin: 0 0 8px; color: var(--ar-ink); letter-spacing: -.4px; }
.abirep-hero__text { color: var(--ar-body); margin: 0 0 16px; max-width: 62ch; line-height: 1.6; }
.abirep-hero__points { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 700; color: var(--ar-ok); }

/* ============================== Étapes ============================== */
.abirep-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.abirep-steps li {
  flex: 1; min-width: 118px;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  border: 1px solid var(--ar-line); border-radius: var(--ar-r-btn);
  background: var(--ar-card);
  font-size: 14px; font-weight: 600; color: var(--ar-muted);
  transition: all .18s var(--ar-ease);
}
.abirep-steps li span {
  width: 26px; height: 26px; flex: 0 0 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #F2F4F7; color: var(--ar-muted);
  font-size: 13px; font-weight: 800;
}
.abirep-steps li.is-active {
  border-color: var(--ar-accent); color: var(--ar-ink);
  box-shadow: 0 4px 16px rgba(11, 105, 246, .14);
}
.abirep-steps li.is-active span { background: var(--ar-accent); color: #fff; }
.abirep-steps li.is-done { cursor: pointer; color: var(--ar-ok); border-color: #CFE9DC; }
.abirep-steps li.is-done span { background: var(--ar-ok); color: #fff; font-size: 0; }
.abirep-steps li.is-done span::before { content: '✓'; font-size: 14px; }

/* ============================== Panneaux ============================== */
.abirep-panel { display: none; animation: ar-in .28s var(--ar-ease) both; }
.abirep-panel.is-visible { display: block; }
@keyframes ar-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.abirep-panel__title { font-size: 21px; font-weight: 800; margin: 0 0 8px; color: var(--ar-ink); }
.abirep-help { color: var(--ar-muted); font-size: 14px; margin-bottom: 18px; }
.abirep-note { font-size: 13px; color: var(--ar-muted); margin: 8px 0 0; }

.abirep-form .form-group { margin-bottom: 18px; }
.abirep-form .form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.abirep-form .form-label small { font-weight: 400; color: var(--ar-soft); }
.abirep-form .form-control, .abirep-form .form-select {
  width: 100%; border: 1px solid #D7DBE2; border-radius: var(--ar-r-field);
  padding: 11px 13px; font-size: 15px; background: var(--ar-card); color: var(--ar-ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.abirep-form .form-control:focus, .abirep-form .form-select:focus {
  border-color: var(--ar-accent); box-shadow: 0 0 0 4px rgba(11, 105, 246, .12); outline: none;
}
.abirep-form .is-invalid { border-color: var(--ar-err) !important; background: #FFF8F8; }

/* ======================= Choix de l'appareil ======================= */
.abirep-devices {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 11px; margin-bottom: 24px;
}
.abirep-device { margin: 0; cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; }
.abirep-device input { position: absolute; opacity: 0; pointer-events: none; }
.abirep-device__box, .abirep-est .abirep-device {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px; height: 100%;
  border: 2px solid var(--ar-line); border-radius: var(--ar-r-card);
  background: var(--ar-card); text-align: center;
  transition: all .18s var(--ar-ease);
}
.abirep-device:hover .abirep-device__box, .abirep-est .abirep-device:hover {
  border-color: #C8DCFB; transform: translateY(-2px);
}
.abirep-device input:checked + .abirep-device__box, .abirep-est .abirep-device.is-on {
  border-color: var(--ar-accent); background: var(--ar-accent-soft);
  box-shadow: 0 8px 24px rgba(11, 105, 246, .16);
}
.abirep-device input:focus-visible + .abirep-device__box { outline: 3px solid rgba(11, 105, 246, .4); }
.abirep-device__icon { font-size: 27px; line-height: 1; }
.abirep-device__label { font-size: 13px; font-weight: 700; color: var(--ar-ink); }

/* ============================== Pastilles ============================== */
.abirep-inline { display: flex; flex-wrap: wrap; gap: 9px; }
.abirep-pill { margin: 0; cursor: pointer; }
.abirep-pill input { position: absolute; opacity: 0; pointer-events: none; }
.abirep-pill span {
  display: inline-block; padding: 10px 18px;
  border: 2px solid var(--ar-line); border-radius: 999px;
  background: var(--ar-card); font-size: 14px; font-weight: 600; color: var(--ar-ink);
  transition: all .16s ease;
}
.abirep-pill span small { font-weight: 400; color: var(--ar-muted); }
.abirep-pill:hover span { border-color: #C8DCFB; }
.abirep-pill input:checked + span { border-color: var(--ar-accent); background: var(--ar-accent); color: #fff; }
.abirep-pill input:checked + span small { color: rgba(255, 255, 255, .8); }

.abirep-issues { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.abirep-issue { cursor: pointer; }
.abirep-issue input { position: absolute; opacity: 0; pointer-events: none; }
.abirep-issue span {
  display: inline-block; padding: 9px 16px;
  border: 2px solid var(--ar-line); border-radius: 999px;
  background: var(--ar-card); font-size: 14px; font-weight: 600;
  transition: all .16s ease;
}
.abirep-issue input:checked + span { border-color: var(--ar-err); background: var(--ar-err-soft); color: var(--ar-err); }

.abirep-check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; cursor: pointer; margin: 0 0 8px; }
.abirep-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ar-accent); flex: 0 0 auto; }
.abirep-acc { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; }

.abirep-specs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 16px; padding: 18px; background: var(--ar-bg);
  border-radius: var(--ar-r-card); margin-bottom: 18px;
}
.abirep-free {
  padding: 16px 18px 2px; background: var(--ar-warn-soft);
  border: 1px solid #F6E2C0; border-radius: var(--ar-r-card); margin-bottom: 18px;
}

/* ============================== Estimation ============================== */
.abirep-estimate {
  background: var(--ar-ok-soft); border: 2px solid #B9E3CD;
  border-radius: var(--ar-r-card); padding: 20px; margin-bottom: 20px;
  text-align: center; animation: ar-in .3s var(--ar-ease) both;
}
.abirep-estimate__label { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--ar-ok); }
.abirep-estimate__price { font-size: 30px; font-weight: 800; color: var(--ar-ok); margin: 6px 0; letter-spacing: -.5px; }
.abirep-estimate__hint { font-size: 13px; color: var(--ar-muted); }

/* Mot de passe */
.abirep-pwd { position: relative; }
.abirep-pwd input { padding-right: 46px !important; }
.abirep-pwd__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; font-size: 17px; cursor: pointer; padding: 6px 8px; opacity: .6;
}
.abirep-pwd__toggle:hover { opacity: 1; }
.abirep-secure {
  background: var(--ar-bg); border-radius: var(--ar-r-field); padding: 11px 14px;
  font-size: 12.5px; color: var(--ar-muted); margin-top: 8px; line-height: 1.55;
}

.abirep-card {
  background: var(--ar-card); border: 1px solid var(--ar-line);
  border-radius: var(--ar-r-card); padding: 20px 22px; margin-bottom: 16px;
}
.abirep-card h3 {
  font-size: 13px; font-weight: 800; margin: 0 0 12px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--ar-soft);
}
.abirep-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.abirep-card dt { color: var(--ar-muted); }
.abirep-card dd { margin: 0; font-weight: 600; text-align: right; }
.abirep-card--warn { background: var(--ar-warn-soft); border-color: #F6E2C0; }

/* ============================== Photos ============================== */
.abirep-drop {
  position: relative; border: 2px dashed #C8DCFB; border-radius: var(--ar-r-card);
  background: #F7FBFF; padding: 34px 20px; text-align: center;
  cursor: pointer; transition: all .18s ease; margin-bottom: 14px;
}
.abirep-drop:hover, .abirep-drop.is-over { border-color: var(--ar-accent); background: #EEF5FF; }
.abirep-drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.abirep-drop__icon { font-size: 34px; margin-bottom: 8px; }
.abirep-drop__label { font-weight: 700; color: var(--ar-ink); }
.abirep-drop__hint { font-size: 13px; color: var(--ar-muted); margin-top: 4px; }

.abirep-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 11px; margin-bottom: 12px; }
.abirep-preview {
  border: 1px solid var(--ar-line); border-radius: var(--ar-r-field);
  overflow: hidden; background: var(--ar-card); animation: ar-in .24s ease both;
}
.abirep-preview img { width: 100%; height: 86px; object-fit: cover; display: block; }
.abirep-preview__doc { height: 86px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: var(--ar-bg); }
.abirep-preview__name { font-size: 11px; padding: 6px 8px; color: var(--ar-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abirep-preview.is-too-big { border-color: var(--ar-err); }

.abirep-total { font-size: 13px; font-weight: 600; color: var(--ar-muted); margin: -4px 0 16px; }
.abirep-total.is-warn { color: var(--ar-warn); }
.abirep-total.is-over { color: var(--ar-err); }
.abirep-total.is-over::before { content: '⚠ '; }

/* ============================== Divers ============================== */
.abirep-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.abirep-info { margin-top: 12px; padding: 13px 16px; background: var(--ar-accent-soft); border-radius: var(--ar-r-field); font-size: 14px; line-height: 1.55; }
.abirep-info strong { display: block; margin-bottom: 4px; color: var(--ar-accent-dark); }
.abirep-cgv { margin-bottom: 18px; font-size: 14px; }
.abirep-cgv summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.abirep-nav { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--ar-line); }
.abirep-nav .btn { min-width: 132px; border-radius: var(--ar-r-btn); }
.abirep-nav .btn.is-sending { opacity: .65; cursor: wait; }
.abirep-legal { font-size: 11px; color: var(--ar-soft); margin-top: 14px; }
.abirep-tracklink { margin-top: 24px; text-align: center; color: var(--ar-muted); }
.abirep-flash {
  background: var(--ar-err-soft); color: var(--ar-err);
  border: 1px solid #F7C9C6; border-radius: var(--ar-r-field);
  padding: 12px 15px; margin-bottom: 16px; font-weight: 600; font-size: 14px; display: none;
}
.abirep-flash.is-on { display: block; animation: ar-in .2s ease both; }

/* ============================ Confirmation ============================ */
.abirep-success {
  text-align: center; max-width: 620px; margin: 30px auto; padding: 44px 28px;
  background: var(--ar-card); border: 1px solid var(--ar-line); border-radius: 20px;
}
.abirep-success__icon {
  width: 70px; height: 70px; line-height: 70px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--ar-ok-soft); color: var(--ar-ok);
  font-size: 34px; font-weight: 800; animation: ar-pop .38s var(--ar-ease) both;
}
@keyframes ar-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.abirep-success h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.abirep-success__lead { font-size: 16px; margin-bottom: 18px; }
.abirep-ref {
  display: inline-block; background: var(--ar-accent-soft); color: var(--ar-accent-dark);
  border: 2px dashed var(--ar-accent); border-radius: var(--ar-r-field);
  padding: 6px 18px; font-size: 19px; letter-spacing: 1px;
}
.abirep-success__hint { font-size: 13px; color: var(--ar-muted); margin-top: 18px; }

/* ============================== Suivi ============================== */
.abirep-track-search { max-width: 820px; margin: 0 auto; }
.abirep-track-submit { display: flex; align-items: flex-end; }
.abirep-file { max-width: 920px; margin: 0 auto; }
.abirep-file__head {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 20px 22px; background: var(--ar-card); border: 1px solid var(--ar-line);
  border-radius: var(--ar-r-card); margin-bottom: 18px;
}
.abirep-file__ref { font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.abirep-file__device { color: var(--ar-muted); font-size: 14px; margin-top: 2px; }
.abirep-badge { padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.abirep-due {
  text-align: center; padding: 11px; background: var(--ar-accent-soft);
  border-radius: var(--ar-r-field); font-size: 14px; margin-bottom: 18px;
}

/* Frise — élément signature du module */
.abirep-timeline { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; }
.abirep-timeline li {
  flex: 1; min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  position: relative; font-size: 12px; color: var(--ar-soft); text-align: center;
}
.abirep-timeline li::before {
  content: ''; position: absolute; top: 8px; left: -50%;
  width: 100%; height: 2px; background: var(--ar-line); z-index: 0;
}
.abirep-timeline li:first-child::before { display: none; }
.abirep-timeline li.is-done::before { background: var(--ar-ok); }
.abirep-timeline__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ar-card); border: 3px solid var(--ar-line); position: relative; z-index: 1;
  transition: all .24s var(--ar-ease);
}
.abirep-timeline li.is-done .abirep-timeline__dot { background: var(--ar-ok); border-color: var(--ar-ok); }
.abirep-timeline li.is-active .abirep-timeline__dot {
  border-color: var(--ar-accent); background: var(--ar-accent);
  box-shadow: 0 0 0 5px rgba(11, 105, 246, .18);
}
.abirep-timeline li.is-active .abirep-timeline__label { color: var(--ar-ink); font-weight: 700; }

/* Devis */
.abirep-quote {
  background: var(--ar-card); border: 2px solid #C8DCFB;
  border-radius: var(--ar-r-card); padding: 24px; margin-bottom: 20px;
}
.abirep-quote h2 { font-size: 19px; font-weight: 800; margin: 0 0 16px; }
.abirep-quote__lines { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 14px; }
.abirep-quote__lines td { padding: 10px 0; border-bottom: 1px solid var(--ar-line); }
.abirep-quote__qty { text-align: right; color: var(--ar-muted); width: 50px; }
.abirep-quote__price { text-align: right; font-weight: 700; width: 100px; }
.abirep-quote__lines tr.is-optional { background: var(--ar-warn-soft); }
.abirep-opt { font-size: 11px; font-style: normal; background: #FFF4E5; color: var(--ar-warn); padding: 1px 8px; border-radius: 20px; font-weight: 700; }
.abirep-quote__totals { margin-left: auto; max-width: 300px; font-size: 14px; }
.abirep-quote__totals > div { display: flex; justify-content: space-between; padding: 5px 0; }
.abirep-quote__grand {
  border-top: 2px solid var(--ar-ink); margin-top: 6px; padding-top: 10px !important;
  font-size: 20px; font-weight: 800;
}
.abirep-quote__note { background: var(--ar-bg); border-radius: var(--ar-r-field); padding: 13px 16px; margin: 16px 0; font-size: 14px; }
.abirep-quote__warranty { background: var(--ar-ok-soft); border-radius: var(--ar-r-field); padding: 11px 14px; font-size: 13px; color: var(--ar-ok); margin: 14px 0; }
.abirep-quote__form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ar-line); }
.abirep-signature { font-family: Georgia, 'Times New Roman', serif; font-size: 18px !important; font-style: italic; }
.abirep-quote__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.abirep-quote__actions .btn { border-radius: var(--ar-r-btn); }

.abirep-issuelist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.abirep-issuelist span {
  background: var(--ar-err-soft); color: var(--ar-err); padding: 3px 11px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}
.abirep-file__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.abirep-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 9px; }
.abirep-gallery__item { background: var(--ar-bg); border-radius: var(--ar-r-field); padding: 10px; font-size: 12px; color: var(--ar-muted); }
.abirep-history { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.abirep-history li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--ar-line); }
.abirep-history li:last-child { border-bottom: 0; }
.abirep-history__date { color: var(--ar-soft); white-space: nowrap; font-size: 13px; flex: 0 0 auto; }

/* Avis */
.abirep-review { background: var(--ar-accent-soft); border-radius: var(--ar-r-card); padding: 24px; margin-bottom: 16px; }
.abirep-review h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.abirep-stars { display: flex; gap: 4px; margin: 12px 0; }
.abirep-stars label { margin: 0; cursor: pointer; }
.abirep-stars input { position: absolute; opacity: 0; }
.abirep-stars span { font-size: 32px; color: #D7DBE2; transition: color .14s ease; line-height: 1; }
.abirep-stars label:hover span, .abirep-stars label:hover ~ label span { color: #F5B841; }
.abirep-stars input:checked + span { color: #F5B841; }
.abirep-stars--static span.is-on { color: #F5B841; }

/* ========================== Estimateur public ========================== */
.abirep-est__step { display: none; animation: ar-in .28s var(--ar-ease) both; }
.abirep-est__step.is-visible { display: block; }
.abirep-est__title { font-size: 20px; font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.abirep-est__num {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: var(--ar-accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.abirep-est__sub { font-size: 16px; font-weight: 700; margin: 20px 0 12px; }
.abirep-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.abirep-chip {
  border: 2px solid var(--ar-line); border-radius: 999px;
  background: var(--ar-card); padding: 10px 18px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .16s ease;
}
.abirep-chip:hover { border-color: #C8DCFB; transform: translateY(-1px); }
.abirep-chip.is-on { border-color: var(--ar-accent); background: var(--ar-accent); color: #fff; }
.abirep-chips--multi .abirep-chip.is-on { border-color: var(--ar-err); background: var(--ar-err-soft); color: var(--ar-err); }
.abirep-back { background: none; border: 0; color: var(--ar-muted); text-decoration: underline; cursor: pointer; padding: 8px 0; display: block; }

.abirep-result { animation: ar-in .3s var(--ar-ease) both; }
.abirep-result__box {
  background: linear-gradient(135deg, var(--ar-ok-soft), #F7FDFA);
  border: 2px solid #B9E3CD; border-radius: 20px; padding: 32px 24px; text-align: center;
}
.abirep-result__label { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--ar-ok); }
.abirep-result__price { font-size: 40px; font-weight: 800; color: var(--ar-ok); margin: 8px 0; letter-spacing: -1px; }
.abirep-result__hint { font-size: 14px; color: var(--ar-muted); max-width: 46ch; margin: 0 auto 20px; line-height: 1.55; }
.abirep-result__cta { display: inline-block; background: linear-gradient(135deg, var(--ar-accent), var(--ar-accent-dark)); color: #fff; padding: 15px 34px; border-radius: var(--ar-r-btn); text-decoration: none; font-weight: 700; font-size: 16px; }
.abirep-result__cta:hover { filter: brightness(1.06); color: #fff; text-decoration: none; }

.abirep-reassure { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 32px 0; }
.abirep-reassure__item { background: var(--ar-card); border: 1px solid var(--ar-line); border-radius: var(--ar-r-card); padding: 22px; text-align: center; }
.abirep-reassure__icon { font-size: 30px; margin-bottom: 10px; }
.abirep-reassure__item h3 { font-size: 15px; font-weight: 800; margin: 0 0 6px; }
.abirep-reassure__item p { font-size: 13px; color: var(--ar-muted); margin: 0; line-height: 1.55; }

/* ============================== Mobile ============================== */
@media (max-width: 767px) {
  .abirep-hero { padding: 22px 18px; }
  .abirep-hero__title { font-size: 22px; }
  .abirep-steps li { min-width: 0; flex: 1 1 45%; font-size: 13px; padding: 9px 10px; }
  .abirep-devices { grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); gap: 8px; }
  .abirep-device__box { padding: 14px 8px; }
  .abirep-device__icon { font-size: 23px; }
  .abirep-device__label { font-size: 12px; }
  .abirep-nav { flex-direction: column-reverse; }
  .abirep-nav .btn { width: 100%; }
  .abirep-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .abirep-card dd { text-align: left; margin-bottom: 8px; }
  .abirep-timeline li { min-width: 70px; font-size: 11px; }
  .abirep-result__price { font-size: 32px; }
  .abirep-quote__totals { max-width: none; }
}

/* ============================ Mode sombre ============================ */
@media (prefers-color-scheme: dark) {
  :root {
    --ar-ink: #F2F4F7; --ar-body: #D0D5DD; --ar-muted: #98A2B3; --ar-soft: #667085;
    --ar-line: #2A2F3A; --ar-bg: #16191F; --ar-card: #1C2029;
    --ar-accent: #3B87FF; --ar-accent-soft: #17233A;
    --ar-ok-soft: #122A1E; --ar-warn-soft: #2A2113; --ar-err-soft: #2A1616;
  }
  .abirep-form .form-control, .abirep-form .form-select { border-color: #343A46; }
  .abirep-drop { background: #17233A; border-color: #2E4A78; }
}

/* ====================== Réduction des animations ====================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ============================== Impression ============================== */
@media print {
  .abirep-nav, .abirep-quote__form, .abirep-tracklink, .abirep-review { display: none; }
}
