/* =========================================================
   Favos de Amor — estilos
   ========================================================= */
/* Visual único (creme + vinho da marca), igual em tema claro e escuro */
:root {
  color-scheme: light;
  --wine: #7d1620;
  --wine-dark: #5a0f17;
  --wine-soft: #a3343c;
  --gold: #c9a24a;
  --gold-light: #e8c36a;
  --choco: #3a2218;
  --choco-soft: #5b3a2c;
  --cream: #f8efe6;
  --cream-2: #f2e3d4;
  --paper: #fffaf5;
  --pine: #2f5a37;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --text: #3a2218;
  --muted: #7a6156;
  --line: #e6d4c4;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(58, 34, 24, .28);
  --shadow-lg: 0 24px 60px -20px rgba(58, 34, 24, .42);

  --f-script: "Great Vibes", cursive;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23c9a24a' stroke-opacity='.10' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2.2rem; }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.script {
  font-family: var(--f-script);
  font-weight: 400;
  color: var(--wine);
  letter-spacing: 0;
}

h1, h2, h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .6em;
  color: var(--choco);
}
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 .script { font-size: 1.25em; line-height: .8; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: .8rem;
}
.eyebrow::before { content: "⬡ "; color: var(--gold); }
.eyebrow--light { color: var(--gold-light); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section__head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 8px 22px -10px var(--wine); }
.btn--primary:hover { background: var(--wine-dark); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px -10px var(--wa-dark); }
.btn--wa:hover { background: var(--wa-dark); }

.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--choco); }
.btn--gold:hover { box-shadow: 0 10px 26px -10px var(--gold-light); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--ig {
  color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  box-shadow: 0 8px 22px -10px #cc2366;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--wine);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--wine); color: #fff; }

.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: .85rem; padding: .4rem; display: block; margin: .3rem auto 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--header-h);
  background: rgba(248, 239, 230, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(58,34,24,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.header__actions { display: flex; align-items: center; gap: .6rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo__mark svg { width: 40px; height: 40px; }
.logo__mark polygon { fill: var(--wine); }
.logo__mark path { fill: var(--gold-light); }
.logo__text { font-family: var(--f-serif); font-weight: 700; font-size: 1.5rem; color: var(--wine); letter-spacing: .01em; }
.logo__text em { font-family: var(--f-script); font-style: normal; font-weight: 400; color: var(--gold); font-size: 1.15em; margin: 0 .05em; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__mark polygon { fill: var(--gold); }
.logo--light .logo__mark path { fill: var(--wine); }

.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: .92rem; position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav__ig { display: none !important; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--wine); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tag {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  background: var(--wine); color: var(--gold-light);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.hero h1 .script { display: block; font-size: 1.3em; line-height: 1; margin-bottom: .05em; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .88rem; color: var(--muted); }
.hero__trust li { display: flex; gap: .35rem; align-items: center; }
.hero__trust li::before { content: "✦"; color: var(--gold); }
.hero__trust strong { color: var(--wine); }

.hero__media { position: relative; aspect-ratio: 1 / 1.05; }
.hero__frame { position: absolute; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame--main { inset: 0 0 12% 14%; border-radius: 200px 200px var(--radius) var(--radius); border: 6px solid var(--paper); }
.hero__frame--hex {
  width: 46%; aspect-ratio: 1 / 1.1547; left: 0; bottom: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-shadow: none;
  filter: drop-shadow(0 12px 22px rgba(58,34,24,.35));
}
.hero__frame--hex::before { content: ""; position: absolute; inset: 0; background: var(--gold); z-index: -1; }
.hero__badge {
  position: absolute; right: -6px; top: 8%;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--wine); color: #fff;
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); border: 3px dashed var(--gold-light);
  animation: float 5s ease-in-out infinite;
}
.hero__badge .script { color: var(--gold-light); font-size: 1.6rem; line-height: .8; }
.hero__badge span:last-child { font-weight: 700; font-size: 1.15rem; }

@keyframes float { 50% { transform: translateY(-10px) rotate(-4deg); } }

/* garland (festoon) */
.garland {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background:
    radial-gradient(circle at 50% 100%, transparent 14px, var(--pine) 15px, var(--pine) 17px, transparent 18px) 0 0 / 60px 22px repeat-x;
  opacity: .5;
}
.garland::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle, var(--wine-soft) 4px, transparent 5px) 0 14px / 120px 22px repeat-x,
    radial-gradient(circle, var(--gold) 4px, transparent 5px) 60px 14px / 120px 22px repeat-x;
}
.garland--top { top: 0; bottom: auto; transform: scaleY(-1); opacity: .9; }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__seal { position: absolute; right: -18px; bottom: 28px; width: 110px; height: 110px; display: grid; place-items: center; }
.about__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__seal polygon { fill: var(--gold); stroke: var(--paper); stroke-width: 4; }
.about__seal span { position: relative; font-family: var(--f-script); font-size: 1.6rem; line-height: .9; text-align: center; color: var(--choco); }
.about__text p { color: var(--muted); }
.about__text p strong { color: var(--wine); }

.values { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--cream); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.values__ico { font-size: 1.5rem; line-height: 1; }
.values strong { display: block; color: var(--choco); }
.values small { color: var(--muted); font-size: .88rem; }

/* ---------- Catalog ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--choco);
  padding: .55rem 1.2rem; border-radius: 999px; font-weight: 500; font-size: .9rem; transition: all .2s;
}
.chip:hover { border-color: var(--wine); }
.chip.is-active { background: var(--wine); color: #fff; border-color: var(--wine); }

.grid.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }

.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(230, 212, 196, .7);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--wine); color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase; }
.card__badge--gold { background: var(--gold); color: var(--choco); }
.card__body { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.5rem; margin-bottom: .25rem; }
.card__desc { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.card__opts { margin: 0 0 1rem; }
.card__opts label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.card__opts select {
  width: 100%; padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--cream); font: inherit; font-size: .9rem; color: var(--choco);
}
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.price { font-family: var(--f-serif); font-weight: 700; font-size: 1.7rem; color: var(--wine); line-height: 1; }
.price small { font-family: var(--f-sans); font-size: .72rem; color: var(--muted); font-weight: 500; display: block; margin-bottom: .2rem; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--cream); }
.qty button { width: 34px; height: 36px; border: 0; background: transparent; font-size: 1.1rem; color: var(--wine); }
.qty button:hover { background: var(--cream-2); }
.qty input { width: 34px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--choco); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.card__actions { display: flex; gap: .5rem; margin-top: 1rem; }
.card__actions .btn { flex: 1; padding: .75rem 1rem; font-size: .88rem; }

.note {
  display: flex; gap: .6rem; align-items: center; justify-content: center; text-align: left;
  margin: 2.4rem auto 0; padding: 1rem 1.3rem; max-width: 640px;
  background: rgba(125, 22, 32, .07); border: 1px dashed var(--wine-soft);
  border-radius: var(--radius-sm); color: var(--wine-dark); font-size: .92rem;
}

/* ---------- Xmas ---------- */
.xmas {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(232, 195, 106, .18), transparent 60%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-dark) 70%);
  color: #f7e9e0;
  overflow: hidden;
}
.xmas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.45), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(255,255,255,.4), transparent),
    radial-gradient(2px 2px at 10% 70%, rgba(255,255,255,.3), transparent);
  background-size: 300px 300px;
}
.xmas__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.xmas h2 { color: #fff; }
.xmas h2 .script { color: var(--gold-light); display: block; font-size: 1.45em; line-height: 1; }
.xmas p strong { color: var(--gold-light); }

.pricelist { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.pricelist li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; font-weight: 600; }
.pricelist i { flex: 1; border-bottom: 2px dotted rgba(232, 195, 106, .5); transform: translateY(-4px); }
.pricelist b { background: rgba(0,0,0,.2); border: 1px solid rgba(232,195,106,.5); color: var(--gold-light); padding: .2rem .8rem; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.xmas__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.xmas__media { position: relative; min-height: 460px; }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.55); transition: transform .35s; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid--a { width: 54%; height: 70%; left: 2%; top: 4%; transform: rotate(-6deg); z-index: 2; }
.polaroid--b { width: 56%; height: 44%; right: 0; top: 0; transform: rotate(5deg); }
.polaroid--c { width: 50%; height: 56%; right: 6%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 5; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 220px; column-gap: 1rem; }
.masonry button {
  display: block; width: 100%; padding: 0; border: 0; margin: 0 0 1rem; border-radius: var(--radius-sm);
  overflow: hidden; break-inside: avoid; background: var(--cream-2); position: relative;
  box-shadow: var(--shadow);
}
.masonry img { width: 100%; height: auto; transition: transform .5s ease, filter .3s; }
.masonry button:hover img { transform: scale(1.05); filter: saturate(1.1); }
.masonry button::after {
  content: "+"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,250,245,.92); color: var(--wine); font-size: 1.3rem; font-weight: 600;
  opacity: 0; transform: scale(.7); transition: all .25s;
}
.masonry button:hover::after { opacity: 1; transform: scale(1); }

/* ---------- Steps ---------- */
.steps { background: var(--paper); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.steps__list li { text-align: center; padding: 1.6rem 1.2rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); position: relative; }
.steps__list h3 { margin: .9rem 0 .4rem; }
.steps__list p { color: var(--muted); font-size: .92rem; margin: 0; }
.hex-num {
  display: inline-grid; place-items: center; width: 64px; height: 72px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--wine); color: var(--gold-light); font-family: var(--f-serif); font-weight: 700; font-size: 1.7rem;
}

/* ---------- IG band ---------- */
.ig-band { padding: 3rem 0; background: var(--choco); color: #f4e6dc; }
.ig-band__inner { display: flex; align-items: center; gap: 1.6rem; }
.ig-band__avatar { width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); flex-shrink: 0; }
.ig-band__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--choco); }
.ig-band__text { flex: 1; }
.ig-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2rem; }
.ig-band p { margin: 0; opacity: .8; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact p { color: var(--muted); }
.contact__cards { display: grid; gap: .9rem; }
.ccard {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.ccard:hover { transform: translateX(4px); border-color: var(--gold); }
.ccard small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.ccard strong { font-size: 1.1rem; color: var(--choco); }
.ccard__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; }
.ccard__ico--wa { background: var(--wa); }
.ccard__ico--ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* ---------- Footer ---------- */
.footer { background: var(--wine-dark); color: rgba(255,255,255,.75); text-align: center; padding: 2.6rem 0 6rem; }
.footer .logo { justify-content: center; margin-bottom: .6rem; }
.footer p { margin: .2rem 0; }
.footer__small { font-size: .8rem; opacity: .7; }

/* ---------- Floating WA ---------- */
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 26px -8px rgba(18, 140, 75, .7);
  transition: transform .2s, bottom .3s;
}
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
body.has-cart .fab-wa { bottom: 90px; }

/* ---------- Cart bar ---------- */
.cartbar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 59;
  display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem .7rem .7rem;
  border: 0; border-radius: 999px; background: var(--choco); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-lg); width: min(420px, calc(100% - 32px));
  animation: slideUp .35s ease;
}
.cartbar[hidden] { display: none; }
.cartbar span:nth-child(2) { flex: 1; text-align: left; }
.cartbar strong { background: var(--gold); color: var(--choco); padding: .35rem .9rem; border-radius: 999px; }
.cartbar__count { width: 32px; height: 32px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; font-size: .9rem; }
.cartbar.bump { animation: bump .35s ease; }
@keyframes slideUp { from { transform: translate(-50%, 120%); } }
@keyframes bump { 50% { transform: translateX(-50%) scale(1.05); } }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(40, 20, 14, .5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 1.7rem; }
.drawer__list { list-style: none; margin: 0; padding: .6rem 1.3rem; overflow-y: auto; flex: 1; }
.drawer__list li { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.drawer__list img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.drawer__list .ci-name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.drawer__list .ci-sub { font-size: .8rem; color: var(--muted); }
.drawer__list .ci-right { text-align: right; display: grid; gap: .3rem; justify-items: end; }
.drawer__list .ci-price { font-weight: 700; color: var(--wine); font-size: .95rem; }
.drawer__list .qty button { width: 28px; height: 28px; font-size: 1rem; }
.drawer__list .qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.drawer__empty { padding: 2rem 1.3rem; text-align: center; color: var(--muted); display: none; }
.drawer.is-empty .drawer__empty { display: block; }
.drawer.is-empty .drawer__foot, .drawer.is-empty .drawer__list { display: none; }
.drawer__foot { padding: 1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); background: var(--cream); }
.field { display: block; margin-bottom: .7rem; }
.field span { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .25rem; }
.field input, .field textarea {
  width: 100%; padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); font: inherit; font-size: .92rem; color: var(--choco); resize: vertical;
}
.field input:focus, .field textarea:focus, .card__opts select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.req { color: var(--wine); font-weight: 700; }
.field__error { display: block; margin-top: .3rem; font-size: .8rem; font-weight: 600; color: var(--wine); }
.field.is-error input { border-color: var(--wine); background: #fdf1f1; outline: 2px solid rgba(125, 22, 32, .25); outline-offset: 1px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .4rem; }
.drawer__total strong { font-family: var(--f-serif); font-size: 1.8rem; color: var(--wine); }
.drawer__hint { font-size: .82rem; color: var(--muted); margin: 0 0 .9rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(25, 12, 8, .92);
  display: grid; place-items: center; padding: 3rem 1rem; opacity: 0; visibility: hidden; transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(920px, 100%); max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.4rem; display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 12px); transform: translate(-50%, -20px);
  background: var(--choco); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: all .3s; z-index: 100; box-shadow: var(--shadow); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
/* conteúdo sempre visível; só um leve deslize ao entrar na tela */
.reveal { transition: transform .7s ease; }
.js-reveal .reveal:not(.is-in) { transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js-reveal .reveal:not(.is-in) { transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 1.1rem; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.2rem; box-shadow: var(--shadow);
    transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s, visibility .3s;
    z-index: -1;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav__ig { display: inline-flex !important; align-items: center; gap: .5rem; color: var(--wine); border-bottom: 0 !important; }

  .hero__inner, .about__inner, .xmas__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; width: 100%; margin: 0 auto; }
  .about__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .about__seal { right: 6px; }
  .xmas__media { min-height: 400px; max-width: 520px; width: 100%; margin: 0 auto; }
  .contact__inner { gap: 1.6rem; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hide-sm { display: none !important; }
  .logo__text { font-size: 1.3rem; }
  .logo__mark svg { width: 34px; height: 34px; }

  .hero { padding-top: 1.8rem; }
  .hero__text { text-align: center; }
  .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { justify-content: center; }
  .hero__badge { width: 92px; height: 92px; right: 0; }
  .hero__badge .script { font-size: 1.3rem; }
  .hero__badge span:last-child { font-size: 1rem; }

  .section__head { margin-bottom: 1.8rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  .grid.products { grid-template-columns: 1fr; gap: 1.1rem; }

  .xmas__cta .btn { flex: 1 1 100%; }
  .xmas__media { min-height: 340px; }
  .pricelist li { font-size: .92rem; }

  .masonry { columns: 2; column-gap: .7rem; }
  .masonry button { margin-bottom: .7rem; }

  .steps__list { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .steps__list li { padding: 1.2rem .8rem; }
  .steps__list h3 { font-size: 1.2rem; }
  .steps__list p { font-size: .84rem; }
  .hex-num { width: 52px; height: 58px; font-size: 1.4rem; }

  .ig-band__inner { flex-direction: column; text-align: center; }
  .ig-band .btn { width: 100%; }

  .fab-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  body.has-cart .fab-wa { bottom: 84px; }
  .cartbar { bottom: 14px; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
}
