/* WASDEV — sit entènèt. Koulè ofisyèl: mov #8b5cf6, ble #0098ff, fon nwa-mov. */
:root {
  --bg: #0a0a0d; --bg2: #0f0e15; --card: #14131b; --card2: #191823; --line: #262433;
  --fg: #ece9f5; --dim: #a8a4b8; --mute: #6f6b82;
  --purple: #8b5cf6; --purple-l: #b794ff; --purple-d: #5b21b6; --blue: #0098ff;
  --grad: linear-gradient(100deg, #8b5cf6 0%, #6d8bff 55%, #0098ff 100%);
  --radius: 16px; --wrap: 1200px;
  --font: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--purple-l); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 650; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 34px -10px rgba(139, 92, 246, .75); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(139, 92, 246, .9); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--purple); background: rgba(139, 92, 246, .1); }
.btn--sm { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn--lg { padding: 17px 30px; font-size: 1.1rem; border-radius: 14px; }

/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(10, 10, 13, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .06em; font-size: 1.08rem; }
.nav__links { display: flex; gap: 22px; margin-left: 8px; font-size: .93rem; white-space: nowrap; color: var(--dim); }
.nav__links a:hover { color: var(--fg); }
.nav__links a.is-active { color: var(--purple-l); font-weight: 600; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.lang button { all: unset; cursor: pointer; padding: 5px 10px; border-radius: 7px; font-size: .78rem; font-weight: 700; color: var(--mute); letter-spacing: .04em; }
.lang button:hover { color: var(--fg); }
.lang button.is-on { background: var(--purple-d); color: #fff; }
.burger { all: unset; display: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--fg); margin: 5px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ---------- hero */
.hero { position: relative; padding: 150px 0 70px; text-align: center; overflow-x: clip; }
.hero__glow { position: absolute; inset: -10% -20% auto -20%; height: 900px; pointer-events: none;
  background: radial-gradient(600px 380px at 30% 22%, rgba(139, 92, 246, .34), transparent 70%), radial-gradient(560px 360px at 72% 18%, rgba(0, 152, 255, .24), transparent 70%), radial-gradient(900px 500px at 50% 60%, rgba(91, 33, 182, .22), transparent 72%); filter: blur(10px); }
.hero__in { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--dim); font-size: .86rem; margin-bottom: 26px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ec9a0; box-shadow: 0 0 0 4px rgba(78, 201, 160, .18); }
.lead { max-width: 780px; margin: 24px auto 0; color: var(--dim); font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__note { margin-top: 16px; color: var(--mute); font-size: .88rem; }

/* ---------- window frame (screenshots) */
.window { margin: 62px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid #2c2940; background: #0c0c10; cursor: zoom-in; position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 40px 120px -30px rgba(109, 40, 217, .65), 0 30px 70px -40px rgba(0, 152, 255, .5); transition: transform .3s ease, box-shadow .3s ease; }
.window:hover { transform: translateY(-4px); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #101016; border-bottom: 1px solid #1f1d2b; color: var(--mute); font-size: .78rem; }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c2940; }
.window__bar i:nth-child(1) { background: #f14c6c; } .window__bar i:nth-child(2) { background: #e5b454; } .window__bar i:nth-child(3) { background: #4ec9a0; }
.window__bar span { margin-left: 10px; }
.window img { width: 100%; transition: opacity .25s ease; }

/* ---------- numbers */
.numbers { padding: 26px 0 10px; }
.numbers__in { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.num { padding: 22px 12px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card2), var(--card)); }
.num b { display: block; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 8px; color: var(--dim); font-size: .86rem; line-height: 1.3; }

/* ---------- sections */
.section { padding: 110px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid #16151f; }
.eyebrow { color: var(--purple-l); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.sub { color: var(--dim); max-width: 720px; margin-top: 16px; font-size: 1.08rem; }
.rows { margin-top: 30px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0; }
.row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row--flip .row__txt { order: 2; }
.row__txt p { color: var(--dim); margin-top: 14px; }
.row__img { margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--purple-l); background: rgba(139, 92, 246, .13); border: 1px solid rgba(139, 92, 246, .3); padding: 5px 10px; border-radius: 7px; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--fg); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(139, 92, 246, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b794ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.tabs button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 9px; font-size: .9rem; font-weight: 650; color: var(--dim); transition: background .2s ease, color .2s ease; }
.tabs button:hover { color: var(--fg); }
.tabs button.is-on { background: var(--purple-d); color: #fff; }

/* ---------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card2), var(--card)); padding: 14px 14px 22px; cursor: zoom-in; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .55); }
.card img { border-radius: 10px; border: 1px solid #23212f; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top left; width: 100%; }
.card h4 { margin: 18px 6px 6px; }
.card p { margin: 0 6px; color: var(--dim); font-size: .95rem; }
.card--rec { cursor: default; }
.card--link { display: block; cursor: pointer; padding: 22px 20px 26px; }
.card--link h4 { margin-top: 0; }

/* ---------- pager (paj anvan / paj apre) */
.pager { display: flex; justify-content: space-between; gap: 16px; padding: 40px 0 70px; }
.pager a { padding: 12px 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--dim); font-weight: 600; transition: border-color .2s ease, color .2s ease; }
.pager a:hover { border-color: var(--purple); color: var(--fg); }
.recbar { border-radius: 10px; border: 1px solid #23212f; aspect-ratio: 16 / 9.5; display: grid; place-items: center; padding: 18px; background: radial-gradient(420px 200px at 50% 40%, rgba(241, 76, 108, .2), transparent 70%), #0d0c12; overflow: hidden; }
.recbar { justify-items: start; }
.recbar img { border: 0; border-radius: 8px; aspect-ratio: auto; object-fit: cover; object-position: left center; width: 310%; max-width: none; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .9); }

/* ---------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.gallery button { all: unset; cursor: zoom-in; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform .2s ease, border-color .2s ease; }
.gallery button:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, .6); }
.gallery img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top left; }
.gallery span { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: .84rem; font-weight: 650; background: linear-gradient(180deg, transparent, rgba(8, 8, 12, .92)); }

/* ---------- engines */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.engine { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); }
.engine code { font-family: var(--mono); font-size: 1.05rem; color: var(--purple-l); background: rgba(139, 92, 246, .12); padding: 4px 10px; border-radius: 7px; }
.engine p { margin-top: 14px; color: var(--dim); font-size: .95rem; }

/* ---------- security grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--card); }
.box h4 { display: flex; align-items: center; gap: 10px; }
.box h4::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); flex: none; }
.box p { margin-top: 10px; color: var(--dim); font-size: .96rem; }

/* ---------- GAD */
.gad { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 48px; background: radial-gradient(600px 300px at 90% 0%, rgba(0, 152, 255, .14), transparent 70%), var(--card); }
.code { margin: 0; padding: 24px; border-radius: 14px; background: #0b0b10; border: 1px solid #23212f; font: 15px/1.7 var(--mono); overflow-x: auto; color: #e7e4ee; }
.code .k { color: #c586ff; } .code .f { color: #7cc7ff; } .code .s { color: #f0a37a; } .code .c { color: #6f8a5e; }

/* ---------- FAQ */
details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-top: 12px; overflow: hidden; }
details:first-of-type { margin-top: 36px; }
summary { cursor: pointer; padding: 20px 54px 20px 22px; font-weight: 650; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--purple-l); transition: rotate .2s ease; }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 22px 22px; color: var(--dim); }

/* ---------- CTA */
.cta { padding: 110px 0; }
.cta__in { text-align: center; padding: 72px 28px; border-radius: 26px; border: 1px solid #33294f; position: relative; overflow: hidden;
  background: radial-gradient(700px 320px at 50% 0%, rgba(139, 92, 246, .38), transparent 70%), radial-gradient(500px 260px at 80% 100%, rgba(0, 152, 255, .2), transparent 70%), #100e19; }
.cta__in img { margin: 0 auto 22px; }
.cta__in p { color: var(--dim); margin: 14px auto 30px; max-width: 560px; }
.cta__meta { margin: 20px auto 0 !important; font-size: .88rem; color: var(--mute) !important; }

/* ---------- footer */
.footer { border-top: 1px solid var(--line); padding: 54px 0 30px; color: var(--dim); font-size: .94rem; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin-top: 12px; max-width: 380px; color: var(--mute); font-size: .88rem; }
.footer__cols { display: flex; gap: 64px; }
.footer__cols div { display: grid; gap: 8px; align-content: start; }
.footer__cols b { color: var(--fg); margin-bottom: 4px; }
.footer__cols a:hover, .footer__bottom a:hover { color: var(--fg); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid #18171f; color: var(--mute); font-size: .86rem; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 8, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 8px; backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: calc(100vh - 110px); width: auto; max-width: 100%; border-radius: 10px; border: 1px solid #2c2940; box-shadow: 0 30px 100px -20px rgba(109, 40, 217, .6); }
.lightbox figcaption { color: var(--dim); font-size: .95rem; }
.lightbox button { all: unset; cursor: pointer; color: #fff; text-align: center; }
.lightbox .lightbox__x { position: absolute; top: 14px; right: 22px; font-size: 2.2rem; line-height: 1; width: 44px; height: 44px; }
.lightbox .lightbox__nav { font-size: 3rem; height: 90px; border-radius: 12px; opacity: .7; }
.lightbox .lightbox__nav:hover, .lightbox .lightbox__x:hover { opacity: 1; color: var(--purple-l); }

/* ---------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 1020px) {
  .numbers__in { grid-template-columns: repeat(3, 1fr); }
  .row, .split, .gad { grid-template-columns: 1fr; gap: 30px; }
  .row { padding: 40px 0; }
  .row--flip { grid-template-columns: 1fr; }
  .row--flip .row__txt { order: 0; }
  .cards, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gad { padding: 32px; }
}
@media (min-width: 861px) {
  .nav__links .nav__link--client { display: none; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0; background: rgba(10, 10, 13, .97); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid #18171f; font-size: 1.05rem; color: var(--fg); }
  .burger { display: block; }
  .nav.is-open { background: rgba(10, 10, 13, .97); }
  .nav__right .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 120px; }
  .section, .cta { padding: 72px 0; }
  .numbers__in, .cards, .grid3, .engines { grid-template-columns: 1fr 1fr; }
  .cards, .grid3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
  .window__bar span { display: none; }
  .footer__cols { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .window, .card { transition: none; }
}

/* ---------- paj anndan yo */
.h-page { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.section:first-child, .cta--top { padding-top: 150px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toc a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--dim); background: rgba(255, 255, 255, .03); transition: border-color .2s ease, color .2s ease; }
.toc a:hover { border-color: var(--purple); color: var(--fg); }
.block { padding: 56px 0; }
.block h3, #more h3 { margin-bottom: 4px; }
.note { margin: 44px 0 18px; color: var(--dim); }
.box__link { margin-top: 16px !important; }
.box__link a { color: var(--purple-l); font-weight: 650; }
.box__link a:hover { color: var(--fg); }
.ticks--wide { gap: 16px; margin-top: 34px; }
.ticks--wide li { color: var(--dim); font-size: 1.02rem; }
.faq-h { font-size: 1.5rem; margin-top: 64px; scroll-margin-top: 90px; }
.faq-h + details { margin-top: 20px; }
[id] { scroll-margin-top: 90px; }

/* ---------- lang (lis) */
.langsel { appearance: none; -webkit-appearance: none; font: inherit; font-size: .86rem; font-weight: 650; color: var(--fg); background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a4b8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 9px center / 14px no-repeat; border: 1px solid var(--line); border-radius: 10px; padding: 8px 30px 8px 12px; cursor: pointer; }
.langsel:hover { border-color: var(--purple); }
.langsel option { background: #14131b; color: var(--fg); }

/* ---------- pri */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; background: linear-gradient(180deg, var(--card2), var(--card)); }
.plan--main { border-color: rgba(139, 92, 246, .6); box-shadow: 0 30px 80px -40px rgba(139, 92, 246, .8); }
.plan h3 { font-size: 1.25rem; }
.plan__price { margin-top: 18px; font-size: 2rem; font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__was { font-size: .62em; font-weight: 600; color: var(--mute); -webkit-text-fill-color: var(--mute); text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 4px; }
.plan__per { color: var(--mute); font-size: .9rem; margin-top: 4px; }
.plan .ticks { margin-bottom: 28px; }
.plan .ticks li { color: var(--dim); }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- etap */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 20px 22px 20px 72px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.steps b { display: block; }
.steps span { display: block; color: var(--dim); margin-top: 4px; font-size: .97rem; }

@media (max-width: 1180px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0; background: rgba(10, 10, 13, .97); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; display: none; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid #18171f; font-size: 1.05rem; color: var(--fg); }
  .burger { display: block; }
  .nav.is-open { background: rgba(10, 10, 13, .97); }
}
@media (max-width: 1020px) { .plans { grid-template-columns: 1fr; } }
.plans--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans--4 .plan { padding: 28px 22px; }
.plans--4 .plan__price { font-size: 1.6rem; }
@media (max-width: 1180px) { .plans--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans--4 { grid-template-columns: 1fr; } }
.launch { margin-top: 22px; display: inline-block; padding: 10px 16px; border: 1px solid rgba(251, 191, 36, .45); border-radius: 12px; background: rgba(251, 191, 36, .07); color: var(--dim); }
.launch b { color: #fbbf24; margin-right: 6px; }
.pricing-extra { margin-top: 28px; }
@media (max-width: 640px) {
  .section:first-child, .cta--top { padding-top: 110px; }
  .footer__cols { flex-wrap: wrap; }
  .nav__in { gap: 12px; }
  .langsel { padding: 7px 26px 7px 10px; }
}
/* ---------- fon dekoratif (ekla, dlo, kòd — mov sonm, nwa, blan): yon sèl kouch fiks dèyè tout paj la */
.deco { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/brand/bg-deco.svg") center / cover no-repeat,
    radial-gradient(1100px 700px at 12% -8%, rgba(91, 33, 182, .30), transparent 70%),
    radial-gradient(900px 640px at 100% 100%, rgba(59, 15, 143, .34), transparent 70%),
    linear-gradient(180deg, #0a0a0d 0%, #0d0a16 55%, #08080b 100%); }
.section--alt { background: linear-gradient(180deg, rgba(15, 14, 21, .82), rgba(10, 10, 13, .6)); }
.footer { background: rgba(10, 10, 13, .72); }

/* ---------- carousel akèy la (tout foto yo) */
.car { margin-top: 58px; text-align: left; }
.car__view { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid #2c2940; background: #0c0c10;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 40px 120px -30px rgba(109, 40, 217, .7), 0 30px 70px -40px rgba(0, 152, 255, .45); }
.car__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 2 / 1; }
.car__track::-webkit-scrollbar { display: none; }
.car__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.car__slide img { width: 100%; height: 100%; object-fit: cover; }
.car__slide figcaption { position: absolute; inset: auto 0 0 0; padding: 70px 26px 20px; background: linear-gradient(180deg, transparent, rgba(8, 6, 16, .88)); color: #fff; font-weight: 650; font-size: clamp(.95rem, 1.6vw, 1.2rem); }
.car__slide figcaption span { border-left: 3px solid var(--purple-l); padding-left: 12px; }
.car__nav { all: unset; position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1.9rem; line-height: 1; color: #fff;
  background: rgba(12, 10, 22, .62); border: 1px solid rgba(183, 148, 255, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease; }
.car__nav:hover { background: var(--purple-d); border-color: var(--purple-l); }
.car__nav:focus-visible { outline: 2px solid var(--purple-l); outline-offset: 3px; }
.car__nav--prev { left: 16px; } .car__nav--next { right: 16px; }
.car__count { position: absolute; top: 14px; right: 16px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: rgba(12, 10, 22, .62); border: 1px solid rgba(183, 148, 255, .35); }
.car__thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.car__thumbs button { all: unset; flex: 0 0 auto; width: 96px; aspect-ratio: 2 / 1; border-radius: 9px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: .5; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.car__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.car__thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.car__thumbs button.is-on { opacity: 1; border-color: var(--purple-l); box-shadow: 0 8px 24px -10px rgba(139, 92, 246, .9); }
.car__thumbs button:focus-visible { outline: 2px solid var(--purple-l); outline-offset: 2px; }
.shotband { padding: 40px 0 0; }
.shotband .window { margin-top: 0; }
@media (max-width: 640px) {
  .car { margin-top: 40px; }
  .car__track { aspect-ratio: 16 / 10; }
  .car__nav { width: 38px; height: 38px; font-size: 1.5rem; }
  .car__nav--prev { left: 8px; } .car__nav--next { right: 8px; }
  .car__slide figcaption { padding: 50px 16px 14px; }
  .car__thumbs button { width: 72px; }
}
/* ---------- hero plen lajè: foto yo defile dèyè tèks la, depi anlè nèt (anba meni an) rive bò goch ak bò dwat ekran an */
.hero--full { padding: 0; min-height: clamp(640px, 100vh, 1000px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero--full .car { position: absolute; inset: 0; margin: 0; }
.hero--full .car__view { height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.hero--full .car__track { aspect-ratio: auto; height: 100%; }
.hero--full .car__slide figcaption { padding: 0 0 96px 26px; background: none; font-size: .92rem; font-weight: 600; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); z-index: 3; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(1000px 560px at 50% 46%, rgba(8, 6, 16, .8), transparent 78%),
    linear-gradient(180deg, rgba(8, 6, 16, .86) 0%, rgba(8, 6, 16, .42) 26%, rgba(8, 6, 16, .46) 62%, rgba(10, 10, 13, .96) 100%); }
.hero--full .hero__in { position: relative; z-index: 2; padding: 118px 0 150px; pointer-events: none; text-shadow: 0 2px 22px rgba(0, 0, 0, .75); }
.hero--full .hero__in a { pointer-events: auto; text-shadow: none; }
.hero--full .lead { color: #e4def5; }
.hero--full .hero__note { color: #c9c3dc; }
.hero--full .pill { background: rgba(12, 10, 22, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #e4def5; }
.hero--full .grad { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .7)); text-shadow: none; }
.hero--full .car__nav { z-index: 3; }
.hero--full .car__nav--prev { left: 22px; } .hero--full .car__nav--next { right: 22px; }
.hero--full .car__count { top: auto; bottom: 92px; right: 26px; z-index: 3; }
.hero--full .car__thumbs { position: absolute; inset: auto 0 0 0; z-index: 3; margin: 0; padding: 12px 26px 18px; justify-content: safe center; background: linear-gradient(180deg, transparent, rgba(8, 6, 16, .7)); scrollbar-width: none; }
.hero--full .car__thumbs::-webkit-scrollbar { display: none; }
.hero--full .car__thumbs button { width: 78px; }
@media (max-width: 640px) {
  .hero--full { min-height: 0; }
  .hero--full .hero__in { padding: 104px 0 118px; }
  .hero--full .car__track { aspect-ratio: auto; }
  .hero--full .car__nav { top: auto; bottom: 84px; transform: none; }
  .hero--full .car__nav--prev { left: 12px; } .hero--full .car__nav--next { right: 12px; }
  .hero--full .car__count { bottom: 92px; right: 62px; }
  .hero--full .car__slide figcaption { display: none; }
  .hero--full .car__thumbs { padding: 10px 12px 14px; }
  .hero--full .car__thumbs button { width: 60px; }
}
.js .hero--full .reveal { opacity: 1; transform: none; transition: none; }
/* hero plen lajè, v2: foto a nan pwopòsyon li (2:1), tèks la pi piti, sou bò goch, sou yon ti fon sonm */
.hero--full { min-height: 0; width: 100%; aspect-ratio: 2 / 1; max-height: none; justify-content: flex-start; text-align: left; }
.hero__shade { background: linear-gradient(180deg, rgba(8, 6, 16, .72) 0%, rgba(8, 6, 16, 0) 16%, rgba(8, 6, 16, 0) 74%, rgba(10, 10, 13, .9) 100%); }
.hero--full .hero__in { width: auto; margin: 0 0 0 clamp(70px, 6.5vw, 130px); max-width: min(470px, 36vw); padding: 26px 28px 28px; pointer-events: auto; text-shadow: none;
  background: rgba(9, 7, 18, .62); border: 1px solid rgba(183, 148, 255, .22); border-radius: 20px; backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.hero--full h1 { font-size: clamp(1.45rem, 2.5vw, 2.3rem); line-height: 1.16; }
.hero--full .grad { filter: none; }
.hero--full .pill { margin-bottom: 16px; padding: 5px 12px; font-size: .76rem; background: rgba(255, 255, 255, .06); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero--full .lead { margin: 14px 0 0; font-size: clamp(.84rem, 1.05vw, .96rem); line-height: 1.55; max-width: none; }
.hero--full .hero__cta { justify-content: flex-start; margin-top: 20px; gap: 10px; }
.hero--full .hero__cta .btn { padding: 11px 16px; font-size: .9rem; }
.hero--full .hero__note { margin-top: 12px; font-size: .8rem; }
@media (max-width: 1100px) {
  .hero--full { aspect-ratio: auto; max-height: none; flex-direction: column; align-items: stretch; }
  .hero--full .car { position: relative; inset: auto; order: 1; margin-top: 68px; }
  .hero--full .car__track { aspect-ratio: 2 / 1; height: auto; }
  .hero__shade { display: none; }
  .hero--full .hero__in { order: 2; margin: 18px 18px 0; max-width: none; }
  .hero--full .car__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .hero--full .car__count { bottom: auto; top: 12px; right: 12px; }
  .hero--full .car__thumbs { position: static; background: none; padding: 10px 12px 0; }
  .hero--full .car__slide figcaption { display: none; }
}
/* hero v3: foto a nan yon KAT nan gwosè REYÈL li (pa janm agrandi → pa pèdi rezolisyon); dèyè l, menm foto a an flou */
.hero--full { aspect-ratio: auto; height: min(50vw, 940px); }
.hero--full .car__slide { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero--full .car__slide .car__bg { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: blur(30px) brightness(.68) saturate(1.25); }
.hero--full .car__slide .car__img { position: relative; width: auto; height: auto; max-height: 100%; object-fit: contain; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(183, 148, 255, .18); }
@media (min-width: 1900px) { .hero--full .car__slide .car__img { border-radius: 16px; } }
@media (max-width: 1100px) { .hero--full { height: auto; } }

/* ba defile yo: ba a mov, fon an mov fonse (paj la + meni + tout bwat ki defile) */
html, * { scrollbar-color: #8b5cf6 #170d2e; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #170d2e; }
::-webkit-scrollbar-thumb { background: #8b5cf6; border-radius: 8px; border: 2px solid #170d2e; }
::-webkit-scrollbar-thumb:hover { background: #b794ff; }
::-webkit-scrollbar-corner { background: #170d2e; }
/* ---------- paj About (menm kontni ak Paramèt → Konsènan nan lojisyèl la) */
.about__head { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.about__head h1 { letter-spacing: .05em; }
.about__tag { color: var(--fg); margin-top: 6px; font-size: 1.02rem; }
.about__ver { color: var(--mute); font-size: .9rem; margin-top: 2px; }
.about__rows { margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.about__row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; }
.about__row dt { color: var(--dim); font-weight: 650; }
.about__row dd { margin: 0; }
.about__row dd a { color: var(--purple-l); font-weight: 650; }
.about__row dd a:hover { color: var(--fg); }
.about__row dd[data-i18n] { color: var(--dim); font-size: .92rem; background: var(--card); border-left: 3px solid var(--purple); border-radius: 8px; padding: 12px 14px; }
.about__intro { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); line-height: 1.7; }
.about__h { margin-top: 34px; font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--purple-l); }
.about__sec { margin-top: 28px; font-size: 1.2rem; color: var(--purple-l); }
.about__list { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 7px; color: var(--fg); }
.about__list li::marker { color: var(--purple); }
.about__outro { margin-top: 34px; color: var(--dim); font-style: italic; }
.about__credits { margin-top: 14px; color: var(--mute); font-size: .78rem; line-height: 1.55; }
.about__intro b, .about__list b { color: #fff; }
@media (max-width: 640px) { .about__row { grid-template-columns: 1fr; gap: 4px; } .about__head img { width: 54px; height: 54px; } }

/* ---------- Etidyan: ba lekòl apwouve yo + kat etidyan an + paj rechèch la ---------- */
.stud { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.schoolbar { display: flex; gap: 16px; margin-top: 34px; padding: 6px 2px 18px; overflow-x: auto; scroll-snap-type: x proximity; }
.schoolbar .school { flex: 0 0 230px; scroll-snap-align: start; }
.schoolbar--empty { display: block; padding: 26px; border: 1px dashed rgba(183, 148, 255, .45); border-radius: 16px; color: var(--dim); text-align: center; background: rgba(139, 92, 246, .05); }
.schoolbar__more { margin-top: 4px; }
.schoolbar__more a { color: var(--purple-l); font-weight: 650; }
.schoolbar__more a:hover { color: var(--fg); }
.school { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--card2), var(--card)); transition: border-color .2s, transform .2s; }
.school:hover { border-color: rgba(139, 92, 246, .6); transform: translateY(-2px); }
.school__logo { width: 96px; height: 96px; object-fit: contain; border-radius: 16px; background: #fff; padding: 8px; }
.school__logo--txt { display: grid; place-items: center; padding: 0; font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; color: #fff; background: var(--grad); }
.school__name { font-size: 1.02rem; line-height: 1.3; margin-top: 4px; }
.school__where { color: var(--dim); font-size: .88rem; }
.school__seats { color: var(--dim); font-size: .88rem; }
.school__seats b { color: var(--purple-l); font-size: 1.05rem; }
.school .btn { margin-top: auto; }
.plan--student { margin-top: 26px; display: grid; grid-template-columns: minmax(200px, .8fr) 2fr auto; gap: 30px; align-items: center; border-color: rgba(139, 92, 246, .6); box-shadow: 0 30px 80px -50px rgba(139, 92, 246, .8); }
.plan--student .plan__price { margin-top: 10px; }
.plan--student .ticks { margin: 0; }
.plan__acts { display: grid; gap: 10px; }
@media (max-width: 980px) { .plan--student { grid-template-columns: 1fr; } }
.schoolfind { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; max-width: 760px; }
.schoolfind label { grid-column: 1 / -1; color: var(--dim); font-weight: 650; }
.schoolfind input { width: 100%; padding: 15px 18px; font: inherit; font-size: 1.05rem; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 14px; outline: none; }
.schoolfind input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.schoolfind__n { min-width: 46px; text-align: center; padding: 8px 12px; border-radius: 99px; font-weight: 800; color: var(--purple-l); border: 1px solid rgba(139, 92, 246, .4); }
.schools { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.schools:empty { display: none; }
.schools__none { margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--dim); }
.js .stud .reveal, .js #schools .reveal { opacity: 1; transform: none; }
.schoolsband { padding: 80px 0 0; position: relative; }
.schoolsband__act { margin-top: 18px; }
.js .schoolsband .reveal { opacity: 1; transform: none; }
.school[hidden] { display: none; }

/* ---------- PYE PAJ TOUJOU ANBA: yon paj kout pa kite pye paj la monte ---------- */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; min-width: 0; }
body > .footer { flex: none; width: 100%; }

/* ---------- paj legal yo: tèks long, fasil pou li ---------- */
.legal h1 { margin-bottom: 10px; }
.legal__date { color: var(--mute); font-size: .92rem; margin: 0 0 6px; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 44px 0 12px; letter-spacing: -.01em; }
.legal > p { color: var(--dim); font-size: 1.03rem; line-height: 1.75; margin: 0 0 14px; }
.legal > p.sub { margin-top: 16px; }
.legal .ticks { margin: 14px 0 6px; }
.legal .ticks li { color: var(--dim); font-size: 1.02rem; line-height: 1.7; }
.legal__sum { margin: 34px 0 6px; }
.legal__sum h4 { margin: 0 0 4px; }
.legal__sum .ticks li { color: var(--fg); }
.ticks--no li::before { background: rgba(248, 113, 113, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal__nav b { width: 100%; color: var(--fg); margin-bottom: 4px; }
.legal__nav a { color: var(--dim); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: .92rem; }
.legal__nav a:hover { color: var(--fg); border-color: rgba(139, 92, 246, .55); text-decoration: none; }
.legal__nav a.is-active { color: #fff; background: rgba(139, 92, 246, .2); border-color: rgba(139, 92, 246, .55); }
.footer__cols { gap: 48px; }
@media (max-width: 1100px) { .footer__cols { gap: 32px; flex-wrap: wrap; } }

/* ---------- jounal chanjman ---------- */
.log { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px 30px; padding: 34px 0; border-top: 1px solid var(--line); }
.log:first-of-type { margin-top: 44px; }
.log__when { display: grid; gap: 6px; align-content: start; }
.log__when time { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.log__n { color: var(--mute); font-size: .88rem; }
.log__n b { color: var(--purple-l); }
.log__body h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.01em; }
.log__body .ticks li { color: var(--dim); font-size: 1.01rem; line-height: 1.65; }
@media (max-width: 720px) { .log { grid-template-columns: 1fr; } .log__when { display: flex; gap: 14px; align-items: baseline; } }

/* ---------- paj Mak ---------- */
.brandgrid { margin-top: 44px; }
.brandcard { display: grid; gap: 14px; justify-items: start; }
.brandcard__img { display: grid; place-items: center; width: 100%; height: 150px; border-radius: 12px; background: #0a0a0d; border: 1px solid var(--line); }
.brandcard h4 { margin: 0; }
.brandnote { color: var(--dim); margin-top: 26px; max-width: 760px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 34px; }
.sw { display: grid; gap: 6px; }
.sw__c { height: 96px; border-radius: 14px; border: 1px solid var(--line); }
.sw__c--purple { background: #8b5cf6; } .sw__c--lilac { background: #b794ff; } .sw__c--blue { background: #0098ff; }
.sw__c--night { background: #0a0a0d; } .sw__c--text { background: #ece9f5; }
.sw code { color: var(--mute); font-size: .88rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- MEGA MENI nan tèt paj la ---------- */
.mm { position: relative; }
.mm__btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--dim); }
.mm__btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.mm__btn:hover, .mm:hover .mm__btn, .mm.is-open .mm__btn { color: var(--fg); }
.mm.is-here .mm__btn { color: var(--purple-l); font-weight: 600; }
.mm__btn:focus-visible { outline: 2px solid var(--purple-l); outline-offset: 4px; border-radius: 6px; }
.mm:hover .mm__btn svg, .mm.is-open .mm__btn svg { transform: rotate(180deg); }
.mm__panel { position: absolute; top: 100%; left: -20px; padding-top: 18px; display: none; z-index: 60; }
.mm--end .mm__panel { left: auto; right: -20px; }
.mm:hover .mm__panel, .mm:focus-within .mm__panel, .mm.is-open .mm__panel { display: block; }
.mm__box { display: flex; gap: 8px; padding: 12px; white-space: normal; background: #14131b; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.mm__grid { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 2px; align-content: start; }
.mm__item { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; }
.mm__item b { color: var(--fg); font-weight: 650; font-size: .96rem; }
.mm__item small { color: var(--mute); font-size: .84rem; line-height: 1.4; }
.mm__item:hover { background: rgba(139, 92, 246, .14); }
.mm__item:hover small { color: var(--dim); }
.mm__item.is-active b { color: var(--purple-l); }
.mm__side { display: grid; gap: 7px; align-content: start; min-width: 220px; padding: 11px 16px 11px 20px; border-left: 1px solid var(--line); font-size: .9rem; }
.mm__side b { color: var(--fg); margin-bottom: 2px; }
@media (max-width: 1180px) {
  .mm { border-bottom: 1px solid #18171f; }
  .mm__btn { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.05rem; color: var(--fg); }
  .mm__panel, .mm--end .mm__panel { position: static; padding: 0 0 10px; }
  .mm:hover .mm__panel, .mm:focus-within .mm__panel { display: none; }
  .mm.is-open .mm__panel { display: block; }
  .mm__box { flex-direction: column; padding: 0; background: none; border: 0; box-shadow: none; }
  .mm__grid { grid-template-columns: 1fr; }
  .nav__links .mm__item { padding: 9px 0 9px 14px; border-bottom: 0; font-size: 1rem; }
  .mm__side { border-left: 0; padding: 8px 0 0 14px; }
  .nav__links .mm__side a { padding: 7px 0; border-bottom: 0; font-size: .96rem; color: var(--dim); }
}

/* ---------- paj Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 44px; }
.posts:empty { display: none; }
.post { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.post:hover { border-color: rgba(139, 92, 246, .6); transform: translateY(-3px); }
.post__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(120deg, rgba(139, 92, 246, .35), rgba(0, 152, 255, .25)); }
.post__in { display: grid; gap: 8px; padding: 20px 22px 22px; align-content: start; }
.post__in time { color: var(--mute); font-size: .84rem; }
.post__in b { color: var(--fg); font-size: 1.16rem; line-height: 1.35; }
.post__in > span { color: var(--dim); font-size: .96rem; }
.post__more { font-style: normal; color: var(--purple-l); font-weight: 650; font-size: .92rem; margin-top: 4px; }
.postview { max-width: 780px; margin: 0 auto; }
.postview__back a { color: var(--purple-l); font-weight: 650; }
.postview h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 18px 0 10px; }
.postview__meta { color: var(--mute); margin: 0 0 26px; }
.postview__cover { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin: 0 0 30px; }
.postview__body { color: var(--dim); font-size: 1.08rem; line-height: 1.8; }
.postview__body p, .postview__body ul, .postview__body blockquote { margin: 0 0 18px; }
.postview__body h2 { color: var(--fg); font-size: 1.5rem; margin: 38px 0 12px; }
.postview__body h3 { color: var(--fg); font-size: 1.2rem; margin: 28px 0 10px; }
.postview__body a { color: var(--purple-l); text-decoration: underline; }
.postview__body strong { color: var(--fg); }
.postview__body code { font-family: "Cascadia Code", Consolas, monospace; font-size: .9em; background: rgba(139, 92, 246, .14); padding: 2px 6px; border-radius: 6px; }
.postview__body blockquote { border-left: 3px solid var(--purple); padding: 4px 0 4px 18px; color: var(--fg); }
.postview__body ul { padding-left: 22px; }

/* ---------- animasyon «AI ap kode» (paj akèy) ---------- */
.lc { margin-top: 46px; }
.lc__in { display: grid; grid-template-columns: minmax(250px, 34%) minmax(0, 1fr); min-height: 380px; background: #0d0c13; text-align: left; }
.lc__chat { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-right: 1px solid var(--line); background: #100f17; }
.lc__head { color: var(--mute); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lc__chat p { margin: 0; font-size: .92rem; line-height: 1.5; }
.lc__me { align-self: flex-end; max-width: 92%; background: rgba(139, 92, 246, .22); border: 1px solid rgba(139, 92, 246, .4); color: var(--fg); padding: 9px 13px; border-radius: 14px 14px 4px 14px; }
.lc__ai { display: grid; gap: 3px; color: var(--dim); }
.lc__ai b { color: var(--purple-l); font-size: .8rem; }
.lc__tool { color: var(--mute); font-family: "Cascadia Code", Consolas, monospace; font-size: .82rem !important; }
.lc__tool code { color: #7dd3fc; background: rgba(125, 211, 252, .1); padding: 1px 6px; border-radius: 5px; margin-right: 6px; }
.lc__diff { display: flex; flex-direction: column; min-width: 0; }
.lc__tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--mute); }
.lc__tabs > span { padding: 7px 14px; border-radius: 9px 9px 0 0; }
.lc__tabs > span.is-on { color: var(--fg); background: #1a1824; border: 1px solid var(--line); border-bottom: 0; }
.lc__cols { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 0; }
.lc__code { margin: 0; padding: 14px 0; overflow: hidden; font: .8rem/1.75 "Cascadia Code", Consolas, monospace; color: #c9c5d8; white-space: pre; }
.lc__code--new { border-left: 1px solid var(--line); }
.lc__code { white-space: normal; }
.lc__code .l { display: block; padding: 0 14px; white-space: pre; }
.lc__code .l.add { background: rgba(52, 211, 153, .13); box-shadow: inset 3px 0 0 #34d399; color: #d1fae5; }
.lc__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); background: #100f17; font-size: .88rem; color: var(--dim); }
.lc__bar > span:first-child { margin-right: auto; }
.lc__btn { border: 1px solid var(--line); border-radius: 9px; padding: 6px 14px; color: var(--fg); font-weight: 650; }
.lc__btn--ok { background: var(--grad); border-color: transparent; color: #fff; }
.lc__note { color: var(--mute); font-size: .86rem; margin-top: 14px; text-align: center; }
.js .lc [data-step] { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.js .lc .l.add[data-step] { transform: none; clip-path: inset(0 100% 0 0); transition: opacity .1s linear, clip-path .7s steps(28, end); }
.js .lc [data-step].is-on { opacity: 1; transform: none; }
.js .lc .l.add[data-step].is-on { clip-path: inset(0 0 0 0); }
@media (min-width: 861px) {
  .nav__links .nav__link--client { display: none; }
}
@media (max-width: 860px) {
  .lc__in { grid-template-columns: 1fr; }
  .lc__chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .lc__cols { grid-template-columns: 1fr; }
  .lc__cols .lc__code:first-child { display: none; }
  .lc__code--new { border-left: 0; }
}

/* yon eleman «hidden» toujou kache, menm si yon lòt règ ba l yon display */
[hidden] { display: none !important; }
.mm__grid:has(> :nth-child(2):last-child) { grid-template-columns: minmax(230px, 1fr); }

/* anrejistreman anime paj akèy la */
.window--live { cursor: zoom-in; margin-top: 46px; }
.window--live img { display: block; width: 100%; height: auto; }

/* ---------- kat foto ki glise (etidyan) ---------- */
.sl { position: relative; margin: 38px 0 10px; --sl-gap: 18px; }
.sl__track { display: flex; gap: var(--sl-gap); justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); outline-offset: 3px; }
.sl__track::-webkit-scrollbar { display: none; }
.sl__slide { flex: 0 0 calc((100% - 2 * var(--sl-gap)) / 3); min-width: 0; margin: 0; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--card2), var(--card)); transition: border-color .2s ease; }
.sl__slide:hover { border-color: rgba(139, 92, 246, .55); }
.sl__slide img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #0d0c13; }
.sl__slide figcaption { padding: 14px 16px 16px; color: var(--fg); font-weight: 650; font-size: .96rem; line-height: 1.4; text-align: left; }
.sl__slide figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sl__nav { all: unset; box-sizing: border-box; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; font-size: 1.8rem; line-height: 1; background: rgba(10, 10, 13, .78); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); transition: background .2s ease, border-color .2s ease; }
.sl__nav:hover, .sl__nav:focus-visible { background: rgba(139, 92, 246, .9); border-color: transparent; }
.sl__nav--prev { left: -14px; }
.sl__nav--next { right: -14px; }
@media (max-width: 1260px) { .sl__nav--prev { left: 8px; } .sl__nav--next { right: 8px; } }
@media (max-width: 980px) { .sl__slide { flex-basis: calc((100% - var(--sl-gap)) / 2); } }
@media (max-width: 640px) { .sl { --sl-gap: 12px; } .sl__slide { flex-basis: 100%; } .sl__nav { width: 40px; height: 40px; font-size: 1.5rem; } .sl__slide figcaption { font-size: .9rem; padding: 12px 14px 14px; } }

/* DEVIZ mak la, tou piti bò kote non WASDEV */
.brand__motto { font-size: .62em; font-weight: 600; letter-spacing: .01em; opacity: .72; white-space: nowrap; margin-left: -2px; }
