/* ============================================================
   HOTARU — Guia de Identidade Visual
   Navy #0E1F47 · Ouro metálico · Verde-limão #D6F24B · Marfim
   ============================================================ */

:root {
  --navy: #0e1f47;
  --navy-deep: #081428;
  --navy-mid: #16305f;
  --navy-line: rgba(201, 162, 39, 0.28);

  --gold: #c9a227;
  --gold-lt: #f0db9b;
  --gold-dk: #8e6b14;
  --foil: linear-gradient(135deg, #8e6b14 0%, #e8cf87 22%, #f7ecc4 38%, #c9a227 55%, #f0db9b 74%, #9a7518 100%);

  --lime: #d6f24b;
  --lime-glow: rgba(214, 242, 75, 0.55);
  --teal: #86c7be;

  --ivory: #f7efdc;
  --cream: #fbf7ec;
  --warm-gray: #6f6a62;

  --page: var(--cream);
  --ink: var(--navy);
  --ink-soft: var(--warm-gray);

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(14, 31, 71, 0.06), 0 4px 14px rgba(14, 31, 71, 0.07);
  --shadow-md: 0 2px 6px rgba(14, 31, 71, 0.08), 0 18px 44px rgba(14, 31, 71, 0.12);

  --pattern:
    radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.16) 0 1.2px, transparent 1.6px),
    repeating-linear-gradient(45deg, transparent 0 27px, rgba(201, 162, 39, 0.10) 27px 28px),
    repeating-linear-gradient(-45deg, transparent 0 27px, rgba(201, 162, 39, 0.10) 27px 28px);
  --pattern-size: 40px 40px, auto, auto;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  letter-spacing: -0.002em;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Tipografia ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.16;
  color: var(--navy);
  margin: 0;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin: 0 0 14px;
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.section-head p { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.93rem; }
.section-head .more { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dk); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

section { padding: 76px 0; }

/* ---------- Barra de aviso ---------- */

.announce {
  background: var(--navy-deep);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 9px 20px;
  position: relative;
  overflow: hidden;
}

.announce::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pattern);
  background-size: var(--pattern-size);
  opacity: 0.6;
  pointer-events: none;
}

.announce span { position: relative; }
.announce b { color: var(--lime); font-weight: 600; }

/* ---------- Cabeçalho ---------- */

.masthead { background: #fff; border-bottom: 1px solid rgba(14, 31, 71, 0.08); }

.masthead .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav { display: flex; gap: 22px; flex-wrap: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--navy); padding-bottom: 3px; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--gold); color: var(--gold-dk); }

.brand { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; }
.brand .mark { width: 50px; height: auto; display: block; }
.brand .word { height: 21px; width: auto; display: block; }

.tools { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.tools button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--navy); display: inline-flex; }
.tools .cart { position: relative; }
.tools .cart em {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--gold);
  color: var(--navy);
  font: 600 10px/1 var(--sans);
  font-style: normal;
  border-radius: 999px;
  padding: 3px 5px;
  min-width: 16px;
  text-align: center;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 30px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: var(--foil);
  color: var(--navy-deep);
  box-shadow: 0 0 0 1px rgba(255, 245, 210, 0.5) inset, 0 6px 22px rgba(201, 162, 39, 0.38);
  text-shadow: 0 1px 0 rgba(255, 250, 230, 0.4);
}

.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(255, 245, 210, 0.7) inset, 0 8px 30px rgba(214, 242, 75, 0.42); }

.btn-ghost { background: transparent; color: var(--ivory); box-shadow: 0 0 0 1px rgba(240, 219, 155, 0.5) inset; }
.btn-ghost:hover { background: rgba(240, 219, 155, 0.1); }

.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-mid); }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 90% at 76% 22%, #1d3a6e 0%, var(--navy) 42%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pattern);
  background-size: var(--pattern-size);
  opacity: 0.85;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}

.hero .eyebrow { color: var(--lime); }

.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero h1 em { font-style: italic; color: var(--gold-lt); }

.hero p.lede { color: rgba(247, 239, 220, 0.78); font-size: 1.04rem; max-width: 33rem; margin: 0 0 32px; }

.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-cards { position: relative; height: 420px; }

.hero-cards .tcard {
  position: absolute;
  width: 208px;
  transition: transform .4s ease;
}

.hero-cards .tcard:nth-child(1) { left: 2%;  top: 42px; transform: rotate(-11deg); }
.hero-cards .tcard:nth-child(2) { left: 27%; top: 0;    transform: rotate(-1deg); z-index: 3; }
.hero-cards .tcard:nth-child(3) { left: 53%; top: 52px; transform: rotate(9deg); }

.hero-cards .tcard:hover { transform: translateY(-10px) rotate(0deg); z-index: 5; }

/* ---------- Carta colecionável (moldura ornamentada) ---------- */

.tcard {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 12px;
  padding: 7px;
  background: var(--foil);
  box-shadow: 0 10px 34px rgba(4, 10, 24, 0.5);
}

.tcard-inner {
  position: relative;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(160deg, #18335f 0%, var(--navy) 45%, var(--navy-deep) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 245, 210, 0.35) inset;
}

.tcard-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pattern);
  background-size: var(--pattern-size);
}

.tcard-inner::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(240, 219, 155, 0.42);
  border-radius: 3px;
  pointer-events: none;
}

.tcard .corner { position: absolute; width: 20px; height: 20px; opacity: .75; }
.tcard .corner.tl { top: 13px; left: 13px; }
.tcard .corner.tr { top: 13px; right: 13px; transform: scaleX(-1); }
.tcard .corner.bl { bottom: 13px; left: 13px; transform: scaleY(-1); }
.tcard .corner.br { bottom: 13px; right: 13px; transform: scale(-1); }

.tcard .motif { position: relative; width: 58%; filter: drop-shadow(0 0 14px var(--lime-glow)); }

.tcard .label {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  text-align: center;
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

/* ---------- Categorias ---------- */

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.cat {
  position: relative;
  border-radius: 14px;
  padding: 30px 22px 26px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(14, 31, 71, 0.09);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cat .ic { width: 38px; height: 38px; color: var(--gold-dk); margin-bottom: 16px; }
.cat h3 { font-size: 1.12rem; margin-bottom: 5px; }
.cat p { margin: 0; font-size: 0.83rem; color: var(--ink-soft); }
.cat .count { position: absolute; top: 18px; right: 20px; font: 600 10px/1 var(--sans); letter-spacing: .12em; color: var(--gold-dk); }

/* ---------- Grade de produtos ---------- */

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product { position: relative; background: transparent; }

.product .shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(165deg, #1b3768 0%, var(--navy) 50%, var(--navy-deep) 100%);
  aspect-ratio: 1 / 1.06;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.product .shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pattern);
  background-size: var(--pattern-size);
}

.product .shot::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(240, 219, 155, 0.3);
  border-radius: 6px;
  pointer-events: none;
}

.product .motif { position: relative; width: 46%; filter: drop-shadow(0 0 18px var(--lime-glow)); transition: transform .3s ease; }
.product:hover .motif { transform: scale(1.07) translateY(-3px); }

.tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy-deep);
}

.tag.foil { background: var(--foil); color: var(--navy-deep); }
.tag.out  { background: rgba(247, 239, 220, 0.9); color: var(--warm-gray); }

.product .meta { padding: 16px 4px 0; }
.product .kind { font: 600 10px/1 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold-dk); }
.product h3 { font-size: 1.02rem; margin: 8px 0 10px; line-height: 1.3; }
.product .price { display: flex; align-items: baseline; gap: 9px; }
.product .price strong { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; }
.product .price s { color: var(--ink-soft); font-size: 0.82rem; }
.product .parcel { margin: 3px 0 14px; font-size: 0.76rem; color: var(--ink-soft); }

.product .btn { padding: 11px 20px; font-size: 11.5px; }

/* ---------- Faixa dividida ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split .side {
  position: relative;
  padding: 58px 52px;
  background: radial-gradient(100% 120% at 20% 10%, #1d3a6e, var(--navy) 55%, var(--navy-deep));
  color: var(--ivory);
}

.split .side::before { content: ""; position: absolute; inset: 0; background: var(--pattern); background-size: var(--pattern-size); }
.split .side > * { position: relative; }
.split .side h2 { color: var(--ivory); font-size: 2rem; margin-bottom: 14px; }
.split .side h2 em { font-style: italic; color: var(--gold-lt); }
.split .side p { color: rgba(247, 239, 220, 0.76); font-size: 0.95rem; margin: 0 0 28px; }
.split .side .eyebrow { color: var(--lime); }

.split .art { position: relative; background: var(--ivory); display: grid; place-items: center; padding: 42px; }
.split .art .fan { display: flex; }
.split .art .fan .tcard { width: 150px; }
.split .art .fan .tcard:nth-child(1) { transform: rotate(-13deg) translateX(26px); }
.split .art .fan .tcard:nth-child(2) { transform: translateY(-14px); z-index: 2; }
.split .art .fan .tcard:nth-child(3) { transform: rotate(13deg) translateX(-26px); }

/* ---------- Nossa história ---------- */

.store { background: var(--ivory); }

.store .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.store h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
.store p { color: var(--ink-soft); margin: 0 0 18px; }

.hours { list-style: none; margin: 0 0 28px; padding: 0; font-size: 0.9rem; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px dashed rgba(14, 31, 71, 0.14); }
.hours li span:last-child { color: var(--ink-soft); }

.mapbox {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 16px;
  background:
    linear-gradient(rgba(14, 31, 71, 0.06) 1px, transparent 1px) 0 0 / 100% 42px,
    linear-gradient(90deg, rgba(14, 31, 71, 0.06) 1px, transparent 1px) 0 0 / 42px 100%,
    linear-gradient(140deg, #eae3d0, #f4ecd9);
  border: 1px solid rgba(14, 31, 71, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mapbox .river {
  position: absolute;
  inset: auto -10% 18% -10%;
  height: 86px;
  background: linear-gradient(180deg, rgba(134, 199, 190, .55), rgba(134, 199, 190, .3));
  transform: rotate(-7deg);
}

.mapbox .road { position: absolute; background: rgba(255,255,255,.85); }
.mapbox .road.a { inset: 30% -10% auto -10%; height: 13px; transform: rotate(4deg); }
.mapbox .road.b { inset: -10% auto -10% 58%; width: 11px; transform: rotate(-9deg); }

.mapbox .pin {
  position: absolute;
  top: 44%; left: 46%;
  width: 40px; height: 40px;
  margin: -40px 0 0 -20px;
  color: var(--navy);
  filter: drop-shadow(0 6px 10px rgba(14,31,71,.35));
}

.mapbox .plate {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 31, 71, 0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.mapbox .plate b { display: block; font-family: var(--serif); font-size: 0.96rem; }

/* ---------- Canal no YouTube ---------- */

.ytbox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(214, 242, 75, 0.12), transparent 55%),
    linear-gradient(150deg, var(--navy-mid), var(--navy-deep));
  border: 1px solid var(--navy-line);
  box-shadow: var(--shadow-sm);
}

.ytframe { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--navy-deep); }
.ytframe iframe { display: block; width: 100%; height: 100%; border: 0; }

.ytbox .plate {
  display: block;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
}

.ytbox .plate b { display: block; font-family: var(--serif); font-size: 0.96rem; color: var(--ink); }
.ytbox .plate em { display: block; margin-top: 4px; font-style: normal; font-weight: 600; color: var(--gold-dk); }
.ytbox .plate:hover em { text-decoration: underline; }

/* ---------- Newsletter ---------- */

.news { position: relative; background: var(--navy-deep); color: var(--ivory); text-align: center; overflow: hidden; }
.news::before { content: ""; position: absolute; inset: 0; background: var(--pattern); background-size: var(--pattern-size); }
.news .wrap { position: relative; max-width: 660px; }
.news h2 { color: var(--ivory); font-size: 2rem; margin-bottom: 12px; }
.news h2 em { font-style: italic; color: var(--gold-lt); }
.news p { color: rgba(247, 239, 220, 0.72); margin: 0 auto 28px; font-size: 0.95rem; }
.news .eyebrow { color: var(--lime); }

.field { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.field input { min-width: 0; }
.field input {
  flex: 1;
  background: rgba(247, 239, 220, 0.07);
  border: 1px solid rgba(240, 219, 155, 0.35);
  border-radius: 999px;
  padding: 13px 22px;
  color: var(--ivory);
  font: 400 14px/1 var(--sans);
}
.field input::placeholder { color: rgba(247, 239, 220, 0.45); }
.field input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }

/* ---------- Rodapé ---------- */

.foot { background: var(--navy); color: rgba(247, 239, 220, 0.74); font-size: 0.86rem; }
.foot a { text-decoration: none; color: inherit; }
.foot a:hover { color: var(--gold-lt); }

.foot-top { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 62px 0 46px; }
.foot h4 { font: 600 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-lt); margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot .about .word { height: 26px; width: auto; display: block; margin-bottom: 14px; }
.foot .about p { margin: 0 0 18px; max-width: 26rem; line-height: 1.65; }

.social { display: flex; gap: 12px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(240, 219, 155, 0.3); }
.social a:hover { background: rgba(240, 219, 155, 0.12); }
.social svg { width: 16px; height: 16px; }

.foot-bot {
  border-top: 1px solid rgba(240, 219, 155, 0.16);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(247, 239, 220, 0.5);
}

.pays { display: flex; gap: 8px; align-items: center; }
.pays span {
  border: 1px solid rgba(240, 219, 155, 0.3);
  border-radius: 5px;
  padding: 4px 8px;
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.08em;
  color: rgba(247, 239, 220, 0.72);
}

/* ---------- Página de catálogo ---------- */

.pagehead { background: var(--ivory); padding: 46px 0 40px; border-bottom: 1px solid rgba(14, 31, 71, 0.08); }
.crumbs { font-size: 0.78rem; color: var(--ink-soft); margin: 0 0 12px; }
.crumbs a { text-decoration: none; color: var(--gold-dk); }
.pagehead h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.pagehead p { margin: 10px 0 0; color: var(--ink-soft); max-width: 40rem; font-size: 0.95rem; }

.shop { display: grid; grid-template-columns: 236px 1fr; gap: 42px; padding: 46px 0 90px; }

.filters h4 { font: 600 11px/1 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold-dk); margin: 0 0 14px; }
.filters .group { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(14, 31, 71, 0.1); }
.filters .group:last-child { border: 0; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.88rem; color: var(--ink-soft); cursor: pointer; }
.filters input { accent-color: var(--navy); width: 15px; height: 15px; }
.filters label b { margin-left: auto; font-weight: 400; font-size: 0.76rem; color: rgba(111, 106, 98, 0.7); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.toolbar .count { font-size: 0.86rem; color: var(--ink-soft); }
.toolbar select {
  border: 1px solid rgba(14, 31, 71, 0.18);
  background: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font: 400 13px/1 var(--sans);
  color: var(--navy);
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { font-size: 0.76rem; border: 1px solid var(--gold); color: var(--gold-dk); border-radius: 999px; padding: 5px 12px; background: rgba(201,162,39,.08); }

.shop .products { grid-template-columns: repeat(3, 1fr); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 52px; }
.pager a {
  min-width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(14, 31, 71, 0.14);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--navy);
}
.pager a[aria-current] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* ---------- Página de produto ---------- */

.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 58px; padding: 46px 0 80px; align-items: start; }

.gallery .main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(90% 90% at 50% 26%, #21407a, var(--navy) 52%, var(--navy-deep));
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.gallery .main::before { content: ""; position: absolute; inset: 0; background: var(--pattern); background-size: var(--pattern-size); }
.gallery .main .tcard { position: relative; width: auto; height: 80%; }

.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs div {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(160deg, #1b3768, var(--navy-deep));
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(14,31,71,.1);
}
.thumbs div::before { content: ""; position: absolute; inset: 0; background: var(--pattern); background-size: var(--pattern-size); border-radius: 10px; }
.thumbs div[aria-current] { box-shadow: 0 0 0 2px var(--gold); }
.thumbs svg { position: relative; width: 46%; color: var(--gold-lt); }

.pdp .info .kind { font: 600 10px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.pdp .info h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 12px 0 14px; }
.pdp .rating { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 22px; }
.pdp .rating .stars { color: var(--gold); letter-spacing: 2px; }

.pricebox { border-top: 1px solid rgba(14,31,71,.1); border-bottom: 1px solid rgba(14,31,71,.1); padding: 22px 0; margin-bottom: 24px; }
.pricebox .now { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; }
.pricebox .row { display: flex; align-items: baseline; gap: 12px; }
.pricebox s { color: var(--ink-soft); }
.pricebox .off { background: var(--lime); color: var(--navy-deep); font: 600 10px/1 var(--sans); letter-spacing: .1em; padding: 5px 9px; border-radius: 999px; }
.pricebox .pix { margin: 10px 0 0; font-size: 0.87rem; color: var(--ink-soft); }
.pricebox .pix b { color: var(--navy); }

.qty { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(14,31,71,.18); border-radius: 999px; overflow: hidden; }
.stepper button { background: none; border: 0; width: 40px; height: 44px; font-size: 17px; color: var(--navy); cursor: pointer; }
.stepper span { width: 34px; text-align: center; font-size: 0.95rem; }
.stock { font-size: 0.82rem; color: var(--ink-soft); }
.stock b { color: #1f6f5c; }

.buybox .btn + .btn { margin-top: 10px; }

.perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; font-size: 0.85rem; color: var(--ink-soft); }
.perks li { display: flex; gap: 11px; align-items: flex-start; }
.perks svg { width: 17px; height: 17px; color: var(--gold-dk); flex: none; margin-top: 2px; }

.tabs { border-top: 1px solid rgba(14,31,71,.1); padding: 40px 0 0; margin-top: 34px; }
.tabnav { display: flex; gap: 28px; margin-bottom: 22px; }
.tabnav span { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 9px; }
.tabnav span[aria-current] { color: var(--navy); border-bottom: 2px solid var(--gold); }
.tabs p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.92rem; }

.specs { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 18px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(14,31,71,.09); }
.specs th { width: 190px; font-weight: 600; color: var(--navy); }
.specs td { color: var(--ink-soft); }

/* ---------- Responsivo ---------- */

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-cards { height: 340px; }
  .products, .cats { grid-template-columns: repeat(2, 1fr); }
  .split, .store .wrap, .pdp { grid-template-columns: 1fr; }
  .split .art { padding: 44px 24px; }
  .shop { grid-template-columns: 1fr; }
  .shop .products { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .side { padding: 40px 24px; }
  .split .art .fan .tcard { width: 112px; }
  section { padding: 54px 0; }

  /* Cabeçalho do celular: marca e ícones em cima, navegação numa faixa
     rolável embaixo — em vez de sumir com o menu. */
  .masthead .wrap {
    grid-template-columns: auto 1fr auto;
    row-gap: 0;
    padding-bottom: 0;
  }
  .brand {
    grid-column: 1; grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .brand .mark { width: 36px; }
  .brand .word { height: 16px; }
  .tools { grid-column: 3; grid-row: 1; gap: 15px; }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 14px;
    padding: 11px 0;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid rgba(14, 31, 71, 0.08);
  }
  .nav::-webkit-scrollbar { display: none; }

  /* No catálogo, produto vem antes de filtro. */
  .shop { display: flex; flex-direction: column; }
  .shop > div { order: 1; }
  .shop > .filters { order: 2; margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(14, 31, 71, 0.12); }
  .hero-cards { height: 300px; }
  .hero-cards .tcard { width: 150px; }
  .cats { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .products, .shop .products { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Carrinho ---------- */

.cartpage { display: grid; grid-template-columns: 1fr 350px; gap: 44px; padding: 46px 0 90px; align-items: start; }

.lines { border-top: 1px solid rgba(14,31,71,.1); }

.line { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(14,31,71,.1); align-items: center; }

.line .thumb {
  position: relative;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #1b3768, var(--navy-deep));
  display: grid; place-items: center;
}
.line .thumb::before { content: ""; position: absolute; inset: 0; background: var(--pattern); background-size: var(--pattern-size); border-radius: 10px; }
.line .thumb svg { position: relative; width: 52%; }

.line .kind { font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.line h3 { font-size: 1rem; margin: 7px 0 9px; }
.line .sub { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.line .remove { background: none; border: 0; padding: 0; margin-top: 9px; font: 400 0.78rem var(--sans); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.line .right { text-align: right; display: grid; gap: 12px; justify-items: end; }
.line .right strong { font-family: var(--serif); font-size: 1.15rem; }
.line .stepper button { height: 36px; width: 34px; }
.line .stepper span { width: 28px; font-size: .88rem; }

.summary {
  background: #fff;
  border: 1px solid rgba(14,31,71,.1);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 20px;
}
.summary h3 { font-size: 1.15rem; margin-bottom: 18px; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9rem; padding: 8px 0; color: var(--ink-soft); }
.summary .row b { color: var(--navy); font-weight: 500; }
.summary .row.free b { color: #1f6f5c; }
.summary .total { border-top: 1px solid rgba(14,31,71,.12); margin-top: 12px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total span { font-size: 0.9rem; color: var(--ink-soft); }
.summary .total strong { font-family: var(--serif); font-size: 1.7rem; }
.summary .pixnote { font-size: 0.8rem; color: var(--ink-soft); margin: 4px 0 20px; }
.summary .pixnote b { color: #1f6f5c; }
.summary .cupom { display: flex; gap: 8px; margin: 18px 0 6px; }
.summary .cupom input { flex: 1; min-width: 0; border: 1px solid rgba(14,31,71,.18); border-radius: 999px; padding: 10px 16px; font: 400 13px var(--sans); }
.summary .cupom button { border: 1px solid var(--navy); background: none; border-radius: 999px; padding: 0 16px; font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--navy); }

/* ---------- Sobre ---------- */

.story { max-width: 44rem; }
.story p { color: var(--ink-soft); margin: 0 0 18px; font-size: 1rem; }
.story p.first::first-letter {
  font-family: var(--serif);
  font-size: 3.4rem;
  float: left;
  line-height: .86;
  padding: 4px 12px 0 0;
  color: var(--gold-dk);
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: #fff; border: 1px solid rgba(14,31,71,.09); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.value svg { width: 30px; height: 30px; color: var(--gold-dk); margin-bottom: 14px; }
.value h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value p { margin: 0; font-size: 0.87rem; color: var(--ink-soft); }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.numbers div strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold-dk); line-height: 1; }
.numbers div span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Ajuda ---------- */

.faq { max-width: 44rem; }
.faq details { border-bottom: 1px solid rgba(14,31,71,.1); padding: 4px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 34px 17px 0;
  font-weight: 500;
  font-size: 0.97rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--gold-dk);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); font-size: 0.91rem; max-width: 40rem; }

.ship { background: #fff; border: 1px solid rgba(14,31,71,.1); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ship table { width: 100%; }
.ship th, .ship td { padding: 13px 20px; }
.ship tbody tr:last-child td { border-bottom: 0; }

.helpnav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.helpnav a {
  font-size: 0.82rem; font-weight: 500;
  border: 1px solid rgba(14,31,71,.15);
  border-radius: 999px; padding: 8px 17px;
  text-decoration: none; color: var(--navy); background: #fff;
}
.helpnav a:hover { border-color: var(--gold); color: var(--gold-dk); }

@media (max-width: 1000px) {
  .cartpage { grid-template-columns: 1fr; }
  .summary { position: static; }
  .values, .numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .values, .numbers { grid-template-columns: 1fr; }
  .line { grid-template-columns: 70px 1fr; }
  .line .right { grid-column: 1 / -1; justify-items: start; }
}

/* ---------- Slogan ---------- */

.slogan { position: relative; background: var(--ivory); text-align: center; padding: 70px 0; overflow: hidden; }

.slogan::before, .slogan::after {
  content: "";
  position: absolute;
  top: 50%; width: 22%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.slogan::before { left: 4%; }
.slogan::after { right: 4%; transform: scaleX(-1); }

.slogan .sig { width: 62px; height: auto; margin: 0 auto 18px; display: block; }

.slogan p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.foot .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--gold-lt);
  margin: -6px 0 14px !important;
}

@media (max-width: 720px) { .slogan::before, .slogan::after { display: none; } }

/* ---------- Catálogo de cartas (assets/catalogo.js) ---------- */

.cartas-home[hidden] { display: none; }
.cartas { padding: 40px 28px 80px; }

.cards-grid .card-shot { aspect-ratio: 1 / 1.12; }
.cards-grid .card-shot .card-pic { width: 64%; }

.card-shot .card-pic {
  position: relative;
  z-index: 1;
  display: block;
  width: 68%;
  aspect-ratio: 63 / 88;
  object-fit: contain;
  border-radius: 4% / 3%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.card-shot .card-pic-none {
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(247, 239, 220, 0.08);
  border: 1px solid rgba(240, 219, 155, 0.35);
  color: var(--gold-lt);
  font: 600 0.85rem/1.3 var(--serif);
  text-align: center;
}

.card-item h3 a { color: inherit; text-decoration: none; }
.card-item h3 a:hover { text-decoration: underline; }
.card-set { margin: -4px 0 8px; font-size: 0.8rem; color: var(--ink-soft); }
.card-count { margin: 3px 0 0; font-size: 0.76rem; color: var(--ink-soft); }

/* O acabamento que não é o Normal simples (Reverse Holo, Holo...): uma
   etiqueta no canto da foto, para o anúncio não parecer a mesma carta. */
.finish-tag { max-width: calc(100% - 28px); line-height: 1.3; white-space: normal; }
.card-detail .finish-tag { top: 18px; left: 18px; font-size: 11px; padding: 7px 12px; }

.other-finishes { margin: 0 0 22px; font-size: 0.9rem; }
.other-finishes-title { margin: 0 0 6px; font: 600 10px/1 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold-dk); }
.other-finishes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.other-finishes a { color: var(--ink); font-weight: 600; }

.card-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.card-filters input,
.card-filters select {
  min-width: 0;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(14, 31, 71, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.card-filters input:focus,
.card-filters select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.card-total { margin: 0 0 18px; font-size: 0.82rem; color: var(--ink-soft); }
.card-note { color: var(--ink-soft); margin: 0 0 18px; }

.card-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.card-detail .card-shot {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(165deg, #1b3768 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-md);
}

.card-detail .card-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pattern);
  background-size: var(--pattern-size);
}
.card-detail .card-pic { width: 62%; }
.card-info h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 10px 0 12px; }
.card-price { font: 600 1.7rem/1.2 var(--serif); margin: 0 0 22px; }

.card-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 22px;
  margin: 0 0 26px;
  font-size: 0.92rem;
}

.card-facts dt { color: var(--ink-soft); }
.card-facts dd { margin: 0; }
.card-how { margin: 16px 0 22px; font-size: 0.86rem; color: var(--ink-soft); max-width: 30rem; }
.card-back { font-size: 0.85rem; font-weight: 600; color: var(--gold-dk); text-decoration: none; }

@media (max-width: 1000px) {
  .card-filters { grid-template-columns: 1fr 1fr; }
  .card-filters .card-search { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .card-detail { grid-template-columns: 1fr; gap: 28px; }
  .cartas { padding: 28px 18px 60px; }
}

@media (max-width: 480px) {
  .cards-grid, .shop .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cards-grid .meta { padding-top: 10px; }
  .cards-grid .card-set { font-size: 0.74rem; }
}

/* ---------- Carrinho e pedido (assets/catalogo.js, etapa 5) ---------- */

.tools .cart { color: var(--navy); display: inline-flex; text-decoration: none; }
.tools .cart em[hidden] { display: none; }

.buy-box { display: grid; gap: 14px; margin: 0 0 18px; }
.buy-line { padding: 14px 16px; border: 1px solid rgba(14, 31, 71, 0.12); border-radius: 12px; background: #fff; }
.buy-label { margin: 0 0 10px; font-size: 0.92rem; }
.buy-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.buy-qty { padding: 10px 12px; border: 1px solid rgba(14, 31, 71, 0.18); border-radius: 10px; font: inherit; background: #fff; }
.buy-in, .buy-all-in { margin: 8px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.buy-status { margin: 0; font-size: 0.86rem; min-height: 1.2em; }
.buy-status a, .buy-all-in a, .card-how a { color: var(--gold-dk); font-weight: 600; }

.cart-head { font-size: 1.5rem; margin: 0 0 12px; }
.cart-notice { margin: 0 0 12px; color: #8a2b1a; font-weight: 600; }
.cart-notice:empty { display: none; }
.cart-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(14, 31, 71, 0.1); }
.cart-pic { width: 56px; aspect-ratio: 63 / 88; object-fit: contain; border-radius: 4px; display: block; }
.cart-pic-none { background: rgba(14, 31, 71, 0.08); }
.cart-body p { margin: 0 0 4px; }
.cart-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cart-meta { font-size: 0.8rem; color: var(--ink-soft); }
.cart-price { font: 600 1rem/1.3 var(--serif); }
.cart-off { opacity: 0.75; }
.cart-off .cart-price { text-decoration: line-through; }
.cart-warn { font-size: 0.84rem; color: #8a2b1a; }
.cart-remove { background: none; border: 0; color: var(--gold-dk); font: 600 0.8rem var(--sans); cursor: pointer; padding: 4px; }
.cart-total { font: 600 1.25rem/1.3 var(--serif); margin: 0 0 26px; }
.order-head { font-size: 1.2rem; margin: 0 0 12px; }

.order-form { display: grid; gap: 8px; max-width: 30rem; }
.order-form label { font-size: 0.86rem; font-weight: 600; margin-top: 6px; }
.order-form input, .order-form textarea, .pix-code {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid rgba(14, 31, 71, 0.18);
  border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 0.95rem;
}
.order-form input:focus, .order-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.order-privacy { font-size: 0.8rem; color: var(--ink-soft); margin: 6px 0 0; }
.order-error { color: #8a2b1a; font-size: 0.88rem; margin: 0; }
.order-error:empty { display: none; }
.order-form .btn { margin-top: 10px; justify-self: start; }
.order-form .btn:disabled { opacity: 0.5; cursor: default; }

.order-done { max-width: 34rem; }
.order-done h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 6px 0 8px; }
.order-total { font: 600 1.4rem/1.3 var(--serif); margin: 0 0 12px; }
.order-done > p { color: var(--ink-soft); }
.pix { margin: 20px 0; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid rgba(14, 31, 71, 0.12); display: grid; gap: 10px; }
.pix-qr { width: min(240px, 70vw); justify-self: center; }
.pix-qr svg { display: block; width: 100%; height: auto; }
.pix-label { font-size: 0.86rem; font-weight: 600; }
.pix-code { font: 0.78rem/1.4 ui-monospace, Menlo, Consolas, monospace; resize: none; word-break: break-all; }
.pix-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pix-copied { font-size: 0.86rem; color: var(--gold-dk); font-weight: 600; }
.pix-who { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.order-items { margin: 0 0 22px; padding-left: 18px; font-size: 0.88rem; color: var(--ink-soft); }

/* O comprovante, depois do Pix. */
.receipt { margin: 0 0 20px; padding: 18px; border-radius: 14px; background: var(--ivory); display: grid; gap: 10px; }
.receipt h3 { font-size: 1.05rem; margin: 0; }
.receipt p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.receipt-label { font-size: 0.86rem; font-weight: 600; }
.receipt-file { font: inherit; font-size: 0.88rem; max-width: 100%; }
.receipt .btn { justify-self: start; }
.receipt .btn:disabled { opacity: 0.5; cursor: default; }
.receipt-status { color: var(--gold-dk); font-weight: 600; }
.receipt-status:empty { display: none; }
.receipt-done { color: var(--ink) !important; font-weight: 600; }
.order-open { margin: 0 0 26px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--gold); }
.order-open summary { cursor: pointer; font-weight: 600; color: var(--gold-dk); }
.order-open[open] summary { margin-bottom: 14px; }

/* Meus pedidos e o link privado de um pedido. */
.tools .orders-link[hidden] { display: none; }
.order-link { margin: 0 0 22px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(14, 31, 71, 0.12); display: grid; gap: 8px; }
.order-link label { font-size: 0.86rem; font-weight: 600; }
.order-link p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.order-link-field { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid rgba(14, 31, 71, 0.18); border-radius: 10px; font: 0.8rem/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--ink); background: var(--cream); }
.order-next { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.order-mine { color: var(--gold-dk); font-weight: 600; font-size: 0.9rem; }
.mine-order { padding: 20px; margin: 0 0 22px; border-radius: 14px; background: #fff; border: 1px solid rgba(14, 31, 71, 0.12); max-width: 40rem; }
.mine-pending { border-color: var(--gold); }
.mine-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; }
.mine-head h2 { font-size: 1.35rem; margin: 0; }
.mine-date { margin: 0; font-size: 0.8rem; color: var(--ink-soft); }
.mine-state { margin: 8px 0 12px; font-weight: 600; }
.mine-cancelled .mine-state, .mine-expired .mine-state { color: var(--ink-soft); }
.mine-paid .mine-state, .mine-delivered .mine-state { color: #2f6b2a; }
.mine-order .order-total { font-size: 1.1rem; }

/* Adicionar ao carrinho direto da grade. */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.card-foot .card-count { margin: 0; }
.quick-add {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--gold); background: #fff; color: var(--navy); font: 600 0.76rem/1 var(--sans);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.quick-add svg { width: 16px; height: 16px; flex: none; display: block; }
.quick-icon { display: inline-flex; }
.quick-add:hover { background: var(--ivory); }
.quick-add.quick-in { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.quick-add:disabled { cursor: default; opacity: 0.85; }
.quick-choose { border-color: rgba(14, 31, 71, 0.25); }
@media (max-width: 480px) {
  .card-foot { flex-direction: column; align-items: flex-start; }
}

/* Selados: a grade, a página do produto e a galeria. */
.sealed-shot .sealed-pic { width: 82%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.sealed-detail .sealed-shot .sealed-pic { width: 86%; }
.sealed-gallery { display: grid; gap: 12px; }
.sealed-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.sealed-thumb { padding: 0; border: 1px solid rgba(14, 31, 71, 0.18); border-radius: 8px; background: #fff; cursor: pointer; width: 64px; height: 64px; overflow: hidden; }
.sealed-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sealed-description { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 20px; overflow-wrap: anywhere; }
.sealed-description p, .sealed-description ul { margin: 0 0 12px; }
.sealed-description > :last-child { margin-bottom: 0; }
.sealed-description ul { padding-left: 1.25em; }
.sealed-description li + li { margin-top: 2px; }
.sealed-description strong { color: var(--ink); }

/* Administração (admin.html, assets/admin.js). */
.admin-note { color: var(--ink-soft); }
.admin-done { color: #2f6b2a; font-weight: 600; }
.admin-who { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 12px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.admin-head h2 { margin: 0; font-size: 1.4rem; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 46rem; }
.admin-product { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid rgba(14, 31, 71, 0.12); border-radius: 12px; }
.admin-inactive { opacity: 0.65; }
.admin-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.admin-thumb-none { background: rgba(14, 31, 71, 0.08); }
.admin-product-body p { margin: 0 0 3px; }
.admin-product-name { font-weight: 600; }
.admin-product-meta, .admin-product-counts { font-size: 0.82rem; color: var(--ink-soft); }
.admin-edit { padding: 9px 16px; font-size: 11px; }
.admin-form { display: grid; gap: 8px; max-width: 34rem; }
.admin-form h2 { margin: 0 0 6px; font-size: 1.4rem; }
.admin-form label { font-size: 0.86rem; font-weight: 600; margin-top: 6px; }
.admin-form input[type="text"], .admin-form input[type="email"], .admin-form input[type="number"], .admin-form select, .admin-form textarea {
  width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid rgba(14, 31, 71, 0.18); border-radius: 10px; background: #fff; font: inherit; font-size: 0.95rem; color: var(--ink);
}
.admin-check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.admin-hint, .admin-counts { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.admin-photo { margin: 0; background: #fff; border: 1px solid rgba(14, 31, 71, 0.12); border-radius: 10px; overflow: hidden; }
.admin-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.admin-photo figcaption { display: grid; gap: 2px; padding: 6px; font-size: 0.75rem; }
.admin-cover { border-color: var(--gold); }
.admin-cover-tag { font-weight: 700; color: var(--gold-dk); }
.admin-link { background: none; border: 0; padding: 2px 0; text-align: left; color: var(--gold-dk); font: 600 0.75rem var(--sans); cursor: pointer; }
.admin-status { color: var(--gold-dk); font-weight: 600; margin: 6px 0 0; }
.admin-status:empty { display: none; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* As cartas da hero são atalhos das categorias; com duas, ficam lado a
   lado. Uma terceira categoria volta ao leque de três (.hero-cards). */
a.tcard { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.tcard:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.hero-cards-2 .tcard:nth-child(1) { left: 6%; top: 34px; transform: rotate(-7deg); z-index: 2; }
.hero-cards-2 .tcard:nth-child(2) { left: 44%; top: 6px; transform: rotate(6deg); z-index: 1; }
.hero-cards-2 .tcard:hover, .hero-cards-2 .tcard:focus-visible { transform: translateY(-10px) rotate(0deg); z-index: 5; }
@media (max-width: 480px) {
  .hero-cards-2 .tcard:nth-child(1) { left: 4%; }
  .hero-cards-2 .tcard:nth-child(2) { left: 46%; }
}

/* O carrossel de cartas da home. */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 14px; scrollbar-width: thin; overscroll-behavior-x: contain;
}
.carousel-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.carousel-slide { flex: 0 0 calc((100% - 3 * 22px) / 4); scroll-snap-align: start; min-width: 0; }
.carousel-arrow {
  position: absolute; top: 38%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); background: #fff; color: var(--navy); font: 600 1.6rem/1 var(--serif);
  box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center;
}
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1000px) {
  .carousel-slide { flex-basis: calc((100% - 2 * 22px) / 3); }
}
@media (max-width: 720px) {
  .carousel-track { gap: 14px; }
  .carousel-slide { flex-basis: 44%; }
  .carousel-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { scroll-behavior: auto; }
}

/* A carta inteira é clicável: o link do nome cobre a carta, e o botão de
   carrinho fica por cima dele (Eric, 2026-11-24). */
.card-item { position: relative; }
.card-item h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.card-item h3 a:focus-visible { outline: none; }
.card-item h3 a:focus-visible::after { outline: 3px solid var(--gold); outline-offset: 3px; }
.card-item .quick-add { position: relative; z-index: 2; }
.card-item:hover h3 a { text-decoration: underline; }

/* O último item do carrossel, e o botão embaixo dele. */
.carousel-all {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; height: 100%;
  min-height: 260px; border-radius: 14px; border: 1px dashed var(--gold); background: var(--ivory);
  color: var(--navy); text-decoration: none; text-align: center; padding: 20px;
}
.carousel-all:hover { background: #fff; }
.carousel-all-count { font: 600 1.6rem/1.1 var(--serif); }
.carousel-all-text { font: 600 0.82rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dk); }
.carousel-foot { display: flex; justify-content: center; margin-top: 18px; }

/* Os destaques (Eric, 2026-11-25): a faixa no alto das cartas e dos
   selados, a marca nos anúncios e o anúncio de uma coleção inteira. */
.featured { margin: 0 0 34px; }
.featured-title { font: 600 1.5rem/1.2 var(--serif); color: var(--navy); margin: 0 0 16px; }
.featured-mark {
  display: inline-block; margin-right: 8px; padding: 3px 8px; border-radius: 999px;
  background: var(--foil); color: var(--navy-deep); font-weight: 700; letter-spacing: 0.06em;
}
.set-item .set-shot { background: var(--ivory); }
.set-item .price { flex-direction: column; align-items: flex-start; gap: 2px; }
.set-item .price strong { white-space: nowrap; }
.set-from { font-size: 0.8rem; color: var(--ink-soft); }
/* O botão da coleção é só a aparência: o toque vai para o link da carta inteira. */
.set-item .set-open { position: static; pointer-events: none; }

/* As ferramentas de destaques da administração. */
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.admin-tabs .btn[aria-current="page"] { outline: 2px solid var(--gold); outline-offset: 2px; }
.admin-featured { display: grid; gap: 22px; max-width: 46rem; }
.admin-featured h3 { margin: 0 0 4px; font-size: 1.15rem; }
.admin-moves { display: flex; gap: 6px; }
.admin-move { min-width: 38px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(14, 31, 71, 0.2); background: #fff; color: var(--navy); font: 600 0.9rem var(--sans); cursor: pointer; }
.admin-move:disabled { opacity: 0.35; cursor: default; }
.admin-gone { color: #9a3b1b; }
.admin-search { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(14, 31, 71, 0.2); font: 0.95rem var(--sans); }
.admin-results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; max-height: 26rem; overflow-y: auto; }
.admin-save-bar { position: sticky; bottom: 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 12px 0; background: var(--page); border-top: 1px solid rgba(14, 31, 71, 0.12); }
@media (max-width: 480px) {
  .admin-featured .admin-product { grid-template-columns: 48px minmax(0, 1fr); }
  .admin-featured .admin-thumb { width: 48px; height: 48px; }
  .admin-featured .admin-moves, .admin-featured .admin-edit { grid-column: 1 / -1; }
}

/* Os pontos do carrossel (Eric, 2026-11-25): a barra de rolagem do
   navegador some, e no lugar dela ficam os pontos, o da página atual um
   traço dourado. Cada ponto é um botão de 24 px de altura. */
.carousel-stage { position: relative; }
.carousel-track { scrollbar-width: none; padding-bottom: 6px; }
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-dots { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
.carousel-dot {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.carousel-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(14, 31, 71, 0.18);
  transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dot:hover::before { background: rgba(14, 31, 71, 0.35); }
.carousel-dot.is-current { width: 40px; }
.carousel-dot.is-current::before { width: 28px; background: var(--foil); }
.carousel-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  .carousel-dot::before { transition: none; }
}

/* O blog (blog.html, post.html, a faixa da home; assets/blog.js) e a aba
   Blog da administração. */
.blog-home { background: var(--ivory); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(14, 31, 71, 0.1); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-cover { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #18335f 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.post-card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Sem capa, o vaga-lume no meio, sem mudar a altura do cartão. */
.post-card-nocover .post-card-mark { position: absolute; inset: 0; margin: auto; width: auto; height: 58%; object-fit: contain; filter: drop-shadow(0 0 14px var(--lime-glow)); }
.post-card-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.post-card-body .eyebrow { margin: 0; }
.post-card-body h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.post-card-link { color: inherit; text-decoration: none; }
/* O cartão inteiro abre o post. */
.post-card-link::after { content: ""; position: absolute; inset: 0; }
.post-card-link:focus-visible { outline: none; }
.post-card:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.post-date { margin: 0; font-size: 0.8rem; color: var(--ink-soft); }
.post-excerpt { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-chips a { text-decoration: none; }
.post-chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

.post-pagehead { padding-bottom: 18px; }
.post { max-width: 46rem; margin: 0 auto; }
.post-head { margin: 0 0 22px; }
.post-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.15; margin: 6px 0 10px; overflow-wrap: anywhere; }
.post-category { text-decoration: none; display: inline-block; }
.post-cover { width: 100%; max-height: 30rem; object-fit: cover; border-radius: 14px; display: block; margin: 0 0 28px; box-shadow: var(--shadow-sm); }
.post-body { font-size: 1.04rem; line-height: 1.8; overflow-wrap: anywhere; }
.post-body > * { margin: 0 0 1.05em; }
.post-body h2 { font-size: 1.6rem; line-height: 1.25; margin: 1.6em 0 0.5em; }
.post-body h3 { font-size: 1.25rem; line-height: 1.3; margin: 1.4em 0 0.4em; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: 4px; }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; color: var(--ink-soft); font-style: italic; }
.post-body a { color: var(--gold-dk); }
.post-body strong { color: var(--ink); }
.post-body .post-photo { max-width: 100%; height: auto; border-radius: 10px; vertical-align: middle; }
.post-body .post-figure { text-align: center; }
.post-body .post-figure .post-photo + .post-photo { margin-top: 12px; }
.post-body .post-video { margin: 1.4em 0; }
.post-back { margin: 40px 0 0; }

/* A aba Blog: o editor (Quill) com as cores e os textos do site. */
.admin-post-form { max-width: 48rem; }
.admin-editor-wrap { background: #fff; border-radius: 10px; }
.admin-editor-wrap .ql-toolbar.ql-snow { border-radius: 10px 10px 0 0; border-color: rgba(14, 31, 71, 0.2); position: sticky; top: 0; z-index: 2; background: #fff; }
.admin-editor-wrap .ql-container.ql-snow { border-radius: 0 0 10px 10px; border-color: rgba(14, 31, 71, 0.2); font: 1rem/1.7 var(--sans); }
.admin-editor .ql-editor { min-height: 22rem; }
.admin-editor .ql-editor h2, .admin-editor .ql-editor h3 { font-family: var(--serif); }
.admin-editor .ql-editor img { max-width: 100%; border-radius: 8px; }
.admin-editor .ql-editor .ql-video { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 8px; }
.admin-editor .ql-editor.ql-blank::before { color: var(--ink-soft); font-style: normal; }
.admin-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label::before,
.admin-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item::before { content: "Texto"; }
.admin-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.admin-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before { content: "Título"; }
.admin-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.admin-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before { content: "Subtítulo"; }
.admin-editor-wrap .ql-snow .ql-tooltip::before { content: "Abrir o link:"; }
.admin-editor-wrap .ql-snow .ql-tooltip[data-mode="link"]::before { content: "Link:"; }
.admin-editor-wrap .ql-snow .ql-tooltip a.ql-action::after { content: "Editar"; }
.admin-editor-wrap .ql-snow .ql-tooltip a.ql-remove::before { content: "Tirar"; }
.admin-editor-wrap .ql-snow .ql-tooltip.ql-editing a.ql-action::after { content: "Salvar"; }
.admin-editor-wrap .ql-snow .ql-tooltip { z-index: 3; }
.admin-text-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 6px; }
.admin-text-head label { margin: 0; }
.admin-mode { display: inline-flex; gap: 6px; }
.admin-mode .btn { padding: 8px 14px; font-size: 11px; }
.admin-mode .btn[aria-pressed="true"] { outline: 2px solid var(--gold); outline-offset: 2px; }
.admin-text-head .admin-link { font-size: 0.85rem; }
.admin-markdown-pane { display: grid; gap: 10px; }
.admin-markdown-pane[hidden], .admin-editor-wrap[hidden] { display: none; }
.admin-markdown { width: 100%; min-height: 22rem; padding: 14px; border-radius: 10px; border: 1px solid rgba(14, 31, 71, 0.2); background: #fff; color: var(--ink); font: 0.92rem/1.6 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; resize: vertical; tab-size: 2; }
.admin-markdown:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.admin-editor-hint { margin-top: 2px; }
.admin-video { display: grid; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--gold); border-radius: 10px; }
.admin-video[hidden] { display: none; }
.admin-post-form .admin-save-bar .admin-status { flex-basis: 100%; }
.admin-post-form .admin-save-bar .admin-link { font-size: 0.85rem; }
.admin-preview-box { margin-top: 18px; padding: 22px; background: var(--page); border: 1px dashed var(--gold); border-radius: 14px; }
.admin-preview-box[hidden] { display: none; }
.admin-post-cover { max-width: 16rem; grid-template-columns: 1fr; }
.admin-post-cover .admin-photo img { aspect-ratio: 16 / 9; }

@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .post-body { font-size: 1rem; }
  .admin-preview-box { padding: 14px; }
  .admin-editor .ql-editor { min-height: 16rem; }
  .admin-markdown { min-height: 16rem; font-size: 0.86rem; }
}

/* ---------- Kits (assets/catalogo.js, Eric 2026-11-25) ----------
   Várias cartas vendidas juntas: as fotos em leque na mesma moldura das
   cartas, o desconto no canto e o preço com a soma riscada. */

.kits-home[hidden], .kits-all[hidden] { display: none; }
.kits-all { margin-bottom: 44px; }
.kits-head { margin-bottom: 18px; }

.kit-shot .kit-fan {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.kit-shot .kit-fan .card-pic {
  grid-area: 1 / 1;
  width: 46%;
  transform-origin: 50% 120%;
}

.cards-grid .kit-shot .kit-fan .card-pic { width: 44%; }
.kit-fan-2 .card-pic:nth-child(1) { transform: rotate(-9deg) translateX(-14%); }
.kit-fan-2 .card-pic:nth-child(2) { transform: rotate(9deg) translateX(14%); }
.kit-fan-3 .card-pic:nth-child(1) { transform: rotate(-14deg) translateX(-22%); }
.kit-fan-3 .card-pic:nth-child(2) { transform: translateY(-4%); z-index: 2; }
.kit-fan-3 .card-pic:nth-child(3) { transform: rotate(14deg) translateX(22%); }

.kit-tag { background: var(--lime); }

.kit-more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(247, 239, 220, 0.92);
  color: var(--navy-deep);
  font: 600 11px/1 var(--sans);
}

.kit-price { flex-wrap: wrap; }
.kit-detail .kit-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.kit-detail .kit-price strong { font: 600 1.7rem/1.2 var(--serif); }
.kit-detail .kit-price s { color: var(--ink-soft); font-size: 1rem; }
.kit-saving { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.9rem; }

.kit-cards { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.kit-card { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.kit-card p { margin: 0; }
.kit-card-pic { width: 56px; aspect-ratio: 63 / 88; object-fit: contain; border-radius: 4px; }
.kit-card-name a { color: var(--ink); font-weight: 600; }
.kit-card-meta, .kit-card-alone { font-size: 0.8rem; color: var(--ink-soft); }
.kit-detail .kit-shot .kit-fan .card-pic { width: 40%; }
.cart-price s { color: var(--ink-soft); font-size: 0.82em; }
