@font-face {
  font-family: 'Literata';
  src: url('./fontes/literata.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Literata Sala';
  src: url('./fontes/literata-campanha.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
.storefront {
  --campaign-paper: #f7f4ef;
  --campaign-ink: #27221f;
  --campaign-accent: #78352e;
  --campaign-dark: #211719;
  --campaign-light: #fff8ec;
  --display: 'Literata', Georgia, serif;
  --ink: var(--campaign-ink);
  --paper: var(--campaign-paper);
  --muted: #554e4a;
  --line: #c6bbb4;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.storefront [hidden] { display: none !important; }
.store-wrap { width: min(89%, 80rem); margin-inline: auto; }
.storefront h1, .storefront h2, .storefront h3 { font-family: var(--display); font-weight: 400; }
.storefront h2 { font-size: clamp(2.5rem, 4.8vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; }
.storefront :where(a, button, summary, input):focus-visible { outline: 3px solid #98563b; outline-offset: 4px; }
.storefront .skip { z-index: 9; color: var(--ink); }
.store-header { z-index: 4; position: relative; background: #190708; color: var(--campaign-light); }
.store-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 4.7rem; border-bottom: 1px solid #71545477; }
.store-brand { color: inherit; font: 400 clamp(1.05rem,1.6vw,1.42rem)/1.2 var(--display); letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.wide-nav { display: flex; align-items: center; gap: clamp(.8rem,2.5vw,2.5rem); }
.store-header nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #f2e3db; font-size: .94rem; text-decoration: none; }
.store-header nav a:hover { text-decoration: underline; text-underline-offset: .36em; }
.store-header .nav-price { color: var(--campaign-light); border-left: 1px solid #886c69; padding-left: clamp(.9rem,1.9vw,1.9rem); min-height: 1.6rem; }
.store-header a:focus-visible, .store-header summary:focus-visible, .campaign a:focus-visible, .store-footer a:focus-visible { outline-color: #ffe1bc; }
.mobile-menu { display: none; }

.campaign { background: #190708; color: var(--campaign-light); }
.campaign-stage { overflow: hidden; }
.campaign-inner { position: relative; isolation: isolate; display: grid; align-items: center; max-width: 110rem; margin: 0 auto; min-height: clamp(31rem, 45vw, 46.5rem); }
.campaign-copy { position: relative; z-index: 2; margin-left: max(5.5vw,calc((100vw - 80rem)/2)); padding: 2.7rem 0 3.4rem; width: min(35vw,31rem); }
.campaign-copy #store-state { color: #ead3ba; font-size: .91rem; line-height: 1.4; }
.storefront .campaign h1 { margin: .75rem 0 1.25rem -.045em; color: #fff7eb; font: 300 clamp(4.35rem,7.1vw,7.75rem)/.99 'Literata Sala', 'Literata', Georgia, serif; letter-spacing: -.073em; }
.campaign-lead { color: #f2e3db; max-width: 31ch; font-size: clamp(1rem,1.25vw,1.22rem); line-height: 1.53; }
.campaign-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.35rem; margin-top: 1.6rem; }
.campaign-actions a { min-height: 2.98rem; display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; font-weight: 650; font-size: .98rem; }
.campaign-primary { text-decoration: none; color: #26181a; padding: .85rem 1.35rem; background: #fff5e7; border: 1px solid #fff5e7; border-radius: .15rem; }
.campaign-primary:hover { background: #eac8af; border-color: #eac8af; }
.campaign-secondary { color: #fff5e7; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.campaign-secondary:hover { text-decoration-thickness: 2px; }
.campaign-art { position: absolute; inset: 0 0 0 auto; width: 77%; overflow: hidden; }
.campaign-plate { position: absolute; top: 49%; right: 0; width: 100%; aspect-ratio: 1.5; transform: translateY(-50%); }
.campaign-plate::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 36%; pointer-events: none; background: linear-gradient(90deg,#190708,rgba(25,7,8,.95) 17%,rgba(25,7,8,.65) 54%,transparent); }
.campaign-photo { display: block; width: 100%; height: 100%; }
.campaign .book-pin {
  position: absolute; z-index: 1; display: block; margin: 0; padding: 0; pointer-events: none;
  color: white; text-decoration: none;
}
.book-pin::after { content: ''; position: absolute; inset: 0; clip-path: var(--face); pointer-events: auto; }
.book-pin::before {
  content: '+'; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%;
  background: #281813ba; border: 1px solid #fffcf5d1; box-shadow: 0 1px 5px #21171080;
  font: 400 1.24rem/1 'Segoe UI',sans-serif;
}
.book-pin span {
  pointer-events: none; position: absolute; top: calc(var(--y) - 1.25rem); left: var(--x); transform: translate(-50%,-100%);
  width: max-content; max-width: 13rem; background: #fff6ea; color: #271c19; font-weight: 650; font-size: .85rem; line-height: 1.2;
  padding: .5rem .65rem; border-radius: .15rem; opacity: 0;
}
.book-pin:is(:hover,:focus-visible) span { opacity: 1; }
.book-pin:is(:hover,:focus-visible)::before { background: #fff6ea; color: #271c19; }
.campaign .book-pin:focus-visible { outline: none; }
.book-pin:focus-visible::before { outline: 3px solid #fff8eb; outline-offset: 4px; }
.campaign .pin-velhos {
  left: 30.4%; top: 16.2%; width: 23.6%; height: 54.8%;
  --x: 36.44%; --y: 72.63%;
  --face: polygon(0% 0%, 94.49% 3.65%, 100% 98.18%, 4.66% 100%);
}
.campaign .pin-exu {
  left: 46.2%; top: 21.9%; width: 35.8%; height: 69.8%; z-index: 2;
  --x: 52.51%; --y: 69.63%;
  --face: polygon(24.86% 0%, 96.37% 4.15%, 100% 11.6%, 82.68% 100%, 0% 90.4%);
}
.campaign .pin-caboclos {
  left: 68.4%; top: 9.2%; width: 27.7%; height: 55.5%;
  --x: 70.76%; --y: 62.7%;
  --face: polygon(0% 0%, 75.81% 3.42%, 100% 95.5%, 40.43% 100%);
}
.campaign-foot { background: #260e10; border-block: 1px solid #533737; }
.campaign-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.4rem; }
.campaign-foot-inner > p { color: #f6e7da; max-width: 43ch; font: 400 clamp(1rem,1.45vw,1.24rem)/1.4 var(--display); letter-spacing: -.022em; }
.campaign-foot-inner > div { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; }
.campaign-foot a { color: #edcfc3; font-size: .92rem; text-underline-offset: .22em; text-decoration: none; }
.campaign-foot a:hover { text-decoration: underline; }
.campaign-foot strong { margin-left: .2rem; color: #fff8ed; white-space: nowrap; }
.campaign-foot small { font-size: .85rem; color: #e4c9c0; }

.store-faq { display: grid; grid-template-columns: 1fr 1.45fr; gap: 2rem clamp(2rem,7vw,7rem); padding-block: clamp(3.5rem,7vw,6.5rem); }
.store-faq h2 { font-size: clamp(2.25rem,4.3vw,4.2rem); }
.store-questions details { border-top: 1px solid var(--line); padding-block: .4rem; }
.store-questions details:last-child { border-bottom: 1px solid var(--line); }
.store-questions summary { padding: .7rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.store-questions summary::-webkit-details-marker { display: none; }
.store-questions summary::after { content: '+'; font: 400 1.45rem/1 system-ui; color: var(--campaign-accent); }
.store-questions details[open] summary::after { content: '−'; }
.store-questions p { padding: 0 1rem .8rem 0; }
.store-footer { background: #211719; color: #f8ede3; }
.store-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.35rem; padding-block: 2.3rem; }
.store-footer strong { display: block; font: 400 1.3rem var(--display); }
.store-footer a { color: #f2d2be; text-underline-offset: .25em; }
@media(min-width:110rem) {
  .campaign-copy { margin-left: 15rem; }
}
@media(max-width:59rem) and (min-width:47.01rem) {
  .campaign-copy { width: 39%; margin-left: 3.5vw; }
  .campaign-art { width: 70%; }
  .campaign-inner { min-height: clamp(26rem,50vw,31rem); }
  .campaign-actions { gap: .55rem .9rem; }
  .campaign-photo { mask-image: linear-gradient(transparent, black 9%, black 91%, transparent); }
}
@media(max-width:47rem) {
  .store-wrap { width: calc(100% - 2.4rem); }
  .store-header-inner { min-height: 3.65rem; }
  .wide-nav { display: none; }
  .mobile-menu { display: block; border: 0!important; padding: 0; }
  .mobile-menu summary { display: flex; gap: .6rem; align-items: center; min-height: 2.75rem; font-size: .92rem; }
  .mobile-menu summary::after { content: ''; width: 1.1rem; height: .55rem; border-block: 1.5px solid; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; background: #211012; padding: .4rem 1.2rem 1rem; display: flex; flex-direction: column; gap: 0; box-shadow: 0 .8rem 1.2rem #0003; }
  .mobile-menu nav a { min-height: 2.85rem; border-top: 1px solid #5d4445; }
  .campaign-inner { display: flex; flex-direction: column; min-height: 0; }
  .campaign-art { position: relative; inset: auto; width: 100%; aspect-ratio: 1.53; max-height: 24rem; order: 1; }
  .campaign-plate { top: 48%; right: -1.5%; width: 125%; }
  .campaign-plate::after { inset: auto 0 0 0; width: 100%; height: 14%; background: linear-gradient(0deg,#190708,transparent); }
  .campaign-art::after { content: ''; pointer-events: none; position: absolute; inset: auto 0 0; height: 17%; background: linear-gradient(0deg,#190708,transparent); }
  .campaign-copy { order: 2; width: calc(100% - 2.4rem); margin: 0; padding: .95rem 0 1.5rem; }
  .campaign-copy #store-state { font-size: .84rem; }
  .storefront .campaign h1 { font-size: clamp(2.75rem,10.5vw,4.5rem); line-height: 1.09; margin: .33rem 0 .65rem -.04em; letter-spacing: -.067em; }
  .campaign h1 br { display: none; }
  .campaign-lead { max-width: 43ch; font-size: 1rem; }
  .campaign-actions { margin-top: 1.1rem; }
  .campaign-foot-inner { display: grid; gap: .8rem; padding-block: 1.15rem; }
  .campaign-foot-inner > div { gap: .45rem 1rem; }
  .book-pin span { display: none; }
  .store-faq { grid-template-columns: 1fr; gap: 1.35rem; }
}
@media(prefers-reduced-motion:no-preference) {
  .book-pin::before, .book-pin span, .campaign-primary { transition: color .16s, background-color .16s, opacity .16s; }
}
