/* polices du site, servies localement */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-cyrillic-ext-400.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-cyrillic-400.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-400.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-latin-400.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: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-cyrillic-ext-700.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-cyrillic-700.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-700.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-latin-700.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: 'Source Sans 3'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-cyrillic-ext-400-800-i.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-cyrillic-400-800-i.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-400-800-i.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-800-i.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: 'Source Sans 3'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-cyrillic-ext-400-800.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-cyrillic-400-800.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-400-800.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-800.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; }

:root {
  --ooe-bg: #F3E3DC;
  --ooe-surface: #FBF2EE;
  --ooe-text: #14213D;
  --ooe-muted: #3B4260;
  --ooe-accent: #1B2F6E;
  --ooe-accent2: #B5475A;
  --ooe-ink: #14213D;
  --ooe-sand: #F3E3DC;
  --ooe-line: rgba(20, 33, 61, 0.28);
  --ooe-font-display: "Fira Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --ooe-font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --ooe-font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--ooe-bg);
  color: var(--ooe-text);
  font-family: var(--ooe-font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--ooe-font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ooe-text);
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ooe-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ooe-accent2);
  color: #8E2F40;
}

:focus-visible {
  outline: 3px solid var(--ooe-accent);
  outline-offset: 3px;
}

.ooe-wrap {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

.ooe-num {
  font-family: var(--ooe-font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* En-tête */
.ooe-header {
  background: var(--ooe-ink);
  color: var(--ooe-sand);
  border-bottom: 4px solid var(--ooe-accent2);
}

.ooe-header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.ooe-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ooe-sand);
  font-family: var(--ooe-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.ooe-brand:hover {
  color: var(--ooe-sand);
}

.ooe-brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.ooe-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.ooe-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ooe-sand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.ooe-nav a:hover {
  color: var(--ooe-sand);
  border-bottom-color: var(--ooe-accent2);
}

.ooe-header :focus-visible,
.ooe-footer :focus-visible {
  outline-color: var(--ooe-sand);
}

/* Premier écran */
.ooe-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 86vh, 820px);
  background: var(--ooe-ink);
  overflow: hidden;
  isolation: isolate;
}

.ooe-hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.ooe-hero__veil {
  position: absolute;
  inset: 0;
  background: var(--ooe-ink);
  opacity: 0.45;
  z-index: -1;
}

.ooe-hero__plate {
  position: relative;
  margin: 0 1rem 1.75rem 1rem;
  max-width: min(780px, calc(100% - 2rem));
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--ooe-ink);
  color: var(--ooe-sand);
  border-left: 8px solid var(--ooe-accent2);
  box-shadow: 8px 8px 0 var(--ooe-accent2);
}

.ooe-hero__plate h1 {
  color: var(--ooe-sand);
  margin-bottom: 0.5em;
}

.ooe-hero__meta {
  margin: 0;
  font-family: var(--ooe-font-mono);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ooe-sand);
}

@media (min-width: 1240px) {
  .ooe-hero__plate {
    margin-left: calc((100vw - 1200px) / 2);
  }
}

/* Décor SVG */
.ooe-a-bg { fill: var(--ooe-ink); }
.ooe-a-felt { fill: var(--ooe-accent); stroke: var(--ooe-accent2); stroke-width: 8; }
.ooe-a-dash { fill: none; stroke: var(--ooe-sand); stroke-width: 2; stroke-dasharray: 10 8; opacity: 0.35; }
.ooe-a-light { fill: var(--ooe-sand); opacity: 0.07; }
.ooe-a-lamp { fill: var(--ooe-sand); opacity: 0.9; }
.ooe-a-cord { stroke: var(--ooe-sand); stroke-width: 3; opacity: 0.6; }
.ooe-a-wood { fill: var(--ooe-ink); stroke: var(--ooe-sand); stroke-width: 6; }
.ooe-a-ringdark { fill: none; stroke: var(--ooe-ink); stroke-width: 60; }
.ooe-a-ringred { fill: none; stroke: var(--ooe-accent2); stroke-width: 60; stroke-dasharray: 26.18 26.18; }
.ooe-a-cone { fill: var(--ooe-accent); stroke: var(--ooe-sand); stroke-width: 4; }
.ooe-a-hub { fill: var(--ooe-ink); stroke: var(--ooe-sand); stroke-width: 4; }
.ooe-a-spoke { stroke: var(--ooe-sand); stroke-width: 6; fill: none; }
.ooe-a-ball { fill: var(--ooe-sand); }
.ooe-a-grid { fill: none; stroke: var(--ooe-sand); stroke-width: 2; opacity: 0.55; }
.ooe-a-cell { fill: var(--ooe-accent2); opacity: 0.85; }
.ooe-a-cellk { fill: var(--ooe-ink); opacity: 0.85; }
.ooe-a-chip { fill: var(--ooe-accent2); stroke: var(--ooe-sand); stroke-width: 3; }
.ooe-a-chip2 { fill: var(--ooe-sand); stroke: var(--ooe-ink); stroke-width: 3; }
.ooe-brand-dark { fill: var(--ooe-ink); }
.ooe-brand-ring { fill: none; stroke: var(--ooe-accent2); stroke-width: 5; stroke-dasharray: 5.236 5.236; }
.ooe-brand-hub { fill: var(--ooe-sand); }

/* Repères chiffrés */
.ooe-facts {
  margin: 2.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  background: var(--ooe-surface);
  border: 2px solid var(--ooe-text);
  box-shadow: 8px 8px 0 var(--ooe-accent2);
}

.ooe-facts > div {
  padding: 0.9rem 1.1rem;
  border-right: 2px solid var(--ooe-text);
  border-bottom: 2px solid var(--ooe-text);
  margin: 0 -2px -2px 0;
}

.ooe-facts dt {
  font-size: 0.9rem;
  color: var(--ooe-muted);
  margin: 0 0 0.2rem;
}

.ooe-facts dd {
  margin: 0;
  font-family: var(--ooe-font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Sections */
.ooe-main {
  display: block;
  padding-bottom: 3rem;
}

.ooe-lead {
  max-width: 62ch;
  margin: 2rem 0 0;
  font-size: 1.15rem;
}

.ooe-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 2.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 4px solid var(--ooe-text);
}

.ooe-section__head h2 {
  margin: 0;
}

.ooe-section__body {
  min-width: 0;
}

.ooe-section__body > :last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .ooe-section {
    grid-template-columns: minmax(200px, 270px) minmax(0, 1fr);
  }
  .ooe-section__head {
    position: sticky;
    top: 1rem;
    align-self: start;
  }
}

/* Tableaux */
.ooe-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 1.5rem;
  background: var(--ooe-surface);
  border: 2px solid var(--ooe-text);
  box-shadow: 6px 6px 0 var(--ooe-accent2);
}

.ooe-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 1rem;
}

.ooe-table caption {
  text-align: left;
  padding: 0.6rem 0.9rem;
  font-family: var(--ooe-font-display);
  font-weight: 600;
  background: var(--ooe-surface);
  border-bottom: 2px solid var(--ooe-text);
}

.ooe-table th,
.ooe-table td {
  padding: 0.6rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ooe-line);
}

.ooe-table thead th {
  background: var(--ooe-accent);
  color: var(--ooe-surface);
  font-family: var(--ooe-font-display);
  font-weight: 600;
  border-bottom: 0;
}

.ooe-table tbody th {
  font-family: var(--ooe-font-display);
  font-weight: 600;
  white-space: nowrap;
}

.ooe-table tbody tr:last-child th,
.ooe-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Listes de définitions */
.ooe-defs {
  margin: 0 0 1.5rem;
  border-top: 2px solid var(--ooe-text);
}

.ooe-defs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ooe-line);
}

.ooe-defs dt {
  font-family: var(--ooe-font-display);
  font-weight: 600;
}

.ooe-defs dd {
  margin: 0;
}

@media (min-width: 640px) {
  .ooe-defs > div {
    grid-template-columns: 11rem minmax(0, 1fr);
  }
}

/* Encadré */
.ooe-note {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--ooe-surface);
  border: 2px solid var(--ooe-text);
  border-left: 8px solid var(--ooe-accent2);
  box-shadow: 6px 6px 0 var(--ooe-accent);
}

.ooe-note p:last-child {
  margin-bottom: 0;
}

.ooe-note strong {
  font-family: var(--ooe-font-display);
}

/* Figure */
.ooe-figure {
  margin: 0 0 1.5rem;
  background: var(--ooe-surface);
  border: 2px solid var(--ooe-text);
  box-shadow: 6px 6px 0 var(--ooe-accent2);
}

.ooe-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.ooe-figure figcaption {
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ooe-muted);
  border-top: 2px solid var(--ooe-text);
}

/* Questions-réponses */
.ooe-qa {
  display: grid;
  gap: 1.25rem;
}

.ooe-qa__item {
  padding: 1rem 1.2rem;
  background: var(--ooe-surface);
  border: 2px solid var(--ooe-text);
  box-shadow: 6px 6px 0 var(--ooe-accent2);
}

.ooe-qa__item h3 {
  margin-bottom: 0.4em;
}

.ooe-qa__item p {
  margin: 0;
}

/* Pied de page */
.ooe-footer {
  background: var(--ooe-ink);
  color: var(--ooe-sand);
  border-top: 4px solid var(--ooe-accent2);
  font-size: 0.95rem;
}

.ooe-footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 1.25rem;
}

.ooe-footer a {
  color: var(--ooe-sand);
}

.ooe-footer a:hover {
  color: var(--ooe-sand);
  text-decoration-color: var(--ooe-accent2);
}

.ooe-footer__name {
  font-family: var(--ooe-font-display);
  font-weight: 700;
}

.ooe-footer p {
  margin: 0;
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }
  .ooe-hero__plate {
    box-shadow: 5px 5px 0 var(--ooe-accent2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* pravova-informatsiya.html */
.ooe-page-title {
  margin: 2.5rem 0 0;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  overflow-wrap: anywhere;
}
