/* PY IMPORTS — sistema visual
   ink #0B0B0F · mist #F5F5F7 · accent #0B63F6 · save #12805C
   Display/body: Geist · Números: Geist Mono */

:root {
  --ink: #111111;
  --ink-70: #4a4a4a;
  --ink-45: #8a857d;
  --surface: #ffffff;
  --cream: #f6f2eb;
  --mist: #f6f2eb;
  --line: rgba(17, 17, 17, 0.10);
  --accent: #b08d57;
  --accent-press: #967643;
  --save: #b08d57;
  --save-bg: #f2ead9;
  --radius: 18px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
               "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.num {
  font-family: "Geist Mono", ui-monospace, "SF Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(246, 242, 235, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { flex: 0 0 auto; display: block; }
.logo__word {
  font-size: calc(var(--logo-size) * 0.56);
  font-weight: 400; letter-spacing: -0.04em; line-height: 1;
}
.logo__word b { font-weight: 600; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--ink-70); }
.nav__links a:hover { color: var(--ink); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border: 0;
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.cart-btn:hover { background: #23232b; }
.cart-btn:active { transform: scale(0.96); }
.cart-btn__count {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--accent); border-radius: 999px; font-size: 11px; font-weight: 600;
}

/* ---------- abas de categoria ---------- */
.tabs {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: rgba(246, 242, 235, 0.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.tabs__rail {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 0;
  scrollbar-width: none;
}
.tabs__rail::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; color: var(--ink-70); background: rgba(17, 17, 17, 0.05);
  border: 1px solid transparent; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fbf9f5 0%, #f6f2eb 100%);
  color: var(--ink);
  padding: 76px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; gap: 32px; grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.hero__grid > div { min-width: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; text-wrap: balance;
  font-size: 13px; color: var(--accent); margin: 0 0 18px;
  background: rgba(176, 141, 87, 0.10); padding: 6px 13px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(38px, 4.8vw, 58px); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 600; margin: 0 0 18px;
}
.hero h1 em { font-style: normal; color: var(--ink-70); }
.hero p { color: var(--ink-70); font-size: 18px; max-width: 42ch; margin: 0 0 30px; letter-spacing: -0.012em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__assurance {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 12px 20px; margin-top: 28px; max-width: 640px;
  font-size: 13.5px; color: var(--ink-45);
}
.hero__assurance span { display: inline-flex; align-items: center; gap: 7px; }
.hero__assurance svg { color: var(--accent); flex: 0 0 auto; }

/* foto de abertura */
.hero__stage {
  position: relative; animation: stage-in 1s var(--ease) both;
}
.hero__stage { height: 470px; width: 122%; overflow: hidden; }
.hero__stage picture { position: absolute; inset: 0; display: block; }
.hero__stage img {
  width: 100%; height: 100%; display: block;
  object-fit: contain; object-position: center bottom;
}
.hero__stage--swap picture:first-child img { animation: swap-a 12s infinite; }
.hero__stage--swap picture:last-child img { animation: swap-b 12s infinite; }
@keyframes swap-a {
  0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; }
}
@keyframes swap-b {
  0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stage--swap picture:last-child { display: none; }
  .hero__stage--swap picture:first-child img { animation: none; opacity: 1; }
}
@keyframes stage-in {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* mosaico de produtos do topo */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.showcase__tile {
  position: relative; display: block; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #eeeef1 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.showcase__tile:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12); }
.showcase__tile--main { grid-column: span 2; }
.showcase__shot { display: grid; place-items: center; padding: 26px; height: 268px; }
.showcase__tile--sub .showcase__shot { height: 148px; padding: 18px; }
.showcase__shot img { max-width: 100%; max-height: 100%; object-fit: contain; }

.showcase__chip {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px; padding: 11px 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}
.showcase__name { font-size: 13.5px; font-weight: 500; letter-spacing: -0.02em; }
.showcase__prices { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; }
.showcase__now { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.showcase__was { font-size: 12px; color: var(--ink-45); text-decoration: line-through; }
.showcase__off { font-size: 12px; color: var(--save); font-weight: 500; }
.showcase__tile--sub .showcase__chip { left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 13px; }
.showcase__tile--sub .showcase__now { font-size: 14px; }
.showcase__tile--sub .showcase__name { font-size: 12px; }
.showcase__tile--sub .showcase__was { display: none; }

/* trilha de produtos do topo — foto solta, nome embaixo */
.rail { margin-top: 58px; padding-bottom: 30px; }
.rail__track {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item {
  flex: 0 0 auto; width: 132px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 10px 6px; border-radius: 18px;
  transition: transform 0.4s var(--ease), background 0.25s;
}
.rail__item:hover { background: rgba(255, 255, 255, 0.7); transform: translateY(-4px); }
.rail__shot { height: 88px; display: grid; place-items: end center; }
.rail__shot img { max-height: 88px; width: auto; object-fit: contain; }
.rail__label { font-size: 13px; font-weight: 500; color: var(--ink); text-align: center; letter-spacing: -0.015em; }
.rail__price { font-size: 12px; color: var(--ink-45); }


.btn {
  display: inline-flex; white-space: nowrap; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 500; background: var(--accent); color: #fff;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.btn--ghost:hover { background: rgba(0, 0, 0, 0.09); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--outline:hover { background: var(--mist); }
.btn--wide { width: 100%; justify-content: center; }
.btn--wa { background: #17a34a; }
.btn--wa:hover { background: #128a3e; }

/* ---------- seções ---------- */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section__head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; font-weight: 600; margin: 0; }
.section__head p { margin: 6px 0 0; color: var(--ink-45); font-size: 15px; }
.section__count { font-size: 13px; color: var(--ink-45); }

/* ---------- grade de produtos ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

.card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); border-radius: 28px; padding: 26px 22px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(0, 0, 0, 0.10); }

.card__media {
  position: relative;
  height: 248px; width: 100%; display: grid; place-items: center;
  margin-bottom: 22px;
}
.card__media img { position: relative; width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.card__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; color: var(--ink-45); letter-spacing: -0.01em;
}
.card__flag {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-45);
}

.card__name { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 4px; }
.card__variant { font-size: 14.5px; color: var(--ink-70); margin: 0 0 16px; letter-spacing: -0.012em; }
.card__price { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; margin: 0; white-space: nowrap; }
.card__compare { font-size: 13.5px; color: var(--ink-45); margin: 4px 0 0; white-space: nowrap; }
.card__compare s { color: var(--ink-45); }
.card__save { font-size: 13.5px; color: var(--save); font-weight: 500; margin: 3px 0 0; white-space: nowrap; }
.card__pay { font-size: 12.5px; color: var(--ink-45); margin: 10px 0 0; }

/* seletores de cor e capacidade */
.swatches { display: flex; gap: 8px; justify-content: center; margin: 0 0 8px; }
.swatch {
  width: 22px; height: 22px; padding: 2px; border-radius: 999px;
  border: 1.5px solid transparent; background: none; display: grid; place-items: center;
  transition: border-color 0.2s;
}
.swatch span { width: 100%; height: 100%; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); display: block; }
.swatch.is-on { border-color: var(--accent); }
.card__color { font-size: 13px; color: var(--ink-70); margin: 0 0 14px; }

.picker { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 16px; }
.picker__opt {
  padding: 7px 13px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.12); background: transparent; color: var(--ink-70);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.picker__opt:hover { border-color: var(--ink-45); color: var(--ink); }
.picker__opt.is-on { border-color: var(--accent); color: var(--accent); background: rgba(176, 141, 87, 0.09); }

/* barra de comparação — o mesmo desenho da marca */
.gauge { width: 128px; margin: 16px auto 0; }
.gauge__track { height: 5px; background: #e5ddd0; border-radius: 999px; overflow: hidden; }
.gauge__fill { height: 100%; background: var(--accent); border-radius: 999px; }
.gauge__legend { font-size: 11.5px; color: var(--ink-45); margin-top: 7px; letter-spacing: 0; }

.card__foot { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.card__link { font-size: 15px; color: var(--accent); }
.card__link:hover { text-decoration: underline; }

/* ---------- vazio ---------- */
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 56px 24px; text-align: center; color: var(--ink-45);
}
.empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ---------- gaveta do carrinho ---------- */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(11, 11, 15, 0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); z-index: 90;
  backdrop-filter: blur(2px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: #fff; z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 60px rgba(11, 11, 15, 0.16);
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer__head h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.icon-btn {
  background: var(--mist); border: 0; width: 32px; height: 32px;
  border-radius: 999px; display: grid; place-items: center; color: var(--ink-70);
}
.icon-btn:hover { background: #e9e9ee; color: var(--ink); }

.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 22px; }

.line-item { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item__thumb { width: 62px; height: 62px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.line-item__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.line-item__name { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.line-item__variant { font-size: 12.5px; color: var(--ink-45); }
.line-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--mist); border-radius: 999px; padding: 3px; }
.stepper button { width: 26px; height: 26px; border: 0; background: transparent; border-radius: 999px; color: var(--ink-70); line-height: 1; }
.stepper button:hover { background: #e4e4ea; color: var(--ink); }
.stepper span { min-width: 22px; text-align: center; font-size: 13px; }

.totals { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-70); margin-bottom: 8px; }
.totals--grand { font-size: 20px; color: var(--ink); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.totals--save { color: var(--save); }

/* ---------- página do carrinho ---------- */
.checkout { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 40px; align-items: start; padding: 56px 0 96px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.03em; }
.panel__hint { margin: 0 0 22px; color: var(--ink-45); font-size: 14px; }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--cream); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-70); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; }
.field textarea { min-height: 92px; resize: vertical; }

.page-head { padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; margin: 0 0 6px; font-weight: 600; }
.page-head p { color: var(--ink-45); margin: 0; }

/* ---------- rodapé ---------- */
.footer { background: #f1ece2; padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand { display: flex; color: var(--ink); margin-bottom: 14px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-45); margin: 0 0 14px; font-weight: 500; }
.footer a, .footer p { font-size: 14px; color: var(--ink-70); margin: 0 0 8px; display: block; }
.footer a:hover { color: var(--ink); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-45); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- aviso flutuante ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; z-index: 120;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero__stage { height: 290px; width: 100%; }
  .showcase__shot { height: 210px; }
  .showcase__tile--sub .showcase__shot { height: 130px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .strip { margin-top: 42px; }
  .strip__item { width: 104px; height: 104px; border-radius: 16px; }
  .checkout { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .hero__assurance { grid-template-columns: 1fr; gap: 10px; }
  .hero p { font-size: 16.5px; }
  .nav__links { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  .card__media { height: 158px; margin-bottom: 14px; }
  .card__name { font-size: 17px; }
  .card__variant { font-size: 13px; margin-bottom: 12px; }
  .picker { flex-wrap: nowrap; gap: 5px; }
  .picker__opt { padding: 6px 9px; font-size: 12px; }
  .card__price { font-size: 17px; }
  .card__compare, .card__save { font-size: 12px; }
  .card__pay { font-size: 11.5px; }
  .card__foot .btn { padding: 11px 16px; font-size: 14px; }
  .card__body { padding: 14px; }
  .card__price { font-size: 21px; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
