/* Shopclic — socle commun : jetons de marque, typographie, boutons, en-tête, pied de page. */

:root {
  --bg: #07080a;
  --bg-2: #0b0c0f;
  --surface: #0f1114;
  --surface-2: #14171b;
  --surface-3: #1b1f24;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #f2f4ef;
  --text-2: #b7beb7;
  --text-3: #7f8781;
  --text-4: #575e59;

  --lime: #d6ff4a;
  --lime-2: #bdf23c;
  --mint: #7cf0a0;
  --teal: #36d6c1;
  --violet: #7b6cff;
  --rose: #ff7eb8;
  --danger: #ff6b6b;
  --on-lime: #0c1003;

  --grad: linear-gradient(100deg, #ecff78 0%, #9cf08f 48%, #3ed8c2 100%);
  --grad-btn: linear-gradient(180deg, #ecff7d 0%, #c8f63e 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 28px);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

p {
  margin: 0;
}

::selection {
  background: rgba(214, 255, 74, 0.88);
  color: var(--on-lime);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 8px;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typographie ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

/* Le mot qui compte : italique éditoriale, teinte « argent qui rentre ». */
h1 em,
h2 em,
h3 em,
.em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
  margin-right: -0.04em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.kicker::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(214, 255, 74, 0.85);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono {
  font-family: var(--mono);
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
}

.logo-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.logo-texte {
  font-weight: 680;
  letter-spacing: -0.05em;
}

.logo-tld {
  color: var(--text-3);
  font-weight: 600;
}

/* ---------- Boutons ---------- */

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    opacity 0.2s;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  color: var(--on-lime);
  background: var(--grad-btn);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(214, 255, 74, 0.38),
    0 12px 34px -12px rgba(200, 255, 70, 0.62);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(214, 255, 74, 0.55),
    0 18px 46px -12px rgba(200, 255, 70, 0.78);
}

.btn-primary[disabled],
.btn-primary[aria-disabled="true"] {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-second {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
}

.btn-second:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-3);
}

.btn-blanc {
  color: #0b0c0e;
  background: #f4f6f1;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.35);
}

.btn-blanc:hover {
  transform: translateY(-1px);
  background: #fff;
}

.btn-lg {
  --h: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-xl {
  --h: 64px;
  padding: 0 34px;
  font-size: 17px;
}

.btn-sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-bloc {
  width: 100%;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  border-radius: 8px;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
}

/* ---------- En-tête ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.88), rgba(7, 8, 10, 0.62));
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topnav-lien {
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s;
}

.topnav-lien:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .topnav-lien {
    display: none;
  }
}

@media (max-width: 420px) {
  .topnav .btn-second {
    display: none;
  }
}

/* ---------- Pied de page ---------- */

.pied {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  color: var(--text-3);
  font-size: 14px;
}

.pied-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.pied-marque {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pied-marque .logo {
  font-size: 15px;
  opacity: 0.85;
}

.pied-marque .logo-mark {
  width: 22px;
  height: 22px;
}

.pied-liens {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.pied-liens a:hover {
  color: var(--text);
}

/* ---------- Divers ---------- */

.point-vert {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(124, 240, 160, 0.16), 0 0 12px rgba(124, 240, 160, 0.8);
  animation: pulse-point 2.4s ease-in-out infinite;
}

@keyframes pulse-point {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(124, 240, 160, 0.16), 0 0 12px rgba(124, 240, 160, 0.8);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(124, 240, 160, 0.06), 0 0 18px rgba(124, 240, 160, 0.9);
  }
}

.chip-exemple {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  vertical-align: middle;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.pied-mention {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-4);
}
