/* Inter, hébergée localement (SIL Open Font License). */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(../assets/fonts/inter-latin.woff2) format('woff2');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:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(../assets/fonts/inter-latin-ext.woff2) format('woff2');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;}

:root {
  --bg: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --zone: #f5f5f7;
  --line: #d2d2d7;
  --red: #e30613;
  --red-dark: #b80510;
  --ok: #1d7a36;
  --err: #d70015;
  --radius: 12px;
  --container: 1184px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-height: 68px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-start: calc(var(--header-height) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed;
  top: 8px;
  left: var(--gutter);
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(calc(-100% - 16px));
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.3vw, 18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .035em;
  white-space: nowrap;
}

.brand img { width: auto; height: 28px; flex-shrink: 0; }
.brand .accent { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 16px); flex-shrink: 0; }

.lang {
  display: flex;
  gap: 1px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lang button:hover { color: var(--ink); background: var(--zone); }
.lang button:focus-visible { outline-offset: -3px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang button[aria-pressed="true"]:focus-visible { outline-color: var(--bg); }

@media (max-width: 440px) {
  .site-header .brand > span { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
