/* Habillage des pages du site (catalogue, fiche, réparation) : fond clair et net, panneaux sombres arrondis,
   logo en haut et dock en bas à la place de la barre d'onglets. Le bois reste réservé à la page d'accueil.
   Cette feuille se charge après les styles de chaque page et ne touche à aucun script. */

/* Une seule famille de caractères pour tout le site : les deux noms déjà utilisés par les pages pointent vers elle */
@font-face{font-family:"Montserrat";src:url(hb-bricolage.woff2) format("woff2");font-weight:200 900;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(hb-bricolage-etroit.woff2) format("woff2");font-weight:200 900;font-display:swap}
@font-face{font-family:"Bricolage";src:url(hb-bricolage.woff2) format("woff2");font-weight:200 900;font-display:swap}

/* Le vert du logo : clair sur les panneaux sombres, plus soutenu sur fond clair pour rester lisible */
html:root{
  --green:#6f9a12 !important; --green-d:#4f7208 !important; --green-l:#aede22 !important; --green-xl:#cdf25a !important;
  --cream:#eef0ec; --cream-2:#e2e5df; --paper:#f6f7f4;
  --ink:#0e1012; --ink-2:#2a2e30; --muted:#626864; --wood-dark:#131517; --line:rgba(14,16,18,.12);
  --hb-fond:#eef0ec; --hb-mat:#131517; --hb-silk:#f4f5f2; --hb-silk-2:#a7adab; --hb-lime:#aede22;
  --hb-ease:cubic-bezier(.2,.8,.2,1); --hb-ressort:cubic-bezier(.2,1.3,.3,1);
}
html{background:var(--hb-fond)}
body{background:var(--hb-fond) !important;background-attachment:scroll !important;padding:84px 0 112px !important;min-height:100vh;box-sizing:border-box}
.wood-bg{display:none !important}

/* L'ancienne barre et son menu mobile laissent la place au logo et au dock */
nav.nav,.mn-burger,.mn-drawer,.mn-overlay,.mn-call,.nav-icon-drop,#tweaks{display:none !important}
body.mn-locked{overflow:auto !important}

/* Les bandes claires se fondent dans la page ; les bandes sombres deviennent des panneaux arrondis */
.section-cream,.section-paper{background:transparent !important;border:0 !important}
.produit-page{padding-top:8px !important;min-height:0 !important;background:transparent !important}
body>header.hero,.section-dark,body>footer.footer{margin:0 10px 10px !important;border:0 !important;border-radius:28px;overflow:clip;
  background:radial-gradient(120% 150% at 88% -30%,rgba(174,222,34,.17),transparent 56%),radial-gradient(90% 120% at 0% 120%,rgba(120,130,255,.1),transparent 60%),var(--hb-mat) !important;
  box-shadow:0 1px 2px rgba(14,16,18,.2),0 24px 44px -24px rgba(14,16,18,.55)}
body>header.hero{padding-top:34px !important}
body>footer.footer{margin-bottom:0 !important}
.catalog-tight{padding-top:26px !important}
#catalogResultsCount{display:none !important}

/* Le panneau du catalogue : titre, recherche, marques et budget sur fond sombre */
.hero-vente-compact{color:var(--hb-silk);padding-bottom:30px !important;border-bottom:0 !important}
.hero-vente-compact .hvc-title{color:var(--hb-silk) !important}
.hero-vente-compact .hvc-title .green{color:var(--hb-lime) !important}
.hero-vente-compact .hvc-sub{color:var(--hb-silk-2) !important}
.hero-vente-compact .hvc-eyebrow{background:rgba(174,222,34,.13) !important;color:var(--hb-lime) !important;border-color:transparent !important}
.hero-vente-compact .filter{transition:transform .2s var(--hb-ressort),background .2s,color .2s}
.hero-vente-compact .filter:active{transform:scale(.94)}
.hero-vente-compact .filter.active{background:var(--hb-lime) !important;color:#0e1012 !important;box-shadow:0 8px 20px -8px rgba(174,222,34,.7) !important}
.hero-title .outline{-webkit-text-stroke:0 !important;color:rgba(244,245,242,.5) !important}

/* Les cartes du catalogue gardent la forme et l'effet 3D du site actuel ; l'habillage n'y ajoute que le masquage par budget */
.phone-card.hb-hors{display:none !important}
.hb-vide{margin:10px 0 0;padding:26px 22px;border-radius:22px;background:#fff;color:var(--ink-2);font:600 16px/1.45 "Bricolage",system-ui,sans-serif;text-align:center;box-shadow:0 1px 2px rgba(14,16,18,.06)}

/* La jauge de budget : on glisse, le catalogue suit */
.catalog-price-filter.hb-on{display:block !important}
.catalog-price-filter.hb-on .cpf-label,.catalog-price-filter.hb-on .cpf-btn{display:none !important}
.hb-jauge{max-width:600px;margin-top:6px;font-family:"Bricolage",system-ui,sans-serif;color:var(--hb-silk)}
.hb-j-tete{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.hb-j-lib{font-size:14px;font-weight:700;color:var(--hb-silk-2)}
.hb-j-val{font:800 30px/1 "Barlow Condensed","Bricolage",sans-serif;color:var(--hb-lime);font-variant-numeric:tabular-nums}
.hb-j-nb{margin-left:auto;font-size:14.5px;font-weight:700;color:var(--hb-silk);font-variant-numeric:tabular-nums}
.hb-j-zone{position:relative;margin-top:10px;padding-top:34px}
.hb-j-histo{position:absolute;left:17px;right:17px;top:0;height:46px;display:flex;align-items:flex-end;gap:3px}
.hb-j-histo i{flex:1;min-width:0;height:6%;border-radius:4px 4px 1px 1px;background:rgba(244,245,242,.2);cursor:pointer;transition:height .5s var(--hb-ressort),background .25s,opacity .25s}
.hb-j-histo i.on{background:var(--hb-lime)}
.hb-j-histo i.vide{opacity:.45}
.hb-j-range{-webkit-appearance:none;appearance:none;display:block;width:100%;height:44px;margin:0;padding:0;background:none;cursor:grab;touch-action:pan-y;--p:100%}
.hb-j-range:active{cursor:grabbing}
.hb-j-range::-webkit-slider-runnable-track{height:12px;border-radius:999px;background:linear-gradient(90deg,var(--hb-lime) var(--p),rgba(244,245,242,.18) var(--p))}
.hb-j-range::-moz-range-track{height:12px;border-radius:999px;background:rgba(244,245,242,.18)}
.hb-j-range::-moz-range-progress{height:12px;border-radius:999px;background:var(--hb-lime)}
.hb-j-range::-webkit-slider-thumb{-webkit-appearance:none;width:34px;height:34px;margin-top:-11px;border:0;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 9px #fff,inset 0 0 0 17px var(--hb-lime),0 2px 4px rgba(0,0,0,.35),0 10px 20px -6px rgba(0,0,0,.6);transition:transform .2s var(--hb-ressort)}
.hb-j-range::-moz-range-thumb{width:34px;height:34px;border:0;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 9px #fff,inset 0 0 0 17px var(--hb-lime),0 2px 4px rgba(0,0,0,.35),0 10px 20px -6px rgba(0,0,0,.6)}
.hb-j-range:active::-webkit-slider-thumb{transform:scale(1.14)}
.hb-j-range:focus-visible{outline:none}
.hb-j-range:focus-visible::-webkit-slider-thumb{box-shadow:inset 0 0 0 9px #fff,inset 0 0 0 17px var(--hb-lime),0 0 0 4px rgba(174,222,34,.55)}
.hb-j-bornes{display:flex;justify-content:space-between;margin-top:-2px;font-size:13px;font-weight:600;color:var(--hb-silk-2);font-variant-numeric:tabular-nums}
.hb-jauge.hb-attente{opacity:.4;pointer-events:none}

/* Le logo, en haut à gauche */
.hb-logo{position:fixed;top:14px;left:18px;z-index:95;display:flex;align-items:center;gap:9px;height:48px;padding:0 14px 0 10px;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(14,16,18,.18),0 10px 22px -8px rgba(14,16,18,.4);text-decoration:none}
.hb-logo img{display:block;height:34px;width:auto}
.hb-logo img+img{height:26px}

/* Le dock : toujours sous le pouce, la rubrique en cours y déplie son nom */
.hb-dock{position:fixed;left:50%;bottom:16px;z-index:95;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:7px;border-radius:25px;background:rgba(18,20,22,.8);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);box-shadow:0 2px 3px rgba(14,16,18,.3),0 20px 40px -12px rgba(14,16,18,.6),inset 0 0 0 1px rgba(255,255,255,.14),inset 0 1px 0 rgba(255,255,255,.1)}
.hb-dock a{display:flex;align-items:center;justify-content:center;height:50px;min-width:50px;padding:0 13px;border-radius:18px;color:#f4f5f2;font:700 15.5px/1 "Bricolage",system-ui,sans-serif;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s var(--hb-ressort)}
.hb-dock a:active{transform:scale(.92)}
.hb-dock svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hb-dock span{display:none;margin-left:9px}
.hb-dock a[aria-current] span,.hb-dock .hb-call span{display:inline}
.hb-dock a[aria-current]{background:#f4f5f2;color:#0e1012}
.hb-dock .hb-call{margin-left:5px;background:linear-gradient(#cdf25a,#9ccd1c);color:#0e1012;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.hb-dock a:focus-visible,.hb-logo:focus-visible,.hb-retour:focus-visible{outline:3px solid var(--hb-lime);outline-offset:3px}
@media(hover:hover){.hb-dock a:not([aria-current]):not(.hb-call):hover{background:rgba(255,255,255,.1)}}

/* Sur la fiche d'un téléphone, la barre de réservation garde le bas de l'écran : pas de dock, un retour au catalogue */
.hb-retour{position:fixed;top:14px;right:12px;z-index:95;display:flex;align-items:center;gap:8px;height:48px;padding:0 16px 0 12px;border-radius:999px;background:rgba(16,17,19,.92);color:#f4f5f2;font:700 15px/1 "Bricolage",system-ui,sans-serif;text-decoration:none;box-shadow:0 2px 3px rgba(14,16,18,.3),0 12px 24px -8px rgba(14,16,18,.5)}
.hb-retour svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.hb-fiche{padding-bottom:10px !important}

/* Le mouvement : une arrivée en cascade, puis des réponses aux gestes */
@keyframes hbTombe{from{opacity:0;transform:translateY(-18px)}}
@keyframes hbMonte{from{opacity:0;transform:translateY(18px)}}
@keyframes hbCarte{from{opacity:0;transform:translateY(26px) scale(.97)}}
@keyframes hbDock{from{opacity:0;transform:translate(-50%,160%)}}
@media(prefers-reduced-motion:no-preference){
  .hb-logo,.hb-retour{animation:hbTombe .6s .05s var(--hb-ease) both}
  .hb-dock{animation:hbDock .8s .35s var(--hb-ressort) both}
  body>header.hero{animation:hbTombe .7s var(--hb-ease) both}
  .hero-vente-compact .hvc-eyebrow{animation:hbMonte .6s .12s var(--hb-ease) both}
  .hero-vente-compact .hvc-title{animation:hbMonte .7s .18s var(--hb-ease) both}
  .hero-vente-compact .hvc-sub{animation:hbMonte .6s .26s var(--hb-ease) both}
  .hero-vente-compact .hvc-search-row{animation:hbMonte .6s .32s var(--hb-ease) both}
  .hero-vente-compact .catalog-filters,.hero-vente-compact .hvc-filters{animation:hbMonte .6s .38s var(--hb-ease) both}
  .hero-vente-compact .catalog-price-filter{animation:hbMonte .6s .44s var(--hb-ease) both}
  .catalog-grid.hb-anim>.phone-card:not(.hb-hors){animation:hbCarte .6s var(--hb-ease) both;animation-delay:calc(var(--hb-i,0)*50ms)}
  .phone-card.hb-entre{animation:hbCarte .45s var(--hb-ease) both}
}
@media(prefers-reduced-motion:reduce){.hb-j-histo i{transition:none !important}}

@media(max-width:900px){.hb-dock .hb-xs{display:none}.hb-dock .hb-call span{display:none}.hb-dock .hb-call{min-width:50px;padding:0}.hb-j-val{font-size:27px}}
@media(min-width:901px){body{padding:96px 0 122px !important}body>header.hero,.section-dark,body>footer.footer{margin-left:26px !important;margin-right:26px !important;border-radius:34px}body.hb-fiche{padding-bottom:26px !important}}
@media print{.hb-dock,.hb-logo,.hb-retour{display:none}body{background:#fff !important;padding:0 !important}}

/* La jauge reste sous la main quand le panneau du catalogue est sorti de l'écran */
.hb-budget{position:fixed;top:14px;right:12px;z-index:95;height:48px;padding:0 16px;border:0;border-radius:999px;background:rgba(16,17,19,.92);color:#f4f5f2;font:700 15px/1 "Bricolage",system-ui,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;box-shadow:0 2px 3px rgba(14,16,18,.3),0 12px 24px -8px rgba(14,16,18,.5)}
.hb-budget::before{content:"";display:inline-block;width:9px;height:9px;margin-right:9px;border-radius:50%;background:var(--hb-lime)}
.hb-budget[hidden],.hb-budget-pop[hidden]{display:none !important}
.hb-budget-pop{position:fixed;top:70px;right:12px;z-index:95;width:min(360px,calc(100vw - 24px));box-sizing:border-box;padding:16px 16px 6px;border-radius:22px;background:var(--hb-mat);color:var(--hb-silk);font-family:"Bricolage",system-ui,sans-serif;box-shadow:0 2px 3px rgba(14,16,18,.3),0 24px 44px -14px rgba(14,16,18,.65)}
.hb-budget-pop .hb-j-val{font-size:25px}
.hb-budget:focus-visible{outline:3px solid var(--hb-lime);outline-offset:3px}

/* La panne comme porte d'entrée (page réparation) */
.hb-pannes{padding:30px 0 10px;font-family:"Bricolage",system-ui,sans-serif;color:var(--ink)}
.hb-p-titre{margin:0;font:800 clamp(34px,5vw,56px)/.95 "Barlow Condensed","Bricolage",sans-serif;letter-spacing:-.01em;color:var(--ink)}
.hb-p-sous{margin:10px 0 18px;max-width:36em;font-size:16.5px;line-height:1.45;color:var(--ink-2)}
.hb-p-choix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hb-p-choix button{display:block;padding:16px 16px 15px;border:0;border-radius:20px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(14,16,18,.06),0 12px 24px -18px rgba(14,16,18,.4);transition:transform .25s var(--hb-ressort),background .2s,color .2s,box-shadow .25s}
.hb-p-choix b{display:block;font:800 21px/1.05 "Barlow Condensed","Bricolage",sans-serif}
.hb-p-choix span{display:block;margin-top:5px;font-size:14px;line-height:1.3;color:var(--muted)}
.hb-p-choix button:active{transform:scale(.96)}
.hb-p-choix button[aria-pressed="true"]{background:var(--hb-mat);color:var(--hb-silk);box-shadow:inset 0 0 0 2px var(--hb-lime),0 16px 30px -18px rgba(14,16,18,.6)}
.hb-p-choix button[aria-pressed="true"] span{color:var(--hb-silk-2)}
.hb-p-choix button:focus-visible,.hb-p-btn:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.hb-p-fiche{margin-top:12px;padding:22px 20px;border-radius:24px;background:#fff;box-shadow:0 1px 2px rgba(14,16,18,.06),0 20px 36px -24px rgba(14,16,18,.45)}
.hb-p-fiche[hidden]{display:none}
.hb-p-fiche h3{margin:0 0 12px;font:800 30px/1 "Barlow Condensed","Bricolage",sans-serif;color:var(--ink)}
.hb-p-fiche dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.hb-p-fiche dl div{padding:12px 14px;border-radius:16px;background:var(--hb-fond)}
.hb-p-fiche dt{font-size:13.5px;font-weight:700;color:var(--muted)}
.hb-p-fiche dd{margin:3px 0 0;font:800 22px/1.1 "Barlow Condensed","Bricolage",sans-serif;color:var(--green-d)}
.hb-p-fiche p{margin:12px 0 0;font-size:15.5px;line-height:1.45;color:var(--ink-2)}
.hb-p-go{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.hb-p-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border-radius:999px;background:linear-gradient(#cdf25a,#9ccd1c);color:#0e1012;font-weight:800;font-size:16px;text-decoration:none}
.hb-p-btn.hb-p-ligne{background:none;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.hb-p-fiche .hb-p-note{font-size:13.5px;color:var(--muted)}
@media(min-width:760px){.hb-p-choix{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-p-fiche{padding:28px}}

/* Sur la fiche : ce qui rassure, juste au-dessus du bouton */
.pv-foot .hb-rassure{position:absolute;left:0;right:0;bottom:100%;margin:0;padding:7px 14px;border-radius:14px 14px 0 0;background:rgba(244,245,242,.97);color:#2a2e30;font:600 13px/1.3 "Bricolage",system-ui,sans-serif;text-align:center;box-shadow:0 -8px 18px -12px rgba(14,16,18,.4)}

@media(prefers-reduced-motion:no-preference){
  .hb-budget:not([hidden]){animation:hbTombe .4s var(--hb-ease) both}
  .hb-budget-pop:not([hidden]){animation:hbTombe .3s var(--hb-ease) both}
  .hb-p-fiche.hb-in{animation:hbMonte .45s var(--hb-ease) both}
}

/* Dernières petites tailles posées directement sur les balises */
[style*="font-size:9px"],[style*="font-size:10px"],[style*="font-size:11px"],[style*="font-size:12px"]{font-size:13px !important}
/* Le badge « neuf » passe sous la remise au lieu de se glisser dessous */
.phone-card:has(.pc-discount) .pc-badge-neuf{top:46px}
/* Un lien direct vers une panne s'arrête sous le logo */
#panne{scroll-margin-top:86px}
/* La bande qui rassure a sa place : le dernier choix de l'étape reste visible */
.hb-ras-on .pv-foot{margin-top:calc(28px + var(--hb-ras,32px))}
@media(max-width:980px){.hb-ras-on .pv-on{padding-bottom:calc(112px + var(--hb-ras,48px))}}
/* Sur téléphone, le panneau de recherche se resserre : les premiers téléphones se voient sans faire défiler */
@media(max-width:680px){
  body>header.hero.hero-vente-compact{padding-top:22px !important;padding-bottom:16px !important}
  .hero-vente-compact .hvc-eyebrow{display:none !important}
  .hero-vente-compact .hvc-title{margin-bottom:6px}
  .hero-vente-compact .hvc-sub{margin-bottom:12px}
  .hero-vente-compact .hvc-search-row{grid-template-columns:minmax(0,1fr) 138px !important;gap:8px;margin-bottom:10px}
  .hero-vente-compact .hvc-search{gap:8px;padding-left:12px;padding-right:10px;min-width:0}
  .hero-vente-compact .hvc-search input{min-width:0}
  .hero-vente-compact .hvc-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 2px 8px;margin-bottom:2px}
  .hero-vente-compact .hvc-filters::-webkit-scrollbar{display:none}
  .hero-vente-compact .hvc-filters .filter{flex:0 0 auto}
  .hero-vente-compact .hvc-prices{margin-top:0 !important;margin-bottom:0}
  .hb-jauge{margin-top:0}
  .hb-j-zone{margin-top:6px;padding-top:22px}
  .hb-j-histo{height:32px}
  .hb-j-lib{display:none}
  .hb-j-tete{flex-wrap:nowrap;gap:8px}
  .hb-j-nb{white-space:nowrap}
}
/* Sur téléphone, la fiche ne dépasse jamais l'écran et les trois étapes tiennent dans la largeur */
@media(max-width:980px){.produit-grid{grid-template-columns:minmax(0,1fr) !important}}
@media(max-width:560px){
  .pv-rail{grid-template-columns:auto auto auto !important;justify-content:space-between;gap:4px}
  .pv-rail button{letter-spacing:0;text-transform:none;gap:5px;padding:6px 3px;font-size:13.5px}
  .pv-rail button b{width:22px;height:22px}
}
@media(max-width:359px){.pv-rail button b{display:none}.pv-rail button{padding:6px 4px}}
/* Sur la fiche, le bas de page (mentions, CGV) reste lisible au-dessus de la barre de réservation */
@media(max-width:980px){.hb-ras-on body>footer.footer{padding-bottom:calc(104px + var(--hb-ras,48px)) !important}}

/* ───────── Pages allégées : les blocs de lecture vivent sur la page Garanties ───────── */
/* Les titres de bloc perdent leur gros numéro : la page n'a plus que quelques blocs */
.sec-num{display:none !important}
.sec-head{grid-template-columns:1fr !important;gap:10px !important;margin-bottom:34px !important}
.section.section-cream,.section.section-paper{padding-top:clamp(40px,6vw,76px) !important;padding-bottom:clamp(14px,3vw,34px) !important}
.section.catalog-tight{padding-top:26px !important;padding-bottom:22px !important}
#catalog .btn{margin-top:-14px}
/* Ce qui est compris, en une ligne, avec le lien vers le détail */
.hb-bande{padding:6px 0 clamp(30px,5vw,60px)}
.hb-bande ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;margin:0;padding:0;list-style:none}
.hb-bande li{padding:16px 18px 15px;border-radius:20px;background:#fff;color:var(--ink-2);font:500 15.5px/1.3 "Bricolage",system-ui,sans-serif;box-shadow:0 1px 2px rgba(14,16,18,.06),0 14px 26px -22px rgba(14,16,18,.45)}
.hb-bande b{display:block;margin-bottom:2px;font:800 27px/1.05 "Barlow Condensed","Bricolage",sans-serif;color:var(--ink)}
.hb-bande p{display:flex;flex-wrap:wrap;gap:4px 26px;margin:12px 0 0}
.hb-bande p a,.hb-toutes a{display:inline-flex;align-items:center;min-height:46px;font:800 16.5px/1.2 "Bricolage",system-ui,sans-serif;color:var(--green-d);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.hb-toutes{max-width:920px;margin:16px auto 0 !important}
.hb-bande p a:focus-visible,.hb-toutes a:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:6px}
@media(max-width:560px){.hb-bande ul{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-bande li{padding:14px 14px 13px;font-size:14.5px}.hb-bande b{font-size:23px}}

/* Sur ordinateur, le panneau du catalogue se range sur deux colonnes : la première rangée de téléphones s'affiche entière */
@media(min-width:1100px){
  .hero-vente-compact>.wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:clamp(40px,5vw,88px);align-items:start}
  .hero-vente-compact .hvc-eyebrow{grid-column:1;grid-row:1;justify-self:start}
  .hero-vente-compact .hvc-title{grid-column:1;grid-row:2}
  .hero-vente-compact .hvc-sub{grid-column:1;grid-row:3}
  .hero-vente-compact .hvc-search-row{grid-column:1;grid-row:4;margin-bottom:0 !important;max-width:none}
  .hero-vente-compact .hvc-filters{grid-column:2;grid-row:1;margin-bottom:0 !important}
  .hero-vente-compact .hvc-prices{grid-column:2;grid-row:2/5;align-self:end;margin:0 !important}
  .hero-vente-compact .hb-jauge{max-width:none}
  body>header.hero.hero-vente-compact{padding-bottom:34px !important}
}

/* ───────── Le fil entre les pages ───────── */
/* La photo du téléphone choisi attend à sa place sur la fiche pendant que le stock se charge */
.hb-fantome{display:none}
html.hb-photo .hb-fantome{display:block}
html.hb-photo .produit-loading{display:none}
.hb-fantome .produit-photo-main i{display:block;width:100%;height:100%;background:var(--hb-photo) center/contain no-repeat;filter:drop-shadow(0 16px 26px rgba(0,0,0,.15))}
.hb-fantome-txt{padding-top:6px}
.hb-fantome-txt span{display:block;height:20px;margin-bottom:16px;border-radius:10px;background:linear-gradient(90deg,rgba(14,16,18,.07),rgba(14,16,18,.13),rgba(14,16,18,.07));background-size:200% 100%;animation:hbAttente 1.3s linear infinite}
.hb-fantome-txt span:nth-child(1){width:34%;height:14px}.hb-fantome-txt span:nth-child(2){width:72%;height:44px}.hb-fantome-txt span:nth-child(3){width:46%;height:34px}.hb-fantome-txt span:nth-child(4){width:88%}
@keyframes hbAttente{to{background-position:-200% 0}}
@media(max-width:980px){.hb-fantome .produit-photo-main{min-height:0;height:42vh;max-height:380px}}
@keyframes hbSort{to{opacity:0;transform:scale(.985)}}
@keyframes hbEntre{from{opacity:0;transform:translateY(16px)}}
@media(prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .hb-logo{view-transition-name:hb-logo}
  .hb-dock{view-transition-name:hb-dock}
  .hb-retour,.hb-budget{view-transition-name:hb-coin}
  .hb-fantome .produit-photo-main i{view-transition-name:hb-photo}
  ::view-transition-old(root){animation:hbSort .2s ease-in both}
  ::view-transition-new(root){animation:hbEntre .45s cubic-bezier(.2,.8,.2,1) both}
  ::view-transition-group(hb-photo){animation-duration:.55s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
  ::view-transition-old(hb-photo),::view-transition-new(hb-photo){height:100%;object-fit:contain}
  ::view-transition-group(hb-logo),::view-transition-group(hb-dock),::view-transition-group(hb-coin){animation-duration:.35s}
  /* le logo et le menu ne rejouent pas leur arrivée quand on vient d'une autre page du site */
  html.hb-vt .hb-logo,html.hb-vt .hb-dock,html.hb-vt .hb-retour{animation:none !important}
}
@media(prefers-reduced-motion:reduce){.hb-fantome-txt span{animation:none}}

/* ───────── Le mouvement, page par page ───────── */
/* Les blocs restants s'affichent sans fondu répété : le mouvement est réservé à ce qui explique ou répond */
.section .reveal:not(.phone-card){opacity:1 !important;transform:none !important;transition:none !important}
/* Réparation : le pictogramme de chaque panne se trace */
.hb-p-choix button{position:relative;padding-right:62px}
.hb-p-ico{position:absolute;right:14px;top:14px;width:34px;height:34px;fill:none;stroke:var(--green);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hb-p-choix button[aria-pressed="true"] .hb-p-ico{stroke:var(--hb-lime)}
@keyframes hbTrace{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:no-preference){
  .hb-p-ico path{stroke-dasharray:1;stroke-dashoffset:1}
  .hb-vu .hb-p-ico path{animation:hbTrace 1s cubic-bezier(.4,.1,.2,1) both;animation-delay:calc(var(--i,0)*90ms)}
  .hb-vu .hb-retrace .hb-p-ico path{animation:hbTrace .7s cubic-bezier(.4,.1,.2,1) both}
}

/* Retouches après essai en ligne */
@media(max-width:560px){.hb-p-choix button{padding-right:44px}.hb-p-ico{width:26px;height:26px;right:12px;top:15px}}
/* Sur la fiche, un seul retour au catalogue : celui du coin, toujours visible */
.produit-back{display:none !important}
/* Réparation, sur téléphone : la grille tarifaire et le bloc « sans rendez-vous » tiennent dans la largeur de l'écran */
@media(max-width:1000px){.atelier-grid{grid-template-columns:minmax(0,1fr) !important}}
/* le bandeau défilant est incliné : un pixel de marge de chaque côté pour que ses coins ne dépassent pas de l'écran */
.ticker{margin-left:1px !important;margin-right:1px !important}
@media(max-width:560px){
  .price-list,.rdv-aside{padding:26px 20px !important}
  /* les trois films côte à côte : trois colonnes égales qui acceptent de rétrécir */
  .price-list [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important}
  .price-list [style*="grid-template-columns:repeat(3,1fr)"]>div{min-width:0;padding:32px 4px 14px !important}
  .price-list [style*="grid-template-columns:repeat(3,1fr)"] [style*="letter-spacing:.2em"]{letter-spacing:.02em !important;overflow-wrap:anywhere}
}
/* Le menu du bas tient aussi sur les téléphones étroits (360 px, 320 px) */
@media(max-width:400px){
  .hb-dock{gap:2px;padding:6px}
  .hb-dock a{min-width:46px;height:48px;padding:0 10px;font-size:14.5px}
  .hb-dock span{margin-left:7px}
  .hb-dock .hb-call{min-width:46px;margin-left:3px}
}
@media(max-width:345px){.hb-dock a[aria-current] span{display:none}.hb-dock a{min-width:44px}a.btn{white-space:normal !important;max-width:100%;text-align:center}.hero-title{font-size:14vw !important}}
/* Sur la fiche, le logo et le retour « Téléphones » ne se touchent plus sur les téléphones étroits */
@media(max-width:400px){
  .hb-fiche .hb-logo{left:12px;padding:0 10px 0 8px;gap:7px}
  .hb-fiche .hb-logo img{height:30px}
  .hb-fiche .hb-logo img+img{height:22px}
  .hb-retour{padding:0 13px 0 9px;gap:5px;font-size:14.5px}
}
@media(max-width:345px){.hb-fiche .hb-logo img+img{display:none}}
/* Le label QualiRépar, lisible en bas de page (catalogue, fiche, réparation) */
.footer .qr-badge.compact{overflow:hidden;margin-top:18px !important;padding:4px 8px !important;border-radius:12px !important}
.footer .qr-badge.compact img{height:62px !important;transform:scale(1.36)}
/* même image sur la carte du label, page réparation : on rogne ses marges blanches pour que le logo se lise */
.cert-logo{overflow:hidden}
.cert-logo img{transform:scale(1.3)}
