/* ============================== */
/* 🏗️ LAYOUT ESTRUTURAL BASE     */
/* Dimensões e posicionamento    */
/* ============================== */

/* Reset base */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* HTML - Base 100% */
html {
  font-size: 62.5%;
  background: var(--color-background-body);
  width: 100%;
  height: 100%;
}

/* Body - Container principal */
body {
  background: var(--color-background-body);
  color: var(--text-color);
  font-family: var(--font-family-base);
  width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  padding-top: 86px; /* Altura do header fixo */
  overflow: hidden;
}

/* Header - Fixo no topo */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 86px;
  background-color: var(--color-background-menu);
  border-bottom: 1px solid var(--color-border-bottom);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  margin: 0;
  max-width: 100%;
  width: 100%;
}

/* Main - Área de conteúdo */
main {
  position: relative;
  width: 100%;
  background: var(--color-background-main);
  padding: 20px;
  min-height: calc(100vh - 86px);
  max-height: calc(100vh - 86px);
  overflow-y: auto;
}

/* ============================== */
/* 📱 RESPONSIVO                  */
/* ============================== */
/* @media(width <= 1120px) { */
@media(width <= 1262px) {
  .header .container {
    padding: 15px;
  }
}
