/* =========================================================
   La Boîte Répare — site public (propulsé par Atelio)
   ========================================================= */
:root {
  --orange: #ff6b00;
  --orange-600: #e85d00;
  --orange-700: #c24e00;
  --orange-50: #fff4ea;
  --orange-100: #ffe4cc;
  --ink: #1b1510;
  --ink-2: #2b221b;
  --ink-3: #3a2f26;
  --bg: #fffbf7;
  --surface: #ffffff;
  --surface-2: #faf5ef;
  --line: #efe5da;
  --line-2: #e3d6c8;
  --text: #1c1714;
  --muted: #76695e;
  --success: #15803d;
  --success-bg: #e8f7ee;
  --danger: #c2261d;
  --danger-bg: #fdecea;
  --info: #1d4ed8;
  --info-bg: #eaf0fe;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 21, 16, .05), 0 8px 28px rgba(27, 21, 16, .07);
  --shadow-lg: 0 24px 60px rgba(27, 21, 16, .16);
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.accent { color: var(--orange); }
.muted { color: var(--muted); }
.icon { flex-shrink: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 0, .32); }
.btn-primary:hover { background: var(--orange-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---------- En-tête ---------- */
.topbar {
  background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.topbar .dot.closed { background: #9ca3af; box-shadow: none; }
.topbar-links { display: flex; gap: 18px; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 247, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--orange); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 12px rgba(255, 107, 0, .35); transform: rotate(-4deg); }
.logo small { display: block; font-family: var(--font); font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: .02em; margin-top: -3px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-3); }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { color: var(--orange-700); background: var(--orange-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: var(--surface); }
.cart-btn:hover { border-color: var(--text); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); place-items: center; cursor: pointer; }

.mobile-nav { display: none; }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(255, 107, 0, .45) 0%, rgba(255, 107, 0, 0) 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(255, 140, 50, .18) 0%, transparent 70%),
    linear-gradient(180deg, #1d140d 0%, #160f09 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 107, 0, .14); color: #ffb27a; font-weight: 700; font-size: 13px; letter-spacing: .02em; border: 1px solid rgba(255, 107, 0, .3); }
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -.04em; line-height: .92; margin: 22px 0 22px; text-transform: uppercase; }
.hero h1 .accent { display: inline-block; position: relative; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--orange); border-radius: 4px; opacity: .35; }
.hero-lead { font-size: 19px; color: rgba(255, 255, 255, .78); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; font-weight: 600; }
.hero-pills .icon { color: var(--orange); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-visual .device-big { width: 230px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); transform: rotate(-8deg); }
.hero-card {
  position: absolute; background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: 14px; display: flex; gap: 12px; align-items: center;
}
.hero-card strong { display: block; font-size: 16px; }
.hero-card .bubble { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.hero-card.c1 { top: 14%; left: -4%; transform: rotate(-3deg); }
.hero-card.c2 { bottom: 12%; right: -2%; transform: rotate(2deg); }
.rating { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-size: 14px; margin-top: 4px; }
.rating .stars { display: flex; color: #ffb547; }
.rating .stars svg { fill: currentColor; }
.rating strong { color: #fff; font-size: 18px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 12px; display: block; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); }

/* Recherche de modèle */
.search-box { position: relative; max-width: 680px; }
.search-box.center { margin: 0 auto; }
.search-input {
  width: 100%; height: 64px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface);
  padding: 0 24px 0 58px; font-size: 17px; font-weight: 500; box-shadow: var(--shadow); outline: none; transition: border-color .15s;
}
.search-input:focus { border-color: var(--orange); }
.search-box > .icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 30; display: none; text-align: left;
}
.search-results.open { display: block; }
.search-results a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.focus { background: var(--orange-50); }
.search-results small { color: var(--muted); font-weight: 500; }
.search-results .empty { padding: 16px 20px; color: var(--muted); }

/* Cartes de services (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: 24px; padding: 30px; background: var(--surface);
  border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 250px; transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile h3 { font-size: 28px; font-weight: 800; }
.tile p { color: var(--muted); max-width: 340px; }
.tile .tile-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-700); }
.tile-big { grid-column: span 4; grid-row: span 2; background: var(--ink); color: #fff; border: 0; min-height: 520px; }
.tile-big p { color: rgba(255, 255, 255, .7); }
.tile-big .tile-link { color: #ffa45c; }
.tile-big::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 0, .55), transparent 65%); }
.tile-big .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.tile-big .chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 14px; }
.tile-big .big-number { font-family: var(--font-display); font-size: 92px; font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -.04em; position: relative; }
.tile-big .big-number small { font-size: 26px; color: #fff; letter-spacing: 0; }
.tile-orange { background: var(--orange); color: #fff; border: 0; }
.tile-orange p { color: rgba(255, 255, 255, .85); }
.tile-orange .tile-link { color: #fff; }
.tile-span2 { grid-column: span 2; }
.tile-span3 { grid-column: span 3; }
.tile .tile-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.tile-orange .tile-icon { background: rgba(255, 255, 255, .18); color: #fff; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--orange); display: block; margin-bottom: 8px; line-height: 1; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); margin: 0; }

/* Bande avis */
.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.stat span { color: var(--muted); font-weight: 600; }

/* ---------- Fil d'Ariane & parcours ---------- */
.page-hero { padding: 40px 0 8px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
.page-hero p.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--orange-700); }
.stepper { display: flex; gap: 8px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.stepper .s { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); }
.stepper .s b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 13px; }
.stepper .s.on { color: var(--text); border-color: var(--orange-100); background: var(--orange-50); }
.stepper .s.on b { background: var(--orange); color: #fff; }
.stepper .s.done b { background: var(--ink); color: #fff; }
.stepper .sep { width: 24px; height: 2px; background: var(--line-2); border-radius: 2px; }

/* Grilles de choix */
.grid { display: grid; gap: 16px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.choice {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.choice:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); }
.choice.active { border-color: var(--orange); background: var(--orange-50); }
.choice .choice-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; margin-bottom: 8px; }
.choice strong { font-size: 17px; }
.choice small { color: var(--muted); font-weight: 500; }
.brand-chip {
  display: flex; align-items: center; justify-content: center; height: 76px; border-radius: var(--radius-sm); background: var(--surface);
  border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; transition: all .15s;
}
.brand-chip:hover { border-color: var(--orange); color: var(--orange-700); transform: translateY(-2px); }
.model-card { align-items: center; text-align: center; padding: 22px 16px 18px; }
.model-card .device { width: 64px; height: 110px; margin: 4px auto 10px; }
.model-card .from { font-size: 14px; color: var(--muted); }
.model-card .from b { color: var(--text); font-size: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-pill { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.filter-pill:hover { border-color: var(--text); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Tarifs d'un modèle */
.repair-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.repair-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.repair-group h3 { font-size: 15px; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 18px 22px 10px; margin: 0; }
.repair-row {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line); cursor: pointer; transition: background .12s; user-select: none;
}
.repair-row:hover { background: var(--surface-2); }
.repair-row input { position: absolute; opacity: 0; pointer-events: none; }
.repair-row .tick { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; flex-shrink: 0; transition: all .12s; }
.repair-row.checked { background: var(--orange-50); }
.repair-row.checked .tick { background: var(--orange); border-color: var(--orange); color: #fff; }
.repair-row .name { flex: 1; font-weight: 600; }
.repair-row .name small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.repair-row .price { text-align: right; font-weight: 800; font-size: 17px; white-space: nowrap; }
.repair-row .price s { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.repair-row .price .devis { font-weight: 600; color: var(--muted); font-size: 15px; }
.tag-bonus { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 2px 8px; border-radius: 6px; background: var(--success-bg); color: var(--success); font-size: 12px; font-weight: 700; }
.summary { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lg); }
.summary h3 { font-size: 22px; }
.summary .device-name { color: rgba(255, 255, 255, .65); font-weight: 600; margin-bottom: 18px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 18px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 15px; }
.summary .empty { color: rgba(255, 255, 255, .5); padding: 10px 0 18px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 20px; }
.summary .total strong { font-family: var(--font-display); font-size: 40px; color: var(--orange); letter-spacing: -.03em; }
.summary .note { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 14px 0 0; text-align: center; }
.guarantee { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 14px; margin-top: 16px; }
.guarantee .icon { color: var(--orange); }

/* ---------- Boutique : produits ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.sidebar-filters { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sidebar-filters h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 10px; }
.sidebar-filters h4:first-child { margin-top: 0; }
.sidebar-filters label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; cursor: pointer; }
.sidebar-filters input[type=radio], .sidebar-filters input[type=checkbox] { accent-color: var(--orange); width: 18px; height: 18px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 42%, var(--orange-50), var(--surface-2) 70%); display: grid; place-items: center; position: relative; }
.product-media .device { width: 34%; }
.product-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.product-media .acc-visual { width: 46%; color: var(--orange); }
.product-media .grade { position: absolute; top: 14px; left: 14px; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.product-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.product-meta { color: var(--muted); font-size: 14px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.price-online { font-size: 13px; color: var(--success); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); }
.chip-success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.chip-orange { background: var(--orange); color: #fff; border-color: transparent; }
.chip-dark { background: var(--ink); color: #fff; border-color: transparent; }
.chip-muted { background: var(--surface-2); color: var(--muted); }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.select { height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); padding: 0 14px; font-weight: 600; }

/* Fiche produit */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp-media { border-radius: 28px; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, var(--orange-100), var(--surface-2) 70%); display: grid; place-items: center; position: sticky; top: 96px; overflow: hidden; }
.pdp-media .device { width: 36%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .18)); }
.pdp-media .acc-visual { width: 44%; color: var(--orange); }
.pdp-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.pdp .specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.grade-box { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.grade-scale { display: flex; gap: 6px; margin: 10px 0; }
.grade-scale span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--surface-2); font-weight: 800; font-size: 14px; color: var(--muted); }
.grade-scale span.on { background: var(--ink); color: #fff; }
.offer { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); padding: 24px; box-shadow: var(--shadow); }
.offer .price { font-size: 44px; }
.offer .stock { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 6px 0 4px; }
.offer .stock .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.offer .stock.out .dot { background: var(--danger); }
.offer-save { display: flex; gap: 12px; align-items: center; margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: var(--success-bg); color: #0f5a2c; font-size: 14px; }
.offer-save strong { font-size: 16px; }
.offer .actions { display: grid; gap: 10px; margin-top: 16px; }
.perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.perks .icon { color: var(--orange); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 18px; font-weight: 700; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 700; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; max-width: 760px; }

/* ---------- Formulaires ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card h2, .card h3 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.input, .textarea, select.input {
  width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface);
  padding: 0 14px; outline: none; transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 0, .12); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 14px; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.alert-error, .alert-danger { background: var(--danger-bg); color: var(--danger); }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-info { background: var(--info-bg); color: var(--info); }
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; margin-bottom: 12px; background: var(--surface); transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: var(--line-2); }
.radio-card input { accent-color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }
.radio-card.on { border-color: var(--orange); background: var(--orange-50); }
.radio-card .rc-body { flex: 1; }
.radio-card .rc-title { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 17px; }
.radio-card .rc-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.save-badge { background: var(--success); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }

/* RDV : boutiques + calendrier */
.shops-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 28px; }
.shop-card { border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; background: var(--surface); cursor: pointer; transition: all .15s; display: block; }
.shop-card:hover { border-color: var(--line-2); }
.shop-card.on { border-color: var(--orange); background: var(--orange-50); }
.shop-card h3 { font-size: 20px; margin-bottom: 4px; }
.shop-card p { margin: 0; color: var(--muted); font-size: 14px; }
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head strong { font-size: 18px; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border-radius: 12px; border: 0; background: var(--surface-2); font-weight: 700; cursor: pointer; transition: all .12s; }
.cal-day:hover:not(:disabled) { background: var(--orange-100); }
.cal-day:disabled { background: transparent; color: #cbbfb3; cursor: default; font-weight: 500; }
.cal-day.on { background: var(--orange); color: #fff; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 18px; }
.slot { height: 42px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; cursor: pointer; }
.slot:hover { border-color: var(--orange); }
.slot.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.slots-empty { color: var(--muted); padding: 18px 0; }
.recap-rdv { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--orange-50); margin-bottom: 18px; font-weight: 600; }
.recap-rdv .icon { color: var(--orange); }

/* Panier */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 84px; height: 84px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.cart-thumb .device { width: 32px; }
.cart-thumb .acc-visual { width: 44px; color: var(--orange); }
.cart-thumb img.photo { width: 100%; height: 100%; object-fit: cover; }
.cart-line .remove { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 8px; }
.cart-line .remove:hover { color: var(--danger); }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; }
.sum-row.total { font-size: 22px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.sum-row.save { color: var(--success); font-weight: 700; }

/* Confirmation */
.confirm { max-width: 640px; margin: 0 auto; text-align: center; }
.confirm .big-check { width: 84px; height: 84px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 22px; }
.confirm .recap { text-align: left; margin-top: 28px; }
.recap dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; margin: 0; }
.recap dt { color: var(--muted); font-weight: 600; }
.recap dd { margin: 0; font-weight: 700; }

/* Boutiques */
.shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.shop { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.shop h3 { font-size: 26px; margin: 0; }
.shop .line { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-3); }
.shop .line .icon { color: var(--orange); margin-top: 2px; }
.shop .status { font-weight: 700; font-size: 14px; }
.shop .status.open { color: var(--success); }
.shop .status.closed { color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table td { padding: 4px 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--orange-700); font-weight: 800; }
.shop .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }

/* Texte légal */
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin-top: 36px; }
.prose p, .prose li { color: var(--ink-3); }

/* ---------- CTA final & pied de page ---------- */
.cta-band { background: var(--orange); color: #fff; border-radius: 32px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .12); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 18px; }
.cta-band .btn { position: relative; z-index: 1; }

.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--orange); }
.footer-shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 32px; font-size: 14px; }
.footer-shops strong { color: #fff; display: block; font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 22px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.powered { color: rgba(255, 255, 255, .45); }
.powered b { color: rgba(255, 255, 255, .8); }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 20px; z-index: 100; border: 1px solid var(--line); display: none; }
.cookie.show { display: block; }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie .actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 600; z-index: 200; transition: transform .3s; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .icon { color: var(--orange); }

/* Barre mobile fixe (récap tarifs) */
.mobile-total { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header .wrap { justify-content: space-between; }
  .mobile-nav.open { display: block; position: fixed; inset: 72px 0 0; background: var(--bg); z-index: 49; padding: 20px; overflow-y: auto; }
  .mobile-nav a { display: block; padding: 16px 4px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-big { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .tile-span2, .tile-span3 { grid-column: span 1; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-visual { min-height: 320px; }
  .hero-visual .device-big { width: 170px; }
  .repair-layout, .cart-layout, .booking, .pdp, .shop-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .sidebar-filters, .pdp-media { position: static; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .section { padding: 64px 0; }
  .header-actions .btn-rdv-label { display: none; }
  .mobile-total { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); color: #fff; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-total strong { font-size: 22px; color: var(--orange); font-family: var(--font-display); }
  body.has-mobile-total { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar-links { display: none; }
  .bento, .products, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tile-big { grid-column: auto; }
  .tile-big .big-number { font-size: 68px; }
  .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .row-2, .row-3 { grid-template-columns: 1fr; gap: 0; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line .cart-thumb { width: 64px; height: 64px; }
  .cart-line .qty, .cart-line .line-price { grid-column: 2; }
  .hero-card.c1 { left: 0; }
  .hero-card.c2 { right: 0; }
  .recap dl { grid-template-columns: 1fr; gap: 2px; }
  .recap dd { margin-bottom: 10px; }
  .header .wrap { gap: 10px; }
  .logo { font-size: 17px; }
  .logo small { display: none; }
}

/* ---------- Contenus modifiables, bandeau d'annonce ---------- */
.hero h1 b, .section-head h2 b { color: var(--orange); font-weight: inherit; }
.annonce { background: var(--ink); color: #fff; text-align: center; font-weight: 600; font-size: 14px; padding: 9px 0; }
.annonce a { color: var(--orange); text-decoration: underline; }
.footer-social { display: flex; gap: 14px; margin-top: 12px; }
.footer-social a { font-weight: 700; color: var(--orange); }
