/* ============ Tokens ============ */
:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --accent: #3d5a40;
  --accent-2: #2f4632;
  --sale: #b3261e;
  --dark: #000000;
  --dark-2: #161617;
  --radius: 28px;
  --radius-sm: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1080px;
  --max-wide: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 60px; scrollbar-gutter: stable; } /* gutter: a página não "pula" quando modal/sacola travam a rolagem */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; letter-spacing: -0.011em; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 600; }
body.lock { overflow: hidden; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 980px; font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #333336; }
.btn--accent { background: var(--ink); color: #fff; }
.btn--accent:hover { background: #333336; }
.btn--ghost { background: var(--bg-alt); color: var(--ink); }
.btn--ghost:hover { background: #e8e8ed; }

.btn--block { width: 100%; padding: 15px; }
.btn:disabled { background: var(--bg-alt); color: var(--ink-3); cursor: not-allowed; transform: none; }
.link-arrow { color: var(--ink); font-size: 16px; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.icon-btn { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; flex-shrink: 0; }
.icon-btn:hover { background: rgba(0,0,0,.05); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: .02em; margin-bottom: 12px; }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 52px;
  background: rgba(251,251,253,.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, color .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(0,0,0,.08); }

.nav__inner { max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-size: 21px; font-weight: 600; letter-spacing: -0.04em; }
.nav__links { display: flex; gap: 32px; font-size: 13px; }
.nav__links a { opacity: .8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { opacity: 1; font-weight: 600; }
.footer a.is-active { color: var(--ink); }
.nav__actions { display: flex; gap: 2px; align-items: center; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 600;
  display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.nav__burger { display: none; }
.nav__burger span { position: absolute; left: 10px; width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { transform: translateY(-3px); }
.nav__burger span:last-child { transform: translateY(3px); }
.nav.menu-open .nav__burger span:first-child { transform: rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { transform: rotate(-45deg); }

/* ============ Search ============ */
.search {
  position: fixed; inset: 52px 0 0 0; z-index: 45;
  background: rgb(251,251,253);   /* sem desfoque de fundo: desfocar a tela inteira durante o fade derrubava o FPS */
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__inner { max-width: 680px; margin: 0 auto; padding: 40px 22px; transform: translateY(-12px); transition: transform .6s var(--ease); }
.search.is-open .search__inner { transform: none; }
.search__field { display: flex; align-items: center; gap: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: clamp(22px, 3.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__label { font-size: 12px; color: var(--ink-3); margin: 24px 0 10px; }
.search__results { display: flex; flex-direction: column; }
.sres { display: flex; align-items: center; gap: 14px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; text-align: left; transition: background .2s; }
.sres:hover, .sres:focus-visible { background: rgba(0,0,0,.04); outline: none; }
.sres__img { width: 36px; height: 46px; flex-shrink: 0; }
.sres small { display: block; color: var(--ink-3); font-size: 12px; }
.sres strong { font-size: 15px; font-weight: 500; }
.sres__price { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.squick { display: inline-flex; padding: 6px 0; font-size: 15px; color: var(--accent); }
.squick::before { content: "→ "; color: var(--ink-3); margin-right: 6px; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Hero ============ */
.hero { min-height: 100vh; padding: 120px 22px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.hero__title { font-size: clamp(64px, 13vw, 160px); font-weight: 700; letter-spacing: -0.055em; line-height: .95; transition-delay: .08s; }
.hero__sub { font-size: clamp(21px, 3vw, 32px); color: var(--ink-2); margin-top: 14px; font-weight: 400; transition-delay: .16s; }
.hero__cta { margin-top: 32px; display: flex; gap: 28px; align-items: center; justify-content: center; transition-delay: .24s; }
.hero__visual { position: relative; margin-top: 48px; width: min(340px, 64vw); will-change: transform; }
.hero__glow { position: absolute; inset: 15% -40% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(200,178,122,.45), rgba(93,107,58,.15) 60%, transparent); filter: blur(30px); }
.bottle--hero { animation: float 6s ease-in-out infinite, rise 1.6s var(--ease) both .3s; }
@keyframes float { 50% { translate: 0 -14px; } }
@keyframes rise { from { opacity: 0; transform: translateY(80px) scale(.94); } }
.bottle svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ============ Benefits ============ */
.benefits { border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); background: var(--bg); }
.benefits__inner { max-width: var(--max); margin: 0 auto; padding: 28px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.benefit strong { display: block; font-size: 14px; font-weight: 600; }
.benefit span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.benefit:nth-child(2) { transition-delay: .06s; } .benefit:nth-child(3) { transition-delay: .12s; } .benefit:nth-child(4) { transition-delay: .18s; }

/* ============ Manifesto ============ */
.manifesto { max-width: 980px; margin: 0 auto; padding: 14vh 22px 22vh; }
.manifesto__text { font-size: clamp(30px, 5vw, 56px); font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.manifesto__text .w { color: #d2d2d7; transition: color .35s; }
.manifesto__text .w.on { color: var(--ink); }

/* ============ Featured (sticky) ============ */
.featured { height: 240vh; background: var(--bg-alt); color: var(--ink); position: relative; }
.featured__photo { width: min(520px, 76vw, 56vh); aspect-ratio: 1; will-change: transform; background: var(--bg-alt); }
.featured__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured__photo .pimg--svg { padding: 10% 25%; }
.featured .btn { margin-top: 8px; }
.featured__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 88px 22px 32px; }
.featured__head { text-align: center; }
.featured__head h2 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1; }
.featured__lead { color: var(--ink-2); font-size: clamp(17px, 2.2vw, 22px); margin-top: 12px; }
.featured__stage { position: relative; flex: 1; width: 100%; max-width: var(--max); display: grid; place-items: center; }

.note { position: absolute; max-width: 260px; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.note.is-on { opacity: 1; transform: none; }
.note__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.note strong { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.note p { color: var(--ink-2); font-size: 15px; margin-top: 6px; line-height: 1.45; }
.note--left { left: 0; top: 14%; text-align: right; }
.note--right { right: 0; top: 50%; transform: translateY(-50%) translateY(24px); }
.note--right.is-on { transform: translateY(-50%); }
.note--bottom { left: 0; bottom: 14%; text-align: right; }
.featured__progress { width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 18px; }
.featured__progress span { display: block; height: 100%; width: 0; background: var(--ink); }

/* ============ Showcase da coleção (home) ============ */
.showcase { padding: 0 22px 120px; }
.showcase__tile {
  display: block; max-width: var(--max-wide); margin: 0 auto; overflow: hidden;
  background: var(--bg-alt); border-radius: var(--radius); padding: 72px 24px 0; text-align: center;
  transition: opacity 1.1s var(--ease), transform .9s var(--ease), box-shadow .7s var(--ease);
}
.showcase__tile:hover { box-shadow: 0 30px 70px -30px rgba(0,0,0,.2); }
.showcase__text h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; }
.showcase__text p { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-2); margin: 12px 0 28px; }
.showcase__row { display: flex; justify-content: center; align-items: flex-end; margin-top: 40px; }
.showcase__row img { width: 22%; max-width: 280px; aspect-ratio: 1; object-fit: cover; margin: 0 -2.5%; transition: transform .9s var(--ease); }
.showcase__row img:nth-child(1), .showcase__row img:nth-child(5) { width: 17%; z-index: 0; }
.showcase__row img:nth-child(2), .showcase__row img:nth-child(4) { width: 20%; z-index: 1; }
.showcase__row img:nth-child(3) { width: 25%; z-index: 2; }
.showcase__tile:hover .showcase__row img { transform: translateY(-10px); }
.showcase__tile:hover .showcase__row img:nth-child(3) { transform: translateY(-18px) scale(1.03); }
.showcase__tile:hover .showcase__row img:nth-child(2), .showcase__tile:hover .showcase__row img:nth-child(4) { transition-delay: .05s; }
.showcase__tile:hover .showcase__row img:nth-child(1), .showcase__tile:hover .showcase__row img:nth-child(5) { transition-delay: .1s; }
@media (max-width: 734px) {
  .showcase { padding: 0 16px 80px; }
  .showcase__tile { padding-top: 48px; }
  .showcase__row img { margin: 0 -4%; }
  .showcase__row img:nth-child(1), .showcase__row img:nth-child(5) { width: 24%; }
  .showcase__row img:nth-child(2), .showcase__row img:nth-child(4) { width: 28%; }
  .showcase__row img:nth-child(3) { width: 34%; }
}

/* ============ Catalog ============ */
.catalog { background: var(--bg-alt); padding: 52px 0 100px; min-height: 100vh; }
.page-head { max-width: var(--max-wide); margin: 0 auto; padding: 72px 22px 48px; text-align: center; animation: cardIn .9s var(--ease) both; }
.page-head h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.page-head p:last-child { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); margin-top: 14px; }

.catalog__layout { max-width: var(--max-wide); margin: 0 auto; padding: 0 22px; }

/* Toolbar */
.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }

.toolbar__count { font-size: 14px; color: var(--ink-2); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select {
  appearance: none; border: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231d1d1f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 9px 36px 9px 16px; border-radius: 980px; font-size: 14px; color: var(--ink); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: 980px; background: #fff; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.afilter::after { content: "✕"; font-size: 10px; color: var(--ink-3); }
.afilter:hover::after { color: var(--ink); }

/* Grid & cards */
/* Grade em linhas de 4, com a última linha centralizada */
.grid { --cols: 4; --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.grid > .card { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.grid__empty { width: 100%; text-align: center; padding: 80px 20px; color: var(--ink-2); }
.grid__empty strong { display: block; font-size: 24px; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius-sm); padding: 16px 16px 20px;
  display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.2); }
.card.is-entering { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--bg-alt); cursor: pointer; overflow: hidden; }
.card__photo { width: 100%; height: 100%; display: grid; place-items: center; transition: transform .8s var(--ease); }
.card:hover .card__photo { transform: translateY(-4px) scale(1.05); }

/* Fotos de produto: fundo branco "some" sobre o cinza graças ao multiply */
.pimg { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s var(--ease); }
.pimg.is-loaded { opacity: 1; }
.pimg--svg { opacity: 1; display: grid; place-items: center; padding: 14% 28%; }
.card__photo .pimg { object-fit: cover; }
.card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }   /* acima da foto, que ganha transform no hover */
.tag { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: #fff; color: var(--ink); letter-spacing: .01em; }
.tag--sale { background: var(--sale); color: #fff; }
.tag--best { background: var(--ink); color: #fff; }
.tag--out { background: var(--ink-2); color: #fff; }
.card__quick { position: absolute; bottom: 10px; left: 50%; transform: translate(-50%, 12px); opacity: 0; font-size: 12px; font-weight: 500; padding: 7px 14px; border-radius: 980px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.card:hover .card__quick { opacity: 1; transform: translate(-50%, 0); }
.card__body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.card__name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; line-height: 1.25; cursor: pointer; }
.card__fam { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.vols { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vol { font-size: 12px; padding: 5px 10px; border-radius: 980px; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.vol:hover { border-color: var(--ink-3); }
.vol.is-on { border-color: var(--ink); color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 .5px var(--ink); }
.vol.is-out { color: var(--ink-3); text-decoration: line-through; }
.price { margin-top: 14px; }
.price__old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; margin-right: 6px; }
.price__now { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.price__pix { font-size: 13px; color: var(--accent); font-weight: 500; margin-top: 2px; }
.price__inst { font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.card__actions { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.card__actions .btn { flex: 1; padding: 10px 12px; font-size: 14px; }
.card__actions .btn.added { background: #48484a; }

/* ============ CEP (modal) ============ */

.cep input { flex: 1; min-width: 0; padding: 13px 20px; border-radius: 980px; border: 1px solid var(--line); font-size: 16px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.cep input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,90,64,.15); }

/* ============ Footer ============ */
.footer { background: var(--bg-alt); font-size: 13px; color: var(--ink-2); }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 56px 22px 28px; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer .nav__logo { color: var(--ink); }
.footer__muted { margin-top: 10px; line-height: 1.6; }
.footer h4 { color: var(--ink); font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.footer__cols a:not(.nav__logo) { display: block; margin-bottom: 8px; transition: color .2s; }
.footer__cols a:hover { color: var(--ink); }
.footer__email { display: block; margin-bottom: 8px; text-align: left; font-size: inherit; color: inherit; cursor: copy; transition: color .2s, opacity .2s; }
.footer__email:hover { color: var(--ink); }
.footer__email.is-copied { color: var(--accent); }
.footer__email.is-fading { opacity: 0; }
.footer__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__pay span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: #fff; color: var(--ink-2); letter-spacing: .02em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; }

/* ============ Product modal ============ */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: 0 40px 120px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease);
  will-change: transform, opacity;
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--bg-alt); }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd__media { position: relative; background: var(--bg-alt); display: grid; place-items: center; padding: 48px; min-height: 520px; border-radius: var(--radius) 0 0 var(--radius); }
.pd__photo { width: 100%; max-width: 440px; aspect-ratio: 1; }
/* Bordas da foto se dissolvem no fundo: nenhum quadrado visível, só o frasco */
.pd__photo img, .featured__photo img, .showcase__row img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%);
}
.pd__photo .pimg { object-fit: cover; }
.card__photo { background: var(--bg-alt); }
.pd__info { padding: 48px 40px 40px; }
.pd__brand { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.pd__name { font-size: 34px; line-height: 1.08; margin-top: 6px; }
.pd__meta { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.pd .vols { margin-top: 22px; }
.pd .vol { font-size: 14px; padding: 9px 16px; }
.pd .price { margin-top: 22px; }
.pd .price__now { font-size: 30px; }
.pd .price__pix { font-size: 15px; }
.pd .price__inst { font-size: 14px; }
.pd__stock { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--sale); }
.pd__actions { display: flex; gap: 10px; margin-top: 24px; }
.pd__actions .btn { flex: 1; }
.cep { display: flex; gap: 8px; margin-top: 22px; }
.cep input { padding: 10px 16px; font-size: 14px; }
.cep .btn { padding: 10px 18px; font-size: 14px; }
.cep__out { font-size: 13px; color: var(--ink-2); margin-top: 8px; min-height: 1.2em; }
.pyramid { margin-top: 26px; border-top: 1px solid var(--line); }
.pyramid h4 { font-size: 14px; font-weight: 600; margin: 18px 0 6px; }
.pyr { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 14px; }
.pyr span { color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }

/* ============ Drawer ============ */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100vw);
  background: #fff;   /* sem desfoque de fundo (pesado durante a animação) */
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.1);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 14px; }
.drawer__head h3 { font-size: 22px; }

.drawer__ship { font-size: 13px; color: var(--accent); margin: 8px 24px 4px; min-height: 1em; }
.drawer__items { flex: 1; overflow-y: auto; padding: 0 24px; border-top: 1px solid rgba(0,0,0,.06); margin-top: 10px; }
.drawer__empty { text-align: center; color: var(--ink-2); padding: 80px 0; }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.06); animation: cardIn .5s var(--ease) both; }
.item__img { width: 56px; height: 64px; background: var(--bg-alt); border-radius: 12px; padding: 4px; overflow: hidden; }
.item__img .pimg--svg, .sres__img .pimg--svg { padding: 4px 10px; }
.sres__img { background: var(--bg-alt); border-radius: 8px; overflow: hidden; width: 44px; height: 44px; }
.item small { display: block; color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.item h4 { font-size: 15px; font-weight: 600; }
.item__ml { font-size: 13px; color: var(--ink-2); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.qty button { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt); font-size: 14px; line-height: 1; }
.qty button:hover { background: var(--line); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.item__price { font-weight: 600; font-size: 15px; }
.drawer__foot { padding: 18px 24px 26px; border-top: 1px solid rgba(0,0,0,.06); }
.drawer__row { display: flex; justify-content: space-between; font-size: 16px; }
.drawer__row--pix { color: var(--accent); font-size: 14px; margin-top: 6px; }
.drawer__inst { font-size: 13px; color: var(--ink-2); margin: 4px 0 16px; }

/* ============ Toast ============ */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 100; padding: 12px 22px; border-radius: 980px; background: rgba(29,29,31,.9); color: #fff; font-size: 14px; backdrop-filter: blur(10px); transform: translate(-50%, 120px); transition: transform .6s var(--ease); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.is-on { transform: translate(-50%, 0); }

/* ============ Responsive ============ */
@media (max-width: 1068px) {
  .catalog__layout { grid-template-columns: 1fr; }

  .grid { --cols: 3; }

}
@media (max-width: 900px) {
  .grid { --cols: 2; }
  .benefits__inner { grid-template-columns: repeat(2, 1fr); }

  .note--left { top: 6%; }
  .pd { grid-template-columns: 1fr; }
  .pd__media { min-height: 340px; border-radius: var(--radius) var(--radius) 0 0; }
  .pd__photo { max-width: 280px; }
  .nav__links { gap: 22px; }
}
@media (max-width: 734px) {
  .nav__burger { display: grid; }
  .nav__links {
    position: fixed; top: 52px; left: 0; right: 0; height: 0; overflow: hidden;
    flex-direction: column; gap: 0; padding: 0 32px;
    background: rgb(251,251,253);
    transition: height .6s var(--ease);
  }

  .nav.menu-open .nav__links { height: calc(100vh - 52px); padding-top: 24px; }
  .nav__links a { font-size: 28px; font-weight: 600; padding: 8px 0; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease); }
  .nav.menu-open .nav__links a { opacity: 1; transform: none; }
  .nav.menu-open .nav__links a:nth-child(2) { transition-delay: .04s; }
  .nav.menu-open .nav__links a:nth-child(3) { transition-delay: .08s; }
  .nav.menu-open .nav__links a:nth-child(4) { transition-delay: .12s; }
  .nav.menu-open .nav__links a:nth-child(5) { transition-delay: .16s; }
  .nav.menu-open .nav__links a:nth-child(6) { transition-delay: .2s; }

  .benefits__inner { gap: 18px; }

  .page-head { padding: 48px 22px 32px; }

  .grid { --gap: 12px; }
  .card { padding: 10px 10px 14px; }
  .card__body { padding: 12px 2px 0; }
  .card__name { font-size: 15px; }
  .price__now { font-size: 17px; }
  .card__actions .btn { font-size: 13px; padding: 9px 8px; }
  .card__quick { display: none; }
  .card__badges { top: 8px; left: 8px; gap: 4px; }
  .card__badges .tag:not(.tag--sale) { display: none; }
  .card__badges .tag.tag--best { display: inline-block; }
  .card__badges .tag--sale ~ .tag--best { display: none; }
  .tag { font-size: 10px; padding: 3px 6px; white-space: nowrap; }
  .toolbar { flex-wrap: wrap; gap: 10px; }
  .toolbar__count { order: 3; width: 100%; }
  .sort span { display: none; }

  .footer__cols { grid-template-columns: 1fr 1fr; }

  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: var(--radius) var(--radius) 0 0; max-height: 92vh; transform: translateY(100%); }
  .pd__info { padding: 28px 22px 32px; }
  .pd__name { font-size: 28px; }

  .featured__stage { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
  .featured__photo { width: min(260px, 64vw, 34vh); }
  .note { position: static; margin: 0 auto; text-align: center; max-width: 320px; display: none; }
  .note.is-current { display: block; }
  .note--right, .note--right.is-on { transform: none; }
}
@media (max-width: 420px) {
  .grid { --cols: 2; }
  .vols .vol { padding: 4px 8px; font-size: 11px; }
}

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

/* ---------- Políticas ---------- */
.legal__toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 22px 40px; }
.legal__toc a { font-size: 14px; padding: 8px 16px; border-radius: 980px; background: var(--bg-alt); color: var(--ink); transition: background .3s; }
.legal__toc a:hover { background: var(--line); }
.legal__body { max-width: 760px; margin: 0 auto; padding: 0 22px 96px; color: var(--ink); font-size: 17px; line-height: 1.6; }
.legal__updated { color: var(--ink-3); font-size: 14px; margin-bottom: 8px; }
.legal__body section { padding-top: 56px; scroll-margin-top: 60px; }
.legal__body h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.legal__body h3 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal__body li { list-style: disc; }
.co-missing { background: #fff1c2; color: #7a5a00; border-radius: 4px; padding: 0 4px; }
.footer__links a { color: inherit; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* Perguntas frequentes */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: var(--ink-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; }
.faq a, .legal__body p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
