@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&display=swap');

:root {
  --oslo-ivory: #f4f1ea;
  --oslo-charcoal: #333333;
  --oslo-line: rgba(51, 51, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oslo-ivory);
  color: var(--oslo-charcoal);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* BASE DOS HEADERS */

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid var(--oslo-line);
  background: var(--oslo-ivory);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.header-nav-left {
  justify-content: flex-start;
}

.header-nav-right {
  justify-content: flex-end;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  display: block;
  width: 104px;
  height: auto;
}

.header-nav a,
.header-logo {
  transition: opacity 0.2s ease;
}

.header-nav a:hover,
.header-logo:hover {
  opacity: 0.55;
}

/* ÁREA DE ESTUDO */

.header-study {
  margin-top: 48px;
}

.header-study-label {
  margin: 0;
  padding: 0 24px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* VERSÃO A */

.header-a {
  grid-template-columns: 1fr auto 1fr;
}

/* VERSÃO B */

.header-b {
  grid-template-columns: auto 1fr auto;
  min-height: 64px;
  padding: 0 24px;
}

.header-logo-left {
  justify-self: start;
}

.header-b .header-logo img {
  width: 96px;
}

.header-b .header-nav {
  font-family: 'DM Sans', sans-serif;
}

.header-b .header-nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-nav-center {
  justify-content: center;
  gap: 30px;
}

/* ÍCONES */

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header-actions a {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s ease;
}

.header-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions a:hover {
  opacity: 0.5;
}

/* VERSÃO C */

.header-c {
  grid-template-columns: 1fr auto 1fr;
  min-height: 58px;
  padding: 0 24px;
}

.header-c .header-logo img {
  width: 108px;
}

.header-c-left {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 30px;
}

.header-products-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.products-label,
.header-c-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-c-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-c-links a {
  transition: opacity 0.2s ease;
}

.header-products-button:hover,
.header-c-links a:hover {
  opacity: 0.5;
}

.header-c .header-actions {
  justify-self: end;
}

/* CONTEÚDO TEMPORÁRIO */

main section {
  padding: 0;
}

main p {
  margin-top: 14px;
}

main h1 {
  margin-top: 18px;
}

main a {
  display: inline-block;
  margin-top: 4px;
}
