/* ===========================================================
   Caffe Teichner — Storefront
   Bodoni Moda (display) · Jost (UI) · espresso + brass + verde
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --espresso:  #1a120b;
  --coffee:    #2a1d12;
  --latte:     #f3ecdf;
  --paper:     #fbf7ef;
  --brass:     #b4884a;
  --brass-lo:  #8a6631;
  --brass-hi:  #d8b072;
  --verde:     #22392c;
  --ink:       #271c11;
  --muted:     #7a6a54;
  --line:      #e4d9c6;
  --card:      #ffffff;
  --bg:        #f6efe3;
  --bg-2:      #efe6d5;

  --shadow:    0 18px 50px -24px rgba(38, 24, 8, .45);
  --shadow-sm: 0 6px 22px -14px rgba(38, 24, 8, .5);

  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --radius: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --latte:  #efe6d5;
    --ink:    #ece2d0;
    --muted:  #a2917a;
    --line:   #33261a;
    --card:   #201811;
    --bg:     #140e09;
    --bg-2:   #1a120b;
    --brass:  #c79a56;
    --brass-lo:#a67c3c;
    --shadow: 0 20px 55px -22px rgba(0,0,0,.7);
    --shadow-sm: 0 8px 26px -16px rgba(0,0,0,.7);
  }
}
:root[data-theme="light"] {
  --latte:#f3ecdf; --ink:#271c11; --muted:#7a6a54; --line:#e4d9c6;
  --card:#fff; --bg:#f6efe3; --bg-2:#efe6d5; --brass:#b4884a; --brass-lo:#8a6631;
  --shadow:0 18px 50px -24px rgba(38,24,8,.45); --shadow-sm:0 6px 22px -14px rgba(38,24,8,.5);
}
:root[data-theme="dark"] {
  --latte:#efe6d5; --ink:#ece2d0; --muted:#a2917a; --line:#33261a;
  --card:#201811; --bg:#140e09; --bg-2:#1a120b; --brass:#c79a56; --brass-lo:#a67c3c;
  --shadow:0 20px 55px -22px rgba(0,0,0,.7); --shadow-sm:0 8px 26px -16px rgba(0,0,0,.7);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, .hero-figure .signature, .cat:hover .roundel { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500; color: var(--brass);
}
.serif { font-family: var(--serif); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ---------- Top ribbon ---------- */
.ribbon {
  background: var(--verde);
  color: #e9e2d0;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  text-align: center; padding: 9px 16px; font-weight: 400;
}
.ribbon b { color: var(--brass-hi); font-weight: 600; }

/* ---------- Header ---------- */
.head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: .6ch; line-height: 1; }
.brand-logo {
  display: block; width: 172px; height: 52px;
  background: url(../assets/img/logo-nova-era-dark.png) left center / contain no-repeat;
  transition: opacity .3s;
}
.brand:hover .brand-logo { opacity: .7; }
/* Header logo swaps to the white version on a dark header; footer is always white */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .head .brand-logo { background-image: url(../assets/img/logo-nova-era.png); }
}
:root[data-theme="dark"] .head .brand-logo { background-image: url(../assets/img/logo-nova-era.png); }
:root[data-theme="light"] .head .brand-logo { background-image: url(../assets/img/logo-nova-era-dark.png); }
.brand .sub {
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; align-self: center; padding-left: 8px;
  border-left: 1px solid var(--line); margin-left: 6px;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400;
  color: var(--ink); position: relative; padding: 6px 0; opacity: .85;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass); transition: width .35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }
.tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; color: var(--ink); transition: background .25s, color .25s;
  position: relative;
}
.icon-btn:hover { background: var(--bg-2); color: var(--brass); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--brass); color: #fff; border-radius: 10px;
  font-size: .64rem; font-weight: 600; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease); font-family: var(--sans);
}
.cart-count.show { transform: scale(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--espresso); color: #f0e7d6;
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(180,136,74,.28), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(34,57,44,.55), transparent 60%),
    var(--espresso);
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 40px; min-height: min(78vh, 660px); padding-block: 64px;
}
.hero-copy { max-width: 34rem; }
.hero-copy .eyebrow { color: var(--brass-hi); }
.hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .98; letter-spacing: -.01em; margin: 18px 0 22px; text-wrap: balance;
  color: #f6efe0;
}
.hero h1 em { font-style: italic; color: var(--brass-hi); }
.hero p {
  font-size: 1.05rem; color: #cfc3ad; max-width: 30rem; font-weight: 300;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-figure { position: relative; justify-self: center; }
/* Signature: the real Nova Era logo roundel, rotating slowly behind the product */
.hero-figure .signature {
  position: absolute; inset: 50% auto auto 50%; width: 128%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%); z-index: -1;
  background: url(../assets/img/mark-roundel.svg) center / contain no-repeat;
  opacity: .5;
  animation: spin 36s linear infinite;
}
/* Spin in place: keep the centering translate inside the transform so rotation happens
   around the element's own centre (no orbit). The 180° midpoint stops the 0↔360 collapse. */
@keyframes spin {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  50%  { transform: translate(-50%, -50%) rotate(180deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Same, for marks that don't need centering (e.g. category roundel) */
@keyframes spin-mark {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

/* Reusable roundel mark — the actual logo icon (works over file:// too) */
.roundel {
  display: inline-block; aspect-ratio: 1 / 1; flex-shrink: 0;
  background: url(../assets/img/mark-roundel.svg) center / contain no-repeat;
}
.hero-figure img {
  width: min(430px, 80vw); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  border: 1px solid rgba(216,176,114,.35);
  transition: border-radius .5s var(--ease), aspect-ratio .5s var(--ease);
}
/* When a lifestyle photo is used, frame it as a tall Italian arch instead of a circle */
.hero-figure.photo img { aspect-ratio: 4 / 5; width: min(390px, 78vw); border-radius: 999px 999px 10px 10px; }
.hero-figure.photo .signature { width: 138%; }
.hero-badge {
  position: absolute; bottom: 6%; left: -4%;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; max-width: 230px;
}
.hero-badge .n { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--brass); line-height: 1; }
.hero-badge small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--brass); --fg-btn: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-btn); color: var(--fg-btn);
  padding: 14px 26px; border-radius: var(--radius);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: transform .2s var(--ease), box-shadow .3s, background .3s, opacity .3s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(180,136,74,.7); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: currentColor; border-color: currentColor; opacity: .9;
}
.btn.ghost:hover { background: rgba(180,136,74,.12); box-shadow: none; opacity: 1; }
.btn.dark { --bg-btn: var(--ink); --fg-btn: var(--bg); }
.btn.block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--verde); color: #e6dcc6; overflow: hidden; border-block: 1px solid rgba(216,176,114,.2);
}
.strip-track { display: flex; gap: 3rem; padding: 13px 0; white-space: nowrap; width: max-content;
  animation: slide 32s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip span { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; display: inline-flex; gap: 3rem; }
.strip span::after { content: "✦"; color: var(--brass); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Section frame ---------- */
.section { padding-block: clamp(56px, 8vw, 100px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; margin-top: 12px;
}
.sec-head h2 em { font-style: italic; color: var(--brass); }
.sec-head p { color: var(--muted); max-width: 26rem; font-size: .95rem; }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; background: var(--card); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  display: flex; flex-direction: column; gap: 10px; min-height: 168px;
}
.cat::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.cat:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: var(--shadow-sm); }
.cat:hover::after { transform: scaleY(1); }
.cat .cn { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.cat .ct { font-size: .82rem; color: var(--muted); }
.cat .cc { margin-top: auto; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.cat .roundel { width: 34px; height: auto; opacity: .9; margin-bottom: 4px; }
.cat:hover .roundel { animation: spin-mark 7s linear infinite; }

/* Category cards with a lifestyle photo background (added by JS when the image loads) */
.cat.has-photo { min-height: 250px; border-color: transparent; color: #fff; justify-content: flex-end; }
.cat.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(180deg, rgba(20,12,6,.15) 0%, rgba(20,12,6,.55) 55%, rgba(20,12,6,.88) 100%), var(--cat-bg);
  background-size: cover; background-position: center;
  transform: scale(1.03); transition: transform .7s var(--ease);
}
.cat.has-photo:hover::before { transform: scale(1.09); }
.cat.has-photo > * { position: relative; z-index: 1; }
.cat.has-photo .cn { color: #fff; }
.cat.has-photo .ct { color: rgba(255,255,255,.82); }
.cat.has-photo .cc { color: var(--brass-hi); }
.cat.has-photo .roundel { opacity: 1; }
.cat.has-photo:hover { box-shadow: var(--shadow); }

/* ---------- Toolbar (filters) ---------- */
.shop-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 40px;
  font-size: .78rem; letter-spacing: .06em; color: var(--ink); background: var(--card);
  transition: all .25s var(--ease); text-transform: uppercase; font-weight: 400;
}
.chip:hover { border-color: var(--brass); color: var(--brass); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.count { margin-left: auto; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.select {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 9px 14px; border-radius: 40px; font-size: .78rem; letter-spacing: .03em;
}

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  opacity: 0; transform: translateY(18px);
}
.pcard.in { opacity: 1; transform: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brass); }
.pcard .media {
  position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; cursor: pointer;
}
.pcard .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s;
}
.pcard:hover .media img { transform: scale(1.06); }
.pcard .quick {
  position: absolute; inset-inline: 12px; bottom: 12px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(6px); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px; text-align: center; font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500;
  transform: translateY(140%); transition: transform .4s var(--ease); opacity: 0;
}
.pcard:hover .quick { transform: none; opacity: 1; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--brass); color: #fff; font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; padding: 5px 10px; border-radius: 40px;
}
.badge.sale { background: var(--verde); }
.pbody { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcat { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.pname { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; line-height: 1.22; }
.pdesc { font-size: .82rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-old { font-size: .9rem; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-quote { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: .02em; color: var(--brass); }
.btn-quote { background: transparent; color: var(--brass); border: 1px solid var(--brass); }
.btn-quote:hover { background: var(--brass); color: #fff; }
.pcard .add {
  margin-top: 14px; width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 11px;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: background .3s, color .3s;
}
.pcard .add:hover { background: var(--ink); color: var(--bg); }
.pcard .add svg { width: 15px; height: 15px; }

/* ---------- Editorial band ---------- */
.about { background: var(--coffee); color: #ece1cd; position: relative; overflow: hidden; }
.about::before {
  content: "☕"; position: absolute; font-size: 30rem; right: -6rem; top: 50%; transform: translateY(-50%);
  opacity: .04; pointer-events: none;
}
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.05; margin: 16px 0 20px; text-wrap: balance; }
.about h2 em { font-style: italic; color: var(--brass-hi); }
.about p { color: #cbbda3; margin-bottom: 16px; max-width: 34rem; }
.stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat .n { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--brass-hi); line-height: 1; }
.stat small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #b6a789; }
.about-img { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(216,176,114,.3); box-shadow: var(--shadow); }
.about-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ---------- Lifestyle band (split: text panel + portrait photo, revealed by JS) ---------- */
.lifestyle {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; overflow: hidden;
}
.lifestyle .life-text {
  background: var(--coffee); color: #f2e9d8; position: relative; overflow: hidden;
  display: grid; align-items: center; padding: clamp(40px, 6vw, 84px);
}
.lifestyle .life-text::before {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px;
  border: 1px solid rgba(216,176,114,.2); border-radius: 50%; pointer-events: none;
}
.lifestyle .life-photo {
  background-image: var(--life-bg); background-size: cover; background-position: center;
  min-height: 320px;
}
.lifestyle .quote { max-width: 30rem; position: relative; }
.lifestyle .quote .eyebrow { color: var(--brass-hi); }
.lifestyle .quote p {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; margin-top: 16px;
}
.lifestyle .quote p em { font-style: italic; color: var(--brass-hi); }
.lifestyle .quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,233,216,.7); }
@media (max-width: 820px) {
  .lifestyle { grid-template-columns: 1fr; }
  .lifestyle .life-photo { min-height: 360px; order: -1; }
}

/* ---------- Value props ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prop { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.prop svg { width: 30px; height: 30px; color: var(--brass); flex-shrink: 0; stroke-width: 1.4; }
.prop h4 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 4px; }
.prop p { font-size: .84rem; color: var(--muted); }

/* ---------- Footer ---------- */
.foot { background: var(--espresso); color: #c4b599; padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(216,176,114,.16); }
.foot .brand-logo { background: url(../assets/img/logo-nova-era.png) left center / contain no-repeat; width: 190px; height: 58px; }
.foot .brand:hover .brand-logo { opacity: .7; }
.foot h5 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: 18px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot a { font-size: .88rem; color: #c4b599; opacity: .85; transition: opacity .2s, color .2s; }
.foot a:hover { opacity: 1; color: var(--brass-hi); }
.foot p.desc { font-size: .88rem; margin-top: 16px; color: #b0a084; max-width: 24rem; }
.news { display: flex; gap: 8px; margin-top: 14px; }
.news input {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(216,176,114,.25);
  border-radius: var(--radius); padding: 12px 14px; color: #f0e7d6; font-size: .86rem;
}
.news input::placeholder { color: #8f7f65; }
.pays { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pays img { height: 26px; width: auto; border-radius: 3px; background: #fff; padding: 2px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; font-size: .78rem; color: #9a8b70; }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(20,12,6,.55); z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; backdrop-filter: blur(2px);
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100%); z-index: 70;
  background: var(--bg); box-shadow: -20px 0 60px -30px rgba(0,0,0,.6);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.subtotal .lbl { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.subtotal .val { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.freehint { font-size: .76rem; color: var(--muted); text-align: center; }
.freehint b { color: var(--brass); }
.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--brass); width: 0; transition: width .5s var(--ease); }

.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); background: #fff; }
.citem .cn { font-family: var(--serif); font-size: .98rem; line-height: 1.2; margin-bottom: 4px; }
.citem .cp { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 40px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); font-size: 1rem; }
.qty button:hover { color: var(--brass); }
.qty span { min-width: 26px; text-align: center; font-size: .86rem; font-variant-numeric: tabular-nums; }
.citem .rm { color: var(--muted); font-size: .72rem; letter-spacing: .06em; margin-top: 6px; text-transform: uppercase; }
.citem .rm:hover { color: #b5453a; }
.citem .line { font-family: var(--serif); font-weight: 600; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: var(--line); margin-bottom: 16px; }
.empty .serif { font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; display: block; }

/* ---------- Quick view modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal .sheet {
  background: var(--bg); border-radius: var(--radius); max-width: 880px; width: 100%;
  max-height: 90vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow); transform: translateY(20px) scale(.98); transition: transform .4s var(--ease);
  border: 1px solid var(--line);
}
.modal.open .sheet { transform: none; }
.modal .m-media { background: #fff; position: relative; }
.modal .m-media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.modal .m-body { padding: 40px 38px; overflow-y: auto; display: flex; flex-direction: column; }
.modal .m-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.08; margin: 12px 0 14px; }
.modal .m-body p { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.modal .m-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.modal .m-price .price { font-size: 2rem; }
.modal .m-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: grid; place-items: center; z-index: 2; box-shadow: var(--shadow-sm); }
.modal .m-close:hover { color: var(--brass); }
.mqty { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.mqty .qty { margin: 0; }
.m-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.m-meta div { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); align-items: center; }
.m-meta svg { width: 17px; height: 17px; color: var(--brass); flex-shrink: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 40px;
  font-size: .84rem; z-index: 90; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
  transition: transform .4s var(--ease), visibility .4s; letter-spacing: .02em;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: var(--brass-hi); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; }
  .hero-cta { justify-content: center; }
  .hero-figure { order: -1; }
  .about-in { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; }
  .props { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
  }
  .nav-toggle { display: grid; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .modal .sheet { grid-template-columns: 1fr; }
  .modal .m-media img { min-height: 220px; max-height: 260px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .pdesc { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .strip span { letter-spacing: .16em; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
}

/* ---------- Páginas de conteúdo (políticas, quem somos) ---------- */
.subhead { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subhead .head-in { display: flex; align-items: center; gap: 20px; height: 74px; }
.subhead .back { margin-left: auto; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: .85; }
.subhead .back:hover { color: var(--brass); }
.doc-hero { background: var(--espresso); color: #f0e7d6; padding: clamp(48px,8vw,88px) 0 clamp(40px,6vw,64px); position: relative; overflow: hidden; }
.doc-hero::before { content:""; position:absolute; inset:-40% -10% auto auto; width:420px; height:420px; background: radial-gradient(circle, rgba(180,136,74,.22), transparent 65%); }
.doc-hero .eyebrow { color: var(--brass-hi); }
.doc-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem,5vw,3.4rem); line-height: 1.04; margin-top: 14px; text-wrap: balance; }
.doc-hero p { color: #cfc3ad; margin-top: 14px; max-width: 40rem; }
.doc { max-width: 760px; margin-inline: auto; padding-block: clamp(40px,6vw,72px); }
.doc h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 40px 0 12px; color: var(--ink); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.05rem; font-weight: 500; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink); opacity: .88; line-height: 1.75; margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.doc .updated { font-size: .82rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 8px; }
.doc .callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.doc .callout p:last-child { margin-bottom: 0; }

/* ---------- Página de produto ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: clamp(32px,5vw,64px); align-items: start; }
.pdp-media { position: sticky; top: 100px; }
.pdp-media #pdpMain { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pdp-thumb { width: 66px; height: 66px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass) inset; }
.pdp-info .crumbs { font-size: .78rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 16px; }
.pdp-info .crumbs a:hover { color: var(--brass); }
.pdp-cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem,3.6vw,2.8rem); line-height: 1.06; margin: 10px 0 16px; text-wrap: balance; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pdp-price .now { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp-price .was { color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pdp-price .off { background: var(--verde); color: #fff; font-size: .7rem; padding: 4px 10px; border-radius: 20px; letter-spacing: .06em; }
.pdp-parcela { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.pdp-desc { color: var(--ink); opacity: .85; line-height: 1.8; margin-bottom: 24px; }
.pdp-buy { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.stepper button { width: 42px; height: 46px; display: grid; place-items: center; font-size: 1.1rem; color: var(--ink); }
.stepper button:hover { color: var(--brass); }
.stepper span { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.pdp-buy .btn { flex: 1; justify-content: center; min-width: 200px; }
.pdp-stock { font-size: .85rem; margin-bottom: 24px; }
.pdp-stock.ok { color: var(--verde); } .pdp-stock.low { color: #b5453a; }
.pdp-meta { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.pdp-meta div { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); }
.pdp-meta svg { width: 18px; height: 18px; color: var(--brass); flex-shrink: 0; }

/* Pacotes / bundle */
.bundle { background: var(--bg-2); border-radius: var(--radius); padding: 22px; margin: 24px 0; border: 1px solid var(--line); }
.bundle h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-bottom: 4px; }
.bundle .sub { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.bundle-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.bundle-it { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
.bundle-it img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
.bundle-it .bn { font-size: .82rem; line-height: 1.2; max-width: 130px; }
.bundle-it .bp { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bundle-plus { color: var(--brass); font-size: 1.2rem; }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.bundle-total { font-size: .9rem; color: var(--muted); }
.bundle-total b { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.bundle-total .save { color: var(--verde); font-weight: 500; margin-left: 8px; }

/* Sugestões / relacionados */
.rel { padding-block: clamp(40px,6vw,72px); }
.rel .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 900px){ .pdp{grid-template-columns:1fr;gap:28px} .pdp-media{position:static} .rel .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 480px){ .rel .grid{grid-template-columns:1fr} }

/* ---------- Upsell/downsell no carrinho ---------- */
.cart-offer { border: 1px solid var(--brass); border-radius: var(--radius); background: color-mix(in srgb, var(--brass) 8%, var(--bg)); padding: 12px; margin: 8px 0 14px; display: flex; gap: 12px; align-items: center; }
.cart-offer img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background:#fff; }
.cart-offer .co-i { flex: 1; min-width: 0; }
.cart-offer .co-tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.cart-offer .co-n { font-size: .84rem; line-height: 1.2; margin: 2px 0; }
.cart-offer .co-p { font-size: .82rem; font-variant-numeric: tabular-nums; }
.cart-offer .co-p s { color: var(--muted); margin-right: 6px; }
.cart-offer .co-add { border: 1px solid var(--brass); color: var(--brass); border-radius: 40px; padding: 8px 14px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.cart-offer .co-add:hover { background: var(--brass); color: #fff; }

/* ---------- Exit popup ---------- */
.exit { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: .3s; }
.exit.open { opacity: 1; visibility: visible; }
.exit-bg { position: absolute; inset: 0; background: rgba(20,12,6,.6); backdrop-filter: blur(3px); }
.exit-card { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); max-width: 460px; width: 100%; overflow: hidden; box-shadow: var(--shadow); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); }
.exit.open .exit-card { transform: none; }
.exit-top { background: var(--espresso); color: #f0e7d6; padding: 30px 32px 26px; text-align: center; position: relative; }
.exit-top .r { width: 40px; height: 44px; margin: 0 auto 14px; background: url(assets/img/mark-roundel-brass.png) center/contain no-repeat; }
.exit-top h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.1; }
.exit-top .code { display: inline-block; margin-top: 12px; border: 1px dashed var(--brass-hi); border-radius: 6px; padding: 8px 16px; font-size: 1.1rem; letter-spacing: .12em; color: var(--brass-hi); font-weight: 600; }
.exit-body { padding: 24px 32px 30px; text-align: center; }
.exit-body p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.exit-form { display: flex; gap: 8px; }
.exit-form input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--card); color: var(--ink); }
.exit-close { position: absolute; top: 12px; right: 14px; color: #f0e7d6; font-size: 1.1rem; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.exit-close:hover { background: rgba(255,255,255,.12); }
.exit-decline { display: block; width: 100%; margin-top: 12px; font-size: .8rem; color: var(--muted); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; margin-inline: auto; z-index: 88; background: var(--espresso); color: #f0e7d6; border: 1px solid rgba(216,176,114,.3); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); transform: translateY(160%); transition: transform .4s var(--ease); }
.cookie.show { transform: none; }
.cookie p { font-size: .85rem; line-height: 1.55; color: #d8cdb5; margin-bottom: 14px; }
.cookie p a { color: var(--brass-hi); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; min-width: 120px; }
.cookie-actions .btn.ghost { color: #f0e7d6; border-color: rgba(255,255,255,.25); }

/* ===================================================================
   Ajustes da revisão (28/09/2026)
   =================================================================== */
/* Tipografia de preço mais limpa (sem serifa, peso consistente) */
.price, .pdp-price .now, .subtotal .val, .citem .line, .bundle-total b, .modal .m-price .price {
  font-family: var(--sans); letter-spacing: -.01em; font-weight: 600;
}
.price { font-size: 1.3rem; }
.pdp-price .now { font-size: 2rem; }

/* Herói no celular: mostrar tudo sem cortar título/produto/botão */
@media (max-width: 720px) {
  .hero-in { padding-block: 40px; min-height: auto; gap: 26px; }
  .hero h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); line-height: 1.02; }
  .hero p { font-size: .98rem; }
  .hero-figure img, .hero-figure.photo img { width: min(300px, 70vw); }
  .hero-figure .signature { width: 116%; }
  .hero-badge { position: static; margin: 16px auto 0; max-width: 280px; }
}

/* Pop-up Benvenuto no celular: campo e botão sempre visíveis */
@media (max-width: 440px) {
  .exit { padding: 14px; align-items: flex-start; padding-top: 10vh; }
  .exit-card { max-width: 100%; }
  .exit-top { padding: 26px 20px 22px; }
  .exit-top h3 { font-size: 1.45rem; }
  .exit-body { padding: 20px 20px 24px; }
  .exit-form { flex-direction: column; gap: 10px; }
  .exit-form input, .exit-form .btn { width: 100%; }
}

/* Revisão: cabeçalho cabe no celular (evita overflow horizontal) */
@media (max-width: 720px) {
  .head-in { gap: 10px; height: 64px; }
  .brand-logo { width: 132px; height: 40px; }
  .foot .brand-logo { width: 150px; height: 46px; }
  .brand .sub { display: none; }
  .ribbon { font-size: .64rem; letter-spacing: .08em; padding: 7px 12px; }
}

/* ===== Avaliações (estrelas + reviews) ===== */
.stars{display:inline-flex;align-items:center;gap:1px;vertical-align:middle;line-height:1}
.stars .star{color:#d9cdb8;padding:0;margin:0;line-height:1;flex:0 0 auto;background:none}
.stars .star.full{color:#e0a838}
.stars .star.half{background:linear-gradient(90deg,#e0a838 50%,#d9cdb8 50%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.pdp-stars{display:inline-flex;align-items:center;gap:7px;margin:-4px 0 12px;text-decoration:none;color:inherit;font-size:.92rem}
.pdp-stars .muted{color:var(--muted)}
.reviews{max-width:var(--maxw,1200px);margin:10px auto 0;padding:34px clamp(16px,4vw,40px);border-top:1px solid var(--line)}
.rv-head{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.rv-head h2{font-size:clamp(1.4rem,2.6vw,1.9rem)}
.rv-summary{display:flex;align-items:center;gap:8px}
.rv-avg{font-size:1.3rem;font-weight:600;font-family:var(--sans)}
.rv-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-bottom:20px}
.rv-item{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:var(--surface,#fff)}
.rv-top{display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}
.rv-date{margin-left:auto;font-size:.78rem}
.rv-item p{font-size:.92rem;line-height:1.5;color:var(--ink)}
.rv-form{display:flex;flex-direction:column;gap:10px;max-width:460px;margin-top:14px}
.rv-form input,.rv-form textarea{font:inherit;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--bg,#fff);color:inherit}
.rv-stars-pick{display:flex;gap:4px;font-size:30px;cursor:pointer;color:#d9cdb8}
.rv-stars-pick span.on{color:#e0a838}
/* Avise-me quando chegar */
.notify-stock{border:1px dashed var(--brass);border-radius:12px;padding:16px;background:rgba(180,136,74,.07);margin:4px 0}
.notify-stock p{font-size:.92rem;color:var(--ink);margin-bottom:10px}
.notify-stock form{display:flex;gap:8px;flex-wrap:wrap}
.notify-stock input{flex:1;min-width:180px;font:inherit;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit}

/* ===== Busca na vitrine ===== */
.search-box{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:7px 14px;background:var(--surface,#fff);min-width:200px;flex:1;max-width:320px}
.search-box svg{width:17px;height:17px;color:var(--muted);flex-shrink:0}
.search-box input{border:none;background:none;outline:none;font:inherit;color:inherit;width:100%}
@media(max-width:720px){.search-box{order:3;max-width:none;width:100%}}

/* ===== Acompanhe seu pedido ===== */
.track-form{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}
.track-form label{display:flex;flex-direction:column;gap:6px;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.track-form input{font:inherit;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:inherit}
.track-card{border:1px solid var(--line);border-radius:16px;padding:22px;background:var(--surface,#fff)}
.track-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.track-top h3{font-family:var(--serif);font-size:1.3rem}
.track-badge{padding:4px 12px;border-radius:20px;font-size:.78rem;font-weight:600;background:#f0ebe0;color:var(--muted);text-transform:capitalize}
.track-badge.good{background:rgba(47,125,82,.14);color:#2f7d52}.track-badge.warn{background:rgba(176,125,26,.16);color:#9a6a10}.track-badge.bad{background:rgba(181,69,58,.13);color:#b5453a}
.track-steps{list-style:none;display:flex;flex-direction:column;gap:0;margin:0 0 18px;padding:0}
.track-steps li{position:relative;padding:0 0 22px 28px;color:var(--muted);font-size:.92rem}
.track-steps li:last-child{padding-bottom:0}
.track-steps li .dot{position:absolute;left:4px;top:3px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--line);z-index:1}
.track-steps li::before{content:"";position:absolute;left:9px;top:10px;bottom:-4px;width:2px;background:var(--line)}
.track-steps li:last-child::before{display:none}
.track-steps li.done{color:var(--ink)}
.track-steps li.done .dot{background:var(--brass);border-color:var(--brass)}
.track-steps li.current{font-weight:600}
.track-cancel{color:#b5453a;font-weight:600;margin-bottom:16px}
.track-code{font-size:.9rem;margin-bottom:16px;padding:12px;background:#faf7f0;border-radius:10px}
.track-items{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:7px;font-size:.92rem}
.track-item{display:flex;justify-content:space-between;gap:12px}
.track-item.total{border-top:1px solid var(--line);padding-top:8px;margin-top:4px;font-weight:700}
.err-box{background:rgba(181,69,58,.1);border:1px solid rgba(181,69,58,.3);color:#b5453a;padding:12px 14px;border-radius:10px;font-size:.9rem;margin-top:8px}
.card-stars{display:flex;align-items:center;gap:5px;margin:-2px 0 4px}
.card-stars .stars{font-size:13px}
.card-stars-n{font-size:.72rem;color:var(--muted)}

/* ===========================================================
   Storytelling — Era Café (Caffè Teichner · Nova Era)
   Seções editoriais com fotos reais (estilo vitrine limpa)
   =========================================================== */
.st-hero { position: relative; background: var(--espresso); color: #f3ead9; overflow: hidden; }
.st-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 85% 40%, rgba(180,136,74,.22), transparent 60%); pointer-events: none; }
.st-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; min-height: min(88vh, 760px); padding-block: clamp(40px, 6vw, 72px); }
.st-hero .eyebrow { color: var(--brass-hi); }
.st-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 1.02; letter-spacing: -.01em; margin: 18px 0 22px; }
.st-hero h1 em { font-style: italic; color: var(--brass-hi); display: block; }
.st-hero p.lead { color: #d7c9b0; font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 34rem; line-height: 1.7; }
.st-hero .signature-line { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(216,176,114,.25); display: flex; gap: 22px; flex-wrap: wrap; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #cdb88f; }
.st-hero .signature-line b { color: #fff; font-weight: 500; }
.st-hero .btn.ghost { color: #f0e7d6; border-color: rgba(255,255,255,.3); }
.st-collage { position: relative; height: min(70vh, 600px); }
.st-collage .ph { position: absolute; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); }
.st-collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.st-collage .ph.a { inset: 0 14% 8% 0; }
.st-collage .ph.b { width: 44%; aspect-ratio: 4/5; right: 0; bottom: 0; border: 6px solid var(--espresso); }
.st-collage .tag { position: absolute; left: -14px; bottom: 16%; background: var(--paper); color: var(--ink); padding: 14px 18px; border-radius: 3px; box-shadow: var(--shadow); font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; max-width: 15rem; }
.st-collage .tag small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }

.st-sec { padding-block: clamp(64px, 9vw, 120px); }
.st-sec.alt { background: var(--bg-2); }
.st-sec.dark { background: var(--espresso); color: #efe5d2; }
.st-sec.dark .eyebrow { color: var(--brass-hi); }
.st-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; margin: 14px 0 18px; }
.st-title em { font-style: italic; color: var(--brass); }
.st-sec.dark .st-title em { color: var(--brass-hi); }
.st-center { text-align: center; max-width: 46rem; margin-inline: auto; }
.st-center p { color: var(--muted); }

/* Manifesto */
.st-manifesto { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.st-manifesto .photo { position: relative; }
.st-manifesto .photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.st-manifesto .photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); border-radius: 3px; z-index: -1; }
.st-manifesto .txt p { font-size: 1.08rem; line-height: 1.85; color: var(--ink); margin-bottom: 16px; }
.st-manifesto .txt p.soft { color: var(--muted); }
.st-manifesto .txt .big { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-style: italic; color: var(--brass); margin: 24px 0 8px; }
.st-flavors { list-style: none; padding: 0; margin: 18px 0 22px; border-top: 1px solid var(--line); }
.st-flavors li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.st-flavors b { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.st-flavors span { color: var(--muted); }

/* Duas jornadas */
.st-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.st-card { position: relative; min-height: 560px; border-radius: 4px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.st-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.st-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,13,8,.05) 0%, rgba(20,13,8,.55) 38%, rgba(20,13,8,.93) 72%); z-index: -1; }
.st-card:hover img { transform: scale(1.04); }
.st-card .in { padding: clamp(24px, 3vw, 40px); }
.st-card .k { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-hi); }
.st-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 8px 0 10px; }
.st-card p { color: #e8dcc6; max-width: 30rem; margin-bottom: 18px; }
.st-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: .92rem; color: #f3ead9; }
.st-card li::before { content: "✦"; color: var(--brass-hi); margin-right: 8px; font-size: .75rem; }

/* Capítulos (produtos com papel na história) */
.st-chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.st-ch { background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.st-ch:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brass); }
.st-ch .im { aspect-ratio: 1; background: #fff; overflow: hidden; }
.st-ch .im img { width: 100%; height: 100%; object-fit: cover; }
.st-ch .tx { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.st-ch .n { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.st-ch h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 6px 0 8px; }
.st-ch q { font-family: var(--serif); font-style: italic; color: var(--ink); quotes: "“" "”"; line-height: 1.4; }
.st-ch small { color: var(--muted); margin-top: 8px; font-size: .86rem; }
.st-ch .go { margin-top: auto; padding-top: 16px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }

/* Indústria / da torra à xícara */
.st-industry { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.st-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(78vh, 640px); }
.st-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.st-mosaic .tall { grid-row: 1 / span 2; grid-column: 2; }
.st-lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.st-line { border-top: 1px solid rgba(216,176,114,.35); padding-top: 18px; }
.st-line h4 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin-bottom: 6px; color: #fff; }
.st-line p { color: #cbbd9f; font-size: .92rem; }
.st-sec.dark .st-industry p { color: #d6c8ad; }
.st-note { margin-top: 36px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-hi); text-align: center; }

/* Linha do tempo */
.st-timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 46px; }
.st-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.st-tl { position: relative; padding-top: 52px; }
.st-tl::before { content: ""; position: absolute; top: 24px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brass); }
.st-tl .y { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--brass); line-height: 1; position: absolute; top: -12px; left: 0; }
.st-tl h4 { font-size: .95rem; font-weight: 500; margin-bottom: 6px; }
.st-tl p { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .95rem; line-height: 1.45; }

.st-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; text-align: center; max-width: 52rem; margin: 0 auto; }
.st-quote em { color: var(--brass); }

/* Página de comodato */
.cm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; counter-reset: st; }
.cm-step { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px 18px; }
.cm-step::before { counter-increment: st; content: counter(st, decimal-leading-zero); font-family: var(--serif); font-size: 1.8rem; color: var(--brass); display: block; margin-bottom: 8px; }
.cm-step h4 { font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.cm-step p { color: var(--muted); font-size: .9rem; }
.cm-incl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.cm-incl div { border: 1px solid var(--line); border-radius: 4px; padding: 18px; background: var(--card); font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.cm-incl div::before { content: "✓"; color: var(--verde); font-weight: 600; }
.cm-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cm-caps .st-ch .im { aspect-ratio: 4/5; }
.cm-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.cm-rev { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 20px; font-size: .92rem; }
.cm-rev .s { color: var(--brass); letter-spacing: .1em; margin-bottom: 8px; }
.cm-rev p { font-family: var(--serif); font-style: italic; line-height: 1.5; }
.cm-rev b { display: block; margin-top: 10px; font-weight: 500; font-size: .86rem; }
.cm-form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.cm-form { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm-form label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cm-form label.full { grid-column: 1 / -1; }
.cm-form input, .cm-form textarea, .cm-form select { font: inherit; font-size: .98rem; text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; }
.cm-form input:focus, .cm-form textarea:focus, .cm-form select:focus { outline: none; border-color: var(--brass); }
.cm-form .btn { grid-column: 1 / -1; justify-content: center; }
.cm-form .ok { grid-column: 1 / -1; text-align: center; padding: 30px 10px; }
.cm-form .ok b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; display: block; margin-bottom: 8px; }
.cm-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.cm-faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cm-faq summary::after { content: "+"; color: var(--brass); font-family: var(--sans); }
.cm-faq details[open] summary::after { content: "–"; }
.cm-faq p { color: var(--muted); margin-top: 10px; max-width: 48rem; }
.nav a.nav-hl { color: var(--brass); }

@media (max-width: 1000px) {
  .st-hero-in, .st-manifesto, .st-industry, .cm-form-wrap { grid-template-columns: 1fr; }
  .st-collage { height: 520px; }
  .st-duo { grid-template-columns: 1fr; }
  .st-chapters, .st-lines, .cm-incl, .cm-reviews { grid-template-columns: repeat(2, 1fr); }
  .st-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .st-timeline::before { display: none; }
  .cm-steps { grid-template-columns: repeat(2, 1fr); }
  .cm-caps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .st-chapters, .st-lines, .cm-incl, .cm-reviews, .cm-caps, .cm-steps { grid-template-columns: 1fr; }
  .st-timeline { grid-template-columns: 1fr 1fr; }
  .st-collage { height: 440px; }
  .st-collage .tag { left: 8px; }
  .st-card { min-height: 480px; }
  .st-mosaic { height: 520px; }
  .cm-form { grid-template-columns: 1fr; }
  .st-flavors li { grid-template-columns: 1fr; gap: 2px; }
}
