/* Kyndos — site vitrine */

@font-face {
  font-family: "Flexing Geometreic";
  src: local("Flexing Geometreic"), url("../fonts/flexing-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flexing Geometreic";
  src: local("Flexing Geometreic Bold"), url("../fonts/flexing-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #6b59ad;
  --violet-soft: #8574b8;
  --violet-deep: #5548a0;
  --violet-faint: rgba(107, 89, 173, 0.28);
  --violet-glow: rgba(107, 89, 173, 0.45);

  --bg: #f4f4f5;
  --bg-light: #fafafa;
  --bg-dark: #141418;
  --bg-dark-elevated: #1c1c22;

  --ink: #18181b;
  --ink-soft: #3f3f46;
  --ink-muted: #65656b;
  --on-dark: #f4f4f5;
  --on-dark-muted: #a1a1aa;

  --line: #e4e4e7;

  --layout: 1120px;
  --layout-narrow: 720px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 5.25rem;
  --panel-y: clamp(4.5rem, 10vw, 6.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(107, 89, 173, 0.18);
  color: var(--ink);
}

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

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

a:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

.layout {
  width: min(var(--layout), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.layout--narrow {
  width: min(var(--layout-narrow), 100% - var(--pad) * 2);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.72rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, transform 0.15s var(--ease), box-shadow 0.2s;
}

.btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--violet-soft) 0%, var(--violet) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 24px rgba(107, 89, 173, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #9585c4 0%, var(--violet-soft) 100%);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 12px 32px rgba(107, 89, 173, 0.42);
}

.btn--ghost {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--on-dark {
  color: var(--on-dark);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--line);
}

.badge--muted {
  color: var(--ink-muted);
  background: var(--bg);
}

.skip {
  position: absolute;
  inset: 0.75rem auto auto 0.75rem;
  z-index: 200;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-dark);
  background: var(--bg-dark);
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform 0.15s;
}

.skip:focus {
  transform: translateY(0);
  outline: 2px solid var(--violet-soft);
  outline-offset: 2px;
}

/* ── Media frame (screenshots) ───────────────────────────────────────────── */

.media-frame {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-light);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.07);
}

.media-frame--light {
  background: var(--bg-light);
  border-color: var(--violet-faint);
}

.media-frame--dark {
  background: #0d0f1a;
  border-color: rgba(107, 89, 173, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.media-frame__img--placeholder {
  opacity: 0.88;
}

.media-frame__img--illu {
  padding: clamp(1rem, 3vw, 1.75rem);
  object-fit: contain;
  object-position: center;
}

.media-frame__img:not(.media-frame__img--placeholder):not(.media-frame__img--illu) {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
}

/* ── Text links ──────────────────────────────────────────────────────────── */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--violet);
  border-bottom: 1px solid var(--violet-faint);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s, gap 0.15s var(--ease);
}

.text-link:hover {
  color: var(--violet-soft);
  border-color: var(--violet-soft);
  gap: 0.5rem;
}

.text-link--muted {
  color: var(--ink-muted);
  border-color: var(--line);
  cursor: default;
}

.text-link--muted:hover {
  color: var(--ink-muted);
  border-color: var(--line);
  gap: 0.3rem;
}

/* ── Logo ────────────────────────────────────────────────────────────────── */

.logo {
  font-family: "Flexing Geometreic", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── Topbar ──────────────────────────────────────────────────────────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.topbar__logo {
  font-size: 1.875rem;
  letter-spacing: 0.08em;
  transition: opacity 0.15s;
}

.topbar__logo:hover { opacity: 0.82; }

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__cta {
  margin-left: 0.25rem;
}

.topbar[data-theme="dark"] .topbar__cta.btn--primary {
  box-shadow: 0 8px 24px rgba(107, 89, 173, 0.4);
}

.topbar[data-theme="light"] .btn--ghost {
  color: var(--ink-soft);
  background: var(--bg);
  border-color: var(--line);
}

.topbar[data-theme="light"] .btn--ghost:hover {
  background: var(--bg-light);
  border-color: var(--violet-faint);
}

.topbar__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.topbar[data-theme="dark"] .topbar__logo { color: var(--on-dark); }
.topbar[data-theme="dark"] .topbar__nav a { color: var(--on-dark-muted); }
.topbar[data-theme="dark"] .topbar__nav a:hover,
.topbar[data-theme="dark"] .topbar__nav a.is-active { color: var(--on-dark); }

.topbar[data-theme="light"] {
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.topbar[data-theme="light"] .topbar__logo { color: var(--violet); }
.topbar[data-theme="light"] .topbar__nav a { color: var(--ink-muted); }
.topbar[data-theme="light"] .topbar__nav a:hover { color: var(--ink); }
.topbar[data-theme="light"] .topbar__nav a.is-active { color: var(--violet); }

.topbar__menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.topbar__menu-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.topbar[data-theme="dark"] .topbar__menu { color: var(--on-dark); }
.topbar[data-theme="light"] .topbar__menu { color: var(--ink); }

.topbar.is-open .topbar__menu-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.topbar.is-open .topbar__menu-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── Intro ───────────────────────────────────────────────────────────────── */

.intro {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 var(--panel-y);
  background: linear-gradient(168deg, #17171d 0%, var(--bg-dark) 50%, #101014 100%);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(107, 89, 173, 0.22);
}

.intro__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: radial-gradient(circle, var(--violet-glow) 0%, transparent 68%);
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.intro__grid {
  position: relative;
  z-index: 1;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr min(36%, 400px);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.intro__heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.375rem);
}

.intro__logo {
  font-size: clamp(2.875rem, 10vw, 5.25rem);
  letter-spacing: 0.085em;
  color: var(--on-dark);
}

.intro__title {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 22ch;
  color: rgba(244, 244, 245, 0.88);
}

.intro__text {
  margin: 1.625rem 0 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--on-dark-muted);
}

.intro__hl {
  font-weight: 600;
  color: rgba(244, 244, 245, 0.92);
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1rem;
  margin-top: 2rem;
}

.intro__frame {
  box-shadow:
    0 0 0 1px rgba(107, 89, 173, 0.25),
    0 24px 64px rgba(0, 0, 0, 0.45);
}

.intro__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 3px;
  transition: border-color 0.15s, color 0.15s, gap 0.15s var(--ease);
}

.intro__link--dim {
  color: var(--on-dark-muted);
  border-color: rgba(255, 255, 255, 0.14);
}

.intro__link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  gap: 0.55rem;
}

.intro__link--dim:hover {
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}

.intro__figure {
  margin: 0;
  justify-self: end;
}

/* ── Panels ──────────────────────────────────────────────────────────────── */

.panel {
  padding: var(--panel-y) 0;
  background: var(--bg);
}

.panel--light { background: var(--bg-light); }

.panel--dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f13 100%);
  color: var(--on-dark);
  border-top: 1px solid rgba(107, 89, 173, 0.2);
}

.panel--produits {
  border-top: 2px solid var(--violet);
  background: var(--bg);
}

.panel__head--center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.panel__cta {
  margin: 2.75rem 0 0;
  text-align: center;
}

/* ── Client offers ─────────────────────────────────────────────────────── */

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.offer:hover {
  border-color: var(--violet-faint);
  box-shadow: 0 12px 40px rgba(107, 89, 173, 0.1);
  transform: translateY(-2px);
}

.offer__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
}

.offer h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.offer p {
  margin: 0.625rem 0 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.offer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1.125rem 0 0;
  padding: 0;
}

.offer__tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--violet-deep);
  padding: 0.25rem 0.55rem;
  background: rgba(107, 89, 173, 0.08);
  border-radius: 6px;
}

/* ── Skills grid ───────────────────────────────────────────────────────── */

.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.skill {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.skill:hover {
  border-color: var(--violet-faint);
}

.skill h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.skill p {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq__item summary {
  padding: 1.125rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform 0.2s var(--ease);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item summary:hover {
  color: var(--violet);
}

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ── Scroll reveal ─────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.panel__title--brand,
.product__copy h2.panel__title--brand,
.product__name.panel__title--brand {
  color: var(--violet);
}

.panel__head h2,
.product__copy h2,
.product__name {
  margin: 0;
  font-size: clamp(1.625rem, 2.8vw, 1.9375rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.product__name {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

.panel__head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.panel__head--compact {
  margin-bottom: 2rem;
}

.panel__head p {
  margin: 0.875rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* ── Method ──────────────────────────────────────────────────────────────── */

.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.method__step h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.method__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--violet);
}

.method__step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

/* ── Expertises ──────────────────────────────────────────────────────────── */

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.fields__label {
  margin: 0 0 0.875rem;
  padding-bottom: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--violet);
}

.fields__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fields__list li {
  padding: 1.0625rem 0;
  border-bottom: 1px solid var(--line);
}

.fields__list li:first-child {
  border-top: 1px solid var(--violet-faint);
}

.fields__list strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.fields__list span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

/* ── Produits ────────────────────────────────────────────────────────────── */

.products {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.products .product + .product {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: 1fr min(42%, 480px);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.product__copy > p:not(.product__meta):not(.product__foot) {
  margin: 0.875rem 0 1.375rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 30rem;
}

.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.product__meta span:not(:last-child)::after {
  content: "·";
  margin: 0 0.5rem;
  opacity: 0.45;
}

.product__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 1.625rem 0 0;
}

.product__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.product__features li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.25rem 0;
}

.product__features li::before {
  content: "—";
  margin-right: 0.4rem;
  color: var(--violet);
}

.product__media {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

.product--reverse .product__media {
  justify-self: start;
}

.panel--contact {
  border-top: none;
}

.panel--contact.panel--dark .contact__title {
  color: var(--on-dark);
}

.panel--contact.panel--dark .contact__lead {
  color: var(--on-dark-muted);
}

.panel--contact.panel--dark .contact__email {
  color: var(--violet-soft);
  border-color: rgba(133, 116, 184, 0.4);
}

.panel--contact.panel--dark .contact__aside-label {
  color: var(--on-dark-muted);
}

.panel--contact.panel--dark .contact__discord {
  border-color: rgba(255, 255, 255, 0.1);
}

.panel--contact.panel--dark .contact__discord-text strong {
  color: var(--on-dark);
}

.panel--contact.panel--dark .contact__topics li {
  color: var(--on-dark-muted);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ── Contact ─────────────────────────────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: 1fr min(20rem, 100%);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}

.contact__title {
  margin: 0;
  font-size: clamp(1.625rem, 2.8vw, 1.9375rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.contact__lead {
  margin: 0.875rem 0 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.contact__email {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--violet);
  border-bottom: 2px solid var(--violet-faint);
  padding-bottom: 4px;
  transition: color 0.15s, border-color 0.15s;
}

.contact__email:hover {
  color: var(--violet-soft);
  border-color: var(--violet-soft);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact__topics {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.contact__topics li {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact__topics li:last-child {
  border-bottom: none;
}

.contact__aside-label {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.contact__discord {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.15s;
}

.contact__discord:hover {
  opacity: 0.75;
}

.contact__discord-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.contact__discord-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.contact__discord-text small {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.contact__discord-arrow {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  transition: transform 0.15s var(--ease);
}

.contact__discord:hover .contact__discord-arrow {
  transform: translateX(3px);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.bottom {
  padding: 2rem 0 2.5rem;
  background: var(--bg-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}

.bottom__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.bottom__logo {
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  color: var(--on-dark);
}

.bottom__nav {
  display: flex;
  gap: 1.375rem;
}

.bottom__nav a {
  transition: color 0.15s;
}

.bottom__nav a:hover { color: var(--on-dark); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (min-width: 901px) {
  .product--reverse {
    grid-template-columns: min(42%, 480px) 1fr;
  }

  .product--reverse .product__media {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .product--reverse .product__copy {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 720px) {
  .topbar__menu {
    display: flex;
  }

  .topbar__nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--pad) 1.25rem;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.2s;
  }

  .topbar.is-open .topbar__nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .topbar__nav a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
  }

  .topbar__nav .topbar__cta {
    display: inline-flex;
    margin: 0.75rem 0 0;
    width: 100%;
    justify-content: center;
    border-bottom: none;
  }

  .topbar__nav a:last-child {
    border-bottom: none;
  }

  .topbar__nav a.is-active {
    color: var(--violet);
  }

  .topbar[data-theme="dark"]:not(.is-open) .topbar__nav {
    background: rgba(20, 20, 24, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .topbar[data-theme="dark"]:not(.is-open) .topbar__nav a {
    color: var(--on-dark-muted);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr;
  }

  .intro__figure {
    max-width: 100%;
    justify-self: start;
  }

  .intro__figure .media-frame {
    max-width: 320px;
  }

  .offers { grid-template-columns: 1fr 1fr; }
  .skills { grid-template-columns: 1fr 1fr; }
  .method { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .product {
    grid-template-columns: 1fr;
  }

  .product__media {
    max-width: 100%;
    justify-self: start;
  }

  .product--reverse .product__media {
    order: -1;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact__aside {
    max-width: 20rem;
  }
}

@media (max-width: 640px) {
  .offers { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .intro {
    padding-top: calc(var(--header-h) + 2.75rem);
  }

  .product__features { grid-template-columns: 1fr; }
  .bottom__row { flex-direction: column; align-items: flex-start; }
  .bottom__nav { flex-wrap: wrap; gap: 0.875rem 1.125rem; }
}

/* ── Legal (CGU) ─────────────────────────────────────────────────────────── */

.topbar--legal {
  position: sticky;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar--legal .topbar__logo {
  color: var(--violet);
  font-size: 1.5rem;
}

.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  background: var(--bg-light);
}

.legal__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.legal__meta {
  margin: 0.75rem 0 2.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.legal__section {
  padding-top: 1.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.legal__section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.legal__section h2 {
  margin: 0 0 0.875rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal__section p,
.legal__section li {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.legal__section ul {
  margin: 0 0 0.875rem;
  padding-left: 1.25rem;
}

.legal__section li {
  margin-bottom: 0.35rem;
}

.legal__section a {
  color: var(--violet);
  border-bottom: 1px solid var(--violet-faint);
}

.legal__section a:hover {
  color: var(--violet-soft);
  border-color: var(--violet-soft);
}
