@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Literata:opsz,wght@7..72,500;7..72,600;7..72,700&display=swap');

:root {
  --verde: #176B68;
  --ocre: #E5A42E;
  --vermelho: #D84A32;
  --creme: #F3E9D2;
  --carvao: #1E2724;
  --papel: #FFF9EC;
  --linha: rgba(30, 39, 36, .28);
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Cabin', Verdana, sans-serif;
  --max: 1280px;
  --shadow: 10px 10px 0 rgba(30, 39, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--carvao);
  background: var(--creme);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 4px; }
::selection { color: var(--papel); background: var(--verde); }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--papel);
  background: var(--carvao);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .8rem;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 1.9rem; height: 3px; background: currentColor; }
.display {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 8vw, 7.3rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .93;
}
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.lead { max-width: 62ch; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.muted { color: #4D5955; }

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--linha);
  background: var(--creme);
}
.utility {
  padding: .38rem 1rem;
  color: var(--creme);
  background: var(--verde);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
}
.brand {
  width: max-content;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand-mark { display: inline-block; color: var(--vermelho); transform: rotate(-11deg); }
.main-nav { grid-column: 1 / -1; display: none; padding-bottom: 1rem; }
.main-nav.is-open { display: grid; }
.main-nav a {
  padding: .72rem 0;
  border-bottom: 1px solid var(--linha);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.main-nav a[aria-current='page'] { color: var(--vermelho); }
.menu-toggle, .cart-link {
  min-height: 44px;
  border: 1px solid var(--carvao);
  background: transparent;
  text-decoration: none;
}
.menu-toggle { width: 44px; display: grid; place-items: center; cursor: pointer; }
.menu-toggle svg, .cart-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-link { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .7rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.cart-count { min-width: 1.45rem; height: 1.45rem; display: grid; place-items: center; color: var(--papel); background: var(--vermelho); border-radius: 50%; }

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: 3.2rem 0 4.5rem;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  width: 36vw;
  min-width: 175px;
  aspect-ratio: 1;
  top: 10%;
  right: -12vw;
  z-index: -1;
  background: var(--ocre);
  clip-path: polygon(48% 0, 100% 22%, 85% 84%, 28% 100%, 0 42%);
}
.hero-grid { display: grid; gap: 2rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-visual { position: relative; width: 92%; margin-left: auto; }
.hero-visual::before {
  content: '';
  position: absolute;
  width: 38%;
  height: 42%;
  left: -8%;
  bottom: -8%;
  z-index: -1;
  background: var(--vermelho);
  transform: rotate(-7deg);
}
.hero-image { width: 100%; height: clamp(390px, 64vh, 720px); object-fit: cover; object-position: center 30%; clip-path: polygon(8% 0, 100% 0, 94% 93%, 19% 100%, 0 34%); }
.poster-note {
  position: absolute;
  right: -1rem;
  bottom: 12%;
  max-width: 11rem;
  padding: .8rem 1rem;
  color: var(--papel);
  background: var(--carvao);
  font-family: var(--serif);
  font-size: .92rem;
  line-height: 1.3;
  transform: rotate(3deg);
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.15rem;
  border: 1px solid var(--carvao);
  color: var(--papel);
  background: var(--carvao);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ocre);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ocre); }
.btn-secondary { color: var(--carvao); background: transparent; box-shadow: none; }
.btn-secondary:hover { color: var(--papel); background: var(--verde); }
.btn-red { background: var(--vermelho); }
.btn-small { min-height: 40px; padding: .55rem .8rem; font-size: .88rem; }
.text-link { font-weight: 700; text-decoration-thickness: 2px; }

.color-band { overflow: hidden; color: var(--creme); background: var(--verde); }
.color-band-inner { display: flex; width: max-content; padding: .65rem 0; animation: ticker 24s linear infinite; }
.color-band span { margin-right: 2.5rem; font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.color-band b { color: var(--ocre); margin-right: .65rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(4rem, 9vw, 8.5rem) 0; }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.section-heading .section-index { color: var(--vermelho); font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.product-grid { display: grid; gap: 2.1rem 1rem; }
.product-card { position: relative; }
.product-card a { text-decoration: none; }
.product-image-wrap { position: relative; overflow: hidden; background: #DCCFB4; }
.product-card:nth-child(4n + 1) .product-image-wrap { clip-path: polygon(0 0, 100% 5%, 94% 100%, 0 94%); }
.product-card:nth-child(4n + 2) .product-image-wrap { clip-path: polygon(7% 0, 100% 0, 100% 91%, 0 100%); }
.product-card:nth-child(4n + 3) .product-image-wrap { clip-path: polygon(0 6%, 94% 0, 100% 100%, 4% 94%); }
.product-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-tag { position: absolute; top: .7rem; left: .7rem; padding: .3rem .55rem; color: var(--papel); background: var(--verde); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-meta { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .95rem .2rem 0; }
.product-meta h3 { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.2; }
.product-meta .category { grid-column: 1; margin: .15rem 0 0; color: #5B625F; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.price { margin: 0; font-weight: 700; white-space: nowrap; }

.editorial { position: relative; overflow: hidden; color: var(--papel); background: var(--carvao); }
.editorial::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -90px; border: 35px solid var(--ocre); border-radius: 50%; }
.editorial-grid { position: relative; z-index: 1; display: grid; gap: 2.4rem; }
.editorial-image { position: relative; }
.editorial-image img { width: 100%; min-height: 460px; object-fit: cover; clip-path: polygon(0 0, 87% 4%, 100% 92%, 8% 100%); }
.editorial-copy { align-self: center; }
.editorial-copy .section-title { max-width: 10ch; color: var(--ocre); }
.editorial-copy .lead { max-width: 38ch; }

.values { display: grid; border-top: 1px solid var(--linha); }
.value { position: relative; padding: 2rem .2rem; border-bottom: 1px solid var(--linha); }
.value-number { display: block; color: var(--vermelho); font-family: var(--serif); font-size: 2.2rem; font-weight: 600; }
.value h3 { margin: .35rem 0; font-family: var(--serif); font-size: 1.25rem; }
.value p { margin: 0; }

.page-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0 3.3rem; border-bottom: 1px solid var(--linha); }
.page-hero::after { content: ''; position: absolute; width: 210px; height: 210px; right: -80px; top: 25px; z-index: -1; background: var(--ocre); transform: rotate(24deg); }
.page-hero-grid { display: grid; gap: 1.3rem; }
.page-hero .lead { margin: 0; align-self: end; }

.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; }
.filter-btn { padding: .55rem .8rem; border: 1px solid var(--carvao); background: transparent; font-weight: 700; cursor: pointer; }
.filter-btn[aria-pressed='true'], .filter-btn:hover { color: var(--papel); background: var(--verde); }
.catalog-count { margin: 0 0 1rem; font-size: .9rem; }
.empty-state { padding: 2.5rem; border: 1px solid var(--linha); background: var(--papel); }

.product-detail { display: grid; gap: 2.5rem; }
.product-detail-media { position: relative; }
.product-detail-media::after { content: ''; position: absolute; width: 38%; height: 25%; right: -4%; bottom: -5%; z-index: -1; background: var(--ocre); transform: rotate(7deg); }
.product-detail-media img { width: 100%; max-height: 760px; object-fit: cover; clip-path: polygon(0 0, 100% 4%, 94% 100%, 6% 96%); }
.product-detail-info { align-self: center; }
.product-detail-info h1 { margin: .2rem 0 .9rem; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.055em; line-height: .97; }
.product-detail-info .price { font-size: 1.35rem; }
.product-description { max-width: 52ch; margin: 1.4rem 0; }
.product-form { display: grid; gap: 1rem; max-width: 28rem; margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); }
.field-group { display: grid; gap: .35rem; }
.field-group > label, .field-label { font-weight: 700; }
.field, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .72rem .8rem;
  border: 1px solid #6B736F;
  color: var(--carvao);
  background: var(--papel);
  border-radius: 0;
}
textarea { min-height: 145px; resize: vertical; }
.microcopy { margin: .2rem 0 0; color: #515B57; font-size: .86rem; }
.form-feedback, .product-feedback { margin: .8rem 0 0; font-weight: 700; }
.form-feedback.success, .product-feedback.success { padding: .75rem; border-left: 5px solid var(--verde); background: rgba(23, 107, 104, .1); }

.cart-layout, .checkout-layout, .contact-layout { display: grid; gap: 2.5rem; }
.cart-lines { display: grid; gap: 1rem; }
.cart-line { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--linha); }
.cart-line img { width: 92px; height: 116px; object-fit: cover; }
.cart-line h2 { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.2; }
.cart-line p { margin: .15rem 0; font-size: .88rem; }
.cart-line-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.qty-control { display: inline-grid; grid-template-columns: 40px 48px 40px; border: 1px solid var(--carvao); }
.qty-control button { min-height: 40px; border: 0; background: transparent; cursor: pointer; }
.qty-control output { display: grid; place-items: center; border-inline: 1px solid var(--carvao); }
.remove-btn { border: 0; padding: .4rem; color: var(--vermelho); background: transparent; font-weight: 700; text-decoration: underline; cursor: pointer; }
.summary-panel { align-self: start; padding: 1.4rem; color: var(--papel); background: var(--carvao); box-shadow: 10px 10px 0 var(--ocre); }
.summary-panel h2 { margin-top: 0; font-family: var(--serif); font-size: 1.65rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(243, 233, 210, .28); }
.summary-total { margin-top: .4rem; font-size: 1.2rem; font-weight: 700; border-bottom: 0; }
.summary-panel .btn { width: 100%; margin-top: 1rem; color: var(--carvao); background: var(--ocre); box-shadow: none; }
.summary-note { color: #DAD3C3; font-size: .82rem; }
.checkout-items { display: grid; gap: .6rem; margin-bottom: .8rem; }
.checkout-item { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; font-size: .9rem; }
.checkout-item small { grid-column: 1; color: #DAD3C3; }

.form-shell { padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid var(--carvao); background: var(--papel); }
.form-shell fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.form-shell legend { width: 100%; margin-bottom: 1.1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--linha); font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.form-grid { display: grid; gap: 1rem; }
.checkbox-line { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .55rem; margin-top: .65rem; font-size: .9rem; }
.checkbox-line input { width: 19px; height: 19px; margin-top: .16rem; accent-color: var(--verde); }
.full { grid-column: 1 / -1; }
.payment-options { display: grid; gap: .65rem; }
.payment-option { display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .85rem; border: 1px solid var(--linha); cursor: pointer; }
.payment-option input { margin-top: .35rem; accent-color: var(--verde); }
.payment-option strong, .payment-option span { display: block; }
.payment-option span { color: #56615D; font-size: .86rem; }

.contact-aside { position: relative; align-self: start; padding: 2rem; color: var(--papel); background: var(--verde); }
.contact-aside::after { content: ''; position: absolute; width: 80px; height: 80px; right: -15px; bottom: -18px; background: var(--ocre); transform: rotate(14deg); }
.contact-aside h2 { margin-top: 0; font-family: var(--serif); font-size: 2rem; }
.contact-list { padding: 0; list-style: none; }
.contact-list li { padding: .7rem 0; border-bottom: 1px solid rgba(243, 233, 210, .3); }

.story-grid { display: grid; gap: 2rem; align-items: center; }
.story-image { position: relative; }
.story-image::before { content: ''; position: absolute; width: 45%; height: 45%; left: -4%; top: -5%; z-index: -1; background: var(--vermelho); transform: rotate(-5deg); }
.story-image img { width: 100%; min-height: 500px; object-fit: cover; clip-path: polygon(0 5%, 100% 0, 92% 96%, 7% 100%); }
.story-copy blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 8px solid var(--ocre); font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.2rem); line-height: 1.3; }

.legal-layout { display: grid; gap: 2.5rem; }
.legal-nav { align-self: start; padding: 1.2rem; border: 1px solid var(--carvao); }
.legal-nav strong { font-family: var(--serif); font-size: 1.15rem; }
.legal-nav ul { margin: .7rem 0 0; padding: 0; list-style: none; }
.legal-nav li + li { border-top: 1px solid var(--linha); }
.legal-nav a { display: block; padding: .6rem 0; }
.legal-content { max-width: 800px; }
.legal-content section { scroll-margin-top: 1rem; padding-bottom: 1.5rem; }
.legal-content h2 { margin: 0 0 .7rem; font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.2; }
.legal-content h3 { font-family: var(--serif); }
.legal-content p, .legal-content li { max-width: 70ch; }
.legal-content li + li { margin-top: .45rem; }
.legal-meta { padding: 1rem; border-left: 8px solid var(--vermelho); background: var(--papel); }

.site-footer { color: var(--creme); background: var(--carvao); }
.newsletter { padding: 3.5rem 0; border-bottom: 1px solid rgba(243, 233, 210, .24); }
.newsletter-grid { display: grid; gap: 1.5rem; }
.newsletter h2 { max-width: 13ch; margin: 0; color: var(--ocre); font-family: var(--serif); font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; }
.newsletter form { display: grid; gap: .7rem; align-self: end; }
.newsletter .field { border-color: var(--creme); color: var(--creme); background: transparent; }
.newsletter .field::placeholder { color: #C6C1B4; }
.newsletter .btn { color: var(--carvao); background: var(--ocre); box-shadow: none; }
.newsletter .checkbox-line { color: #D8D2C4; }
.footer-main { display: grid; gap: 2rem; padding: 3rem 0; }
.footer-brand .brand { display: inline-block; margin-bottom: .7rem; font-size: 2rem; }
.footer-brand p { max-width: 31ch; color: #CFC8B9; }
.footer-links h3 { margin: 0 0 .6rem; color: var(--ocre); font-family: var(--serif); font-size: 1.05rem; }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: .2rem 0; color: #E7DFCF; }
.footer-bottom { padding: 1rem 0 1.5rem; border-top: 1px solid rgba(243, 233, 210, .24); color: #BFB9AD; font-size: .78rem; }
.footer-bottom p { margin: .2rem 0; }

@media (min-width: 640px) {
  .container { width: min(calc(100% - 3rem), var(--max)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.5rem; }
  .product-card:nth-child(even) { margin-top: 3.5rem; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter form { grid-template-columns: 1fr auto; }
  .newsletter .checkbox-line, .newsletter .form-feedback { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .value { padding: 2rem 1.3rem; border-right: 1px solid var(--linha); }
  .value:last-child { border-right: 0; }
}

@media (min-width: 900px) {
  .header-inner { min-height: 86px; grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: none; }
  .main-nav, .main-nav.is-open { grid-column: auto; display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.8rem); padding: 0; }
  .main-nav a { padding: .35rem 0; border: 0; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .hero-copy { grid-column: 1 / span 7; padding-bottom: 4rem; }
  .hero-visual { grid-column: 7 / -1; grid-row: 1; width: 100%; }
  .section-heading { grid-template-columns: 5fr 2fr; align-items: end; }
  .section-heading p { margin: 0; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.5rem 1.1rem; }
  .product-card:nth-child(even) { margin-top: 4.5rem; }
  .editorial-grid { grid-template-columns: 7fr 5fr; gap: 5rem; }
  .page-hero-grid { grid-template-columns: 7fr 5fr; align-items: end; }
  .product-detail { grid-template-columns: 7fr 5fr; gap: 5rem; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 350px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 390px; align-items: start; }
  .checkout-layout .summary-panel { position: sticky; top: 1.5rem; }
  .contact-layout { grid-template-columns: 7fr 4fr; gap: 6rem; }
  .story-grid { grid-template-columns: 6fr 5fr; gap: 6rem; }
  .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 5rem; }
  .legal-nav { position: sticky; top: 1rem; }
  .newsletter-grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .footer-main { grid-template-columns: 2fr repeat(3, 1fr); }
}

@media (min-width: 1180px) {
  .hero { padding-top: 5.5rem; }
  .cart-line { grid-template-columns: 112px 1fr auto; align-items: center; }
  .cart-line img { width: 112px; height: 140px; }
  .cart-line-actions { grid-column: 3; flex-direction: column; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}