:root {
  --black: #0b0b0c;
  --ink: #141416;
  --anthracite: #1d1e21;
  --line: #2b2c30;
  --mute: #8f8f95;
  --white: #f5f3ee;
  --gold: #c9a24b;
  --gold-hi: #e0bd68;
  --radius: 14px;
  --serif: 'Archivo', system-ui, -apple-system, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; overscroll-behavior-x: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; background: var(--black); color: var(--white); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
h1, h2 { font-family: var(--serif); font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--mute); }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.wrap { padding-inline: 0; }
.narrow { max-width: 820px; }
.band { background: var(--ink); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; }
.section-head .eyebrow { margin-bottom: .7rem; }
.link { display: inline-flex; gap: .4rem; align-items: center; color: var(--gold); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.link svg { transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 1.6rem; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-light { background: var(--white); color: #111; }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.nav-open { background: rgba(11, 11, 12, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 76px; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; gap: 1.8rem; margin-inline: auto; }
.main-nav a { font-size: .9rem; font-weight: 500; color: #cfcdc7; position: relative; padding: .4rem 0; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.main-nav .nav-admin { display: none; }
.admin-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: #cfcdc7; transition: color .2s, border-color .2s; }
.admin-link:hover { color: var(--gold); border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.nav-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.welcome { position: relative; min-height: 100svh; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; filter: blur(18px) saturate(.75) brightness(.6); transform: scale(1.15); animation: bgIn 2.4s var(--ease) both, drift 24s ease-in-out 2.4s infinite alternate; }
.welcome::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(11,11,12,.35) 0%, rgba(11,11,12,.85) 75%), linear-gradient(0deg, var(--black) 0%, transparent 30%); }
.welcome-glow { position: absolute; z-index: -1; width: min(70vw, 760px); aspect-ratio: 1; left: 50%; top: 42%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.28), transparent 65%); filter: blur(40px); animation: glow 2s var(--ease) .3s both, pulse 7s ease-in-out 2.3s infinite alternate; }
.welcome-inner { text-align: center; padding: 7.5rem 0 4rem; }
.welcome-title { display: flex; justify-content: center; font-size: clamp(3.2rem, 13vw, 9.5rem); line-height: .95; letter-spacing: -.02em; text-shadow: 0 10px 50px rgba(0,0,0,.55); perspective: 600px; }
.welcome-title span { display: inline-block; animation: letter 1s var(--ease) calc(.25s + var(--i) * .07s) backwards, glint 1.1s ease-in-out calc(1.7s + var(--i) * .08s); }
.welcome-brand { margin-top: .4rem; font-family: var(--serif); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.4rem, 4vw, 2.6rem); letter-spacing: .02em; color: #e4e1da; animation: rise 1s var(--ease) 1s backwards; }
.welcome-brand strong { color: var(--gold-hi); }
.welcome-sub { margin-top: 1rem; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #e4e1da; animation: rise 1s var(--ease) 1.2s backwards; }
.welcome-sub strong { color: var(--gold-hi); font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.2rem; margin-top: clamp(2.4rem, 6vh, 3.8rem); perspective: 1000px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: 2rem 2rem 1.8rem; text-align: left; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(20,20,22,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; animation: card 1.1s var(--ease) backwards; transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .5s, opacity .5s; }
.choice:nth-child(1) { animation-delay: 1.35s; } .choice:nth-child(2) { animation-delay: 1.5s; }
.choice::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(201,162,75,.22), transparent 60%); opacity: 0; transition: opacity .5s; }
.choice-label { font-family: var(--serif); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1; }
.choice-text { color: #bdbab3; font-size: .95rem; max-width: 30ch; }
.choice-go { display: grid; place-items: center; width: 52px; height: 52px; margin-top: .6rem; border-radius: 50%; background: var(--gold); color: #111; transition: transform .5s var(--ease), background .3s; }
.choice-go svg { width: 22px; height: 22px; }
.choice:hover, .choice:focus-visible { transform: translateY(-8px); border-color: rgba(201,162,75,.7); background: rgba(24,24,26,.6); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), 0 0 0 1px rgba(201,162,75,.25); }
.choice:hover::before, .choice:focus-visible::before { opacity: 1; }
.choice:hover .choice-go, .choice:focus-visible .choice-go { transform: translateX(8px); background: var(--gold-hi); }
body.leaving .site-header, body.leaving .welcome-title, body.leaving .welcome-sub { transition: opacity .5s, transform .6s var(--ease); opacity: 0; transform: translateY(-20px); }
body.leaving .choice:not(.picked) { opacity: 0; transform: scale(.92); }
body.leaving .choice.picked { transform: scale(1.06); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,.25), 0 30px 80px -20px rgba(201,162,75,.45); }
body.leaving .choice.picked .choice-go { transform: translateX(14px) scale(1.1); background: var(--gold-hi); }
body.leaving .hero-img { transition: filter .6s, transform .6s var(--ease); filter: blur(30px) brightness(.2); }
@keyframes bgIn { from { transform: scale(1.35); opacity: 0; } }
@keyframes drift { to { transform: scale(1.25) translate(-2%, -1%); } }
@keyframes glow { from { opacity: 0; scale: .4; } }
@keyframes pulse { to { scale: 1.15; opacity: .7; } }
@keyframes letter { from { opacity: 0; transform: translateY(.5em) rotateX(-80deg); filter: blur(8px); } }
@keyframes glint { 50% { color: var(--gold-hi); text-shadow: 0 0 40px rgba(224,189,104,.6); } }
@keyframes card { from { opacity: 0; transform: translateY(50px) rotateX(18deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
body:not([data-page="accueil"]) main { animation: pageIn .5s var(--ease) both; }

/* Transitions entre les pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .15s ease both; }
::view-transition-new(root) { animation: vtIn .25s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: scale(.98); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

/* Apparition en cascade des cartes */
.car-grid > .car-card, .adm-grid > .adm-item, .adm-stats > div { animation: rise .6s var(--ease) backwards; }
.car-grid > :nth-child(2), .adm-grid > :nth-child(2), .adm-stats > :nth-child(2) { animation-delay: .06s; }
.car-grid > :nth-child(3), .adm-grid > :nth-child(3), .adm-stats > :nth-child(3) { animation-delay: .12s; }
.car-grid > :nth-child(4), .adm-grid > :nth-child(4), .adm-stats > :nth-child(4) { animation-delay: .18s; }
.car-grid > :nth-child(5), .adm-grid > :nth-child(5) { animation-delay: .24s; }
.car-grid > :nth-child(n+6), .adm-grid > :nth-child(n+6) { animation-delay: .3s; }
.car-card:active, .choice:active, .adm-item:active { transform: scale(.985); }

/* Champs en 16 px : évite le zoom automatique sur mobile */
input, select, textarea, .field input, .field select, .field textarea { font-size: 16px !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* Recherche */
.search-wrap { position: relative; z-index: 2; margin-top: -5rem; }
.search { background: var(--anthracite); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.search-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.search-title h2 { font-size: 1.25rem; }
.search-title span { font-size: .9rem; }
.search-fields { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr auto; gap: .8rem; margin-top: 1.1rem; }
.budget { display: flex; align-items: center; min-height: 50px; padding: 0 .95rem; border: 1px dashed var(--line); border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--mute); }
.budget.set { border: 1px solid var(--gold); color: var(--gold-hi); font-size: 1.05rem; }
.search-results:empty { display: none; }
.search-results { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.sr-head { font-size: .85rem; color: var(--mute); margin-bottom: .7rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.sr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .6rem; }
.sr-item { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: .9rem; padding: .5rem .9rem .5rem .5rem; background: var(--black); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.sr-item:hover { border-color: var(--gold); }
.sr-item img { width: 96px; height: 60px; object-fit: cover; border-radius: 8px; background: #e9e9ea; }
.sr-name, .sr-price { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sr-name small, .sr-price small { color: var(--mute); font-size: .76rem; }
.sr-price { text-align: right; }
.sr-price strong { color: var(--gold-hi); white-space: nowrap; }
.search-btn { align-self: end; }
.seg { display: inline-flex; padding: 4px; background: var(--black); border: 1px solid var(--line); border-radius: 999px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: .5rem 1.2rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--mute); cursor: pointer; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--white); color: #111; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field > span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 .95rem; background: var(--black); color: var(--white); border: 1px solid var(--line); border-radius: 10px; font: 500 .95rem var(--sans); appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f95' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; padding-right: 2.4rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field select:disabled { color: var(--mute); opacity: .75; }
.field input::placeholder { color: #5d5e63; }

/* Statuts */
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: rgba(11,11,12,.82); color: #fff; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.ok { color: #5fd08a; } .status.busy { color: #f0a54a; } .status.off { color: #b0b0b5; }
.car-media .status { position: absolute; top: .8rem; left: .8rem; }
.status.inline { align-self: flex-start; background: var(--black); border: 1px solid var(--line); }
.car-card.is-busy .car-media img { opacity: .55; filter: grayscale(.6); }
.check { display: flex; align-items: center; gap: .6rem; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }

/* Cartes véhicules */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.car-card { background: var(--anthracite); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), border-color .3s; }
.car-card:hover { transform: translateY(-4px); border-color: #4a4334; }
.car-link { display: flex; flex-direction: column; height: 100%; }
.car-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e9e9ea; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.car-card:hover .car-media img { transform: scale(1.04); }
.car-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.car-top { display: flex; align-items: center; gap: .5rem; }
.car-top .eyebrow { margin-right: auto; font-size: .66rem; }
.tag { font-size: .68rem; font-weight: 600; padding: .2rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: #cfcdc7; }
.car-body h3 { font-size: 1.4rem; line-height: 1.15; font-weight: 700; font-stretch: 108%; }
.car-body h3 small { font-family: var(--sans); font-size: .85rem; color: var(--mute); font-weight: 500; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: #b5b3ad; }
.specs li { display: flex; align-items: center; gap: .35rem; }
.specs svg { width: 15px; height: 15px; color: var(--mute); }
.car-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.price strong { font-size: 1.12rem; font-weight: 700; }
.price span { font-size: .8rem; color: var(--mute); margin-left: .3rem; }
.go { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--gold); }
.go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.car-card:hover .go svg { transform: translateX(3px); }

/* Sections accueil */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin: .8rem 0 1rem; }
.perks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.perks li { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.perks strong { font-weight: 600; }
.perks span { color: var(--mute); font-size: .9rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.steps li { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); }
.steps span { font-size: 2rem; font-weight: 800; font-stretch: 115%; color: var(--gold); line-height: 1; }
.steps h3 { margin: 1.2rem 0 .5rem; font-size: 1.05rem; font-weight: 600; }
.steps p { color: var(--mute); font-size: .9rem; }
.quality { text-align: center; max-width: 880px; }
.quote { font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 500; line-height: 1.35; margin-top: 1.2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); padding-bottom: 1.3rem; max-width: 65ch; }
.contact { background: var(--ink); border-top: 1px solid var(--line); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.contact h2 { margin: .8rem 0 .5rem; max-width: 18ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Pages intérieures */
.page { padding-top: 76px; min-height: 70vh; }
.page-head { padding: 3rem 0 2rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: .6rem; }
.catalog { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; padding-bottom: 5rem; }
.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1rem; padding: 1.3rem; background: var(--anthracite); border: 1px solid var(--line); border-radius: var(--radius); }
.filters .seg { display: flex; }
.filters .seg label { flex: 1; text-align: center; }
.filters .seg span { padding-inline: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.count { color: var(--mute); font-size: .9rem; margin-bottom: 1rem; min-height: 1.4em; }
.empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h1, .empty h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.empty p { color: var(--mute); max-width: 48ch; margin: 0 auto 1.6rem; }

/* Fiche */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--mute); padding: 1.6rem 0; }
.crumbs a:hover { color: var(--white); }
.fiche-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2.2rem; align-items: start; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #e9e9ea; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: .3; } }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(11,11,12,.7); color: var(--white); font-size: 1.6rem; cursor: pointer; }
.g-nav.prev { left: 1rem; } .g-nav.next { right: 1rem; }
.thumbs { display: flex; gap: .6rem; margin-top: .7rem; overflow-x: auto; }
.thumbs button { flex: none; width: 96px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.thumbs button[aria-current] { opacity: 1; border-color: var(--gold); }
.fiche-panel { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem; background: var(--anthracite); border: 1px solid var(--line); border-radius: var(--radius); }
.fiche-panel h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.05; }
.fiche-price { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0 .5rem; }
.fiche-price strong { font-size: 1.8rem; font-weight: 700; }
.fiche-price span { color: var(--mute); }
.status-note { display: flex; gap: .8rem; padding: 1rem; border-radius: 10px; background: var(--black); border: 1px solid var(--line); font-size: .88rem; }
.status-note svg { color: var(--gold); margin-top: .15rem; }
.status-note.ok svg { color: #5fd08a; } .status-note.busy svg { color: #f0a54a; }
.status-note span { color: var(--mute); }
.fine { font-size: .8rem; color: var(--mute); }
.fiche-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 3rem; padding: 4rem 0 1rem; }
.fiche-details h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.fiche-details p { color: #c9c7c1; }
.spec-table { margin: 0; display: grid; }
.spec-table div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--mute); }
.spec-table dd { margin: 0; font-weight: 600; text-align: right; }
.spec-table dd.muted { font-weight: 400; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checks li::before { content: '—'; color: var(--gold); margin-right: .6rem; }
.related { padding: 4rem 0 6rem; }
.related h2 { font-size: 2rem; }
.sticky-cta { display: none; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid img { width: 170px; margin-bottom: 1rem; }
.footer-grid h3 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.footer-grid a { display: block; color: #c9c7c1; padding: .25rem 0; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: #c9c7c1; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .8rem; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 1.2rem; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .burger { display: flex; }
  .header-actions .btn, .admin-link { display: none; }
  .main-nav .nav-admin { display: flex; margin-top: auto; font-size: .95rem; font-weight: 500; color: var(--mute); border-bottom: 0; border-top: 1px solid var(--line); }
  .header-inner { justify-content: space-between; }
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); overflow-y: auto; flex-direction: column; gap: 0; padding: 1rem 1.25rem 2rem; background: var(--black); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.nav-open { background: var(--black); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav a { font-size: 1.15rem; font-weight: 600; color: var(--white); padding: 1.05rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
  .main-nav a::before { content: '›'; order: 2; color: var(--gold); font-size: 1.4rem; line-height: 1; }
  .main-nav a[aria-current] { color: var(--gold); }
  .main-nav a::after { display: none; }
  .main-nav a:hover { color: var(--gold); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .fiche-grid, .fiche-details, .split { grid-template-columns: 1fr; }
  .fiche-panel { position: static; }
  .page:has(.sticky-cta) { padding-bottom: 84px; }
  .sticky-cta { display: flex; position: fixed; inset: auto 0 0; z-index: 40; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(20,20,22,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .sticky-cta div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .sticky-cta span { font-size: .75rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta strong { font-size: 1rem; }
  .sticky-cta .btn { padding: 0 1.1rem; font-size: .88rem; }
}
@media (max-width: 600px) {
  .brand img { width: 124px; }
  .choices { grid-template-columns: 1fr; gap: .9rem; }
  .choice { padding: 1.4rem 1.4rem 1.3rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1rem; }
  .choice-label, .choice-text { grid-column: 1; }
  .choice-go { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .welcome-inner { padding: 6.5rem 0 3rem; }
  .search { padding: 1rem; }
  .search .seg { display: flex; } .search .seg label { flex: 1; text-align: center; }
  .search-fields { grid-template-columns: 1fr; }
  .sr-list { grid-template-columns: 1fr; }
  .sr-item { grid-template-columns: 80px 1fr auto; }
  .sr-item img { width: 80px; height: 50px; }
  .section-head { flex-direction: column; align-items: start; }
  .perks, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1; }
}

/* Accueil : écran unique, sans défilement */
body[data-page="accueil"] { overflow-x: hidden; }

/* Sélecteur de location */
.picker { margin-bottom: 2.2rem; padding: 1.4rem; background: linear-gradient(160deg, #222326, var(--anthracite)); border: 1px solid #3a3426; border-radius: 20px; box-shadow: 0 30px 60px -35px rgba(0,0,0,.9); animation: rise .8s var(--ease) .15s backwards; }
.picker-fields { display: grid; grid-template-columns: 1fr 1.3fr 1fr auto; gap: .8rem; align-items: end; }
.picker-price { display: flex; align-items: center; min-height: 50px; padding: 0 .95rem; border: 1px dashed var(--line); border-radius: 10px; font-weight: 700; color: var(--mute); transition: border-color .3s, color .3s, box-shadow .4s; font-variant-numeric: tabular-nums; }
.picker-price.set { border: 1px solid var(--gold); color: var(--gold-hi); font-size: 1.15rem; box-shadow: 0 0 0 4px rgba(201,162,75,.12); }
.picker-btn { min-width: 200px; }
.picker-btn:not(:disabled) { animation: nudge 1.6s var(--ease) .3s 2; }
.picker-car:empty { display: none; }
body.rent-locked .site-footer { display: none; }
body.rent-locked .page { min-height: 0; }
body.rent-locked .picker { margin-bottom: 1.4rem; }
.catalog > section { scroll-margin-top: 92px; }
.pk-card { display: grid; grid-template-columns: 260px 1fr; gap: 1.3rem; align-items: center; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); animation: pkIn .6s var(--ease) both; }
.pk-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--black); animation: pkImg .9s var(--ease) both; }
.pk-card > div { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.pk-card strong { font-family: var(--serif); font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.05; }
.status-inline.ok { color: #5fd08a; font-size: .85rem; font-weight: 600; }
.catalog label[hidden], .catalog section[hidden], .filters[hidden] { display: none; }
@keyframes pkIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes pkImg { from { opacity: 0; transform: scale(1.06); filter: blur(6px); } }
@keyframes nudge { 50% { box-shadow: 0 0 0 8px rgba(201,162,75,.18); } }

/* Chargement */
.car-skel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--anthracite); padding-bottom: 1.2rem; }
.car-skel i, .car-skel b { display: block; background: linear-gradient(90deg, #232427 25%, #2e2f33 50%, #232427 75%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.car-skel i { aspect-ratio: 16 / 9; }
.car-skel b { height: 12px; margin: 1rem 1.2rem 0; border-radius: 6px; }
.car-skel b:nth-child(2) { width: 40%; } .car-skel b:nth-child(3) { width: 70%; height: 20px; } .car-skel b:nth-child(4) { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Réservation */
.rv { width: min(620px, 100% - 1.5rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--ink); color: var(--white); }
.rv::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.rv[open] { animation: rvIn .45s var(--ease); }
.rv[open]::backdrop { animation: fade .45s ease; }
.rv-body.in { animation: stepIn .45s var(--ease); }
@keyframes rvIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.rv-hint { margin-top: -.6rem; font-size: .9rem; }
.rv-link { background: none; border: 0; padding: 0; font: 600 .9rem var(--sans); cursor: pointer; align-self: center; }
.paper { max-height: min(52dvh, 520px); overflow-y: auto; background: #fff; color: #1b1b1e; border-radius: 12px; font-size: .86rem; line-height: 1.5; box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,.25); }
.paper-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; background: var(--black); color: #fff; }
.paper-top img { width: 110px; }
.paper-top div { display: flex; flex-direction: column; text-align: right; font-size: .72rem; color: var(--gold-hi); }
.paper-top strong { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.paper section { padding: .8rem 1.1rem 0; }
.paper h3 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding-bottom: .3rem; border-bottom: 1.5px solid var(--gold); margin-bottom: .35rem; }
.paper dl { margin: 0; }
.paper dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .22rem 0; }
.paper dt { color: #6b6b72; }
.paper dd { margin: 0; text-align: right; }
.paper .b dd { font-weight: 700; }
.paper section p { margin-bottom: .4rem; color: #333; }
.paper-sign { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .4rem 0 .2rem; }
.paper-sign span { height: 64px; padding: .4rem .5rem; border: 1px solid #c8c8cc; border-radius: 6px; font-size: .74rem; color: #6b6b72; }
.paper footer { padding: .9rem 1.1rem 1rem; font-size: .7rem; color: #8a8a90; text-align: center; }
.rv-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; background: var(--ink); border-bottom: 1px solid var(--line); }
.rv-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; counter-reset: s; font-size: .82rem; font-weight: 600; color: var(--mute); }
.rv-steps li { counter-increment: s; }
.rv-steps li::before { content: counter(s) '. '; }
.rv-steps li.on { color: var(--gold); }
.rv-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.rv-body { padding: 1.3rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.rv-body h2 { font-size: 1.3rem; }
.rv-ok { color: #5fd08a; font-weight: 600; font-size: .9rem; margin-top: -.5rem; }
.rv-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.rv-form .btn, .rv-form .adm-error, .rv-total { grid-column: 1 / -1; }
.rv-total { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 1rem; border: 1px solid var(--gold); border-radius: 10px; }
.rv-total span { color: var(--mute); font-size: .88rem; }
.rv-total strong { font-size: 1.25rem; color: var(--gold-hi); }
.rv .adm-error { color: #ff8a7a; font-size: .88rem; }
.rv .adm-error:empty { display: none; }
.rv-pdf { width: 100%; height: min(60dvh, 560px); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.rv-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.rv-accept { padding: .9rem 1rem; background: var(--black); border: 1px solid var(--line); border-radius: 10px; align-items: flex-start; }
.rv-accept input { flex: none; margin-top: .1rem; }
.rv-actions { display: flex; gap: .6rem; }
.rv-actions .btn { flex: 1; }
.receipt { background: #fff; color: #141416; border-radius: 12px; overflow: hidden; }
.receipt-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--black); color: #fff; }
.receipt-top img { width: 120px; }
.receipt-top div { display: flex; flex-direction: column; text-align: right; font-size: .78rem; color: var(--gold-hi); }
.receipt-top strong { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.receipt dl { margin: 0; padding: .6rem 1.2rem; }
.receipt dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #e6e6e8; font-size: .9rem; }
.receipt dt { color: #6b6b72; }
.receipt dd { margin: 0; text-align: right; font-weight: 600; }
.receipt dd small { font-weight: 400; color: #6b6b72; }
.receipt .receipt-total { border-bottom: 0; font-size: 1.05rem; }
.receipt .receipt-total dd { font-weight: 800; }
.receipt p { padding: 0 1.2rem 1.1rem; font-size: .78rem; color: #6b6b72; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 600px) {
  .rv { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .rv-form { grid-template-columns: 1fr; }
  .paper { max-height: 46dvh; }
}
@media (max-width: 920px) {
  .picker-fields { grid-template-columns: 1fr 1fr; }
  .picker-btn { grid-column: 1 / -1; }
  .pk-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .picker { padding: 1rem; }
  .picker-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
