/* ==========================================================================
   Suporte de Bolso para Medalhas — Landing Page
   Direcao: sombrio premium. Preto profundo, ouro velho, serifada de peso.
   ========================================================================== */

:root {
  --ink:        #0A0B0D;
  --ink-2:      #101216;
  --ink-3:      #16191F;
  --ink-4:      #1E222A;

  --gold:       #C9A227;
  --gold-lit:   #E8C766;
  --gold-deep:  #7A5F12;

  --bone:       #F3EFE5;
  --bone-dim:   #9E9788;
  --bone-faint: #6B675E;

  --line:       rgba(201, 162, 39, .16);
  --line-soft:  rgba(243, 239, 229, .08);

  --alert:      #E5533D;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);

  --sticky-h: 0px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Tipografia display ---------- */
.display {
  font-family: var(--serif);
  font-weight: 700;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 40;
  letter-spacing: -.025em;
}

.h1 { font-size: clamp(2.35rem, 7.2vw, 4.4rem); }
.h2 { font-size: clamp(1.95rem, 5.2vw, 3.1rem); }
.h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }

.gold { color: var(--gold-lit); }
.strike { color: var(--bone-faint); text-decoration: line-through; text-decoration-thickness: 2px; }

/* Traco de enfase manuscrito sob palavra-chave */
.mark {
  position: relative;
  white-space: nowrap;
  color: var(--gold-lit);
}
.mark::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; bottom: .04em;
  height: .5em;
  background: linear-gradient(100deg, transparent 0%, rgba(201,162,39,.28) 8%, rgba(201,162,39,.28) 92%, transparent 100%);
  border-radius: 3px;
  z-index: -1;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.band { padding-block: clamp(3.75rem, 9vw, 7rem); }
.band--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band--alt { background: var(--ink-2); }
.band--edge { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  color: var(--bone-dim);
  max-width: 56ch;
}

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ==========================================================================
   Barra de topo
   ========================================================================== */
.topbar {
  position: relative;
  z-index: 3;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line-soft);
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 34px; height: 34px; flex: none; color: var(--gold); }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .01em;
  line-height: 1.1;
}
.brand__sub {
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.topbar__note {
  font-size: .78rem;
  color: var(--bone-dim);
  text-align: right;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  width: min(1000px, 130vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,162,39,.13) 0%, rgba(201,162,39,.04) 42%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(243,239,229,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,239,229,.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

.hero__flag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem .85rem .38rem .6rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(201,162,39,.05);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-lit);
  margin-bottom: 1.35rem;
}
.hero__flag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-lit);
  box-shadow: 0 0 0 4px rgba(201,162,39,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(201,162,39,0); }
}

.hero h1 { margin-bottom: 1.15rem; }
.hero__sub {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--bone-dim);
  max-width: 46ch;
  margin-bottom: 1.9rem;
}

/* Selos abaixo do CTA */
.seals {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  margin-top: 1.5rem;
}
.seal {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .75rem;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(243,239,229,.025);
  font-size: .79rem;
  font-weight: 500;
  color: var(--bone-dim);
}
.seal svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* ---------- Visual do produto ---------- */
.shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 12%, rgba(201,162,39,.12), transparent 62%),
    linear-gradient(165deg, var(--ink-3), var(--ink));
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(243,239,229,.05);
  aspect-ratio: 4 / 4.6;
  display: grid;
  place-items: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__illo { width: 88%; height: auto; }

/* Fotos reais fora do hero (in-pocket, detail): mais largas que a do topo,
   e escondidas ate o arquivo existir em assets/img/. */
.shot--wide {
  aspect-ratio: 16 / 10;
  max-width: 760px;
  margin: 2.75rem auto 0;
}

.shot__tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  padding: .4rem .8rem;
  border-radius: 7px;
  background: rgba(10,11,13,.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-lit);
}

/* ==========================================================================
   Botoes
   ========================================================================== */
.btn {
  --btn-bg: linear-gradient(168deg, var(--gold-lit), var(--gold) 55%, #B08D1C);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  max-width: 26rem;
  padding: 1.15rem 1.9rem;
  border: 0;
  border-radius: 11px;
  background: var(--btn-bg);
  color: #1A1405;
  font-family: var(--sans);
  font-size: clamp(1rem, 2.1vw, 1.1rem);
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(201,162,39,.55), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px -10px rgba(201,162,39,.66), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold-lit); outline-offset: 3px; }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--lg { padding: 1.35rem 2.1rem; font-size: clamp(1.05rem, 2.4vw, 1.22rem); }
.btn--block { max-width: 100%; }

.btn-note {
  display: block;
  margin-top: .8rem;
  font-size: .81rem;
  color: var(--bone-faint);
}
.center .btn { margin-inline: auto; }

/* ==========================================================================
   Dores
   ========================================================================== */
.pains {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.75rem;
}
@media (min-width: 760px) { .pains { grid-template-columns: repeat(3, 1fr); } }

.pain {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}
.pain__n {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(229,83,61,.34);
  margin-bottom: .55rem;
}
.pain h3 { margin-bottom: .55rem; font-family: var(--serif); font-size: 1.28rem; }
.pain p { font-size: .95rem; color: var(--bone-dim); }

.verdict {
  margin-top: 2.25rem;
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--alert);
  border-radius: 0 12px 12px 0;
  background: rgba(229,83,61,.06);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   Passos
   ========================================================================== */
.steps {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.75rem;
  counter-reset: s;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: 1.9rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(201,162,39,.055), transparent 60%), var(--ink-2);
}
.step__icon {
  width: 46px; height: 46px;
  color: var(--gold);
  margin-bottom: 1.05rem;
}
.step__n {
  counter-increment: s;
  position: absolute;
  top: 1.15rem; right: 1.3rem;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(201,162,39,.2);
}
.step__n::before { content: counter(s); }
.step h3 { margin-bottom: .5rem; font-family: var(--serif); font-size: 1.24rem; }
.step p { font-size: .95rem; color: var(--bone-dim); }

/* ==========================================================================
   Compatibilidade
   ========================================================================== */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--rev > *:first-child { order: 2; } }

.fits {
  display: grid;
  gap: .8rem;
  margin-top: 1.9rem;
}
.fit {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: var(--ink-3);
}
.fit__icon {
  width: 38px; height: 38px; flex: none;
  color: var(--gold);
  margin-top: 1px;
}
.fit strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.fit span { font-size: .89rem; color: var(--bone-dim); line-height: 1.5; }

/* Blocos de qualidade */
.specs {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .specs { grid-template-columns: repeat(4, 1fr); } }

.spec {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--ink-3);
}
.spec__icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: .9rem; }
.spec strong { display: block; font-family: var(--serif); font-size: 1.08rem; margin-bottom: .3rem; }
.spec span { font-size: .89rem; color: var(--bone-dim); line-height: 1.55; }

/* Garantia */
.guarantee {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 44rem;
  margin: 1.25rem auto 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-3);
}
.guarantee__icon { width: 48px; height: 48px; flex: none; color: var(--gold); }
.guarantee strong { display: block; font-family: var(--serif); font-size: 1.14rem; margin-bottom: .2rem; }
.guarantee span { font-size: .9rem; color: var(--bone-dim); line-height: 1.55; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 46rem; margin: 2.5rem auto 0; }

.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq details[open] { background: rgba(201,162,39,.03); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem .5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  font-weight: 600;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-lit); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.faq summary::after {
  content: '';
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq__a {
  padding: 0 .5rem 1.4rem;
  font-size: .96rem;
  color: var(--bone-dim);
  max-width: 62ch;
}

/* ==========================================================================
   Fechamento
   ========================================================================== */
.closing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-top: 1px solid var(--line);
}
.closing::before {
  content: '';
  position: absolute;
  bottom: -55%; left: 50%;
  width: min(880px, 120vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,162,39,.15), transparent 66%);
  pointer-events: none;
}
.closing .wrap { position: relative; z-index: 1; }

/* Rodape */
.foot {
  padding-block: 2.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--bone-faint);
  text-align: center;
}
.foot p { margin-bottom: .4rem; }

/* ==========================================================================
   Barra fixa mobile
   ========================================================================== */
.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  gap: .9rem;
  padding: .7rem var(--pad) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(10,11,13,.93);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.sticky.is-on { transform: translateY(0); }
.sticky__price { flex: none; line-height: 1.15; }
.sticky__price b {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-lit);
}
.sticky__price span {
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.sticky .btn {
  padding: .95rem .9rem;
  font-size: .88rem;
  letter-spacing: .03em;
  max-width: none;
  white-space: nowrap;
}
/* telas bem estreitas: some o carrinho para o texto nao quebrar */
@media (max-width: 359px) {
  .sticky .btn svg { display: none; }
  .sticky .btn { font-size: .82rem; }
  .sticky__price b { font-size: 1.2rem; }
}

@media (max-width: 899px) {
  .sticky { display: flex; }
  body { --sticky-h: 76px; }
}

/* ==========================================================================
   Aviso de configuracao (so aparece em localhost)
   ========================================================================== */
.devwarn {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  padding: .7rem 1rem;
  background: var(--alert);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.devwarn code {
  background: rgba(0,0,0,.28);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .95em;
}

/* ==========================================================================
   Animacao de entrada
   ========================================================================== */
/* Sem JS (ou se o JS falhar), .rise nunca esconde nada — a pagina
   aparece inteira. O estado inicial so e aplicado sob .js, marcado
   por um script inline no <head>. */
.js .rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1);
}
.js .rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js .rise { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }

/* ==========================================================================
   Conjuntos de medalhas
   ========================================================================== */
.sets {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(201,162,39,.07), transparent 55%), var(--ink-3);
}
@media (min-width: 820px) { .sets { grid-template-columns: 1.15fr .85fr; } }

.sets__copy h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: .7rem; }
.sets__copy p { font-size: .97rem; color: var(--bone-dim); max-width: 46ch; }

.sets__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.sets__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 500;
}
.sets__list svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.sets__list li:last-child { color: var(--bone-faint); font-weight: 400; font-style: italic; }

/* ==========================================================================
   Planos
   ========================================================================== */
.plans {
  display: grid;
  gap: 1.15rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  align-items: stretch;
}
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.65rem;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}
.plan--featured {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse at 50% -8%, rgba(201,162,39,.16), transparent 60%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: 0 34px 80px -34px rgba(201,162,39,.5);
}

.plan__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: .38rem 1rem;
  border-radius: 100px;
  background: linear-gradient(168deg, var(--gold-lit), var(--gold));
  color: #1A1405;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan--featured .plan__badge { box-shadow: 0 6px 18px -4px rgba(201,162,39,.6); }

.plan__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}
.plan__tagline {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .3rem;
  margin-bottom: 1.25rem;
}

.plan__list {
  font-size: .92rem;
  color: var(--bone-faint);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  min-height: 1.4em;
}
.plan__price {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--gold-lit);
  letter-spacing: -.03em;
}
.plan__unit {
  font-size: .88rem;
  color: var(--bone-dim);
  margin-top: .35rem;
}
.plan__installments { font-size: .82rem; color: var(--bone-faint); margin-top: .15rem; }

.plan__benefit {
  font-size: .92rem;
  color: var(--bone-dim);
  line-height: 1.55;
  margin: 1.25rem 0 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
  flex: 1;
}

.plan .btn { max-width: 100%; padding: 1rem 1.2rem; font-size: .95rem; }
.plan:not(.plan--featured) .btn {
  background: transparent;
  color: var(--gold-lit);
  border: 1.5px solid var(--gold);
  box-shadow: none;
}
.plan:not(.plan--featured) .btn:hover {
  background: rgba(201,162,39,.12);
  box-shadow: none;
}
.plan__savings {
  display: block;
  margin-top: .7rem;
  font-size: .8rem;
  color: var(--gold);
  text-align: center;
  font-weight: 600;
}

/* ==========================================================================
   Calculadora de atacado
   ========================================================================== */
.bulk {
  max-width: 44rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.35rem, 3.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}
.bulk__head { text-align: center; margin-bottom: 1.75rem; }
.bulk__head h3 { font-size: clamp(1.35rem, 3.2vw, 1.85rem); margin-bottom: .55rem; }
.bulk__head p { font-size: .93rem; color: var(--bone-dim); max-width: 42ch; margin-inline: auto; }

/* stepper */
.qty {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .6rem;
  max-width: 19rem;
  margin: 0 auto;
}
.qty__btn {
  width: 58px;
  flex: none;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  background: rgba(201,162,39,.09);
  color: var(--gold-lit);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}
.qty__btn:hover { background: rgba(201,162,39,.2); }
.qty__btn:active { transform: scale(.94); }
.qty__btn:focus-visible { outline: 3px solid var(--gold-lit); outline-offset: 2px; }
.qty__btn:disabled { opacity: .3; cursor: not-allowed; }

.qty__input {
  flex: 1;
  min-width: 0;
  padding: .9rem .5rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; border-color: var(--gold); }

.qty__shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: .9rem;
}
.qty__chip {
  padding: .42rem .9rem;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  background: transparent;
  color: var(--bone-dim);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.qty__chip:hover { border-color: var(--gold); color: var(--gold-lit); }
.qty__chip[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(201,162,39,.14);
  color: var(--gold-lit);
}

/* saida */
.bulk__out {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--ink);
}
.bulk__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  font-size: .93rem;
  color: var(--bone-dim);
}
.bulk__row strong { color: var(--bone); font-weight: 600; }
.bulk__row--total {
  margin-top: .4rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
}
.bulk__row--total span { font-size: 1rem; color: var(--bone); }
.bulk__row--total strong {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-lit);
  letter-spacing: -.02em;
  line-height: 1;
}
.bulk__save {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--line);
  font-size: .87rem;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
}

/* tabela de faixas */
.tiers {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.tiers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .95rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(243,239,229,.025);
  font-size: .87rem;
  color: var(--bone-dim);
}
.tiers li.is-active {
  border-color: var(--gold);
  background: rgba(201,162,39,.1);
  color: var(--bone);
}
.tiers b { color: var(--gold-lit); font-weight: 700; }

/* ==========================================================================
   Botao fantasma (duvida)
   ========================================================================== */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--bone);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .18s ease;
}
.btn-ghost:hover {
  border-color: #25D366;
  color: #fff;
  background: rgba(37,211,102,.1);
}
.btn-ghost svg { width: 19px; height: 19px; color: #25D366; flex: none; }
.btn-ghost:focus-visible { outline: 3px solid var(--gold-lit); outline-offset: 3px; }

/* ==========================================================================
   Botao flutuante do WhatsApp
   ========================================================================== */
.wafab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.25rem;
  border-radius: 100px;
  background: #25D366;
  color: #06301A;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wafab:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(37,211,102,.7); }
.wafab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wafab svg { width: 24px; height: 24px; flex: none; }

/* no mobile: sobe acima da barra fixa e vira so o icone */
@media (max-width: 899px) {
  .wafab {
    bottom: calc(var(--sticky-h, 76px) + .7rem);
    padding: .8rem;
    gap: 0;
  }
  .wafab__text { display: none; }
}

/* Linha de garantias abaixo dos planos */
.offer-seals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem .6rem;
  margin-top: 1.5rem;
}
.offer-seals .seal b { color: var(--bone); font-weight: 600; }

/* ==========================================================================
   CTA de fim de dobra — âncora para a seção de oferta
   ========================================================================== */
.fold-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  margin-top: clamp(2.25rem, 5vw, 3rem);
  text-align: center;
}
.fold-cta__kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  font-weight: 600;
  color: var(--bone);
  max-width: 34ch;
}
.fold-cta .btn {
  width: auto;
  min-width: min(20rem, 100%);
  white-space: nowrap;
}
/* telas estreitas: aperta o texto para caber em uma linha só */
@media (max-width: 400px) {
  .fold-cta .btn {
    font-size: .88rem;
    letter-spacing: .02em;
    padding-inline: 1rem;
    gap: .45rem;
  }
  .fold-cta .btn svg { width: 17px; height: 17px; }
}
.fold-cta__wa {
  margin-top: .35rem;
  padding: .7rem 1.2rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--bone-dim);
  border-color: var(--line-soft);
}
.fold-cta__wa span { max-width: 30ch; }

/* A seção de destino recebe foco ao chegar pela âncora (teclado) */
#offer:focus { outline: none; }

/* ==========================================================================
   Pagina de pedido confirmado
   ========================================================================== */
.ok-mark {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-lit);
  background: radial-gradient(circle at 50% 40%, rgba(201,162,39,.20), rgba(201,162,39,.04));
  border: 1px solid var(--line);
  box-shadow: 0 0 0 10px rgba(201,162,39,.05);
}
.ok-mark svg { width: 36px; height: 36px; }

@media (prefers-reduced-motion: no-preference) {
  .ok-mark { animation: ok-pop .5s cubic-bezier(.2,.9,.3,1.4) both; }
  @keyframes ok-pop {
    from { transform: scale(.7); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
  }
}

.receipt {
  max-width: 30rem;
  margin: 2.5rem auto 0;
  padding: 1.35rem 1.5rem;
  text-align: left;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.receipt__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  font-size: .95rem;
  color: var(--bone-dim);
  border-bottom: 1px solid var(--line-soft);
}
.receipt__row:last-child { border-bottom: 0; }
.receipt__row strong { color: var(--bone); font-weight: 600; text-align: right; }
.receipt__row--total strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-lit);
}

/* ==========================================================================
   Formulario de pedido (overlay)

   Usa <dialog> nativo: o foco fica preso dentro, Esc fecha e o painel sobe
   para o top layer — acima da barra fixa e do botao do WhatsApp, sem
   depender de z-index.
   ========================================================================== */
html.scroll-lock { overflow: hidden; }

.order {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  color-scheme: dark;      /* deixa o menu nativo do <select> escuro */
  z-index: 100;            /* so importa em navegador sem top layer */
}
.order[open] { display: grid; }

.order::backdrop {
  background: rgba(4, 5, 7, .84);
  backdrop-filter: blur(6px);
}

/* No celular o painel ocupa a tela inteira. No desktop vira um cartao. */
.order__panel {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 50px 130px -30px rgba(0, 0, 0, .95);
}
.order__panel:focus { outline: none; }

@media (min-width: 700px) {
  .order[open] { place-items: center; padding: 1.75rem; }
  .order__panel {
    max-width: 41rem;
    max-height: min(100%, 54rem);
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .order[open] { animation: order-fade .2s ease both; }
  .order[open] .order__panel { animation: order-rise .3s cubic-bezier(.2, .8, .3, 1) both; }
}
@keyframes order-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes order-rise {
  from { opacity: 0; transform: translateY(20px) scale(.99); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Topo ---------- */
.order__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1.15rem, 4vw, 2rem);
  background: rgba(16, 18, 22, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.order__top .eyebrow { margin-bottom: .3rem; }
.order__title { font-size: clamp(1.3rem, 4vw, 1.6rem); }

.order__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: transparent;
  color: var(--bone-dim);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.order__close:hover {
  color: var(--bone);
  border-color: var(--line);
  background: rgba(243, 239, 229, .05);
}
.order__close:focus-visible { outline: 3px solid var(--gold-lit); outline-offset: 2px; }
.order__close svg { width: 19px; height: 19px; }

.order__body {
  padding: clamp(1.25rem, 4vw, 1.85rem) clamp(1.15rem, 4vw, 2rem)
           calc(clamp(1.5rem, 5vw, 2.25rem) + env(safe-area-inset-bottom));
}

/* ---------- Resumo: o que esta sendo comprado ---------- */
.summary {
  margin-bottom: 1.15rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(201, 162, 39, .07), transparent 60%), var(--ink-3);
}
.summary__item {
  padding-bottom: .85rem;
  margin-bottom: .35rem;
  border-bottom: 1px solid var(--line-soft);
}
.summary__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
}
.summary__item span {
  display: block;
  margin-top: .18rem;
  font-size: .87rem;
  color: var(--bone-dim);
}
.summary__item span:empty { display: none; }

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .42rem 0;
  font-size: .93rem;
  color: var(--bone-dim);
}
.summary__row > span { display: inline-flex; align-items: center; gap: .45rem; }
.summary__row svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.summary__row b { color: var(--bone); font-weight: 600; white-space: nowrap; }

/* Prazo / status da cotacao de frete — mora colado na linha do frete, por
   isso o recuo negativo desfaz o padding vertical dela. */
.summary__note {
  margin: -.28rem 0 .25rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
}
.summary__note--problem { color: var(--alert); font-weight: 500; }

.summary__row--total {
  margin-top: .3rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line-soft);
}
.summary__row--total > span { font-size: 1rem; color: var(--bone); }
.summary__row--total b {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--gold-lit);
  letter-spacing: -.02em;
  line-height: 1;
}

/* ---------- Formulario ---------- */
/* Primeiro filho do corpo do overlay — o respiro vem do padding de la */
.form { margin-top: 0; }

.form__group {
  border: 0;
  margin: 0 0 1.6rem;
  padding: 0;
}
.form__group legend {
  padding: 0;
  margin-bottom: .95rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.form__grid { display: grid; gap: .95rem .9rem; }

@media (min-width: 560px) {
  .form__grid { grid-template-columns: repeat(6, 1fr); }
  .field--wide       { grid-column: span 6; }
  .field--half       { grid-column: span 3; }
  .field--zip        { grid-column: span 2; }
  .field--street     { grid-column: span 4; }
  .field--number     { grid-column: span 2; }
  .field--complement { grid-column: span 4; }
  .field--city       { grid-column: span 4; }
  .field--state      { grid-column: span 2; }
}

.field { display: grid; gap: .38rem; align-content: start; }
.field label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--bone-dim);
}
.field__opt {
  font-weight: 400;
  font-size: .78rem;
  color: var(--bone-faint);
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  padding: .82rem .9rem;
  border: 1.5px solid var(--line-soft);
  border-radius: 10px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1rem;   /* >= 16px: o iOS nao da zoom ao focar */
  line-height: 1.35;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--bone-faint); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--alert); }
.field input[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(229, 83, 61, .18); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 17px;
  cursor: pointer;
}

/* Recado fixo embaixo do campo — explica por que o dado e pedido. Nao
   confundir com o .field__hint, que aparece e some conforme a busca do CEP. */
.field__note {
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--bone-faint);
}

.field__error {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--alert);
  line-height: 1.4;
}

/* Aviso de campos pendentes, no topo do formulario */
.form__alert {
  margin: 0 0 1.25rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--alert);
  border-radius: 0 9px 9px 0;
  background: rgba(229, 83, 61, .1);
  font-size: .9rem;
  font-weight: 600;
}

.order__note { text-align: center; }

/* Destino do pagamento ainda nao ligado — ver PENDENCIAS.md */
.form__pending {
  margin: 1.15rem 0 0;
  padding: .9rem 1.1rem;
  border: 1px dashed var(--alert);
  border-radius: 10px;
  background: rgba(229, 83, 61, .09);
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.5;
}

/* O texto do botao e longo: em tela estreita aperta a letra para caber
   em uma linha so (mesmo tratamento dado ao CTA de fim de dobra). */
#order-submit { padding-inline: 1.1rem; }
@media (max-width: 430px) {
  #order-submit { font-size: .9rem; letter-spacing: .02em; gap: .5rem; }
  #order-submit svg { width: 17px; height: 17px; }
}

/* Status da busca de CEP (ViaCEP) — informativo, nunca bloqueia o pedido */
.field__hint {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
}
.field__hint--problem { color: var(--alert); font-weight: 500; }

.field input[aria-busy="true"] { border-color: var(--gold); }

/* Formulario travado enquanto a busca do CEP esta no ar — ver lockFields()
   no order.js. A espera dura segundos e sempre termina, entao precisa ler
   como "aguarde", nao como "quebrou": campo apagado, cursor de progresso e
   o botao de fechar (que fica fora do <form>) intacto.

   Escopado no [aria-busy] de proposito: fora da busca, campo desabilitado
   e o estado fechado pelo CEP, que tem a cara propria logo abaixo. */
.form[aria-busy="true"] { cursor: progress; }
.form[aria-busy="true"] .field label { opacity: .55; }
.form[aria-busy="true"] .field input,
.form[aria-busy="true"] .field select {
  opacity: .5;
  cursor: progress;
}

/* Endereco fechado pelo CEP — ver lockAddress() no order.js. Nao e erro
   nem espera: e um dado ja resolvido. Continua legivel (o cliente PRECISA
   conferir o endereco antes de pagar), so perde a cara de campo em branco
   esperando digitacao, e ganha o cadeado que explica por que nao edita. */
.field input[data-locked],
.field select[data-locked] {
  border-color: transparent;
  border-style: dashed;
  background-color: rgba(243, 239, 229, .04);
  color: var(--bone-dim);
  cursor: default;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B675E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.2'/%3E%3Cpath d='M8 10.5V7a4 4 0 0 1 8 0v3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 15px;
}
.field input[data-locked]:focus {
  border-color: var(--line-soft);
  box-shadow: none;
}
/* O estado fecha com `disabled` (readonly nao existe em select), entao o
   opacity padrao do navegador entra junto — este devolve a legibilidade. */
.field select[data-locked] { opacity: 1; -webkit-text-fill-color: var(--bone-dim); }
/* O botao de enviar tambem trava — na busca do CEP e nas esperas do submit.
   Sem isto ele fica com a cara de clicavel enquanto nao aceita clique. */
.btn:disabled,
.btn:disabled:hover {
  filter: grayscale(.5) brightness(.85);
  box-shadow: none;
  transform: none;
  cursor: progress;
}
