/* ── Self-hosted fonts (RGPD: no external request to Google) ── */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/cinzel-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  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;
}

:root {
  --navy-950: #080808;
  --navy-900: #0d0d0d;
  --navy-800: #141414;
  --navy-700: #1a1a1a;
  --gold-600: #b8962e;
  --gold-500: #d4af37;
  --gold-400: #f0c14b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(8, 8, 8, 0.45);
  /* Angles plus "pointus" */
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 600px at 50% 0%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 30%, var(--navy-950));
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.92rem;
}
.center {
  text-align: center;
}
.link {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link:hover {
  color: var(--gold-300);
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.h2 {
  margin: 10px 0 8px;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand__logo {
  width: 52px;
  height: 52px;
}
.brand__name {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__lex {
  color: #fff;
}
.brand__anon {
  color: var(--gold-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  color: var(--muted);
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__link:hover {
  color: var(--gold-400);
}

.navToggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.55);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.navToggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 4px 0;
}

.mobileNav {
  border-top: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.92);
}
.mobileNav__inner {
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}
.mobileNav__link {
  padding: 10px 0;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.mobileNav__link:hover {
  color: var(--gold-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0;
  padding: 14px 18px;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, opacity 0.12s ease;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn--primary:hover {
  background: var(--gold-400);
}
.btn--ghost {
  background: transparent;
  color: var(--gold-500);
  border-color: rgba(212, 175, 55, 0.55);
}
.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.08);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 10px 14px;
  border-radius: 0;
  font-size: 0.82rem;
  height: 38px;
}
.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 0;
}
.btn--account svg {
  width: 18px;
  height: 18px;
}
.btn--account:hover {
  background: var(--gold-400);
}
.btn--account--mobile {
  width: auto;
  height: auto;
  padding: 12px 16px;
  gap: 8px;
}
.btn--account--mobile svg {
  width: 20px;
  height: 20px;
}

.hero {
  padding: 72px 0 34px;
}
.hero__inner {
  text-align: center;
}

/* Split layout: text left, laptop right */
.hero__split {
  display: flex;
  align-items: center;
  gap: 48px;
  text-align: left;
  overflow: visible;
}
.hero__copy {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.hero__brandRow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.hero__brandRow .hero__logo {
  flex-shrink: 0;
}
.hero__title {
  margin: 0;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
}
.hero__subtitle {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero__tagline {
  margin: 10px 0 10px;
  font-style: italic;
  color: var(--gold-500);
  font-weight: 700;
}
.hero__desc {
  margin: 0;
  max-width: 56ch;
  color: var(--muted2);
}
.hero__actions {
  margin: 22px 0 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__actions .btn {
  border-radius: 0;
}
.hero__strap {
  margin: 28px 0 0;
  max-width: 520px;
  font-size: 1rem;
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: left;
}
.stat {
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(18, 18, 18, 0.22);
  border-radius: var(--radius);
  padding: 18px 12px;
  box-shadow: 0 10px 30px rgba(8, 8, 8, 0.22);
}
.stat__num {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 900;
  font-size: 2rem;
}
.stat__label {
  margin-top: 2px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  font-weight: 800;
}

.section {
  padding: 56px 0;
}
.section--alt {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.28), rgba(18, 18, 18, 0.07));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.section__head {
  max-width: 90ch;
  margin-bottom: 22px;
}
.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.25);
  padding: 18px 18px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 18px 50px rgba(8, 8, 8, 0.35);
}
.card__title {
  margin: 0 0 8px;
  font-family: Cinzel, ui-serif, Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__icon svg {
  width: 28px;
  height: 28px;
}
.card--highlight {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(18, 18, 18, 0.35);
}

/* FAQ */
.faq {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq__theme {
  margin: 28px 0 12px;
  padding: 0 20px 8px;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.faq__theme:first-of-type {
  margin-top: 0;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__question::-webkit-details-marker,
.faq__question::marker {
  display: none;
}
.faq__question::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold-500);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__question::after {
  content: "−";
}
.faq__question:hover {
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-400);
}
.faq__answer {
  padding: 0 20px 18px;
}
.faq__answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Demo Anonymisation interactive (document animé) ── */
.demo-anonymise {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.demo-anonymise__doc {
  flex-shrink: 0;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}

.doc-card {
  width: 340px;
  max-width: 100%;
  aspect-ratio: 540 / 640;
  background-color: #0f1115;
  border-radius: 12px;
  border: 1px solid #232733;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.doc-card__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.transition-colors {
  transition: all 0.4s ease;
}

.scanner-glow {
  filter: drop-shadow(0 0 8px #DFB953);
}

/* Stamp overlay (tampon Lexanon) */
.stamp-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(15, 17, 21, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.stamp-overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.stamp-overlay--visible {
  opacity: 1;
}

.stamp-overlay__lock {
  width: 12rem;
  height: 12rem;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}

/* États initiaux avant animation */
.stamp-overlay .a-outline { stroke-dasharray: 100; stroke-dashoffset: 100; }
.stamp-overlay .a-fill,
.stamp-overlay .badge-pop,
.stamp-overlay .lock-body-slide,
.stamp-overlay .lock-impact,
.stamp-overlay .keyhole-group { opacity: 0; }
.stamp-overlay .shackle-drop-lock { opacity: 0; transform: translateY(-30px); }

/* Animations déclenchées par .play-stamp */
.stamp-overlay.play-stamp .a-outline { animation: drawA 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.stamp-overlay.play-stamp .a-fill { animation: fadeIn 1s ease-out 0.8s forwards; }
.stamp-overlay.play-stamp .badge-pop { animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards; transform-origin: 115px 105px; }
.stamp-overlay.play-stamp .lock-body-slide { animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards; }
.stamp-overlay.play-stamp .shackle-drop-lock { animation: dropAndSnap 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) 1.5s forwards; }
.stamp-overlay.play-stamp .lock-impact { animation: flashImpact 0.6s ease-out 2.4s forwards; transform-origin: 115px 95px; }
.stamp-overlay.play-stamp .keyhole-group { animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 2.6s forwards; transform-origin: 115px 108.5px; }

@keyframes drawA { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes dropAndSnap {
  0% { opacity: 0; transform: translateY(-30px); }
  35% { opacity: 1; transform: translateY(-14px); }
  75% { opacity: 1; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes flashImpact {
  0% { opacity: 1; transform: scale(0.8); stroke-width: 3; }
  100% { opacity: 0; transform: scale(1.6); stroke-width: 0; }
}

.demo-anonymise__btn {
  padding: 0.75rem 2rem;
  background: #DFB953;
  color: #050505;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 0;
  border: 1px solid #DFB953;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(223,185,83,0.3);
  font-family: inherit;
  font-size: 0.9rem;
}

.demo-anonymise__btn:hover:not(.demo-anonymise__btn--disabled) {
  background: transparent;
  color: #DFB953;
  box-shadow: 0 0 25px rgba(223,185,83,0.5);
}

.demo-anonymise__btn:focus {
  outline: none;
}

.demo-anonymise__btn--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.demo-doc-topbar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-doc-dots {
  display: flex;
  gap: 6px;
}

.demo-doc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.demo-doc-title {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex: 1;
  text-align: center;
}

.demo-doc-badge {
  font-size: 0.65rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}

.demo-doc-badge--scan {
  background: rgba(212,175,55,0.2);
  color: var(--gold-500);
}

.demo-doc-badge--done {
  background: rgba(34,197,94,0.2);
  color: #22c55e;
}

.demo-doc-body {
  padding: 22px 24px;
  font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

.demo-doc-header {
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 14px;
  color: #fff;
  font-family: Cinzel, serif;
}

.demo-sensitive {
  display: inline;
  position: relative;
  padding: 1px 4px;
  border-radius: 3px;
  transition: all 0.35s ease;
}

.demo-sensitive.phase-raw {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border-bottom: 1px dashed rgba(239,68,68,0.5);
}

.demo-sensitive.phase-scanning {
  background: rgba(212,175,55,0.2);
  color: var(--gold-400);
  border-bottom: 1px solid rgba(212,175,55,0.5);
  animation: demo-pulse-scan 0.6s ease-in-out infinite alternate;
}

.demo-sensitive.phase-done {
  background: rgba(212,175,55,0.25);
  color: transparent;
  border-radius: 3px;
  border-bottom: none;
  user-select: none;
  letter-spacing: -0.5px;
  font-size: 0;
  padding: 4px 36px 4px 6px;
}

.demo-sensitive.phase-done::after {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  content: attr(data-alias);
  color: var(--gold-400);
  font-family: Inter, sans-serif;
  font-weight: 500;
}

@keyframes demo-pulse-scan {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

.demo-doc-progress {
  padding: 0 24px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-progress-bar-bg {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.demo-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-500);
  border-radius: 2px;
  transition: width 0.05s linear;
}

.demo-progress-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  min-width: 90px;
  text-align: right;
}

.demo-doc-controls {
  padding: 10px 24px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.demo-btn {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.demo-btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
}

.demo-btn-primary:hover {
  background: var(--gold-400);
}

.demo-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}

.demo-btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
  .demo-doc-body { padding: 16px 18px; font-size: 0.72rem; }
  .demo-doc-title { font-size: 0.62rem; }
  .demo-doc-controls { flex-direction: column; }
  .demo-btn { width: 100%; }
  .demo-anonymise__btn { width: 100%; font-size: 0.85rem; }
}

.demo {
  margin-top: 8px;
}
.demo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 6px 12px;
  flex-wrap: wrap;
}
.demo__status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.dot--gold {
  background: var(--gold-500);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
  animation: pulse 2.5s ease-in-out infinite;
}
.demo__legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted2);
  font-size: 0.86rem;
  font-weight: 600;
}
.swatch {
  width: 10px;
  height: 10px;
  border-radius: 4px;
}
.swatch--gold {
  background: var(--gold-500);
}
.swatch--blue {
  background: #3b82f6;
}
.swatch--purple {
  background: #a855f7;
}
.swatch--pink {
  background: #ec4899;
}

.window {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 18, 0.65);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.window__bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(18, 18, 18, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.traffic {
  display: inline-flex;
  gap: 6px;
  padding-left: 4px;
}
.traffic__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.95;
}
.traffic__dot--r {
  background: #ff5f57;
}
.traffic__dot--y {
  background: #febc2e;
}
.traffic__dot--g {
  background: #28c840;
}
.window__title {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  padding-right: 42px;
}
.window__body {
  padding: 18px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.85;
  overflow-wrap: break-word;
}
.window__h {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.em {
  color: rgba(255, 255, 255, 0.92);
}
.mark {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.mark--blue {
  /* default style is applied by JS; keep semantic class for type */
}
.mark--purple {
}
.mark--pink {
}
.mark.isActive {
  color: rgba(255, 255, 255, 0.98);
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.95);
}
.mark.isDone {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.7);
}
.mark.isBlue {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.9);
}
.mark.isPurple {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.9);
}
.mark.isPink {
  background: rgba(236, 72, 153, 0.18);
  border-color: rgba(236, 72, 153, 0.9);
}
.progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}
.progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--gold-500);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  transition: width 80ms linear;
}

.pricing {
  display: grid;
  place-items: center;
}
.pricingCard {
  width: min(440px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(18, 18, 18, 0.24);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.pricingCard__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 6px 10px;
  border-radius: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.pricing__toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 35px;
  text-align: center;
}
.pricing__label {
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pricingCard__head {
  text-align: center;
  margin-bottom: 14px;
  padding-top: 10px;
}
.pricingCard__name {
  font-family: Cinzel, ui-serif, Georgia, serif;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 1.8rem;
}
.pricingCard__price {
  margin-top: 10px;
}
.pricingCard__amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}
.pricingCard__suffix {
  font-size: 1rem;
  color: #94a3b8;
}
.pricingCard__note {
  margin: 0;
}
.pricingCard__priceMain {
  color: var(--gold-500);
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 900;
  font-size: 3rem;
}

.list {
  margin: 18px 0 16px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
}
.list li {
  margin: 10px 0;
}

.field {
  margin-top: 14px;
}
.field__label {
  display: block;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.86);
}
.input {
  width: 100%;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 18, 0.55);
  color: #fff;
  outline: none;
}
.input:focus {
  border-color: rgba(212, 175, 55, 0.6);
}
.error {
  margin: 12px 0 0;
  color: #ffb4b4;
  font-weight: 650;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 18, 18, 0.65);
  padding: 16px 0 14px;
}
.footer__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr 1fr;
}
.footer__brand {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.footer__title {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}
.footer__links {
  display: grid;
  gap: 8px;
}
.footer__links a {
  color: var(--muted);
}
.footer__links a:hover {
  color: var(--gold-400);
}
.footer__bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.footer__metaBrand {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer__metaText {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__legal-links {
  display: flex;
  gap: 16px;
}
.footer__legal-links a {
  color: var(--muted);
  font-size: 1rem;
}
.footer__legal-links a:hover {
  color: var(--gold-400);
}

/* Steps (Processus en 4 étapes) */
.steps {
  margin-top: 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stepCard {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.14);
  background: rgba(18, 18, 18, 0.55);
  padding: 22px 18px 18px;
  box-shadow: 0 18px 55px rgba(8, 8, 8, 0.35);
  min-height: 190px;
}

.stepCard__badge {
  position: absolute;
  top: -10px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(18, 18, 18, 0.95);
}

.stepCard__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin: 6px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.35);
}
.stepCard__icon svg {
  width: 28px;
  height: 28px;
  color: currentColor;
}

.stepCard__formats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.stepCard__fmtIcon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stepCard__title {
  margin: 0 0 10px;
  font-family: Cinzel, ui-serif, Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1.05rem;
}

.stepCard__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.stepCard::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.35);
  font-size: 1.6rem;
  pointer-events: none;
}
.stepCard:last-child::after {
  content: "";
}

.stepCard--blue { color: #3b82f6; }
.stepCard--blue .stepCard__badge { background: #3b82f6; }

.stepCard--purple { color: #a855f7; }
.stepCard--purple .stepCard__badge { background: #a855f7; }

.stepCard--gold { color: var(--gold-500); }
.stepCard--gold .stepCard__badge { background: var(--gold-500); }

.stepCard--green { color: #22c55e; }
.stepCard--green .stepCard__badge { background: #22c55e; }

/* ── Showcase (app screenshots) ── */
.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.showcase__item {
  margin: 0;
}
.showcase__imgWrap {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(18, 18, 18, 0.55);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.showcase__imgWrap:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 24px 60px rgba(8, 8, 8, 0.45);
}
.showcase__img {
  width: 100%;
  height: auto;
  display: block;
}
.showcase__caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
}
.showcase__imgWrap[data-lightbox] {
  cursor: zoom-in;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 60px rgba(8, 8, 8, 0.5);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__close:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.25);
}

/* ── Benchmark section ── */
.bench__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.bench__kpi {
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(18, 18, 18, 0.25);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bench__kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 18px 50px rgba(8, 8, 8, 0.35);
}
.bench__kpiValue {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-400);
  letter-spacing: 0.04em;
}
.bench__kpiLabel {
  margin-top: 4px;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
}
.bench__kpiSub {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted2);
}

.bench__block {
  margin-bottom: 28px;
}
.bench__subtitle {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
}
.bench__tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(212, 175, 55, 0.35);
  vertical-align: middle;
  margin-left: 8px;
}
.bench__date {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted2);
  letter-spacing: 0;
}

.bench__tableWrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.55);
  box-shadow: var(--shadow);
}
.bench__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.bench__table th {
  padding: 14px 16px;
  text-align: left;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(18, 18, 18, 0.42);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  white-space: nowrap;
}
.bench__table td {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.bench__table tbody tr:last-child td {
  border-bottom: none;
}
.bench__table tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}
.bench__table--compact {
  max-width: 400px;
  margin: 0 auto;
}
.bench__table--compact th,
.bench__table--compact td {
  text-align: center;
}

.bench__perfect {
  color: #22c55e;
  font-weight: 700;
}
.bench__good {
  color: var(--gold-400);
  font-weight: 600;
}
.bench__up {
  color: #22c55e;
  font-weight: 700;
}
.bench__neutral {
  color: var(--muted2);
}

.bench__verdict {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 24px;
}
.bench__verdictBadge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.bench__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

/* ── Responsive ── */

/* Header : hamburger dès superposition des liens */
@media (max-width: 980px) {
  .nav--desktop {
    display: none;
  }
  .navToggle {
    display: inline-block;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stepCard::after {
    content: "";
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bench__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .showcase {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 720px) {
  /* Hero */
  .hero {
    padding: 48px 0 40px;
  }
  .hero__split {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .hero__brandRow {
    justify-content: center;
  }
  .hero__actions {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__strap {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .laptop-scene {
    width: 260px;
    max-width: 260px;
    height: 215px;
    --laptop-scale: 1;
    --laptop-shift-y: 0px;
    --laptop-overflow: visible;
    margin: 24px auto 8px;
    transform: scale(0.8);
  }
  .laptop-iso {
    transform: rotateX(60deg) rotateZ(35deg) translateZ(0);
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    animation: none;
  }
  .laptop-screen {
    width: 260px;
    height: 175px;
    left: 0;
    bottom: 100%;
    animation: none;
  }
  .laptop-shadow {
    animation: none;
  }
  .laptop-screen,
  .laptop-base,
  .laptop-shadow {
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

  /* Sections */
  .section {
    padding: 40px 0;
  }
  #demo {
    display: none;
  }

  /* Demo */
  .window__title {
    padding-right: 0;
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .window__body {
    font-size: 0.82rem;
    padding-left: 14px;
    padding-right: 14px;
  }
  .mark {
    word-break: break-all;
  }
  .demo__legend {
    gap: 8px;
  }
  .legend {
    font-size: 0.75rem;
  }

  /* Feature cards */
  .grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stat {
    padding: 14px 10px;
  }
  .stat__num {
    font-size: 1.5rem;
  }

  /* Pricing */
  .pricingCard {
    padding: 18px 16px;
  }
  .pricingCard__badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }
  .pricing__toggle {
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  .pricingCard__amount {
    font-size: 2rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer__legal-links {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  /* Benchmark */
  .bench__kpis {
    grid-template-columns: 1fr;
  }
  .bench__table th,
  .bench__table td {
    padding: 10px 10px;
    font-size: 0.82rem;
  }
  .bench__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .bench__actions .btn {
    justify-content: center;
  }

  /* Lightbox */
  .lightbox {
    padding: 10px;
  }
  .lightbox__img {
    max-width: calc(100vw - 20px);
    max-height: 80vh;
    border-radius: var(--radius-sm);
  }
  .lightbox__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Waitlist modal */
  .wl-modal {
    padding: 28px 20px 22px;
    margin: 0 8px;
  }

  /* Buttons */
  .btn {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  .btn--sm {
    padding: 8px 12px;
  }
}

/* ── Devis form ── */
.devis-form {
  display: block;
}
.devis-group {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.devis-group:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.devis-group__title {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 18px;
}
.devis-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.devis-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.devis-field {
  margin-bottom: 16px;
}
.devis-grid .devis-field {
  margin-bottom: 0;
}
.devis-field__label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.88);
}
.devis-req {
  color: var(--gold-500);
}
.devis-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 18, 0.55);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.devis-input:focus {
  border-color: rgba(212, 175, 55, 0.6);
}
.devis-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
select.devis-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select.devis-input option {
  background: var(--navy-900);
  color: #fff;
}
.devis-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}
.devis-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 4px;
}
.devis-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.35);
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.devis-check:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(18, 18, 18, 0.45);
}
.devis-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-500);
  cursor: pointer;
}
.devis-check input[type="checkbox"]:checked + * {
  color: #fff;
}
.devis-submit {
  text-align: center;
  margin-top: 8px;
}
.devis-error {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}
.devis-success {
  text-align: center;
  padding: 48px 20px;
}
.devis-success__icon {
  margin: 0 auto;
}

@media (max-width: 720px) {
  .devis-grid--2 {
    grid-template-columns: 1fr;
  }
  .devis-checks {
    gap: 8px;
  }
  .devis-check {
    font-size: 0.82rem;
    padding: 5px 10px;
  }
}

/* ── Waitlist modal ── */
.wl-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 16px;
}
.wl-overlay[hidden] {
  display: none;
}
.wl-modal {
  background: var(--navy-800);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(8, 8, 8, 0.6);
}
.wl-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted2);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.wl-close:hover { color: #fff; }
.wl-title {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: #fff;
}
.wl-desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
}
.wl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wl-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.6);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.wl-input:focus {
  border-color: rgba(212, 175, 55, 0.5);
}
.wl-input::placeholder {
  color: var(--muted2);
}
.wl-msg {
  margin: 14px 0 0;
  font-size: 0.88rem;
  text-align: center;
}
.wl-msg--ok { color: #22c55e; }
.wl-msg--err { color: #f87171; }

/* ── Laptop isometric animation (dark premium) ── */
:root {
  --la-alu-light: #334155;
  --la-alu-base: #1e293b;
  --la-alu-dark: #0f172a;
  --la-screen-back: #1e293b;
  --la-bezel: #000;
  --la-display: #0a0f18;
  --la-loop: 10s;
  --la-spring: cubic-bezier(0.43, 0.13, 0.23, 0.96);
  --la-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.laptop-scene {
  --laptop-scale: 1;
  --laptop-shift-y: 0px;
  --laptop-overflow: visible;
  perspective: 2500px;
  -webkit-perspective: 2500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 320px;
  height: 320px;
  overflow: var(--laptop-overflow);
  transform-origin: center center;
  transform: scale(var(--laptop-scale, 1));
  position: relative;
  z-index: 0;
}

.laptop-iso {
  position: relative;
  width: 260px;
  height: 175px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: translateY(80px) rotateX(60deg) rotateZ(35deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Shadow */
.laptop-shadow {
  position: absolute;
  inset: -15px;
  background: rgba(8, 8, 8, 0.6);
  border-radius: 20px;
  filter: blur(20px);
  transform: translateZ(-12px);
  opacity: 0.8;
  pointer-events: none;
  animation: none;
}

/* Base */
.laptop-base {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.base-bottom {
  position: absolute;
  inset: 0;
  background: var(--la-alu-dark);
  border-radius: 10px;
  transform: translateZ(-4.5px);
  box-shadow: -6px 8px 20px rgba(0,0,0,0.5);
}
.base-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--la-alu-light), var(--la-alu-base));
  border-radius: 10px;
  transform: translateZ(0px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.lid-indent {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px 4px 0 0;
}
.keyboard-well {
  position: absolute;
  top: 16px; left: 16px; right: 16px; height: 76px;
  background: rgba(8, 8, 8, 0.4);
  border-radius: 4px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.5);
  background-image:
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.05) 95%),
    linear-gradient(0deg, transparent 90%, rgba(255,255,255,0.05) 90%);
  background-size: 12px 12px;
}
.trackpad {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 44px;
  background: rgba(8, 8, 8, 0.2);
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.05);
}

/* Keyboard glow (white & gold) */
.keyboard-glow-white,
.keyboard-glow-gold {
  position: absolute; inset: 0; border-radius: 10px;
  opacity: 0; pointer-events: none;
}
.keyboard-glow-white {
  background: radial-gradient(circle at 50% 10%, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: none;
}
.keyboard-glow-gold {
  background: radial-gradient(circle at 50% 10%, rgba(34,197,94,0.25) 0%, transparent 60%);
  animation: none;
}

/* Screen */
.laptop-screen {
  position: absolute;
  bottom: 100%; left: 0; width: 260px; height: 175px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
  transform: rotateX(-179.5deg);
  animation: la-open var(--la-loop) var(--la-spring) infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.screen-back {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--la-screen-back), var(--la-alu-dark));
  border-radius: 10px;
  transform: translateZ(0px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.screen-front {
  position: absolute; inset: 0;
  background: var(--la-bezel);
  border-radius: 10px;
  transform: translateZ(4px);
  box-shadow: inset 0 0 0 1px #1e293b;
  overflow: hidden;
}
.laptop-scene .display {
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 16px;
  border-radius: 3px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  animation: la-display var(--la-loop) ease-in-out infinite;
}
.laptop-scene .display::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 45%, transparent 46%);
  pointer-events: none;
  z-index: 10;
}

/* Text & anonymisation */
.laptop-scene .text-layer {
  position: absolute;
  top: 24px; left: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 1;
  animation: la-text-depth var(--la-loop) var(--la-spring) infinite;
}
.laptop-scene .line { display: flex; gap: 8px; height: 6px; }
.laptop-scene .word {
  height: 100%;
  background: rgba(255,255,255,0.75);
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(0);
  animation: la-word-type var(--la-loop) var(--la-spring) infinite;
}
.laptop-scene .word.redact { position: relative; overflow: hidden; }
.laptop-scene .word.redact::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-500);
  transform-origin: left;
  transform: scaleX(0);
  animation: la-word-redact var(--la-loop) var(--la-spring) infinite;
}
.laptop-scene .line:nth-child(1) .word, .laptop-scene .line:nth-child(1) .word::after { animation-delay: 0s; }
.laptop-scene .line:nth-child(2) .word, .laptop-scene .line:nth-child(2) .word::after { animation-delay: 0.1s; }
.laptop-scene .line:nth-child(3) .word, .laptop-scene .line:nth-child(3) .word::after { animation-delay: 0.2s; }
.laptop-scene .line:nth-child(4) .word, .laptop-scene .line:nth-child(4) .word::after { animation-delay: 0.3s; }
.laptop-scene .line:nth-child(5) .word, .laptop-scene .line:nth-child(5) .word::after { animation-delay: 0.4s; }

/* UI security morphing */
.ui-container {
  position: relative;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.ripple {
  position: absolute; width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid var(--gold-500);
  opacity: 0;
  animation: la-ripple var(--la-loop) ease-out infinite;
}
.lock-container,
.check-container {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.icon-lock {
  width: 56px; height: 56px; overflow: visible;
  animation: la-lock-out var(--la-loop) var(--la-spring) infinite;
}
.icon-lock .shackle {
  transform-origin: 28px 20px;
  transform-box: view-box;
  animation: la-shackle var(--la-loop) cubic-bezier(0.5,-0.5,0.5,2.5) infinite;
}

.icon-check {
  width: 64px; height: 64px; overflow: visible;
  opacity: 0;
  animation: la-check-in var(--la-loop) var(--la-bounce) infinite;
}
.icon-check .check-circle {
  stroke-dasharray: 140; stroke-dashoffset: 140;
  animation: la-circle-draw var(--la-loop) var(--la-spring) infinite;
}
.icon-check .check-path {
  stroke-dasharray: 45; stroke-dashoffset: 45;
  animation: la-path-draw var(--la-loop) var(--la-spring) infinite;
}

/* Brand text inside display */
.la-brand {
  position: absolute;
  transform: translateY(50px);
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  animation: la-brand-fade var(--la-loop) var(--la-spring) infinite;
}

/* ── Laptop keyframes ── */
@keyframes la-open {
  0%, 14% { transform: rotateX(-179.5deg); }
  22%, 82% { transform: rotateX(-70deg); }
  88%, 100% { transform: rotateX(-179.5deg); }
}
@keyframes la-shadow {
  0%, 10%  { opacity: 0.3; transform: translateZ(-12px) scale(0.98) translateX(5px); }
  20%, 88% { opacity: 1;   transform: translateZ(-12px) scale(1) translateX(0); }
  95%, 100%{ opacity: 0.3; transform: translateZ(-12px) scale(0.98) translateX(5px); }
}
@keyframes la-display {
  0%, 12%  { background: #000; }
  16%, 89% { background: var(--la-display); box-shadow: inset 0 0 30px rgba(0,0,0,0.9); }
  93%, 100%{ background: #000; }
}
@keyframes la-word-type {
  0%, 15%  { transform: scaleX(0); }
  18%, 100%{ transform: scaleX(1); }
}
@keyframes la-word-redact {
  0%, 24%  { transform: scaleX(0); }
  28%, 100%{ transform: scaleX(1); }
}
@keyframes la-text-depth {
  0%, 34%  { opacity: 1;    transform: scale(1);    filter: blur(0); }
  38%, 82% { opacity: 0.15; transform: scale(0.92); filter: blur(4px); }
  86%, 100%{ opacity: 0;    transform: scale(0.92); filter: blur(4px); }
}
@keyframes la-lock-out {
  0%, 34%  { opacity: 0; transform: translateY(-10px) scale(0.5); }
  38%, 46% { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 4px 12px rgba(201,166,83,0.3)); }
  47%, 49% { opacity: 1; transform: scale(0.8); }
  51%, 100%{ opacity: 0; transform: scale(0); }
}
@keyframes la-shackle {
  0%, 40%  { transform: rotate(40deg) translateY(-2px); }
  42%, 100%{ transform: rotate(0deg) translateY(0); }
}
@keyframes la-check-in {
  0%, 49%  { opacity: 0; transform: scale(0); }
  51%, 82% { opacity: 1; transform: scale(1); filter: drop-shadow(0 6px 16px rgba(34,197,94,0.5)); }
  85%, 100%{ opacity: 0; transform: scale(0.6); }
}
@keyframes la-circle-draw {
  0%, 49%  { stroke-dashoffset: 140; }
  53%, 100%{ stroke-dashoffset: 0; }
}
@keyframes la-path-draw {
  0%, 51%  { stroke-dashoffset: 45; }
  56%, 100%{ stroke-dashoffset: 0; }
}
@keyframes la-brand-fade {
  0%, 41%  { opacity: 0; transform: translateY(60px); }
  45%, 82% { opacity: 1; transform: translateY(50px); }
  86%, 100%{ opacity: 0; transform: translateY(40px); }
}
@keyframes la-ripple {
  0%, 49%  { transform: scale(0.5); opacity: 0; border-width: 4px; }
  50%      { opacity: 1; }
  62%, 100%{ transform: scale(2.5); opacity: 0; border-width: 0px; }
}
@keyframes la-glow-w {
  0%, 40%  { opacity: 0; }
  42%, 46% { opacity: 1; }
  50%, 100%{ opacity: 0; }
}
@keyframes la-glow-g {
  0%, 49%  { opacity: 0; }
  52%, 74% { opacity: 1; }
  82%, 100%{ opacity: 0; }
}

/* Shadow IA flow visualization */
.shadowFlow {
  margin-top: 34px;
}
.shadowFlow__dashboard {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  overflow: hidden;
}
.shadowFlow__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  scrollbar-width: none;
}
.shadowFlow__scroll::-webkit-scrollbar { display: none; }
.shadowFlow__svg {
  min-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  --dur: 8s;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --color-green: #10b981;
  --color-green-light: #d1fae5;
  --color-red: #ef4444;
  --color-slate-dark: #334155;
  --color-yellow: #eab308;
}
@media (max-width: 720px) {
  .shadowFlow__scroll {
    overflow-x: clip;
    padding: 0;
  }
  .shadowFlow__svg {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
  }
}
.data-track {
  stroke-dasharray: 6 12;
  animation: flow-track 1.5s linear infinite;
}
.doc-red-anim {
  animation: move-red-doc var(--dur) infinite var(--ease-in-out);
  transform-box: fill-box;
  transform-origin: center;
}
.doc-green-anim {
  animation: move-green-doc var(--dur) infinite var(--ease-in-out);
  transform-box: fill-box;
  transform-origin: center;
}
.lexanon-node {
  animation: pulse-lexanon var(--dur) infinite var(--ease-in-out);
  transform-origin: 0 0;
}
.encrypt-ring { animation: ring-process var(--dur) infinite var(--ease-in-out); transform-origin: 0 0; }
.encrypt-ring-2 { animation: ring-process-rev var(--dur) infinite var(--ease-in-out); transform-origin: 0 0; }
.encryption-scanner { animation: scan-sweep var(--dur) infinite linear; }
.p1 { animation: p-flash-1 var(--dur) infinite; }
.p2 { animation: p-flash-2 var(--dur) infinite; }
.p3 { animation: p-flash-3 var(--dur) infinite; }
.computer-screen { animation: screen-color var(--dur) infinite var(--ease-in-out); }
.robot-body { animation: robot-body-color var(--dur) infinite var(--ease-in-out); fill: #94a3b8; }
.robot-stroke { animation: robot-stroke-color var(--dur) infinite var(--ease-in-out); stroke: #94a3b8; }
.robot-led { animation: robot-led-color var(--dur) infinite var(--ease-in-out); fill: #cbd5e1; }
.mouth-neutral { animation: fade-out var(--dur) infinite var(--ease-in-out); }
.mouth-smile { animation: fade-in var(--dur) infinite var(--ease-in-out); }

@keyframes flow-track { from { stroke-dashoffset: 18; } to { stroke-dashoffset: 0; } }
@keyframes move-red-doc {
  0%, 5% { transform: translate(220px, 150px) scale(0); opacity: 0; }
  10%, 15% { transform: translate(260px, 150px) scale(1); opacity: 1; }
  28%, 100% { transform: translate(500px, 150px) scale(0); opacity: 0; }
}
@keyframes move-green-doc {
  0%, 45% { transform: translate(500px, 150px) scale(0); opacity: 0; }
  50%, 55% { transform: translate(540px, 150px) scale(1); opacity: 1; }
  68% { transform: translate(740px, 150px) scale(1); opacity: 1; }
  72%, 100% { transform: translate(760px, 150px) scale(0); opacity: 0; }
}
@keyframes pulse-lexanon {
  0%, 25% { transform: scale(1); filter: drop-shadow(0 10px 15px rgba(15,23,42,0.06)); }
  32%, 40% { transform: scale(1.1); filter: drop-shadow(0 0 24px rgba(234,179,8,0.4)); }
  48%, 100% { transform: scale(1); filter: drop-shadow(0 10px 15px rgba(15,23,42,0.06)); }
}
@keyframes ring-process {
  0%, 28% { opacity: 0; transform: rotate(0deg) scale(0.8); }
  32% { opacity: 1; transform: rotate(180deg) scale(1); }
  44% { opacity: 1; transform: rotate(360deg) scale(1); }
  48%, 100% { opacity: 0; transform: rotate(540deg) scale(1.1); }
}
@keyframes ring-process-rev {
  0%, 28% { opacity: 0; transform: rotate(0deg) scale(0.8); }
  32% { opacity: 0.5; transform: rotate(-180deg) scale(0.9); }
  44% { opacity: 0.5; transform: rotate(-360deg) scale(0.9); }
  48%, 100% { opacity: 0; transform: rotate(-540deg) scale(1); }
}
@keyframes scan-sweep {
  0%, 28% { opacity: 0; transform: translateY(-50px); }
  30% { opacity: 1; transform: translateY(-50px); }
  38% { opacity: 1; transform: translateY(50px); }
  45% { opacity: 1; transform: translateY(-50px); }
  47%, 100% { opacity: 0; transform: translateY(-50px); }
}
@keyframes p-flash-1 {
  0%, 30% { opacity: 0; transform: scale(0.5) translate(0, 0); }
  33% { opacity: 1; transform: scale(1) translate(-2px, -2px); }
  36%, 100% { opacity: 0; transform: scale(0.5) translate(-4px, -4px); }
}
@keyframes p-flash-2 {
  0%, 35% { opacity: 0; transform: scale(0.5); }
  38% { opacity: 1; transform: scale(1.2); }
  41%, 100% { opacity: 0; transform: scale(0.5); }
}
@keyframes p-flash-3 {
  0%, 39% { opacity: 0; transform: scale(0.5) translate(0, 0); }
  42% { opacity: 1; transform: scale(1) translate(2px, 2px); }
  45%, 100% { opacity: 0; transform: scale(0.5) translate(4px, 4px); }
}
@keyframes screen-color {
  0%, 68% { fill: #f8fafc; stroke: #cbd5e1; }
  72%, 92% { fill: #ecfdf5; stroke: #10b981; }
  96%, 100% { fill: #f8fafc; stroke: #cbd5e1; }
}
@keyframes robot-body-color { 0%, 68% { fill: #94a3b8; } 72%, 92% { fill: #10b981; } 96%, 100% { fill: #94a3b8; } }
@keyframes robot-stroke-color { 0%, 68% { stroke: #94a3b8; } 72%, 92% { stroke: #10b981; } 96%, 100% { stroke: #94a3b8; } }
@keyframes robot-led-color { 0%, 68% { fill: #cbd5e1; } 72%, 92% { fill: #fcd34d; } 96%, 100% { fill: #cbd5e1; } }
@keyframes fade-out { 0%, 68% { opacity: 1; } 70%, 94% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes fade-in { 0%, 68% { opacity: 0; } 70%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* Small mobile */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero {
    padding: 36px 0 20px;
  }
  .hero__title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
  .hero__desc {
    font-size: 0.9rem;
  }
  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .stat__num {
    font-size: 1.2rem;
  }
  .stat__label {
    font-size: 0.68rem;
  }
  .laptop-scene {
    width: 260px;
    max-width: 260px;
    height: 205px;
    --laptop-scale: 1;
    --laptop-shift-y: 0px;
    margin-top: 20px;
    transform: scale(0.6);
  }
  .laptop-iso {
    transform: rotateX(60deg) rotateZ(35deg) translateZ(0);
  }
  .section {
    padding: 32px 0;
  }
  .h2 {
    font-size: 1.4rem;
  }
  .hero__brandRow {
    gap: 10px;
  }
  .hero__logo {
    width: 42px;
    height: 42px;
  }

  .demo__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .stepCard {
    min-height: auto;
    padding: 18px 14px 14px;
  }

  .faq__theme {
    margin: 24px 0 10px;
    padding: 0 16px 6px;
    font-size: 0.92rem;
  }
  .faq__question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .faq__answer {
    padding: 0 16px 14px;
  }

  .pricingCard__name {
    font-size: 1.3rem;
  }
  .pricing__toggle {
    flex-direction: column;
    gap: 10px;
  }

  .footer {
    padding: 18px 0 16px;
  }
  .footer__brand {
    font-size: 1.2rem;
  }
}

