/* Design repris de martines-hugo.fr : noir #000/#111, blanc, bleu #0016CB, orange #FF5500 en touche,
   titres Archivo larges bicolores, étiquettes Space Mono, corps Inter, boutons pilule. */
:root {
  --blue: #0016CB; --blue-ink: #4D63FF; --orange: #FF5500;
  --c0: #111111; --c1: #1A1A1A; --c2: #2B2B2B; --c3: #6B6B6B; --c4: #A1A1A1; --c5: #FFFFFF;
  --d: 'Archivo', sans-serif; --s: 'Inter', system-ui, sans-serif; --m: 'Space Mono', ui-monospace, monospace;
  --gut: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2, .9, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #2B2B2B #000; }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2B2B2B; border-radius: 8px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
body { background: #000; color: var(--c5); font: 17px/1.55 var(--s); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
strong, b { font-weight: 600; }
.mono { font-family: var(--m); font-size: 12px; letter-spacing: .02em; }
.up { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.muted { color: var(--c3); }
.ul { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.ul:hover { color: var(--orange); }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); }

h1, h2, h3 { font-family: var(--d); font-variation-settings: 'wdth' 118; font-weight: 800; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.two { font-size: clamp(34px, 4.6vw, 66px); }
.two span { display: block; color: rgba(17, 17, 17, .4); }
.two b { display: block; font-weight: 800; }
.two.light span { color: rgba(255, 255, 255, .4); }
.two.light b { color: var(--c5); }
.two span:first-child { font-family: var(--m); font-variation-settings: normal; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1; margin-bottom: 18px; color: var(--c3); }
.two.light span:first-child { color: rgba(255, 255, 255, .55); }
p.big { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; margin-bottom: 20px; }

.pill-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 700 11px var(--m); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill-btn:hover { background: var(--c5); color: var(--c0); }
.pill-btn.full { background: var(--c5); color: var(--c0); border-color: var(--c5); }
.pill-btn.full:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill-btn.big { min-height: 52px; font-size: 12px; }
.pill-btn.wide { width: 100%; }
.pill-btn[disabled] { opacity: .4; cursor: not-allowed; }
.pill-btn[disabled]:hover { background: var(--c5); color: var(--c0); }

/* barre */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding: 0 var(--gut); color: #fff; transition: color .3s, background .3s; }
.bar.scrolled { background: rgba(0, 0, 0, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bar.dark { color: var(--c0); }
.bar.dark.scrolled { background: rgba(255, 255, 255, .7); }
.bar.dark .pill-btn.full { background: var(--c0); color: #fff; border-color: var(--c0); }
.bar.dark .pill-btn.full:hover { background: var(--blue); border-color: var(--blue); }
.bar .nm { font: 800 18px var(--d); text-transform: uppercase; letter-spacing: .02em; font-variation-settings: 'wdth' 118; white-space: nowrap; }
.bar nav { display: flex; gap: 26px; font: 700 11px var(--m); letter-spacing: .08em; text-transform: uppercase; }
.bar nav a { opacity: .75; } .bar nav a:hover { opacity: 1; }

/* 01 espace : noir, étoiles, atmosphère bleue */
.espace { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 70% 30%, #0b0b12 0%, #000 60%); display: grid; align-items: center; padding: 120px 0 clamp(150px, 20vh, 220px); }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 28% 64%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 46% 14%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 58% 48%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 71% 26%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 84% 58%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 92% 12%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 36% 38%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 78% 76%, rgba(255,255,255,.4), transparent); }
.atmo { position: absolute; left: 50%; top: calc(100% - 120px); width: 300vw; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #FFFFFF 42%, #DCE4FF 49%, #7F97FF 55%, #2334E0 61%, rgba(0,22,203,.85) 67%, rgba(0,10,80,.5) 74%, rgba(0,0,0,0) 82%);
  filter: blur(26px); }
.espace-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 6vw, 110px); align-items: center; width: 100%; }
.eyebrow { font: 700 12px var(--m); text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.espace h1 { font-size: clamp(46px, 6.4vw, 100px); line-height: .9; font-variation-settings: 'wdth' 112; margin-bottom: 26px; }
.espace h1 span { color: rgba(255,255,255,.4); display: block; }
.lede { font-size: clamp(16px, 1.25vw, 19px); max-width: 46ch; color: rgba(255,255,255,.72); }
.ticker { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font: 400 11px var(--m); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ticker li { display: inline-flex; align-items: center; gap: 9px; }
.ticker li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-ink); box-shadow: 0 0 8px var(--blue-ink); }
.danger-tag { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 9px 16px 8px; border: 1px solid rgba(255,85,0,.55); border-radius: 999px; font: 700 11px var(--m); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: rgba(255,85,0,.08); }
.danger-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

/* panneau d'enchères : verre sombre */
.panel { position: relative; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1); scroll-margin-top: 100px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: rgba(255,255,255,.7); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-ink); box-shadow: 0 0 0 0 rgba(77,99,255,.6); animation: pulse 2s infinite; }
.closed .live { background: var(--c3); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(77,99,255,0); } 100% { box-shadow: 0 0 0 0 rgba(77,99,255,0); } }
.p-label { display: block; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.p-amount { display: block; font: 800 clamp(48px, 5vw, 64px)/1 var(--d); font-variation-settings: 'wdth' 112; letter-spacing: -.03em; margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.p-amount.bump { animation: bump .8s var(--ease); }
@keyframes bump { 0% { color: var(--blue-ink); transform: translateY(6px); } 100% { color: inherit; transform: none; } }
.p-count { color: rgba(255,255,255,.55); }
.timer { margin: 20px 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; }
.t-label { color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.t-value { font: 700 15px var(--m); text-align: right; font-variant-numeric: tabular-nums; }
.t-date { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.45; }
.timer.ending .t-value { color: var(--orange); }
.actions { display: grid; gap: 8px; }
.p-hint { margin-top: 14px; text-align: center; color: rgba(255,255,255,.55); }
.history { list-style: none; margin-top: 16px; }
.history:empty { display: none; }
.history li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.7); }
.history li small { font: 400 11px var(--m); color: rgba(255,255,255,.4); margin-left: 6px; }
.history li b { font: 700 13px var(--m); color: #fff; }
.history li.lead-bid b { color: var(--blue-ink); }

/* jour : sections blanches */
.jour { background: var(--c5); color: var(--c0); padding: clamp(80px, 10vw, 150px) 0; position: relative; z-index: 2; }
.jour.sep { padding-top: 0; }
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.intro > .two { position: sticky; top: 120px; }
.alert { border-left: 3px solid var(--orange); padding-left: clamp(20px, 2.4vw, 34px); }
.alert p { color: rgba(17,17,17,.75); max-width: 60ch; margin-bottom: 16px; }
.alert p.big { color: var(--c0); }
.alert strong { color: var(--c0); }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: clamp(60px, 8vw, 120px); }
.gallery figure { position: relative; border-radius: 16px; overflow: hidden; background: #e9e9e9; aspect-ratio: 4 / 5; }
.gallery .g-main { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px 4px; border-radius: 999px; background: rgba(17,17,17,.82); color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.cap-note { margin-top: 14px; }

/* nuit : sections noires */
.nuit { background: var(--c0); color: var(--c5); padding: clamp(90px, 12vw, 170px) 0; position: relative; z-index: 3; overflow: hidden; }
.lede-dark { color: var(--c4); max-width: 52ch; margin-top: 22px; }
.caps { list-style: none; margin-top: clamp(50px, 7vw, 100px); border-top: 1px solid var(--c2); counter-reset: c; }
.caps li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--c2); counter-increment: c; transition: background .2s; }
.caps li::before { content: counter(c, decimal-leading-zero); font: 400 12px var(--m); color: var(--c3); }
.caps li span { font: 800 clamp(22px, 2.4vw, 34px)/1 var(--d); text-transform: uppercase; font-variation-settings: 'wdth' 112; letter-spacing: -.01em; }
.caps li em { font-style: normal; color: var(--c4); font-size: 15.5px; max-width: 60ch; }
.caps li em b { color: var(--c5); }
.caps li:hover { background: var(--c1); }
.caps li.sev-high::before { content: counter(c, decimal-leading-zero) " ●"; color: var(--orange); }
.caps li.sev-high span { color: var(--orange); }
.caps li.sev-mid::before { content: counter(c, decimal-leading-zero) " ●"; color: #FFB27F; }

.specs { border-top: 1px solid var(--c0); }
.specs div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(17,17,17,.14); }
.specs dt { font: 700 11px var(--m); text-transform: uppercase; letter-spacing: .1em; color: var(--c3); padding-top: 3px; }
.specs dd { font-weight: 500; }
.label { margin: 46px 0 14px; color: var(--c3); font-size: 11px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(17,17,17,.2); font-size: 14px; }
.note { font-size: 13px; color: var(--c3); margin-top: 12px; }
.maint { list-style: none; columns: 2; column-gap: 40px; border-top: 1px solid var(--c0); }
.maint li { padding: 11px 0; border-bottom: 1px solid rgba(17,17,17,.12); font-size: 15px; break-inside: avoid; display: flex; gap: 12px; }
.maint li::before { content: "✓"; color: var(--blue); font-weight: 700; }

.offres { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--c0); }
.offres article { padding: 30px 28px 10px 0; }
.offres article + article { padding-left: 28px; border-left: 1px solid rgba(17,17,17,.18); }
.offres h3 { font-size: clamp(26px, 2.4vw, 36px); font-variation-settings: 'wdth' 112; margin: 14px 0 0; }
.offres p:not(.mono) { color: rgba(17,17,17,.72); font-size: 15px; margin-top: 16px; max-width: 36ch; }
.two.sub { margin-top: clamp(90px, 11vw, 160px); }
.methode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--c0); }
.methode div { padding: 22px 0 18px; border-bottom: 1px solid rgba(17,17,17,.14); }
.methode b { display: block; font: 700 18px/1.2 var(--d); font-variation-settings: 'wdth' 108; letter-spacing: -.01em; margin-bottom: 8px; }
.methode span { color: rgba(17,17,17,.68); font-size: 14.5px; line-height: 1.5; }

/* fin : questions + lueur bleue */
.fin { padding-bottom: 40px; }
.glow { position: absolute; left: 50%; bottom: -70vh; width: 160vw; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(0,22,203,.55) 0%, rgba(0,22,203,.18) 30%, transparent 60%); filter: blur(30px); pointer-events: none; }
.fin .wrap { position: relative; }
.faq details { border-bottom: 1px solid var(--c2); }
.faq details:first-child { border-top: 1px solid var(--c2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 700 clamp(17px, 1.4vw, 20px)/1.25 var(--d); font-variation-settings: 'wdth' 108; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 24px var(--m); color: var(--c4); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.faq details p { color: var(--c4); padding: 0 0 22px; max-width: 60ch; font-size: 15.5px; }
.fin-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; margin-top: clamp(90px, 12vw, 160px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* barre mobile */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(17,17,17,.92); border: 1px solid rgba(255,255,255,.14); color: #fff; transform: translateY(140%); transition: transform .45s var(--ease); }
.mbar.on { transform: none; }
.mbar span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.mbar b { font: 800 22px/1.1 var(--d); font-variation-settings: 'wdth' 112; }

/* fenêtre d'offre : reprise de la page d'accès du CV */
dialog { margin: auto; border: 1px solid rgba(255,255,255,.14); padding: 0; border-radius: 24px; width: min(580px, 100% - 24px); max-height: calc(100dvh - 24px); background: #0b0b0f; color: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
dialog[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
#form { padding: 26px; display: grid; gap: 16px; background: radial-gradient(120% 60% at 50% 120%, rgba(0,22,203,.35), transparent 70%); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; }
.dlg-head h2 { font-size: 30px; font-variation-settings: 'wdth' 112; }
.x { border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.x:hover { background: #fff; color: #111; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
.seg label { text-align: center; padding: 10px; border-radius: 999px; cursor: pointer; font: 700 11px var(--m); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: background .2s, color .2s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: #111; }
.seg label:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.field { display: grid; gap: 7px; border: 0; min-width: 0; }
.field > span, .field legend { font: 700 10px var(--m); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.field input, .field textarea { font: 400 16px var(--s); color: #fff; padding: 13px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: rgba(255,255,255,.06); width: 100%; outline: none; }
.field input { border-radius: 999px; }
.field input:focus, .field textarea:focus { border-color: #fff; }
.field textarea::placeholder { color: rgba(255,255,255,.35); }
.field small { font-size: 12px; color: rgba(255,255,255,.5); }
.amount { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: rgba(255,255,255,.06); padding-right: 22px; }
.amount:focus-within { border-color: #fff; }
.field .amount input { border: 0; background: transparent; font: 800 36px var(--d); font-variation-settings: 'wdth' 112; letter-spacing: -.02em; padding: 12px 20px; }
.amount b { font: 800 26px var(--d); color: rgba(255,255,255,.4); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; cursor: pointer; font-size: 14px; color: rgba(255,255,255,.6); margin-top: 6px; transition: border-color .2s, background .2s; }
.radio-card b { display: block; color: #fff; }
.radio-card:has(input:checked) { border-color: #fff; background: rgba(255,255,255,.06); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; color: rgba(255,255,255,.8); }
.check b { color: #fff; }
.check input, .radio-card input { margin-top: 3px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.grid2, .pro-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pro-fields[hidden] { display: none; }
.acks { border: 1px solid rgba(255,85,0,.45); background: rgba(255,85,0,.07); border-radius: 18px; padding: 16px 18px 18px; display: grid; gap: 11px; }
.acks legend { font: 700 10px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); padding: 0 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { padding: 11px 16px; border-radius: 14px; border: 1px solid rgba(255,85,0,.5); color: var(--orange); font-size: 12px; }
.form-foot { text-align: center; color: rgba(255,255,255,.45); font-size: 11px; margin-top: -4px; }

@media (max-width: 1100px) { .bar nav { display: none; } }
@media (max-width: 980px) {
  .espace-in { grid-template-columns: 1fr; }
  .intro { grid-template-columns: 1fr; }
  .intro > .two { position: static; }
  .caps li { grid-template-columns: 48px 1fr; }
  .caps li em { grid-column: 2; }
  .offres, .methode { grid-template-columns: 1fr; }
  .offres article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(17,17,17,.18); }
  .mbar { display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { height: 62px; }
  .bar .nm { font-size: 15px; }
  .bar .pill-btn { min-height: 38px; padding: 0 14px; font-size: 10px; }
  .espace { padding-top: 96px; }
  .panel { padding: 22px 20px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-main { grid-column: 1 / -1; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .maint { columns: 1; }
  .grid2, .pro-fields { grid-template-columns: 1fr; }
  #form { padding: 20px; }
  .foot { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
