/* Kran Experience — accueil */

/* ── Scène d'ouverture ── */
html.kx .kx-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--kx-ink); color: #fff; min-height: clamp(294px, 42vh, 406px); display: flex; align-items: center; padding: 26px 0 54px; }
html.kx .kx-hero__bg { position: absolute; inset: 0; z-index: -1; }
html.kx .kx-hero__video { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, calc(var(--kx-sy, 0) * 0.18px), 0) scale(1.04); }
html.kx .kx-hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(18, 10, 6, .80) 0%, rgba(18, 10, 6, .52) 38%, rgba(18, 10, 6, .06) 72%, rgba(18, 10, 6, 0) 100%),
  linear-gradient(180deg, rgba(18, 10, 6, .22) 0%, transparent 26%, transparent 78%, rgba(18, 10, 6, .55) 100%); }
html.kx .kx-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
html.kx .kx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
html.kx .kx-hero__title { color: #fff; font: 700 clamp(1.6rem, 2.45vw, 2.2rem)/1.06 var(--kx-display); letter-spacing: -.03em; margin: 0; text-shadow: 0 2px 24px rgba(18, 10, 6, .55); text-wrap: balance; }
html.kx .kx-hero__sub { max-width: 62ch; margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: #F1E6D8; text-shadow: 0 1px 12px rgba(18, 10, 6, .7); }
html.kx .kx-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
html.kx .kx-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 16px 0 0; padding: 0; font: 550 13px/1.3 var(--kx-ui); color: #F1E6D8; text-shadow: 0 1px 10px rgba(18, 10, 6, .8); }
html.kx .kx-hero__facts li { display: flex; align-items: center; gap: 8px; }
html.kx .kx-hero__facts li::before { content: ''; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: var(--kx-glow); box-shadow: 0 0 12px rgba(255, 122, 26, .8); }
html.kx .kx-hero__pause { position: absolute; right: max(16px, calc(50vw - 616px)); bottom: 50px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(18, 10, 6, .45); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html.kx .kx-hero__pause .kx-ico-play, html.kx .kx-hero__pause[aria-pressed=true] .kx-ico-pause { display: none; }
html.kx .kx-hero__pause[aria-pressed=true] .kx-ico-play { display: block; }

/* entrée orchestrée */
@keyframes kx-rise { from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(8px); } }
@keyframes kx-slide { from { transform: translate3d(0, 26px, 0); } }
html.kx .kx-hero__copy > * { animation: kx-rise .9s var(--kx-ease) both; }
html.kx .kx-hero__copy > .kx-hero__title, html.kx .kx-hero__copy > .kx-hero__sub { animation-name: kx-slide; }
html.kx .kx-hero__copy > :nth-child(2) { animation-delay: .08s; }
html.kx .kx-hero__copy > :nth-child(3) { animation-delay: .16s; }
html.kx .kx-hero__copy > :nth-child(4) { animation-delay: .24s; }
html.kx .kx-hero__copy > :nth-child(5) { animation-delay: .32s; }

/* plateau 3D de cartes en verre */
html.kx .kx-stage { position: relative; height: 300px; perspective: 1300px; transform-style: preserve-3d; }
html.kx .kx-stage__card {
  position: absolute; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; width: min(290px, 84%); padding: 10px;
  border-radius: 18px; color: #fff; text-decoration: none;
  background: linear-gradient(140deg, rgba(40, 24, 14, .62), rgba(28, 17, 11, .42)); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 60px -20px rgba(255, 122, 26, .55);
  transform: translate3d(calc(var(--kx-px, 0) * var(--d) * 1px), calc(var(--kx-py, 0) * var(--d) * 1px), var(--z)) rotateY(calc(var(--ry) + var(--kx-px, 0) * 5deg)) rotateX(calc(var(--rx) - var(--kx-py, 0) * 5deg));
  transition: transform .9s var(--kx-ease), box-shadow .4s, border-color .3s;
  animation: kx-card-in 1.1s var(--kx-ease) both, kx-float 7s ease-in-out infinite alternate;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { html.kx .kx-stage__card { background: rgba(43, 26, 16, .94); } }
html.kx .kx-stage__card:hover, html.kx .kx-stage__card:focus-visible { border-color: rgba(255, 179, 71, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 90px -16px rgba(255, 122, 26, .9); z-index: 5; }
html.kx .kx-stage__card--1 { --d: 26; --z: 60px; --ry: -14deg; --rx: 5deg; top: 0; right: 0; animation-delay: .25s, 0s; }
html.kx .kx-stage__card--2 { --d: 14; --z: 0px; --ry: -9deg; --rx: 2deg; top: 35%; left: 0; animation-delay: .4s, -2.3s; }
html.kx .kx-stage__card--3 { --d: 34; --z: 110px; --ry: -16deg; --rx: -3deg; bottom: 0; right: 6%; animation-delay: .55s, -4.6s; }
@keyframes kx-card-in { from { opacity: 0; filter: blur(14px); translate: 60px 40px; } }
@keyframes kx-float { from { translate: 0 -7px; } to { translate: 0 9px; } }
html.kx .kx-stage__img { display: block; width: 64px; height: 64px; border-radius: 12px; background: #fff; overflow: hidden; }
html.kx .kx-stage__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
html.kx .kx-stage__body { display: grid; gap: 3px; min-width: 0; }
html.kx .kx-stage__range { font: 700 10.5px/1 var(--kx-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--kx-gold); }
html.kx .kx-stage__name { font: 600 13px/1.3 var(--kx-ui); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.kx .kx-stage__price { font: 700 18px/1.1 var(--kx-display); letter-spacing: -.02em; color: #fff; margin-top: 2px; }
html.kx .kx-stage__note { font: 500 11px/1.2 var(--kx-ui); color: #E9DCCB; }

@media (max-width: 1023px) {
  html.kx .kx-hero { min-height: 0; padding: 22px 0 52px; align-items: flex-start; }
  html.kx .kx-hero__title { font-size: clamp(1.5rem, 4.6vw, 2rem); padding-right: 48px; }
  html.kx .kx-hero__sub { font-size: 14.5px; }
  html.kx .kx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html.kx .kx-hero__shade { background: linear-gradient(180deg, rgba(18, 10, 6, .50) 0%, rgba(18, 10, 6, .58) 60%, rgba(18, 10, 6, .82) 100%); }
  html.kx .kx-stage { height: auto; perspective: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; }
  html.kx .kx-stage::-webkit-scrollbar { display: none; }
  html.kx .kx-stage__card { position: relative; inset: auto; flex: 0 0 min(78vw, 290px); width: auto; grid-template-columns: 60px 1fr; scroll-snap-align: center; transform: none; animation: kx-rise .9s var(--kx-ease) both; animation-delay: .4s; }
  html.kx .kx-stage__img { width: 60px; height: 60px; }
  html.kx .kx-hero__pause { bottom: auto; top: 12px; right: 12px; width: 44px; height: 44px; }
  html.kx .kx-hero__facts { gap: 8px 16px; font-size: 13px; }
}
@media (max-width: 520px) {
  html.kx .kx-hero__ctas .kx-btn { flex: 1 1 100%; }
  html.kx .kx-hero__sub { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ── Bande de réassurance : panneau flottant à cheval sur la scène ── */
html.kx .reassurance-strip { position: relative; z-index: 4; background: transparent; border: 0; padding: 0; margin-top: -30px; }
html.kx .reassurance-strip .reassurance-grid { background: rgba(255, 255, 255, .92); border: 1px solid var(--kx-line); border-radius: var(--kx-r-panel); box-shadow: var(--kx-shadow-lift); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); padding: 6px; }
html.kx .reassurance-item { padding: 12px 16px; }
html.kx .reassurance-title { font: 650 15px/1.25 var(--kx-ui); color: var(--kx-text); }
html.kx .reassurance-desc { color: var(--kx-muted); font-size: 12.5px; }
@media (max-width: 768px) {
  html.kx .reassurance-strip { margin-top: -30px; }
  html.kx .reassurance-strip .container-main { padding: 0 12px !important; }
  html.kx .reassurance-strip .reassurance-grid { border-radius: 20px; overflow: hidden; }
}

/* ── Bandeau de catégories ── */
html.kx .kb-cat-rail { background: transparent !important; border: 0 !important; padding-top: 32px !important; }
html.kx .kb-cat-rail__tile { border-radius: 24px !important; background: #fff !important; border: 1px solid var(--kx-line) !important; box-shadow: var(--kx-shadow) !important; transition: transform .4s var(--kx-ease), box-shadow .4s var(--kx-ease) !important; }
html.kx .kb-cat-rail__link:hover .kb-cat-rail__tile { transform: translateY(-6px) rotateX(6deg) scale(1.03); box-shadow: var(--kx-shadow-lift) !important; }
html.kx .kb-cat-rail__name { font: 650 14px/1.25 var(--kx-ui) !important; color: var(--kx-text) !important; }
html.kx .kb-cat-rail__track { perspective: 900px; }

/* ── Gammes : défilement en profondeur ── */
html.kx .kx-ranges { padding-bottom: clamp(36px, 4vw, 56px); }
html.kx .kx-scene__head { max-width: 860px; }
html.kx .kx-ranges .kx-scene__lead { max-width: 70ch; margin-top: 10px; font-size: 16px; }
html.kx .kx-flow { margin-top: clamp(14px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 0 30px; cursor: grab; }
html.kx .kx-flow::-webkit-scrollbar { display: none; }
html.kx .kx-flow.is-drag { cursor: grabbing; scroll-snap-type: none; }
html.kx .kx-flow__track { display: flex; gap: clamp(12px, 1.6vw, 22px); list-style: none; margin: 0; padding: 0 max(16px, calc(50vw - 190px)); width: max-content; }
html.kx .kx-flow__item { flex: 0 0 min(84vw, 380px); scroll-snap-align: center; }
html.kx .kx-range { position: relative; height: 100%; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 26px; overflow: hidden; background: var(--kx-coal); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
  transform: perspective(1400px) rotateY(calc(var(--kx-o, 0) * -20deg)) scale(calc(1 - var(--kx-a, 0) * .10)); opacity: calc(1 - var(--kx-a, 0) * .35); transition: transform .2s linear, opacity .2s linear, border-color .3s; will-change: transform; }
html.kx .kx-flow__item.is-center .kx-range { border-color: rgba(255, 179, 71, .55); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 100px -30px rgba(255, 122, 26, .75); }
html.kx .kx-range__media { position: absolute; inset: 0; background: var(--kx-bg, none) center/cover no-repeat, radial-gradient(120% 80% at 50% 0%, #6b2c0c, #1C110B 70%); transform: scale(1.06); transition: transform 1.2s var(--kx-ease); }
html.kx .kx-flow__item.is-center .kx-range__media { transform: scale(1); }
html.kx .kx-range__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 6, .10) 0%, rgba(18, 10, 6, .55) 38%, rgba(18, 10, 6, .96) 74%); }
html.kx .kx-range__body { position: relative; display: grid; gap: 10px; padding: clamp(16px, 1.8vw, 22px); }
html.kx .kx-range__kicker { font: 700 11px/1.2 var(--kx-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--kx-gold); }
html.kx .kx-range__title { margin: 0; font: 700 clamp(1.6rem, 2.4vw, 2rem)/1.05 var(--kx-display); letter-spacing: -.03em; }
html.kx .kx-range__title a { color: #fff; }
html.kx .kx-range__text { margin: 0; font-size: 14px; line-height: 1.45; color: #E9DCCB; }
html.kx .kx-range__prod { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; transition: background .2s, border-color .2s; }
html.kx .kx-range__prod:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 179, 71, .6); }
html.kx .kx-range__prod img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; }
html.kx .kx-range__prod-txt { display: grid; gap: 3px; min-width: 0; }
html.kx .kx-range__prod-name { font: 600 13px/1.3 var(--kx-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.kx .kx-range__prod-price { font: 700 17px/1.1 var(--kx-display); letter-spacing: -.02em; }
html.kx .kx-range__prod-price small { font: 500 11px/1.2 var(--kx-ui); color: #E9DCCB; margin-left: 4px; letter-spacing: 0; }
html.kx .kx-range .kx-btn { justify-self: start; }
@media (max-width: 600px) { html.kx .kx-range { min-height: 420px; border-radius: 24px; } html.kx .kx-range__prod-price small { display: block; margin: 2px 0 0; } }

/* ── Sections de produits : respiration ── */
html.kx .site-main > .section:nth-of-type(odd):not(.section--alt) { background: var(--kx-paper); }

/* ── Calculateur ── */
html.kx .kx-rechner { position: relative; padding: clamp(44px, 5vw, 72px) 0; background: var(--kx-cream); overflow: hidden; isolation: isolate; }
html.kx .kx-rechner::before { content: ''; position: absolute; z-index: -1; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 61, .34), transparent); }
html.kx .kx-rechner__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 72px); align-items: center; }
html.kx .kx-rechner__copy p { max-width: 56ch; font-size: 16px; line-height: 1.55; color: #3B2A1E; margin: 14px 0 0; }
html.kx .kx-rechner__copy a { color: var(--kx-ember-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
html.kx .kx-rechner__copy .kx-rechner__hint { font-size: 13.5px; color: #5E4E40; }
html.kx .kx-rechner__card { display: grid; gap: 14px; padding: clamp(16px, 2.2vw, 24px); border-radius: var(--kx-r-panel); background: #fff; border: 1px solid var(--kx-line); box-shadow: var(--kx-shadow-lift); transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); transition: transform .8s var(--kx-ease); }
html.kx .kx-rechner__card:hover, html.kx .kx-rechner__card:focus-within { transform: none; }
html.kx .kx-field { border: 0; margin: 0; padding: 0; min-width: 0; }
html.kx .kx-field > label, html.kx .kx-field > legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0; margin: 0 0 6px; font: 650 14px/1.2 var(--kx-ui); color: var(--kx-text); }
html.kx .kx-field output { font: 700 18px/1 var(--kx-display); color: var(--kx-ember); }
html.kx .kx-field input[type=range] { width: 100%; height: 36px; margin: 0; background: transparent; accent-color: var(--kx-ember); -webkit-appearance: none; appearance: none; }
html.kx .kx-field input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--kx-ember) var(--kx-fill, 40%), #EADCCB var(--kx-fill, 40%)); }
html.kx .kx-field input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: #EADCCB; }
html.kx .kx-field input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--kx-ember); }
html.kx .kx-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 1px solid var(--kx-line); box-shadow: 0 4px 12px rgba(43, 26, 16, .3); }
html.kx .kx-field input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--kx-line); box-shadow: 0 4px 12px rgba(43, 26, 16, .3); }
html.kx .kx-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: #F3E9DC; }
html.kx .kx-seg label { position: relative; display: block; cursor: pointer; }
html.kx .kx-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
html.kx .kx-seg span { display: grid; place-items: center; min-height: 40px; padding: 4px; border-radius: 12px; font: 600 13px/1.15 var(--kx-ui); color: #5E4E40; text-align: center; transition: background .25s var(--kx-ease), color .2s, box-shadow .25s; }
html.kx .kx-seg input:checked + span { background: #fff; color: var(--kx-text); box-shadow: 0 2px 8px rgba(43, 26, 16, .16); }
html.kx .kx-seg input:focus-visible + span { outline: 2.5px solid var(--kx-ember); outline-offset: 2px; }
html.kx .kx-rechner__result { display: grid; gap: 4px; padding: 14px 18px; border-radius: 18px; background: var(--kx-ink); color: #fff; position: relative; overflow: hidden; }
html.kx .kx-rechner__result::before { content: ''; position: absolute; inset: auto -40px -70px auto; width: 220px; height: 160px; background: radial-gradient(closest-side, rgba(255, 122, 26, .55), transparent); }
html.kx .kx-rechner__label { font: 700 11.5px/1 var(--kx-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--kx-gold); }
html.kx .kx-rechner__value { font: 700 clamp(2rem, 3.4vw, 2.6rem)/1 var(--kx-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; position: relative; }
html.kx .kx-rechner__value small { font: 600 15px/1 var(--kx-ui); letter-spacing: 0; color: var(--kx-smoke); }
html.kx .kx-rechner__sub { font-size: 13.5px; color: var(--kx-smoke); position: relative; }
@media (max-width: 900px) { html.kx .kx-rechner__grid { grid-template-columns: minmax(0, 1fr); } html.kx .kx-rechner__card { transform: none; } }

/* ── Livraison ── */
html.kx .kx-lieferung__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
html.kx .kx-lieferung__media { position: relative; perspective: 1200px; }
html.kx .kx-lieferung__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--kx-r-panel); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(255, 122, 26, .6); transform: rotateY(7deg) rotateX(2deg); transition: transform 1s var(--kx-ease); }
html.kx .kx-lieferung__media:hover img { transform: none; }
html.kx .kx-lieferung__badge { position: absolute; left: -10px; bottom: -18px; padding: 14px 18px; border-radius: 22px; background: var(--kx-glow); color: var(--kx-ink); font: 650 12.5px/1.3 var(--kx-ui); box-shadow: 0 24px 40px -16px rgba(255, 122, 26, .8); transform: translateZ(40px) rotate(-3deg); }
html.kx .kx-lieferung__badge strong { display: block; font: 800 30px/1 var(--kx-display); letter-spacing: -.03em; }
html.kx .kx-steps { list-style: none; margin: 20px 0 20px; padding: 0; display: grid; gap: 4px; counter-reset: none; }
html.kx .kx-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 12px; }
html.kx .kx-steps li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(255, 138, 61, .8), rgba(255, 138, 61, .08)); }
html.kx .kx-steps__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--kx-display); color: var(--kx-ink); background: var(--kx-glow); box-shadow: 0 0 28px -4px rgba(255, 122, 26, .9); }
html.kx .kx-steps strong { display: block; font: 700 17px/1.2 var(--kx-display); letter-spacing: -.015em; color: #fff; margin-top: 7px; }
html.kx .kx-steps p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--kx-smoke); }
@media (max-width: 900px) { html.kx .kx-lieferung__grid { grid-template-columns: minmax(0, 1fr); } html.kx .kx-lieferung__media img { transform: none; } html.kx .kx-lieferung__badge { left: 12px; } }

/* ── Newsletter : fin de soirée devant le feu ── */
html.kx .newsletter-section.kx-news { position: relative; isolation: isolate; background: var(--kx-ink); padding: clamp(48px, 6vw, 84px) 0; overflow: hidden; }
html.kx .kx-news::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--kx-bg, none) center/cover no-repeat; }
html.kx .kx-news::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--kx-ink) 0%, rgba(18, 10, 6, .62) 30%, rgba(18, 10, 6, .72) 70%, var(--kx-ink) 100%); }
html.kx .kx-news .newsletter-inner { max-width: 600px; margin: 0 auto; padding: clamp(20px, 3vw, 32px); border-radius: var(--kx-r-panel); text-align: center; background: rgba(28, 17, 11, .62); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9); }
html.kx .kx-news .newsletter-icon { background: var(--kx-glow); color: var(--kx-ink); box-shadow: 0 0 40px -6px rgba(255, 122, 26, .9); }
html.kx .kx-news .newsletter-title { color: #fff; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.08 var(--kx-display); letter-spacing: -.03em; }
html.kx .kx-news .newsletter-sub { color: #E9DCCB; }
html.kx .kx-news .newsletter-form input[type=email] { min-height: 46px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .96); color: var(--kx-text); font-size: 16px; padding: 0 20px; }
html.kx .kx-news .newsletter-form button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; border-radius: 999px; border: 0; padding: 0 22px; background: var(--kx-glow); color: var(--kx-ink); font: 700 15px var(--kx-ui); box-shadow: 0 12px 30px -10px rgba(255, 122, 26, .8); }
html.kx .kx-news .newsletter-legal { color: #C9B8A6; font-size: 12.5px; }
html.kx .kx-news .newsletter-legal a { color: var(--kx-gold); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html.kx .kx-stage__card { animation: none; transform: translateZ(var(--z)) rotateY(var(--ry)) rotateX(var(--rx)); }
  html.kx .kx-hero__video { transform: none; }
  html.kx .kx-range { transform: none; opacity: 1; }
  html.kx .kx-rechner__card, html.kx .kx-lieferung__media img { transform: none; }
}

/* ═══ Retouches d'ergonomie (2026-11-25) : accueil mobile compact ═══ */
@media (max-width: 768px) {
  html.kx .kx-hero__ctas { margin-top: 12px; gap: 8px; flex-wrap: nowrap; }
  html.kx .kx-hero__ctas .kx-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 13.5px; }
  html.kx .kx-hero__facts { margin-top: 10px; gap: 4px 12px; font-size: 12px; }
  html.kx .kx-stage__card { padding: 8px; border-radius: 16px; }
  html.kx .reassurance-item { padding: 8px 12px; }
  html.kx .reassurance-title { font-size: 13.5px; }
  html.kx .kb-cat-rail { padding-top: 20px !important; }
  html.kx .kx-flow { padding: 10px 0 18px; margin-top: 10px; }
  html.kx .kx-flow__item { flex-basis: min(78vw, 310px); }
  html.kx .kx-range { min-height: 340px; border-radius: 22px; }
  html.kx .kx-range__body { gap: 8px; padding: 14px; }
  html.kx .kx-range__title { font-size: 1.45rem; }
  html.kx .kx-range__text { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.kx .kx-range__prod-price small { display: inline; margin: 0 0 0 4px; }
  html.kx .kx-rechner { padding: 32px 0; }
  html.kx .kx-rechner__grid { gap: 18px; }
  html.kx .kx-rechner__copy p { font-size: 14.5px; margin-top: 10px; }
  html.kx .kx-rechner__copy .kx-rechner__hint { font-size: 12.5px; }
  html.kx .kx-rechner__value { font-size: 1.9rem; }
  html.kx .kx-lieferung__grid { gap: 26px; }
  html.kx .kx-lieferung__media img { aspect-ratio: 16 / 9; border-radius: 20px; }
  html.kx .kx-lieferung__badge { padding: 8px 12px; border-radius: 16px; font-size: 11px; bottom: -12px; }
  html.kx .kx-lieferung__badge strong { font-size: 21px; }
  html.kx .kx-steps { margin: 14px 0; }
  html.kx .kx-steps li { padding-bottom: 8px; }
  html.kx .kx-steps strong { font-size: 15.5px; }
  html.kx .kx-steps p { font-size: 13.5px; line-height: 1.4; }
  html.kx .newsletter-section.kx-news { padding: 32px 0; }
  html.kx .kx-news .newsletter-inner { padding: 18px 16px; border-radius: 22px; }
  html.kx .kx-news .newsletter-icon { width: 40px; height: 40px; margin-bottom: 10px; }
  html.kx .kx-news .newsletter-title { font-size: 1.3rem; }
  html.kx .kx-news .newsletter-sub { font-size: 13.5px; margin-bottom: 12px; }
  html.kx .kx-news .newsletter-form input[type=email], html.kx .kx-news .newsletter-form button { min-height: 42px; }
  html.kx .kx-news .newsletter-legal { font-size: 11.5px; line-height: 1.4; }
}

@media (min-width: 1024px) {
  html.kx .kx-hero { padding: 22px 0 50px; }
  html.kx .kx-hero__pause { top: 14px; bottom: auto; right: 14px; }
  html.kx .kx-stage { margin-right: clamp(0px, calc(680px - 50vw), 44px); }
}

/* ═══ Vidéo entière et section des gammes claire (2026-11-25) ═══ */
/* vidéo cadrée comme dans le bandeau d'origine : ni agrandissement ni décalage, voile léger */
html.kx .kx-hero__video { inset: 0; height: 100%; transform: none; object-position: center; }
html.kx .kx-hero__shade { background: linear-gradient(90deg, rgba(18, 10, 6, .58) 0%, rgba(18, 10, 6, .34) 40%, rgba(18, 10, 6, .04) 72%, rgba(18, 10, 6, 0) 100%); }
html.kx .kx-hero__title { text-shadow: 0 2px 18px rgba(18, 10, 6, .85), 0 0 2px rgba(18, 10, 6, .6); }
html.kx .kx-hero__sub, html.kx .kx-hero__facts { text-shadow: 0 1px 10px rgba(18, 10, 6, .95), 0 0 2px rgba(18, 10, 6, .8); }
@media (max-width: 1023px) { html.kx .kx-hero__shade { background: linear-gradient(180deg, rgba(18, 10, 6, .42) 0%, rgba(18, 10, 6, .46) 60%, rgba(18, 10, 6, .62) 100%); } }
/* gammes sur fond clair */
html.kx .kx-ranges { background: var(--kx-cream); color: #4A3829; }
html.kx .kx-ranges::before { background: radial-gradient(900px 420px at 8% 0%, rgba(255, 138, 61, .20), transparent 70%), radial-gradient(760px 400px at 100% 100%, rgba(255, 179, 71, .22), transparent 70%); }
html.kx .kx-ranges .kx-eyebrow { color: var(--kx-ember); }
html.kx .kx-ranges .kx-scene__title { color: var(--kx-text); }
html.kx .kx-ranges .kx-scene__lead { color: #4A3829; }
html.kx .kx-range { border-color: rgba(43, 26, 16, .14); box-shadow: 0 30px 56px -30px rgba(43, 26, 16, .55); opacity: calc(1 - var(--kx-a, 0) * .18); }
html.kx .kx-flow__item.is-center .kx-range { border-color: rgba(184, 70, 15, .55); box-shadow: 0 34px 60px -30px rgba(43, 26, 16, .6), 0 0 70px -24px rgba(255, 122, 26, .7); }
html.kx .kx-range__media::after { background: linear-gradient(180deg, rgba(18, 10, 6, .04) 0%, rgba(18, 10, 6, .46) 26%, rgba(18, 10, 6, .86) 52%, rgba(18, 10, 6, .93) 100%); }
html.kx .kx-range__kicker { text-shadow: 0 1px 8px rgba(18, 10, 6, .9); }
html.kx .kx-hero__title .kx-glowtext { text-shadow: none; background: none; color: #FFA24A; -webkit-text-fill-color: #FFA24A; filter: drop-shadow(0 2px 10px rgba(18, 10, 6, .8)); }

html.kx .kx-hero__pause { right: max(14px, calc(50vw - var(--kx-wrap) / 2 + 14px)); }
@media (min-width: 1024px) { html.kx .kx-stage { margin-right: 52px; } }

/* ═══ Accueil réorganisé (2026-11-25) : bandeau simple, confiance à plat, tuiles claires, onglets, sections claires ═══ */
html.kx .kx-hero { padding-bottom: 28px; }
html.kx .kx-hero__grid { grid-template-columns: minmax(0, 1fr); }
html.kx .kx-hero__copy { max-width: 760px; }
html.kx .kx-hero__ctas { align-items: center; }
html.kx .kx-hero__from { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; color: #fff; text-decoration: none; text-shadow: 0 1px 10px rgba(18, 10, 6, .9); }
html.kx .kx-hero__from strong { font: 700 26px/1 var(--kx-display); letter-spacing: -.02em; color: var(--kx-gold); white-space: nowrap; }
html.kx .kx-hero__from span { font: 550 11.5px/1.3 var(--kx-ui); color: #F1E6D8; }
html.kx .kx-hero__from:hover strong { text-decoration: underline; text-underline-offset: 4px; }
/* bande de confiance : à plat sous le bandeau */
html.kx .reassurance-strip { margin-top: 0; padding: 4px 0; border-bottom: 1px solid var(--kx-line); background: var(--kx-paper); }
html.kx .reassurance-strip .reassurance-grid { background: transparent; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
html.kx .reassurance-item { padding: 12px 8px; }
html.kx .kb-cat-rail { padding-top: 20px !important; }
/* gammes en tuiles claires */
html.kx .kx-tilesec { padding: 26px 0; background: var(--kx-paper); }
html.kx .kx-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
html.kx .kx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
html.kx .kx-tile { position: relative; isolation: isolate; overflow: hidden; height: 100%; min-height: 172px; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 44% 18px 20px; border-radius: 20px; background: var(--kx-cream); border: 1px solid var(--kx-line); transition: transform .3s var(--kx-ease), box-shadow .3s var(--kx-ease); }
html.kx .kx-tile::before { content: ''; position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 58%; background: var(--kx-bg, none) center / cover no-repeat; }
html.kx .kx-tile::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--kx-cream) 0%, var(--kx-cream) 44%, rgba(243, 233, 220, .72) 58%, rgba(243, 233, 220, 0) 82%); }
html.kx .kx-tile:hover { transform: translateY(-3px); box-shadow: var(--kx-shadow-lift); }
html.kx .kx-tile__title { margin: 0; font: 700 1.25rem/1.15 var(--kx-display); letter-spacing: -.02em; }
html.kx .kx-tile__title a { color: var(--kx-text); text-decoration: none; }
html.kx .kx-tile__title a::after { content: ''; position: absolute; inset: 0; }
html.kx .kx-tile__text { margin: 0; font-size: 13px; line-height: 1.4; color: #4A3829; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html.kx .kx-tile__price { margin: 0; font: 700 15px/1.2 var(--kx-display); color: var(--kx-ember-deep); }
html.kx .kx-tile__price small { font: 500 10.5px/1.2 var(--kx-ui); color: #5E4E40; margin-left: 2px; }
html.kx .kx-tile .kx-btn { position: relative; z-index: 1; margin-top: auto; min-height: 34px; padding: 0 14px; font-size: 13px; }
html.kx .kx-btn--ink { background: var(--kx-ink); color: #fff; }
html.kx .kx-btn--ink:hover { background: var(--kx-bark); transform: translateY(-2px); }
@media (max-width: 1023px) { html.kx .kx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 640px) {
  html.kx .kx-tilesec { padding: 20px 0; }
  html.kx .kx-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.kx .kx-tile { min-height: 0; padding: 14px 42% 14px 16px; border-radius: 16px; gap: 4px; }
  html.kx .kx-tile__title { font-size: 1.1rem; }
  html.kx .kx-tile__text { -webkit-line-clamp: 2; font-size: 12.5px; }
  html.kx .kx-tile .kx-btn { min-height: 32px; margin-top: 4px; }
  html.kx .kx-hero__from { margin-left: 0; flex-basis: 100%; }
  html.kx .kx-hero__from strong { font-size: 22px; }
  html.kx .reassurance-item { padding: 8px 6px; }
}
/* produits par onglets (posés par le script ; sans script, toutes les rangées restent visibles) */
html.kx .kx-tabs { padding: 26px 0 0; background: var(--kx-paper); }
html.kx .kx-tabs__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
html.kx .kx-tabs__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 3px; margin: -3px; }
html.kx .kx-tabs__list::-webkit-scrollbar { display: none; }
html.kx .kx-tabs__tab { flex: 0 0 auto; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(43, 26, 16, .18); background: #fff; color: var(--kx-text); font: 600 13.5px/1 var(--kx-ui); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
html.kx .kx-tabs__tab:hover { border-color: var(--kx-ember); color: var(--kx-ember-deep); }
html.kx .kx-tabs__tab[aria-selected=true] { background: var(--kx-ink); border-color: var(--kx-ink); color: #fff; }
html.kx .site-main > .section.kx-tabpanel { background: var(--kx-paper) !important; padding-top: 10px; }
html.kx .section.kx-tabpanel[hidden] { display: none !important; }
html.kx .kx-tabpanel .section-header > :not(.kx-head-tools) { display: none; }
html.kx .kx-tabpanel .section-header { justify-content: flex-end; margin-bottom: 8px; }
@media (max-width: 768px) { html.kx .kx-tabs { padding-top: 20px; } html.kx .kx-tabs__tab { min-height: 34px; padding: 0 13px; font-size: 13px; } }
/* livraison et newsletter sur fond clair */
html.kx .kx-lieferung { padding: clamp(32px, 4vw, 56px) 0; background: var(--kx-paper); }
html.kx .kx-lieferung__media img { border-color: var(--kx-line); box-shadow: var(--kx-shadow-lift); transform: none; }
html.kx .kx-steps strong { color: var(--kx-text); }
html.kx .kx-steps p { color: #4A3829; }
html.kx .kx-steps__n { box-shadow: none; }
html.kx .kx-steps li:not(:last-child)::before { background: rgba(184, 70, 15, .25); }
html.kx .newsletter-section.kx-news { background: var(--kx-cream); padding: clamp(32px, 4vw, 56px) 0; }
html.kx .kx-news::before, html.kx .kx-news::after { display: none; }
html.kx .kx-news .newsletter-inner { background: #fff; border: 1px solid var(--kx-line); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--kx-shadow); }
html.kx .kx-news .newsletter-title { color: var(--kx-text); }
html.kx .kx-news .newsletter-sub { color: #4A3829; }
html.kx .kx-news .newsletter-form input[type=email] { border-color: #DCCDBA; }
html.kx .kx-news .newsletter-form button { background: var(--kx-ember); color: #fff; box-shadow: none; }
html.kx .kx-news .newsletter-legal { color: #5E4E40; }
html.kx .kx-news .newsletter-legal a { color: var(--kx-ember-deep); }
html.kx .kx-news .newsletter-icon { box-shadow: none; }
html.kx .kx-hero__from strong, html.kx .kx-hero__from strong .amount, html.kx .kx-hero__from strong bdi { font: 700 26px/1 var(--kx-display) !important; color: var(--kx-gold); }
html.kx .kx-hero__from strong .kx-ab { font: 600 11px/1 var(--kx-ui) !important; color: #F1E6D8; margin-right: 2px; }
html.kx .kx-rechner { padding: clamp(28px, 3.4vw, 48px) 0; }
html.kx .kx-rechner__card { transform: none; }
@media (max-width: 768px) {
  html.kx .kx-hero__ctas { flex-wrap: wrap; }
  html.kx .kx-hero__ctas .kx-btn { flex: 1 1 40%; }
  html.kx .kx-hero__from { flex: 1 1 100%; margin: 2px 0 0; }
  html.kx .kx-hero__from strong, html.kx .kx-hero__from strong .amount, html.kx .kx-hero__from strong bdi { font-size: 21px !important; }
}
@media (max-width: 640px) {
  html.kx .kx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html.kx .kx-tile { min-height: 104px; padding: 12px 34% 12px 12px; border-radius: 14px; justify-content: center; }
  html.kx .kx-tile::before { width: 52%; }
  html.kx .kx-tile::after { background: linear-gradient(90deg, var(--kx-cream) 0%, var(--kx-cream) 50%, rgba(243, 233, 220, .7) 66%, rgba(243, 233, 220, 0) 92%); }
  html.kx .kx-tile__title { font-size: 1rem; overflow-wrap: anywhere; }
  html.kx .kx-tile__text, html.kx .kx-tile .kx-btn { display: none; }
  html.kx .kx-tile__price { font-size: 13.5px; }
  html.kx .kx-tile__price small { display: block; margin: 2px 0 0; font-size: 9.5px; }
  html.kx .kx-rechner__copy .kx-rechner__hint { display: none; }
}

/* ═══ Bloc de promotion de l'accueil (2026-11-25) ═══ */
html.kx .kx-promo { padding: 6px 0 22px; background: var(--kx-paper); }
html.kx .kx-promo[hidden] { display: none; }
html.kx .kx-promo__card { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: clamp(16px, 2.2vw, 26px) clamp(16px, 2.6vw, 32px); border-radius: 22px; border: 1px solid rgba(184, 70, 15, .22); background: linear-gradient(100deg, #FFF6E8 0%, #FFE2BD 62%, #FFC993 100%); box-shadow: var(--kx-shadow); }
html.kx .kx-promo__copy { flex: 1 1 380px; min-width: 0; }
html.kx .kx-promo__title { margin: 8px 0 0; font: 700 clamp(1.35rem, 2.6vw, 2.1rem)/1.1 var(--kx-display); letter-spacing: -.025em; color: var(--kx-text); }
html.kx .kx-promo__code { color: var(--kx-ember-deep); white-space: nowrap; }
html.kx .kx-promo__text { margin: 8px 0 0; max-width: 62ch; font-size: 13.5px; line-height: 1.45; color: #4A3829; }
html.kx .kx-promo__side { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
html.kx .kx-clock--lg .kx-clock__u { min-width: 58px; padding: 10px 8px; border-radius: 14px; }
html.kx .kx-clock--lg .kx-clock__u b { font-size: 28px; }
@media (max-width: 640px) {
  html.kx .kx-promo { padding: 2px 0 16px; }
  html.kx .kx-promo__card { border-radius: 18px; gap: 12px; }
  html.kx .kx-promo__side { width: 100%; justify-content: space-between; }
  html.kx .kx-clock--lg .kx-clock__u { min-width: 48px; padding: 8px 4px; }
  html.kx .kx-clock--lg .kx-clock__u b { font-size: 22px; }
}

/* ═══ Étape 31.4 (26/11/2026) : bannière allégée, polices fluides sur mobile et tablette ═══
   Le bandeau de réassurance ne chevauche plus la bannière (il est avant le pied de page : kran-vitesse.php).
   Retour arrière : restaurer la version précédente de ce fichier (sauvegarde serveur ~/sauvegardes/etape31/). */
html.kx .kx-hero__from, html.kx .kx-hero__ctas .kx-btn { min-height: 44px; }
html.kx .kx-hero__pause { width: 44px; height: 44px; }
html.kx .kx-hero { padding-bottom: 28px; }
@media (max-width: 1023px) {
  html.kx .kx-hero { padding-top: 18px; }
  html.kx .kx-hero__title { font-size: clamp(1.3rem, 1.05rem + 1.32vw, 1.6rem); line-height: 1.1; }
  html.kx .kx-hero__sub { font-size: clamp(.8125rem, .74rem + .3vw, .875rem); margin-top: 8px; display: block; overflow: visible; color: #fff; } /* blanc : contraste mesuré 4,3:1 avec #F1E6D8 à 390 px */
  html.kx .kx-hero__facts { font-size: clamp(.75rem, .7rem + .25vw, .8125rem); }
  html.kx .kx-hero__grid { gap: 12px; }
}

/* 26/11 — bannière plus haute dès 600 px pour montrer la vidéo 16:9 en entier (plafonnée à 70 % de la hauteur d'écran). Retour arrière : supprimer ce bloc. */
@media (min-width: 600px) { html.kx .kx-hero { min-height: min(56.25vw, 70vh); align-items: center; } }
