* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #eeeeee;
  --panel: #dad7d3;
  --ink: #3c2717;
  --title: #a46e3d;
  --line: #b07d4f;
  --bar: rgba(84, 53, 25, 0.8);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "EB Garamond", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.topbar {
  margin-top: -4px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  background: var(--bar);
  backdrop-filter: blur(12px);
  transition: transform 240ms ease, opacity 240ms ease;
}

.topbar__inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  text-decoration: none;
  color: #ebebeb;
  font-family: "GFS Didot", serif;
  font-size: 1.05rem;
  letter-spacing: 0.1px;
}

.menu-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #ebebeb;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  cursor: pointer;
  padding: 10px 6px;
}

.menu-icon span {
  width: 24px;
  height: 3px;
  background: #ebebeb;
}

.collage-section {
  background: var(--bg);
  padding: 104px 0 56px;
}

.collage {
  width: min(820px, 88vw);
  margin: 0 auto;
}

.collage picture {
  display: contents;
}

.artwork-image {
  width: 100%;
  max-height: 760px;
  display: block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.11);
  object-fit: contain;
}

.story-section {
  background: var(--panel);
  padding: 74px 0 68px;
}

.details-section {
  background: var(--bg);
  padding: 86px 0 104px;
}

.content {
  width: min(620px, 84vw);
  margin: 0 auto;
}

.details-section .content {
  width: min(640px, 92vw);
}

h2 {
  position: relative;
  width: fit-content;
  margin: 0 auto 38px;
  padding-bottom: 12px;
  color: var(--title);
  font-family: "GFS Didot", serif;
  font-size: clamp(2.35rem, 3.1vw, 3.2rem);
  line-height: 1.08;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--line);
}

.story-section p {
  font-size: clamp(1.04rem, 1.85vw, 1.26rem);
  line-height: 1.48;
  text-align: justify;
  color: #3d2818;
}

.specs {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.spec h3 {
  color: var(--title);
  font-family: "GFS Didot", serif;
  font-size: clamp(1.15rem, 2.05vw, 1.55rem);
  margin-bottom: 4px;
}

.spec p {
  font-size: clamp(0.98rem, 1.75vw, 1.22rem);
  color: #3f2a1a;
}

.work-notes {
  display: grid;
  gap: 24px;
  margin-bottom: 54px;
}

.work-note {
  background: var(--panel);
  padding: 22px 20px 20px;
  text-align: center;
}

.work-note h3 {
  position: relative;
  width: fit-content;
  margin: 0 auto 14px;
  padding-bottom: 7px;
  color: var(--title);
  font-family: "GFS Didot", serif;
  font-size: clamp(1.06rem, 1.75vw, 1.35rem);
  line-height: 1.08;
}

.work-note h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
}

.work-note p {
  max-width: 490px;
  margin: 0 auto;
  color: #3f2a1a;
  font-size: clamp(0.98rem, 1.55vw, 1.16rem);
  line-height: 1.34;
}

.purchase-info {
  text-align: center;
  margin: 0 auto 70px;
  color: var(--title);
}

.purchase-info__mobile-price {
  display: none;
}

.purchase-line {
  display: block;
  width: min(520px, 86vw);
  height: 3px;
  margin: 0 auto 26px;
  background: var(--line);
}

.installments,
.pix-price {
  color: var(--title);
  font-family: "GFS Didot", serif;
  font-size: clamp(1.55rem, 2.35vw, 2.05rem);
  font-weight: 700;
  line-height: 1.08;
}

.shipping,
.pix-note,
.purchase-or {
  color: var(--title);
  font-family: "GFS Didot", serif;
  font-size: clamp(1.08rem, 1.85vw, 1.35rem);
  font-weight: 700;
  line-height: 1.08;
}

.shipping {
  margin-top: 2px;
}

.purchase-or {
  margin-top: 28px;
}

.pix-note {
  margin-top: 4px;
}

.cta-text {
  text-align: center;
  font-family: "GFS Didot", serif;
  color: #3e2918;
  font-size: clamp(1.95rem, 2.85vw, 2.5rem);
  line-height: 1.14;
  margin-bottom: 24px;
}

.contact-btn {
  width: min(420px, 82vw);
  margin: 0 auto;
  border: 2px solid var(--line);
  color: #5a3f2a;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  font-family: "GFS Didot", serif;
  font-size: clamp(1.02rem, 1.8vw, 1.42rem);
  letter-spacing: 0.2px;
  transition: background 220ms ease, color 220ms ease;
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-btn:hover {
  background: #b07d4f;
  color: #f2ece7;
}

@media (max-width: 900px) {
  .topbar__inner {
    min-height: 70px;
    padding: 10px 0;
  }

  .brand {
    font-size: 1.02rem;
  }

  .menu-icon {
    width: 42px;
    height: 42px;
    gap: 5px;
    padding: 8px 6px;
  }

  .menu-icon span {
    width: 22px;
    height: 2px;
  }

  .collage-section {
    padding: 70px 0 12px;
  }

  .collage {
    width: min(100% - 30px, 640px);
  }

  .collage picture {
    display: block;
    line-height: 0;
  }

  .artwork-image {
    height: auto;
    max-height: none;
  }

  .purchase-info__mobile-price {
    display: block;
  }

  .purchase-info__consultation {
    display: none;
  }

  h2 {
    margin-bottom: 32px;
    font-size: clamp(2.05rem, 7vw, 2.8rem);
  }

  .details-section {
    padding: 54px 0 74px;
  }

  .details-section .content {
    width: min(100% - 30px, 640px);
  }

  .details-section h2 {
    margin-bottom: 26px;
    padding-bottom: 8px;
    font-size: clamp(1.12rem, 4.8vw, 1.42rem);
  }

  .specs {
    gap: 13px;
    margin-bottom: 40px;
  }

  .details-section .spec h3 {
    font-size: clamp(0.95rem, 4vw, 1.08rem);
    margin-bottom: 1px;
  }

  .details-section .spec p {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
  }

  .work-notes {
    gap: 24px;
    margin-bottom: 54px;
  }

  .work-note {
    padding: 17px 14px 18px;
  }

  .work-note h3 {
    margin-bottom: 12px;
    font-size: clamp(0.96rem, 4vw, 1.08rem);
  }

  .work-note p {
    font-size: clamp(0.86rem, 3.65vw, 0.98rem);
    line-height: 1.24;
  }

  .purchase-info {
    margin-bottom: 68px;
  }

  .purchase-line {
    width: calc(100% - 48px);
    height: 2px;
    margin-bottom: 18px;
  }

  .installments,
  .pix-price {
    font-size: clamp(1.08rem, 4.7vw, 1.28rem);
  }

  .shipping,
  .pix-note,
  .purchase-or {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .purchase-or {
    margin-top: 26px;
  }

  .cta-text {
    font-size: clamp(1.05rem, 4.5vw, 1.28rem);
    margin-bottom: 24px;
  }

  .contact-btn {
    width: min(230px, 78vw);
    gap: 8px;
    padding: 8px 11px;
    font-size: 0.8rem;
  }

  .contact-icon {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1025px) {
  body {
    background: #f4f1e9;
  }

  .topbar {
    background: rgba(84, 53, 25, 0.86);
  }

  .topbar__inner {
    width: min(1180px, calc(100% - 68px));
    min-height: 78px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .collage-section {
    padding: 130px 0 78px;
  }

  .collage {
    width: min(880px, 76vw);
  }

  .artwork-image {
    max-height: 780px;
    background: #e7e4df;
    box-shadow: 0 20px 42px rgba(60, 39, 23, 0.16);
  }

  .story-section {
    padding: 86px 0 82px;
  }

  .story-section .content {
    width: min(760px, calc(100% - 68px));
  }

  .story-section p {
    font-size: 1.2rem;
    line-height: 1.72;
  }

  .details-section {
    padding: 96px 0 116px;
  }

  .details-section .content {
    width: min(920px, calc(100% - 68px));
  }

  h2 {
    font-size: clamp(2.7rem, 3.1vw, 3.6rem);
  }

  .specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 54px;
  }

  .spec {
    padding: 18px 12px 14px;
    background: rgba(218, 215, 211, 0.58);
  }

  .work-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 70px;
  }

  .work-note {
    min-height: 170px;
    padding: 28px 22px 26px;
    display: grid;
    align-content: start;
  }

  .work-note h3 {
    font-size: 1.18rem;
  }

  .work-note p {
    font-size: 1.02rem;
    line-height: 1.42;
  }

  .purchase-info {
    max-width: 620px;
    margin-bottom: 78px;
  }

  .purchase-line {
    width: 100%;
  }

  .cta-text {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.1rem, 2.6vw, 2.8rem);
  }
}

@media (min-width: 1280px) {
  .topbar__inner {
    width: min(1320px, calc(100% - 96px));
  }

  .collage-section {
    padding: 150px 0 96px;
  }

  .collage {
    width: min(1040px, calc(100% - 160px));
  }

  .artwork-image {
    max-height: 820px;
    box-shadow: 0 28px 58px rgba(60, 39, 23, 0.18);
  }

  .story-section {
    padding: 108px 0 104px;
  }

  .story-section .content {
    width: min(900px, calc(100% - 96px));
  }

  .story-section p {
    font-size: 1.28rem;
    line-height: 1.86;
  }

  .details-section {
    padding: 116px 0 140px;
    content-visibility: auto;
    contain-intrinsic-size: auto 1450px;
  }

  .details-section .content {
    width: min(1120px, calc(100% - 96px));
  }

  .work-notes {
    gap: 28px;
  }

  .work-note {
    min-height: 184px;
    padding: 32px 26px 30px;
  }
}
