/* Pulso : polices auto-hébergées, jetons de couleur (clair et sombre), éléments communs aux pages. */

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Jetons ---------- */
:root {
  --font-display: "Archivo Variable", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree Variable", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Accents (communs aux deux thèmes, toujours avec texte noir dessus) */
  --p-coral: #ff5b45;
  --p-coral-hover: #ff7461;
  --p-pink: #ff2d7a;
  --p-lime: #c8ff3e;
  --p-sky: #3ccfff;

  /* Clair : blanc, gris perle */
  --kit-bg: #ffffff;
  --kit-fg: #0a0a0a;
  --kit-surface: #f1f1f3;
  --kit-line: #dcdce2;
  --kit-muted: #5a5a64;
  --kit-accent: #d6361f;
  --accent-ink: #c2321f;
  --danger: #b8281a;
  --ring-move: #ff5b45;
  --ring-burn: #7fc400;
  --ring-water: #12a8e0;
  --switch-off: #c4c4cc;
  --tabbar-bg: rgba(255, 255, 255, 0.8);
  --chart-mark: #ffb4a9;
  --chart-mark-strong: #ff5b45;
  --page-glow-a: rgba(255, 91, 69, 0.28);
  --page-glow-b: rgba(255, 45, 122, 0.16);
  --page-glow-c: rgba(200, 255, 62, 0.2);
  --grain: url("/img/grain.svg");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%237a7a84' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] {
  /* Sombre : noir profond, comme un écran OLED */
  --kit-bg: #000000;
  --kit-fg: #f5f5f2;
  --kit-surface: #141417;
  --kit-line: #2c2c31;
  --kit-muted: #a3a3ad;
  --kit-accent: #c8ff3e;
  --accent-ink: #ff8170;
  --danger: #ff7464;
  --ring-move: #ff5b45;
  --ring-burn: #c8ff3e;
  --ring-water: #3ccfff;
  --switch-off: #3a3a41;
  --tabbar-bg: rgba(30, 30, 34, 0.74);
  --chart-mark: #6b2a22;
  --chart-mark-strong: #ff5b45;
  --page-glow-a: rgba(255, 91, 69, 0.34);
  --page-glow-b: rgba(255, 45, 122, 0.22);
  --page-glow-c: rgba(200, 255, 62, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--kit-bg);
  color: var(--kit-fg);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
}
::selection {
  background: var(--p-coral);
  color: #000;
}

/* ---------- Marque ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 900 22px/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.logo svg {
  width: 34px;
  height: 34px;
  flex: none;
}
.logo__bg {
  fill: var(--p-coral);
}
.logo__line {
  fill: none;
  stroke: #000;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- En-tête ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}
.site-head__in {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 40px);
  transition: padding 0.35s var(--kit-ease);
}
.site-head.is-compact {
  background: color-mix(in srgb, var(--kit-bg) 96%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--kit-line);
}
.site-head.is-compact .site-head__in {
  padding-block: 10px;
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--kit-muted);
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--p-coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--kit-ease);
}
.site-nav a:hover {
  color: var(--kit-fg);
}
.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav + .site-head__actions {
  margin-left: 6px;
}
.site-head__actions:first-child,
.logo + .site-head__actions {
  margin-left: auto;
}
@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .site-head__actions,
  .site-nav + .site-head__actions {
    margin-left: auto;
  }
}

/* ---------- Boutons de page ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 750 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--kit-ease),
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}
.cta svg {
  width: 18px;
  height: 18px;
}
.cta--primary {
  background: var(--p-coral);
  color: #000;
  box-shadow: 0 18px 40px -18px var(--p-coral);
}
.cta--primary:hover {
  background: var(--p-coral-hover);
  box-shadow: 0 22px 50px -16px var(--p-coral);
}
.cta--ghost {
  border-color: var(--kit-line);
  color: var(--kit-fg);
}
.cta--ghost:hover {
  border-color: var(--kit-fg);
}
.cta--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

/* Badges « Bientôt » (inventés, sans logo officiel) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--kit-line);
  background: var(--kit-surface);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store span {
  display: grid;
  line-height: 1.15;
  font-weight: 750;
  font-size: 15px;
}
.store small {
  font-weight: 600;
  font-size: 12px;
  color: var(--kit-muted);
}

/* ---------- Pied de page ---------- */
.site-foot {
  border-top: 1px solid var(--kit-line);
  margin-top: 40px;
}
.site-foot__in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px clamp(16px, 4vw, 40px) 90px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  font-size: 14px;
  color: var(--kit-muted);
}
.site-foot__in p {
  margin: 0;
}
.site-foot a {
  color: var(--kit-fg);
  font-weight: 650;
  text-underline-offset: 3px;
}
.site-foot .signe-binuxlabs {
  opacity: 1;
}
