/* polices du site, servies localement */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/oswald-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/oswald-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: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/oswald-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/oswald-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: 'PT Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/pt-serif-latin-ext-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'PT Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/pt-serif-latin-400-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: 'PT Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/pt-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'PT Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/pt-serif-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: 'PT Serif'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/pt-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'PT Serif'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/pt-serif-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; }

:root {
  --naa-bg: #FBEFE6;
  --naa-surface: #F6DCCB;
  --naa-text: #0A252D;
  --naa-muted: #2F4A54;
  --naa-accent: #0B4F5F;
  --naa-accent2: #F4A582;
  --naa-line: #0A252D;
  --naa-page: 72rem;
  --naa-font-display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --naa-font-body: "PT Serif", Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--naa-bg);
  color: var(--naa-text);
  font-family: var(--naa-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

a {
  color: var(--naa-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  background: var(--naa-accent2);
  color: var(--naa-text);
}

a:focus-visible,
.naa-tablewrap:focus-visible {
  outline: 3px solid var(--naa-accent);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--naa-font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: var(--naa-text);
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  letter-spacing: 0.005em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1rem;
  max-width: 70ch;
}

.naa-wrap {
  width: 100%;
  max-width: var(--naa-page);
  margin-inline: auto;
  padding-inline: 1rem;
}

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

.naa-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.6rem;
}

.naa-brand {
  font-family: var(--naa-font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--naa-bg);
  text-decoration: none;
  padding: 0.1rem 0.35rem;
  background: var(--naa-accent);
}

.naa-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.4rem;
}

.naa-nav a {
  display: inline-block;
  padding: 0.5rem 0.65rem;
  color: var(--naa-bg);
  font-family: var(--naa-font-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.naa-nav a:hover {
  background: var(--naa-accent2);
  color: var(--naa-text);
}

.naa-header a:focus-visible,
.naa-footer a:focus-visible {
  outline: 3px solid var(--naa-accent2);
  outline-offset: 2px;
}

/* Premier écran */
.naa-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--naa-surface);
  border-bottom: 2px solid var(--naa-line);
  overflow: hidden;
}

.naa-hero-text {
  padding: 1.75rem 1rem 1.5rem;
}

.naa-lead {
  font-size: 1.12rem;
  line-height: 1.55;
}

.naa-mark {
  background: var(--naa-accent2);
  color: var(--naa-text);
  padding: 0 0.25em;
  font-weight: 700;
}

.naa-hero-fig {
  margin: 0;
}

.naa-hero-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.naa-hero-fig figcaption {
  background: var(--naa-text);
  color: var(--naa-bg);
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
}

@media (min-width: 60rem) {
  .naa-hero {
    grid-template-columns: minmax(20rem, 27rem) minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: start;
    padding-left: max(1rem, calc((100vw - var(--naa-page)) / 2 + 1rem));
  }

  .naa-hero-text {
    padding: 2.5rem 0 2.25rem;
  }

  .naa-hero-fig figcaption {
    padding-left: 0.75rem;
  }
}

/* Registre de chiffres clés */
.naa-keyfacts {
  margin: 1.25rem 0 0;
  padding: 0;
  border-top: 3px solid var(--naa-line);
}

.naa-keyfacts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--naa-line);
}

.naa-keyfacts dt {
  color: var(--naa-muted);
  font-size: 0.95rem;
}

.naa-keyfacts dd {
  margin: 0;
  font-family: var(--naa-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Sections */
.naa-section {
  border-top: 2px solid var(--naa-line);
  padding: 2rem 0 2.25rem;
}

.naa-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem 2.5rem;
}

@media (min-width: 60rem) {
  .naa-section-grid {
    grid-template-columns: 15rem minmax(0, 1fr);
  }
}

.naa-body > :last-child {
  margin-bottom: 0;
}

.naa-section--alt {
  background: var(--naa-surface);
}

/* Tableaux */
.naa-tablewrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  max-width: 100%;
  border: 2px solid var(--naa-line);
  background: var(--naa-bg);
}

.naa-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.4;
}

.naa-table caption {
  text-align: left;
  font-family: var(--naa-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  background: var(--naa-surface);
  border-bottom: 2px solid var(--naa-line);
}

.naa-table th,
.naa-table td {
  padding: 0.5rem 0.7rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--naa-line);
}

.naa-table thead th {
  background: var(--naa-accent);
  color: var(--naa-bg);
  font-family: var(--naa-font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.naa-table tbody th {
  background: var(--naa-surface);
  font-weight: 700;
}

.naa-table .naa-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.naa-table .naa-total th,
.naa-table .naa-total td {
  background: var(--naa-accent2);
  color: var(--naa-text);
  font-weight: 700;
}

/* Listes de définitions (vocabulaire) */
.naa-dl {
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 2px solid var(--naa-line);
}

.naa-dl dt {
  font-family: var(--naa-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding-top: 0.6rem;
}

.naa-dl dd {
  margin: 0;
  padding: 0.1rem 0 0.7rem;
  border-bottom: 1px solid var(--naa-line);
  max-width: 70ch;
}

@media (min-width: 48rem) {
  .naa-dl {
    grid-template-columns: 13rem minmax(0, 1fr);
  }

  .naa-dl dt {
    padding: 0.6rem 1rem 0.7rem 0;
    border-bottom: 1px solid var(--naa-line);
  }

  .naa-dl dd {
    padding: 0.6rem 0 0.7rem;
  }
}

/* Étapes ordonnées */
.naa-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.6rem;
  max-width: 70ch;
}

.naa-steps li {
  margin-bottom: 0.6rem;
  padding-left: 0.3rem;
}

.naa-steps li::marker {
  font-family: var(--naa-font-display);
  font-weight: 700;
  color: var(--naa-accent);
}

/* Encadré de formule */
.naa-note {
  margin: 0 0 1.25rem;
  padding: 0.8rem 1rem;
  background: var(--naa-surface);
  border-left: 6px solid var(--naa-accent);
  max-width: 70ch;
}

.naa-note p {
  margin: 0 0 0.3rem;
}

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

.naa-formula {
  font-family: var(--naa-font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

/* Figure de contenu */
.naa-figure {
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

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

.naa-figure figcaption {
  background: var(--naa-text);
  color: var(--naa-bg);
  font-size: 0.9rem;
  padding: 0.4rem 0.7rem;
}

/* Bloc de questions-réponses */
.naa-qa-block {
  border-top: 2px solid var(--naa-line);
  padding: 2rem 0 2.5rem;
}

.naa-qa {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--naa-line);
}

.naa-qa:first-of-type {
  border-top: 1px solid var(--naa-line);
}

.naa-qa h3 {
  margin-bottom: 0.4rem;
}

.naa-qa p {
  margin-bottom: 0;
}

/* Pied de page */
.naa-footer {
  background: var(--naa-text);
  color: var(--naa-bg);
  border-top: 4px solid var(--naa-accent2);
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

.naa-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 2rem;
}

@media (min-width: 48rem) {
  .naa-footer-inner {
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: baseline;
  }
}

.naa-footer-name {
  font-family: var(--naa-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.naa-footer p {
  margin: 0;
  max-width: none;
}

.naa-footer a {
  color: var(--naa-bg);
}

.naa-footer a:hover {
  background: var(--naa-accent2);
  color: var(--naa-text);
}

.naa-credits a {
  color: var(--naa-accent2);
}

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

/* registracijas-bonuss-latvija.html */
/* Illustration SVG du premier écran : bonus et chiffre d'affaires à la même échelle */
.naa-hero-fig--svg {
  background: var(--naa-bg);
}

.naa-hero-fig--svg .naa-scale {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.naa-scale-bg {
  fill: var(--naa-bg);
}

.naa-scale-axis {
  stroke: var(--naa-line);
  stroke-width: 2;
}

.naa-scale-text {
  font-family: var(--naa-font-display);
  font-size: 18px;
  font-weight: 500;
  fill: var(--naa-text);
}

.naa-scale-bonus {
  fill: var(--naa-accent2);
  stroke: var(--naa-line);
  stroke-width: 2;
}

.naa-scale-turn {
  fill: var(--naa-accent);
  stroke: var(--naa-line);
  stroke-width: 2;
}

/* bezmaksas-griezieni-bonuss.html */
.naa-hero-fig--portrait img {
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
  object-position: center;
}
