:root {
  color-scheme: dark;
  --deep: #062e37;
  --darker: #05262e;
  --cream: #ffead3;
  --soft: #b8d4d3;
  --orange: #ff8b3e;
  --line: #35606a;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--deep);
  color: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .27em; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 5; padding: .75rem; background: var(--darker); transform: translateY(-170%); }
.skip:focus { transform: none; }
.header { background: var(--darker); border-bottom: 1px solid var(--line); }
.bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; white-space: nowrap; font-size: .95rem; font-weight: 850; letter-spacing: .045em; }
.brand img { object-fit: contain; }
.brand strong { color: var(--orange); font-weight: inherit; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a, .footer-inner > a:last-child { font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; color: var(--soft); }
nav a:hover, .footer-inner > a:last-child:hover { color: var(--orange); }
.share, .close { border: 1px solid var(--line); border-radius: 5px; color: var(--cream); background: transparent; padding: .68rem .95rem; font-size: .875rem; font-weight: 750; }
.share:hover, .close:hover { background: var(--orange); color: var(--darker); border-color: var(--orange); }
.hero { padding-block-start: clamp(.75rem, 2vw, 1.5rem); background: linear-gradient(180deg, #0b5967 0%, var(--deep) 85%); }
.campaign {
  width: min(1600px, calc(100% - 48px));
  width: min(1600px, calc(100% - 48px), max(660px, calc(225svh - 369px)));
  margin: 0 auto;
}
.poster { display: block; width: 100%; height: auto; border-radius: 8px; background: #0b6676; }
.poster-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  width: 100%;
  padding-block: 1.25rem;
}
.campaign-news, .view-art {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: .65rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: .9375rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.campaign-news { background: var(--orange); border-color: var(--orange); color: var(--darker); }
.campaign-news:hover { background: var(--cream); border-color: var(--cream); }
.view-art { background: var(--darker); color: var(--cream); }
.view-art:hover { border-color: var(--orange); color: var(--orange); }
.campaign-caption { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.campaign-caption h1, .campaign-caption p { margin: 0; }
.updates { background: var(--cream); color: var(--deep); border-top: 5px solid var(--orange); }
.updates-grid { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3rem, 7vw, 6.4rem); }
.kicker { display: flex; align-items: center; gap: .65rem; font-size: .875rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.kicker span { width: 22px; height: 3px; background: #c9470b; }
.updates h2 { margin: .45rem 0 0; font-size: clamp(3rem, 7.8vw, 7.4rem); font-weight: 900; line-height: .98; letter-spacing: -.082em; }
.updates h2 span { color: #c9470b; }
.updates-copy p { margin: 0 0 1.25rem; max-width: 31ch; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.5; }
.updates-share { background: var(--deep); border-color: var(--deep); }
.updates-share:hover { border-color: var(--deep); }
.updates :focus-visible { outline-color: #9f3d0b; }
footer { background: var(--darker); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner > a:last-child { color: var(--soft); }
dialog { padding: 0; width: min(1280px, calc(100% - 24px)); max-height: 94vh; border: 1px solid var(--line); border-radius: 8px; background: var(--darker); color: var(--cream); }
dialog::backdrop { background: #02161aeb; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: .85rem; padding: .8rem 1rem; }
.dialog-bar h2 { font-size: 1rem; margin: 0; }
.art-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1rem; }
.art-actions a { font-size: .875rem; font-weight: 700; }
.art-actions a:hover { color: var(--orange); }
.art-hint { display: none; }
.art-scroll { overflow: auto; }
.full-art { display: block; width: 100%; height: auto; }
#share-dialog { max-width: 560px; }
.share-field { padding: 0 1rem 1rem; }
.share-field label { display: block; margin-bottom: .4rem; }
.share-field input { display: block; width: 100%; padding: .7rem; border: 1px solid var(--line); border-radius: 4px; background: var(--deep); color: var(--cream); }
.toast { position: fixed; z-index: 4; inset: auto 1rem 1rem auto; margin: 0; max-width: calc(100% - 2rem); background: var(--cream); color: var(--darker); box-shadow: 0 6px 25px #0005; border-left: 4px solid var(--orange); border-radius: 4px; padding: .8rem 1rem; font-weight: 700; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 48px); }
  .updates-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .updates-copy p { max-width: 36ch; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .bar { flex-wrap: wrap; gap: 0 .65rem; padding-top: .68rem; }
  .bar .brand { font-size: .83rem; gap: .4rem; }
  .bar .brand img { width: 34px; height: 27px; }
  .bar .share { margin-left: auto; padding-inline: .65rem; }
  nav { flex-basis: 100%; order: 1; gap: 1.4rem; padding-block: .75rem; }
  .footer-inner .brand { font-size: .8rem; gap: .4rem; }
}
@media (max-width: 680px) {
  .campaign { width: calc(100% - 24px); }
  .campaign-caption {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    padding: 1.25rem .4rem 0;
    text-align: center;
  }
  .campaign-caption h1 {
    max-width: 19ch;
    margin-inline: auto;
    font-size: clamp(1.45rem, 6.4vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -.035em;
  }
  .campaign-caption p { margin-top: .5rem; color: var(--soft); }
  .art-hint { display: block; margin: 0; padding: 0 1rem .85rem; color: var(--soft); font-size: .875rem; }
  .full-art { min-width: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#lista-novidades { margin-bottom: 1.25rem; }
#lista-novidades article { border-top: 1px solid #c79e84; padding-block: .9rem; }
#lista-novidades article:last-child { border-bottom: 1px solid #c79e84; }
#lista-novidades h3 { margin: 0 0 .4rem; font-size: 1.18rem; overflow-wrap: anywhere; }
#lista-novidades p { margin: 0; max-width: 55ch; font-size: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
