@font-face {
  font-family: Frank;
  src: url("assets/fonts/frank-ruhl-libre.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --papel: #f8f3ef;
  --papel-cabecalho: #f5efeb;
  --tinta: #342925;
  --carvao: #3d3733;
  --traco: #c8bdb6;
  --foco: #986741;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: Frank, serif; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}
::selection { background: #e0cbbc; color: var(--tinta); }

.comp-frame {
  container-type: inline-size;
  background: linear-gradient(to bottom, var(--papel-cabecalho) 62%, #faf4f0 62%, var(--papel) 100%);
}
.plate { display: block; object-fit: cover; }
.marca, .nav { white-space: nowrap; }
.nav.ativo { text-decoration: underline; text-underline-offset: .3em; }
.titulo { letter-spacing: -.025em; }
.botao, .categoria {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5em;
}
.botao { background: var(--carvao); color: #fff; line-height: 1; white-space: nowrap; }
.botao:hover { background: #51463f; }
.categoria { color: #fff; line-height: 1.15; }
.categoria:hover { text-decoration: underline; text-underline-offset: .2em; }
.botao:focus-visible, .categoria:focus-visible { outline-color: #d7ac8c; }

.seta {
  position: relative;
  flex: none;
  width: var(--seta-largura, 20px);
  height: var(--seta-largura, 20px);
  font-size: 0;
}
.seta::before, .seta::after { content: ""; position: absolute; }
.seta::before { left: 0; right: 1px; top: 50%; border-top: 1px solid currentColor; }
.seta::after {
  right: 1px;
  top: 50%;
  width: 40%;
  height: 40%;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-45%) rotate(45deg);
}

.linha { display: block; }
.escura { background: #554947; }
.clara { background: rgba(255, 255, 255, .75); }
.suave { background: var(--traco); }
.blog-ancora { pointer-events: none; }

@media (min-width: 960px) {
  .abertura, .comp-frame > section { --seta-largura: 1.43cqw; }
  .abertura > :is(.titulo, .r-chamada, .r-titulo-regra) { z-index: 1; }
  .marca { top: calc(var(--r-marca-y) + .12cqw); font-size: 2.8cqw; line-height: 1; }
  .nav { font-size: 1.63cqw; font-weight: 350; line-height: 1.4; }
  .titulo {
    left: calc(var(--r-titulo-x) + .12cqw);
    font-size: 5.53cqw;
    line-height: .94;
  }
  .titulo-primeira, .titulo-segunda { display: inline-block; transform-origin: left center; }
  .titulo-primeira { transform: translateY(.52cqw) scaleX(.94); }
  .titulo-segunda { transform: translateY(.3cqw) scaleX(1.025); }

  .r-chamada { padding: 0 1.5cqw 0 1.89cqw; font-size: 1.7cqw; font-weight: 350; }
  .categoria {
    width: calc(13.02% - .8cqw);
    margin-left: .26cqw;
    gap: .2em;
    font-size: 2.15cqw;
    font-weight: 350;
  }
  .r-maquiagem { font-size: 2.03cqw; }
  .r-sobre { margin-left: .26cqw; }
  .r-titulo-regra, .r-categorias-regra, .r-endereco-divisor {
    width: 1px;
    transform: translateX(.065cqw);
  }
  .r-categoria-divisor1, .r-categoria-divisor2, .r-rodape-regra {
    height: 1px;
    transform: translateY(.065cqw);
  }

  .blog-titulo, .blog-ancora {
    left: calc(var(--r-blog-titulo-x) + .2cqw);
    top: calc(var(--r-blog-titulo-y) + .39cqw);
  }
  .blog-titulo { font-size: 3.91cqw; line-height: 1; }
  .r-blog-divisor { width: 1px; transform: translateX(.13cqw); }
  .r-foto-decants {
    left: calc(var(--r-foto-decants-x) + .13cqw);
    top: calc(var(--r-foto-decants-y) + .13cqw);
    width: calc(var(--r-foto-decants-w) - .32cqw);
    height: calc(var(--r-foto-decants-h) - .32cqw);
  }
  .r-foto-historia {
    left: calc(var(--r-foto-historia-x) + .13cqw);
    top: calc(var(--r-foto-historia-y) + .13cqw);
    width: calc(var(--r-foto-historia-w) - .26cqw);
    height: calc(var(--r-foto-historia-h) - .32cqw);
  }
  .artigo-titulo { font-size: 1.95cqw; line-height: 1.08; font-weight: 350; }
  .r-decants-titulo {
    top: calc(var(--r-decants-titulo-y) + .18cqw);
    font-size: 1.91cqw;
    letter-spacing: -.02em;
    white-space: nowrap;
  }
  .r-historia-titulo { left: calc(var(--r-historia-titulo-x) + .13cqw); top: calc(var(--r-historia-titulo-y) + .3cqw); font-size: 2.04cqw; }
  .artigo-corpo { font-size: 1.12cqw; line-height: 1.25; font-weight: 350; }
  .r-decants-corpo, .r-historia-corpo { margin-top: .12cqw; }
  .pequeno { --seta-largura: 1.14cqw; padding: 0 1.05cqw; font-size: 1.04cqw; font-weight: 350; }
  .r-visita { --seta-largura: 1.43cqw; padding: 0 1.5cqw 0 2.15cqw; font-size: 1.56cqw; font-weight: 350; }
  .endereco { margin-left: .2cqw; font-size: 1.71cqw; line-height: 1.1; transform: translateY(.13cqw) scaleX(.94); transform-origin: left top; }
}

@media (max-width: 959px) {
  .comp-frame {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    overflow: visible;
    background: var(--papel);
  }
  .comp-frame [class^="r-"], .comp-frame [class*=" r-"] {
    position: static;
    width: auto;
    height: auto;
  }
  .comp-frame header {
    display: grid;
    gap: 10px;
    padding: 18px 24px 12px;
    border-bottom: 1px solid var(--traco);
    background: var(--papel-cabecalho);
  }
  .marca { font-size: clamp(30px, 8vw, 40px); line-height: 1; }
  .comp-frame header nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .nav { display: flex; align-items: center; min-height: 44px; font-size: 17px; }
  .comp-frame .linha { display: none; }

  .abertura { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .abertura .titulo { margin: 27px 24px 16px; font-size: clamp(44px, 13vw, 76px); line-height: .95; }
  .abertura .r-chamada {
    justify-self: start;
    min-height: 46px;
    margin: 0 24px 24px;
    padding: 0 16px;
    font-size: 20px;
  }
  .abertura .r-hero { width: 100%; height: auto; }
  .abertura nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 12px;
    background: var(--carvao);
  }
  .abertura .categoria {
    min-height: 52px;
    padding: 0 9px;
    font-size: clamp(15px, 4.3vw, 21px);
  }
  .categoria + .linha + .categoria { border-left: 1px solid #766a62; }
  .categoria .seta { --seta-largura: 12px; }

  .comp-frame .blog-ancora { height: 0; min-height: 0; }
  .comp-frame > section[aria-labelledby="blog-titulo"] { display: grid; gap: 12px; padding: 34px 24px; }
  .blog-titulo { font-size: clamp(42px, 9vw, 56px); line-height: 1; }
  .comp-frame .r-foto-decants, .comp-frame .r-foto-historia {
    width: 100%;
    height: auto;
    aspect-ratio: 1.45;
    margin-top: 8px;
  }
  .artigo-titulo { font-size: 27px; line-height: 1.08; }
  .artigo-corpo { font-size: 17px; line-height: 1.3; }
  .pequeno { justify-self: start; min-height: 44px; padding: 0 13px; font-size: 16px; }
  .comp-frame > .r-visita { align-self: start; min-height: 48px; margin: 0 24px 12px; padding: 0 16px; font-size: 20px; }
  .comp-frame > .r-endereco { margin: 0 24px 30px; font-size: 20px; }
}
@media (max-width: 360px) { .categoria .seta { display: none; } }
@media (min-width: 600px) and (max-width: 959px) {
  .comp-frame header { grid-template-columns: auto 1fr; align-items: center; }
  .comp-frame header nav { justify-content: end; }
}

.conteudo { background: var(--papel); }
.secao { padding: 90px max(6.5vw, 24px); border-top: 1px solid var(--traco); }
.secao h2 { margin: .2em 0; font-size: clamp(42px, 5vw, 72px); }
.secao p { font-size: 20px; line-height: 1.45; }

.secao-catalogo { padding-block: clamp(46px, 4vw, 66px); }
.catalogo-intro { max-width: 58ch; }
.secao .catalogo-imagens { margin-top: 8px; color: #65574f; font-size: 14px; }

.filtros { display: flex; flex-wrap: wrap; margin: 26px 0 22px; border-block: 1px solid var(--traco); }
.filtros button {
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-right: 1px solid var(--traco);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.filtros button[aria-pressed="true"] { background: var(--carvao); color: #fff; }

.produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 218px), 1fr)); gap: 32px clamp(14px, 1.6vw, 26px); }
.produtos article { min-width: 0; padding-bottom: 14px; border-bottom: 1px solid var(--traco); }
.produtos article[hidden] { display: none; }
.produtos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #e8dcd0; }
.produtos h3 { margin: 3px 0 4px; font-size: clamp(20px, 1.8vw, 27px); line-height: 1.16; }
.produtos .produto-marca { margin-top: 12px; color: #65574f; font-size: 14px; }
.produtos .produto-formato { color: #65574f; font-size: 15px; }
.produtos .produto-resumo { margin-top: 9px; font-size: 17px; line-height: 1.4; }
.produtos .produto-preco { margin-top: 13px; font-size: 14px; line-height: 1.2; }
.produto-preco span { display: block; margin-bottom: 3px; }
.produto-preco strong { font-size: clamp(20px, 1.8vw, 27px); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.produtos .produto-parcelas { margin-top: 4px; color: #65574f; font-size: 15px; }
.produtos summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.produtos details p { font-size: 15px; }
.produtos details a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1240px) {
  .produtos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1800px) {
  .conteudo .secao { padding-inline: max(6.5vw, (100% - 2160px) / 2); }
}

.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.editorial p { max-width: 60ch; }
.editorial p + p { margin-top: 12px; }
.editorial img { width: 100%; max-height: 390px; object-fit: cover; }
.editorial a, .artigos a { display: inline-block; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; }
.artigos { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; margin-top: 30px; }
.artigos article { padding-top: 22px; border-top: 1px solid var(--traco); }
.artigos h3 { margin: 0; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.2; }
.artigos article p { max-width: 60ch; margin-top: 12px; font-size: 18px; line-height: 1.5; }
.contato { display: flex; justify-content: space-between; gap: 30px; background: var(--carvao); color: #fff; }
.contato nav { display: grid; gap: 12px; align-content: center; }

@media (max-width: 959px) { .secao { padding: 60px 24px; } }
@media (max-width: 800px) {
  .produtos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .produtos h3 { font-size: 18px; }
  .filtros { display: grid; grid-template-columns: .8fr 1fr 1fr 1.25fr; }
  .filtros button { min-width: 0; padding: 8px 2px; font-size: clamp(15px, 4vw, 17px); white-space: nowrap; }
  .editorial, .artigos { grid-template-columns: 1fr; gap: 24px; }
  .contato { display: block; }
  .contato nav { margin-top: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .botao, .filtros button { transition: background-color .2s ease; }
  .produtos img { transition: transform .35s ease; }
  .produtos article:hover img { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
