
:root { --creme: #F6F6F3; --nuit: #0B0F1A; --bleu: #2563EB; --gris: #5B6170;
  --display: 'Big Shoulders Display', Impact, sans-serif; --sans: 'Instrument Sans', system-ui, sans-serif; }
* { box-sizing: border-box; margin: 0; }
body { background: var(--creme); color: var(--nuit); font-family: var(--sans); font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 8px; }
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(18px, 4vw, 56px); color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.back i { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid currentColor; font-style: normal; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; background: var(--nuit); color: #fff; border: 1.5px solid var(--nuit); font-weight: 700; font-size: 15px; transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--bleu); border-color: var(--bleu); }
.top .btn { background: #fff; color: var(--nuit); border-color: #fff; }
.btn svg { width: 20px; height: 20px; }
.case-hero { background: var(--c); color: var(--ink); padding: 130px clamp(18px, 4vw, 56px) 0; border-radius: 0 0 40px 40px; overflow: hidden; }
.kind { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.case-hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(72px, 12vw, 220px); line-height: .92; margin: 20px 0 18px; }
.lead { max-width: 640px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; opacity: .9; }
.case-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: clamp(24px, 4vw, 60px); }
.case-hero > * { grid-column: 1 / -1; }
.case-hero > .kind { justify-self: start; }
.case-hero h1, .case-hero .lead { grid-column: 1; }
.demo { grid-column: 2; grid-row: 2 / span 2; align-self: end; margin-bottom: 4px; padding: 22px 22px 20px; border-radius: 20px; background: color-mix(in srgb, var(--ink) 9%, transparent); border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); font-size: 15px; line-height: 1.55; }
.demo::before { content: "Projet démo"; display: block; width: fit-content; margin-bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--c); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .case-hero { grid-template-columns: minmax(0, 1fr); } .demo { grid-column: 1; grid-row: auto; margin-top: 18px; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 34px 0 50px; font-size: 14px; }
.facts b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.frame { border-radius: 22px 22px 0 0; overflow: hidden; border: 1.5px solid rgba(255,255,255,.25); border-bottom: 0; background: #000; }
.frame { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform: scale(calc(100cqw / 1440px)); transform-origin: 0 0; background: transparent; pointer-events: none; }
.visit { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 10px; margin: -74px 0 24px 24px; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--c); font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px -10px #0008; transition: transform .25s; float: left; }
.visit:hover { transform: translateY(-2px); }
.visit span { display: inline-block; transition: transform .3s; }
.visit:hover span { transform: translate(3px, -3px); }
.block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); padding: 100px clamp(18px, 4vw, 56px) 0; max-width: 1400px; margin: 0 auto; }
.block h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 76px); line-height: .95; }
.block p { font-size: 18px; line-height: 1.6; color: var(--gris); max-width: 640px; }
.block p + p { margin-top: 14px; }
.did { list-style: none; padding: 0; display: grid; gap: 14px; }
.did li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 24px; border-radius: 20px; border: 1.5px solid var(--nuit); background: #fff; }
.did li span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: var(--ink); font-weight: 700; }
.did b { display: block; font-size: 18px; margin-bottom: 4px; }
.did p { font-size: 16px; }
.live { display: inline-flex; gap: 8px; margin-top: 20px; font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.end { margin: 110px clamp(18px, 4vw, 56px) 30px; padding: clamp(40px, 6vw, 80px); border-radius: 36px; background: var(--nuit); color: #fff; display: grid; gap: 26px; justify-items: start; }
.end h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 7vw, 120px); line-height: .95; }
.end h2 em { font-style: normal; color: var(--bleu); }
.end p { color: #B9BECB; font-size: 18px; max-width: 520px; line-height: 1.5; }
.end .btn { background: var(--bleu); border-color: var(--bleu); padding: 20px 32px; font-size: 17px; }
.end .btn:hover { background: #fff; color: var(--nuit); border-color: #fff; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 clamp(18px, 4vw, 56px) 50px; padding: 26px 30px; border-radius: 26px; border: 1.5px solid var(--nuit); font-weight: 700; }
.next small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-bottom: 4px; }
.next strong { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4vw, 56px); line-height: 1; }
.next i { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--nuit); color: #fff; font-style: normal; transition: transform .3s; }
.next:hover i { transform: translateX(6px); }
@media (max-width: 900px) {
  .block { grid-template-columns: minmax(0, 1fr); padding-top: 70px; }
  .top .btn span { display: none; } .top .btn { padding: 11px; }
  .case-hero { padding-top: 110px; }
}

/* Mobile : le bouton « Visiter le site » passe sous l'aperçu, en taille normale */
@media (max-width: 900px) {
  .visit { float: none; display: inline-flex; margin: 16px 0 22px; padding: 11px 18px; font-size: 14px; box-shadow: none; }
  .frame { border-radius: 16px 16px 0 0; }
  .case-hero { padding-bottom: 0; }
  .case-hero h1 { font-size: clamp(60px, 19vw, 110px); }
}
.end h2 em { white-space: nowrap; }
@media (max-width: 900px) {
  .end { margin-top: 70px; padding: 34px 24px; border-radius: 28px; }
  .end h2 { font-size: clamp(40px, 12.5vw, 64px); }
  .end .btn { width: 100%; justify-content: center; padding: 17px 18px; font-size: 15px; white-space: nowrap; }
}
.visit { justify-self: start; }
