/* CARTOUCHE — site. White, quiet, large type. */
@font-face { font-family: "Inter"; src: url(fonts/Inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #111111;
  --ink-2: #6e6e73;
  --ink-3: #a1a1a6;
  --line: #ebebed;
  --soft: #f7f7f8;
  --ok: #1a7f37;
  --warn: #9a6700;
  --bad: #cf222e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", system-ui, sans-serif;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.5 var(--font); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.w { width: 100%; max-width: calc(var(--max) + 48px); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.top .w { display: flex; align-items: center; height: 60px; gap: 32px; }
.brand { font-weight: 700; font-size: 15px; letter-spacing: .16em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 30px; height: auto; flex: none; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-mark path { transform-origin: 57px 42px; animation: spark 6s ease-in-out infinite; }
@keyframes spark { 0%, 86%, 100% { transform: scale(1) rotate(0); } 92% { transform: scale(1.25) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .brand-mark path { animation: none; } }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
#pill { display: inline-flex; align-items: center; gap: 7px; }
#pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
#pill.on .dot { background: var(--ok); }
@media (max-width: 720px) { .top .w { gap: 12px; } .top nav { display: none; } .top .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: opacity .2s, transform .2s; white-space: nowrap; }
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.98); }
.btn.light { background: var(--soft); color: var(--ink); }
.btn.small { height: 38px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .35; cursor: default; }
.link { color: var(--ink); font-weight: 500; text-decoration: none; }
.link::after { content: " →"; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* blocks */
.hero { min-height: calc(100vh - 60px); display: grid; place-items: center; text-align: center; padding: 60px 0 90px; }
.kicker { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.giant { font-size: clamp(52px, 10.5vw, 132px); line-height: .98; letter-spacing: -0.055em; font-weight: 700; }
.big { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.mid { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 650; }
.gray { color: var(--ink-3); }
.intro { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 620px; margin: 28px auto 0; }
.hero .row { justify-content: center; margin-top: 40px; }
.hero .fine { margin-top: 22px; font-size: 14px; color: var(--ink-3); }

.block { padding: clamp(110px, 16vw, 200px) 0; text-align: center; }
.block:not(.soft) + .block:not(.soft) { padding-top: 0; }
.block .intro { margin-top: 24px; }
.soft { background: var(--soft); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 88px; text-align: left; }
.three h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.three p { margin-top: 10px; color: var(--ink-2); }
.three .n { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .three { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; } }

.number { font-size: clamp(88px, 17vw, 220px); line-height: .9; letter-spacing: -0.06em; font-weight: 700; }
.number small { font-size: .22em; letter-spacing: -0.02em; font-weight: 600; margin-left: .15em; }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 80px; text-align: left; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; }
.price-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.price-card .p { font-size: 56px; font-weight: 700; letter-spacing: -0.05em; margin-top: 28px; line-height: 1; }
.price-card .s { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 36px; color: var(--ink-2); display: grid; gap: 8px; font-size: 15px; }
.price-card .btn { margin-top: auto; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; margin-top: 56px; } .price-card { padding: 30px; } }

.qa { max-width: 720px; margin: 72px auto 0; text-align: left; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 24px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 300; color: var(--ink-3); transition: transform .25s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--ink-3); }
.foot .w { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }

/* inner pages */
.page { padding: clamp(72px, 10vw, 128px) 0 clamp(96px, 12vw, 160px); }
.page-title { font-size: clamp(44px, 6.5vw, 76px); line-height: 1; letter-spacing: -0.05em; font-weight: 700; }
.page .intro { margin: 22px 0 0; }
.sep { height: 1px; background: var(--line); margin: 56px 0; border: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list > li:first-child { border-top: 1px solid var(--line); }
.list > li > span:first-child { color: var(--ink-2); }
.list > li > span:last-child { text-align: right; }
.label { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; margin: 56px 0 16px; }

.status { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 20px; background: var(--soft); margin-top: 48px; flex-wrap: wrap; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status.on .dot, .status .dot.on { background: var(--ok); }
.status .t { flex: 1; min-width: 200px; }
.status b { font-weight: 600; display: block; }
.status span.m { color: var(--ink-2); font-size: 15px; }

.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }
.tag.ok { color: var(--ok); background: #eaf6ed; }
.tag.warn { color: var(--warn); background: #fdf6e3; }
.tag.bad { color: var(--bad); background: #fdeced; }
.tag.ink { color: #fff; background: var(--ink); }
.ok-t { color: var(--ok); } .warn-t { color: var(--warn); } .bad-t { color: var(--bad); }

/* store */
.store { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; margin-top: 64px; }
.pick { display: grid; gap: 12px; }
.pick button { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s; }
.pick button:hover { border-color: var(--ink-3); }
.pick button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pick b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.pick span { color: var(--ink-2); font-size: 15px; }
.pick .pr { font-size: 18px; font-weight: 600; color: var(--ink); }
.buy { position: sticky; top: 92px; border-radius: 24px; background: var(--soft); padding: 32px; }
.buy .total { font-size: 48px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.buy .btn { width: 100%; margin-top: 26px; }
.buy .small-print { font-size: 13px; color: var(--ink-2); margin-top: 16px; }
.buy .list { margin-top: 24px; font-size: 14px; }
.buy .list > li { padding: 12px 0; }
@media (max-width: 900px) { .store { grid-template-columns: minmax(0, 1fr); gap: 40px; } .buy { position: static; } }

/* library */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; }
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 15px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { margin-left: auto; height: 40px; width: 260px; max-width: 100%; border-radius: 999px; border: 1px solid var(--line); padding: 0 18px; font: 15px var(--font); color: var(--ink); background: #fff; }
.models { margin-top: 28px; border-top: 1px solid var(--line); }
.model { display: grid; grid-template-columns: 1fr 200px 230px; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.model h2 { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.model .meta { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.model p { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }
.model dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.model dt { color: var(--ink-3); }
.model dd { margin: 0; }
.model .act { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; font-size: 14px; }
.bar { height: 5px; width: 200px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ink); transition: width .4s; }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; gap: 16px; } .model .act { align-items: flex-start; text-align: left; } .search { margin-left: 0; width: 100%; } }

/* dashboard */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.stat { background: var(--soft); border-radius: 20px; padding: 26px; }
.stat .k { font-size: 14px; color: var(--ink-2); }
.stat .v { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; margin-top: 10px; }
.stat p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.gauge { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; display: flex; margin: 14px 0 6px; }
.gauge span { height: 100%; background: var(--ink); }
.gauge span + span { background: var(--ink-3); }
@media (max-width: 800px) { .stats, .cols2 { grid-template-columns: 1fr; } .cols2 { gap: 0; } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 15px; z-index: 50; max-width: min(92vw, 520px); }

/* legal */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 700; margin-bottom: 40px; }
.legal h2 { font-size: 20px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
mark.todo { background: #fff4c2; color: #6b4d00; padding: 0 4px; border-radius: 4px; }

/* motion */
.rise { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.hero .rise:nth-child(2) { transition-delay: .08s; } .hero .rise:nth-child(3) { transition-delay: .16s; }
.hero .rise:nth-child(4) { transition-delay: .24s; } .hero .rise:nth-child(5) { transition-delay: .32s; }
.three .rise:nth-child(2) { transition-delay: .1s; } .three .rise:nth-child(3) { transition-delay: .2s; }


/* Configurator */
.step { padding: 0 0 56px; }
.step-t { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 18px; }
.step-t span { color: var(--ink-3); font-weight: 600; }
.pick button[disabled] { opacity: .4; cursor: not-allowed; }
.pick .sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.pick .check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--ink-3); flex: none; display: grid; place-items: center; }
.pick button[aria-checked="true"] .check { background: var(--ink); border-color: var(--ink); }
.pick button[aria-checked="true"] .check::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.pick-row { display: flex; align-items: center; gap: 14px; }
.warn-note { margin-top: 14px; font-size: 14px; color: var(--warn); background: #fdf6e3; border-radius: 14px; padding: 12px 16px; }
.space { margin-bottom: 16px; }
.tag-mini { font-size: 12px; font-weight: 600; color: var(--ok); margin-left: 6px; }

/* forms (account, developer program) */
.form { display: grid; gap: 18px; max-width: 520px; margin-top: 36px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.field input, .field textarea { font: 400 17px/1.4 var(--font); color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, background .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); }
.field small { color: var(--ink-3); }
.form .btn { justify-self: start; }
.form-msg { font-size: 15px; color: var(--ok); min-height: 1.4em; }
.form-msg.bad { color: var(--bad); }
.link-btn { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-top: 8px; }
.seg button { border: 0; background: none; font: 500 15px/1 var(--font); color: var(--ink-2); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.order { margin-top: 28px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; font-size: 19px; }
.status-chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.status-chip.s-expediee, .status-chip.s-livree { background: #e8f5ec; color: var(--ok); }
.status-chip.s-annulee, .status-chip.s-remboursee { background: #fdecee; color: var(--bad); }
/* Account page */
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 56px; align-items: start; }
.acct-grid .form { margin-top: 28px; }
.acct-side { background: var(--soft); border-radius: 24px; padding: 30px 28px; }
.acct-b { display: flex; gap: 14px; margin-top: 18px; }
.acct-b b { font-size: 16px; }
.acct-b p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-2); }
.acct-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.acct-note { margin-top: 24px; padding: 16px 18px; background: #fff; border-radius: 16px; font-size: 14.5px; color: var(--ink-2); }
.acct-note b { color: var(--ink); }
.acct-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.acct-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 20px; background: var(--soft); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.acct-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.acct-tile span { font-size: 14px; color: var(--ink-2); }
.acct-empty { padding: 30px 28px; border: 1px dashed var(--line); border-radius: 24px; }
.acct-empty b { font-size: 19px; }
.acct-sec { display: grid; gap: 6px; max-width: 520px; }
.acct-sec p { margin: 2px 0 0; }
.otl { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 20px; padding: 0; counter-reset: s; }
.otl li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.otl li::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.otl li:first-child::before { display: none; }
.otl li i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.otl li.done, .otl li.now { color: var(--ink); }
.otl li.done i { background: var(--ok); border-color: var(--ok); }
.otl li.done::before, .otl li.now::before { background: var(--ok); }
.otl li.now i { border-color: var(--ok); box-shadow: 0 0 0 5px rgba(26,127,55,.14); animation: otl 1.8s ease-in-out infinite; }
@keyframes otl { 50% { box-shadow: 0 0 0 9px rgba(26,127,55,0); } }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; gap: 36px; } .acct-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .otl li.now i { animation: none; } }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.promise h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.promise p { color: var(--ink-2); }
@media (max-width: 720px) { .promise { grid-template-columns: 1fr; gap: 28px; } }
.small-print { font-size: 13px; color: var(--ink-2); }
.pick .pr { white-space: nowrap; }
.pick button[disabled] { opacity: .45; cursor: default; }

/* colour swatches (Apple-like) */
.swatch-label { font-size: 17px; color: var(--ink-2); margin-bottom: 16px; }
.swatch-label b { color: var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 18px; }
.pick .swatch, .swatch { width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 4px transparent; transition: box-shadow .2s, transform .15s; }
.swatch:hover { transform: scale(1.04); }
.swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.swatch[disabled] { opacity: .3; cursor: default; transform: none; }

/* "Sur clé SanDisk" banner (text only: the SanDisk logo needs their permission) */
.brandbar { display: flex; align-items: center; gap: 18px; margin: 22px 0 10px; padding: 18px 22px; border-radius: 18px; background: var(--soft); }
.brandbar-name { flex: none; font: 800 20px/1 var(--font); letter-spacing: .02em; color: #e11d2a; }
.brandbar-txt { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.brandbar-txt b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .brandbar { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Order page only: one wheel notch moves to the next / previous step.
   Mouse and trackpad only (not touch screens), and never when the visitor
   asked for reduced motion. Steps taller than the screen (models) still
   scroll freely inside. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.snap { scroll-snap-type: y mandatory; }
  html.snap .snap-pt, html.snap .step { scroll-snap-align: start; scroll-margin-top: 84px; }
  html.snap .foot { scroll-snap-align: end; }
}

/* models: compact library grid */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 6px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s; min-width: 0; }
.tile:hover { border-color: var(--ink-3); }
.tile[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tile[disabled] { opacity: .4; cursor: not-allowed; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tile-top b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.tile-sub { font-size: 12.5px; color: var(--ink-2); }
.tile .check { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--ink-3); display: inline-grid; place-items: center; }
.tile[aria-checked="true"] .check { background: var(--ink); border-color: var(--ink); }
.tile[aria-checked="true"] .check::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.blocked { background: #fff8e6; border-radius: 18px; padding: 22px 24px; margin-bottom: 32px; display: grid; gap: 12px; color: #5c4400; }
.blocked ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.blocked .muted { font-size: 14px; }

.brandbar-logo { flex: none; height: 16px; width: auto; }
.brandbar sup, .brandbar-note sup { font-size: .7em; }
.brandbar-note { font-size: 12.5px; color: var(--ink-3); margin: 0 0 8px; }

/* FAQ page */
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 12px; }
.faq-nav a { font-size: 14px; text-decoration: none; background: var(--soft); border-radius: 999px; padding: 8px 14px; color: var(--ink-2); }
.faq-nav a:hover { color: var(--ink); }
.faq-sec { margin-top: 64px; scroll-margin-top: 84px; }
.faq-h { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin-bottom: 8px; }
.faq-sec .qa a { text-decoration: underline; text-underline-offset: 3px; }
.faq-sec .qa { margin: 18px 0 0; max-width: 820px; }

/* shop: personalisation steps */
.opt-field { margin: 0 0 18px; }
.opt-label { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 20px 0 10px; }
.pick.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick.two button { height: 100%; }
.drive-prev { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: 14px; padding: 16px 18px; }
.drive-ic { width: 34px; height: 24px; border-radius: 4px; background: linear-gradient(#e6e7ea, #b9bcc1); position: relative; box-shadow: inset 0 0 0 1px #8a8e94; }
.drive-ic::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 3px; border-radius: 2px; background: #4a90e2; }
.drive-prev b { font-weight: 600; font-family: "Segoe UI", var(--font); }
.drive-prev em { font-style: normal; color: var(--ink-3); font-size: 14px; margin-left: auto; }
@media (max-width: 560px) { .pick.two { grid-template-columns: 1fr; } }

/* Order page: the key (or disk) in the chosen colour */
.key-stage { display: grid; place-items: center; margin: 4px 0 18px; padding: 10px 0; border-radius: 24px; background: radial-gradient(closest-side, #f4f4f6, #fff); }
.key-pic { width: min(100%, 360px); height: auto; opacity: 0; transform: scale(.97); transition: opacity .45s ease, transform .45s ease; }
.key-pic.in { opacity: 1; transform: none; }
.key-pic.mini { width: 150px; display: block; margin: -6px auto 6px; }
.pick-logo { display: block; height: 20px; width: auto; margin-bottom: 6px; }
.brandbar.alt { margin-top: 0; }
.brandbar.alt .brandbar-logo { height: 22px; }
.brandbar.sponsor .brandbar-logo { height: 26px; }
.brandbar.sponsor.alt .brandbar-logo { height: 22px; }

/* Personalisation: one tab that unfolds */
.perso { margin-top: 56px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.perso > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 22px 24px; }
.perso > summary::-webkit-details-marker { display: none; }
.perso-t { font: 600 21px/1.2 var(--font); letter-spacing: -.01em; }
.perso-t em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--ok); margin-left: 8px; }
.perso-sum { grid-column: 1; font-size: 14px; color: var(--ink-2); }
.perso-chev { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); position: relative; transition: transform .3s; }
.perso-chev::before { content: ""; position: absolute; left: 12px; top: 10px; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.perso[open] .perso-chev { transform: rotate(180deg); }
.perso[open] > summary { border-bottom: 1px solid var(--line); }
.perso > .step { padding: 28px 24px 8px; }
html.snap .perso { scroll-snap-align: start; scroll-margin-top: 84px; }
.perso > .step:last-child { padding-bottom: 26px; }
.perso[open] > .step { animation: persoIn .45s ease both; }
@keyframes persoIn { from { opacity: 0; transform: translateY(-8px); } }

/* Gift: a folded card that opens to reveal the message */
.gift { margin-top: 18px; }
.gift-card { position: relative; display: block; width: min(100%, 420px); aspect-ratio: 1.55; border: 0; padding: 0; background: none; cursor: pointer; perspective: 1400px; font: inherit; color: inherit; }
.gift-inside, .gift-front { position: absolute; inset: 0; border-radius: 18px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 26px; }
.gift-inside { background: #fffdf8; border: 1px solid #efe6d2; box-shadow: 0 10px 30px rgba(0,0,0,.08); gap: 10px; }
.gift-inside em { font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a08b5b; }
.gift-inside > span { font: 500 19px/1.45 var(--font); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.gift-inside small { font-size: 12.5px; color: var(--ink-3); }
.gift-front { background: linear-gradient(135deg, #1b1b1d, #3a3a3e); color: #fff; transform-origin: 50% 0; transition: transform .9s cubic-bezier(.3,.7,.2,1), opacity .9s; backface-visibility: hidden; box-shadow: 0 16px 36px rgba(0,0,0,.22); gap: 8px; overflow: hidden; }
.gift-front b { font: 600 24px/1.1 var(--font); letter-spacing: -.01em; position: relative; padding: 10px 18px; border-radius: 12px; background: #1f1f22; box-shadow: 0 0 0 2px #d9c38a; }
.gift-front small { font-size: 12.5px; position: relative; padding: 3px 10px; border-radius: 999px; background: rgba(20,20,22,.85); color: rgba(255,255,255,.8); }
.gift-ribbon { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 46%, #d9c38a 46%, #efdca8 50%, #d9c38a 54%, transparent 54%), linear-gradient(0deg, transparent 44%, #d9c38a 44%, #efdca8 50%, #d9c38a 56%, transparent 56%); opacity: .9; }
.gift-card:not(.open) .gift-front { animation: giftHint 3s ease-in-out 1s infinite; }
@keyframes giftHint { 0%, 80%, 100% { transform: none; } 88% { transform: rotateX(14deg); } }
.gift-card.open .gift-front { transform: rotateX(-172deg); opacity: 0; }
.gift-note { font-size: 13.5px; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .gift-front, .key-pic { transition: none; } .gift-card:not(.open) .gift-front, .perso[open] > .step { animation: none; } }
.status-chip.s-precommande { background: #eef3ff; color: #2451b7; }
.po-box { margin: 16px 0 18px; padding: 18px 20px; border-radius: 18px; background: #f5f8ff; }
.po-box p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.po-box .row { gap: 10px; }
.po-done { margin-bottom: 8px; padding: 18px 20px; border-radius: 18px; background: #e8f5ec; }
.po-done b { color: var(--ok); }
.po-done p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.eclair-bar { text-decoration: none; color: inherit; background: linear-gradient(110deg, #0b1224, #12264d); }
.eclair-bar .brandbar-txt { color: rgba(255,255,255,.72); }
.eclair-bar .brandbar-txt b { color: #fff; }
.eclair-bar .link { color: #8fc8ff; }
.eclair-bar .brandbar-logo { height: 24px; filter: brightness(0) invert(1); }
.eclair-bar:hover { box-shadow: 0 10px 30px rgba(24,80,200,.25); }
.top nav a.nav-eclair { background: linear-gradient(100deg, #2a6cf0, #18b4ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
/* Home: Éclair promotion */
.ec-promo { background: radial-gradient(120% 140% at 80% 30%, #16305f 0%, #0a1020 45%, #05060a 100%); color: #fff; }
.ec-promo-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(56px, 9vh, 110px); text-decoration: none; color: inherit; }
.ec-promo-k { font: 600 13px/1 var(--font); letter-spacing: .28em; text-transform: uppercase; color: #8fc8ff; }
.ec-promo h2 { margin: 16px 0 0; font: 800 clamp(40px, 6vw, 80px)/1 var(--font); letter-spacing: -.04em; }
.ec-promo h2 span { background: linear-gradient(100deg, #6fb7ff, #d9ecff 60%, #7aa7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-promo p { color: rgba(255,255,255,.72); max-width: 520px; font-size: 18px; }
.ec-promo .btn { margin-top: 12px; background: #fff; color: #05060a; }
.ec-promo img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(40,120,255,.35)); transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.ec-promo-in:hover img { transform: translateY(-6px) rotate(-1deg); }
@media (max-width: 760px) { .ec-promo-in { grid-template-columns: 1fr; } }
.pick-logo[alt="SanDisk"] { height: 12px; }
.pick-logo[alt="Seagate"] { height: 22px; }
.pick-logo[alt="CARTOUCHE Éclair"] { height: 18px; }
.promo { display: flex; gap: 8px; margin-top: 18px; }
.promo input { flex: 1; min-width: 0; font: 500 15px var(--font); padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-transform: uppercase; }
.promo .btn { padding: 10px 16px; font-size: 14px; }
.promo-msg { margin: 6px 0 0; font-size: 13.5px; color: var(--ok); min-height: 1em; }
.promo-msg.bad { color: var(--bad); }
.ec-note { max-width: calc(var(--max) + 48px); margin: 18px auto 0; padding: 12px 24px; font-size: 15px; color: var(--ink-2); text-align: center; }
.ec-note b { color: var(--ink); }

/* Nos prix: one collapsible breakdown per product */
.ptab { border-top: 1px solid var(--line); }
.ptab:last-of-type { border-bottom: 1px solid var(--line); }
.ptab summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 18px; letter-spacing: -0.01em; }
.ptab summary::-webkit-details-marker { display: none; }
.ptab summary span::before { content: "+"; display: inline-block; width: 22px; color: var(--ink-3); }
.ptab[open] summary span::before { content: "–"; }
.ptab table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.ptab td { padding: 7px 0; border-top: 1px solid var(--soft); color: var(--ink-2); vertical-align: top; }
.ptab td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; font-variant-numeric: tabular-nums; }
.ptab tr.sub td, .ptab tr.tot td { color: var(--ink); font-weight: 600; }
.ptab tr.tot td { border-top: 1px solid var(--ink); font-size: 16px; }
.price-note { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.price-note a { color: inherit; }

/* Éclair: interactive 3D case viewer */
.bx3d-view { position: relative; margin-top: 40px; height: min(68vh, 560px); border-radius: 28px; background: radial-gradient(120% 100% at 50% 20%, #ffffff 0%, var(--soft) 70%); overflow: hidden; touch-action: pan-y; }
.bx3d-view canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.bx3d-view canvas:active { cursor: grabbing; }
.bx3d-status { position: absolute; inset: auto 0 20px 0; text-align: center; font-size: 14px; color: var(--ink-2); }
.bx3d-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.bx3d-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.bx3d-modes button { font: 500 15px/1 var(--font); padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.bx3d-modes button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bx3d-colours { display: flex; gap: 10px; }
.bx3d-colours button { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.bx3d-colours button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.bx3d-caption { margin-top: 14px; min-height: 1.5em; color: var(--ink-2); font-size: 15px; }
.bx3d-facts { margin-top: 36px; }
@media (max-width: 720px) { .bx3d-view { height: 62vh; border-radius: 20px; } }
.bx3d-facts { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .bx3d-facts { grid-template-columns: 1fr; } }

/* Shop: discount code */
.promo { display: flex; gap: 8px; margin-top: 18px; }
.promo input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 500 15px var(--font); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.promo input::placeholder { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.promo input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.promo .btn, .buy .promo .btn { height: 44px; padding: 0 18px; flex: none; width: auto; margin-top: 0; }
.promo-msg { margin-top: 8px; font-size: 14px; color: var(--ok); min-height: 1.2em; }
.promo-msg.bad { color: var(--bad); }
.promo .btn.light { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }

/* Prototypes (tout le reste en rupture) */
.proto { margin: 28px 0 8px; padding: 26px; border: 1px solid var(--ink); border-radius: 18px; }
.proto-k { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #c0392b; }
.proto-t { margin: 0 0 10px; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.proto-p { margin: 0 0 10px; max-width: 62ch; }
.proto-tab { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.proto-tab th, .proto-tab td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.proto-tab th { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.proto-n { font-size: 13px; color: var(--ink-2); margin: 6px 0 16px; }
.proto-btn { display: inline-flex; width: auto; }
@media (max-width: 560px) { .proto { padding: 20px 16px; } .proto-tab { font-size: 13px; } .proto-btn { width: 100%; justify-content: center; } }

.brandbar-txt { min-width: 0; overflow-wrap: anywhere; }

/* every page: CARTOUCHE × AISLER × JMicron */
.cobrand { display: flex; align-items: center; gap: 10px; margin-left: -18px; flex: none; }
.cobrand i { font-style: normal; color: var(--ink-3); font-size: 14px; }
.cobrand a { display: block; transition: opacity .2s; }
.cobrand a:hover { opacity: .7; }
.cobrand img { display: block; height: 16px; width: auto; }
.cobrand a + i + a img { height: 14px; }
@media (max-width: 1100px) { .cobrand { gap: 7px; margin-left: -24px; } .cobrand img { height: 12px; } .cobrand a + i + a img { height: 11px; } }
@media (max-width: 760px) {
  .top .w { flex-wrap: wrap; height: auto; min-height: 60px; row-gap: 0; padding-top: 8px; padding-bottom: 6px; }
  .cobrand { order: 9; width: 100%; justify-content: center; margin: 2px 0 2px; gap: 10px; }
  .cobrand img { height: 13px; } .cobrand a + i + a img { height: 12px; }
  .cobrand > i:first-child { display: none; }
  .top .w > div:last-child { margin-left: auto; }
  .top .w > div:last-child .btn.small { padding: 7px 11px; font-size: 12.5px; }
  .top .lang { margin-right: 6px; } .top .lang button { padding: 4px 8px; }
}
.backers-home { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.backers-home a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--soft); text-decoration: none; color: var(--ink-2); font-size: 13.5px; transition: transform .25s; }
.backers-home a:hover { transform: translateY(-2px); }
.backers-home img { height: 16px; width: auto; display: block; }

/* ---- official partners (home) ---- */
.partners { padding: clamp(70px, 11vh, 120px) 0; background: linear-gradient(#fff, #f7f7f9); border-top: 1px solid var(--line); }
.partners .w { text-align: center; }
.partners-k { font: 600 13px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; text-align: left; }
@media (max-width: 820px) { .partners-grid { grid-template-columns: 1fr; } }
.partner { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 34px 30px; border-radius: 28px; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.06); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; overflow: hidden; }
.partner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.p-aisler::before { background: linear-gradient(90deg, #ff7a00, #ffb347); }
.p-jmicron::before { background: linear-gradient(90deg, #2f49e0, #7b8cff); }
.partner:hover { transform: translateY(-4px); box-shadow: 0 34px 90px rgba(0,0,0,.1); }
.partner img { height: 46px; width: auto; align-self: flex-start; }
.ptag { align-self: flex-start; font: 600 12px var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.p-aisler .ptag { background: #fff4ea; color: #c25a00; }
.p-jmicron .ptag { background: #eef1ff; color: #2639b8; }
.partner p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.plink { margin-top: auto; font-weight: 600; font-size: 15px; }
.plink::after { content: " →"; }
.p-aisler .plink { color: #e06a00; } .p-jmicron .plink { color: #2f49e0; }

/* shop: sponsors first, the hardware brands we use are secondary */
.brandbar.sponsor { position: relative; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.05); }
.brandbar.sponsor::after { content: "Partenaire officiel"; position: absolute; top: -9px; right: 18px; font: 700 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #111; color: #fff; }
.brandbar.used { background: transparent; border: 1px dashed var(--line); padding: 12px 18px; margin: 8px 0; }
.brandbar.used .brandbar-logo { filter: grayscale(1); opacity: .55; height: 12px; }
.brandbar.used .brandbar-txt { font-size: 13.5px; }
.brandbar-sub { font: 600 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 6px; }
.pick-logo[src*="sandisk"], .pick-logo[src*="seagate"] { filter: grayscale(1); opacity: .5; }
