:root {
  color-scheme: light;
  --paper: #f4efe7;
  --ink: #151411;
  --dark: #1e1a16;
  --muted: #63594e;
  --gold: #e2ba7d;
  --line: #d6cbbd;
  --gutter: clamp(1rem, 4.3vw, 4.5rem);
  --shell: 100rem;
  --font: 'Segoe UI', system-ui, sans-serif;
  --display: Impact, Haettenschweiler, 'Arial Narrow', 'Arial Black', sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body, h1, h2, p, figure { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
p { line-height: 1.55; }
fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #99602d; outline-offset: 4px; }
:where(.site-header, .hero, .site-footer, .manifesto, .menu-dialog) :focus-visible { outline-color: var(--gold); }

.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.125rem; height: 1.125rem; flex: none; }
.skip { position: fixed; z-index: 5; top: .5rem; left: 1rem; padding: .75rem 1rem; transform: translateY(-160%); background: var(--paper); }
.skip:focus { transform: none; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.025em; line-height: .96; text-wrap: balance; }
.kicker { font-size: .6875rem; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; line-height: 1.4; }
.kicker::before { content: ''; display: inline-block; vertical-align: .28em; width: 1.25rem; height: 1px; margin-right: .6rem; background: currentColor; }
.button, .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: space-between; gap: .65rem; font-size: .8125rem; font-weight: 700; }
.button { min-height: 3.125rem; border: 1px solid transparent; padding: .6rem .875rem; transition: background-color .2s, color .2s, border-color .2s; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #f0d6a8; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #473326; }
.button-outline { background: transparent; border-color: #898074; color: inherit; }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.text-link { width: fit-content; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: #9b7151; }
.text-link:hover { text-decoration-thickness: 2px; }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: transparent; border: 1px solid transparent; color: inherit; }
.icon-button:hover { border-color: currentColor; }
.icon-button .icon { width: 1.5rem; height: 1.5rem; }

.site-header { position: sticky; top: 0; z-index: 3; background: #151411; color: var(--paper); border-bottom: 1px solid #4a3f30; }
.header-inner { display: flex; min-height: 4.25rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; width: max-content; min-height: 2.75rem; }
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.brand span { font-family: var(--display); letter-spacing: .065em; font-size: 1.55rem; line-height: 1; }
.desktop-nav, .desktop-contact { display: none; }
.desktop-nav a, .footer-main nav a { display: flex; align-items: center; min-height: 2.75rem; white-space: nowrap; }
.desktop-nav a:hover, .footer-main nav a:hover { color: var(--gold); }

.hero { display: grid; background: #191611; color: var(--paper); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem var(--gutter) 1.625rem; background: repeating-linear-gradient(90deg, transparent 0 71px, #e1b87f0d 72px 73px), radial-gradient(ellipse at 20% 85%, #3a291b 0%, #201911 38%, #181612 74%); }
.hero .kicker { color: var(--gold); margin-bottom: 1rem; }
.hero-title { font-size: clamp(3.25rem, 14.5vw, 5.75rem); line-height: .9; text-wrap: nowrap; }
.hero-title span { display: block; }
.hero-title span + span { color: var(--gold); }
.hero-description { margin: 1rem 0 1.125rem; color: #e3d5c4; font-size: .9375rem; }
.hero .button { min-width: 12rem; }
.hero-photo { display: block; position: relative; isolation: isolate; overflow: hidden; width: 100%; min-height: 19.5rem; aspect-ratio: 1.1; background: #473124; }
.hero-photo::after { content: ''; position: absolute; inset: 48% 0 0; pointer-events: none; background: linear-gradient(transparent, #100d09de); }
.hero-photo img, .editorial-photo img, .group-photo img, .community-photo img, .card-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 50% 43%; }
.hero-caption { position: absolute; z-index: 1; inset: auto var(--gutter) 1rem; display: flex; align-items: center; justify-content: space-between; font-weight: 650; font-size: .8125rem; }
.hero-arrow, .card-arrow { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: color .2s, background-color .2s; }
.hero-photo:hover .hero-arrow { color: var(--ink); background: var(--gold); }
.hero-photo:focus-visible { outline-offset: -6px; }

.section { padding-block: clamp(2.75rem, 6.2vw, 6.25rem); }
#destaques { padding-top: clamp(2.5rem, 4vw, 4.75rem); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .35rem 1rem; margin-bottom: 1rem; }
.section-heading .kicker, .catalog-intro .kicker, .detail-info .kicker, .group-copy .kicker, .community-copy .kicker { color: #714727; margin-bottom: .65rem; }
.section-heading .display, .catalog-intro .display, .community .display { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; gap: 1.125rem .625rem; }
.product-card a { display: block; }
.card-photo { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #ded0bd; }
.card-photo img { transition: transform .35s ease; object-position: center 45%; }
.card-info { padding-block: .7rem; display: flex; justify-content: space-between; align-items: start; gap: .25rem; }
.card-info strong { display: block; font-size: clamp(.8125rem, 1.6vw, 1rem); line-height: 1.3; }
.card-color { display: block; color: var(--muted); font-size: .75rem; margin-top: .25rem; }
.card-arrow { width: 1.65rem; height: 1.65rem; border-color: #a09181; }
.card-arrow .icon { width: .875rem; height: .875rem; }
.product-card a:is(:hover,:focus-visible) .card-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) { .product-card a:hover img { transform: scale(1.035); } }

.manifesto { display: grid; background: var(--dark); color: var(--paper); }
.editorial-photo, .group-photo, .community-photo { position: relative; overflow: hidden; background: #cbb899; }
.editorial-photo { aspect-ratio: 6 / 5; }
.editorial-photo img { object-position: 50% 46%; }
.editorial-copy { padding: clamp(2.5rem, 7vw, 6rem) var(--gutter); }
.editorial-copy .kicker { color: var(--gold); margin-bottom: .8rem; }
.editorial-copy .display, .group-copy .display { font-size: clamp(2.8rem, 7vw, 6rem); text-wrap: initial; }
.group-copy .display { font-size: clamp(2.65rem, 5vw, 5.25rem); }
.editorial-copy p:not(.kicker), .group-copy p:not(.kicker), .community-copy p:not(.kicker) { margin-block: 1rem; max-width: 30rem; }
.editorial-copy p:not(.kicker) { color: #e2d4c4; }
.group-panel { display: grid; border: 1px solid var(--line); background: #ebe1d2; }
.group-copy { padding: clamp(1.25rem, 4vw, 4rem); }
.group-photo { aspect-ratio: 1.5; }
.group-photo img { object-position: 50% 43%; }
.community { border-top: 1px solid var(--line); }
.community-inner { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; gap: .625rem; }
.community-copy { grid-column: 1 / -1; padding-bottom: .75rem; }
.community-photo { aspect-ratio: 4 / 5; }
.community-detail { aspect-ratio: 4 / 5; }

.site-footer { background: #151411; color: var(--paper); }
.footer-main { padding-block: 2.25rem 1.5rem; display: grid; gap: 1.25rem; }
.footer-main p, .footer-note { color: #c9bcaa; font-size: .8125rem; }
.footer-main p { margin-top: .55rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; align-items: start; font-size: .8125rem; }
.footer-contact { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-contact .button { min-height: 2.75rem; }
.footer-note { border-top: 1px solid #55483a; padding-block: 1rem 1.5rem; }

.catalog, .detail { padding-top: 1.25rem; }
.back-link { justify-content: flex-start; margin-bottom: 1rem; }
.catalog-intro { padding-block: .75rem 1.5rem; }
.catalog-intro p:not(.kicker) { margin-top: .85rem; }
.filters { padding-block: 1rem; margin-bottom: 1rem; border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .5rem 1.5rem; }
.filters [data-count], .empty { color: var(--muted); font-size: .875rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills legend { font-size: .875rem; font-weight: 700; margin-bottom: .5rem; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pills span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .45rem .7rem; border: 1px solid #9b8d7d; font-size: .8125rem; background: #fff9f1; }
.pills input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pills input:focus-visible + span { outline: 2px solid #99602d; outline-offset: 3px; }
.pills label:hover span { border-color: var(--ink); }

.detail-grid { display: grid; align-items: start; gap: 1.75rem; }
.gallery-stage { background: #e9dfd1; }
.gallery-stage img { height: clamp(18rem, 111vw, 39rem); object-fit: contain; }
.thumbnails { display: flex; gap: .75rem; margin-top: .75rem; }
.thumbnails button { width: 3.75rem; height: 4.25rem; color: var(--ink); border: 1px solid #958574; background: #e9dfd1; padding: .15rem; }
.thumbnails button[aria-pressed="true"] { border: 2px solid var(--ink); }
.thumbnails img { height: 100%; object-fit: cover; }
.detail-info .display { text-wrap: initial; font-size: clamp(2.55rem, 7.4vw, 5.25rem); max-width: 13ch; }
.product-description { margin: 1rem 0 1.375rem; color: var(--muted); }
.single-color, .variant-pills { margin-bottom: 1.25rem; }
.single-color { display: flex; align-items: center; gap: .6rem; font-size: .875rem; }
.single-color span { display: inline-block; border: 1px solid #9b8d7d; padding: .4rem .65rem; }
.size-label, .contact-dialog label { display: block; margin-bottom: .375rem; font-size: .875rem; font-weight: 700; }
.size-label span { font-weight: 400; }
.detail select, .contact-dialog textarea { display: block; min-height: 2.875rem; width: 100%; border: 1px solid #9b8d7d; background: #fff9f1; color: var(--ink); padding: .45rem .6rem; }
.availability { margin-block: .75rem 1rem; font-size: .875rem; color: var(--muted); }
.product-action .button { width: 100%; }

dialog { padding: 1.25rem; border: 1px solid #716355; width: min(calc(100% - 2rem), 30rem); max-height: min(90dvh, 48rem); }
dialog::backdrop { background: #0d0c0ac9; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.dialog-heading h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; font-size: 1.75rem; }
.contact-dialog { background: var(--paper); color: var(--ink); }
.contact-dialog p { margin-bottom: .8rem; }
.contact-dialog textarea { resize: vertical; }
.contact-dialog .button { margin-top: .75rem; }
.contact-dialog .copy-status { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; }
.menu-dialog { background: #1e1914; color: var(--paper); margin: .5rem .5rem auto auto; }
.menu-dialog nav { display: grid; margin-bottom: 1rem; }
.menu-dialog nav a { display: flex; align-items: center; min-height: 3.25rem; border-block-end: 1px solid #594a39; }
.menu-dialog .button { width: 100%; }

@media (min-width: 740px) {
  .header-inner { min-height: 4.75rem; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); font-size: .875rem; }
  .desktop-contact { display: block; }
  .desktop-contact .button { min-height: 2.75rem; }
  .menu-toggle { display: none; }
  .hero { grid-template-columns: 49fr 51fr; }
  .hero-copy { padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))) 1rem; padding-block: 3rem; }
  .hero-title { font-size: clamp(4rem, 8.7vw, 10rem); }
  .hero .kicker { margin-bottom: 1.375rem; }
  .hero-description { font-size: clamp(.9375rem, 1.45vw, 1.25rem); margin: 1.45rem 0 1.5rem; }
  .hero-photo { aspect-ratio: auto; min-height: clamp(29rem, 42.5vw, 45rem); }
  .hero-caption { inset: auto var(--gutter) 1.5rem 1.5rem; font-size: .9rem; }
  .hero .button { min-width: 14rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  #destaques .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-arrow { width: 2rem; height: 2rem; }
  .card-arrow .icon { width: 1.05rem; height: 1.05rem; }
  .manifesto { grid-template-columns: 54fr 46fr; }
  .editorial-photo { aspect-ratio: auto; }
  .editorial-copy { align-self: center; }
  .group-panel { grid-template-columns: 54fr 46fr; }
  .group-photo { aspect-ratio: auto; }
  .community-inner { grid-template-columns: 1.2fr .95fr .63fr; gap: 1rem; }
  .community-copy { grid-column: auto; padding: 0 1rem 0 0; }
  .footer-main { grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; }
  .footer-main nav { justify-content: center; }
  .catalog, .detail { padding-top: 1.75rem; }
  .catalog-intro { padding-block: 1rem 2.25rem; }
  .detail-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(1.75rem, 5vw, 5.5rem); }
  .gallery-stage img { height: clamp(25rem, 55vw, 43rem); }
  .detail-info { padding-top: .5rem; max-width: 34rem; }
}

@media (min-width: 1050px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero .kicker, .section .kicker, .manifesto .kicker { font-size: .75rem; }
  .hero-caption { left: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-entry .42s ease-out; }
  @keyframes hero-entry { from { opacity: 0; transform: translateY(6px); } }
}
