@import url("assets/recursos.css");

:root {
  color-scheme: dark;
  --bg: #100d0b;
  --panel: #18120e;
  --photo: #0c0a08;
  --ink: #f4e8d6;
  --muted: #c5b5a1;
  --gold: #dda958;
  --line: #64503a;
  --soft-line: #382b21;
  --button-text: #211508;
  --button-bg: #e2ae60;
  --button-hover: #f0c783;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --edge: clamp(23px, 4vw, 66px);
}



*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }
button, [type="search"] { border-radius: 0; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
a:hover, button:hover { text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(43px, 5vw, 74px); line-height: .96; letter-spacing: -.035em; }
h3 { font-size: 34px; line-height: 1.02; }
em { color: var(--gold); font-weight: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { color: var(--button-text); background: var(--button-bg); }

.wrap { width: min(100% - var(--edge) * 2, 1420px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 8; top: 12px; left: 12px; padding: 9px 14px; color: var(--button-text); background: var(--button-bg); }

.icon {
  width: 1.15em; height: 1.15em; display: inline-block; flex: 0 0 auto;
  background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}

.button, .icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; border: 1px solid transparent; background: transparent;
  text-decoration: none; transition: background-color .2s, border-color .2s, color .2s;
}
.button {
  padding: 12px 20px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; line-height: 1.2;
}
.button--primary { background: var(--button-bg); color: var(--button-text); }
.button--primary:hover { background: var(--button-hover); }
.button--outline { border-color: var(--line); color: var(--ink); }
.button--outline:hover { border-color: var(--gold); color: var(--gold); }
.button .icon { font-size: 1.13rem; }
.icon-button { width: 44px; min-height: 44px; padding: 0; }
.icon-button:hover { background: var(--panel); color: var(--gold); }
.text-link {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--gold);
  font: 700 .71rem/1.4 var(--sans); letter-spacing: .08em; text-decoration: none; text-transform: uppercase;
}
.text-link:hover { color: var(--ink); border-color: currentColor; }

.header {
  position: sticky; z-index: 5; top: 0; background: var(--bg);
  border-bottom: 1px solid var(--soft-line);
}
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; min-height: 74px; }
.wordmark { width: max-content; display: inline-grid; text-decoration: none; text-align: center; color: var(--gold); }
.wordmark span { margin-right: -.08em; font: 600 33px/.83 var(--display); letter-spacing: .08em; }
.wordmark small { margin: 8px -.47em 0 0; color: var(--ink); font-size: 8px; font-weight: 700; letter-spacing: .47em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4.25vw, 70px); }
.main-nav a {
  color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.25;
  letter-spacing: .105em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); }
.header__contact { justify-self: end; min-height: 40px; padding-inline: 15px; color: var(--gold); }

.hero-inner { display: grid; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(63px, 7.75vw, 122px); line-height: .84; letter-spacing: -.037em; }
.hero-description {
  max-width: 29ch; margin-top: clamp(20px, 2.5vw, 36px); color: var(--muted);
  font: 500 clamp(22px, 2.1vw, 31px)/1.12 var(--display);
}
.hero-copy > .button { margin-top: clamp(24px, 3vw, 43px); min-height: 55px; padding-inline: 24px; }
.eyebrow, .micro {
  color: var(--gold); font-size: .71rem; font-weight: 700; line-height: 1.35;
  text-transform: uppercase; letter-spacing: .2em;
}
.eyebrow { display: flex; align-items: center; gap: 15px; margin-bottom: clamp(16px, 2.5vw, 33px); }
.eyebrow::before { content: ""; width: clamp(22px, 3.2vw, 50px); height: 1px; background: var(--line); flex: 0 0 auto; }
.prices {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #21170f, #17100c);
}
.prices > div {
  display: grid; grid-template-columns: auto clamp(14px, 3vw, 48px) auto;
  align-items: center; justify-content: center;
  column-gap: clamp(8px, 1.25vw, 22px); padding: 16px 10px 18px;
}
.prices > div + div { border-inline-start: 1px solid var(--soft-line); }
.prices > div::after {
  content: ""; grid-area: 1 / 2; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.prices dt { grid-area: 1 / 1; color: var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; }
.prices dd { grid-area: 1 / 3; color: #f4c982; font: 600 clamp(32px, 3.7vw, 53px)/1 var(--display); white-space: nowrap; }

/* Galeria Âmbar */
.gallery-hero {
  background: radial-gradient(ellipse 53% 97% at 76% 43%, #3b2415 0%, #21150e 38%, transparent 74%);
}
.gallery-hero .hero-inner { grid-template-columns: 47% 53%; min-height: clamp(510px, 48vw, 690px); }
.gallery-hero .hero-copy { padding: 30px 0 50px clamp(0px, 1.1vw, 19px); }
.gallery-hero .hero-copy > .button { min-width: min(100%, 292px); justify-content: space-between; }
.showcase { min-width: 0; padding-block: 12px 28px; }
.showcase__stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, 23%);
  min-width: 0; align-items: center;
}
.showcase__photo {
  position: relative; display: block; width: 100%; height: clamp(400px, 40.4vw, 593px);
  overflow: hidden; touch-action: pan-y; border: 0; padding: 0; background: transparent;
}
.showcase__photo img {
  width: 100%; height: 100%; object-fit: contain;
  mask-image: radial-gradient(ellipse 49% 58% at 50% 47%, #000 69%, #000e 81%, transparent 100%);
  mix-blend-mode: screen; filter: saturate(1.05);
}
.showcase__caption { z-index: 1; border-inline-start: 1px solid var(--line); padding: 8px 0 10px clamp(13px, 1.65vw, 24px); }
.showcase__caption .micro { font-size: .61rem; letter-spacing: .15em; }
.showcase__name, .showcase__brand { display: block; }
.showcase__name { margin: 2px 0 5px; font: italic 600 clamp(27px, 2.55vw, 44px)/.96 var(--display); }
.showcase__brand { color: var(--muted); font-size: .75rem; line-height: 1.35; }
.showcase__caption .text-link { margin-top: 13px; font-size: .58rem; }
.showcase__controls {
  display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)) 44px 44px;
  align-items: stretch; width: min(100%, 630px); margin: -2px auto 0;
}
.showcase__rotation { color: var(--gold); border-inline-start: 1px solid var(--soft-line); }
.slide-choice {
  display: block; border: 0; border-bottom: 1px solid var(--soft-line); background: transparent;
  padding: 7px 2px 10px; color: var(--muted); font: italic 600 clamp(17px, 1.65vw, 25px)/1 var(--display);
}
.slide-choice:is(:hover, [aria-pressed="true"]) { color: var(--ink); }
.slide-choice[aria-pressed="true"] { border-bottom: 2px solid var(--gold); }

/* Catálogo */
.catalog { padding-block: clamp(54px, 5.2vw, 82px) clamp(58px, 7vw, 105px); }
.catalog__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 40%); gap: 24px; align-items: end; }
.catalog__heading .eyebrow { margin-bottom: 11px; }
.catalog__heading .eyebrow::before { order: 2; }
.search { min-height: 49px; min-width: 0; border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; padding-inline: 14px; }
.search:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.search input { width: 100%; min-width: 0; min-height: 47px; background: none; color: var(--ink); border: 0; outline: 0; font-size: .93rem; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search .icon { color: var(--gold); }
.catalog__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 21px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button {
  min-height: 42px; padding: 7px clamp(10px, 1.8vw, 24px); border: 1px solid var(--soft-line);
  background: transparent; color: var(--muted); font-size: .78rem; font-weight: 700;
}
.filters button:hover { border-color: var(--gold); color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--button-text); background: var(--button-bg); border-color: var(--button-bg); }
.result-count { color: var(--muted); font-size: .8rem; text-align: right; flex: 0 0 auto; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.65vw, 24px); padding: 0; list-style: none; }
.product-card { min-width: 0; }
.product-card__button {
  min-width: 0; height: 100%; width: 100%; padding: 0; display: flex; flex-direction: column;
  text-align: left; border: 1px solid var(--soft-line); background: var(--panel); transition: border-color .25s;
}
.product-card__button:hover { border-color: var(--gold); }
.product-card__photo { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--photo); }
.product-card__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s cubic-bezier(.2,.65,.25,1); }
.product-card__button:hover img { transform: scale(1.06); }
.product-card__copy { display: flex; width: 100%; flex: 1; flex-direction: column; padding: clamp(10px, 1.25vw, 18px); }
.product-card__id { color: var(--muted); font-size: .6rem; letter-spacing: .1em; }
.product-card__name { margin-top: 7px; font: 600 clamp(23px, 2.15vw, 35px)/.98 var(--display); overflow-wrap: anywhere; }
.product-card__house { margin: 5px 0 10px; color: var(--muted); font-size: .73rem; }
.product-card__house:empty { display: none; }
.product-card__bottom {
  display: flex; justify-content: space-between; align-items: end; gap: 6px; padding-top: 11px;
  color: var(--gold); margin-top: auto; font-size: .72rem; font-weight: 700;
}
.empty-state { padding: 34px 0; text-align: center; }
.empty-state p { margin: 9px 0 17px; color: var(--muted); }











/* Informações e contato */
.inspiration { border-block: 1px solid var(--soft-line); background: var(--panel); }
.inspiration__inner { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; min-height: 390px; }
.inspiration img { width: 100%; height: 100%; max-height: 410px; object-fit: contain; background: var(--photo); }
.inspiration__copy { padding: clamp(24px, 5vw, 82px); }
.inspiration__copy p, .how__heading p { max-width: 52ch; margin: 17px 0 20px; color: var(--muted); }
.inspiration__copy h2 { max-width: 13ch; text-wrap: initial; }



.how { padding-block: clamp(52px, 7vw, 108px); }
.how__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.how__heading p { margin-bottom: 0; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0; margin: 32px 0 0; }
.steps li { counter-increment: step; padding: 19px 0 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; color: var(--gold); font: 600 25px/1 var(--display); margin-bottom: 12px; }
.steps p { max-width: 31ch; margin-top: 10px; color: var(--muted); font-size: .9rem; }
.footer { background: var(--panel); border-top: 1px solid var(--line); padding-block: 23px 27px; }
.footer__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer__logo img { width: 141px; height: auto; }
.footer__links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__links a {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--gold); border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .2s, border-color .2s, color .2s;
}
.footer__links .icon { width: 21px; height: 21px; }
.footer__links a:hover { background: var(--button-bg); border-color: var(--button-bg); color: var(--button-text); }
.footer__legal { max-width: 74ch; margin-block: 15px; font-size: .7rem; color: var(--muted); }

/* Ficha de perfume */
.product-dialog {
  width: min(850px, 100% - 34px); max-height: calc(100dvh - 36px); padding: 0;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line);
  overscroll-behavior: contain; box-shadow: 0 20px 85px #0009;
}
.product-dialog::backdrop { background: #0b0807c7; }
.product-dialog[open] { animation: dialog-enter .22s ease-out; }
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-detail { position: relative; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
.dialog-close { position: absolute; z-index: 2; top: 12px; right: 12px; background: var(--bg); }
.dialog-close button { border-color: var(--soft-line); }
.detail__image { width: 100%; height: 100%; min-height: 420px; object-fit: contain; background: var(--photo); }
.detail__content { min-width: 0; padding: 28px clamp(22px, 3vw, 42px); }
.detail__heading { padding-right: 23px; }
.detail__heading .micro { max-width: calc(100% - 5px); margin-bottom: 10px; letter-spacing: .1em; }
.detail__reference { color: var(--muted); font-size: .75rem; }
.detail__content h2 { max-width: 100%; margin-block: 3px 5px; font-size: clamp(35px, 4.9vw, 61px); line-height: .9; text-wrap: initial; }
.detail__brand { color: var(--muted); font-size: .83rem; }
.detail__tabs { display: flex; margin-top: 15px; border-bottom: 1px solid var(--soft-line); }
.detail__tabs button {
  min-height: 42px; padding: 7px 15px; background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); font-size: .82rem; font-weight: 700;
}
.detail__tabs button[aria-selected="true"] { border-color: var(--gold); color: var(--ink); }
.detail__panel { padding: 13px 0 0; color: var(--muted); font-size: .84rem; }
.detail__family { color: var(--gold); font-weight: 700; margin-top: 7px; }
.detail__panel dl { display: grid; gap: 6px; }
.detail__panel dl > div { display: grid; grid-template-columns: 63px minmax(0, 1fr); gap: 8px; }
.detail__panel dt { font-weight: 700; color: var(--gold); }
.sizes { min-width: 0; padding: 0; border: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.sizes legend { padding: 0; margin: 0 0 7px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.sizes label { min-width: 0; cursor: pointer; position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0 auto auto 0; width: 1px; height: 1px; }
.sizes span {
  min-height: 53px; display: grid; align-content: center; gap: 1px; padding: 5px;
  color: var(--muted); text-align: center; border: 1px solid var(--soft-line); font-size: .69rem;
}
.sizes strong { color: var(--ink); font-size: .8rem; }
.sizes label:hover span, .sizes input:checked + span { border-color: var(--gold); }
.sizes input:checked + span { background: var(--panel); color: var(--gold); }
.sizes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.detail__order { width: 100%; margin-top: 14px; }

@media (max-width: 990px) {




  .product-card__id { font-size: .54rem; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 123px; }
  .header__inner {
    grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 2px; padding: 12px 0 9px; min-height: auto;
  }
  .wordmark { grid-column: 1; grid-row: 1; }
  .wordmark span { font-size: 30px; }
  .wordmark small { font-size: 7px; margin-top: 6px; }
  .header__contact { grid-column: 2; grid-row: 1; min-height: 36px; font-size: .62rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 7px; padding-top: 7px; }
  .main-nav a {
    white-space: normal; display: flex; align-items: center; min-height: 30px;
    font: 700 clamp(.55rem, 2.4vw, .66rem)/1.16 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  }
  .hero h1 { font-size: clamp(62px, 12.6vw, 94px); }
  .hero-description { margin-top: 21px; font-size: 24px; }
  .eyebrow { font-size: .61rem; letter-spacing: .14em; }
  .hero-copy > .button { min-height: 49px; margin-top: 20px; }
  .gallery-hero { background: radial-gradient(ellipse 97% 53% at 55% 69%, #392316 0%, #21150e 43%, transparent 79%); }
  .gallery-hero .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .gallery-hero .hero-copy { padding: 34px 0 5px; }
  .gallery-hero .hero-copy > .button { min-width: min(100%, 248px); }
  .showcase { padding: 0 0 17px; }
  .showcase__stage { grid-template-columns: minmax(0, 1fr) minmax(108px, 29%); }
  .showcase__photo { height: clamp(245px, 67vw, 455px); }
  .showcase__caption { padding-left: 10px; }
  .showcase__caption .micro { font-size: .57rem; white-space: nowrap; }
  .showcase__caption .text-link { letter-spacing: .05em; white-space: nowrap; }
  .showcase__name { font-size: clamp(23px, 5vw, 34px); }
  .showcase__controls { grid-template-columns: 36px repeat(3, minmax(0, 1fr)) 36px 40px; margin-top: 0; }
  .showcase__controls .icon-button { width: 100%; }
  .prices > div { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 11px 4px 12px; row-gap: 6px; }
  .prices > div::after { grid-area: 2 / 1; width: 27px; }
  .prices dt { font-size: .64rem; letter-spacing: .13em; }
  .prices dd { grid-area: 3 / 1; font-size: clamp(28px, 6.8vw, 39px); }










  .catalog__heading { grid-template-columns: 1fr; gap: 17px; }
  .catalog__heading h2 { text-wrap: initial; }
  .catalog__toolbar { flex-wrap: wrap; margin: 14px 0 15px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card__photo { aspect-ratio: 1; }
  .product-card__copy { padding: 10px; }
  .product-card__id { font-size: .55rem; letter-spacing: .035em; }
  .product-card__price, .product-card__house { font-size: .65rem; }
  .inspiration__inner { grid-template-columns: minmax(0, 32%) minmax(0, 1fr); min-height: auto; }


  .inspiration img { object-fit: cover; min-height: 240px; }
  .inspiration__copy { padding: 19px 0 22px 16px; }
  .inspiration__copy h2 { font-size: clamp(31px, 6.8vw, 45px); }
  .inspiration__copy p { font-size: .78rem; margin-block: 9px; }
  .how__heading { align-items: start; flex-direction: column; gap: 13px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps li { padding-top: 13px; }
  .steps p { max-width: 43ch; }
}

@media (max-width: 540px) {
  .product-dialog { max-height: calc(100dvh - 24px); width: calc(100% - 26px); }
  .product-detail { display: block; }
  .detail__image {
    position: absolute; width: 78px; height: 104px; min-height: 0; top: 17px; left: 15px;
  }
  .detail__content { padding: 16px 15px 17px; }
  .detail__heading { min-height: 106px; padding-left: 89px; padding-right: 30px; }
  .detail__heading .micro { font-size: .56rem; margin-bottom: 4px; }
  .detail__content h2 { font-size: clamp(31px, 8vw, 47px); }
  .detail__tabs { margin-top: 7px; }
  .detail__panel { padding-top: 9px; font-size: .78rem; }
  .dialog-close { top: 7px; right: 7px; }
}

@media (max-width: 350px) {
  :root { --edge: 15px; }
  .hero h1 { font-size: 56px; }

  .product-card__id { font-size: .51rem; }
}

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