/* ==========================================================================
   21 Phones — feuille principale (au-dessus de Bootstrap 5.3)
   Charte : orange #FF7900 · bleu QualiRépar #4EADEA · noir #1A1D29
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/space-grotesk-latin-wght-normal.woff2) format("woff2"); }

:root {
  --o: #FF7900; --o2: #E55A0F; --o-soft: #FFF1E4; --b: #4EADEA; --b2: #1d6f9f; --b-soft: #EAF6FD;
  --n: #1A1D29; --n2: #232738; --g: #4A5068; --m: #8891A5; --l: #F4F6FA; --line: #E6E9F0; --w: #fff;
  --r: 14px; --r-sm: 10px; --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(26,29,41,.05), 0 2px 8px rgba(26,29,41,.04);
  --sh-2: 0 10px 30px -10px rgba(26,29,41,.18), 0 2px 6px rgba(26,29,41,.05);
  --sh-o: 0 12px 30px -8px rgba(255,121,0,.45);
  --ease: cubic-bezier(.22,.8,.22,1); --ease-back: cubic-bezier(.34,1.56,.64,1);
  --t: .25s; --hdr: 76px;
  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-d: "Space Grotesk", var(--ff);
  --bs-body-font-family: var(--ff); --bs-body-color: var(--n); --bs-link-color-rgb: 255,121,0; --bs-border-radius: var(--r);
}

/* ---------- Base ---------- */
html { scroll-behavior: auto !important; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff); font-size: 16px; line-height: 1.6; color: var(--n); background: var(--w); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; overflow-x: clip; }
::selection { background: var(--o); color: #fff; }
img, svg { max-width: 100%; }
a { color: var(--o); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--o2); }
:focus-visible { outline: 2px solid var(--b); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.12; color: inherit; }
h1, .h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.04; }
h2, .h2 { font-size: clamp(1.8rem, 3.2vw, 2.375rem); }
h3, .h3 { font-size: 1.25rem; }
.h4 { font-size: 1.125rem; }
h1 em, h2 em, .h1 em, .h2 em, .phero__title em { font-style: normal; color: var(--o); }
.muted { color: var(--m); } .small { font-size: .875rem; } .center { text-align: center; }
.text-orange { color: var(--o) !important; } .text-blue { color: var(--b) !important; }
.lead { font-size: 1.15rem; color: var(--g); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--n); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.container-xl { --bs-gutter-x: 2.5rem; max-width: 1320px; }
@media (max-width: 575px) { .container-xl { --bs-gutter-x: 2rem; } }

/* ── Apparitions au défilement : animations CSS (voir reveals() dans main.js) ──
   Des animations (keyframes) et non des transitions : elles ne touchent pas aux transitions de survol des
   cartes, et l'état final reste celui des règles normales (remplissage « backwards » seulement).
   État de départ posé seulement si html.anim (script actif, mouvement autorisé) ; .is-in = arrivée. */
@keyframes p21-monte { from { opacity: 0; transform: translateY(26px); } }
@keyframes p21-monte-court { from { opacity: 0; transform: translateY(14px); } }
@keyframes p21-mot { 0% { opacity: 0; transform: translateY(110%); filter: blur(6px); } 55% { filter: blur(0); } }
html.anim .reveal:not(.is-in), html.anim .stagger:not(.is-in) > * { opacity: 0; }
html.anim .reveal.is-in { animation: p21-monte .8s cubic-bezier(.22, 1, .36, 1) backwards; }
html.anim .stagger.is-in > * { animation: p21-monte .8s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(var(--si, 0) * 60ms); }
/* Bloc contenant un titre animé : pas de second fondu par-dessus celui des mots */
html.anim .reveal:has(.split) { opacity: 1; animation: none; }
html.anim .reveal:not(.is-in):has(.split) > :not(.split):not(:has(.split)) { opacity: 0; }
html.anim .reveal.is-in:has(.split) > :not(.split):not(:has(.split)) { animation: p21-monte-court .7s cubic-bezier(.22, 1, .36, 1) backwards; }
/* Titres mot à mot : montée depuis le masque + fondu + flou bref, décalés mot par mot */
html.anim .split:not(.is-in) .w > span { opacity: 0; transform: translateY(110%); }
html.anim .split.is-in .w > span { animation: p21-mot .9s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--wi, 0) * 45ms); }
/* Déjà passés (retour arrière, ancre) : affichés sans animation */
.is-instant, .is-instant > *, .is-instant .w > span, .is-instant > * > * { animation: none !important; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .16em .02em .14em; margin: -.16em -.02em -.14em; }
.split .w > span { display: inline-block; }

/* ---------- Eyebrow, liens ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--ff-d); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--o); margin-bottom: .9rem; }
.eyebrow--light { color: #FFB066; }
.link-u { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 1px; border: 0; font: inherit; cursor: pointer; }
.link-u:hover { background-size: 100% 1.5px; color: var(--o); }
button.link-u { background-color: transparent; padding: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--n); }
.link-arrow .ic { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--o); }
.link-arrow:hover .ic { transform: translateX(4px); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Boutons (micro-interactions) ---------- */
.btn-p21 { --bg: var(--o); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .85rem .95rem .85rem 1.35rem; border: 0; border-radius: 999px; background: var(--bg); color: #fff; font-weight: 650; font-size: 1rem; line-height: 1.2; cursor: pointer; overflow: hidden; transition: transform .35s var(--ease-back), background-color .3s; -webkit-tap-highlight-color: transparent; }
.btn-p21::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--o2); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn-p21:hover { color: #fff; transform: translateY(-2px); }
.btn-p21:hover::after { transform: translateY(0); }
.btn-p21:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.btn-p21__ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
.btn-p21__ic .ic { width: 1.05rem; height: 1.05rem; transition: transform .45s var(--ease); }
.btn-p21:hover .btn-p21__ic .ic { animation: arrowloop .55s var(--ease); }
@keyframes arrowloop { 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: translateX(0); } }
.btn-p21--sm { padding: .6rem .7rem .6rem 1.05rem; font-size: .92rem; gap: .55rem; }
.btn-p21--sm .btn-p21__ic { width: 1.6rem; height: 1.6rem; }
.btn-p21--sm:not(:has(.btn-p21__ic)) { padding: .65rem 1.15rem; }
.btn-p21--lg { padding: 1rem 1.05rem 1rem 1.6rem; font-size: 1.05rem; }
.btn-p21[disabled], .btn-p21.is-busy { opacity: .7; pointer-events: none; }
.btn-p21.is-busy .btn-p21__ic .ic { opacity: 0; }
.btn-p21.is-busy .btn-p21__ic::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--n); font-weight: 600; cursor: pointer; transition: border-color .25s, color .25s, transform .3s var(--ease-back), box-shadow .3s; }
.btn-ghost:hover { border-color: var(--n); color: var(--n); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-ghost:active { transform: scale(.97); }
.btn-ghost--light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost--light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.w-100 { width: 100%; }
.x-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--n); cursor: pointer; transition: transform .35s var(--ease-back), border-color .2s, background .2s; }
.x-close:hover { transform: rotate(90deg); border-color: var(--n); }
.x-close .ic { width: 18px; height: 18px; }

/* Effet d'onde au clic (posé par main.js sur tout élément cliquable) */
.ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: currentColor; opacity: .18; animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Curseur (pointeur fin uniquement) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 3000; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__dot { width: 6px; height: 6px; background: var(--o); }
  .cursor__ring { width: 34px; height: 34px; border: 1.5px solid rgba(255,121,0,.55); transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s, opacity .3s; }
  .cursor.is-link .cursor__ring { width: 56px; height: 56px; background: rgba(255,121,0,.08); border-color: rgba(255,121,0,.35); }
  .cursor.is-down .cursor__ring { width: 26px; height: 26px; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 1030; height: var(--hdr); transition: background .35s, box-shadow .35s, transform .45s var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); transition: opacity .35s; z-index: -1; }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.hdr__logo { display: inline-flex; align-items: center; color: var(--n); flex: none; }
.logo { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--o); color: #fff; font-family: var(--ff-d); font-size: 1.15rem; transition: transform .5s var(--ease-back); }
.hdr__logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo-img { height: 42px; width: auto; }
.hdr__nav { flex: 1; display: flex; justify-content: center; }
.nav-main { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-main__item { position: relative; }
.nav-main__link { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .7rem; border-radius: 999px; color: var(--n); font-weight: 550; font-size: .935rem; white-space: nowrap; transition: color .2s, background .2s; }
.nav-main__link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--o); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-main__link:hover, .nav-main__item.is-current > .nav-main__link { color: var(--n); }
.nav-main__link:hover::after, .nav-main__item.is-current > .nav-main__link::after { transform: scaleX(1); transform-origin: left; }
.nav-main__chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-main__item:hover .nav-main__chev, .nav-main__item.is-open .nav-main__chev { transform: rotate(180deg); }
.nav-sub, .mega { position: absolute; top: calc(100% + 8px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .3s; }
.nav-sub::before, .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-main__item:hover > .nav-sub, .nav-main__item:hover > .mega, .nav-main__item.is-open > .nav-sub, .nav-main__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-sub { left: 0; min-width: 240px; list-style: none; padding: .5rem; margin: 0; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); border: 1px solid var(--line); }
.nav-sub a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--n); font-size: .92rem; transition: background .2s, padding .25s var(--ease); }
.nav-sub a:hover { background: var(--l); padding-left: 1rem; }
.mega { position: fixed; left: 50%; top: calc(var(--hdr) - 4px); width: min(1240px, calc(100vw - 32px)); transform: translate(-50%, 8px); }
.nav-main__item:hover > .mega, .nav-main__item.is-open > .mega { transform: translate(-50%, 0); }
.mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding: 1.75rem; background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(26,29,41,.3); border: 1px solid var(--line); max-height: calc(100vh - var(--hdr) - 24px); overflow: auto; }
.mega__intro { background: var(--n); color: #fff; border-radius: var(--r); padding: 1.4rem; align-self: start; }
.mega__title { font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.mega__txt { color: #c3c8d6; font-size: .9rem; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.25rem 1.5rem; }
.mega__head { display: block; font-weight: 700; color: var(--n); margin-bottom: .45rem; font-size: .95rem; }
.mega__head:hover { color: var(--o); }
.mega__list, .mega__sub { list-style: none; padding: 0; margin: 0; }
.mega__list.is-long { columns: 2; column-gap: 1rem; }
.mega__list a, .mega__sub a { display: inline-block; padding: .18rem 0; color: var(--g); font-size: .86rem; transition: color .2s, transform .25s var(--ease); }
.mega__list a:hover, .mega__sub a:hover { color: var(--o); transform: translateX(3px); }
.mega__sub { padding-left: .7rem; border-left: 1px solid var(--line); margin: .15rem 0 .35rem; }
.hdr__actions { display: flex; align-items: center; gap: .65rem; flex: none; }
.hdr__tel { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; color: var(--n); font-weight: 650; font-size: .93rem; transition: background .2s, color .2s; }
.hdr__tel:hover { background: var(--l); color: var(--n); }
.hdr__tel .ic { color: var(--o); }
.hdr__cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--n); cursor: pointer; transition: transform .35s var(--ease-back), border-color .2s; }
.hdr__cart:hover { transform: scale(1.06); border-color: var(--n); }
.hdr__cart-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--o); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.hdr__cart.is-bump { animation: bump .5s var(--ease-back); }
@keyframes bump { 40% { transform: scale(1.22); } }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.hdr__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--n); transition: transform .35s var(--ease), top .35s var(--ease); }
.hdr__burger span:first-child { top: 17px; } .hdr__burger span:last-child { top: 25px; }
.hdr__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.hdr__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--o); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hdr.is-hidden { transform: translateY(-100%); }
/* En-tête transparent sur le hero sombre de l'accueil */
.is-home .hdr:not(.is-solid)::before { opacity: 0; }
.is-home .hdr:not(.is-solid) .hdr__logo, .is-home .hdr:not(.is-solid) .nav-main__link, .is-home .hdr:not(.is-solid) .hdr__tel { color: #fff; }
.is-home .hdr:not(.is-solid) .hdr__tel:hover { background: rgba(255,255,255,.1); }
.is-home .hdr:not(.is-solid) .hdr__burger, .is-home .hdr:not(.is-solid) .hdr__cart { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.is-home .hdr:not(.is-solid) .hdr__burger span { background: #fff; }
.is-home .hdr { position: fixed; left: 0; right: 0; }

@media (max-width: 1279px) {
  .hdr__nav, .hdr__tel span { display: none; }
  .hdr__burger { display: block; }
  .hdr__bar { justify-content: space-between; }
}
@media (max-width: 575px) { .hdr__cta { display: none; } :root { --hdr: 66px; } .logo__mark { width: 36px; height: 36px; } }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; z-index: 1029; background: rgba(15,17,25,.45); backdrop-filter: blur(4px); }
.drawer__panel { position: absolute; top: var(--hdr); left: 0; right: 0; bottom: 0; background: #fff; overflow: auto; padding: 1rem 1.25rem 2rem; display: flex; flex-direction: column; animation: drawerIn .45s var(--ease); }
@keyframes drawerIn { from { transform: translateY(-12px); opacity: 0; } }
.nav-mob { list-style: none; margin: 0; padding: 0; }
.nav-mob > li { border-bottom: 1px solid var(--line); }
.nav-mob a, .nav-mob summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem .25rem; color: var(--n); font-size: 1.15rem; font-weight: 650; cursor: pointer; list-style: none; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob summary .ic { transition: transform .3s var(--ease); color: var(--o); }
.nav-mob details[open] summary .ic { transform: rotate(45deg); }
.nav-mob details ul { list-style: none; padding: 0 0 .75rem .75rem; margin: 0; max-height: 50vh; overflow: auto; }
.nav-mob details a { font-size: .98rem; font-weight: 500; padding: .5rem .25rem; color: var(--g); }
.drawer__foot { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .75rem; }
.drawer__info { color: var(--m); font-size: .9rem; margin: .5rem 0 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.25rem, 4vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.section--first { padding-top: calc(var(--hdr) + 2rem); }
.section--soft { background: var(--l); }
.section--dark { background: var(--n); color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section-head .h3 { margin: 0; }
.empty { color: var(--g); padding: 1.5rem 0; }
.empty--card { background: #fff; border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 2rem; text-align: center; }
.empty--big { padding: 3rem 2rem; }
.card-p21 { background: #fff; border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--sh-2); border: 1px solid var(--line); }
.mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }

/* ---------- En-tête de page ---------- */
.phero { position: relative; overflow: hidden; padding: 2.25rem 0 clamp(2.25rem, 4vw, 3.25rem); background: var(--l); border-bottom: 1px solid var(--line); }
.phero__bg { position: absolute; inset: 0; pointer-events: none; }
.phero__inner { position: relative; }
.phero__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.phero__txt { max-width: 780px; }
.phero__title { margin: 0 0 1rem; }
.phero__lead { font-size: 1.12rem; color: var(--g); max-width: 680px; margin: 0; }
.phero__steps { margin: 1.25rem 0 1.75rem; }
.phero--compact .phero__title { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.phero--dark { background: var(--n); color: #fff; }
.phero--dark .phero__lead, .phero--dark .crumbs { color: #b9bfd0; }
.phero--dark .steps__label { color: #b9bfd0; }
.phero--dark .steps__item.is-current .steps__label { color: #fff; }
.phero--dark .steps::before { background: rgba(255,255,255,.15); }
.phero--cm .phero__aside { flex: 0 1 520px; }
.phero--qr { background: var(--b-soft); border-color: #d6ecfa; }
.phero__device { width: 180px; filter: drop-shadow(0 30px 40px rgba(26,29,41,.25)); }
.phero__cta { flex: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; color: var(--m); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: inherit; }

/* Étapes du parcours */
.steps { --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); list-style: none; padding: 0; margin: 0; max-width: 760px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 17px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: var(--line); border-radius: 2px; }
.steps::after { background: var(--o); right: auto; width: calc((100% - 100% / var(--n)) * var(--c) / (var(--n) - 1)); transition: width .8s var(--ease); }
.steps__item { position: relative; z-index: 1; text-align: center; }
.steps__item > a, .steps__item > span { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; color: inherit; }
.steps__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--m); transition: transform .35s var(--ease-back), background .3s, border-color .3s; }
.steps__dot .ic { width: 16px; height: 16px; }
.steps__label { font-size: .82rem; font-weight: 600; color: var(--m); max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps__item.is-done .steps__dot { background: var(--o); border-color: var(--o); color: #fff; }
.steps__item.is-done a:hover .steps__dot { transform: scale(1.12); }
.steps__item.is-current .steps__dot { border-color: var(--o); background: var(--o-soft); color: var(--o); }
.steps__item.is-current .steps__label { color: var(--n); }
@media (max-width: 575px) { .steps__label { font-size: .7rem; max-width: 80px; } }

/* ---------- Parcours : types, marques, modèles ---------- */
.route__alt { margin-top: 2rem; color: var(--g); }
.typegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.typecard { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 2rem 1.75rem 1.75rem; min-height: 260px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); color: var(--n); box-shadow: var(--sh-1); overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease); }
.typecard:hover { border-color: var(--o); box-shadow: var(--sh-2); color: var(--n); }
.typecard__ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--o-soft); color: var(--o); margin-bottom: auto; transition: transform .5s var(--ease-back), background .3s, color .3s; }
.typecard__ic .ic, .typecard__ic img { width: 38px; height: 38px; }
.typecard:hover .typecard__ic { transform: translateY(-4px) rotate(-6deg); background: var(--o); color: #fff; }
.typecard__name { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; margin-top: 1.5rem; }
.typecard__meta { color: var(--m); font-size: .9rem; }
.typecard__go { position: absolute; right: 1.5rem; bottom: 1.5rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--l); transition: background .3s, color .3s, transform .4s var(--ease); }
.typecard:hover .typecard__go { background: var(--o); color: #fff; transform: rotate(-45deg); }
.brandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.brandcard { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.6rem 1rem 1.2rem; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); color: var(--n); text-align: center; transition: transform .4s var(--ease-back), border-color .25s, box-shadow .35s; }
.brandcard:hover { transform: translateY(-4px); border-color: var(--o); box-shadow: var(--sh-2); color: var(--n); }
.brandcard__logo { display: grid; place-items: center; height: 56px; margin-bottom: .4rem; }
.brandcard__logo img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.brandcard:hover .brandcard__logo img { filter: none; opacity: 1; }
.wordmark { font-family: var(--ff-d); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: var(--n); transition: color .25s; }
.brandcard:hover .wordmark { color: var(--o); }
.brandcard__name { font-weight: 650; font-size: .95rem; }
.brandcard__meta { color: var(--m); font-size: .8rem; }
.modelgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.modelcard { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.25rem 1rem 1rem; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); color: var(--n); text-align: center; transition: transform .4s var(--ease-back), border-color .25s, box-shadow .35s; }
.modelcard:hover { transform: translateY(-4px); border-color: var(--o); box-shadow: var(--sh-2); color: var(--n); }
.modelcard__img { display: grid; place-items: center; height: 150px; width: 100%; margin-bottom: .75rem; }
.modelcard__img img, .modelcard__img svg { max-height: 150px; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.modelcard:hover .modelcard__img img, .modelcard:hover .modelcard__img svg { transform: scale(1.06) rotate(-2deg); }
.modelcard__name { font-weight: 650; line-height: 1.25; }
.modelcard__year { position: absolute; top: .65rem; right: .65rem; font-size: .7rem; font-weight: 600; color: var(--m); background: var(--l); border-radius: 99px; padding: .1rem .5rem; }
.device-svg { height: 150px; width: auto; }
.search-inline { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .4rem .3rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--m); transition: border-color .2s, box-shadow .2s; min-width: 280px; }
.search-inline:focus-within { border-color: var(--o); box-shadow: 0 0 0 4px rgba(255,121,0,.12); }
.search-inline input { border: 0; outline: 0; padding: .55rem .25rem; font: inherit; color: var(--n); background: none; flex: 1; min-width: 0; }
.search-inline--block { display: flex; margin-bottom: 1.5rem; }
.is-filtered-out { display: none !important; }

/* ---------- Étape 4 : prestations + panier ---------- */
.r4 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 991px) { .r4 { grid-template-columns: 1fr; } }
.svcgroup + .svcgroup { margin-top: 2.25rem; }
.svcgroup__t { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--g); margin-bottom: 1rem; }
.svcgroup__t span { font-size: .75rem; background: var(--l); color: var(--m); padding: .1rem .5rem; border-radius: 99px; letter-spacing: 0; }
.svcgroup__list { display: grid; gap: .65rem; }
.svc { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem 1rem 1rem; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .25s, box-shadow .3s, transform .35s var(--ease-back), background .3s; margin: 0; user-select: none; }
.svc:hover { border-color: #c8cdd9; box-shadow: var(--sh-2); transform: translateY(-2px); }
.svc.is-on { border-color: var(--o); background: linear-gradient(90deg, rgba(255,121,0,.06), #fff 55%); box-shadow: 0 0 0 1px var(--o), var(--sh-2); }
.svc.is-pre { animation: preflash 1.6s var(--ease) 2; }
@keyframes preflash { 30% { box-shadow: 0 0 0 6px rgba(255,121,0,.3); } }
.svc__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc__box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #c8cdd9; color: #fff; transition: background .25s, border-color .25s, transform .4s var(--ease-back); }
.svc__box .ic { width: 16px; height: 16px; stroke-width: 2.5; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease) .05s; }
.svc.is-on .svc__box { background: var(--o); border-color: var(--o); transform: scale(1.08); }
.svc.is-on .svc__box .ic { stroke-dashoffset: 0; }
.svc__input:focus-visible + .svc__box { outline: 2px solid var(--b); outline-offset: 3px; }
.svc__box--off { border-style: dashed; opacity: .4; }
.svc__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--l); color: var(--n); transition: background .3s, color .3s; }
.svc__ic img { width: 28px; height: 28px; object-fit: contain; }
.svc.is-on .svc__ic { background: var(--o-soft); color: var(--o); }
.svc__name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 650; line-height: 1.3; }
.svc__desc { display: block; color: var(--g); font-size: .88rem; margin-top: .15rem; }
@media (max-width: 575px) { .svc { grid-template-columns: auto minmax(0, 1fr) auto; } .svc__ic { display: none; } }
.price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1.15; min-width: 92px; }
.price__old { color: var(--m); font-size: .88rem; text-decoration-thickness: 1.5px; }
.price__now { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--n); font-family: var(--ff-d); }
.price--promo .price__now { color: var(--o); }
.price__note { color: var(--b); font-size: .76rem; font-weight: 650; white-space: nowrap; margin-top: .15rem; }
.price__devis { font-weight: 700; color: var(--o); }
.qr-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem .18rem .4rem; border-radius: 99px; background: var(--b-soft); color: var(--b2); font-size: .72rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; vertical-align: middle; }
.qr-badge svg { width: 13px; height: 13px; color: var(--b); }
.btn-devis { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid var(--o); background: #fff; color: var(--o); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .25s, color .25s, transform .35s var(--ease-back); white-space: nowrap; }
.btn-devis:hover { background: var(--o); color: #fff; transform: translateY(-2px); }
.r4__reassure { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2rem; padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--l); color: var(--g); font-size: .9rem; }
.r4__reassure span { display: inline-flex; align-items: center; gap: .45rem; }
.r4__reassure .ic { color: var(--o); }

/* Colonne panier */
.cartcol__sticky { position: sticky; top: calc(var(--hdr) + 1.25rem); display: grid; gap: 1rem; }
.cartcol__device { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: var(--r-lg); background: var(--n); color: #fff; overflow: hidden; position: relative; }
.cartcol__photo { flex: none; width: 112px; display: grid; place-items: center; }
.cartcol__photo img, .cartcol__photo svg { max-height: 190px; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.cartcol__name { font-size: 1.4rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.cartcol__id .eyebrow { margin-bottom: .3rem; }
.cartcol__id .muted { color: #9aa1b5; margin: .3rem 0 0; }
.cartbox { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; box-shadow: var(--sh-1); }
.cartbox__head { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: .5rem; }
.cartbox__head .ic { color: var(--o); }
.cartbox__n { margin-left: auto; min-width: 26px; height: 26px; border-radius: 13px; background: var(--l); display: grid; place-items: center; font-size: .82rem; transition: background .3s, color .3s; }
.cartbox.has-items .cartbox__n { background: var(--o); color: #fff; }
.cart-empty { display: flex; align-items: center; gap: .75rem; padding: .9rem 0 .4rem; color: var(--m); font-size: .92rem; }
.cart-empty .ic { width: 34px; height: 34px; flex: none; color: #c8cdd9; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem; align-items: center; padding: .65rem 0; border-bottom: 1px dashed var(--line); animation: lineIn .45s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateX(14px); } }
.cart-line.is-out { animation: lineOut .3s var(--ease) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(-14px); height: 0; padding: 0; } }
.cart-line__n { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.cart-line__m { display: block; color: var(--m); font-size: .78rem; font-weight: 400; }
.cart-line__p { text-align: right; font-weight: 700; font-family: var(--ff-d); white-space: nowrap; }
.cart-line__p s { display: block; color: var(--m); font-weight: 400; font-size: .78rem; }
.cart-line__x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--l); color: var(--m); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--ease-back); }
.cart-line__x:hover { background: #ffe1e1; color: #c62828; transform: rotate(90deg); }
.cart-line__x .ic { width: 14px; height: 14px; }
.cart-sums { margin-top: .75rem; display: grid; gap: .3rem; font-size: .92rem; }
.cart-sum { display: flex; justify-content: space-between; gap: 1rem; }
.cart-sum--disc { color: var(--b2); font-weight: 600; animation: lineIn .45s var(--ease); }
.cart-sum--disc span:first-child::before { content: "✓ "; color: var(--b); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6rem; padding-top: .75rem; border-top: 1.5px solid var(--n); }
.cart-total__l { font-weight: 700; }
.cart-total__v { font-family: var(--ff-d); font-size: 2rem; font-weight: 700; color: var(--o); letter-spacing: -.02em; }
.cart-total__v.is-tick { animation: tick .45s var(--ease-back); }
@keyframes tick { 40% { transform: scale(1.12); } }
.cart-hint { margin: .6rem 0 0; padding: .55rem .75rem; border-radius: var(--r-sm); background: var(--o-soft); color: #9a4a00; font-size: .82rem; }
.cart-pret { display: flex; gap: .5rem; align-items: flex-start; margin-top: .75rem; padding: .65rem .8rem; border-radius: var(--r-sm); background: var(--b-soft); color: var(--b2); font-size: .85rem; font-weight: 600; }
.cart-pret .ic { flex: none; color: var(--b); }
.cart-port { color: var(--g); }
.cartbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1020; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .65rem .65rem 1.1rem; border-radius: 999px; background: var(--n); color: #fff; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); animation: barIn .5s var(--ease); }
.cartbar strong { font-family: var(--ff-d); font-size: 1.2rem; color: #FFB066; }
.cartbar small { color: #b9bfd0; }
@keyframes barIn { from { transform: translateY(120%); } }
@media (max-width: 991px) { .cartbar:not([hidden]) { display: flex; } .cartcol__sticky { position: static; } }

/* Boutons de conversion */
.convert { display: grid; gap: .6rem; }
.convert__btn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; width: 100%; padding: .85rem 1rem; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; color: var(--n); text-align: left; cursor: pointer; transition: border-color .25s, transform .35s var(--ease-back), box-shadow .3s, background .3s; font: inherit; }
.convert__btn:hover { border-color: var(--n); transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--n); }
.convert__btn:active { transform: scale(.98); }
.convert__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--l); color: var(--o); transition: transform .4s var(--ease-back); }
.convert__btn:hover .convert__ic { transform: rotate(-8deg) scale(1.08); }
.convert__txt strong { display: block; font-size: .98rem; }
.convert__txt small { display: block; color: var(--m); font-size: .78rem; }
.convert__go .ic { color: var(--m); transition: transform .35s var(--ease), color .2s; }
.convert__btn:hover .convert__go .ic { transform: translateX(4px); color: var(--o); }
.convert__btn--main { background: var(--o); border-color: var(--o); color: #fff; }
.convert__btn--main:hover { background: var(--o2); border-color: var(--o2); color: #fff; }
.convert__btn--main .convert__ic { background: rgba(255,255,255,.2); color: #fff; }
.convert__btn--main small, .convert__btn--main .convert__go .ic, .convert__btn--main:hover .convert__go .ic { color: rgba(255,255,255,.85); }

/* Carte mère : pannes */
.pret-banner { display: flex; align-items: center; gap: .65rem; padding: .85rem 1.1rem; margin-bottom: 1.25rem; border-radius: var(--r); background: var(--b-soft); color: var(--b2); font-weight: 600; }
.pret-banner .ic { color: var(--b); width: 1.5em; height: 1.5em; }
.pannes { display: grid; gap: .75rem; }
.panne { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 1.15rem 1.25rem; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); transition: border-color .25s, box-shadow .3s, transform .35s var(--ease-back); }
.panne:hover { border-color: #c8cdd9; box-shadow: var(--sh-2); transform: translateY(-2px); }
.panne.is-on { border-color: var(--o); box-shadow: 0 0 0 1px var(--o), var(--sh-2); }
.panne__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--n); color: #FFB066; }
.panne__t { font-size: 1.08rem; margin: 0 0 .2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.panne__link { color: var(--n); }
.panne__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.panne__d { color: var(--g); font-size: .9rem; margin: 0; }
.panne__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; font-size: .82rem; font-weight: 650; color: var(--o); }
.panne__more .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.panne:hover .panne__more .ic { transform: translateX(4px); }
.panne__side { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.btn-add { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem .5rem .55rem; border-radius: 999px; border: 0; background: var(--n); color: #fff; font-weight: 650; font-size: .85rem; cursor: pointer; transition: background .3s, transform .35s var(--ease-back); white-space: nowrap; }
.btn-add:hover { background: var(--o); transform: translateY(-2px); }
.btn-add__plus, .btn-add__ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); }
.btn-add .ic { width: 14px; height: 14px; }
.btn-add__ok { display: none; }
.btn-add.is-on { background: var(--o); }
.btn-add.is-on .btn-add__plus { display: none; }
.btn-add.is-on .btn-add__ok { display: grid; animation: pop .45s var(--ease-back); }
@keyframes pop { from { transform: scale(0); } }
@media (max-width: 575px) { .panne { grid-template-columns: minmax(0, 1fr); } .panne__ic { display: none; } .panne__side { flex-direction: row; justify-content: space-between; align-items: center; } }
.actioncard { background: #fff; border-radius: var(--r-lg); border: 1.5px solid var(--line); box-shadow: var(--sh-2); padding: 1.35rem; display: grid; gap: .85rem; }
.actioncard__top { display: flex; gap: 1rem; align-items: center; }
.actioncard__photo { width: 70px; flex: none; }
.actioncard__photo svg, .actioncard__photo img { max-height: 120px; width: auto; }
.actioncard__t { font-size: 1.2rem; font-weight: 750; margin: 0 0 .35rem; line-height: 1.2; }
.actioncard .price { align-items: flex-start; text-align: left; }
.actioncard .price__now { font-size: 2.2rem; }
.actioncard__list { list-style: none; padding: 0; margin: .25rem 0 0; display: grid; gap: .45rem; font-size: .85rem; color: var(--g); }
.actioncard__list li { display: flex; gap: .5rem; }
.actioncard__list .ic { color: var(--o); }
.xlinks { margin-top: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.chip { display: inline-flex; padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--n); font-size: .88rem; font-weight: 550; transition: border-color .2s, color .2s, transform .3s var(--ease-back); }
.chip:hover, .chip.is-on { border-color: var(--o); color: var(--o); transform: translateY(-2px); }
.chip.is-on { background: var(--o); color: #fff; }

/* ---------- Process / étapes numérotées ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: p; }
@media (max-width: 991px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .process { grid-template-columns: 1fr; } }
.process__item { position: relative; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); transition: transform .4s var(--ease-back), box-shadow .35s, border-color .25s; }
.process__item:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--o); }
.process__n { display: block; font-family: var(--ff-d); font-size: 2.6rem; font-weight: 700; color: var(--o); line-height: 1; margin-bottom: .8rem; letter-spacing: -.03em; }
.process__ic { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--m); }
.process__item h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.process__item p { color: var(--g); font-size: .92rem; margin: 0; }
.section--soft .process__item { background: #fff; }

/* ---------- Formulaires ---------- */
.field { position: relative; display: block; margin: 0; }
.field input, .field textarea, .field select { width: 100%; padding: 1.35rem 1rem .55rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--n); transition: border-color .2s, box-shadow .2s; appearance: none; }
.field textarea { resize: vertical; min-height: 56px; }
.field > span { position: absolute; left: 1rem; top: 1rem; color: var(--m); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--o); box-shadow: 0 0 0 4px rgba(255,121,0,.12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field--select > span { transform: translateY(-.62rem) scale(.78); color: var(--o); }
.field--select > span { color: var(--m); }
.field--select select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%231A1D29' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center / 12px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e04848; animation: shake .4s; }
.field.is-invalid > span { color: #e04848; }
.field__err { display: block; color: #e04848; font-size: .78rem; margin-top: .25rem; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field--inline { flex: 1 1 220px; }
.check { display: flex; gap: .65rem; align-items: flex-start; margin: 1rem 0; cursor: pointer; font-size: .86rem; color: var(--g); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #c8cdd9; color: #fff; transition: background .2s, border-color .2s, transform .35s var(--ease-back); }
.check__box .ic { width: 14px; height: 14px; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s var(--ease); }
.check input:checked + .check__box { background: var(--o); border-color: var(--o); transform: scale(1.06); }
.check input:checked + .check__box .ic { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--b); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #e04848; }
.check--sm { margin: .35rem 0; font-size: .8rem; }
.form-msg:empty { display: none; }
.form-msg { margin: .75rem 0; padding: .7rem 1rem; border-radius: var(--r-sm); font-size: .9rem; font-weight: 550; animation: lineIn .4s var(--ease); }
.form-msg.is-ok { background: #e7f8ee; color: #177a3c; }
.form-msg.is-err { background: #fdeaea; color: #b42323; }
.select-p21 { padding: .7rem 2.2rem .7rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%231A1D29' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .9rem center / 12px; font: inherit; color: var(--n); appearance: none; cursor: pointer; transition: border-color .2s; }
.select-p21:hover, .select-p21:focus { border-color: var(--o); outline: 0; }
.switch { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; cursor: pointer; font-size: .88rem; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { flex: none; position: relative; width: 40px; height: 22px; border-radius: 11px; background: #c8cdd9; transition: background .25s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-back); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .switch__ui { background: var(--o); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:disabled + .switch__ui { opacity: .5; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--b); outline-offset: 2px; }

/* ---------- Modales ---------- */
.p21-modal .modal-content { border: 0; border-radius: var(--r-lg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.4); overflow: hidden; }
.p21-modal .modal-header { align-items: flex-start; padding: 1.5rem 1.5rem 1rem; border: 0; gap: 1rem; }
.p21-modal .modal-header .eyebrow { margin-bottom: .3rem; }
.p21-modal .modal-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.p21-modal .x-close { margin-left: auto; flex: none; }
.p21-modal .modal-body { padding: 0 1.5rem 1.5rem; }
.modal-backdrop.show { opacity: .55; backdrop-filter: blur(3px); }
.modal.fade .modal-dialog { transform: translateY(24px) scale(.98); transition: transform .45s var(--ease); }
.modal.show .modal-dialog { transform: none; }
.rdv { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.5rem; }
/* minmax(0, 1fr) et min-width: 0 : la bande des jours (très longue) défile seule au lieu d'élargir tout le module */
@media (max-width: 991px) { .rdv { grid-template-columns: minmax(0, 1fr); } }
.rdv > *, .rdv__form { min-width: 0; }
@media (max-width: 400px) { .rdv__steps { font-size: .76rem; gap: .35rem; } .rdv__steps li { padding: .28rem .6rem; } }
.rdv__recap { background: var(--l); border-radius: var(--r); padding: 1.1rem; align-self: start; }
.rdv__h { font-weight: 700; margin-bottom: .5rem; }
.rdv__info { display: flex; gap: .5rem; font-size: .82rem; color: var(--g); margin: .6rem 0 0; }
.rdv__info .ic { color: var(--o); }
.rdv__steps { display: flex; flex-wrap: wrap; gap: .4rem .5rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .82rem; font-weight: 600; color: var(--m); }
.rdv__steps li { white-space: nowrap; padding: .3rem .75rem; border-radius: 99px; background: var(--l); transition: background .3s, color .3s; }
.rdv__steps li.is-on { background: var(--n); color: #fff; }
.rdv__days { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--o) var(--l); }
/* (scrollbar-width remplace les styles ::-webkit-scrollbar dans Chrome : la couleur orange de la page est redonnée ici) */
/* souris : défilement doux piloté en JS (main.js), sans aimantation CSS qui le ferait sauter de jour en jour ;
   doigt : défilement natif, aimantation souple */
.rdv__days { scroll-snap-type: x proximity; }
@media (hover: hover) and (pointer: fine) { .rdv__days { cursor: grab; scroll-snap-type: none; } }
.rdv__days.is-drag { cursor: grabbing; user-select: none; }
.rdv__days.is-drag .rdv__day { pointer-events: none; }
.rdv__day { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; width: 74px; padding: .65rem .25rem; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, transform .3s var(--ease-back), background .25s, color .25s; font: inherit; color: var(--n); }
.rdv__day small { font-size: .72rem; color: var(--m); text-transform: capitalize; }
.rdv__day strong { font-family: var(--ff-d); font-size: 1.4rem; line-height: 1.1; }
.rdv__day:hover { border-color: var(--o); transform: translateY(-2px); }
.rdv__day.is-on { background: var(--n); border-color: var(--n); color: #fff; }
.rdv__day.is-on small { color: #b9bfd0; }
.rdv__day[disabled] { opacity: .35; pointer-events: none; }
.rdv__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin-bottom: 1.25rem; }
.rdv__slots .muted { grid-column: 1 / -1; margin: 0; }
.rdv__slot { padding: .6rem .25rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .3s var(--ease-back); font-family: var(--ff-d); color: var(--n); animation: lineIn .35s var(--ease) both; }
.rdv__slot:hover { border-color: var(--o); color: var(--o); transform: translateY(-2px); }
.rdv__slot.is-on { background: var(--o); border-color: var(--o); color: #fff; }
.rdv__who { border: 0; padding: 0; margin: 0; transition: opacity .3s; }
.rdv__who[disabled] { opacity: .45; }
.rdv__chosen { font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; }
.skeleton-row { height: 70px; flex: 1; border-radius: var(--r); background: linear-gradient(90deg, var(--l) 25%, #fff 50%, var(--l) 75%) 0 0 / 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.venir { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 767px) { .venir { grid-template-columns: 1fr; } }
.venir__map { position: relative; min-height: 280px; border-radius: var(--r); overflow: hidden; background: var(--l); }
.venir__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1.5rem; color: var(--g); background: repeating-linear-gradient(45deg, var(--l), var(--l) 12px, #eef1f6 12px, #eef1f6 24px); }
.embed-gate > .ic { width: 36px; height: 36px; color: var(--o); }
.embed-gate p { margin: 0; font-size: .88rem; }
.venir__line { display: flex; gap: .75rem; margin-bottom: 1rem; }
.venir__line .ic { color: var(--o); margin-top: .15rem; }
.venir__tip { display: flex; gap: .5rem; align-items: center; padding: .7rem .9rem; border-radius: var(--r-sm); background: var(--o-soft); color: #9a4a00; font-size: .88rem; font-weight: 600; margin-bottom: 1.25rem; }
.devis__who { display: flex; gap: 1rem; align-items: center; }
.devis__photo { width: 54px; height: 72px; display: grid; place-items: center; }
.devis__photo img, .devis__photo svg { max-height: 72px; width: auto; }
.chat { display: grid; gap: .65rem; margin-bottom: 1.25rem; }
.chat__msg { max-width: 88%; }
.chat__msg p { margin: 0; padding: .85rem 1.1rem; border-radius: 18px; font-size: .95rem; line-height: 1.45; }
.chat__msg--me { justify-self: end; animation: msgIn .45s var(--ease-back) both; }
.chat__msg--me p { background: var(--o); color: #fff; border-bottom-right-radius: 6px; }
.chat__msg--them { animation: msgIn .45s var(--ease-back) .5s both; }
.chat__msg--them p { background: var(--l); border-bottom-left-radius: 6px; }
.chat__meta { display: block; font-size: .7rem; color: var(--m); margin-top: .25rem; padding: 0 .4rem; }
.chat__msg--me .chat__meta { text-align: right; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chat__typing { display: inline-flex; gap: 4px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--m); animation: typing 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.chat__reply { display: none; }
.chat.is-replied .chat__typing { display: none; }
.chat.is-replied .chat__reply { display: inline; }
.devis__form { display: grid; gap: .75rem; }
.devis__form .check { margin: .25rem 0; }

/* Panier flottant */
.cart-drawer { position: fixed; inset: 0; z-index: 1050; background: rgba(15,17,25,.45); backdrop-filter: blur(3px); }
.cart-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 1.25rem; overflow: auto; display: grid; align-content: start; gap: 1rem; animation: slideIn .45s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.2); }
@keyframes slideIn { from { transform: translateX(100%); } }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer__t { font-size: 1.4rem; font-weight: 800; margin: 0; }

/* Toasts */
.toasts { position: fixed; z-index: 3001; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: .5rem; pointer-events: none; }
.toast-p21 { pointer-events: auto; display: flex; align-items: center; gap: .75rem; padding: .75rem .75rem .75rem 1rem; border-radius: 999px; background: var(--n); color: #fff; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); font-size: .92rem; animation: toastIn .45s var(--ease-back); white-space: nowrap; }
.toast-p21 .ic { color: #3ddc84; }
.toast-p21 a, .toast-p21 button { color: #FFB066; font-weight: 700; background: none; border: 0; cursor: pointer; padding: .2rem .5rem; }
.toast-p21.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Diagnostic ---------- */
.diag { position: relative; max-width: 640px; }
.diag__field { position: relative; display: flex; align-items: center; gap: .5rem; padding: .45rem .45rem .45rem 1.1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); box-shadow: 0 1px 2px rgba(26,29,41,.06); transition: border-color .25s; }
.diag__field:focus-within { border-color: var(--o); }
.diag__ic { color: var(--o); display: grid; }
.diag__ic .ic { width: 1.5em; height: 1.5em; }
.diag input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.08rem; padding: .7rem .25rem; color: var(--n); background: transparent; position: relative; z-index: 1; }
.diag__ph { position: absolute; left: 3.35rem; color: var(--m); font-size: 1.08rem; pointer-events: none; white-space: nowrap; overflow: hidden; max-width: calc(100% - 13rem); }
.diag__ph::after { content: "|"; margin-left: 1px; animation: blink 1s steps(1) infinite; color: var(--o); }
@keyframes blink { 50% { opacity: 0; } }
.diag.has-value .diag__ph, .diag input:focus ~ .diag__ph { display: none; }
.diag__btn { position: relative; flex: none; padding: .85rem 1.4rem; border-radius: 999px; border: 0; background: var(--o); color: #fff; font-weight: 700; cursor: pointer; transition: background .25s, transform .35s var(--ease-back); overflow: hidden; }
.diag__btn:hover { background: var(--o2); transform: scale(1.03); }
.diag__btn:active { transform: scale(.96); }
.diag__spin { display: none; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.diag.is-busy .diag__spin { display: block; }
.diag.is-busy .diag__btn-l { visibility: hidden; }
.diag__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.diag__chip { padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #dfe3ee; font-size: .82rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .3s var(--ease-back); }
.diag__chip:hover { background: rgba(255,121,0,.18); border-color: var(--o); color: #fff; transform: translateY(-2px); }
.diag__out:empty { display: none; }
.diag__out { margin-top: 1rem; }
.diag-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: #fff; color: var(--n); box-shadow: var(--sh-2); border: 1.5px solid var(--line); animation: diagIn .5s var(--ease-back); }
@keyframes diagIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.diag-card__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--o-soft); font-size: 1.6rem; }
.diag-card__k { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--o); }
.diag-card__t { font-size: 1.1rem; font-weight: 750; line-height: 1.25; margin: .1rem 0; }
.diag-card__d { font-size: .85rem; color: var(--g); }
.diag-card__alt { font-size: .8rem; color: var(--m); margin-top: .25rem; }
.diag-card--none { grid-template-columns: auto minmax(0, 1fr); background: #fff8f1; }
@media (max-width: 575px) { .diag-card { grid-template-columns: auto minmax(0, 1fr); } .diag-card .btn-p21 { grid-column: 1 / -1; } }
.diag--compact .diag__field { padding: .3rem .3rem .3rem .85rem; box-shadow: none; border-width: 1.5px; }
.diag--compact input { font-size: .95rem; padding: .5rem .2rem; }
.diag--compact .diag__btn { padding: .6rem 1rem; }
.diag--compact .diag-card { grid-template-columns: minmax(0, 1fr); }
.diag--compact .diag-card__ic { display: none; }

/* Chiffres clés */
.kpis-band { background: var(--n); color: #fff; padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 767px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { display: flex; flex-direction: column; gap: .2rem; }
.kpi__n { font-family: var(--ff-d); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--o); letter-spacing: -.03em; line-height: 1; }
.kpi__l { color: inherit; opacity: .75; font-size: .92rem; }
.section .kpi__n { color: var(--o); }

/* Parcours (cartes) */
.paths { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; }
.path { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--l); color: var(--n); overflow: hidden; min-height: 230px; transition: box-shadow .4s var(--ease), background .3s; }
.path:hover { color: var(--n); box-shadow: var(--sh-2); background: #fff; outline: 1.5px solid var(--line); }
.path--main { grid-row: span 2; background: var(--o); color: #fff; min-height: 480px; }
.path--main:hover { color: #fff; background: var(--o2); outline: 0; }
.path--dark { background: var(--n); color: #fff; }
.path--dark:hover { background: var(--n2); color: #fff; outline: 0; }
.path__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--o); margin-bottom: auto; transition: transform .5s var(--ease-back); }
.path__ic .ic { width: 28px; height: 28px; }
.path:hover .path__ic { transform: rotate(-8deg) scale(1.08); }
.path--main .path__ic, .path--dark .path__ic { background: rgba(255,255,255,.14); color: #fff; }
.path__k { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-top: 1.5rem; }
.path__t { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.path--main .path__t { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.path__d { opacity: .8; max-width: 420px; }
.path__types { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.path__types span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; }
.path__go { position: absolute; top: 1.5rem; right: 1.5rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--n); transition: transform .45s var(--ease); }
.path:hover .path__go { transform: rotate(-45deg) scale(1.08); }
@media (max-width: 991px) { .paths { grid-template-columns: 1fr 1fr; } .path--main { grid-column: 1 / -1; grid-row: auto; min-height: 320px; } }
@media (max-width: 575px) { .paths { grid-template-columns: 1fr; } }

/* Spécialité */
.special__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 991px) { .special__grid { grid-template-columns: 1fr; } }
.special p { color: #c3c8d6; font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .7rem; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--o) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Bandeau QualiRépar */
.qrband { background: var(--b-soft); border-block: 1px solid #d6ecfa; padding: 2.5rem 0; }
.qrband__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.qrband__txt { flex: 1 1 380px; }
.qrband__txt .eyebrow { color: var(--b2); margin-bottom: .3rem; }
.qrband__t { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .25rem; }
.qrband__txt p:last-child { margin: 0; color: var(--g); }
.qrseal { position: relative; display: grid; place-items: center; align-content: center; width: 130px; height: 130px; flex: none; border-radius: 50%; background: var(--b); color: #fff; }
.qrseal::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.6); }
.qrseal span { font-family: var(--ff-d); font-size: 2.1rem; font-weight: 700; line-height: 1; }
.qrseal small { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.qrcard { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--b-soft); color: var(--b2); font-size: .88rem; transition: transform .35s var(--ease-back); }
.qrcard:hover { color: var(--b2); transform: translateY(-2px); }
.qrcard strong { display: block; font-size: 1.15rem; }

/* Avis */
.stars { --r: 5; display: inline-block; width: 84px; height: 15px; background: linear-gradient(90deg, #FFB800 calc(var(--r) / 5 * 100%), #d6dae3 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; }
.stars--lg { width: 140px; height: 25px; }
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem max(1.25rem, calc((100vw - 1320px) / 2 + 1.25rem)) 1.5rem; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail > * { flex: 0 0 min(360px, 82vw); scroll-snap-align: start; }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--n); cursor: pointer; transition: transform .35s var(--ease-back), border-color .2s, background .2s, color .2s; }
.rail-btn:hover { border-color: var(--n); background: var(--n); color: #fff; transform: scale(1.06); }
.rail-btn:disabled { opacity: .35; pointer-events: none; }
.review { margin: 0; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh-1); transition: transform .4s var(--ease-back), box-shadow .35s; break-inside: avoid; }
.review:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.review__txt { margin: 0; color: var(--n); font-size: .98rem; line-height: 1.55; }
.review__txt p { margin: 0; }
.review__txt.is-long:not(.is-open) p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; font-size: .85rem; font-weight: 600; color: var(--o); }
.review__who { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.review__who strong { display: block; font-size: .95rem; }
.review__who small { display: block; color: var(--m); font-size: .78rem; }
.review__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--o-soft); color: var(--o); font-weight: 800; flex: none; }
.review__g { width: 20px; height: 20px; margin-left: auto; flex: none; }
.reviews-masonry { columns: 3 320px; column-gap: 1rem; }
.reviews-masonry > * { margin-bottom: 1rem; }
.scorecard { display: grid; justify-items: center; gap: .5rem; padding: 1.75rem 2.25rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); text-align: center; }
.scorecard__n { font-family: var(--ff-d); font-size: 4rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }

/* Réalisations, avant/après */
.realgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.realcard { position: relative; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); overflow: hidden; transition: box-shadow .35s, transform .4s var(--ease-back); }
.realcard:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.realcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--l); }
.realcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.realcard:hover .realcard__img img { transform: scale(1.05); }
.realcard__img--ph { display: grid; place-items: center; color: var(--m); }
.realcard__img--ph .ic { width: 64px; height: 64px; }
.realcard__body { padding: 1.25rem; }
.realcard__meta { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--o); margin-bottom: .35rem; }
.realcard__t { font-size: 1.15rem; margin-bottom: .35rem; }
.realcard__t a { color: var(--n); }
.realcard__x { color: var(--g); font-size: .9rem; margin: 0; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.realcard .ba { position: relative; z-index: 2; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--l); user-select: none; touch-action: pan-y; }
.realcard .ba { border-radius: 0; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba__tag { position: absolute; top: .75rem; padding: .25rem .6rem; border-radius: 99px; background: rgba(26,29,41,.7); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.ba__tag--l { left: .75rem; } .ba__tag--r { right: .75rem; background: var(--o); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.3); }
.ba__handle > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--n); box-shadow: var(--sh-2); transition: transform .3s var(--ease-back); }
.ba__handle .ic { width: 15px; height: 15px; }
.ba:hover .ba__handle > span { transform: translate(-50%, -50%) scale(1.1); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Blog */
.postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); overflow: hidden; color: var(--n); transition: box-shadow .35s, transform .4s var(--ease-back); }
.pcard:hover { color: var(--n); box-shadow: var(--sh-2); transform: translateY(-4px); }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--n), #2c3248); display: block; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__ph { display: grid; place-items: center; height: 100%; color: #FF9B45; }
.pcard__ph .ic { width: 56px; height: 56px; }
.pcard__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.25rem; flex: 1; }
.pcard__meta { font-size: .78rem; color: var(--m); font-weight: 600; }
.pcard__t { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.pcard__x { color: var(--g); font-size: .9rem; }
.pcard__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .5rem; font-weight: 650; color: var(--o); font-size: .9rem; }
.pcard__go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pcard:hover .pcard__go .ic { transform: translateX(4px); }
.chips--nav { margin-bottom: 2rem; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--n); font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.pager .page-numbers:hover { border-color: var(--n); }
.pager .page-numbers.current { background: var(--n); border-color: var(--n); color: #fff; }
.readbar { position: fixed; top: var(--hdr); left: 0; right: 0; height: 3px; z-index: 1029; }
.readbar span { display: block; height: 100%; background: var(--o); transform-origin: left; transform: scaleX(var(--p, 0)); }
.single__cover { margin: 0 0 2rem; border-radius: var(--r-lg); overflow: hidden; }

/* Contenu éditorial */
.prose { font-size: 1.04rem; color: #2d3142; }
.prose--wide { max-width: 900px; }
.prose h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15rem; }
.prose a:not([class]) { color: var(--o); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(255,121,0,.35); transition: text-decoration-color .2s; }
.prose a:not([class]):hover { text-decoration-color: var(--o); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.prose ul li::before { content: ""; position: absolute; left: .25rem; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--o); transform: rotate(45deg); }
.prose img, .prose figure img { border-radius: var(--r); height: auto; }
.prose figure { margin: 1.75rem 0; }
.prose figcaption { color: var(--m); font-size: .85rem; margin-top: .5rem; }
.prose blockquote { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--o); background: var(--l); border-radius: 0 var(--r) var(--r) 0; font-size: 1.08rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--l); font-weight: 700; }
.prose iframe { max-width: 100%; border-radius: var(--r); }
.prose .wp-block-embed iframe, .prose iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose details { border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 1.1rem; margin-bottom: .6rem; transition: border-color .2s; }
.prose details[open] { border-color: var(--o); }
.prose summary { cursor: pointer; padding: 1rem 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.prose summary::after { content: "+"; color: var(--o); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose--panne h3 { padding: 1rem 1.1rem; margin: 1rem 0 0; background: var(--l); border-radius: var(--r) var(--r) 0 0; font-size: 1.05rem; }
.prose--panne h3 + p { padding: 0 1.1rem 1rem; background: var(--l); border-radius: 0 0 var(--r) var(--r); }
.seo-more__body { max-height: 260px; overflow: hidden; mask-image: linear-gradient(#000 55%, transparent); transition: max-height .8s var(--ease); }
.seo-more.is-open .seo-more__body { max-height: none; mask-image: none; }
.seo-more__btn { margin-top: 1rem; }
.seo-more__btn .ic { transition: transform .3s var(--ease); }
.seo-more.is-open .seo-more__btn .ic { transform: rotate(45deg); }

/* Encadrés latéraux */
.asidecard { padding: 1.25rem; border-radius: var(--r-lg); background: var(--n); color: #fff; }
.asidecard__t { font-size: 1.15rem; font-weight: 750; margin-bottom: .75rem; }

/* Reconditionnés */
.rfilters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.75rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--l); flex-wrap: wrap; }
.seg__b { padding: .5rem .95rem; border-radius: 999px; border: 0; background: none; font-weight: 600; font-size: .9rem; color: var(--g); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg__b:hover { color: var(--n); }
.seg__b.is-on { background: #fff; color: var(--n); box-shadow: var(--sh-1); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.rcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); overflow: hidden; color: var(--n); transition: box-shadow .35s, transform .4s var(--ease-back), border-color .25s; }
.rcard:hover { color: var(--n); box-shadow: var(--sh-2); transform: translateY(-4px); border-color: var(--o); }
.rcard__img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4; background: var(--l); padding: 1rem; }
.rcard__img img, .rcard__img svg { max-height: 100%; width: auto; object-fit: contain; transition: transform .6s var(--ease); }
.rcard:hover .rcard__img img, .rcard:hover .rcard__img svg { transform: scale(1.05); }
.rcard__grade { position: absolute; top: .75rem; left: .75rem; padding: .25rem .65rem; border-radius: 99px; font-size: .72rem; font-weight: 700; background: #e7f8ee; color: #177a3c; }
.ritem .rcard__grade { position: static; }
.rcard__grade--bon { background: #fff4d6; color: #8a6200; }
.rcard__grade--correct { background: #ffe9dc; color: #a84a12; }
.rcard__body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.1rem; }
.rcard__name { font-weight: 700; font-size: 1.05rem; }
.rcard__spec { color: var(--m); font-size: .85rem; }
.rcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.rcard__prix { font-family: var(--ff-d); font-size: 1.45rem; color: var(--o); }
.rcard__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--l); transition: background .3s, color .3s, transform .4s var(--ease); }
.rcard:hover .rcard__go { background: var(--o); color: #fff; transform: rotate(-45deg); }
.alertform { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; max-width: 720px; margin: 1.25rem auto 0; }
.alertform .form-msg { flex-basis: 100%; }
.badge-rupture { display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; border-radius: 99px; background: #ffe9dc; color: #a84a12; font-weight: 700; font-size: .85rem; }
.usp-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
@media (max-width: 767px) { .usp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.usp-row > div { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem; border-radius: var(--r); background: var(--l); }
.usp-row .ic { color: var(--o); margin-bottom: .4rem; }
.usp-row span { font-size: .85rem; color: var(--g); }
.ritem { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 991px) { .ritem { grid-template-columns: 1fr; } }
.ritem__main { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--l); overflow: hidden; padding: 1.5rem; }
.ritem__main img, .ritem__main svg { max-height: 100%; width: auto; object-fit: contain; }
.ritem__thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.ritem__thumb { width: 72px; height: 72px; padding: 0; border-radius: var(--r-sm); border: 2px solid transparent; overflow: hidden; cursor: pointer; background: var(--l); transition: border-color .2s, transform .3s var(--ease-back); }
.ritem__thumb.is-on, .ritem__thumb:hover { border-color: var(--o); transform: translateY(-2px); }
.ritem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ritem__t { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .5rem; }
.ritem__t span { color: var(--m); font-weight: 600; }
.ritem__prix { font-family: var(--ff-d); font-size: 2.6rem; font-weight: 700; color: var(--o); margin-bottom: 1.25rem; }
.specs { display: grid; gap: 0; margin: 0 0 1.5rem; }
.specs > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--m); font-weight: 500; }
.specs dd { margin: 0; font-weight: 600; }
.specs small { display: block; font-weight: 400; color: var(--g); margin-top: .2rem; }
.ritem__form { padding: 1.25rem; border-radius: var(--r-lg); background: var(--l); }
.ritem__h { font-weight: 750; font-size: 1.1rem; margin-bottom: .75rem; }
.notice-soft { padding: 1rem; border-radius: var(--r); background: var(--o-soft); color: #9a4a00; }

/* Distance, contact, toulouse, divers */
.distform fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.distform legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .9rem; }
.distform__done { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--r); background: #e7f8ee; margin-top: 1rem; animation: diagIn .5s var(--ease-back); }
.distform__ok, .merci__ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #2bb35e; color: #fff; flex: none; animation: pop .5s var(--ease-back); }
.distform__ok .ic, .merci__ok .ic { width: 28px; height: 28px; stroke-width: 2.5; }
.shipto { padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--n); color: #fff; }
.shipto p:last-child { margin: 0; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; align-items: start; }
@media (max-width: 991px) { .contact { grid-template-columns: 1fr; } }
.contact__cards { display: grid; gap: .75rem; }
.ccard { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); color: var(--n); transition: border-color .25s, transform .35s var(--ease-back), box-shadow .3s; }
a.ccard:hover { color: var(--n); border-color: var(--o); transform: translateY(-2px); box-shadow: var(--sh-2); }
.ccard__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--o-soft); color: var(--o); flex: none; }
.ccard small { display: block; color: var(--m); font-size: .78rem; }
.ccard strong { display: block; }
.contact__map { margin-top: 1.5rem; min-height: 380px; }
.tree { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.tree__col { padding: 1.4rem; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); }
.tree__head { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; font-weight: 750; color: var(--n); margin-bottom: .75rem; }
.tree__head .ic { color: var(--o); transition: transform .3s var(--ease); }
.tree__head:hover { color: var(--o); }
.tree__head:hover .ic { transform: translateX(4px); }
.tree ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: .92rem; }
.tree__sub { padding: .35rem 0 .2rem .8rem !important; border-left: 1.5px solid var(--line); margin: .2rem 0 .4rem !important; font-size: .86rem; color: var(--g); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.value { padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); }
.value > .ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--o-soft); color: var(--o); margin-bottom: 1rem; box-sizing: content-box; }
.value p { color: var(--g); margin: 0; font-size: .95rem; }
.merci { max-width: 680px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: .5rem; }
.merci__when { font-size: 1.25rem; font-weight: 700; display: flex; gap: .5rem; align-items: center; }
.merci__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1rem; }
.nf { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: .5rem; }
.nf__code { font-family: var(--ff-d); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; margin: 0; }
.nf__code span { color: var(--o); display: inline-block; animation: float 4s ease-in-out infinite; }
.nf .diag { width: 100%; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video-embed img, .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-embed__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--o); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--ease-back); }
.video-embed__play:hover { transform: scale(1.1); }
.video-embed__play svg { width: 30px; height: 30px; margin-left: 4px; }

/* ---------- Pied de page ---------- */
.ftr { background: var(--n); color: #c3c8d6; padding: 0 0 2rem; position: relative; }
.ftr__cta { position: relative; top: -3rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: var(--o); color: #fff; overflow: hidden; }
.ftr__cta .eyebrow { color: #FFE0C2; }
.ftr__cta-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; max-width: 640px; }
.ftr__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.ftr__cta .btn-p21 { --bg: #fff; background: #fff; color: var(--n); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }
.ftr__cta .btn-p21::after { background: var(--n); }
.ftr__cta .btn-p21:hover { color: #fff; }
.ftr__cta .btn-p21 .btn-p21__ic { background: var(--o); color: #fff; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 991px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr .hdr__logo { color: #fff; margin-bottom: 1rem; }
.ftr__brand p { font-size: .92rem; }
.ftr__rating { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-size: .9rem; padding: .55rem .9rem; border-radius: 999px; background: rgba(255,255,255,.06); transition: background .2s; }
.ftr__rating:hover { color: #fff; background: rgba(255,255,255,.12); }
.ftr__h { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: .95rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.ftr a.link-u, .ftr .link-u { color: #c3c8d6; }
.ftr a.link-u:hover, .ftr .link-u:hover { color: #fff; }
.ftr__contact p { display: flex; gap: .7rem; font-size: .92rem; margin-bottom: .8rem; }
.ftr__contact .ic { color: var(--o); margin-top: .15rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials__a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; transition: background .25s, transform .35s var(--ease-back); }
.socials__a:hover { background: var(--o); color: #fff; transform: translateY(-3px); }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.ftr__bottom p { margin: 0; }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ftr__cookies { font-size: .82rem; }

/* Bandeau cookies */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 3002; width: min(460px, calc(100vw - 32px)); animation: toastIn .5s var(--ease-back); }
.consent__box { background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 70px -15px rgba(0,0,0,.35); border: 1px solid var(--line); padding: 1.35rem; }
.consent__title { font-weight: 800; font-size: 1.1rem; margin-bottom: .4rem; }
.consent__txt { font-size: .86rem; color: var(--g); }
.consent__prefs { display: grid; gap: .1rem; margin: .5rem 0 1rem; padding: .5rem .75rem; border-radius: var(--r); background: var(--l); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.consent__actions .btn-ghost { padding: .6rem 1rem; font-size: .88rem; }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor { display: none !important; }
}

/* ---------- Composants du « Bloc IA » (aussi chargés dans l'éditeur) ---------- */
.ia-wrap { margin: 2rem 0; }
.ia-block { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); }
.ia-block--soft { background: var(--l); }
.ia-block--dark { background: var(--n); color: #fff; }
.ia-block--orange { background: var(--o); color: #fff; }
.ia-block h2, .ia-block h3 { letter-spacing: -.02em; }
.ia-kicker { display: block; font-family: var(--ff-d); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--o); margin-bottom: .6rem; }
.ia-block--orange .ia-kicker { color: #FFE0C2; }
.ia-card { height: 100%; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; color: var(--n); border: 1.5px solid var(--line); box-shadow: var(--sh-1); transition: transform .4s var(--ease-back), box-shadow .35s, border-color .25s; }
.ia-card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--o); }
.ia-step { height: 100%; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; color: var(--n); border: 1.5px solid var(--line); }
.ia-step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--o); color: #fff; font-weight: 800; font-family: var(--ff-d); margin-bottom: 1rem; }
.ia-badge { display: inline-block; padding: .25rem .7rem; border-radius: 99px; background: var(--o-soft); color: #b45400; font-size: .78rem; font-weight: 700; }
.ia-badge--blue { background: var(--b-soft); color: var(--b2); }
.ia-price { font-family: var(--ff-d); font-size: 1.8rem; font-weight: 700; color: var(--o); }
.ia-price-old { color: var(--m); }
.ia-check { list-style: none; padding: 0; }
.ia-check li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.ia-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--o) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose .ia-check li::before { transform: none; border-radius: 50%; width: 1.2rem; height: 1.2rem; top: .2em; left: 0; }
.ia-faq details { border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 1.1rem; margin-bottom: .6rem; background: #fff; color: var(--n); }
.ia-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 650; }

/* En-tête : place disponible entre 1280 et 1500 px */
@media (max-width: 1499px) { .hdr__tel span { display: none; } .nav-main__link { padding: .55rem .55rem; } .nav-main__link::after { left: .55rem; right: .55rem; } }
@media (min-width: 1280px) and (max-width: 1399px) { .nav-main__item:first-child { display: none; } }
.cursor:not(.is-ready) { opacity: 0; }
.qrseal small { display: block; max-width: 84px; font-size: .56rem; line-height: 1.15; text-align: center; margin-top: .2rem; }
@media (min-width: 992px) { .paths > .path:last-child { grid-column: 2 / span 2; min-height: 200px; } }
@media (min-width: 992px) {
  .phero--cm .phero__row { flex-wrap: nowrap; gap: 3rem; }
  .phero--cm .phero__txt { flex: 1 1 0; }
  .phero--cm .phero__title { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
}
.cart-sum span:last-child { white-space: nowrap; }
.r4 > *, .phero__row > * { min-width: 0; }
.diag { max-width: min(640px, 100%); }
@media (max-width: 575px) {
  .diag__btn { padding: .75rem 1rem; }
  .diag__ph { max-width: calc(100% - 10rem); }
  .svc { gap: .75rem; padding: .85rem; }
  .price__now { font-size: 1.3rem; }
}
.logo-img { height: 54px; width: auto; transition: transform .5s var(--ease-back); }
.hdr__logo:hover .logo-img { transform: rotate(-4deg) scale(1.05); }
.ftr .logo-img { height: 72px; }
@media (max-width: 575px) { .logo-img { height: 46px; } }

/* ==========================================================================
   Hero de l'accueil (home.js) : photo plein cadre, repères, plongée au défilement
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: #161617; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: flex-end; }
.hero__frame { position: relative; flex: none; width: max(82vw, 150svh); margin-right: -9vw; aspect-ratio: 1600 / 1168; will-change: transform, clip-path;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-color: rgba(14,14,15,0); background-image: linear-gradient(90deg, rgba(14,14,15,.94) 0%, rgba(14,14,15,.72) 30%, rgba(14,14,15,0) 60%), linear-gradient(0deg, rgba(14,14,15,.55), transparent 28%); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: var(--hdr); }
.hero__intro { max-width: 640px; }
.hero__kicker { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.5rem; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #c9ccd4; }
.hero__kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--o); }
.hero__title { font-size: clamp(2.8rem, 5.8vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; margin: 0 0 1.5rem; }
.hero__line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero__line > span { display: inline-block; will-change: transform; }
.hero__title em { font-style: normal; color: var(--o); }
.hero__lead { font-size: 1.12rem; color: #b7bac3; max-width: 520px; margin: 0 0 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; list-style: none; padding: 0; margin: 1.75rem 0 0; font-size: .88rem; color: #b7bac3; }
.hero__trust li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__trust strong { color: #fff; }
.hero .diag__ph { color: #8891A5; }
.hero .diag__field { border-color: transparent; }
/* Repères posés sur le téléphone */
.hero__tag { position: absolute; left: calc(var(--u) * 100%); top: calc(var(--v) * 100%); display: flex; align-items: center; transform: translate(-6px, -50%); pointer-events: none; }
.hero__tag--l { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.hero__pt { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--o); }
.hero__ln { flex: none; width: 64px; height: 1px; background: rgba(255,255,255,.55); transform-origin: left; }
.hero__tag--l .hero__ln { transform-origin: right; }
.hero__lbl { padding: .5rem .8rem; border-radius: 10px; background: rgba(18,18,20,.82); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; line-height: 1.25; }
.hero__lbl strong { display: block; font-size: .82rem; }
.hero__lbl small { display: block; font-size: .74rem; color: #FFB066; }
/* Phrase de fin de plongée */
.hero__statement { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; padding: 0 1.5rem; pointer-events: none; }
.hero__big { font-size: clamp(2.6rem, 6.2vw, 6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; max-width: 13ch; margin: 0 auto 1.25rem; }
.hero__big > span { display: inline-block; opacity: 0; }
.hero__big em { font-style: normal; color: var(--o); }
.hero__sub { margin: 0 auto; max-width: 520px; color: #c9ccd4; font-size: 1.1rem; opacity: 0; }
.hero__scroll { position: absolute; right: 2.5rem; bottom: 1.75rem; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .6rem; color: #9da1ab; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero__scroll:hover { color: #fff; }
.hero__scroll-bar { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,.18); overflow: hidden; }
.hero__scroll-bar::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: #fff; animation: scrollbar 2s var(--ease) infinite; }
@keyframes scrollbar { from { transform: translateY(-100%); } to { transform: translateY(230%); } }
/* État initial (le script anime ensuite) */
html.anim .hero__frame { clip-path: inset(22% 18% 22% 34% round 28px); }
html.anim .hero__line > span { transform: translateY(110%); }
html.anim .hero__kicker, html.anim .hero__lead, html.anim .hero .diag, html.anim .hero__trust, html.anim .hero__lbl, html.anim .hero__scroll { opacity: 0; }
html.anim .hero__pt { transform: scale(0); }
html.anim .hero__ln { transform: scaleX(0); }
@media (max-width: 991px) {
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding-top: calc(var(--hdr) + 1.75rem); }
  .hero__inner { order: 1; height: auto; padding-top: 0; }
  .hero__media { order: 2; position: relative; inset: auto; display: block; height: 78vw; max-height: 520px; margin-top: 1.5rem; overflow: hidden; }
  .hero__frame { width: 150%; margin: -6% 0 0 -32%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
  .hero__shade, .hero__tag, .hero__statement, .hero__scroll { display: none; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .hero__lead { font-size: 1rem; }
  html.anim .hero__frame { clip-path: inset(10% 10% 10% 10% round 22px); }
}

/* Pannes courantes (liste) */
.svclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svclist__a { position: relative; display: grid; grid-template-columns: 2.5rem 3rem minmax(0, 14rem) minmax(0, 1fr) minmax(8rem, auto) 2.75rem; align-items: center; gap: 1.5rem; padding: 1.5rem .75rem; border-bottom: 1px solid var(--line); color: var(--n); isolation: isolate; }
.svclist__a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--l); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.svclist__a:hover { color: var(--n); }
.svclist__a:hover::before { transform: scaleY(1); }
.svclist__n { font-family: var(--ff-d); font-size: .85rem; color: var(--m); }
.svclist__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--n); transition: color .3s, transform .5s var(--ease-back); }
.svclist__ic .ic { width: 24px; height: 24px; }
.svclist__a:hover .svclist__ic { color: var(--o); transform: rotate(-6deg); }
.svclist__t { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; transition: transform .45s var(--ease); }
.svclist__a:hover .svclist__t { transform: translateX(6px); }
.svclist__d { color: var(--g); font-size: .95rem; }
.svclist__p { font-family: var(--ff-d); font-weight: 600; text-align: right; white-space: nowrap; }
.svclist__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: background .3s, border-color .3s, color .3s, transform .45s var(--ease); }
.svclist__a:hover .svclist__go { background: var(--n); border-color: var(--n); color: #fff; transform: rotate(-45deg); }
.svclist__note { margin: 0; max-width: 320px; color: var(--m); font-size: .9rem; }
@media (max-width: 991px) {
  .svclist__a { grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .35rem 1rem; padding: 1.25rem .25rem; }
  .svclist__n, .svclist__go { display: none; }
  .svclist__ic { grid-row: span 2; }
  .svclist__t { font-size: 1.12rem; }
  .svclist__d { grid-column: 2 / -1; font-size: .88rem; }
  .svclist__p { grid-column: 3; grid-row: 1; font-size: .9rem; }
}

/* Photos d'atelier */
.special__art { margin: 0; }
.special__art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.special__art figcaption { margin-top: .85rem; color: #9aa1b5; font-size: .85rem; }
.phero__photo { margin: 0; }
.phero__photo img { display: block; width: 100%; max-width: 560px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* ==========================================================================
   Contenus repris de Jimdo, remis en page (inc/layout.php)
   ========================================================================== */
.prose--full { max-width: none; }
.prose .pz-sec + .pz-sec { margin-top: clamp(2.75rem, 5vw, 4.5rem); padding-top: clamp(2.75rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.prose .pz-sec > h2, .prose .pz-split__body > h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); margin: 0 0 1rem; max-width: 30ch; }
.prose .pz-sec > h3, .prose .pz-split__body > h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
.prose .pz-kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--o); }
.prose .pz-sec > p:not([class]), .prose .pz-split__body > p:not([class]) { max-width: 68ch; }
/* Image + texte */
.pz-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.pz-split--rev .pz-split__media { order: 2; }
.pz-split__media figure, .pz-split__media p { margin: 0; }
.pz-split__media img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); }
.pz-split__media .pz-gallery { margin: 0; }
.pz-split__body > :last-child { margin-bottom: 0; }
@media (max-width: 767px) { .pz-split { grid-template-columns: 1fr; } .pz-split--rev .pz-split__media { order: 0; } }
/* Galeries et tuiles */
.pz-gallery { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.pz-gallery--3 { --c: 3; }
.pz-gallery figure, .pz-gallery p { margin: 0; }
.pz-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.pz-split__media .pz-gallery img { aspect-ratio: 3 / 4; }
@media (max-width: 575px) { .pz-gallery--3 { --c: 2; } }
.pz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.pz-tiles p { margin: 0; }
.pz-tiles a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--l); transition: border-color .25s, transform .4s var(--ease-back); }
.pz-tiles a:hover { border-color: var(--n); transform: translateY(-3px); }
.pz-tiles img { display: block; width: 100%; height: auto; border-radius: 0 !important; transition: transform .6s var(--ease); }
.pz-tiles a:hover img { transform: scale(1.04); }
/* Cartes numérotées */
.pz-cards { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; counter-reset: pz; }
.pz-cards--2 { --c: 2; }
@media (max-width: 991px) { .pz-cards { --c: 2; } }
@media (max-width: 575px) { .pz-cards { --c: 1; } }
.pz-card { display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .25s; }
.pz-card:hover { border-color: #c8cdd9; }
.pz-card::before { counter-increment: pz; content: counter(pz, decimal-leading-zero); font-family: var(--ff-d); font-size: .8rem; font-weight: 600; color: var(--o); margin-bottom: 1.4rem; }
.prose .pz-card h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.prose .pz-card p { margin: 0; color: var(--g); font-size: .93rem; }
.prose .pz-card .pz-card__more { margin-top: auto; padding-top: 1rem; }
.pz-card__more .pz-btn { padding: 0; border: 0; background: none; color: var(--n); font-weight: 650; }
.pz-card__more .pz-btn:hover { transform: none; color: var(--o); }
/* Infos pratiques */
.pz-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.prose .pz-info__i { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: .85rem; align-content: start; margin: 0; padding: 1rem; border-radius: var(--r); background: var(--l); font-size: .92rem; line-height: 1.45; }
.pz-info__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--o); }
.pz-info__ic .ic { width: 20px; height: 20px; }
/* Rangées de boutons */
.prose .pz-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.pz-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--n); font-weight: 600; font-size: .92rem; line-height: 1.2; transition: border-color .25s, background .25s, color .25s, transform .35s var(--ease-back); }
.pz-btn .ic { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.pz-btn:hover { border-color: var(--n); color: var(--n); transform: translateY(-2px); }
.pz-btn:hover .ic { transform: translateX(3px); }
.pz-btn--main { background: var(--n); border-color: var(--n); color: #fff; }
.pz-btn--main:hover { background: #000; border-color: #000; color: #fff; }
/* FAQ */
.pz-faq { margin: 1.25rem 0; }
.prose .pz-faq details { background: #fff; }
.prose .pz-faq details > p { color: var(--g); padding-bottom: .5rem; }

/* ==========================================================================
   Méga-menu « Réparation à Toulouse » : rubriques en onglets
   ========================================================================== */
.mega__inner { grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; overflow: hidden; }
.mega__tabs { display: grid; align-content: start; gap: .25rem; padding: 1rem; background: var(--l); border-right: 1px solid var(--line); }
.mega__tab { display: grid; grid-template-columns: 40px minmax(0, 1fr) 12px; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 12px; color: var(--n); transition: background .25s, box-shadow .25s; }
.mega__tab:hover { color: var(--n); }
.mega__tab-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--n); transition: background .25s, color .25s, border-color .25s; }
.mega__tab-ic .ic { width: 20px; height: 20px; }
.mega__tab-t { font-weight: 650; font-size: .94rem; line-height: 1.25; }
.mega__tab-t small { display: block; color: var(--m); font-size: .75rem; font-weight: 500; }
.mega__tab-go { width: 12px; height: 12px; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .3s var(--ease); }
.mega__tab.is-on { background: #fff; box-shadow: var(--sh-1); }
.mega__tab.is-on .mega__tab-ic { background: var(--n); border-color: var(--n); color: #fff; }
.mega__tab.is-on .mega__tab-go { opacity: 1; transform: none; color: var(--o); }
.mega__panes { padding: 1.4rem 1.75rem 1.5rem; overflow: auto; min-height: 360px; }
.mega__pane { display: none; }
.mega__pane.is-on { display: block; animation: paneIn .35s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } }
.mega__pane-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.mega__pane-t { margin: 0; font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.mega__pane-head .link-arrow { font-size: .88rem; }
.mega__feat { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.mega__series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; margin: 0; }
.mega__series > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .75rem; align-items: baseline; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.mega__series dt { font-weight: 650; font-size: .86rem; }
.mega__series dd { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.mega__chip { display: inline-block; padding: .2rem .6rem; border-radius: 99px; border: 1px solid var(--line); color: var(--g); font-size: .8rem; font-weight: 500; transition: border-color .2s, color .2s, background .2s; }
.mega__chip:hover { border-color: var(--n); background: var(--n); color: #fff; }
.mega__chip--feat { border-color: var(--o-soft); background: var(--o-soft); color: #a84a00; font-weight: 650; padding: .3rem .8rem; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .5rem; }
.mega__card { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line); color: var(--n); font-weight: 600; font-size: .92rem; transition: border-color .2s, background .2s; }
.mega__card .ic { width: 16px; height: 16px; color: var(--m); transition: transform .3s var(--ease), color .2s; }
.mega__card:hover { border-color: var(--n); color: var(--n); background: var(--l); }
.mega__card:hover .ic { transform: translateX(3px); color: var(--n); }
.mega__empty { color: var(--g); max-width: 420px; }
.mega__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.75rem; border-top: 1px solid var(--line); background: #fff; font-size: .85rem; color: var(--g); }
.mega__foot > span { display: inline-flex; align-items: center; gap: .45rem; }
.mega__foot .ic { color: var(--o); }

/* ==========================================================================
   Rail d'avis (glisser avec inertie)
   ========================================================================== */
.rail { display: block; overflow: hidden; overflow: clip; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rail__track { position: relative; display: flex; gap: 1rem; will-change: transform; }
.rail__track > * { flex: 0 0 min(360px, 82vw); }
.rail.is-drag { cursor: grabbing; }
.rail.is-drag .review { pointer-events: none; }
.rail-foot { display: flex; align-items: center; gap: 2rem; margin-top: 1.25rem; }
.rail-bar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rail-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0) * 80%); width: 20%; border-radius: 2px; background: var(--n); }

/* ==========================================================================
   Barre de défilement et retour en haut
   ========================================================================== */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--l); }
::-webkit-scrollbar-thumb { background: #c3c8d4; border-radius: 10px; border: 3px solid var(--l); }
::-webkit-scrollbar-thumb:hover { background: var(--n); }
.mega__inner ::-webkit-scrollbar, .drawer__panel::-webkit-scrollbar, .cart-drawer__panel::-webkit-scrollbar, .modal ::-webkit-scrollbar { width: 8px; }
.mega__inner ::-webkit-scrollbar-track, .drawer__panel::-webkit-scrollbar-track, .cart-drawer__panel::-webkit-scrollbar-track, .modal ::-webkit-scrollbar-track { background: transparent; }
.mega__inner ::-webkit-scrollbar-thumb, .drawer__panel::-webkit-scrollbar-thumb, .cart-drawer__panel::-webkit-scrollbar-thumb, .modal ::-webkit-scrollbar-thumb { border: 2px solid #fff; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: #c3c8d4 var(--l); scrollbar-width: thin; } }
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 1019; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--n); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .35s, transform .45s var(--ease-back), visibility 0s .35s, background .25s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.totop:hover { background: #000; }
.totop__svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__track, .totop__ring { fill: none; stroke-width: 2; }
.totop__track { stroke: rgba(255,255,255,.14); }
.totop__ring { stroke: var(--o); stroke-dasharray: 1; stroke-dashoffset: 1; }
.totop__ic { position: relative; width: 20px; height: 20px; transition: transform .35s var(--ease); }
.totop:hover .totop__ic { transform: translateY(-3px); }
@media (max-width: 991px) { body:has(.cartbar:not([hidden])) .totop { bottom: 88px; } .totop { right: 16px; bottom: 16px; width: 46px; height: 46px; } }
/* Thème classique : les groupes ajoutent un conteneur interne, neutralisé pour les grilles */
.wp-block-group[class*="pz-"] > .wp-block-group__inner-container { display: contents; }
.prose .pz-info__i { display: block; position: relative; padding: 1rem 1rem 1rem 4.25rem; }
.pz-info__ic { position: absolute; left: 1rem; top: 1rem; }
.prose p > img:not(:only-child) { display: inline-block; width: auto; height: 1.6em; margin-right: .4rem; vertical-align: middle; border-radius: 0; }
.pz-card--media { padding-top: 0; overflow: hidden; }
.pz-card--media::before { display: none; }
.pz-card--media .ba { margin: 0 -1.4rem 1.2rem; border-radius: 0; aspect-ratio: 3 / 2; }
.prose .ba__img { border-radius: 0; height: 100%; }

/* Écran de chargement (première page de la visite, main.js) */
.loader { display: none; }
html.js:not(.no-loader) .loader { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: #161617; color: #fff; clip-path: inset(0 0 0 0); animation: loaderSafe 0s 6s forwards; }
@keyframes loaderSafe { to { visibility: hidden; opacity: 0; } }
.loader__in { display: grid; justify-items: center; gap: 1.5rem; width: min(280px, 70vw); }
.loader__logo { width: 84px; height: auto; animation: loaderLogo 1.2s var(--ease) both; }
@keyframes loaderLogo { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.loader__bar { position: relative; width: 100%; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--o); transform: scaleX(0); transform-origin: left; }
.loader__meta { display: flex; justify-content: space-between; width: 100%; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9da1ab; font-variant-numeric: tabular-nums; }
/* Réseaux sociaux du pied : icône blanche, fond orange au survol (jamais orange sur orange) */
.ftr__contact .socials__a .ic { color: inherit; margin: 0; }
.socials__a:hover { background: var(--o); color: #fff; }
/* Page « Réparation à Toulouse » : colonnes en maçonnerie, longues listes sur deux colonnes */
.tree { display: block; columns: 3 300px; column-gap: 1.25rem; }
.tree__col { break-inside: avoid; margin-bottom: 1.25rem; }
.tree ul:has(> li:nth-child(13)) { display: block; columns: 2; column-gap: 1rem; }
.tree ul:has(> li:nth-child(13)) > li { break-inside: avoid; margin-bottom: .35rem; }
.hero__inner > *, .hero__intro { min-width: 0; } @media (max-width: 991px) { .hero__inner { width: 100%; } .hero__intro { width: 100%; } }
/* Photos d'appareil : jamais déformées, quel que soit le format d'origine */
.device-photo, .cartcol__photo img, .actioncard__photo img, .devis__photo img, .phero__device { height: auto; object-fit: contain; }
.cartcol__photo img { width: 100%; max-height: 190px; }

/* Accueil : « L'atelier en détail » (texte de référencement en chapitres) */
.seo { border-top: 1px solid var(--line); }
.seo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.seo__sticky { position: sticky; top: calc(var(--hdr) + 2rem); }
.seo__t { font-size: clamp(1.7rem, 2.8vw, 2.35rem); margin-bottom: 1.1rem; }
.seo__lead { color: var(--g); font-size: 1.02rem; margin-bottom: 1.75rem; }
.seo__lead p { margin: 0 0 .75rem; }
.seo__list { border-top: 1px solid var(--n); }
.seo__item { border-bottom: 1px solid var(--line); }
.seo__item summary { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2rem; align-items: center; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.seo__item summary::-webkit-details-marker { display: none; }
.seo__n { font-family: var(--ff-d); font-size: .85rem; color: var(--m); transition: color .3s; }
.seo__h { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; transition: transform .4s var(--ease); }
.seo__item summary:hover .seo__h { transform: translateX(4px); }
.seo__pm { position: relative; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.seo__pm::before, .seo__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--n); transition: transform .4s var(--ease), background .3s; }
.seo__pm::after { transform: rotate(90deg); }
.seo__item summary:hover .seo__pm { border-color: var(--n); }
.seo__item[open] .seo__n { color: var(--o); }
.seo__item[open] .seo__pm { background: var(--n); border-color: var(--n); transform: rotate(180deg); }
.seo__item[open] .seo__pm::before, .seo__item[open] .seo__pm::after { background: #fff; }
.seo__item[open] .seo__pm::after { transform: rotate(0deg); }
.seo__body { padding: 0 2.75rem 1.75rem 3.75rem; font-size: .97rem; color: var(--g); }
.seo__body p { margin: 0 0 .9rem; }
.seo__body h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; color: var(--n); }
.seo__item[open] .seo__body { animation: seoIn .45s var(--ease); }
@keyframes seoIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 991px) {
  .seo__grid { grid-template-columns: 1fr; }
  .seo__sticky { position: static; }
  .seo__body { padding: 0 0 1.5rem; }
  .seo__item summary { grid-template-columns: 2.25rem minmax(0, 1fr) 2rem; }
}

/* ==========================================================================
   Pages éditoriales pleine largeur (page.php)
   ========================================================================== */
.phero--page .phero__row { align-items: flex-end; flex-wrap: nowrap; }
.phero--page .phero__txt { flex: 1 1 0; }
.phero__diag { width: 400px; max-width: 100%; }
@media (max-width: 991px) { .phero--page .phero__row { flex-wrap: wrap; } .phero__diag { width: 100%; } }
.prose--page { max-width: none; font-size: 1.05rem; }
.prose--page > .pz-sec:first-child { padding-top: .5rem; }
/* Section de texte seul : titre à gauche, texte à droite */
@media (min-width: 992px) {
  .prose .pz-sec:has(> .wp-block-group__inner-container > h2):not(:has(.pz-cards, .pz-tiles, .pz-gallery, .pz-split, .pz-faq, .pz-info, .pz-steps, .pz-prods, .pz-icons, .pz-brands, .p21-modeles, table, .ba, iframe, figure, .video-embed)) > .wp-block-group__inner-container {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start;
  }
  .prose .pz-sec:has(> .wp-block-group__inner-container > h2):not(:has(.pz-cards, .pz-tiles, .pz-gallery, .pz-split, .pz-faq, .pz-info, .pz-steps, .pz-prods, .pz-icons, .pz-brands, .p21-modeles, table, .ba, iframe, figure, .video-embed)) > .wp-block-group__inner-container > * { grid-column: 2; }
  .prose .pz-sec:has(> .wp-block-group__inner-container > h2):not(:has(.pz-cards, .pz-tiles, .pz-gallery, .pz-split, .pz-faq, .pz-info, .pz-steps, .pz-prods, .pz-icons, .pz-brands, .p21-modeles, table, .ba, iframe, figure, .video-embed)) > .wp-block-group__inner-container > :is(h2, .pz-kicker) { grid-column: 1; grid-row: 1 / span 40; align-self: start; position: sticky; top: calc(var(--hdr) + 1.5rem); }
  .prose .pz-sec:has(> .wp-block-group__inner-container > h2):not(:has(.pz-cards, .pz-tiles, .pz-gallery, .pz-split, .pz-faq, .pz-info, .pz-steps, .pz-prods, .pz-icons, .pz-brands, .p21-modeles, table, .ba, iframe, figure, .video-embed)) > .wp-block-group__inner-container > .pz-kicker + h2 { top: calc(var(--hdr) + 3.5rem); margin-top: 2rem; }
  /* Sections à grille : intitulé et chapô sur la largeur, le reste en dessous */
  .prose .pz-sec > .wp-block-group__inner-container > p:not([class]) { max-width: 72ch; }
}
.prose .pz-sec > .wp-block-group__inner-container > h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 1rem; max-width: 26ch; }
.prose .pz-sec > .wp-block-group__inner-container > h3 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; }
.prose .pz-sec > .wp-block-group__inner-container > h3:first-child { margin-top: 0; }
.prose ol { padding-left: 1.25rem; }
.prose ol li { margin-bottom: .6rem; padding-left: .25rem; }
.prose ol li::marker { color: var(--o); font-weight: 700; }
.prose table { display: table; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
/* Frise d'étapes chronométrées */
.pz-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin: 1.75rem 0; counter-reset: st; border-top: 1px solid var(--n); }
.pz-step { position: relative; padding: 1.4rem 1.5rem 1.25rem 0; }
.pz-step::before { counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute; top: -.6rem; left: 0; padding-right: .5rem; background: #fff; font-family: var(--ff-d); font-size: .8rem; font-weight: 600; color: var(--o); }
.prose .pz-step__time { margin: .4rem 0 .5rem; font-family: var(--ff-d); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; color: var(--n); }
.prose .pz-step h3 { font-size: 1.02rem; margin: 0 0 .35rem; }
.prose .pz-step p:last-child { margin: 0; color: var(--g); font-size: .92rem; }
/* Bandeau de conversion en fin de page */
.convband__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; align-items: center; }
.convband .h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 991px) { .convband__in { grid-template-columns: 1fr; } }
/* Image isolée dans un texte : taille contenue */
.prose .pz-sec > .wp-block-group__inner-container > :is(figure, p:has(> img:only-child), p:has(> a:only-child > img)) img { width: auto; max-width: min(100%, 640px); max-height: 460px; object-fit: contain; }
.section { --sec-bg: #fff; }
.section--soft { --sec-bg: var(--l); }
.pz-step::before { background: var(--sec-bg, #fff); }
/* Titre de page : visible dès l'affichage, entrée courte en CSS (sans attendre les scripts) */
.phero__title, .phero__lead, .phero .eyebrow { animation: pheroIn .6s var(--ease) both; }
.phero__lead { animation-delay: .08s; }
@keyframes pheroIn { from { opacity: 0; transform: translateY(14px); } }
.pz-tiles .pz-tile a { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1rem .75rem .9rem; background: #fff; color: var(--n); }
.pz-tiles .pz-tile img { width: auto; max-width: 100%; height: 150px; object-fit: contain; }
.pz-tile__name { font-size: .88rem; font-weight: 650; text-align: center; line-height: 1.25; }
.pz-tiles .pz-tile a:hover { color: var(--n); }
/* Grille de fiches produit (ancien catalogue reconditionnés) */
.pz-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.pz-prod { display: flex; flex-direction: column; padding: 1rem 1.1rem 1.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .4s var(--ease-back); }
.pz-prod:hover { border-color: var(--n); transform: translateY(-3px); }
.pz-prod > .wp-block-group__inner-container { display: flex !important; flex-direction: column; }
.prose .pz-prod p { margin: 0; }
.pz-prod img { display: block; width: auto !important; max-width: 100%; height: 170px !important; margin: 0 auto .9rem; object-fit: contain; }
.pz-prod a { display: block; border: 0 !important; background: none !important; }
.prose .pz-prod h3 { font-size: 1rem; margin: 0 0 .35rem; order: 1; }
.prose .pz-prod .pz-prod__from { order: 2; font-size: .75rem; color: var(--m); }
.prose .pz-prod .pz-prod__price { order: 3; font-family: var(--ff-d); font-size: 1.5rem; font-weight: 700; color: var(--n); line-height: 1.1; }
.prose .pz-prod .pz-prod__old { order: 4; font-size: .8rem; color: var(--m); }
.prose .pz-prod .pz-prod__tag { order: 0; align-self: flex-start; margin-bottom: .5rem; padding: .15rem .55rem; border-radius: 99px; background: var(--o-soft); color: #a84a00; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.prose .pz-prod > .wp-block-group__inner-container > :is(p:first-child, figure) { order: -1; }
/* Grille d'icônes « nos services » */
.pz-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.pz-icon { padding: 1.2rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .25s; }
.pz-icon:hover { border-color: var(--n); }
.pz-icon > .wp-block-group__inner-container { display: flex !important; flex-direction: column; gap: .9rem; height: 100%; }
.prose .pz-icon :is(figure, p) { margin: 0; }
.pz-icon img { display: block; width: 44px !important; height: 44px !important; object-fit: contain; border-radius: 0 !important; }
.pz-icon .pz-actions { margin: auto 0 0 !important; }
.pz-icon .pz-btn { padding: 0; border: 0; background: none; color: var(--n); font-weight: 650; font-size: .95rem; white-space: normal; text-align: left; }
.pz-icon .pz-btn:hover { transform: none; color: var(--o); }
/* Galerie dans un bloc image + texte : on garde le format des images */
.pz-split__media .pz-gallery img { aspect-ratio: auto; height: auto; object-fit: contain; }
/* Puces (suite de lignes courtes) */
.pz-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.prose .pz-chip { margin: 0; padding: .5rem .95rem; border-radius: 999px; background: var(--l); font-size: .92rem; font-weight: 600; }
/* Cartes de tarifs */
.prose .pz-card--table h3 { margin-bottom: .1rem; }
.prose .pz-card .pz-card__sub { font-size: .82rem; color: var(--m); margin-bottom: .75rem; }
.pz-card--table table { margin: .25rem 0 0; font-size: .9rem; }
.pz-card--table td:last-child, .pz-card--table th:last-child { text-align: right; font-family: var(--ff-d); font-weight: 600; }
/* Barre de lecture : suit l'en-tête quand il se masque au défilement */
.readbar { transition: transform .45s var(--ease); }
body:has(.hdr.is-hidden) .readbar { transform: translateY(calc(var(--hdr) * -1)); }
/* Photos de téléphone (fiche et cartes reconditionnés) : toujours entières */
.ritem__main, .rcard__img { position: relative; }
.ritem__main img, .ritem__main svg, .rcard__img img, .rcard__img svg { position: absolute; inset: 1.5rem; width: calc(100% - 3rem); height: calc(100% - 3rem); max-height: none; object-fit: contain; }
.rcard__img img, .rcard__img svg { inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); }
.single__cover { max-height: 560px; } .single__cover img { width: 100%; max-height: 560px; object-fit: cover; }

/* Avis enrichis : photo de la réparation, avatar, réponse de la boutique */
.review { padding: 0; overflow: hidden; gap: 0; }
.review__body { display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; flex: 1; }
.review__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--l); }
.review__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.review:hover .review__ph img { transform: scale(1.04); }
.review__av--img { object-fit: cover; padding: 0; }
.review__rep { font-size: .85rem; color: var(--g); border-left: 2px solid var(--o); padding-left: .75rem; }
.review__rep summary { cursor: pointer; font-weight: 650; color: var(--n); list-style: none; }
.review__rep summary::-webkit-details-marker { display: none; }
.review__rep summary::after { content: " +"; color: var(--o); }
.review__rep[open] summary::after { content: " −"; }
.review__rep p { margin: .4rem 0 0; white-space: pre-line; }
.rail .review__ph { aspect-ratio: 16 / 10; }
.rail.is-drag .review__ph img { transform: none; }
/* Deux sur-titres de suite dans une section en deux colonnes : seul le premier reste */
.prose .pz-kicker + .pz-kicker { display: none; }
/* Titre du hero : trois lignes nettes, jamais de mot coupé (« rendez-vous ») */
.hero__intro { max-width: 760px; }
.hero__title { font-size: clamp(2.4rem, 4.3vw, 4.4rem); }
.hero__title em { white-space: nowrap; }
@media (min-width: 992px) { .hero__line > span { white-space: nowrap; } }
@media (min-width: 992px) { .hero__frame { margin-right: -16vw; } }
@media (max-width: 1279px) { .hero__tag { display: none; } }
/* Suggestions du diagnostic : une seule ligne (défilable au doigt sur mobile) */
.diag__chips { flex-wrap: nowrap; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
.diag__chips::-webkit-scrollbar { display: none; }
.diag__chip { flex: none; white-space: nowrap; padding: .32rem .7rem; font-size: .8rem; }
/* Accroche sur deux lignes ; la dernière lettre de chaque ligne n'est plus rognée par le masque */
.hero__intro { max-width: 880px; }
.hero__title { font-size: clamp(2.3rem, 3.7vw, 3.9rem); }
.hero__line > span { padding-right: .12em; margin-right: -.12em; }
/* Barre de défilement orange */
::-webkit-scrollbar-thumb { background: var(--o); }
::-webkit-scrollbar-thumb:hover { background: var(--o2); }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: var(--o) var(--l); } }
@media (min-width: 992px) {
  .hero__frame { width: max(72vw, 128svh); margin-right: -19vw; }
  .hero__shade { background-image: linear-gradient(90deg, rgba(14,14,15,.95) 0%, rgba(14,14,15,.82) 38%, rgba(14,14,15,0) 66%), linear-gradient(0deg, rgba(14,14,15,.55), transparent 28%); }
}
/* Accroche plus discrète, téléphone recentré */
.hero__title { font-size: clamp(2.1rem, 3.05vw, 3.3rem); }
@media (min-width: 992px) { .hero__frame { margin-right: -12vw; } }
.pz-gallery--4 { --c: 4; } @media (max-width: 767px) { .pz-gallery--4 { --c: 2; } }
/* Choix de la marque (paragraphe « logo + nom ») */
.pz-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.prose a.pz-brand, .pz-brand { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; color: var(--n); font-weight: 650; text-decoration: none; transition: border-color .25s, transform .35s var(--ease-back); }
.pz-brand:hover { border-color: var(--n); color: var(--n); transform: translateY(-2px); }
.pz-brand__logo { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--l); overflow: hidden; }
.prose .pz-brand__logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 0; }
.pz-brand__name { flex: 1; }
.pz-brand .ic { width: 18px; height: 18px; color: var(--m); transition: transform .3s var(--ease), color .2s; }
.pz-brand:hover .ic { transform: translateX(4px); color: var(--n); }
/* Avant / après : photo portrait plein cadre, étiquettes posées sur la photo */
.pz-card--media .ba { aspect-ratio: 4 / 5; margin: 0 -1.4rem 1.2rem; }
.pz-card--media .ba__img, .prose .pz-card--media .ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__tag { top: 1rem; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ba__tag--l { left: 1rem; } .ba__tag--r { right: 1rem; }
/* Noms sous les tuiles de modèles : pas de soulignement */
.prose .pz-tiles a, .prose .pz-tiles a:hover { text-decoration: none; }
.phero__specs { width: 360px; max-width: 100%; margin: 0; }
.real__video { max-width: 900px; margin: 0 0 2.5rem; }
.real__src { margin-top: 2rem; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--l); }
/* Vidéos du contenu : grandes ; photos des articles : plus petites */
.prose .video-embed--content { width: 100%; max-width: 900px; margin: 1.5rem 0; }
.prose .video-embed--content img { border-radius: 0; height: 100%; max-height: none; }
.video-embed__fb { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.25rem; color: #c3c8d6; font-size: .85rem; background: linear-gradient(135deg, #1a1d29, #2c3248); }
.route--single .pz-gallery, .route--real-item .pz-gallery { --c: 4; max-width: 900px; }
@media (max-width: 767px) { .route--single .pz-gallery, .route--real-item .pz-gallery { --c: 2; } }
.route--single .prose .pz-sec > .wp-block-group__inner-container > :is(figure, p:has(> img:only-child)) img { max-height: 340px; }
/* Logos de marques (SVG) : gris au repos, couleur de la marque au survol */
.brandlogo-wrap { display: grid; place-items: center; height: 56px; color: #3b3f4c; transition: color .3s; }
.brandlogo { width: auto; height: 40px; max-width: 120px; }
.brandcard:hover .brandlogo-wrap { color: var(--brand); }
.brandcard__logo { height: 64px; }
.brandlogo-wrap--mot { overflow: hidden; }
.brandlogo-wrap--mot .brandlogo { width: 118px; height: 118px; max-width: none; }
.brandlogo-wrap--mot { position: relative; display: block; width: 118px; height: 56px; margin: 0 auto; }
.brandlogo-wrap--mot .brandlogo { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
/* Tuiles de marques (logos SVG) */
.pz-tiles:has(.pz-tile--brand) { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pz-tiles .pz-tile--brand a { justify-content: center; min-height: 118px; }
.pz-tiles .pz-tile--brand a:hover .brandlogo-wrap { color: var(--brand); }
.pz-tiles .pz-tile--brand .brandlogo { height: 40px; width: auto; }
.pz-tiles .pz-tile--brand .brandlogo-wrap--mot .brandlogo { width: 118px; height: 118px; }
/* Logo Google dans un texte (même dans un lien) : à la taille du texte */
.prose img[alt="Google"], .prose a > img[src*="logo-google"] { display: inline-block; width: auto !important; height: 1.5em !important; margin-right: .35rem; vertical-align: middle; border-radius: 0; }
/* Rétractation */
.retract { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 991px) { .retract { grid-template-columns: 1fr; } }
.retract__form .h3 { margin-bottom: 1.25rem; }
.field__hint { display: block; margin-top: .35rem; font-size: .8rem; color: var(--m); }
.retract__note { margin: 1rem 0 0; font-size: .8rem; color: var(--m); }
.retract__aside .prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.retract__aside .prose h2:first-child { margin-top: 0; }
.retract__aside .modele { padding: 1.25rem 1.4rem; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--l); font-size: .92rem; }
/* Pages légales : colonne de lecture confortable */
.route--legal .prose--legal { max-width: 860px; }
.route--legal .prose--legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.route--legal .prose--legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.route--legal .prose--legal .maj { color: var(--m); font-size: .88rem; }

/* ═════════ Titres : lignes équilibrées, pas de coupure de mot ═════════ */
h1, h2, h3, .h1, .h2, .h3, .phero__title, .path__t { text-wrap: balance; hyphens: manual; overflow-wrap: normal; }
@media (max-width: 575.98px) {
  .phero .phero__title--long { font-size: clamp(1.6rem, 7.4vw, 1.9rem); }
  /* Fil d'Ariane sur une ligne : la page courante (déjà en titre) se tronque */
  .crumbs ol { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
  .crumbs li { flex: none; }
  .crumbs li[aria-current] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* ═════════ Cartes tarif reliées au parcours panier ═════════ */
.pz-card--modele > .wp-block-group__inner-container { display: flex !important; flex-direction: column; height: 100%; }
.pz-card--modele .pz-card__ph { display: grid; place-items: center; height: 150px; margin: -.25rem 0 .9rem; border-radius: 16px; background: var(--bg2, #F4F6FA); }
.pz-card--modele .pz-card__ph img { max-height: 124px; width: auto; height: auto; object-fit: contain; transition: transform .4s var(--ease); }
.pz-card--modele:hover .pz-card__ph img { transform: scale(1.04); }
.prose .pz-card--modele h3 a, .pz-card--modele h3 a { color: inherit; text-decoration: none; background: none; border: 0; box-shadow: none; }
.prose .pz-card--modele h3 a:hover { color: var(--o); }
.pz-card--modele .pz-card__cta { margin: auto 0 0; padding-top: 1rem; }
.pz-card--modele .pz-card__cta .pz-btn { width: 100%; justify-content: center; }

/* ═════════ Pont page SEO → parcours panier ═════════ */
.bpick { border-top: 1px solid var(--line, #E6E9F0); }
.bpick__lead { margin: .5rem 0 0; color: var(--m); }
.bpick .section-head--row { align-items: flex-end; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 575.98px) {
  .bpick .modelgrid--pick, .bpick .brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bpick .section-head--row .btn-p21 { width: 100%; }
}

/* ═════════ Passe mobile (375 px) ═════════ */
/* Petits libellés : jamais sous 12 px */
.modelcard__year, .qr-badge, .ba__tag, .rcard__grade { font-size: .75rem; }
@media (max-width: 575.98px) {
  .steps__label { font-size: .75rem; }

  /* Fil d'Ariane : un seul lien « ‹ parent » (la page courante est le titre juste dessous) */
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .crumbs li:nth-last-child(2)::before { content: "‹"; margin-right: .4rem; opacity: .7; font-size: 1.1em; }
  .crumbs li:nth-last-child(2) a { display: inline-block; padding: .35rem 0; }
  .crumbs li:only-child { display: block; }

  /* Prestations : le prix passe sous le descriptif, le texte garde toute la largeur */
  .svc { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .35rem .85rem; padding: 1rem; }
  .svc__box { margin-top: .1rem; }
  .svc .price, .svc .btn-devis { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: .2rem .6rem; text-align: left; min-width: 0; margin-top: .25rem; }
  .svc .price__now { font-size: 1.3rem; order: -1; }
  .svc .price__note { flex-basis: 100%; margin: 0; }

  /* Accueil : liste des réparations, prix sous le titre */
  .svclist__a { grid-template-columns: 3rem minmax(0, 1fr); }
  .svclist__p { grid-column: 2; grid-row: auto; text-align: left; color: var(--o); }
  .svclist__d { grid-column: 2; }

  /* Diagnostic de l'accueil : bouton compact pour laisser lire l'exemple */
  .diag__btn { padding: .8rem 1rem; }
  .diag input { font-size: 1rem; }

  /* Boutons : toute la largeur dans les blocs d'action, libellé sur une ligne si possible */
  .section .btn-p21--lg, .convband .btn-p21, .pz-actions .pz-btn { width: 100%; justify-content: space-between; }
  .btn-p21, .pz-btn { text-wrap: balance; }

  /* Corps des articles : intertitres à taille de lecture */
  .prose h2 { font-size: 1.5rem; line-height: 1.2; }
  .prose h3 { font-size: 1.2rem; line-height: 1.25; }
  .prose h2:is([data-long]), .prose--single h2 { font-size: 1.35rem; }

  /* Galeries : vignettes homogènes */
  .pz-gallery img, .prose .wp-block-gallery img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

  /* Cibles tactiles : au moins 40 px de haut */
  .link-u, .link-arrow, .panne__link, .review__more, .tree__head, .stretched { min-height: 40px; display: inline-flex; align-items: center; }
  .review__rep summary { padding: .55rem 0; }
}
.qrseal small { font-size: .62rem; max-width: 90px; }
.qrband__t { line-height: 1.2; }
@media (max-width: 575.98px) { .qrband__t { font-size: 1.4rem; } }
/* Aucune image de contenu déformée, même si ses dimensions déclarées ne sont pas les vraies */
.prose img { object-fit: cover; }
@media (max-width: 767.98px) {
  /* Galerie d'un bloc texte + images empilé : vignettes de même format */
  .prose .pz-split__media .pz-gallery img { aspect-ratio: 4 / 5; height: auto; max-height: none; object-fit: cover; }
  .pz-split__media .pz-gallery { align-items: start; }
}
.prose h2.is-long, .prose h3.is-long { font-size: 1.25rem; line-height: 1.35; font-weight: 650; }
@media (max-width: 575.98px) {
  .phero .phero__title--xlong { font-size: 1.45rem; line-height: 1.2; }
  .prose h2.is-long, .prose h3.is-long { font-size: 1.08rem; }
  .qrseal small { font-size: .66rem; }
}

/* ═════════ Turnstile : widget invisible + mention ═════════ */
.ts-box:empty { display: none; }
.ts-box { margin-top: .75rem; }
.ts-note { margin: .85rem 0 0; font-size: .75rem; line-height: 1.45; color: var(--m); }
.ts-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ts-note a:hover { color: var(--o); }

/* ═════════ Turnstile : widget invisible + mention ═════════ */
.ts-box:empty { display: none; }
.ts-box { margin-top: .75rem; }
.ts-note { margin: .85rem 0 0; font-size: .75rem; line-height: 1.45; color: var(--m); }
.ts-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ts-note a:hover { color: var(--o); }
/* En-tête de page sous 992 px : titre puis encart, chacun sur toute la largeur */
@media (max-width: 991.98px) {
  .phero .phero__row { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .phero .phero__txt, .phero .phero__aside { flex: 1 1 auto; width: 100%; max-width: none; min-width: 0; }
}
/* Suggestions du diagnostic : la rangée défile en largeur, ce qui rogne aussi en hauteur ;
   un peu de marge intérieure pour que la bordure et le léger soulèvement au survol restent visibles */
.diag__chips { padding: 4px 2px 6px; margin-top: calc(.9rem - 4px); margin-left: -2px; margin-right: -2px; }

/* Visuel très large dans un bloc texte + image : sous le texte, pleine largeur, jamais rogné */
.pz-split:has(.pz-split__media--wide) { grid-template-columns: minmax(0, 1fr); }
.pz-split:has(.pz-split__media--wide) .pz-split__media { order: 2; }
.pz-split__media--wide img { max-height: none; object-fit: contain; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
@media (max-width: 767.98px) {
  /* Sur téléphone, le visuel garde une taille lisible et se fait défiler au doigt */
  .pz-split__media--wide figure { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; border-radius: var(--r-lg); }
  .pz-split__media--wide img { width: 760px; max-width: none; }
}

/* Cartes « atouts » (remplacent les vignettes texte de l'ancien site) */
.pz-perks > .wp-block-group__inner-container { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.pz-perk { display: flex; flex-direction: column; gap: .85rem; padding: 1.25rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .25s, transform .35s var(--ease-back); }
.pz-perk:hover { border-color: var(--n); transform: translateY(-2px); }
.pz-perk__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--o-soft, #fff1e5); color: var(--o); }
.pz-perk__ic .ic { width: 24px; height: 24px; }
.prose .pz-perk__t { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--g); }
.pz-perk__t strong { display: block; margin-bottom: .2rem; font-size: 1.02rem; color: var(--n); }
@media (max-width: 575.98px) { .pz-perks > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); } }

/* Deux photos qui se suivent : côte à côte */
.pz-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.pz-pair figure { margin: 0; }
.pz-pair:not(.pz-gallery .pz-pair) img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
/* Paire de photos : toujours la largeur de sa colonne (dans un bloc texte + image, elle se réduisait à sa taille minimale) */
.pz-pair { width: 100%; align-self: stretch; }
.pz-pair figure { min-width: 0; }
.pz-split__media .pz-pair { margin: 0; }
/* Déjà dans une galerie : la paire s'efface, ses photos redeviennent des cases de la galerie */
.pz-gallery .pz-pair { display: contents; }
/* Bloc texte + image : l'image s'aligne en haut et accompagne la lecture quand le texte est long
   (centrée verticalement, elle laissait une grande bande vide au-dessus d'elle) */
@media (min-width: 768px) {
  .pz-split { align-items: start; }
  .pz-split__media { position: sticky; top: calc(var(--hdr, 80px) + 1.5rem); }
}

/* Photos de téléphones sur fond blanc posées sur une carte grise : le blanc prend la couleur de la carte
   (fusion « produit » ; sans effet sur les photos détourées en PNG transparent) */
.rcard__img img, .ritem__main img, .ritem__thumb img, .modelcard__img img { mix-blend-mode: multiply; }
/* Crédit de l'agence en pied de page */
.ftr__credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.ftr__credit a:hover { color: var(--o); text-decoration-color: var(--o); }

/* Bannière très large dans une galerie ou une paire : une par ligne, pleine largeur, jamais recadrée */
.pz-gallery:has(img.is-wide), .pz-pair:not(.pz-gallery .pz-pair):has(img.is-wide) { grid-template-columns: minmax(0, 1fr) !important; }
.prose img.is-wide { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; contain-intrinsic-size: none; }

/* Titre du carrousel d'avis : nombre fixe, note en pastille distincte du titre */
.rail-titre { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.rail-note { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .75rem; border-radius: 999px; background: #fff7ee; border: 1px solid #ffd9b3; font-family: var(--ff-d); font-size: .5em; letter-spacing: 0; line-height: 1; vertical-align: middle; }
.rail-note .stars { width: 78px; height: 14px; }
.rail-note strong { font-size: 1.35em; font-weight: 700; color: var(--o); }
.rail-note small { font-size: .95em; font-weight: 600; color: var(--m); margin-left: -.35rem; }

/* Blog de l'accueil : 4 articles sur une ligne en grand écran */
@media (min-width: 1200px) { .postgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1199.98px) { .postgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bannière gardée à côté du texte (pas d'empilement), entière et alignée en haut */
.pz-split:has(.pz-split__media--keep) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.pz-split__media--keep img { height: auto !important; max-height: none !important; object-fit: contain !important; }
@media (max-width: 767.98px) { .pz-split:has(.pz-split__media--keep) { grid-template-columns: minmax(0, 1fr); } }

/* Liens dans une phrase : toujours distincts du texte (couleur + soulignement permanent) */
p .link-u, li .link-u, .route__alt .link-u, small .link-u {
  color: #C04A00; font-weight: 600;  /* orange foncé : contraste ≥ 4,5:1 sur blanc */
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(255,121,0,.35), rgba(255,121,0,.35));
  background-size: 0 1.5px, 100% 1.5px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
}
p .link-u:hover, li .link-u:hover, .route__alt .link-u:hover, small .link-u:hover { color: var(--o); background-size: 100% 1.5px, 100% 1.5px; }
.ftr p .link-u, .ftr li .link-u { color: inherit; font-weight: inherit; }
/* Cartes dans la colonne texte d'un bloc texte + image : empilées (à 3 de front, une ou deux mots par ligne) */
.pz-split__body .pz-cards { --c: 1; }
.pz-split__body .pz-cards .pz-card { flex-direction: row; align-items: baseline; gap: 1rem; padding: 1rem 1.25rem; }
.pz-split__body .pz-cards .pz-card::before { margin: 0; flex: none; }
.pz-split__body .pz-cards .pz-card > .wp-block-group__inner-container { min-width: 0; display: block !important; }
.prose .pz-split__body .pz-cards .pz-card h3 { margin: 0 0 .2rem; }
.prose .pz-split__body .pz-cards .pz-card p { margin: 0; }

/* Bandeau des chiffres (accueil) : vidéo de l'atelier + présentation, sous les chiffres */
.kpis-intro { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.kpis-intro__video { border-radius: var(--r); }
.kpis-intro__video .video-embed__play { width: 56px; height: 56px; }
.kpis-intro__video .video-embed__play svg { width: 22px; height: 22px; }
.kpis-intro__txt { margin: 0; max-width: 680px; font-size: 1.12rem; line-height: 1.6; color: #c9cedb; }
.kpis-intro__txt strong { color: #fff; font-weight: 650; }
@media (max-width: 767px) { .kpis-intro { grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; padding-top: 1.75rem; } .kpis-intro__txt { font-size: 1rem; } }

/* Carrousel de l'atelier (accueil, bloc micro-soudure) : photos en fondu, flèches, points, glisser au doigt */
.carrousel { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: #0f1118; touch-action: pan-y; user-select: none; }
.carrousel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 5s linear; }
.carrousel__img.is-on { opacity: 1; transform: scale(1); }
.carrousel__btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(18,20,28,.55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .3s, background .25s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.carrousel__btn .ic { width: 20px; height: 20px; }
.carrousel__btn--prev { left: 12px; }
.carrousel__btn--prev .ic { transform: scaleX(-1); }
.carrousel__btn--next { right: 12px; }
.carrousel:hover .carrousel__btn, .carrousel__btn:focus-visible { opacity: 1; }
.carrousel__btn:hover { background: var(--o); }
.carrousel__dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.carrousel__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .35s var(--ease), background .25s; }
.carrousel__dot.is-on { width: 22px; background: var(--o); }
@media (hover: none) { .carrousel__btn { opacity: 1; width: 38px; height: 38px; margin-top: -19px; } }
@media (prefers-reduced-motion: reduce) { .carrousel__img { transition: opacity .3s; transform: none !important; } }

/* Méga-menu, générations d'iPhone : deux colonnes lues de haut en bas (de la plus récente à la plus ancienne) */
.mega__series { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 6), auto); }
@media (max-width: 991px) { .mega__series { grid-auto-flow: row; grid-template-rows: none; } }

/* Panier : la colonne occupe toute la hauteur de la liste pour que « Mon panier » reste visible en défilant (ordinateur) */
@media (min-width: 992px) { .cartcol { align-self: stretch; display: flex; flex-direction: column; gap: 1rem; } }
.price__note--fid { color: var(--o2); }
.price__note--svc { color: var(--o2); }
.cart-line__p s { margin-right: .35rem; }
.cart-sums s { color: var(--m); font-weight: 500; }
.cart-sum--net { font-weight: 650; border-top: 1px dashed var(--line); padding-top: .45rem; margin-top: .2rem; }
/* colonne collante : défilement interne seulement si le panier dépasse vraiment la hauteur d'écran (classe posée par main.js),
   sinon un arrondi d'un pixel suffisait à faire apparaître une barre de défilement */
@media (min-width: 992px) { .cartcol__sticky { max-height: calc(100vh - var(--hdr) - 2.5rem); } .cartcol__sticky.is-deborde { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }

/* Fenêtre vidéo : lecteur 16:9 plein cadre, fond noir, bouton fermer au-dessus */
.p21-modal--video .modal-content { background: #000; position: relative; }
.p21-modal--video .x-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: rgba(255,255,255,.92); }
.video-modal { aspect-ratio: 16 / 9; width: 100%; }
.video-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 575.98px) { .p21-modal--video .modal-dialog { margin: .5rem; } }
/* vignette de l'accueil : un bouton (ouvre la fenêtre) */
button.kpis-intro__video { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; }
button.kpis-intro__video:hover .video-embed__play { transform: scale(1.1); }
@media (min-width: 576px) { .p21-modal--video .modal-content { overflow: visible; } .p21-modal--video .x-close { top: -54px; right: 0; } .p21-modal--video .video-modal { border-radius: var(--r-lg); overflow: hidden; } }

/* Logo QualiRépar masqué quand le bonus ne peut plus s’appliquer (cart.js) */
.qr-badge[hidden] { display: none !important; }

/* Grille de 4 cartes ; carte avec photo du bloc Image (photo pleine largeur en tête, recadrée) */
.pz-cards--4 { --c: 4; }
@media (max-width: 1199px) { .pz-cards--4 { --c: 2; } }
@media (max-width: 575px) { .pz-cards--4 { --c: 1; } }
.prose .pz-card--media > .wp-block-group__inner-container > figure.wp-block-image:first-child,
.prose .pz-card--media > figure.wp-block-image:first-child { margin: 0 -1.4rem 1.1rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; }
.prose .pz-card--media figure.wp-block-image:first-child img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
.prose .pz-card--media h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.prose .pz-card--media p { font-size: .92rem; color: var(--g); margin: 0 0 .5rem; }
.prose .pz-card--media .pz-card__more { margin-top: auto; padding-top: .6rem; margin-bottom: 0; }
.prose .pz-card--media .pz-card__more a { font-weight: 600; color: var(--n); text-decoration: none; }
.prose .pz-card--media .pz-card__more a:hover { color: var(--o2); }

/* Frise d'étapes sur 3 colonnes (6 étapes = 2 lignes, chacune avec son filet) */
.pz-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; row-gap: 1.75rem; }
.pz-steps--3 .pz-step { border-top: 1px solid var(--n); }
.prose .pz-steps--3 .pz-step p { color: var(--g); font-size: .92rem; margin: 0 0 .6rem; }
.prose .pz-steps--3 .pz-step .pz-actions { margin-top: .4rem; }
@media (max-width: 991px) { .pz-steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .pz-steps--3 { grid-template-columns: 1fr; } }
/* photos verticales (téléphones photographiés à l'atelier) : cadrage portrait */
.prose .pz-cards--portrait .pz-card--media figure.wp-block-image:first-child { aspect-ratio: 4 / 5; }
/* téléphone : carte avec photo en ligne (vignette à gauche, texte à droite) pour ne pas empiler 4 grandes photos */
@media (max-width: 575px) {
  .prose .pz-cards--4 .pz-card--media { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 1rem; align-content: start; padding: 0 1rem 0 0; }
  .prose .pz-cards--4 .pz-card--media figure.wp-block-image:first-child,
  .prose .pz-cards--portrait .pz-card--media figure.wp-block-image:first-child { grid-column: 1; grid-row: 1 / span 4; margin: 0; aspect-ratio: auto; height: 100%; min-height: 128px; }
  .prose .pz-cards--4 .pz-card--media > *:not(figure),
  .prose .pz-cards--4 .pz-card--media > .wp-block-group__inner-container > *:not(figure) { grid-column: 2; }
  .prose .pz-cards--4 .pz-card--media h3 { margin-top: .9rem; font-size: 1rem; }
  .prose .pz-cards--4 .pz-card--media p { font-size: .88rem; }
  .prose .pz-cards--4 .pz-card--media .pz-card__more { padding: 0 0 .9rem; }
}

/* Reconditionnés : caractéristiques techniques du modèle (2 colonnes sur grand écran) */
.rspecs { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.rspecs__t { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 0 0 1rem; }
.rspecs__t span { color: var(--o2); }
.rspecs__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; margin: 0; }
.rspecs__l > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.rspecs__l dt { color: var(--m); font-weight: 500; }
.rspecs__l dd { margin: 0; font-weight: 600; }
.rspecs__n { margin: 1rem 0 0; font-size: .8rem; color: var(--m); }
@media (max-width: 767px) { .rspecs__l { grid-template-columns: 1fr; } .rspecs__l > div { grid-template-columns: 120px minmax(0, 1fr); } }

/* Page de réparation d'un modèle : vidéo(s) de l'atelier sous la liste des prestations */
.r4__videos { margin-top: 2.25rem; display: grid; gap: 1rem; }
.r4__videos .svcgroup__t { margin-bottom: .25rem; }
/* Bloc « Liste des modèles (automatique) » posé dans une page */
.p21-modeles { margin: 1.5rem 0; }
.p21-modeles__filtre { display: inline-flex; margin-bottom: 1rem; }
.prose .p21-modeles a.modelcard { text-decoration: none; border-bottom: 0; }
.prose .p21-modeles .modelcard img { border-radius: 0; margin: 0; }
/* Cartes « conseils » : illustration carrée + titre, reliées à un article */
.pz-card--conseil { padding: 0; overflow: hidden; }
.pz-card--conseil > .wp-block-group__inner-container { display: flex; flex-direction: column; height: 100%; }
.prose .pz-card--conseil figure { margin: 0; }
.prose .pz-card--conseil figure a { display: block; border: 0; overflow: hidden; }
.prose .pz-card--conseil img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease); }
.pz-card--conseil:hover img { transform: scale(1.04); }
.prose .pz-card--conseil p { margin: 0; padding: 1rem 1.15rem 1.2rem; font-weight: 650; line-height: 1.3; }
.prose .pz-card--conseil p a { color: var(--n); text-decoration: none; border: 0; }
.pz-card--conseil:hover p a { color: var(--o); }
.pz-card--conseil::before { display: none; }

/* Grille de vidéos (page carte mère) */
.prose .pz-videos .video-embed--content { margin: 0; max-width: none; border-radius: var(--r); }
@media (max-width: 767px) { .pz-videos { --c: 1; } }
