/* Site client Siako SAV : léger (aucune police à télécharger, images compressées et chargées au défilement),
   pensé d'abord pour un petit téléphone Android. Couleurs de la marque : bleu du logo, bleu nuit des bannières, rouge. */
:root {
  --navy: #3c3e8b;        /* bleu du logo SIAKO */
  --navy-2: #2e3072;
  --navy-soft: #ebecf7;
  --night: #0a1748;       /* bleu nuit des bannières */
  --night-2: #13256b;
  --royal: #2340b8;       /* bleu roi */
  --red: #d32d15;         /* rouge du logo : boutons d'action */
  --red-2: #b42510;
  --red-soft: #fdebe7;
  --orange: #d32d15;      /* ancien nom gardé pour les étapes en cours */
  --orange-ink: #9c2410;
  --orange-soft: #fdebe7;
  --green: #1f8a5c;
  --green-soft: #e3f3eb;
  --danger: #b3261e;
  --bg: #f4f5fa;
  --surface: #ffffff;
  --fg: #151a33;
  --muted: #586079;
  --line: #dde0ec;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--font); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.narrow { width: min(640px, 100%); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête : logo officiel sur fond blanc */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.logo img { height: 48px; width: auto; display: block; flex: none; }
.logo .sav { display: grid; line-height: 1.05; border-left: 2px solid var(--line); padding-left: 10px; }
.logo .sav b { font-size: 15px; letter-spacing: .12em; color: var(--red); }
.logo .sav span { font-size: 12px; color: var(--muted); font-weight: 600; }
.top nav { display: flex; gap: 4px; }
.top nav a { text-decoration: none; font-weight: 800; font-size: 14px; padding: 9px 10px; border-radius: 10px; color: var(--navy); white-space: nowrap; }
.top nav a[aria-current="page"], .top nav a:hover { background: var(--navy-soft); }
@media (max-width: 440px) { .logo .sav span { display: none; } .top nav a { padding: 8px 7px; } }
@media (max-width: 370px) { .top nav a.hide-xs { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 12px;
  border: 2px solid var(--navy); background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; text-align: center; line-height: 1.2; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.red, .btn.orange { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover, .btn.orange:hover { background: var(--red-2); border-color: var(--red-2); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy-soft); }
.btn.light { background: #fff; border-color: #fff; color: var(--night); }
.btn.light:hover { background: #e9ecfb; border-color: #e9ecfb; }
.btn.outline-light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn.outline-light:hover { background: rgba(255,255,255,.12); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn.wide { width: 100%; }
.btn.sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 700; text-decoration: underline; }

/* Accueil : héros bleu nuit avec la photo de l'équipe */
.hero { position: relative; overflow: hidden; color: #fff; padding: 30px 0 36px;
  background: radial-gradient(120% 90% at 85% 10%, #2340b8 0%, rgba(35,64,184,0) 55%), linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 46px solid rgba(211,45,21,.85); opacity: .9; pointer-events: none; }
.hero .grid { position: relative; z-index: 1; display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .hero { padding: 54px 0 60px; } .hero .grid { grid-template-columns: 1.15fr .85fr; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; margin: 0 0 12px; }
.hero .eyebrow::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red); }
.hero h1 { font-size: clamp(30px, 7.4vw, 50px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -.6px; text-wrap: balance; font-style: italic; font-weight: 900; }
.hero h1 em { color: #ff5a3c; font-style: italic; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; text-decoration-thickness: 3px; }
.hero p.lead { font-size: 17px; opacity: .92; margin: 0 0 22px; max-width: 38ch; }
.hero .ctas { display: grid; gap: 10px; max-width: 460px; }
@media (min-width: 520px) { .hero .ctas { grid-template-columns: 1fr 1fr; } }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; opacity: .92; }
.hero .trust li { display: flex; align-items: center; gap: 6px; }
.hero .trust svg { width: 18px; height: 18px; color: #7fe0b0; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -28px rgba(0,0,0,.65); }
.hero-photo .tag { position: absolute; left: -10px; bottom: 18px; background: #fff; color: var(--fg); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); max-width: 78%; }
.hero-photo .tag b { color: var(--navy); display: block; font-size: 15px; }
@media (max-width: 859px) { .hero-photo { width: min(100%, 360px); } .hero-photo .tag { left: 10px; } }

section.block { padding: 40px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block h2 { font-size: clamp(23px, 5vw, 30px); line-height: 1.15; margin: 0 0 6px; color: var(--night); letter-spacing: -.3px; }
.kicker { color: var(--red); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; margin: 0 0 6px; }
section.block .intro { margin: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* Services : bannières officielles, cliquables */
.services { display: grid; gap: 16px; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: grid; background: var(--night); color: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 18px 40px -26px rgba(10,23,72,.8); transition: transform .15s ease; }
.service:hover { transform: translateY(-2px); }
.service img { display: block; width: 100%; aspect-ratio: 1280 / 418; object-fit: cover; }
.service .body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.service .body b { display: block; font-size: 17px; }
.service .body span.s { font-size: 13.5px; opacity: .85; }
.service .go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--red); }
.service .go svg { width: 20px; height: 20px; }

/* Boutiques */
.shops { display: grid; gap: 14px; }
@media (min-width: 760px) { .shops { grid-template-columns: 1fr 1fr; } }
.shop-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; align-content: start; border-top: 5px solid var(--navy); }
.shop-card:nth-child(2) { border-top-color: var(--red); }
.shop-card h3 { margin: 0; font-size: 20px; color: var(--night); display: flex; align-items: center; gap: 8px; }
.shop-card h3 svg { width: 22px; height: 22px; color: var(--red); }
.shop-card .addr { margin: 0; font-weight: 700; }
.shop-card .hours { margin: 0; color: var(--muted); font-size: 14.5px; }
.shop-card .row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Étapes */
.steps4 { display: grid; gap: 12px; margin: 18px 0 0; counter-reset: s; padding: 0; }
@media (min-width: 760px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; counter-increment: s; }
.steps4 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; margin-bottom: 8px; }
.steps4 li:nth-child(2)::before { background: var(--red); }
.steps4 b { display: block; margin-bottom: 2px; }

/* Atelier en photos */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--navy-soft); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(10,23,72,.85)); }
.pc-band { display: grid; gap: 16px; align-items: center; margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
@media (min-width: 760px) { .pc-band { grid-template-columns: 1fr 1fr 1.3fr; } }
.pc-band img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.pc-band h3 { margin: 0 0 6px; color: var(--night); font-size: 19px; }

/* Prix */
.tabs { display: inline-flex; background: var(--navy-soft); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.tabs button { border: 0; background: transparent; border-radius: 9px; padding: 9px 14px; font-weight: 800; font-size: 14px; color: var(--navy); min-height: 40px; }
.tabs button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 6px -2px rgba(10,23,72,.35); color: var(--night); }
.prices { display: grid; gap: 8px; }
@media (min-width: 720px) { .prices { grid-template-columns: 1fr 1fr; } }
.price { display: flex; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.price span:last-child { font-weight: 800; color: var(--navy); white-space: nowrap; }

/* Pied de page */
footer.site { background: var(--night); color: #cfd5ee; padding: 30px 0 40px; margin-top: 10px; font-size: 14px; }
footer.site .cols { display: grid; gap: 20px; }
@media (min-width: 760px) { footer.site .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
#footShops { display: contents; }
footer.site .brand { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 12px; }
footer.site .brand img { height: 44px; width: auto; display: block; }
footer.site h3 { color: #fff; font-size: 15px; margin: 0 0 6px; }
footer.site .slogan { color: #fff; font-weight: 800; font-style: italic; font-size: 16px; }
footer.site p { margin: 0 0 4px; }
footer.site a { color: #fff; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 22px; padding-top: 14px; color: #9aa3c7; }
footer { padding: 26px 0 40px; color: var(--muted); font-size: 14px; }

/* Cartes et formulaires */
.page { padding: 20px 0 48px; }
.page h1 { font-size: 26px; line-height: 1.15; margin: 4px 0 6px; color: var(--night); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stack { display: grid; gap: 14px; }
.stack > * { min-width: 0; }
label.f { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
label.f .hint, .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
input[type=text], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c8cce0; border-radius: 12px; background: #fff; font-size: 16px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(60,62,139,.2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.err { color: var(--danger); font-weight: 700; margin: 0; }
.err:empty { display: none; }
.notice { border-radius: 12px; padding: 12px 14px; background: var(--navy-soft); color: var(--navy-2); font-size: 15px; }
.notice.orange { background: var(--red-soft); color: var(--orange-ink); }
.notice.green { background: var(--green-soft); color: #145c3d; }
.notice.red { background: var(--red-soft); color: var(--danger); }
.trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Étapes du formulaire */
.progress { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 6px; margin: 14px 0 18px; list-style: none; padding: 0; }
.progress li { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.progress li::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 6px; }
.progress li.done::before, .progress li.now::before { background: var(--navy); }
.progress li.now { color: var(--navy); }
.choices { display: grid; gap: 8px; }
.choice { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: center; border: 1.5px solid #c8cce0; border-radius: 12px; padding: 11px 14px; background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.choice .l { font-weight: 600; line-height: 1.3; }
.choice .p { grid-column: 2; font-size: 13px; color: var(--muted); }
/* Grandes cartes de choix : boutique, appareil, remise */
.bigchoices { display: grid; gap: 10px; }
@media (min-width: 560px) { .bigchoices.two { grid-template-columns: 1fr 1fr; } }
.bigchoice { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; align-items: start; border: 2px solid #c8cce0; border-radius: 14px; padding: 14px; background: #fff; cursor: pointer; }
.bigchoice input { position: absolute; opacity: 0; pointer-events: none; }
.bigchoice .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.bigchoice .ic svg { width: 24px; height: 24px; }
.bigchoice b { font-size: 16.5px; color: var(--night); }
.bigchoice .d { font-size: 13.5px; color: var(--muted); }
.bigchoice:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); box-shadow: 0 0 0 2px var(--navy) inset; }
.bigchoice:has(input:checked) .ic { background: var(--navy); color: #fff; }
.bigchoice:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.chosen { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--navy-soft); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--navy-2); }
.chosen b { color: var(--night); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid #c8cce0; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 4px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ph { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--navy-soft); border: 1.5px dashed #a3a8d6; display: grid; place-items: center; text-align: center; font-size: 13px; color: var(--navy); font-weight: 700; padding: 6px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph button.rm { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-weight: 800; }
.ph label { cursor: pointer; display: grid; gap: 4px; place-items: center; width: 100%; height: 100%; }
.ph svg { width: 28px; height: 28px; }

/* Confirmation et suivi */
.bignum { font-size: clamp(26px, 8vw, 38px); font-weight: 900; letter-spacing: .5px; color: var(--night); text-align: center; margin: 4px 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.success-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 8px; }
.success-ico svg { width: 32px; height: 32px; }
.status-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 14px; background: var(--navy-soft); color: var(--navy); }
.badge.pret, .badge.recupere { background: var(--green-soft); color: #145c3d; }
.badge.devis_envoye { background: var(--red-soft); color: var(--orange-ink); }
.badge.annule { background: var(--red-soft); color: var(--danger); }
.timeline { list-style: none; padding: 0; margin: 6px 0 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding-bottom: 16px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::after { background: var(--green); }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #fff; border: 2px solid var(--line); color: var(--muted); z-index: 1; }
.timeline .done .dot, .timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.now .dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px var(--red-soft); }
.timeline .t { font-weight: 800; padding-top: 4px; }
.timeline li.todo .t { color: var(--muted); font-weight: 600; }
.timeline .d { font-size: 13px; color: var(--muted); }
.estimate { border: 2px solid var(--red); background: var(--red-soft); border-radius: var(--radius); padding: 16px; }
.estimate .amount { font-size: 30px; font-weight: 900; color: var(--fg); margin: 2px 0 4px; }
.estimate .btns { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 520px) { .estimate .btns { grid-template-columns: 1fr 1fr; } }
dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 15px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.saved { display: grid; gap: 8px; }
.saved button { display: flex; justify-content: space-between; gap: 10px; text-align: left; width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.saved button b { color: var(--navy); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--fg); color: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 700; z-index: 50; max-width: calc(100% - 32px); }
.spin { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .service { transition: none; } }
.m0 { margin: 0; }
.mt4 { margin: 4px 0 0; }
.strong { font-weight: 700; }
.mt16 { margin-top: 16px; }
.h2 { font-size: 19px; margin: 0; color: var(--night); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.card.center .row, .center .row { justify-content: center; }
.ico { width: 20px; height: 20px; flex: none; vertical-align: -4px; }

/* Parcours de devis en 7 étapes : étape à gauche, récapitulatif en direct à droite (en haut, repliable, sur téléphone) */
.page .wrap.funnel-wrap { width: min(1080px, 100%); }
.progress.seven { gap: 4px; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); margin-bottom: 14px; }
.progress.seven li { min-width: 0; }
.progress.seven li .lbl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .progress.seven li .lbl { display: none; } .progress.seven li::before { margin-bottom: 0; } }
.done-box { width: min(640px, 100%); margin: 0 auto; }
.funnel { display: grid; gap: 14px; align-items: start; }
.funnel .main { min-width: 0; }
@media (max-width: 899px) { .funnel .recap { order: -1; } }
@media (min-width: 900px) { .funnel { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; } .funnel .recap { position: sticky; top: 80px; } }
.stephead { display: grid; gap: 4px; }
.stephead .kicker { margin: 0; }
.h2.big { font-size: clamp(20px, 5vw, 24px); line-height: 1.2; }
.recap { padding: 0; overflow: hidden; }
.recap summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 800; color: var(--night); cursor: pointer; }
.recap summary::-webkit-details-marker { display: none; }
.recap[open] summary { border-bottom: 1px solid var(--line); }
.recap[open] .chev { transform: rotate(180deg); }
.recap > .stack { padding: 14px 16px 16px; gap: 10px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.lines li { display: flex; justify-content: space-between; gap: 10px; }
.lines li b { white-space: nowrap; color: var(--navy); }
.lines.good li b, .good { color: var(--green); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 2px solid var(--night); padding-top: 10px; font-weight: 800; color: var(--night); flex-wrap: wrap; }
.total b { font-size: 18px; color: var(--red); }
.total.big { border: 2px solid var(--night); border-radius: 14px; padding: 12px 14px; background: var(--navy-soft); }
.total.big b { font-size: 20px; }
/* Types d'appareil */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: grid; place-items: center; gap: 6px; text-align: center; border: 2px solid #c8cce0; border-radius: 14px; padding: 16px 8px; background: #fff; cursor: pointer; min-height: 104px; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile svg { width: 34px; height: 34px; color: var(--navy); }
.tile b { font-size: 14.5px; color: var(--night); line-height: 1.2; }
.tile:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); box-shadow: 0 0 0 2px var(--navy) inset; }
.tile:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
/* Marques et modèles : cartes cliquables */
.brands, .models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } .models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand, .model { display: grid; gap: 2px; align-content: center; text-align: left; border: 1.5px solid #c8cce0; background: #fff; border-radius: 12px; padding: 12px; min-height: 56px; }
.brand b, .model b { color: var(--night); font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.brand .n { font-size: 12.5px; color: var(--muted); }
.brand:hover, .model:hover { border-color: var(--navy); }
.brand[aria-pressed="true"], .model[aria-pressed="true"] { border-color: var(--navy); background: var(--navy-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.brand.other, .model.other { border-style: dashed; background: var(--bg); }
.model.other b { color: var(--navy); font-size: 14px; }
/* Pannes et accessoires : cases à cocher */
.groups { display: grid; gap: 8px; }
details.group { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
details.group summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 14px; font-weight: 800; color: var(--night); cursor: pointer; min-height: 48px; }
details.group summary::-webkit-details-marker { display: none; }
details.group summary .count { margin-left: auto; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 9px; }
details.group summary .count:empty { display: none; }
details.group summary .chev { margin-left: auto; color: var(--navy); }
details.group summary .count:not(:empty) + .chev { margin-left: 0; }
details.group[open] summary .chev { transform: rotate(180deg); }
details.group .picks { padding: 0 10px 10px; }
.picks { display: grid; gap: 8px; }
@media (min-width: 640px) { .picks { grid-template-columns: 1fr 1fr; } }
.pick { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: center; border: 1.5px solid #c8cce0; border-radius: 12px; padding: 11px 13px; background: #fff; cursor: pointer; }
.pick input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.pick .l { font-weight: 600; line-height: 1.3; }
.pick .p { grid-column: 2; font-size: 13px; color: var(--navy); font-weight: 700; }
.pick:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.bigchoice .fee { grid-column: 2; font-size: 13px; font-weight: 800; color: var(--navy); }
.codebox { border: 1.5px dashed #a3a8d6; border-radius: 14px; padding: 14px; background: var(--bg); }
.codebox .strong svg { color: var(--red); }
.inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.inline input { text-transform: uppercase; }
.price.more { text-decoration: none; background: var(--navy-soft); border-color: var(--navy-soft); color: var(--navy); font-weight: 700; }
@media (min-width: 720px) { .price.more { grid-column: 1 / -1; } }
