:root {
  color-scheme: light;
  font-family: "Arial", sans-serif;
  color: #231417;
  background: #fffaf8;
  --vermelho: #b60014;
}
* { box-sizing: border-box; }
body { margin: 0; }
.pagina { max-width: 1380px; margin-inline: auto; padding: clamp(1rem, 5vw, 5rem); }
.campanha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: white;
  border: 1px solid #f0dbd7;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 66px #6d020d14;
}
.conteudo { padding: clamp(2rem, 5vw, 5.5rem); align-self: center; }
.marca { color: var(--vermelho); font-weight: 800; margin: 0 0 clamp(1.25rem, 4vw, 3.25rem); }
.tema { font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 .65rem; }
h1 { font-size: clamp(2.1rem, 5vw, 5.15rem); letter-spacing: -.065em; line-height: .98; margin: 0; }
h1 strong { color: var(--vermelho); }
.mecanica { line-height: 1.55; font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 30ch; margin: 1.25rem 0 1.75rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .65rem; }
button { font: inherit; cursor: pointer; }
.acoes :is(button, a) { padding: .8rem 1.15rem; min-height: 48px; font-weight: 800; border: 2px solid var(--vermelho); border-radius: .65rem; }
.acoes a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: normal; }
.principal { color: white; background: var(--vermelho); }
.principal:hover { background: #8f0010; }
.secundario { color: var(--vermelho); background: white; }
.secundario:hover { background: #fff0ee; }
:is(button, .acoes a):focus-visible { outline: 3px solid #182c67; outline-offset: 3px; }
.sorteio { display: grid; gap: .3rem; border-top: 1px solid #f0dbd7; margin-top: 1.75rem; padding-top: 1.2rem; }
.sorteio b { color: var(--vermelho); }
.arte { position: relative; margin: 0; overflow: hidden; background: #eee; min-height: 100%; }
.arte img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: top; }
footer { padding: 1.25rem .25rem 0; color: #665454; font-size: .8125rem; }
dialog { position: relative; border: 1px solid #f0dbd7; border-radius: 1rem; padding: 2rem; color: inherit; width: min(28rem, calc(100% - 2rem)); }
dialog::backdrop { background: #23040bc0; }
dialog h2 { color: var(--vermelho); margin: 0 2rem .75rem 0; }
dialog p { margin: 0; line-height: 1.5; }
.fechar { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; border: 0; border-radius: .5rem; background: #fff0ee; color: var(--vermelho); font-size: 1.55rem; }
@media (min-width: 761px) {
  .arte img { height: auto; min-height: 100%; object-fit: cover; }
  .arte { aspect-ratio: 864 / 915; }
}
@media (max-width: 760px) {
  .campanha { grid-template-columns: 1fr; border-radius: 1.25rem; }
  .conteudo { padding: 1.5rem; }
  .arte { aspect-ratio: 864 / 912; }
}
@media (max-width: 375px) {
  .acoes :is(button, a) { flex: 1; padding-inline: .65rem; }
}
