/* ==========================================================================
   NIGHTCROW — Modern CSS Reset
   Inspired by Josh Comeau & Andy Bell (2024)
   ========================================================================== */

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

* {
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: var(--nc-lh-normal);
  font-family: var(--nc-font-sans);
  font-weight: var(--nc-fw-regular);
  background: var(--nc-bg);
  color: var(--nc-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--nc-fw-black);
  line-height: var(--nc-lh-tight);
  letter-spacing: var(--nc-tracking-tight);
  overflow-wrap: break-word;
}

p, li, dd, dt {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

ul, ol {
  list-style: none;
}

hr {
  border: none;
  height: 1px;
  background: var(--nc-border);
}

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

/* Cursor custom gold === Le SVG est un petit point/cible or */
body {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='4' fill='%23C9964A'/><circle cx='12' cy='12' r='10' fill='none' stroke='%23C9964A' stroke-width='1' opacity='0.45'/></svg>") 12 12, auto;
}
a, button, [role="button"], input, textarea, select, label {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='14' cy='14' r='5' fill='%23E8B06A'/><circle cx='14' cy='14' r='12' fill='none' stroke='%23E8B06A' stroke-width='1.2'/></svg>") 14 14, pointer;
}
