/* Mirenty V2 : identité violet et or, Helvetica Neue, cartes produits lisibles sur mobile. */
/* V2.1 : charte V2, blocs « horaires », « quatre étapes » et « marques » repris de la V3. */
:root {
  --brand: #5f2c92;
  --brand-ink: #3e165d;
  --brand-deep: #251036;
  --brand-soft: #f3edf8;
  --brand-line: #e4d9ee;
  --gold: #fdb927;
  --gold-ink: #2b1a00;
  --bg: #faf8fc;
  --surface: #fff;
  --ink: #1a1420;
  --muted: #655d6c;
  --line: #ece6f1;
  --red: #b42f3f;
  --red-soft: #fdecee;
  --green: #17734a;
  --green-soft: #e7f5ee;
  --amber-soft: #fff5dc;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(37, 16, 54, .06), 0 2px 8px rgba(37, 16, 54, .05);
  --shadow: 0 10px 30px rgba(37, 16, 54, .10);
  --shadow-lg: 0 30px 80px rgba(37, 16, 54, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --max: 1280px;
  --header: 72px
}

*, *:before, *:after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100% }
body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased }
body.locked { overflow: hidden }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
img { display: block; max-width: 100% }
a { color: inherit }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance }
p { margin: 0 }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
svg.fill { fill: currentColor; stroke: none }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px }
.hidden { display: none !important }
.honeypot { position: absolute !important; left: -9999px !important }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .2s }
.skip-link:focus { top: 12px }

.eyebrow { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand) }
.eyebrow:before { content: ""; order: 2; width: 28px; height: 2px; border-radius: 2px; background: var(--gold) }
.eyebrow.yellow, .eyebrow.purple { color: var(--brand) }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header); color: #fff; transition: background .25s, box-shadow .25s, color .25s }
.site-header.scrolled, body.menu-open .site-header { background: rgba(37, 16, 54, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) }
.nav { height: 100%; display: flex; align-items: center; gap: 28px }
.brand img { height: 40px; width: auto }
.nav nav { display: flex; gap: 4px; margin-left: auto }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; opacity: .88; transition: background .2s, opacity .2s }
.nav nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12) }
.site-header :focus-visible, .video-hero :focus-visible, footer :focus-visible, .promise :focus-visible { outline-color: var(--gold) }
.cart-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 8px 8px 16px; border: 0; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 15px; transition: transform .2s var(--ease), box-shadow .2s }
.cart-button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(253, 185, 39, .35) }
.cart-button b { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--brand-deep); color: #fff; font-size: 13px; padding: 0 8px }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); padding: 13px 11px; flex-direction: column; justify-content: space-between }
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease-smooth), opacity .2s }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0 }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* Hero */
.video-hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--brand-deep) var(--hero-poster, none) center/cover no-repeat; isolation: isolate }
.video-layer { position: absolute; inset: -10%; pointer-events: none; z-index: -2 }
.video-hero:not(.video-on) .video-layer { display: none }
.video-layer iframe { position: absolute; left: 50%; top: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.12) }
.video-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(37, 16, 54, .55) 0%, rgba(37, 16, 54, .15) 35%, rgba(37, 16, 54, .85) 78%, var(--brand-deep) 100%), linear-gradient(90deg, rgba(37, 16, 54, .75), transparent 70%) }
.hero-content { width: 100%; padding-top: calc(var(--header) + 64px); padding-bottom: 48px }
.hero-content .eyebrow { color: var(--gold) }
.video-hero h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: .95; letter-spacing: -.04em; font-weight: 700; max-width: 14ch; margin: 20px 0 22px }
.hero-lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .84); line-height: 1.5 }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 48px }
.hero-button, .hero-secondary { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s }
.hero-button { background: var(--gold); color: var(--gold-ink) }
.hero-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(253, 185, 39, .35) }
.hero-secondary { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.hero-secondary:hover { background: rgba(255, 255, 255, .18) }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 24px; gap: 24px; max-width: 880px }
.stat strong { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; color: #fff }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .72) }
.video-toggle { position: absolute; right: 24px; bottom: 24px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(37, 16, 54, .5); color: #fff; font-weight: 600; font-size: 13px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }

/* Mission */

/* Catalogue */
.catalogue { padding: 88px 0 96px }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; letter-spacing: -.035em; color: var(--brand-ink); margin-top: 12px }
.section-note { max-width: 380px; color: var(--muted) }

.availability-bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow) }
.availability-bar > label { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 16px; border-radius: var(--radius); background: var(--bg); transition: background .2s, box-shadow .2s }
.availability-bar > label:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--brand) }
.availability-bar > label > span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand) }
.date-label { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 2px !important }
.search svg { color: var(--brand) }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; padding: 10px 0 }
.search input::placeholder { color: #8a8291 }
.dt-field { display: flex; gap: 6px; width: 100% }
.dt-field input[type=date], .dt-field select { border: 0; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); padding: 4px 0; min-height: 32px; outline: 0; min-width: 0 }
.dt-field input[type=date] { flex: 1.4 }
.dt-field select { flex: 1; cursor: pointer }
.dt-field input:focus-visible, .dt-field select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px }

.rental-policy { margin-top: 14px; border: 1px solid var(--brand-line); background: var(--brand-soft); border-radius: var(--radius); color: var(--brand-ink) }
.rental-policy summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-height: 52px; cursor: pointer; font-size: 15px }
.rental-policy summary::-webkit-details-marker { display: none }
.rental-policy summary > span { flex: 1 }
.rental-policy summary svg { color: var(--brand) }
.rental-policy .chev { transition: transform .5s var(--ease-smooth) }
.rental-policy[open] .chev { transform: rotate(180deg) }
.rental-policy ul { list-style: none; margin: 0; padding: 0 18px 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.rental-policy li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink); line-height: 1.5 }
.rental-policy li svg { color: var(--brand); margin-top: 1px }
.rental-policy b { color: var(--brand-ink) }

.toolbar { position: sticky; top: var(--header); z-index: 20; margin-top: 28px; background: rgba(250, 248, 252, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line) }
.filters { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 12px 2px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent) }
.filters::-webkit-scrollbar { display: none }
.filters:empty { display: none }
.filters + .filters { padding-top: 0 }
.filter, #brandSelect { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .2s, border-color .2s, color .2s }
.filter svg { width: 16px; height: 16px; color: var(--gold) }
.filter:hover { border-color: var(--brand) }
.filter.active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff }
.filter.featured.active svg { color: var(--gold) }
.filters.sub .filter { min-height: 36px; font-size: 13px; background: transparent }
.filters.sub .filter.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink) }
#brandSelect { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23552583' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat }

.results-meta { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 16px; font-size: 14px; color: var(--muted) }
.results-meta #resultCount { font-weight: 700; color: var(--ink) }
@media (max-width: 620px) { .results-meta span + span { display: none } }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; transition: opacity .2s }
body.loading-availability .product-grid { opacity: .45; pointer-events: none }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--brand-line); border-radius: var(--radius-lg) }
.empty b { color: var(--ink) }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease-smooth), box-shadow .25s, border-color .25s }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-line) }
.media { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #f7f4fa, #efe9f4); overflow: hidden }
.media > img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .45s var(--ease) }
.card:hover .media > img { transform: scale(1.05) }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; box-shadow: var(--shadow-sm) }
.badge.stock { color: var(--green) }
.badge.stock:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px }
.badge.new { background: var(--gold); color: var(--gold-ink) }
.badge.out { background: var(--red-soft); color: var(--red) }
.specs { position: absolute; inset: auto 0 0; z-index: 2; margin: 0; padding: 40px 16px 14px; list-style: none; display: grid; gap: 4px; font-size: 13px; color: #fff; background: linear-gradient(0deg, rgba(37, 16, 54, .92) 40%, transparent); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .5s var(--ease-smooth) }
.specs li { display: flex; gap: 8px; line-height: 1.35 }
.specs li:before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: var(--gold) }
@media (hover: hover) { .card:hover .specs, .card:focus-within .specs { opacity: 1; transform: none } }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px }
.brand-name { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand) }
.product-name { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--ink) }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px }
.card-price { font-size: 19px; font-weight: 700; color: var(--brand-ink); letter-spacing: -.01em; line-height: 1.2 }
.card-price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0 }
.add-button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--brand-ink); color: #fff; font-weight: 700; font-size: 14px; transition: background .2s, transform .15s }
.add-button svg { width: 18px; height: 18px }
.add-button:hover { background: var(--brand) }
.add-button:active { transform: scale(.96) }
.add-button:disabled { background: var(--line); color: var(--muted); cursor: not-allowed }
.card.is-out .media > img { opacity: .45; filter: grayscale(1) }

/* Comment ça marche */
.how { padding: 96px 0; background: var(--surface); border-block: 1px solid var(--line) }
/* Quatre étapes (bloc repris de la V3) : fil de progression tracé au défilement */
.steps { --progress: 1; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 36px 0 0; list-style: none }
.steps:before, .steps:after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line) }
.steps:after { background: linear-gradient(90deg, var(--brand), var(--gold)); transform: scaleX(var(--progress)); transform-origin: left center }
.steps li { display: grid; gap: 10px; align-content: start }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-ink); color: var(--gold); font-size: 15px; letter-spacing: .04em }
.steps h3 { font-size: 21px; color: var(--brand-ink) }
.steps p { color: var(--muted); font-size: 15px }

/* Engagements */
.promise { padding: 96px 0; background: radial-gradient(120% 120% at 100% 0%, #3d1660 0%, var(--brand-deep) 60%); color: #fff }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center }
.promise .eyebrow { color: var(--gold) }
.promise h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.035em; margin: 14px 0 18px }
.promise p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 460px }
.checks { display: grid; gap: 12px }
.checks div { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600 }
.checks b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--gold-ink); font-size: 14px }

/* Pied de page */

/* Panier */
.cart-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(27, 12, 39, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s }
.cart-backdrop.open { opacity: 1; visibility: visible }
.cart-drawer { position: absolute; top: 0; right: 0; height: 100%; width: min(560px, 100%); display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s var(--ease) }
.open .cart-drawer { transform: none }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line) }
.drawer-head h2 { font-size: 28px; color: var(--brand-ink); margin-top: 6px }
.drawer-head button { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; color: var(--ink) }
.drawer-head button:hover { background: var(--brand-soft) }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; overscroll-behavior: contain }
.drawer-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.drawer-dates > label { display: grid; gap: 4px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand) }
.drawer-dates > label:focus-within { border-color: var(--brand); background: #fff }
.drawer-dates .dt-field { flex-wrap: wrap; text-transform: none; letter-spacing: 0 }
.drawer-dates .dt-field input[type=date] { flex: 1 1 100% }
.rental-rule { display: block; margin: 12px 0 8px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand-ink); font-size: 13px; line-height: 1.5 }
.cart-items { display: grid; gap: 10px; margin: 16px 0 }
.cart-item { display: grid; grid-template-columns: 72px 1fr 44px; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius) }
.cart-item img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg); padding: 6px }
.cart-item h3, .cart-item h4 { font-size: 15px; line-height: 1.3 }
.cart-item small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 8px }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px }
.qty button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 18px; font-weight: 700; color: var(--brand-ink) }
.qty button:hover:not(:disabled) { background: var(--brand-soft) }
.qty button:disabled { color: #c3bbc9; cursor: not-allowed }
.qty b { min-width: 24px; text-align: center }
.remove { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px }
.remove:hover { background: var(--red-soft); color: var(--red) }
.cart-items .empty { padding: 28px 16px }

.cart-recommendations { margin: 8px 0 20px }
.cart-recommendations h3 { font-size: 15px; margin-bottom: 10px; color: var(--brand-ink) }
.recommendation-grid { display: grid; gap: 8px }
.recommendation-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 8px 8px 10px; border-radius: var(--radius-sm); background: var(--bg) }
.recommendation-item > img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px }
.recommendation-item span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand) }
.recommendation-item h4 { font-size: 14px; line-height: 1.25 }
.recommendation-item strong { font-size: 13px; color: var(--brand-ink) }
.recommendation-item strong small { color: var(--muted); font-weight: 500 }
.recommendation-item > button { min-height: 40px; padding: 0 14px; border: 1px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand); font-weight: 700; font-size: 13px }
.recommendation-item > button:hover { background: var(--brand); color: #fff }
.recommendation-item > button:disabled { opacity: .5; cursor: not-allowed }

#requestForm { display: grid; gap: 16px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line) }
#requestForm h3 { font-size: 18px; color: var(--brand-ink) }
#requestForm label { display: grid; gap: 6px; font-size: 14px; font-weight: 600 }
#requestForm input:not([type=checkbox]):not([type=date]), #requestForm select, #requestForm textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #ddd3e5; border-radius: var(--radius-sm); background: #fff; font-size: 16px; font-weight: 400; transition: border-color .2s, box-shadow .2s }
#requestForm textarea { resize: vertical; min-height: 88px }
#requestForm textarea::placeholder, #requestForm input::placeholder { color: #8a8291 }
#requestForm input:focus-visible, #requestForm select:focus-visible, #requestForm textarea:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(95, 44, 146, .18) }
#requestForm small, #paymentHelp { font-size: 13px; font-weight: 400; color: var(--muted) }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.phone-input { display: flex; border: 1px solid #ddd3e5; border-radius: var(--radius-sm); overflow: hidden; background: #fff }
.phone-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(95, 44, 146, .18) }
.phone-input #customerPhone { border: 0 !important; box-shadow: none !important; border-radius: 0 }
.phone-prefix { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--bg); border-right: 1px solid var(--line); font-size: 15px }
.flag-mg { display: inline-block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); background: linear-gradient(90deg, #fff 0 34%, transparent 34%), linear-gradient(#fc3d32 0 50%, #007e3a 50%) }
.remember-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; font-weight: 400 !important; font-size: 14px !important; line-height: 1.45; color: var(--ink) }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand) }
.consent a { color: var(--brand); font-weight: 600 }
.link-button { border: 0; background: none; padding: 8px 0; color: var(--brand); font-weight: 600; font-size: 14px; text-decoration: underline; min-height: 44px }
.discount-box { display: grid; gap: 6px; padding: 14px; border: 1px dashed var(--brand-line); border-radius: var(--radius); background: var(--bg) }
.discount-box > label { font-size: 14px; font-weight: 600 }
.discount-entry { display: flex; gap: 8px }
.discount-entry input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 700 !important }
.discount-entry button { flex: none; min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius-sm); background: var(--brand-ink); color: #fff; font-weight: 700 }
.discount-entry button:hover { background: var(--brand) }
.discount-entry button:disabled { opacity: .55; cursor: wait }
#discountMessage { font-size: 13px; font-weight: 600 }
#discountMessage:empty { display: none }
#discountMessage.success { color: var(--green) }
#discountMessage.error { color: var(--red) }
#discountMessage.warning { color: #8a5a00 }
.privacy { font-size: 12px; color: var(--muted) }
.privacy:empty { display: none }

.drawer-foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -10px 30px rgba(37, 16, 54, .06); display: grid; gap: 8px }
.form-error:empty { display: none }
.form-error:not(:empty) { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red); font-size: 14px; font-weight: 600 }
.discount-total { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted) }
.discount-total strong { color: var(--ink) }
#discountTotal strong { color: var(--green) }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.total span { font-weight: 600 }
.total small { display: block; font-size: 13px; color: var(--muted); font-weight: 400 }
.total strong { font-size: 28px; letter-spacing: -.02em; color: var(--brand-ink) }
#checkoutButton { width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 17px; font-weight: 700; transition: transform .15s, box-shadow .2s }
#checkoutButton:hover:not(:disabled) { box-shadow: 0 10px 26px rgba(253, 185, 39, .4); transform: translateY(-1px) }
#checkoutButton:disabled { opacity: .6; cursor: wait }

/* Fenêtres */
.message-modal, .rental-reminder, .welcome-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(27, 12, 39, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px) }
.rental-reminder { z-index: 95 }
.welcome-modal { z-index: 70 }
.message-card, .rental-reminder-card, .welcome-card { position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; padding: 32px 28px 28px; border-radius: var(--radius-lg); background: #fff; text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease) }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98) } }
.message-icon, .rental-reminder-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; background: var(--brand-soft); color: var(--brand) }
.message-icon svg, .rental-reminder-icon svg { width: 28px; height: 28px }
.message-card h2, .rental-reminder-card h2 { font-size: 24px; color: var(--brand-ink); margin-bottom: 10px }
.message-card p, .rental-reminder-card p { color: var(--muted) }
.message-ref { margin: 16px 0 0; font-weight: 700; color: var(--brand-ink) }
.message-ref:empty { display: none }
.message-card button, .rental-reminder-card button { width: 100%; min-height: 52px; margin-top: 20px; border: 0; border-radius: 999px; background: var(--brand-ink); color: #fff; font-weight: 700; font-size: 16px }

.welcome-card { padding-top: 36px; background: radial-gradient(120% 80% at 50% 0%, #f3edf8 0%, #fff 60%) }
.welcome-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; color: var(--muted) }
.welcome-close:hover { background: var(--brand-soft) }
.welcome-card img { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px }
.welcome-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.welcome-card h2 { font-size: 28px; color: var(--brand-ink); margin: 14px 0 8px }
.welcome-card p { color: var(--muted) }
.welcome-code { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; margin: 16px 0 12px; border: 2px dashed var(--brand); border-radius: var(--radius); background: #fff; color: var(--brand-ink); font-size: 24px; font-weight: 800; letter-spacing: .14em }
.welcome-code small { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--brand); text-transform: uppercase }
.welcome-cta { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 16px }
.welcome-later { min-height: 44px; margin-top: 6px; border: 0; background: none; color: var(--muted); font-weight: 600; text-decoration: underline }
.welcome-legal { display: block; margin-top: 8px; font-size: 12px; color: var(--muted) }

.cart-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--brand-deep); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); transform: translate(-50%, 160%); transition: transform .35s var(--ease) }
.cart-toast.show { transform: translate(-50%, 0) }
.cart-toast button { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; white-space: nowrap }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .rental-policy ul { grid-template-columns: 1fr }
}
@media (max-width: 900px) {
  :root { --header: 64px }
  .menu-toggle { display: flex }
  .cart-button { margin-left: auto }
  .nav { gap: 12px }
  .nav nav { position: fixed; top: var(--header); left: 0; right: 0; margin: 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px; background: rgba(37, 16, 54, .97); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .5s var(--ease-smooth), visibility .2s }
  body.menu-open .nav nav { opacity: 1; visibility: visible; transform: none }
  .nav nav a { font-size: 18px; padding: 14px 12px; border-radius: var(--radius-sm) }
  .availability-bar { grid-template-columns: 1fr 1fr }
  .availability-search { grid-column: 1 / -1 }
  .promise-grid { grid-template-columns: 1fr; gap: 36px }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px }
}
@media (max-width: 620px) {
  .container { padding: 0 16px }
  .cart-label { display: none }
  .cart-button { padding: 8px 8px 8px 12px; gap: 8px }
  .brand img { height: 34px }
  .hero-content { padding-bottom: 32px }
  .hero-actions { margin: 24px 0 32px }
  .hero-button, .hero-secondary { flex: 1 1 100%; justify-content: center }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
  .video-toggle { right: 16px; bottom: auto; top: calc(var(--header) + 12px) }
    .catalogue, .how, .promise { padding: 64px 0 }
  .availability-bar { grid-template-columns: 1fr; border-radius: var(--radius) }
  .availability-bar > label { min-height: 56px }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
  .card { border-radius: var(--radius) }
  .card-body { padding: 12px 12px 14px }
  .product-name { font-size: 15px }
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px }
  .card-price { font-size: 17px }
  .add-button { justify-content: center }
  .badge { height: 24px; font-size: 11px; padding: 0 8px }
  .steps { grid-template-columns: 1fr; gap: 24px }
  .steps:before, .steps:after { display: none }
  .form-grid, .drawer-dates { grid-template-columns: 1fr }
  .drawer-head, .drawer-body, .drawer-foot { padding-left: 16px; padding-right: 16px }
  .cart-item { grid-template-columns: 60px 1fr 44px; gap: 10px }
  .cart-item img { width: 60px; height: 60px }
  .cart-toast { left: 16px; right: 16px; width: auto; transform: translateY(160%); border-radius: var(--radius) }
  .cart-toast.show { transform: none }
  .cart-toast span { flex: 1 }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr }
}
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none }
  .card:hover .media > img { transform: none }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important }
}

/* Bandeau des marques (repris de la V3) : logos deux fois plus grands, même hauteur de bande (86 px) */
.brands { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; padding: 12px 0 12px 28px; background: #1a0b27; border-block: 1px solid rgba(255, 255, 255, .1) }
.brands-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); white-space: nowrap }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite }
.marquee-track ul { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 72px 0 0; list-style: none }
.marquee-track img { height: 60px; width: auto; max-width: 240px; object-fit: contain; opacity: .78; transition: opacity .2s ease }
.marquee-track { filter: brightness(0) invert(1) }
.marquee.is-offscreen .marquee-track { animation-play-state: paused }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused } .marquee-track img:hover { opacity: 1 } }
@keyframes marquee { to { transform: translateX(-50%) } }

/* Une journée de location (repris de la V3) */
.day { padding: 96px 0; border-top: 1px solid var(--line) }
.timeline { --units: 14; display: grid; gap: 28px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm) }
.tl-axis, .tl-track { position: relative; margin-left: 232px }
.tl-axis { height: 20px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted) }
.tl-axis span { position: absolute; left: calc(var(--h) / var(--units) * 100%); bottom: 6px; transform: translateX(-50%); white-space: nowrap }
.tl-axis .tl-next { color: var(--brand) }
.tl-row { position: relative }
.tl-label { position: absolute; left: 0; top: 0; width: 210px; display: grid; gap: 2px; margin: 0 }
.tl-label b { font-size: 15px; color: var(--brand-ink) }
.tl-label span { font-size: 13px; color: var(--muted) }
.tl-track { height: 64px }
.tl-bar { position: absolute; top: 4px; height: 28px; left: calc(var(--from) / var(--units) * 100%); width: calc((var(--to) - var(--from)) / var(--units) * 100%); border-radius: 8px; background: var(--brand-ink); font-style: normal; transform-origin: left center }
.tl-bar.night { display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--gold) }
.tl-bar.night span { font-size: 12px; font-weight: 700; color: var(--brand-deep); white-space: nowrap }
.tl-bar.over { background: repeating-linear-gradient(135deg, var(--red) 0 6px, #d0566a 6px 12px) }
.tl-row.late .tl-bar:not(.over) { background: var(--brand-soft) }
.tl-pin { position: absolute; top: 38px; left: calc(var(--at) / var(--units) * 100%); font-size: 12px; font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap }
.tl-pin.end { transform: translateX(-100%) }

/* Survols (souris uniquement) : les éléments cliquables réagissent */
@media (hover: hover) and (pointer: fine) {
  .nav nav a { position: relative }
  .nav nav a:after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease-smooth) }
  .nav nav a:hover:after { transform: scaleX(1) }
  .hero-button svg { transition: transform .5s var(--ease-smooth) }
  .hero-button:hover svg { transform: translateY(3px) }
  .hero-secondary svg { transition: transform .5s var(--ease-smooth) }
  .hero-secondary:hover svg { transform: rotate(-12deg) scale(1.1) }
  .cart-button svg { transition: transform .5s var(--ease-smooth) }
  .cart-button:hover svg { transform: rotate(-10deg) }
  .filter { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease) }
  .filter:hover { transform: translateY(-1px) }
  .add-button svg { transition: transform .5s var(--ease-smooth) }
  .add-button:hover:not(:disabled) { transform: translateY(-1px) }
  .add-button:hover:not(:disabled):not(.is-added) svg { transform: rotate(90deg) }
  .card:hover .brand-name { color: var(--brand-ink) }
  #checkoutButton:hover:not(:disabled), .welcome-cta:hover { transform: translateY(-1px) }
  .discount-entry button:hover:not(:disabled), .message-card button:hover, .rental-reminder-card button:hover { background: var(--brand) }
  .footer-contacts svg { transition: transform .5s var(--ease-smooth) }
  .footer-contacts a:hover svg { transform: translateX(2px) scale(1.1) }
  .video-toggle { transition: background-color .2s ease, transform .2s var(--ease) }
  .video-toggle:hover { background: rgba(37, 16, 54, .8) }
  .welcome-code { transition: background-color .2s ease }
  .welcome-code:hover { background: var(--brand-soft) }
  .stat { transition: transform .5s var(--ease-smooth) }
  .stat:hover { transform: translateY(-2px) }
}

/* Clic : chaque bouton s'enfonce légèrement, retour immédiat */
.hero-button, .hero-secondary, .cart-button, .filter, .add-button, .discount-entry button, #checkoutButton, .recommendation-item > button, .qty button, .welcome-cta, .welcome-code, .message-card button, .rental-reminder-card button, .cart-toast button, .video-toggle, .menu-toggle, .remove, .drawer-head button, .welcome-close, .link-button { transition-property: background-color, border-color, color, transform; transition-duration: .45s; transition-timing-function: var(--ease-smooth) }
.hero-button:active, .hero-secondary:active, .cart-button:active, .filter:active, .add-button:active:not(:disabled), .discount-entry button:active, #checkoutButton:active:not(:disabled), .recommendation-item > button:active, .qty button:active:not(:disabled), .welcome-cta:active, .welcome-code:active, .message-card button:active, .rental-reminder-card button:active, .cart-toast button:active, .video-toggle:active, .menu-toggle:active, .remove:active, .drawer-head button:active, .welcome-close:active { transform: scale(.96); transition-duration: .15s }

/* « Ajouter » confirme l'ajout pendant un instant */
.add-button.is-added { background: var(--green); color: #fff }
.add-button.is-added svg { animation: tick .35s var(--ease) }
@keyframes tick { from { transform: scale(.6); opacity: 0 } }

@media (max-width: 900px) {
  .timeline { padding: 24px 20px }
  .tl-axis, .tl-track { margin-left: 0 }
  .tl-label { position: static; width: auto; margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px }
}
@media (max-width: 620px) {
  .brands { grid-template-columns: 1fr; gap: 6px; padding: 10px 0 }
  .brands-title { padding-left: 16px }
  .marquee-track img { height: 44px; max-width: 170px }
  .marquee-track ul { gap: 48px; padding-right: 48px }
  .day { padding: 64px 0 }
  .tl-axis span { font-size: 11px }
  .tl-axis span[style*="--h:0"], .tl-axis .tl-next, .tl-bar.night span { display: none }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto }
  .marquee-track ul[aria-hidden] { display: none }
  .marquee-track ul { flex-wrap: wrap; row-gap: 16px }
  .marquee { mask-image: none; -webkit-mask-image: none }
}

/* V2.1 · hero : titre à gauche, chiffres clés à droite */
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: end; gap: 48px; padding-bottom: 72px }
.video-hero h1 { font-size: clamp(44px, 6.2vw, 92px); max-width: 12ch }
.hero-main .hero-actions { margin-bottom: 0 }
.hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: none; padding: 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); background: rgba(37, 16, 54, .38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px) }
.hero-stats .stat { padding: 20px 20px 18px }
.hero-stats .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12) }
.hero-stats .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12) }
.hero-stats .stat strong { font-size: clamp(28px, 2.8vw, 40px); color: var(--gold) }

/* Animations adoucies : durées plus longues, courbe sans à-coup */
.card { transition: transform .55s var(--ease-smooth), box-shadow .55s var(--ease-smooth), border-color .4s ease }
.media > img { transition: transform .8s var(--ease-smooth) }
.specs { transition: opacity .45s ease, transform .55s var(--ease-smooth) }
.nav nav a { transition: opacity .4s ease, background-color .4s ease }
.recommendation-item > button, #brandSelect, .search input { transition: background-color .4s ease, color .4s ease, border-color .4s ease }

/* Pied de page */
footer { padding: 0 0 28px; background: #1a0b27; color: rgba(255, 255, 255, .72) }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1) }
.footer-cta .eyebrow { color: var(--gold) }
.footer-cta h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.03em; color: #fff }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 48px }
.footer-logo { height: 48px; width: auto; margin-bottom: 18px }
.footer-brand p { max-width: 280px; margin: 0 0 8px; font-size: 15px }
.footer-col h3 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px }
.footer-col a, .footer-social { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none }
.footer-col svg, .footer-social svg { width: 18px; height: 18px; color: var(--gold) }
.footer-social { margin-top: 10px }
.footer-hours p { display: flex; gap: 10px; margin: 0 0 12px; font-size: 14px; line-height: 1.45 }
.footer-hours svg { width: 18px; height: 18px; margin-top: 1px; color: var(--gold) }
.footer-hours b { color: #fff }
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .6) }
.footer-legal p { margin: 0 }
.footer-legal nav { display: flex; gap: 6px 20px; flex-wrap: wrap }
.footer-legal a { color: inherit; text-decoration: none; padding: 6px 0; transition: color .4s ease }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px !important; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #fff !important; font-weight: 600; transition: background-color .45s var(--ease-smooth), border-color .45s ease !important }
.to-top svg { width: 16px; height: 16px; transition: transform .5s var(--ease-smooth) }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease-smooth) }
  .footer-col a:hover:after { transform: scaleX(1) }
  .footer-col a svg, .footer-social svg { transition: transform .5s var(--ease-smooth) }
  .footer-col a:hover svg, .footer-social:hover svg { transform: translateX(2px) scale(1.1) }
  .footer-social:hover { color: var(--gold) }
  .footer-legal a:hover { color: #fff }
  .to-top:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4) }
  .to-top:hover svg { transform: translateY(-3px) }
}
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 32px; align-items: start }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 620px) {
  .hero-stats .stat { padding: 14px 14px 12px }
  .footer-cta { padding-top: 48px; padding-bottom: 40px }
  .footer-cta .hero-button { width: 100%; justify-content: center }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px }
  .footer-legal { flex-direction: column; align-items: flex-start }
}
@media (max-width: 620px) {
  .video-toggle { top: auto; bottom: 16px }
  .hero-content { padding-bottom: 80px }
}
/* La règle .container du mobile écrasait la marge haute du hero */
.video-hero .hero-content { padding-top: calc(var(--header) + 56px) }

/* Vidéo du hero : invisible tant qu'elle ne joue pas réellement (l'affiche reste en place) */
.video-hero .video-layer { opacity: 0; transition: opacity 1.6s var(--ease-soft, ease) }
.video-hero.is-playing .video-layer { opacity: 1 }

/* Mouvements plus doux : fondus lents, léger rebond amorti sur les déplacements */
:root { --ease-bounce: cubic-bezier(.34, 1.36, .64, 1); --ease-soft: cubic-bezier(.25, .8, .25, 1) }
.cart-backdrop { transition: opacity .55s var(--ease-soft), visibility .55s }
.cart-drawer { transition: transform .75s var(--ease-bounce) }
.cart-drawer:after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 48px; background: var(--surface) } /* couvre le léger dépassement du rebond */
.cart-backdrop:not(.open) .cart-drawer { transition: transform .5s var(--ease-soft) }
.message-modal, .rental-reminder, .welcome-modal { animation: fadeIn .5s var(--ease-soft) both }
.message-card, .rental-reminder-card, .welcome-card { animation: popIn .7s var(--ease-bounce) both }
.message-modal.is-closing, .rental-reminder.is-closing, .welcome-modal.is-closing { animation: fadeOut .4s var(--ease-soft) both }
.is-closing .message-card, .is-closing .rental-reminder-card, .is-closing .welcome-card { animation: popOut .4s var(--ease-soft) both }
@keyframes fadeIn { from { opacity: 0 } }
@keyframes fadeOut { to { opacity: 0 } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.94) } }
@keyframes popOut { to { opacity: 0; transform: translateY(12px) scale(.97) } }
.cart-toast { transition: transform .7s var(--ease-bounce), opacity .5s var(--ease-soft); opacity: 0 }
.cart-toast.show { opacity: 1 }
/* Boutons : enfoncement rapide, retour lent avec un petit rebond */
.hero-button, .hero-secondary, .cart-button, .filter, .add-button, .discount-entry button, #checkoutButton, .recommendation-item > button, .qty button, .welcome-cta, .welcome-code, .message-card button, .rental-reminder-card button, .cart-toast button, .video-toggle, .menu-toggle, .remove, .drawer-head button, .welcome-close, .link-button { transition: background-color .55s var(--ease-soft), border-color .55s var(--ease-soft), color .55s var(--ease-soft), transform .6s var(--ease-bounce) }
.hero-button:active, .hero-secondary:active, .cart-button:active, .filter:active, .add-button:active:not(:disabled), .discount-entry button:active, #checkoutButton:active:not(:disabled), .recommendation-item > button:active, .qty button:active:not(:disabled), .welcome-cta:active, .welcome-code:active, .message-card button:active, .rental-reminder-card button:active, .cart-toast button:active, .video-toggle:active, .menu-toggle:active, .remove:active, .drawer-head button:active, .welcome-close:active { transform: scale(.95); transition: transform .2s var(--ease-soft), background-color .55s var(--ease-soft) }
/* « Ajouter » ↔ « Ajouté » : le libellé change en fondu */
.add-button.swap { animation: labelSwap .55s var(--ease-bounce) }
@keyframes labelSwap { from { opacity: .35; transform: scale(.92) } }
.add-button.is-added svg { animation: tick .6s var(--ease-bounce) }
@media (prefers-reduced-motion: reduce) {
  .message-modal, .rental-reminder, .welcome-modal, .message-card, .rental-reminder-card, .welcome-card, .add-button.swap { animation-duration: .01ms !important }
  .cart-drawer, .cart-toast { transition-duration: .01ms !important }
}

/* ===== Fluidité : plus aucun flou recalculé pendant le défilement ===== */
.site-header.scrolled, body.menu-open .site-header { background: rgba(37, 16, 54, .96); backdrop-filter: none; -webkit-backdrop-filter: none }
.toolbar { background: rgba(250, 248, 252, .98); backdrop-filter: none; -webkit-backdrop-filter: none }
.hero-stats { background: rgba(37, 16, 54, .62); backdrop-filter: none; -webkit-backdrop-filter: none }
.hero-secondary, .video-toggle { backdrop-filter: none; -webkit-backdrop-filter: none; background-color: rgba(37, 16, 54, .55) }
.cart-backdrop, .message-modal, .rental-reminder, .welcome-modal, .legal-modal { backdrop-filter: none; -webkit-backdrop-filter: none }
.marquee-track { will-change: transform }

/* Fenêtre des conditions */
.legal-modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: rgba(27, 12, 39, .6); animation: fadeIn .5s var(--ease-soft) both }
.legal-modal.is-closing { animation: fadeOut .4s var(--ease-soft) both }
.legal-card { display: flex; flex-direction: column; width: min(760px, 100%); max-height: min(86svh, 900px); overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); animation: popIn .7s var(--ease-bounce) both }
.is-closing .legal-card { animation: popOut .4s var(--ease-soft) both }
.legal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 18px; border-bottom: 1px solid var(--line) }
.legal-head h2 { margin-top: 4px; font-size: 26px; color: var(--brand-ink) }
.legal-close { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 24px; line-height: 1; color: var(--ink) }
.legal-body { flex: 1; overflow-y: auto; padding: 8px 28px 28px; overscroll-behavior: contain; line-height: 1.65; color: #3c3542 }
.legal-body:focus-visible { outline-offset: -3px }
.legal-body .lead { color: var(--muted) }
.legal-body .toc { position: sticky; top: 0; z-index: 1; margin: 12px 0 8px; padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); font-size: 14px; line-height: 1.8 }
.legal-body .toc a { color: var(--brand); font-weight: 700; text-decoration: none }
.legal-body h2 { margin: 36px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 21px; color: var(--brand-ink); scroll-margin-top: 64px }
.legal-body h3 { margin: 22px 0 4px; font-size: 16px; color: var(--ink) }
.legal-body a { color: var(--brand) }
.legal-loading { padding: 32px 0; color: var(--muted) }
.legal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 14px 28px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface) }
.legal-foot a { font-size: 14px; font-weight: 600; color: var(--brand) }
.legal-ok { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--brand-ink); color: #fff; font-weight: 700; transition: background-color .55s var(--ease-soft), transform .9s cubic-bezier(.34, 1.3, .64, 1) }
.legal-ok:active, .legal-close:active { transform: scale(.95); transition: transform .3s var(--ease-soft) }
@media (hover: hover) and (pointer: fine) { .legal-ok:hover { background: var(--brand) } .legal-close:hover { background: var(--brand-soft) } }
.legal-close { transition: background-color .55s var(--ease-soft), transform .9s cubic-bezier(.34, 1.3, .64, 1) }
@media (max-width: 620px) {
  .legal-modal { padding: 0; align-items: end }
  .legal-card { width: 100%; max-height: 92svh; border-radius: var(--radius-lg) var(--radius-lg) 0 0 }
  .legal-head, .legal-body, .legal-foot { padding-left: 18px; padding-right: 18px }
}
@media (prefers-reduced-motion: reduce) { .legal-modal, .legal-card { animation: none !important } }
