/* =========================================================
   OFIR PERFUM — vitrine
   ========================================================= */
:root {
  --ink: #0b0806;
  --ink-2: #120d09;
  --ink-3: #1b140e;
  --ink-4: #261c13;
  --gold: #d4b26a;
  --gold-hi: #f3dc9a;
  --gold-lo: #8a6a2f;
  --ivory: #f3e9d4;
  --ivory-2: #e8dabd;
  --text: #ece2ce;
  --muted: #a7977b;
  --line: rgba(212, 178, 106, .2);
  --line-2: rgba(212, 178, 106, .4);
  --danger: #e07a5f;
  --ok: #8fbf88;
  --gold-grad: linear-gradient(120deg, #8a6a2f 0%, #e9cd86 30%, #fff1c4 50%, #d4b26a 70%, #7a5a22 100%);
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans: 'Jost', system-ui, sans-serif;
  --f-ar: 'Amiri', serif;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--f-sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- botões ---------- */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: var(--radius);
  font: 500 12px/1 var(--f-sans); letter-spacing: .22em; text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s, background-position .8s, color .3s, border-color .3s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold-grad); background-size: 220% 100%; color: #1a1108; box-shadow: 0 8px 30px -10px rgba(212, 178, 106, .55); }
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(212, 178, 106, .7); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--gold-hi); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(212, 178, 106, .07); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: color .3s, background .3s; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { color: var(--gold-hi); background: rgba(212, 178, 106, .08); }

.eyebrow { font: 500 11px/1 var(--f-sans); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: .6; }

/* ---------- scroll progress + aviso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold-grad); }

.announce { background: linear-gradient(90deg, #1a1108, #2a1d0e, #1a1108); border-bottom: 1px solid var(--line); overflow: hidden; height: 36px; display: flex; align-items: center; }
.announce__track { width: 100%; text-align: center; font: 400 12px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); padding-inline: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(11, 8, 6, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; width: min(1320px, 100% - 32px); margin-inline: auto; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font: 500 22px/1 var(--f-display); letter-spacing: .14em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__text small { font: 400 8.5px/1 var(--f-display); letter-spacing: .62em; color: var(--gold); margin-top: 5px; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { font: 400 12px/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--text); position: relative; padding: 8px 0; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-current { color: var(--gold-hi); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header__actions { display: flex; gap: 4px; margin-left: 18px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--ink); font: 600 10px/18px var(--f-sans); text-align: center; transform: scale(0); transition: transform .35s var(--ease); }
.cart-count.has { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } }
.menu-toggle { display: none; flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 36px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; padding-block: 40px 30px; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 30px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 70% 50%, #24180d 0%, #120c07 45%, #070504 100%); }
.hero__pattern { position: absolute; inset: -10% 0; opacity: .05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23d4b26a' stroke-width='.8'%3E%3Cpath d='M40 0 52 28 80 40 52 52 40 80 28 52 0 40 28 28Z'/%3E%3Cpath d='M40 16 47 33 64 40 47 47 40 64 33 47 16 40 33 33Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent); }
.glow { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.glow--lantern { width: 420px; height: 420px; left: -140px; top: 8%; background: radial-gradient(circle, rgba(255, 168, 64, .35), transparent 65%); animation: flicker 5s ease-in-out infinite; }
.glow--candle { width: 260px; height: 260px; right: 6%; top: -40px; background: radial-gradient(circle, rgba(255, 190, 90, .28), transparent 65%); animation: flicker 3.6s ease-in-out infinite reverse; }
@keyframes flicker { 0%, 100% { opacity: .85; transform: scale(1); } 40% { opacity: 1; transform: scale(1.04); } 60% { opacity: .75; } }
.lantern { position: absolute; left: 2%; top: 12%; width: 110px; opacity: .55; filter: blur(.6px) drop-shadow(0 0 30px rgba(255, 170, 70, .4)); }
.silk { position: absolute; inset: auto -10% -18% -10%; height: 46%; background:
  radial-gradient(60% 80% at 30% 100%, rgba(60, 36, 16, .7), transparent 70%),
  radial-gradient(50% 70% at 80% 100%, rgba(48, 28, 12, .8), transparent 70%); filter: blur(10px); }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero__copy { text-align: center; justify-self: center; }
.hero__ornament { width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px); margin: 0 auto 8px; filter: drop-shadow(0 4px 18px rgba(212, 178, 106, .35)); }
.hero__title { font: 400 clamp(84px, 13vw, 180px)/.9 var(--f-display); letter-spacing: .02em; margin: 0; }
.hero__sub { font: 400 clamp(20px, 2.6vw, 34px)/1 var(--f-display); letter-spacing: .5em; margin: 18px 0 0; color: var(--gold); display: flex; align-items: center; justify-content: center; gap: .6em; }
.hero__sub::before, .hero__sub::after { content: ''; width: clamp(40px, 7vw, 110px); height: 1.5px; background: var(--gold); }
.hero__sub::after { margin-left: -.5em; }
.hero__rule { display: block; width: min(420px, 80%); height: 1px; margin: 34px auto 28px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero__tagline { font: 400 clamp(18px, 2vw, 26px)/1.55 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin: 0; }
.hero__arabic { font: 400 30px/1.2 var(--f-ar); color: var(--gold); opacity: .75; margin: 16px 0 0; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

.hero__bottle { position: relative; justify-self: center; width: min(420px, 100%); }
.bottle-stage { position: relative; animation: floaty 7s ease-in-out infinite; }
.bottle-stage::before { content: ''; position: absolute; inset: 10% -10% 0; background: radial-gradient(closest-side, rgba(212, 178, 106, .28), transparent); filter: blur(30px); z-index: -1; }
.hero-bottle { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .7)); }
.hero-bottle .shine { transform: skewX(-18deg); animation: sweepSvg 6s ease-in-out infinite; }
@keyframes sweepSvg { 0%, 30% { transform: translateX(0) skewX(-18deg); } 75%, 100% { transform: translateX(560px) skewX(-18deg); } }
@keyframes sweep { 0%, 30% { background-position: 120% 0; } 70%, 100% { background-position: -40% 0; } }
@keyframes floaty { 50% { transform: translateY(-14px); } }

.hero__badges { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: center; width: min(1240px, 100% - 32px); }
.hero__badges li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 clamp(18px, 4vw, 56px); text-align: center; font: 500 12px/1.45 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); }
.hero__badges li + li { border-left: 1px solid var(--line-2); }
.hero__badges svg { width: 40px; height: 40px; color: var(--gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- marcas ---------- */
.brands { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--ink-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; width: max-content; gap: 60px; animation: marquee 40s linear infinite; }
.brands__track span { font: 400 20px/1 var(--f-display); letter-spacing: .3em; color: var(--muted); text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 60px; }
.brands__track span::after { content: '✦'; color: var(--gold); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__title { font: 400 clamp(36px, 5.4vw, 64px)/1.08 var(--f-display); margin: 0; color: var(--ivory); letter-spacing: .02em; }
.section__title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: 0; }
.section__lead { font: 400 20px/1.55 var(--f-serif); color: var(--muted); margin: 18px auto 0; max-width: 560px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; font: 400 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: all .3s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.toolbar__right { display: flex; gap: 10px; flex-wrap: wrap; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input, .select { height: 42px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; font-size: 14px; transition: border-color .3s; }
.search-field input { padding-left: 42px; width: 270px; }
.search-field input:focus, .select:focus { border-color: var(--gold); outline: none; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4b26a' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.result-count { color: var(--muted); font-size: 13px; letter-spacing: .08em; margin: 18px 0 26px; }
.empty { text-align: center; color: var(--muted); font: italic 22px var(--f-serif); padding: 60px 0; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .6s var(--ease), border-color .4s, box-shadow .6s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 178, 106, .12); }
.card__media { position: relative; aspect-ratio: 4 / 4.9; padding: 46px 18px 0; cursor: pointer; }
.arch { position: relative; height: 100%; border-radius: 999px 999px 0 0; background: radial-gradient(90% 70% at 50% 40%, #fffaf0 0%, var(--ivory) 55%, var(--ivory-2) 100%); overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(138, 106, 47, .25), inset 0 -30px 40px -20px rgba(138, 106, 47, .25); }
.arch::before { content: ''; position: absolute; inset: 8px 8px 0; border: 1px solid rgba(138, 106, 47, .35); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; z-index: 2; }
.arch img { width: 78%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); margin-top: 8%; }
.arch .bottle-svg { width: 70%; height: 86%; margin-top: 8%; transition: transform .8s var(--ease); }
.arch--dark { background: radial-gradient(90% 70% at 50% 40%, #3a2a17, #1a120a); }
.card:hover .arch img, .card:hover .arch .bottle-svg { transform: scale(1.06) translateY(-4px); }
.card__badges { position: absolute; top: 14px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 6px; z-index: 3; pointer-events: none; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 3px; font: 600 10px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.badge--offer { background: #7d1e1e; color: #ffe9d6; }
.badge--low { background: rgba(11, 8, 6, .85); color: var(--gold-hi); border: 1px solid var(--line-2); }
.badge--out { background: #2c2620; color: var(--muted); }
.badge--feat { background: var(--gold); color: var(--ink); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { font: 500 10.5px/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.card__name { font: 500 21px/1.2 var(--f-display); color: var(--ivory); margin: 4px 0 0; cursor: pointer; }
.card__var { font: italic 16px/1.3 var(--f-serif); color: var(--muted); }
.card__family { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price__old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price__now { font: 500 22px/1 var(--f-display); color: var(--gold-hi); }
.price__pix { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.stock { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock--low::before { background: #e6b34a; box-shadow: 0 0 8px #e6b34a; }
.stock--out::before { background: var(--danger); box-shadow: none; }
.add-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold-hi); transition: all .35s var(--ease); }
.add-btn svg { width: 20px; height: 20px; }
.add-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-8deg) scale(1.06); }
.add-btn[disabled] { opacity: .35; pointer-events: none; }
.countdown { display: flex; gap: 6px; margin-top: 8px; }
.countdown span { min-width: 44px; padding: 6px 4px; text-align: center; background: rgba(125, 30, 30, .25); border: 1px solid rgba(224, 122, 95, .35); border-radius: 3px; font: 500 16px/1 var(--f-display); color: #ffd9c4; }
.countdown span small { display: block; font: 400 9px/1 var(--f-sans); letter-spacing: .14em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }

/* ---------- ofertas ---------- */
.offers { background: radial-gradient(70% 60% at 50% 0%, rgba(125, 30, 30, .22), transparent 70%), var(--ink); }
.offers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.offer-card { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px; border: 1px solid rgba(224, 122, 95, .3); border-radius: 6px; background: linear-gradient(135deg, #1d120c, #140c08); position: relative; overflow: hidden; }
.offer-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 220, 170, .06) 50%, transparent 60%); background-size: 250% 100%; animation: sweep 5s ease-in-out infinite; pointer-events: none; }
.offer-card .arch { height: 230px; }
.offer-card h3 { font: 500 26px/1.15 var(--f-display); margin: 6px 0 4px; color: var(--ivory); }
.offer-card__off { font: 600 12px/1 var(--f-sans); letter-spacing: .2em; color: #ffb59a; text-transform: uppercase; }
.offer-card .price__now { font-size: 30px; }
.offer-card__left { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.offer-card__left b { color: #ffd9c4; }
.offer-card .btn { margin-top: 16px; --h: 44px; }
.limit-bar { height: 4px; background: rgba(255, 255, 255, .06); border-radius: 4px; overflow: hidden; margin-top: 10px; }
.limit-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e07a5f, #ffcf8a); }

/* ---------- história ---------- */
.story { position: relative; height: 230vh; background: linear-gradient(180deg, var(--ink), #140d07 40%, var(--ink)); }
.story__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story__pattern { position: absolute; inset: 0; opacity: .045; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23d4b26a' stroke-width='.8'%3E%3Cpath d='M40 0 52 28 80 40 52 52 40 80 28 52 0 40 28 28Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E"); }
.story__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story__visual { position: relative; display: grid; place-items: center; }
.story__arch { width: min(380px, 80%); aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; overflow: hidden; background: radial-gradient(90% 70% at 50% 40%, #fffaf0, var(--ivory) 60%, var(--ivory-2)); border: 1px solid var(--line-2); box-shadow: 0 0 0 10px var(--ink), 0 0 0 11px var(--line-2); transform: scale(var(--s, .94)); transition: transform .1s linear; display: grid; place-items: center; }
.story__arch img { width: 74%; mix-blend-mode: multiply; transform: translateY(var(--y, 0px)); }
.story__arabic { position: absolute; bottom: -10px; right: 0; font: 400 clamp(70px, 10vw, 140px)/1 var(--f-ar); color: var(--gold); opacity: .14; pointer-events: none; }
.story__text .section__title { margin-bottom: 30px; }
.story__lines { margin: 0; font: 400 clamp(20px, 2.2vw, 28px)/1.5 var(--f-serif); }
.story__lines span { color: rgba(236, 226, 206, .18); transition: color .5s; }
.story__lines span.lit { color: var(--ivory); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 4vw, 56px); margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats b { display: block; font: 400 clamp(34px, 4vw, 48px)/1 var(--f-display); color: var(--gold-hi); }
.stats span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- notas ---------- */
.notes-band { background: var(--ink-2); border-block: 1px solid var(--line); }
.notes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.note-card { background: var(--ink-2); padding: 44px 30px; text-align: center; position: relative; overflow: hidden; transition: background .5s; }
.note-card:hover { background: var(--ink-3); }
.note-card__ar { display: block; font: 400 54px/1.2 var(--f-ar); color: var(--gold); transition: transform .6s var(--ease); }
.note-card:hover .note-card__ar { transform: translateY(-6px) scale(1.06); }
.note-card h3 { font: 500 18px/1 var(--f-display); letter-spacing: .3em; text-transform: uppercase; margin: 18px 0 12px; color: var(--ivory); }
.note-card p { margin: 0; color: var(--muted); font: 400 17px/1.5 var(--f-serif); }

/* ---------- entrega ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 34px 26px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, var(--ink-3), var(--ink)); }
.step__n { position: absolute; top: 18px; right: 20px; font: 400 40px/1 var(--f-display); color: rgba(212, 178, 106, .14); }
.step svg { width: 38px; height: 38px; color: var(--gold); }
.step h3 { font: 500 18px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; margin: 22px 0 10px; color: var(--ivory); }
.step p { margin: 0; color: var(--muted); font: 400 17px/1.5 var(--f-serif); }
.delivery__info { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; }
.delivery__info div { padding: 22px 24px; }
.delivery__info div + div { border-left: 1px solid var(--line); }
.delivery__info small { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.delivery__info b { font: 500 17px/1.3 var(--f-display); color: var(--gold-hi); }

/* ---------- CTA + footer ---------- */
.cta-band { position: relative; padding: clamp(80px, 10vw, 130px) 0; text-align: center; overflow: hidden; background: radial-gradient(60% 100% at 50% 100%, #2a1b0c, var(--ink) 70%); }
.cta-band__pattern { position: absolute; inset: 0; opacity: .06; background: inherit; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23d4b26a' stroke-width='.8'%3E%3Cpath d='M40 0 52 28 80 40 52 52 40 80 28 52 0 40 28 28Z'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.cta-band__inner { position: relative; }
.cta-band__orn { width: 50px; height: 56px; margin: 0 auto 20px; }
.cta-band h2 { font: 400 clamp(30px, 4.4vw, 52px)/1.15 var(--f-display); margin: 0; color: var(--ivory); }
.cta-band p { font: 400 21px/1.5 var(--f-serif); color: var(--muted); margin: 14px 0 32px; }

.footer { border-top: 1px solid var(--line); background: #080604; padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__mark { width: 40px; height: 46px; }
.footer .footer__name { display: block; font: 500 26px/1 var(--f-display); letter-spacing: .14em; color: var(--gold-hi); margin: 14px 0 0; }
.footer__name small { font-size: 11px; letter-spacing: .5em; color: var(--gold); }
.footer .footer__tag { margin-top: 14px; font: italic 18px var(--f-serif); color: var(--muted); }
.footer h4 { font: 500 12px/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; }
.footer a, .footer p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; margin: 0 0 10px; transition: color .3s; }
.footer a:hover { color: var(--gold-hi); }
.footer a svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__bottom p { font-size: 12.5px; margin: 0; }
.footer__admin { font-size: 12px !important; opacity: .55; }

.float-wpp { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f8a4c; color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); transition: transform .4s var(--ease); }
.float-wpp svg { width: 28px; height: 28px; }
.float-wpp:hover { transform: scale(1.08); }
.float-wpp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f8a4c; animation: ping 2.4s ease-out infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* ---------- busca ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(8, 6, 4, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 12vh 16px 16px; animation: fade .3s; }
.search-overlay__box { width: min(760px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-field--big input { width: 100%; height: 60px; font: 400 22px var(--f-serif); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.search-field--big { grid-column: 1; }
.search-results { grid-column: 1 / -1; max-height: 60vh; overflow: auto; margin-top: 10px; }
.sr-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.sr-item:hover { background: rgba(212, 178, 106, .06); }
.sr-item .arch { height: 64px; border-radius: 30px 30px 2px 2px; }
.sr-item .arch::before { display: none; }
.sr-item b { font: 500 16px var(--f-display); display: block; }
.sr-item small { color: var(--muted); }
@keyframes fade { from { opacity: 0; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__panel { position: relative; width: min(1000px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 8px; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 5; }
.pm { display: grid; grid-template-columns: 1fr 1.05fr; }
.pm__media { padding: 26px; background: var(--ink-3); }
.pm__media .arch { height: 100%; min-height: 420px; }
.pm__info { padding: 44px 40px 36px; display: flex; flex-direction: column; gap: 8px; }
.pm__info h2 { font: 500 clamp(28px, 3.4vw, 40px)/1.1 var(--f-display); margin: 4px 0 0; color: var(--ivory); }
.pm__desc { font: 400 19px/1.55 var(--f-serif); color: #cfc3ab; margin: 10px 0; }
.pyramid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 8px 0 6px; }
.pyramid div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 16px; background: var(--ink-2); font-size: 14px; }
.pyramid dt { font: 500 10.5px/1.8 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.pyramid dd { margin: 0; color: var(--text); }
.pm__buy { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); height: 50px; }
.qty button { width: 42px; height: 100%; font-size: 18px; color: var(--gold-hi); }
.qty output { min-width: 30px; text-align: center; }
.pm__buy .btn { flex: 1; min-width: 200px; }

/* ---------- sacola ---------- */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, .7); animation: fade .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--ink-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font: 500 20px/1 var(--f-display); letter-spacing: .14em; margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 22px 22px; }
.drawer__foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink-3); }
.ci { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci .arch { height: 84px; border-radius: 40px 40px 2px 2px; }
.ci .arch::before { display: none; }
.ci b { font: 500 15px/1.25 var(--f-display); display: block; }
.ci small { color: var(--muted); font-size: 12.5px; }
.ci__right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ci .qty { height: 34px; }
.ci .qty button { width: 30px; font-size: 15px; }
.ci__rm { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ci__rm:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); font: italic 20px var(--f-serif); }
.free-ship { margin: 16px 0; font-size: 13px; color: var(--muted); }
.free-ship .limit-bar i { background: var(--gold-grad); }
.checkout { display: grid; gap: 12px; margin-top: 10px; }
.checkout h4 { font: 500 12px/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 10px 0 4px; }
.checkout label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.checkout input, .checkout select, .checkout textarea { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; font-size: 15px; color: var(--text); }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { border-color: var(--gold); outline: none; }
.checkout .invalid { border-color: var(--danger); }
.totals p { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.totals__total { font-size: 18px !important; color: var(--ivory) !important; margin: 10px 0 14px !important; }
.totals__total b { font: 500 24px/1 var(--f-display); color: var(--gold-hi); }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 400; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--ivory); padding: 14px 22px; border-radius: 4px; font-size: 14px; transition: all .45s var(--ease); box-shadow: 0 20px 40px -10px #000; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- animações de scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal[data-d="1"] { --d: 1; } .reveal[data-d="2"] { --d: 2; } .reveal[data-d="3"] { --d: 3; } .reveal[data-d="4"] { --d: 4; } .reveal[data-d="5"] { --d: 5; } .reveal[data-d="6"] { --d: 6; } .reveal[data-d="7"] { --d: 7; }
.reveal.in { opacity: 1; transform: none; }
.card.reveal { transform: translateY(46px) scale(.98); }
.card.reveal.in { transform: none; }
.section__title.reveal { letter-spacing: .14em; filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), letter-spacing 1.4s var(--ease), filter 1.2s var(--ease); }
.section__title.reveal.in { letter-spacing: .02em; filter: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .notes-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .delivery__info { grid-template-columns: repeat(2, 1fr); }
  .delivery__info div:nth-child(3) { border-left: 0; }
  .delivery__info div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; background: rgba(11, 8, 6, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .5s var(--ease); z-index: -1; }
  .nav.open { transform: none; }
  .nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav a::after { display: none; }
  .brand { margin-inline: auto; }
  .header__actions { margin-left: 0; }
  .header__inner { gap: 8px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero__bottle { width: min(230px, 60vw); margin-top: 26px; }
  .lantern { width: 70px; opacity: .35; }
  .hero__badges { margin-top: 36px; }
  .story { height: auto; }
  .story__sticky { position: relative; height: auto; padding: 90px 0; }
  .story__inner { grid-template-columns: 1fr; }
  .story__lines span { color: var(--ivory); }
  .pm { grid-template-columns: 1fr; }
  .pm__media .arch { min-height: 300px; height: 320px; }
  .pm__info { padding: 26px 22px 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .toolbar__right { display: grid; grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .search-field input { width: 100%; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__media { padding: 10px 10px 0; }
  .card__badges { top: 16px; left: 16px; right: 16px; flex-direction: column; align-items: flex-start; }
  .badge { height: 20px; padding: 0 7px; font-size: 8.5px; }
  .card__body { padding: 14px 12px 14px; gap: 4px; }
  .card__brand { font-size: 9px; letter-spacing: .2em; }
  .card__name { font-size: 15px; }
  .card__var { font-size: 14px; }
  .card__family { display: none; }
  .price__now { font-size: 17px; }
  .price__pix { display: none; }
  .add-btn { width: 38px; height: 38px; }
  .stock { font-size: 11px; }
  .hero__badges { grid-template-columns: repeat(3, 1fr); }
  .hero__badges li { padding: 0 6px; font-size: 9.5px; letter-spacing: .08em; }
  .hero__inner > * { min-width: 0; }
  .hero__badges svg { width: 30px; height: 30px; }
  .hero__sub { letter-spacing: .38em; }
  .notes-grid, .steps { grid-template-columns: 1fr; }
  .note-card { padding: 34px 22px; }
  .delivery__info { grid-template-columns: 1fr; }
  .delivery__info div + div { border-left: 0; border-top: 1px solid var(--line); }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card .arch { height: 240px; }
  .stats { gap: 18px; justify-content: space-between; }
  .footer__inner { grid-template-columns: 1fr; }
  .float-wpp { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .countdown span { min-width: 38px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none !important; }
}

/* ---------- ajustes finos ---------- */
.section__title, .section__lead, .cta-band h2, .cta-band p, .hero__tagline, .card__name { text-wrap: balance; }
.footer .footer__name small { display: block; margin-top: 8px; }
@media (max-width: 1180px) { .lantern { display: none; } }
@media (max-width: 900px) {
  .toolbar__right { width: 100%; }
  .toolbar__right > * { min-width: 0; width: 100%; }
  .story__arch { transform: none; }
  .story__arch img { transform: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .card__media { padding: 36px 10px 0; aspect-ratio: 4 / 5.2; }
  .card__badges { top: 9px; left: 10px; right: 10px; flex-direction: row; }
}

.hero__frete { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 40px; font: 500 11.5px/1.3 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); background: rgba(212, 178, 106, .06); }
.hero__frete::before { content: ''; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M4 12h24v20H4zM28 18h9l7 8v6H28'/%3E%3Ccircle cx='13' cy='35' r='4'/%3E%3Ccircle cx='35' cy='35' r='4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M4 12h24v20H4zM28 18h9l7 8v6H28'/%3E%3Ccircle cx='13' cy='35' r='4'/%3E%3Ccircle cx='35' cy='35' r='4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 600px) { .hero__frete { font-size: 10px; letter-spacing: .12em; padding: 8px 14px; } }

/* entrega: 5 informações, quebra sozinha conforme a largura */
.delivery__info { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); overflow: hidden; }
.delivery__info div { flex: 1 1 200px; background: var(--ink); border: 0 !important; }
.totals .totals__note { display: block; margin: -6px 0 14px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.totals .totals__note[hidden] { display: none; }
