:root {
  color-scheme: light;
  --navy: #102838;
  --ink: #243741;
  --muted: #52616a;
  --ivory: #faf6ed;
  --sand: #f2e8d8;
  --amber: #e3a064;
  --line: #d5c9b7;
  --display: 'Baskerville', 'Palatino Linotype', Georgia, serif;
  font-family: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid #a85726; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.skip, .sr-only {
  position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip:focus { z-index: 3; width: auto; height: auto; clip-path: none; padding: 1rem; background: white; }
.topo { background: var(--ivory); }
.topo-wrap, footer {
  max-width: 1392px; margin: auto; min-height: 87px; padding: 14px clamp(20px, 5vw, 75px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 3vw, 44px);
}
.marca {
  justify-self: start; display: inline-flex; flex-direction: column; align-items: center;
  color: var(--navy); text-decoration: none; font: 2rem/.9 var(--display); letter-spacing: .075em; text-transform: uppercase;
}
.marca span { margin-top: .6em; font: 600 .51rem/1 system-ui, sans-serif; letter-spacing: .34em; }
nav { display: flex; gap: clamp(12px, 3.5vw, 42px); }
nav a, footer > a:not(.marca) { font-size: .88rem; font-weight: 550; text-decoration: none; }
nav a:hover, footer > a:hover { text-decoration: underline; }
.sacola-btn {
  justify-self: end; display: flex; align-items: center; gap: 8px; min-height: 44px;
  background: transparent; border: 0; padding: 0; color: var(--navy); font-size: .88rem;
}
.sacola-btn svg { width: 21px; height: 21px; }
.contador { display: grid; place-items: center; min-width: 22px; min-height: 22px; padding: 0 4px; border-radius: 12px; background: var(--sand); font-size: .72rem; }
.hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  max-width: 1536px; min-height: 530px; margin: auto; background: var(--navy); color: var(--ivory);
}
.hero-copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(36px, 7.6vw, 114px); padding-right: clamp(24px, 4vw, 64px);
  position: relative; isolation: isolate; overflow: hidden;
}
.hero-copy::after {
  content: ''; position: absolute; width: 112%; height: 29%; left: -31%; bottom: -21%;
  border: 1px solid #ffffff2c; border-radius: 50%; transform: rotate(-16deg); z-index: -1;
}
.hero > img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.sobretitulo { font-size: .73rem; line-height: 1.5; font-weight: 650; text-transform: uppercase; letter-spacing: .2em; }
.hero .sobretitulo { color: #eec29b; display: flex; align-items: center; gap: 12px; }
.hero .sobretitulo span { width: 25px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { margin-top: .18em; font-size: clamp(3.8rem, 7.5vw, 7.2rem); letter-spacing: -.047em; line-height: .92; }
h1 em { font-weight: 400; color: #ecd2ad; }
.subtitulo { margin: 1.35rem 0 1.85rem; max-width: 26ch; line-height: 1.55; }
.botao {
  display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: .6rem 1.15rem;
  border: 1px solid var(--navy); background: var(--navy); color: var(--ivory);
  text-decoration: none; font-size: .9rem; font-weight: 650;
}
.botao:hover { background: #284858; }
.botao.claro { border-color: #ead5b9; background: #ead5b9; color: var(--navy); }
.botao.claro:hover { background: #fff3de; }
.botao.secundario { background: transparent; color: var(--navy); }
.botao:disabled { opacity: .55; }
.colecao {
  width: min(1260px, 89vw); margin: auto; padding: clamp(50px, 8vw, 110px) 0;
}
.secao-titulo, .dialog-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
h2 { font-size: clamp(2.45rem, 5.2vw, 4.65rem); line-height: .99; letter-spacing: -.041em; }
.colecao .sobretitulo, .sobre .sobretitulo { color: #775034; margin-bottom: 10px; }
#catalogo { margin-top: 28px; }
.aviso-colecao { display: flex; align-items: flex-start; gap: 17px; padding: clamp(19px, 3vw, 34px); background: #f3eadb; }
.aviso-colecao svg { width: 30px; height: 30px; margin-top: 3px; flex: none; }
.aviso-colecao h3 { font-size: 1.65rem; }
.aviso-colecao p { color: var(--muted); margin-top: 5px; line-height: 1.5; }
.filtros { display: grid; gap: 5px; font-size: .88rem; }
select { color: var(--navy); border: 1px solid #9b8b79; border-radius: 0; background: var(--ivory); padding: 10px 13px; min-height: 44px; }
.grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.cartao { min-width: 0; }
.cartao button { display: block; width: 100%; background: none; color: inherit; border: 0; padding: 0; text-align: left; }
.cartao img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.cartao h3 { font-size: 1.45rem; margin: .65rem 0 .3rem; overflow-wrap: anywhere; }
.cartao button:hover h3 { text-decoration: underline; }
.cartao p { font-size: .9rem; color: var(--muted); }
.sobre {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.25fr 1fr;
  align-items: end; gap: 24px; background: var(--sand); padding: clamp(30px, 8vw, 100px) max(5.5vw, calc((100% - 1260px) / 2));
}
.sobre > p { max-width: 34ch; line-height: 1.65; align-self: center; }
.sobre-onda {
  position: absolute; z-index: -1; bottom: -51%; right: -15%; width: 61%; height: 90%;
  border: 1px solid #b5855a50; border-radius: 50%; transform: rotate(-14deg);
}
footer { min-height: 130px; }
footer small { justify-self: end; color: var(--muted); }
dialog { color: var(--ink); background: var(--ivory); border: 0; padding: clamp(16px, 3vw, 30px); width: min(820px, 94vw); max-height: 92dvh; }
dialog::backdrop { background: #071825b5; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { align-items: center; margin-bottom: 20px; }
.fechar { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--navy); font-size: 1.75rem; line-height: 1; }
.produto-detalhes { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.produto-detalhes img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.produto-detalhes h2 { font-size: clamp(2rem, 4vw, 3.25rem); overflow-wrap: anywhere; }
.produto-detalhes p { margin: 13px 0; line-height: 1.5; }
.produto-detalhes form { display: grid; align-items: start; gap: 9px; }
.produto-detalhes .preco { font-weight: 700; }
.miniaturas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.miniaturas button { width: 48px; min-height: 48px; padding: 2px; background: none; border: 1px solid var(--line); }
.miniaturas button[aria-pressed=true] { border-color: var(--navy); }
.sacola { margin: 0 0 0 auto; width: min(480px, 100%); max-width: 100%; max-height: 100dvh; min-height: 100dvh; }
.sacola h2 { font-size: 2.7rem; }
.sacola ul { list-style: none; padding: 0; margin: 0; }
.sacola li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sacola li strong { overflow-wrap: anywhere; }
.sacola li p { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.quantidade { display: flex; gap: .45rem; align-items: center; justify-content: end; }
.quantidade button { width: 44px; min-height: 44px; background: none; border: 1px solid var(--line); color: var(--navy); }
.remover { justify-self: end; text-decoration: underline; min-height: 44px; background: none; color: var(--navy); border: 0; padding: 0; }
.sacola-resumo { margin-top: 24px; display: grid; gap: 13px; }
.sacola-resumo > p:first-child { display: flex; justify-content: space-between; gap: 10px; font-weight: 650; }
.vazio { display: grid; justify-items: start; gap: 15px; }
@media (max-width: 850px) {
  .hero { min-height: 0; }
  .hero-copy { padding-left: 5.5vw; }
  h1 { font-size: clamp(3.1rem, 8vw, 5rem); }
  .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 610px) {
  .topo-wrap, footer { min-height: 69px; padding-inline: 17px; }
  .marca { font-size: 1.6rem; }
  nav { gap: 9px; }
  nav a { font-size: .8rem; }
  .sacola-btn > span:not(.contador) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 43px 7vw 36px; }
  h1 { font-size: clamp(3.15rem, 13vw, 5.2rem); }
  .hero > img { aspect-ratio: 1.2; object-position: center; }
  .subtitulo { margin: .85rem 0 1.15rem; }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sobre { grid-template-columns: 1fr; }
  footer { min-height: 90px; }
  footer small { font-size: .7rem; text-align: right; }
  .produto-detalhes { grid-template-columns: 1fr; }
  .produto-detalhes img { max-height: 45dvh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.form-pedido, .form-pedido label { display: grid; gap: .5rem; }
.form-pedido { gap: 1rem; }
.form-pedido input { width: 100%; min-height: 44px; border: 1px solid #9b8b79; border-radius: 0; background: transparent; color: var(--navy); padding: .6rem; font: inherit; }
.linha-cep { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.form-pedido fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 1px solid var(--line); padding: 1rem; margin: 0; }
.form-pedido fieldset > p, .form-pedido fieldset > button { grid-column: 1 / -1; }
.form-pedido fieldset > p { color: var(--muted); }
.pedido-pagina { max-width: 660px; min-height: 58vh; margin: auto; padding: clamp(30px, 8vw, 100px) 5vw; }
.pedido-pagina h1 { color: var(--navy); font-size: clamp(2.5rem, 7vw, 4.8rem); }
.pedido-pagina p { margin: 1rem 0; line-height: 1.5; }
@media (max-width: 550px) {
  .form-pedido fieldset { grid-template-columns: 1fr; }
}

.catalogo-demo {
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  margin: 0 0 1.5rem;
}
