/* ==========================================================================
   La Hotte de Ruman — base : variables, reset, typographie, utilitaires
   ========================================================================== */
/* Police auto-hébergée (OFL) : pas d'appel à Google Fonts, compatible RGPD / WordPress */
@font-face {
  font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/barlow-semi-condensed-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/barlow-semi-condensed-semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/barlow-semi-condensed-bold.woff2") format("woff2");
}

:root {
  /* Couleurs relevées sur les maquettes */
  --night-900: #08113a;
  --night-800: #0d1a4a;
  --night-700: #16245e;
  --nav-bg: rgba(15, 24, 64, .72);
  --nav-border: rgba(160, 180, 255, .16);
  --red-500: #c8202a;
  --red-700: #97101a;
  --red-900: #5c060b;
  --green-400: #5f9327;
  --green-600: #3a6614;
  --green-800: #234409;
  --gold-200: #ffe9a6;
  --gold-300: #ffd76a;
  --gold-400: #f6b928;
  --gold-600: #c97c08;
  --wood-500: #6c381c;
  --wood-700: #3f1f0f;
  --cream: #fff4e0;
  --text: #ffffff;

  --font: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --focus: 0 0 0 3px #fff, 0 0 0 6px #f6b928;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--night-900);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 10px; }

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

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold-300); color: #3a1d00; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
