/* ===== CORES E FONTES (troque aqui para combinar com a logo) ===== */
:root {
  --bg: #f7ede2;          /* creme da logo */
  --surface: #fffaf4;
  --ink: #2b2118;
  --muted: #8a7a68;
  --line: #eadbc8;
  --accent: #b08433;      /* dourado da logo */
  --accent-2: #d8b46a;
  --accent-soft: #f1e3d1;
  --dark: #2b2118;
  --whats: #1fae5b;
  --radius: 14px;
  --display: "Cinzel", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --gold-grad: linear-gradient(135deg, #8c6424 0%, #d8b46a 45%, #a87a2f 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BOTÕES ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .02em; cursor: pointer; border: 1px solid transparent; transition: .2s; }
.btn--dark { background: var(--gold-grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(140,100,36,.7); }
.btn--dark:hover { filter: brightness(1.08); }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { filter: brightness(.93); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }

/* ===== TOPO ===== */
.topbar { background: var(--dark); color: var(--accent-2); text-align: center; font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 16px; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(247,237,226,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo__mark { height: 54px; width: auto; }
.logo__words { display: flex; flex-direction: column; align-items: center; }
.logo__text { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sub { font-family: var(--display); font-size: 9px; letter-spacing: .5em; text-transform: uppercase; color: var(--accent); margin-top: 4px; padding-left: .5em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: .25s; }
.nav a:hover::after { width: 100%; }
.list-btn { position: relative; background: none; border: 0; cursor: pointer; padding: 6px; }
.list-btn__count { position: absolute; top: -2px; right: -4px; background: var(--accent); color: #fff; font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 1.5px; background: var(--ink); }

/* ===== HERO ===== */
.hero { background: radial-gradient(ellipse at 75% 50%, #f9f0e6 0%, var(--bg) 60%); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; min-height: 480px; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.5vw, 66px); line-height: 1.04; }
.hero h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 20px 0 30px; color: var(--muted); max-width: 470px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { display: grid; place-items: center; }

/* ===== ANIMAÇÃO DA LOGO ===== */
.logo-anim { position: relative; width: min(460px, 100%); aspect-ratio: 1; animation: logoIn 1.4s cubic-bezier(.2,.8,.2,1) both, logoFloat 7s ease-in-out 1.4s infinite; }
.logo-anim img { position: relative; width: 100%; height: 100%; z-index: 1; }
.logo-anim__halo { position: absolute; inset: 14% 18% 30%; border-radius: 50%; background: radial-gradient(circle, rgba(216,180,106,.45) 0%, rgba(216,180,106,0) 70%); filter: blur(18px); animation: haloPulse 5s ease-in-out infinite; }
.logo-anim__shine, .logo__shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,244,214,.55) 45%, rgba(255,255,255,.95) 50%, rgba(255,244,214,.55) 55%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat;
}
.logo-anim__shine { --logo-mask: url("../img/logo.png"); animation: shine 5s ease-in-out 1.2s infinite; }
.sparkle { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); z-index: 3; translate: -50% -50%; pointer-events: none;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  background: radial-gradient(circle, #fff 0 14%, #e6b955 40%, #a87a2f 100%); opacity: 0; animation: twinkle 4s ease-in-out var(--d) infinite; }

.logo__markwrap { position: relative; display: inline-block; line-height: 0; }
.logo__shine { --logo-mask: url("../img/logo-mark.png"); animation: shine 6s ease-in-out 2s infinite; }
.logo:hover .logo__shine { animation: shine 1s ease-in-out; }

@keyframes logoIn { from { opacity: 0; transform: translateY(24px) scale(.92); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes haloPulse { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes shine { 0% { background-position: 150% 0; } 45%, 100% { background-position: -60% 0; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 12% { opacity: 1; transform: scale(1) rotate(45deg); } 26% { opacity: 0; transform: scale(.3) rotate(90deg); } }

@media (prefers-reduced-motion: reduce) {
  .logo-anim, .logo-anim__halo, .logo-anim__shine, .logo__shine, .sparkle { animation: none !important; }
  .sparkle { display: none; }
}

/* ===== TÍTULOS ===== */
.section-title { font-family: var(--display); font-weight: 500; letter-spacing: .06em; font-size: clamp(26px, 3.4vw, 36px); }
.section-sub { color: var(--muted); margin-top: 6px; }

/* ===== FAMÍLIAS ===== */
.families { padding: 72px 0 24px; }
.families__head { text-align: center; max-width: 620px; margin: 0 auto; }
.families__eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.families__eyebrow::before, .families__eyebrow::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.families__eyebrow::after { transform: scaleX(-1); }
.families__head .section-sub { margin-top: 10px; }
.families__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 1080px) { .families__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .families__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.family-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 16px 22px; cursor: pointer; overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s, background .25s; }
.family-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold-grad); transform: scaleX(0); transition: transform .3s; }
.family-card:hover, .family-card.is-active { border-color: var(--accent-2); transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(90,60,20,.55); }
.family-card:hover::before, .family-card.is-active::before { transform: scaleX(1); }
.family-card.is-active { background: linear-gradient(180deg, #fff7ec, var(--surface)); }
.family-card__icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--fam) 22%, #fff) 0%, color-mix(in srgb, var(--fam) 10%, #fff) 100%); box-shadow: inset 0 0 0 1px rgba(176,132,51,.35), 0 0 0 5px var(--surface), 0 0 0 6px rgba(176,132,51,.18); margin-bottom: 18px; transition: transform .3s; }
.family-card__icon svg { width: 34px; height: 34px; }
.family-card:hover .family-card__icon { transform: scale(1.06); }
.family-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.1; }
.family-card__rule { width: 28px; height: 1px; background: var(--accent-2); margin: 12px 0 10px; }
.family-card p { font-size: 12.5px; line-height: 1.5; color: var(--muted); min-height: 3em; }
.family-card__count { margin-top: 14px; font-family: var(--display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.family-card__count i { font-style: normal; display: inline-block; transition: transform .25s; }
.family-card:hover .family-card__count i { transform: translateX(4px); }
@media (max-width: 600px) { .family-card { padding: 22px 12px 18px; } .family-card__icon { width: 56px; height: 56px; } .family-card h3 { font-size: 21px; } }

/* ===== CATÁLOGO ===== */
.catalog { padding: 56px 0 80px; scroll-margin-top: 72px; }
.catalog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.catalog__count { color: var(--muted); font-size: 14px; }
.toolbar { display: flex; gap: 12px; margin: 22px 0 26px; flex-wrap: wrap; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 12px 0; color: var(--ink); min-width: 0; }
#sort { -webkit-appearance: none; appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08433' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 16px; border: 1px solid var(--line); border-radius: 999px; padding: 0 48px 0 20px; height: 46px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
#sort:hover { border-color: var(--accent-2); }
#sort:focus { outline: none; }
#sort:focus-visible, #sort:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,132,51,.18); }
.filters-toggle { display: none; }

.gender-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: -6px 0 24px; }
.gender-tab { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 12px; padding: 12px 10px; cursor: pointer; font-family: var(--display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); transition: .2s; line-height: 1.1; }
.gender-tab span { font-family: var(--sans); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.gender-tab:hover { border-color: var(--accent-2); }
.gender-tab.is-active { background: var(--gold-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -12px rgba(140,100,36,.8); }
.gender-tab.is-active span { color: rgba(255,255,255,.85); }
@media (max-width: 600px) {
  .gender-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
  .gender-tab { flex-direction: column; gap: 2px; padding: 10px 6px; font-size: 13px; letter-spacing: .08em; }
  .gender-tab span { font-size: 11px; }
}
.catalog__body { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.filters h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips[data-group="marca"] { max-height: 220px; overflow-y: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; cursor: pointer; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(70,50,20,.45); }
.card__img { position: relative; aspect-ratio: 1 / 1; background: var(--accent-soft); display: grid; place-items: center; }
.card__img:has(img) { background: #fff; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__tag--light { background: var(--surface) !important; color: var(--accent) !important; border: 1px solid var(--accent-2); }
.pd__tag.pd__tag--strong { background: var(--gold-grad); color: #fff; }
.card__fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.card__fav.is-on { color: #c0392b; }
.card__fav.is-on svg { fill: currentColor; }
.card__tag { position: absolute; top: 10px; left: 10px; background: var(--gold-grad); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__brand { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
.card__name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; }
.card__meta { font-size: 12px; color: var(--muted); }
.card__insp { font-size: 12px; font-style: italic; color: var(--ink); opacity: .8; }
.pd__insp { font-size: 15px; color: var(--muted); margin-top: -6px; }
.pd__insp b { color: var(--ink); font-weight: 600; }
.card__notes { font-size: 12px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { font-weight: 600; font-size: 15px; }
.card__price small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.card__cta { font-size: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 1px; white-space: nowrap; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }

/* Cartão sem foto */
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center;
  background: radial-gradient(circle at 50% 40%, #fffaf2 0%, var(--accent-soft) 75%); }
.ph__mark { width: 34%; max-width: 120px; height: auto !important; object-fit: contain; margin-bottom: 6px; opacity: .95; }
.ph__name { font-family: var(--display); font-size: clamp(15px, 2vw, 22px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.15;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph__line { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ph__soon { margin-top: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border-top: 1px solid var(--accent-2); padding-top: 6px; }
.card__img:has(.ph), .pd__img:has(.ph) { background: var(--accent-soft); }
.card__img .ph__mark, .pd__img .ph__mark { width: 34%; }
.drawer__thumb .ph { padding: 4px; }
.drawer__thumb .ph__mark { width: 80%; margin: 0; }
.drawer__thumb .ph__name, .drawer__thumb .ph__line, .drawer__thumb .ph__soon { display: none; }
@media (max-width: 600px) { .card__img .ph__soon { display: none; } .ph__name { font-size: 14px; } }

/* ===== COMO PEDIR ===== */
.how { background: var(--dark); color: #f3ece1; padding: 72px 0; }
.how .section-title { text-align: center; color: var(--accent-2); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.how__step { text-align: center; padding: 10px; }
.how__step span { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--accent-2); color: var(--accent-2); border-radius: 50%; font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }
.how__step h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.how__step p { color: #b9ad9c; font-size: 14px; margin-top: 4px; }

/* ===== RODAPÉ ===== */
.footer { padding: 44px 0 90px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.footer__mark { height: 70px; width: auto; margin-bottom: 6px; }
.footer__brand { font-family: var(--display); font-size: 22px; letter-spacing: .12em; color: var(--accent); }
.footer__muted { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; gap: 20px; font-size: 14px; }
.footer__links a:hover { color: var(--accent); }
.footer__small { grid-column: 1 / -1; font-size: 12px; }

.whats-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); z-index: 30; transition: .2s; }
.whats-float:hover { transform: scale(1.06); }

/* ===== MODAL ===== */
.modal, .drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.modal.is-open, .drawer.is-open { visibility: visible; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(20,16,12,.5); opacity: 0; transition: .25s; }
.is-open .modal__backdrop, .is-open .drawer__backdrop { opacity: 1; }
.modal__box { position: relative; max-width: 900px; width: calc(100% - 32px); max-height: calc(100% - 48px); overflow-y: auto; margin: 24px auto; background: var(--surface); border-radius: 20px; opacity: 0; transform: translateY(16px); transition: .25s; top: 50%; translate: 0 -50%; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.pd { display: grid; grid-template-columns: 1fr 1.15fr; }
.pd__img { background: var(--accent-soft); display: grid; place-items: center; min-height: 380px; }
.pd__img:has(img) { background: #fff; }
.pd__img img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.pd__info { padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.pd__name { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.05; }
.pd__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd__tag { font-size: 12px; background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.pd__desc { color: var(--muted); font-size: 14px; }
.pyramid { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.pyramid__row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14px; }
.pyramid__row b { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; padding-top: 2px; }
.pd__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; cursor: pointer; font-size: 13px; background: none; }
.size.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pd__price { font-size: 22px; font-weight: 600; }
.pd__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.pd__actions .btn { flex: 1; min-width: 180px; }

/* ===== GAVETA ===== */
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: .3s; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { padding: 20px; border-bottom: 1px solid var(--line); position: relative; }
.drawer__head h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer__thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.drawer__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.drawer__item > div:not(.drawer__thumb) { flex: 1; min-width: 0; font-size: 14px; }
.drawer__item small { color: var(--muted); display: block; }
.drawer__item { align-items: flex-start; }
.drawer__nome { display: block; font-size: 15px; color: var(--ink); line-height: 1.25; }
.drawer__unit { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.drawer__sub { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 17px; color: var(--accent); line-height: 1; }
.qty button:hover:not(:disabled) { background: var(--accent-soft); }
.qty button:disabled { color: var(--line); cursor: default; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }
.drawer__summary { margin-bottom: 14px; font-size: 14px; }
.drawer__summary > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.drawer__summary .drawer__total { color: var(--ink); font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.drawer__summary .drawer__total span:last-child { font-family: var(--sans); }
.drawer__summary p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.drawer__remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; }
.drawer__foot { padding: 20px; border-top: 1px solid var(--line); }
.drawer__empty { color: var(--muted); padding: 30px 0; text-align: center; font-size: 14px; }

/* ===== TELA DE ABERTURA ===== */
.splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(ellipse at 50% 45%, #fdf7ef 0%, var(--bg) 55%, #efdcc6 100%); transition: opacity .8s ease, visibility .8s; }
.splash.is-leaving { opacity: 0; visibility: hidden; }
.splash.is-leaving .splash__logo { transform: scale(1.08); filter: blur(4px); }
.splash__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px; }
.splash__logo { position: relative; width: min(420px, 78vw); aspect-ratio: 1; transition: transform .8s ease, filter .8s ease;
  animation: splashIn 1.6s cubic-bezier(.2,.8,.2,1) both; }
.splash__logo img { position: relative; z-index: 1; width: 100%; height: 100%; }
.splash__halo { position: absolute; inset: 10% 15% 28%; border-radius: 50%; background: radial-gradient(circle, rgba(216,180,106,.55), rgba(216,180,106,0) 70%);
  filter: blur(22px); animation: haloPulse 3s ease-in-out infinite; }
.splash__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,244,214,.55) 45%, rgba(255,255,255,.95) 50%, rgba(255,244,214,.55) 55%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: url("../img/logo.png") center / contain no-repeat; mask: url("../img/logo.png") center / contain no-repeat;
  animation: shine 1.6s ease-in-out 1.1s 1 both; }
.splash .sparkle { z-index: 3; }
.splash__bar { width: 140px; height: 2px; background: rgba(176,132,51,.2); border-radius: 2px; overflow: hidden; animation: fadeUp .6s ease 1s both; }
.splash__bar i { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: left; animation: barFill 2.2s ease .8s both; }
.splash__hint { font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); animation: fadeUp .6s ease 1.6s both; }
@keyframes splashIn { from { opacity: 0; transform: translateY(20px) scale(.85); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .splash__logo, .splash__shine, .splash__halo, .splash__bar i, .splash .sparkle { animation: none !important; } }

/* ===== RESPONSIVO ===== */
@media (max-width: 960px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .list-btn { margin-left: auto; }
  .menu-btn { display: flex; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { order: -1; }
  .logo-anim { width: min(300px, 80%); }
  .catalog__body { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
  .filters.is-open { display: flex; }
  .filters-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; }
  .pd__img { min-height: 0; height: 240px; overflow: hidden; }
  .pd__img img { width: auto; height: 240px; max-height: none; }
  .modal__box { top: 0; translate: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header__inner { height: 64px; }
  .logo__mark { height: 44px; }
  .logo__text { font-size: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px; }
  .card__name { font-size: 18px; }
  .card__notes { display: none; }
  .card__insp { font-size: 11px; }
  .card__foot { flex-direction: column; align-items: flex-start; }
  .how__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .pd__info { padding: 26px 20px; }
  .pd__name { font-size: 30px; }
  .toolbar { gap: 8px; margin: 18px 0 16px; }
  .search { flex: 1 1 100%; }
  #sort { flex: 1; height: 44px; }
  .filters-toggle { flex: 1; height: 44px; }
}
