:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #16141b;
  --text-muted: #68636f;
  --border: rgba(20, 17, 26, 0.10);

  --maoumi-purple: #9c4dff;
  --maoumi-magenta: #d83fd3;

  --header-height: 78px;
}

[data-theme="dark"] {
  --bg: #111015;
  --surface: rgba(17, 16, 21, 0.88);
  --text: #f7f5fa;
  --text-muted: #aaa4b2;
  --border: rgba(255, 255, 255, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: var(--header-height);

  background: var(--surface);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1280px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


/* LOGO */

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 225px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}


/* NAVIGATION */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;

  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--maoumi-purple);
}


/* ACTIONS */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 17px;

  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      var(--maoumi-purple),
      var(--maoumi-magenta)
    );

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.discord-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.language-button,
.theme-button,
.menu-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);

  height: 40px;
  min-width: 40px;

  border-radius: 12px;

  cursor: pointer;
}

.language-button {
  padding: 0 12px;
  font-weight: 650;
}

.theme-button {
  font-size: 1.15rem;
}


/* MENU MOBILE */

.menu-button {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}


/* RESPONSIVE */

@media (max-width: 850px) {

  .header-inner {
    width: min(100% - 28px, 1280px);
  }

  .main-nav {
    position: absolute;

    top: var(--header-height);
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    padding: 24px;

    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 7px 0;
    font-size: 1rem;
  }

  .menu-button {
    display: flex;
  }

  .discord-link {
    display: none;
  }

  .brand-logo {
    width: 135px;
  }
}

@media (max-width: 460px) {

  .language-button {
    display: none;
  }

}
/* HERO */

.hero {
  padding: 32px 0 100px;
}

.hero-inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.hero-content {
  max-width: 650px;
}

.hero-kicker {
  display: inline-flex;

  margin-bottom: 22px;
  padding: 8px 13px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--maoumi-purple);

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;

  color: var(--text);

  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;

  background:
    linear-gradient(
      135deg,
      var(--maoumi-purple),
      var(--maoumi-magenta)
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 610px;

  margin: 28px 0 0;

  color: var(--text-muted);

  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 22px;

  border-radius: 14px;

  text-decoration: none;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--maoumi-purple),
      var(--maoumi-magenta)
    );
}

.button-secondary {
  color: var(--text);

  border: 1px solid var(--border);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--maoumi-purple);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-top: 25px;

  color: var(--text-muted);

  font-size: 0.87rem;
}


/* VIDEO */

.hero-media {
  position: relative;
}

.video-placeholder {
  min-height: 390px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 40px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: 28px;

  background:
    radial-gradient(
      circle at top right,
      rgba(156, 77, 255, 0.18),
      transparent 45%
    ),
    var(--surface);
}

.video-placeholder-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;

  margin-bottom: 18px;
}

.video-placeholder p {
  margin: 0 0 8px;

  color: var(--text);

  font-size: 1.2rem;
  font-weight: 700;
}

.video-placeholder span {
  color: var(--text-muted);
  font-size: 0.92rem;
}


/* RESPONSIVE HERO */

@media (max-width: 950px) {

  .hero {
    padding: 70px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-media {
    max-width: 760px;
  }

}

@media (max-width: 600px) {

  .hero {
    padding: 55px 0 65px;
  }

  .hero-inner {
    width: min(100% - 28px, 1280px);
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.7rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-notes {
    flex-direction: column;
    gap: 8px;
  }

  .video-placeholder {
    min-height: 300px;
  }

}
/* NAVIGATION PRODUIT */

.product-nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.product-nav-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 54px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.product-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-nav a:hover {
  color: var(--maoumi-purple);
}

.product-nav-cta {
  padding: 8px 15px;
  border-radius: 10px;

  color: #fff !important;

  background:
    linear-gradient(
      135deg,
      var(--maoumi-purple),
      var(--maoumi-magenta)
    );
}

@media (max-width: 850px) {

  .product-nav {
    overflow-x: auto;
  }

  .product-nav-inner {
    width: max-content;
    min-width: 100%;
    padding: 0 14px;
    justify-content: flex-start;
    gap: 18px;
  }

}