/* Vulta — site vitrine. Charte de l'app : velours et laiton (lib/ui/theme.dart).
   Aucune ressource tierce : polices et images sont servies avec le site. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #0E0C10;
  --bg-2: #121014;
  --surface: #1C1A20;
  --surface-2: #24212A;
  --line: rgba(236, 231, 240, .09);
  --line-strong: rgba(201, 164, 92, .35);
  --brass: #C9A45C;
  --brass-2: #E4C88E;
  --on-brass: #1A1408;
  --ivory: #ECE7F0;
  --muted: #A39EAB;
  --plum: 88, 64, 120;
  --danger: #FFB4AB;
  --radius: 22px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font: 400 1.0625rem/1.65 var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(201, 164, 92, .35); color: var(--ivory); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brass); color: var(--on-brass); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.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; }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.012em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.kicker { font: 600 .8rem/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.accent { color: var(--brass-2); font-style: italic; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Barre de progression et en-tête ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transform-origin: 0 50%; transform: scaleX(0); }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(14, 12, 16, .72); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(14, 12, 16, .88); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ivory); text-decoration: none; font: 500 1.35rem/1 var(--display); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ivory); }
.nav-cta { padding: 10px 18px; font-size: .9rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ivory); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .3s, opacity .3s; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(14, 12, 16, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s ease; margin: 0; }
  .menu-open .nav-links { transform: none; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .3s, background .3s, color .3s; }
.btn-brass { background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: var(--on-brass); box-shadow: 0 10px 30px rgba(201, 164, 92, .25); }
.btn-brass:hover { color: var(--on-brass); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 164, 92, .35); }
.btn-ghost { border-color: var(--line-strong); color: var(--ivory); }
.btn-ghost:hover { color: var(--ivory); background: rgba(201, 164, 92, .08); }
.play-badge { display: inline-block; height: 64px; margin: -10px -8px; }
.play-badge img { height: 100%; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(80px, 12vw, 150px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.center { text-align: center; margin-inline: auto; justify-items: center; }
.glow-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- Héros ---------- */
.hero { padding-block: clamp(40px, 7vw, 90px) clamp(70px, 10vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 420px at 70% 35%, rgba(201, 164, 92, .18), transparent 70%),
              radial-gradient(640px 460px at 8% 60%, rgba(var(--plum), .26), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
.hero-copy { display: grid; gap: 26px; }
.hero-note { color: var(--muted); font-size: .95rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.dial-bg { position: absolute; width: min(620px, 120%); aspect-ratio: 1; color: var(--brass); opacity: .9; }
.dial-bg .ring { opacity: .55; }
.dial-bg .ticks rect { opacity: 0; animation: tick-in .5s ease forwards; }
.dial-bg .hub { filter: drop-shadow(0 0 24px rgba(201, 164, 92, .6)); }
@keyframes tick-in { to { opacity: .55; } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
}

/* ---------- Téléphone ---------- */
.phone { position: relative; width: min(290px, 70vw); aspect-ratio: 540 / 1200; border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #3a3340, #141216 42%, #0b0a0d);
  box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 40px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(201, 164, 92, .12); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #121014; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 1.4s ease; }
.phone .screen img.on { opacity: 1; transform: none; }
.phone-dots { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.phone-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(236, 231, 240, .25); cursor: pointer; transition: background .3s, width .3s; }
.phone-dots button[aria-current="true"] { background: var(--brass); width: 22px; border-radius: 6px; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ---------- Bandeau de confiance ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee { display: flex; gap: 56px; padding-block: 22px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 12px var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bloc deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-copy { display: grid; gap: 22px; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ivory); }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(201, 164, 92, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23E4C88E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.checks li span { color: var(--muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Démonstration du chiffrement ---------- */
.cipher-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: #08070a; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.cipher-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1.2s ease, opacity 1.2s ease; }
.cipher-card pre { position: absolute; inset: 0; margin: 0; padding: 18px; font: 500 clamp(.7rem, 1.3vw, .9rem)/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--brass-2); white-space: pre-wrap; word-break: break-all; overflow: hidden; opacity: 0; transition: opacity .8s ease; text-shadow: 0 0 10px rgba(201, 164, 92, .45); }
.cipher-card.locked img { filter: blur(18px) saturate(0); opacity: .12; }
.cipher-card.locked pre { opacity: 1; }
.cipher-label { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 12, 16, .8); border: 1px solid var(--line-strong); font-size: .85rem; color: var(--ivory); backdrop-filter: blur(6px); }
.cipher-label i { width: 8px; height: 8px; border-radius: 50%; background: #7bd88f; box-shadow: 0 0 10px #7bd88f; transition: background .4s, box-shadow .4s; }
.cipher-card.locked .cipher-label i { background: var(--brass); box-shadow: 0 0 10px var(--brass); }
.cipher-toggle { position: absolute; right: 16px; bottom: 16px; }

/* ---------- Zéro connexion ---------- */
.net-card { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); padding: clamp(22px, 3vw, 34px); display: grid; gap: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.net-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bytes { font: 500 clamp(3rem, 7vw, 4.6rem)/1 var(--display); color: var(--brass-2); }
.bytes small { font: 500 1rem/1 var(--text); color: var(--muted); margin-left: 8px; }
.flatline { width: 100%; height: 90px; }
.flatline path { fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.in-view .flatline path { animation: draw 3.2s ease forwards; }
.flatline .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: none; stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.perms { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.perms li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(236, 231, 240, .03); border: 1px solid var(--line); font-size: .95rem; opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s ease; }
.in-view .perms li { opacity: 1; transform: none; }
.perms li b { font-weight: 600; }
.perms .state { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.perms .absent { border-color: rgba(201, 164, 92, .45); background: rgba(201, 164, 92, .07); }
.perms .absent b { text-decoration: line-through; text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.perms .absent .state { color: var(--brass-2); }

/* ---------- Sans pub, sans traceur ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(201, 164, 92, .07); color: var(--ivory); font-size: .9rem; font-weight: 600; }
.chips li::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23E4C88E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.zeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zero-tile { position: relative; padding: 26px 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), rgba(28, 26, 32, .35)); text-align: center; overflow: hidden; }
.zero-tile::before { content: ""; position: absolute; inset: auto 20% 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); opacity: .5; }
.zero { display: block; font: 500 clamp(3.4rem, 7vw, 4.8rem)/1 var(--display); color: var(--brass-2); font-variant-numeric: tabular-nums; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), text-shadow .4s; }
.zero.landed { transform: scale(1.08); text-shadow: 0 0 24px rgba(201, 164, 92, .55); }
.zero-tile p { margin-top: 10px; color: var(--ivory); font-weight: 600; }
.zero-tile small { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; }
.model { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(201, 164, 92, .1), rgba(var(--plum), .12)); }
.model blockquote { margin: 0; font: 400 italic clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--display); color: var(--ivory); }
.model blockquote b { font-style: normal; color: var(--brass-2); font-weight: 500; }
@media (max-width: 860px) { .zeros { grid-template-columns: repeat(2, 1fr); } .model { grid-template-columns: 1fr; } }

/* ---------- Mettre à l'abri : démonstration du partage (boucle CSS de 10 s) ---------- */
.share-demo { display: grid; place-items: center; }
.sd-phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18; border-radius: 40px; padding: 9px; background: linear-gradient(160deg, #3a3340, #141216 42%, #0b0a0d); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 40px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(201, 164, 92, .1); }
.sd-screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #F4F1EC; color: #1F1A22; font-size: 13px; }
.sd-browser { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; animation: sd-browser 10s infinite; }
.sd-bar { display: flex; align-items: center; gap: 8px; padding: 30px 14px 10px; background: #fff; border-bottom: 1px solid #e6e1da; }
.sd-url { flex: 1; height: 26px; border-radius: 13px; background: #efebe5; display: flex; align-items: center; padding-left: 12px; color: #6f6875; font-size: 11px; }
.sd-share { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #3a3340; }
.sd-page { padding: 16px 14px; display: grid; gap: 12px; align-content: start; }
.sd-page img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.sd-line { height: 9px; border-radius: 5px; background: #e6e1da; }
.sd-line.short { width: 60%; }
.sd-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 14px 26px; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .15); transform: translateY(105%); animation: sd-sheet 10s infinite; }
.sd-sheet p { margin: 0 0 14px; font-weight: 600; }
.sd-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; text-align: center; font-size: 10px; color: #6f6875; }
.sd-apps span { display: grid; justify-items: center; gap: 5px; }
.sd-apps i { width: 40px; height: 40px; border-radius: 12px; background: #e6e1da; }
.sd-apps .sd-vulta img { width: 40px; height: 40px; border-radius: 12px; animation: sd-pulse 10s infinite; }
.sd-pin, .sd-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: #121014; color: var(--ivory); opacity: 0; }
.sd-pin { animation: sd-pin 10s infinite; }
.sd-pin img { width: 48px; }
.sd-dots { display: flex; gap: 7px; }
.sd-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(236, 231, 240, .45); animation: sd-dot 10s infinite; animation-delay: calc(var(--k) * .16s); }
.sd-done { animation: sd-done 10s infinite; text-align: center; padding: 0 18px; }
.sd-thumb { position: relative; width: 120px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(201, 164, 92, .4); }
.sd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sd-thumb::after { content: ""; position: absolute; right: -8px; bottom: -8px; width: 36px; height: 36px; border-radius: 50%; background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='11' width='12' height='9' rx='2' fill='%231A1408'/%3E%3Cpath d='M9 11V8a3 3 0 0 1 6 0v3' fill='none' stroke='%231A1408' stroke-width='2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.sd-done b { font: 500 1.2rem/1.2 var(--display); color: var(--brass-2); }
.sd-done small { color: var(--muted); font-size: 11px; }
.sd-finger { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(201, 164, 92, .35); box-shadow: 0 0 0 2px rgba(201, 164, 92, .8); opacity: 0; animation: sd-finger 10s infinite; pointer-events: none; }
@keyframes sd-finger {
  0%, 7% { opacity: 0; top: 30px; right: 12px; left: auto; transform: scale(1.3); }
  10%, 14% { opacity: 1; top: 30px; right: 12px; transform: scale(1); }
  17%, 26% { opacity: 0; top: 30px; right: 12px; }
  27% { opacity: 0; top: auto; bottom: 46px; right: 27px; transform: scale(1.3); }
  30%, 33% { opacity: 1; bottom: 46px; right: 27px; transform: scale(1); }
  36%, 100% { opacity: 0; bottom: 46px; right: 27px; }
}
@keyframes sd-sheet { 0%, 15% { transform: translateY(105%); } 20%, 35% { transform: none; } 39%, 100% { transform: translateY(105%); } }
@keyframes sd-pulse { 0%, 28% { transform: none; } 31% { transform: scale(.88); } 34%, 100% { transform: none; } }
@keyframes sd-browser { 0%, 37% { opacity: 1; } 40%, 92% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes sd-pin { 0%, 37% { opacity: 0; } 40%, 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes sd-dot { 0%, 42% { background: transparent; border-color: rgba(236, 231, 240, .45); } 43%, 60% { background: var(--ivory); border-color: var(--ivory); } 61%, 100% { background: transparent; } }
@keyframes sd-done { 0%, 61% { opacity: 0; transform: scale(.96); } 65%, 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.ways { display: grid; gap: 16px; }
.way { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.way .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 164, 92, .12); color: var(--brass-2); }
.way .icon svg { width: 24px; height: 24px; }
.way h3 { font-size: 1.25rem; margin-bottom: 6px; }
.way p { color: var(--muted); font-size: .98rem; }
.way.highlight { border-color: var(--line-strong); background: linear-gradient(120deg, rgba(201, 164, 92, .08), var(--surface) 60%); }

/* ---------- Deux codes ---------- */
.twins { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(14px, 3vw, 34px); }
.twin { display: grid; justify-items: center; gap: 18px; }
.mini { width: min(220px, 38vw); aspect-ratio: 9 / 16; border-radius: 28px; padding: 7px; background: linear-gradient(160deg, #3a3340, #141216 42%, #0b0a0d); box-shadow: 0 0 0 1px rgba(201, 164, 92, .3), 0 24px 60px rgba(0, 0, 0, .5); }
.mini-screen { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: #121014; display: grid; place-items: center; }
.mini-pin { display: grid; justify-items: center; gap: 16px; transition: opacity .5s ease; }
.mini-pin svg { width: 46px; color: var(--brass); }
.pin-dots { display: flex; gap: 7px; }
.pin-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(236, 231, 240, .45); transition: background .2s, border-color .2s; }
.pin-dots i.on { background: var(--ivory); border-color: var(--ivory); }
.mini-open { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.mini-open img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini.open .mini-pin { opacity: 0; }
.mini.open .mini-open { opacity: 1; }
.twin-label { font: 500 1.1rem/1 var(--display); color: var(--muted); }
.twins-mid { font: 500 2.2rem/1 var(--display); color: var(--brass); }
.verdict { margin-top: 34px; text-align: center; font: 400 italic clamp(1.3rem, 2.4vw, 1.8rem)/1.3 var(--display); color: var(--brass-2); opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
.verdict.on { opacity: 1; transform: none; }
.urgent { margin-top: clamp(50px, 7vw, 80px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(201, 164, 92, .07), transparent 60%); }
.urgent-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(201, 164, 92, .12); color: var(--brass-2); }
@media (max-width: 640px) {
  .twins { grid-template-columns: 1fr 1fr; }
  .twins-mid { display: none; }
  .urgent { grid-template-columns: 1fr; }
}

/* ---------- Cartes de fonctions ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), rgba(28, 26, 32, .4)); display: grid; gap: 12px; align-content: start; transform-style: preserve-3d; transition: transform .25s ease, border-color .3s, box-shadow .3s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(320px 200px at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 92, .14), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.card:hover::after { opacity: 1; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 164, 92, .12); color: var(--brass-2); }
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Galerie de captures ---------- */
.shots { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 40px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; scroll-snap-align: center; display: grid; gap: 16px; justify-items: center; }
.shot .phone { width: 250px; }
.shot .phone .screen img { opacity: 1; transform: none; }
.shot figcaption { color: var(--muted); font-size: .95rem; }
.shots-nav { display: flex; justify-content: center; gap: 10px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.round:hover { background: rgba(201, 164, 92, .1); }

/* ---------- Tarifs ---------- */
.billing-switch { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.billing-switch button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 600 .95rem/1 var(--text); padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.billing-switch button[aria-pressed="true"] { color: var(--on-brass); }
.billing-switch .pill { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: linear-gradient(180deg, var(--brass-2), var(--brass)); transition: left .35s cubic-bezier(.6, .1, .3, 1), width .35s cubic-bezier(.6, .1, .3, 1); }
.save { margin-left: 6px; font-size: .75rem; padding: 3px 8px; border-radius: 999px; background: rgba(201, 164, 92, .18); color: var(--brass-2); }
.billing-switch button[aria-pressed="true"] .save { background: rgba(26, 20, 8, .16); color: var(--on-brass); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.plan { padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 20px; align-content: start; }
.plan.featured { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(201, 164, 92, .1), var(--surface) 45%); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 80px rgba(201, 164, 92, .08); }
.price { font: 500 clamp(2.8rem, 5vw, 3.6rem)/1 var(--display); display: flex; align-items: baseline; gap: 10px; }
.price small { font: 500 1rem/1 var(--text); color: var(--muted); }
.price-amount { display: inline-block; transition: transform .35s ease, opacity .35s ease; }
.price-amount.swap { transform: translateY(-14px); opacity: 0; }
.plan .note { color: var(--muted); font-size: .92rem; min-height: 1.5em; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); display: grid; gap: 12px; }

/* ---------- Pages de texte (sécurité, confidentialité, mentions) ---------- */
.page-hero { padding-block: clamp(60px, 9vw, 110px) clamp(30px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 700px; z-index: -1; background: radial-gradient(600px 380px at 50% 30%, rgba(201, 164, 92, .14), transparent 70%); }
.page-hero .lead { max-width: 56ch; }
.prose { max-width: 760px; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 30px; }
.prose h3 { margin-top: 10px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose p, .prose li { color: #D7D1DC; }
.todo { background: rgba(255, 180, 171, .12); color: var(--danger); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.toc a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .92rem; }
.toc a:hover { color: var(--ivory); border-color: var(--line-strong); }

/* Schéma du code (sécurité) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; position: relative; }
.flow-step { position: relative; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
.flow-step b { font: 500 1.15rem/1.2 var(--display); }
.flow-step span { color: var(--muted); font-size: .92rem; }
.flow-step .n { font: 600 .75rem/1 var(--text); letter-spacing: .18em; color: var(--brass); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: linear-gradient(90deg, var(--brass), transparent); }
.flow-step::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; border: 1px solid var(--brass); opacity: 0; }
.in-view .flow-step::before { animation: pulse-step 4s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes pulse-step { 0%, 30%, 100% { opacity: 0; } 12% { opacity: 1; } }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } .flow-step::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.limit { padding: 22px; border-radius: 18px; border: 1px dashed rgba(236, 231, 240, .16); display: grid; gap: 8px; }
.limit p { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .limits { grid-template-columns: 1fr; } }

/* ---------- Appel final et pied de page ---------- */
.final { text-align: center; overflow: hidden; }
.final .dial-mini { width: 120px; margin: 0 auto 30px; color: var(--brass); }
.final .dial-mini .ticks { transform-origin: 54px 56px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.final .cta-row { justify-content: center; margin-top: 34px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 44px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ivory); }

/* ---------- Apparitions au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in-view { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; }
  .perms li { opacity: 1; transform: none; }
  .flatline path { stroke-dashoffset: 0; }
  /* Démonstration du partage figée sur le menu « Partager », Vulta en évidence. */
  .sd-browser, .sd-sheet, .sd-pin, .sd-done, .sd-dots i, .sd-finger, .sd-apps .sd-vulta img { animation: none !important; }
  .sd-sheet { transform: none; }
  .sd-apps .sd-vulta img { box-shadow: 0 0 0 3px var(--brass); }
}
