/* =========================================================
   CONFIGURAÇÕES GERAIS
========================================================= */
:root {
  --page-max-width: 1024px;
  --background: #ecebe6;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   ESTRUTURA PRINCIPAL
========================================================= */
.site-header,
.site-footer {
  height: 0;
  overflow: hidden;
}

.page {
  width: 100%;
}

.company-layout {
  width: min(100%, var(--page-max-width));
  margin: 0 auto;
  line-height: 0;
  background: #ffffff;
}

.company-layout__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* =========================================================
   TELAS GRANDES
========================================================= */
@media (min-width: 1025px) {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .page {
    width: var(--page-max-width);
  }
}

/* =========================================================
   IMPRESSÃO
========================================================= */
@media print {
  @page {
    size: 1024px 1536px;
    margin: 0;
  }

  html,
  body {
    width: 1024px;
    min-width: 1024px;
    background: #ffffff;
  }

  .company-layout {
    width: 1024px;
    max-width: none;
  }
}
