
:root {
  --silver: #C0C0C0;
  --rose: #E8AEB7;
  --bg: #17171C;
  --text: #F5F3F4;
  --bg-2: #1F1F26;
  --bg-3: #272730;
  --muted: #A9A6AC;
  --line: rgba(192, 192, 192, 0.14);
  --rose-soft: rgba(232, 174, 183, 0.12);
  --grad: linear-gradient(135deg, var(--silver) 0%, var(--rose) 100%);
  --radius: 16px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.answer a, .verify a { color: var(--rose); text-underline-offset: 3px; }
.answer a:hover, .verify a:hover { color: #F0C2C9; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.btn-primary { background: var(--rose); color: #2A1A1D; }
.btn-primary:hover { background: #F0C2C9; box-shadow: 0 8px 28px rgba(232, 174, 183, .35); }
.btn-primary:active { background: #D99AA4; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(192,192,192,.4); }
.btn-ghost:hover { border-color: var(--silver); background: rgba(192,192,192,.08); }
.btn-ghost:active { background: rgba(192,192,192,.16); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 23, 28, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; color: var(--bg);
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }
/* ---------- Accessibilité clavier ---------- */
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px;
}
.btn:focus-visible { border-radius: 999px; }
#contenu:focus { outline: none; }
.skip-link {
  position: absolute; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--rose); color: #2A1A1D; font-weight: 700; font-size: 14px; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-end { display: flex; align-items: center; gap: 12px; }
/* Pastille visible (globe + code), le <select> natif transparent est posé dessus */
.lang-switch {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid rgba(192,192,192,.3); border-radius: 999px;
  color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-switch:hover { color: var(--text); border-color: var(--silver); background: rgba(192,192,192,.08); }
.lang-switch:has(select:focus-visible) { color: var(--text); outline: 2px solid var(--rose); outline-offset: 3px; }
.lang-switch svg { width: 16px; height: 16px; flex: none; }
.lang-switch .lang-code { min-width: 2ch; }
.lang-switch select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font: inherit; font-size: 16px;
  border: 0; appearance: none; -webkit-appearance: none;
}
.lang-switch option { background: var(--bg-2); color: var(--text); }
@media (max-width: 860px) {
  .nav-end { margin-left: auto; order: 2; }
  .nav-toggle { order: 3; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  /* visibility retire les liens du parcours clavier quand le menu est fermé */
  .nav-links { visibility: hidden; transition: max-height .35s var(--ease), visibility 0s linear .35s; }
  .nav-links.open { max-height: 320px; visibility: visible; transition: max-height .35s var(--ease), visibility 0s; }
  .nav-links a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
}
/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(232,174,183,.16), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(192,192,192,.09), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--rose); background: var(--rose-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -.03em;
  margin: 0 0 22px; font-weight: 800;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--silver); flex: none; }
/* Animation d'entrée */
.intro { opacity: 0; transform: translateY(18px); animation: introIn .9s var(--ease) forwards; }
.intro.d1 { animation-delay: .05s; }
.intro.d2 { animation-delay: .25s; }
.intro.d3 { animation-delay: .45s; }
.intro.d4 { animation-delay: .75s; }
.intro.d5 { animation-delay: .95s; }
.intro.d6 { animation-delay: .5s; }
@keyframes introIn { to { opacity: 1; transform: none; } }
/* Visuel synchro */
.sync-visual {
  position: relative; aspect-ratio: 1 / .82; width: 100%;
  background: linear-gradient(160deg, var(--bg-2), #1B1B21);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.sync-visual svg { width: 100%; height: 100%; }
.sv-label { font: 600 11px "Inter", sans-serif; fill: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.sv-path { stroke: rgba(192,192,192,.25); stroke-width: 2; stroke-dasharray: 4 7; fill: none; }
.sv-flow { stroke: var(--rose); stroke-width: 2.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 26 400; animation: flow 3.2s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 26; } to { stroke-dashoffset: -400; } }
.wifi-arc { fill: none; stroke: var(--silver); stroke-width: 3; stroke-linecap: round; opacity: .25;
  animation: wifiPulse 2.4s ease-in-out infinite; }
.wifi-arc.a2 { animation-delay: .3s; }
.wifi-arc.a3 { animation-delay: .6s; }
@keyframes wifiPulse { 0%, 100% { opacity: .2; } 40% { opacity: 1; stroke: var(--rose); } }
.sv-row-fill { fill: var(--rose); transform-box: fill-box; transform-origin: left center; transform: scaleX(0);
  animation: rowSync 6s var(--ease) infinite; }
.sv-row-fill.r2 { animation-delay: .5s; }
.sv-row-fill.r3 { animation-delay: 1s; }
.sv-row-fill.r4 { animation-delay: 1.5s; }
@keyframes rowSync {
  0% { transform: scaleX(0); opacity: 1; }
  30% { transform: scaleX(1); opacity: 1; }
  85% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.sv-check { opacity: 0; animation: checkIn 6s ease infinite; }
.sv-check.r2 { animation-delay: .5s; }
.sv-check.r3 { animation-delay: 1s; }
.sv-check.r4 { animation-delay: 1.5s; }
@keyframes checkIn { 0%, 28% { opacity: 0; } 34%, 85% { opacity: 1; } 100% { opacity: 0; } }
.sv-packet { fill: var(--rose); filter: drop-shadow(0 0 6px rgba(232,174,183,.8)); }
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}
/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(31,31,38,.7) 20%, rgba(31,31,38,.7) 80%, transparent); }
.section-head { max-width: 640px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--rose); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
@media (max-width: 600px) { section { padding: 72px 0; } }
/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(232,174,183,.18); border-color: rgba(232,174,183,.25); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--rose-soft); color: var(--rose); margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
/* ---------- Étapes ---------- */
.steps { position: relative; max-width: 720px; margin: 0 auto; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps-track, .steps-progress {
  position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px;
}
.steps-track { background: var(--line); }
.steps-progress { background: var(--grad); transform-origin: top; transform: scaleY(0); bottom: 24px; }
.step { position: relative; display: flex; gap: 24px; padding: 0 0 36px; counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step-num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
  background: var(--bg); border: 2px solid var(--bg-3); color: var(--muted);
  position: relative; z-index: 1;
  transition: border-color .5s var(--ease), color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step-num::before { content: counter(step); }
.step.active .step-num { border-color: var(--rose); color: var(--rose); background: #241D21; box-shadow: 0 0 0 6px rgba(232,174,183,.08); }
.step-body { padding-top: 10px; }
.step-body h3 { font-size: 18px; margin: 0 0 4px; }
.step-body p { margin: 0; color: var(--muted); font-size: 15px; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; background: var(--bg-3); padding: 2px 6px; border-radius: 6px; color: var(--silver); }
/* ---------- Téléchargements ---------- */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dl-card { padding: 32px; display: flex; flex-direction: column; }
.dl-card .icon { width: 56px; height: 56px; border-radius: 14px; }
.dl-card .icon svg { width: 26px; height: 26px; }
.dl-card.silver .icon { background: rgba(192,192,192,.1); color: var(--silver); }
.dl-card h3 { font-size: 22px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.pill { font-size: 13px; color: var(--muted); background: var(--bg-3); padding: 4px 10px; border-radius: 999px; }
.dl-card .btn { align-self: flex-start; margin-top: auto; }
.notice {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  background: rgba(232,174,183,.07); border: 1px solid rgba(232,174,183,.2);
  font-size: 14px; color: var(--text);
}
.notice strong { color: var(--rose); }
.notice ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.verify { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.verify strong { color: var(--text); }
@media (max-width: 800px) { .downloads { grid-template-columns: 1fr; } .dl-card { padding: 26px 22px; } }
/* ---------- Captures ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot figure { margin: 0; }
.shot-frame {
  aspect-ratio: 9 / 17; border-radius: 22px; border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 12px, #1C1C23 12px 24px);
  display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--muted); font-size: 13px; overflow: hidden;
}
.shot-frame.wide { aspect-ratio: 16 / 10; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Cadre avec une vraie capture : pas de marge ni de fond rayé */
.shot-frame:has(> img) { padding: 0; background: var(--bg-2); }
.shot-frame svg { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--silver); opacity: .6; }
.shot figcaption { margin-top: 12px; font-size: 14px; }
.shot figcaption strong { display: block; color: var(--text); }
.shot figcaption span { color: var(--muted); }
.shot.reveal:nth-child(2) { transition-delay: .1s; }
.shot.reveal:nth-child(3) { transition-delay: .2s; }
.shot.reveal:nth-child(4) { transition-delay: .3s; }
.shots-group {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.shots-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.shots + .shots-group { margin-top: 56px; }
.shots.shots-wide { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shots-wide .shot-frame { border-radius: 16px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .shots.shots-wide { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .shots { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; } }
/* ---------- Usage responsable ---------- */
.responsible {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  padding: 40px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(192,192,192,.06), rgba(232,174,183,.08));
  border: 1px solid var(--line);
}
.responsible .icon { width: 64px; height: 64px; border-radius: 18px; margin: 0; }
.responsible .icon svg { width: 30px; height: 30px; }
.responsible h2 { margin-bottom: 12px; }
.responsible p { color: var(--muted); margin: 0 0 10px; font-size: 16px; }
.responsible p:last-child { margin: 0; }
@media (max-width: 640px) { .responsible { grid-template-columns: 1fr; padding: 28px 22px; } }
/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 17px; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rose); }
.faq summary:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: 4px; }
.faq .chev { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s; }
.faq .chev svg { width: 14px; height: 14px; }
.faq details[open] .chev { transform: rotate(45deg); background: var(--rose-soft); color: var(--rose); }
.faq .answer { color: var(--muted); padding: 0 0 22px; margin: 0; font-size: 16px; }
/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: var(--rose); }
.foot small { display: block; color: var(--muted); font-size: 13px; margin-top: 8px; }
.disclaimer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro, .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}