:root {
  --navy: #09172d;
  --navy-soft: #122640;
  --ink: #142138;
  --gold: #b79451;
  --gold-light: #d7bc78;
  --paper: #ebe2d2;
  --paper-light: #f5f0e6;
  --taupe: #a89b87;
  --line: #cfc3b1;
  --whatsapp: #1f9f63;
  --serif: "Big Caslon", "Baskerville", "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, rgba(70, 53, 27, 0.018) 0, rgba(70, 53, 27, 0.018) 1px, transparent 1px, transparent 5px),
    var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--navy);
  background: var(--paper-light);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.25rem var(--page-gutter);
  color: var(--paper-light);
}

.brand {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.52rem;
  align-items: center;
  width: max-content;
  color: var(--gold-light);
  text-decoration: none;
}

.brand__moon {
  grid-row: 1 / 3;
  width: 1.55rem;
  height: 2rem;
  fill: currentColor;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.26rem;
  line-height: 0.95;
  letter-spacing: 0.17em;
}

.brand__descriptor {
  color: var(--paper);
  font-size: 0.48rem;
  line-height: 1;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.location-mark {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-mark svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.5;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 20% 40%, rgba(49, 76, 108, 0.8), transparent 36%),
    linear-gradient(135deg, var(--navy-soft), var(--navy) 63%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 6px),
    radial-gradient(circle at 70% -10%, rgba(215, 188, 120, 0.16), transparent 27%);
  pointer-events: none;
}

.hero__copy {
  z-index: 2;
  align-self: end;
  padding: 7.2rem var(--page-gutter) 2.2rem;
}

.eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--gold);
}

.hero h1,
.selection h2,
.group-invite h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 10.8vw, 7.1rem);
  line-height: 0.87;
}

.hero h1 em {
  color: var(--gold-light);
  font-weight: inherit;
  font-style: normal;
}

.hero__lead {
  max-width: 31rem;
  margin: 1.35rem 0 1.5rem;
  color: rgba(245, 240, 230, 0.78);
  font-size: clamp(0.98rem, 2vw, 1.2rem);
}

.hero__lead strong {
  color: var(--paper-light);
  font-weight: 600;
}

.cta {
  display: inline-flex;
  gap: 0.78rem;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.15rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:focus-visible,
.mobile-cta:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.cta > svg:first-child {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.cta span {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.cta small {
  margin-bottom: 0.16rem;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.72;
}

.cta .cta__arrow {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.cta--primary {
  width: min(100%, 23.5rem);
  color: var(--navy);
  background: var(--gold-light);
}

.cta--primary:hover {
  background: var(--paper-light);
}

.hero__actions {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 23.5rem);
}

.hero__actions .cta {
  width: 100%;
}

.cta--attendant {
  position: relative;
  color: var(--paper-light);
  border-color: rgba(245, 240, 230, 0.5);
  background: rgba(9, 23, 45, 0.34);
  backdrop-filter: blur(10px);
}

.cta--attendant:not([aria-disabled="true"]):hover {
  color: var(--navy);
  border-color: var(--paper-light);
  background: var(--paper-light);
}

.cta--attendant[aria-disabled="true"] {
  cursor: not-allowed;
}

.cta--attendant[aria-disabled="true"]::after {
  content: "Número pendente";
  position: absolute;
  right: 0.85rem;
  bottom: 0.28rem;
  color: rgba(245, 240, 230, 0.48);
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  max-width: 24rem;
  margin: 0.85rem 0 0;
  color: rgba(245, 240, 230, 0.58);
  font-size: 0.66rem;
  line-height: 1.45;
}

.trust-line span {
  color: var(--gold-light);
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-height: 31rem;
  margin-top: 1.3rem;
  padding: 0 var(--page-gutter) 1.6rem;
}

.lunar-arc {
  position: absolute;
  top: -4%;
  right: -23%;
  width: 94vw;
  max-width: 40rem;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 188, 120, 0.24);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(7.4rem, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  height: 100%;
  min-height: inherit;
}

.hero-feature,
.hero-packshot {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-feature img,
.hero-packshot img {
  width: 100%;
  height: 100%;
}

.hero-feature picture,
.hero-packshot picture,
.perfume-shot picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-feature {
  grid-column: 2;
  grid-row: 1 / 4;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
}

.hero-feature::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(transparent, rgba(4, 13, 28, 0.8));
  pointer-events: none;
}

.hero-feature img {
  object-fit: cover;
  object-position: center 58%;
}

.hero-feature figcaption,
.hero-packshot figcaption {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.7rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
}

.hero-feature figcaption {
  color: var(--paper-light);
}

.hero-feature figcaption span,
.hero-packshot figcaption span {
  color: var(--gold-light);
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-feature figcaption strong {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1;
}

.hero-packshot {
  border: 1px solid rgba(215, 188, 120, 0.28);
  background: var(--navy);
}

.hero-packshot::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 13, 28, 0.82));
  pointer-events: none;
}

.hero-packshot img {
  object-fit: cover;
  object-position: center;
}

.hero-packshot figcaption {
  right: 0.45rem;
  bottom: 0.36rem;
  left: 0.55rem;
  color: var(--paper-light);
}

.hero-packshot figcaption span {
  color: var(--gold-light);
}

.hero-packshot figcaption strong {
  font-family: var(--serif);
  font-size: clamp(0.78rem, 2.6vw, 1.05rem);
  font-weight: 400;
  line-height: 1;
}

.selection {
  padding: 5.5rem var(--page-gutter);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.3rem;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: #596171;
  font-size: 0.92rem;
}

.provenance-note {
  position: relative;
  display: grid;
  gap: 0.9rem;
  margin: 0 0 2.3rem;
  padding: 1.35rem 1.4rem 1.5rem;
  overflow: hidden;
  color: var(--paper-light);
  border-left: 3px solid var(--gold);
  background: var(--navy);
  box-shadow: 0 18px 48px rgba(9, 23, 45, 0.12);
}

.provenance-note::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -7rem;
  width: 13rem;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 188, 120, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.provenance-note__kicker {
  margin: 0;
  color: var(--gold-light);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.provenance-note h3 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.provenance-note div > p {
  max-width: 48rem;
  margin: 0.85rem 0 0;
  color: rgba(245, 240, 230, 0.68);
  font-size: 0.82rem;
  line-height: 1.65;
}

.perfume-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 17rem 17rem;
  gap: 0.7rem;
}

.perfume-shot {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.perfume-shot--tall {
  grid-row: 1 / 3;
}

.perfume-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.perfume-shot:hover img {
  transform: scale(1.025);
}

.perfume-shot--tall img {
  object-position: center;
}

.perfume-shot--wide img {
  object-position: center 60%;
}

.perfume-shot::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(4, 13, 28, 0.84));
  pointer-events: none;
}

.perfume-shot__caption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  color: var(--paper-light);
}

.perfume-shot__caption span {
  color: var(--gold-light);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.perfume-shot__caption strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.catalog-highlights {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
}

.catalog-highlights__intro {
  padding: 2rem 0 1.5rem;
}

.catalog-highlights__intro .eyebrow {
  margin-bottom: 0.65rem;
}

.catalog-highlights__intro h3 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.catalog-highlights__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-product {
  position: relative;
  min-width: 0;
  padding: 0.65rem 0.45rem 1rem;
}

.catalog-product:nth-child(even) {
  border-left: 1px solid var(--line);
}

.catalog-product:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.catalog-product__number {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  left: 0.6rem;
  padding: 0.22rem 0.38rem;
  color: var(--gold-light);
  background: rgba(9, 23, 45, 0.78);
  backdrop-filter: blur(8px);
  font-size: 0.48rem;
  letter-spacing: 0.13em;
}

.catalog-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.catalog-product picture {
  display: block;
  width: 100%;
  height: clamp(11.5rem, 45vw, 16rem);
}

.catalog-product p {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0.65rem 0 0;
}

.catalog-product strong {
  font-family: var(--serif);
  font-size: clamp(0.88rem, 2.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1;
}

.catalog-product p span {
  margin-top: 0.35rem;
  color: #6f726f;
  font-size: clamp(0.45rem, 1.5vw, 0.62rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.group-invite {
  position: relative;
  padding: 5.5rem var(--page-gutter) 6rem;
  color: var(--paper-light);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.group-invite::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 38, 64, 0.2), rgba(18, 38, 64, 0.85)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 6px);
}

.group-invite__moon {
  position: absolute;
  z-index: -1;
  top: -7rem;
  right: -9rem;
  width: 26rem;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 188, 120, 0.23);
  border-left-color: transparent;
  border-radius: 50%;
}

.group-invite h2 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.96;
}

.group-invite > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 1.35rem 0 1.7rem;
  color: rgba(245, 240, 230, 0.72);
}

.cta--light {
  width: min(100%, 23.5rem);
  color: var(--navy);
  background: var(--paper-light);
}

.cta--light:hover {
  background: var(--gold-light);
}

.cta--light span {
  font-size: 0.9rem;
}

.group-invite > small {
  display: block;
  margin-top: 0.75rem;
  color: rgba(245, 240, 230, 0.48);
  font-size: 0.62rem;
}

.site-footer {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 3.5rem var(--page-gutter) 7.2rem;
  color: var(--paper);
  text-align: center;
  background: #061122;
}

.brand--footer {
  transform: scale(1.08);
}

.site-footer p {
  margin: 0;
  color: rgba(245, 240, 230, 0.58);
  font-size: 0.72rem;
}

.site-footer .site-footer__legal {
  color: rgba(245, 240, 230, 0.32);
  font-size: 0.58rem;
}

.mobile-cta {
  position: fixed;
  z-index: 20;
  right: max(0.9rem, env(safe-area-inset-right));
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  left: max(0.9rem, env(safe-area-inset-left));
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  min-height: 3.65rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 16px 36px rgba(4, 13, 28, 0.26);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(calc(130% + 2rem));
  transition: transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1), background 180ms ease;
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta:hover {
  background: #168953;
}

.mobile-cta svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-in 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.reveal--1 {
  animation-delay: 100ms;
}

.reveal--2 {
  animation-delay: 190ms;
}

.reveal--3 {
  animation-delay: 300ms;
}

.reveal--4 {
  animation-delay: 410ms;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .site-header {
    padding-top: 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
    align-items: stretch;
  }

  .hero__copy {
    align-self: center;
    padding-top: 8rem;
    padding-right: 1rem;
    padding-bottom: 5rem;
  }

  .hero__visual {
    min-height: auto;
    margin-top: 0;
    padding: 7.5rem 0 2.5rem;
  }

  .hero-showcase {
    grid-template-columns: minmax(10rem, 0.68fr) minmax(20rem, 1.32fr);
    gap: clamp(0.6rem, 1vw, 0.9rem);
  }

  .hero-packshot img {
    object-position: center;
  }

  .hero-packshot figcaption {
    right: 0.65rem;
    bottom: 0.55rem;
    left: 0.7rem;
  }

  .hero-packshot figcaption strong {
    font-size: clamp(0.86rem, 1.6vw, 1.24rem);
  }

  .hero-feature figcaption {
    right: 1.35rem;
    bottom: 1.2rem;
    left: 1.35rem;
  }

  .hero-feature figcaption strong {
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  }

  .selection {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
    column-gap: 3rem;
    align-items: end;
    max-width: none;
  }

  .section-heading .eyebrow {
    grid-column: 1 / -1;
  }

  .section-heading > p:last-child {
    margin-bottom: 0.65rem;
  }

  .provenance-note {
    grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1.58fr);
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
    padding: 2rem 2.2rem 2.15rem;
  }

  .provenance-note__kicker {
    padding-top: 0.35rem;
  }

  .perfume-gallery {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 22rem 22rem;
    gap: 1rem;
  }

  .catalog-highlights {
    display: grid;
    grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
    align-items: stretch;
    margin-top: 6.5rem;
  }

  .catalog-highlights__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 3rem;
  }

  .catalog-highlights__list {
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .catalog-product {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem 1rem 1.4rem;
  }

  .catalog-product picture {
    height: clamp(13rem, 19vw, 18rem);
  }

  .group-invite {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: start;
    padding-bottom: 3.5rem;
    text-align: left;
  }

  .site-footer > p:first-of-type {
    justify-self: center;
  }

  .site-footer .site-footer__legal {
    justify-self: end;
  }

  .mobile-cta {
    display: none;
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: clamp(5.6rem, 7.3vw, 7.4rem);
  }

  .hero__copy {
    padding-left: max(var(--page-gutter), calc((100vw - 1500px) / 2 + var(--page-gutter)));
  }

  .selection,
  .group-invite,
  .site-footer {
    padding-right: max(var(--page-gutter), calc((100vw - 1500px) / 2 + var(--page-gutter)));
    padding-left: max(var(--page-gutter), calc((100vw - 1500px) / 2 + var(--page-gutter)));
  }

  .perfume-gallery {
    grid-template-columns: 1.4fr 0.6fr;
    grid-template-rows: 25rem 25rem;
  }
}

@media (max-width: 759px) and (orientation: landscape) {
  .hero {
    min-height: 64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
