/* Nério — le site. Les couleurs et les polices du navigateur lui-même :
   papier chaud, encre presque noire, le bleu du profil par défaut, le cyan
   de la raie du logo. Titres en serif (Instrument Serif), texte net
   (Instrument Sans). Clair par défaut, sombre si le système l'est. */
:root {
  --bg: #f4f2ee;
  --bg-2: #ebe8e1;
  --card: #ffffff;
  --ink: #1c1b19;
  --ink-2: #57524a;
  --ink-3: #6b665c;
  --line: #e2ded6;
  --line-2: #d3cec4;
  --accent: #2a6fd0;
  --accent-ink: #1f5fb8;
  --on-accent: #ffffff;
  --sea: #1aa7c4;
  --good: #1f8a5b;
  --shadow: 0 1px 2px #3c321e12, 0 12px 32px -12px #3c321e2e;
  --shadow-lg: 0 2px 4px #3c321e10, 0 40px 80px -30px #3c321e55, 0 0 0 1px #3c321e14;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --r: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413; --bg-2: #1b1a18; --card: #201f1d; --ink: #f1eee8; --ink-2: #c4bfb5; --ink-3: #a8a296;
    --line: #2f2d29; --line-2: #3d3a35; --accent: #5b9cf0; --accent-ink: #8ab8f5; --on-accent: #0d1420;
    --sea: #4fd0ea; --good: #5fc796;
    --shadow: 0 1px 2px #0006, 0 12px 32px -12px #000a;
    --shadow-lg: 0 2px 4px #0006, 0 40px 80px -30px #000c, 0 0 0 1px #ffffff14;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
code { font: 500 .88em/1.4 ui-monospace, 'Cascadia Code', Menlo, monospace; padding: 1px 6px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); white-space: nowrap; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
h1 { font: 400 clamp(50px, 8.6vw, 108px)/.95 var(--serif); letter-spacing: -.02em; }
h2 { font: 400 clamp(38px, 5.4vw, 66px)/1 var(--serif); letter-spacing: -.015em; }
h1 em, h2 em { color: var(--accent-ink); }
h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -.01em; }

/* La raie qui nage : derrière tout, jamais cliquable. Le contenu passe devant. */
#sea { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.top { z-index: 20; }
main, .foot { position: relative; z-index: 1; }

/* ------------------------------------------------------------ boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--ink) 60%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 24px 0 20px; font-size: 16px; }
.btn-lg span { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.btn-lg small { font: 500 12.5px/1 var(--sans); opacity: .7; }
.btn-lg svg { width: 22px; height: 22px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); padding: 0 22px; }
.btn-ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow); }
.btn.off { pointer-events: none; background: var(--bg-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

/* ------------------------------------------------------------ en-tête */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in oklab, var(--bg) 82%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { width: min(1180px, 100% - 40px); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { padding: 8px 12px; border-radius: 10px; font: 500 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.top nav a:hover { color: var(--ink); background: var(--bg-2); }

/* ------------------------------------------------------------ accroche */
.hero { padding: clamp(48px, 9vh, 96px) 0 0; overflow: hidden; }
.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 50%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } }
.lead { max-width: 34ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--good); stroke-width: 2.6; }
.trust .ver { font-variant-numeric: tabular-nums; }

.stage { position: relative; margin-top: clamp(40px, 7vh, 72px); }
.stage::before { content: ''; position: absolute; inset: 12% -10% -20%; z-index: -1; filter: blur(60px); opacity: .55;
  background: radial-gradient(40% 50% at 30% 40%, color-mix(in oklab, var(--accent) 45%, transparent), transparent 70%),
              radial-gradient(40% 50% at 72% 55%, color-mix(in oklab, var(--sea) 45%, transparent), transparent 70%); }
.window { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); aspect-ratio: 1400 / 900; }
.window .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window .over { opacity: 0; transition: opacity .45s var(--ease); }
.window.peek .over { opacity: 1; }
.notch-hint { position: absolute; left: 50%; top: 0; translate: -50% 0; width: 22%; height: 9%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: start center; }
.notch-hint span { margin-top: 3.2%; translate: 0 6px; padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--sans); color: #fff; background: #1c1b19e6; box-shadow: 0 6px 16px -6px #0008; white-space: nowrap; transition: opacity .3s, translate .3s var(--ease); animation: hint 2.6s var(--ease) 1.2s 2 both; }
.window.peek .notch-hint span, .window.seen .notch-hint span { opacity: 0; animation: none; }
@keyframes hint { 0%, 100% { translate: 0 18px; } 50% { translate: 0 26px; } }
.stage figcaption { margin: 18px auto 0; max-width: 60ch; text-align: center; font-size: 14.5px; color: var(--ink-3); }

/* ------------------------------------------------------------ promesses */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(64px, 10vh, 110px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises div { display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; }
.promises div + div { border-left: 1px solid var(--line); }
.promises b { font: 400 clamp(46px, 5vw, 64px)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.promises span { font-size: 15.5px; color: var(--ink-2); max-width: 28ch; }

/* ------------------------------------------------------------ sections */
section[id] { scroll-margin-top: 72px; }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 44px; }
.sec-lead { max-width: 56ch; color: var(--ink-2); font-size: 18px; }
.features, .install, .faq { padding-top: clamp(84px, 12vh, 140px); }

/* ------------------------------------------------------------ fonctions */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.c-ilot { grid-column: span 4; grid-row: span 2; padding-bottom: 0; }
.c-ilot img { margin: 18px -28px 0 0; width: calc(100% + 28px); max-width: none; border-radius: 14px 0 0 0; box-shadow: var(--shadow-lg); align-self: flex-end; }
.c-profiles, .c-block { grid-column: span 2; }
.c-vpn, .c-video, .c-pass { grid-column: span 2; }
.c-shelf { grid-column: span 3; padding-bottom: 0; order: 4; }
.c-mem { grid-column: span 3; order: 5; }
.c-vpn { order: 6; } .c-video { order: 7; } .c-pass { order: 8; }
.c-text { display: flex; flex-direction: column; gap: 10px; }

.profiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.profiles span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: color-mix(in oklab, var(--c, var(--ink-3)) 12%, var(--bg)); font: 600 13px/1 var(--sans); }
.profiles span b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-size: 11.5px; }
.profiles span.private { color: var(--ink-2); padding-left: 10px; }
.profiles span.private svg { width: 15px; height: 15px; }

.counter { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 14px; }
.counter b { font: 400 54px/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--good); }
.counter span { font-size: 14px; color: var(--ink-3); }

.flags { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }
.flags span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); font-size: 22px; transition: transform .3s var(--ease); }
.flags span:hover { transform: translateY(-3px) rotate(-4deg); }

.crop { margin: 14px -28px 0 0; border-radius: 14px 0 0 0; overflow: hidden; box-shadow: var(--shadow-lg); height: 230px; }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: right top; }

.pip { position: relative; margin-top: auto; padding-top: 14px; height: 104px; }
.pip i { position: absolute; right: 0; bottom: 0; width: 62%; aspect-ratio: 16 / 9; border-radius: 12px; background: radial-gradient(circle at 70% 30%, #ffe7b0, transparent 30%), linear-gradient(160deg, #9ed4e6, #3d8fb0 55%, #1f4f3a); box-shadow: var(--shadow-lg); }
.pip span { position: absolute; left: 0; bottom: 8px; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 600 12px/1 var(--sans); }

.pw { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 14px; }
.pw code { align-self: flex-start; font-size: 15px; padding: 8px 12px; border-radius: 10px; letter-spacing: .04em; background: var(--bg); }
.pw span { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1 var(--sans); color: var(--good); }
.pw span::before { content: ''; width: 46px; height: 5px; border-radius: 5px; background: var(--good); }

.c-mem { flex-direction: row; align-items: center; gap: 28px; }
.c-mem .c-text { flex: 1; }
.gauge { flex: none; width: 210px; padding: 16px; border-radius: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.g-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-3); }
.g-top b { font: 600 20px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.g-bar { height: 7px; border-radius: 9px; background: var(--line); overflow: hidden; }
.g-bar i { display: block; height: 100%; width: 82%; border-radius: inherit; background: #d9822b; transition: width 1.2s var(--ease), background-color 1.2s; }
.gauge.freed .g-bar i { width: 30%; background: var(--good); }
.g-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.g-tabs span { height: 14px; border-radius: 4px; background: color-mix(in oklab, var(--accent) 55%, transparent); transition: opacity .6s, background-color .6s; }
.gauge.freed .g-tabs span:not(.on) { opacity: .25; background: var(--ink-3); }
.g-btn { align-self: stretch; text-align: center; padding: 8px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 600 13px/1 var(--sans); }
.gauge.freed .g-btn { background: var(--good); color: #fff; }

.more { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.more li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------------ dispositions */
.layouts { margin-top: clamp(84px, 12vh, 140px); padding: clamp(72px, 10vh, 110px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); margin-bottom: 26px; }
.tabs button { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 14.5px/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.layout { margin: 0; }
.layout .window { max-width: 1040px; }
.layout .shot { transition: opacity .25s var(--ease); }
.layout .shot.swap { opacity: 0; }
.layout figcaption { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); max-width: 60ch; }

/* ------------------------------------------------------------ installer */
.systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.os { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); min-width: 0; transition: box-shadow .3s; }
.os.here { box-shadow: var(--shadow), 0 0 0 2px var(--accent); }
.os header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.os h3 { font: 400 32px/1 var(--serif); }
.os header span { font-size: 13.5px; color: var(--ink-3); }
.os.here header span::before { content: 'Ton système · '; color: var(--accent-ink); font-weight: 600; }
.os ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink-2); }
.os li { counter-increment: s; position: relative; padding-left: 34px; }
.os li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); font: 700 12px/1 var(--sans); }
.os li code { white-space: normal; }
.os b { color: var(--ink); font-weight: 600; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 13px 16px; border-radius: 14px; background: var(--bg); text-decoration: none; font: 600 14.5px/1.2 var(--sans); transition: background-color .2s, transform .2s var(--ease); }
.file + .file { margin-top: 0; }
.file:hover { background: var(--bg-2); transform: translateY(-1px); }
.file::after { content: '↓'; font-size: 16px; color: var(--accent-ink); }
.file small { margin-left: auto; font-weight: 500; color: var(--ink-3); }
.note { margin-top: 22px; font-size: 15px; color: var(--ink-3); }

/* ------------------------------------------------------------ questions */
.qa { display: flex; flex-direction: column; max-width: 820px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 2px; font: 600 18px/1.35 var(--sans); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font: 400 20px/1 var(--sans); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 48px 24px 2px; color: var(--ink-2); max-width: 64ch; }

/* ------------------------------------------------------------ fin */
.end { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: clamp(96px, 14vh, 150px) 0 clamp(80px, 12vh, 120px); }
.end img { border-radius: 18px; box-shadow: var(--shadow); }
.end p { color: var(--ink-2); }
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot .brand { font-size: 20px; color: var(--ink); }
.foot .brand img { border-radius: 5px; }

/* ------------------------------------------------------------ apparitions */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }
.hero-text > * { animation: up .8s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; } .hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; } .hero-text > :nth-child(5) { animation-delay: .24s; }
.stage { animation: up 1s var(--ease) .3s both; }
@keyframes up { from { opacity: 0; translate: 0 22px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ petits écrans */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-ilot, .c-shelf, .c-mem { grid-column: span 2; grid-row: auto; }
  .c-profiles, .c-block, .c-vpn, .c-video, .c-pass { grid-column: span 1; }
  .systems { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top nav { display: none; }
  .top-in { justify-content: space-between; }
  .promises { grid-template-columns: 1fr; }
  .promises div + div { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .c-ilot, .c-shelf, .c-mem, .c-profiles, .c-block, .c-vpn, .c-video, .c-pass { grid-column: auto; }
  .c-mem { flex-direction: column; align-items: stretch; }
  .gauge { width: auto; }
  .notch-hint span { font-size: 11px; }
  .card { padding: 22px; }
  .c-ilot img, .crop { margin-right: -22px; }
  .foot { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
