/* Juliana da Fonte · lp.julianadafonte.com.br
   Identidade tirada dos banners reais da loja: creme, dourado do logo (#BE9746),
   serifa em caixa alta nos títulos e a folha do logo como marca d'água. */
:root {
  --cream: #FBF7EF;
  --cream-2: #F4ECDD;
  --card: #FFFFFF;
  --gold: #BE9746;          /* logo: decorativo, números grandes, bordas */
  --gold-ink: #8A6A2B;      /* dourado pra texto pequeno em fundo claro (contraste AA) */
  --gold-soft: #EFE3CB;
  --ink: #2B241C;           /* texto principal, café escuro */
  --muted: #6E6254;
  --line: #E9DFCC;
  --espresso: #2B241C;
  --on-dark: #F7F0E3;
  --on-dark-muted: #CDBFA8;
  --wpp: #1E8E4F;
  --wpp-hover: #177A42;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43, 36, 28, .04), 0 8px 24px rgba(43, 36, 28, .06);
  --shadow-hover: 0 2px 4px rgba(43, 36, 28, .06), 0 14px 32px rgba(43, 36, 28, .10);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- topo ---------- */
.topo {
  position: relative;
  padding: 28px 16px 20px;
  text-align: center;
  overflow: hidden;
}
.topo::before, .topo::after {
  content: "";
  position: absolute;
  width: 120px; height: 124px;
  background: url("folha.png") no-repeat center / contain;
  opacity: .12;
  pointer-events: none;
}
.topo::before { left: -34px; top: 10px; }
.topo::after { right: -30px; bottom: -46px; transform: scaleX(-1) rotate(12deg); }
.topo a.marca { display: inline-block; }
.topo img { width: 190px; height: auto; margin: 0 auto; }
.topo.mini { padding: 18px 16px 10px; }
.topo.mini img { width: 132px; }
.topo.mini::after { display: none; }

main { max-width: 600px; margin: 0 auto; padding: 8px 16px 48px; }

/* ---------- tipografia ---------- */
.eyebrow {
  margin: 0;
  font: 700 12.5px/1.2 var(--sans);
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--gold-ink);
}
h1, h2 { font-family: var(--serif); color: var(--ink); font-weight: 600; }
h1 { margin: 8px 0 10px; font-size: 36px; line-height: 1.08; letter-spacing: -.2px; }
h1 em, h2 em { font-style: italic; color: var(--gold-ink); }
h2 { margin: 40px 0 14px; font-size: 27px; line-height: 1.15; }
.sub { margin: 0 0 24px; color: var(--muted); font-size: 16.5px; }
.lojas-txt b { color: var(--ink); font-weight: 600; }

/* ---------- hero com foto (home) ---------- */
.hero {
  position: relative;
  margin: 4px 0 24px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 860 / 576;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43, 36, 28, 0) 40%, rgba(43, 36, 28, .78) 100%);
}
.hero-txt { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; }
.hero-txt .eyebrow { color: #F1DDB5; }
.hero-txt h1 { color: #fff; margin: 6px 0 0; font-size: 31px; }
.hero-txt h1 em { color: #F1DDB5; }

/* ---------- lista de links (home) ---------- */
.links { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.links a {
  display: flex; align-items: center; gap: 14px;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.links a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.links a:active { transform: translateY(0); }
.ic {
  flex: 0 0 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-ink);
}
.ic svg { width: 22px; height: 22px; }
.links .txt { display: flex; flex-direction: column; min-width: 0; }
.links b { font-size: 17.5px; line-height: 1.25; font-weight: 700; }
.links .t { font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.links .seta { margin-left: auto; flex: 0 0 auto; color: var(--gold); }
.links .seta svg { width: 20px; height: 20px; }
.links a.destaque { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
.links a.destaque .t { color: var(--on-dark-muted); }
.links a.destaque .ic { background: var(--gold); color: var(--espresso); }
.links a.destaque:hover { border-color: var(--gold); }
.tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px;
  border-radius: 999px; background: var(--gold); color: var(--espresso);
  font: 700 11px/1.5 var(--sans); letter-spacing: .6px; text-transform: uppercase; vertical-align: 2px;
}

/* ---------- lojas ---------- */
.lojas { margin: 32px 0 0; text-align: center; }
.lojas ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.lojas li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 15px; font-weight: 600;
}

/* ---------- destaque numérico (cashback / aniversário) ---------- */
.destaque-num {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 24px;
  border-radius: 24px;
  background: var(--espresso);
  color: var(--on-dark);
  box-shadow: var(--shadow);
}
.destaque-num::after {
  content: "";
  position: absolute; right: -26px; bottom: -30px;
  width: 150px; height: 156px;
  background: url("folha.png") no-repeat center / contain;
  opacity: .22;
}
.destaque-num .eyebrow { color: var(--gold); }
.destaque-num .grande {
  margin: 4px 0 2px;
  font: 600 76px/1 var(--serif);
  color: var(--gold);
  letter-spacing: -1px;
}
.destaque-num p { position: relative; z-index: 1; margin: 0; font-size: 18px; line-height: 1.4; }
.destaque-num p.fino { margin-top: 10px; font-size: 15px; color: var(--on-dark-muted); }

/* voucher (aniversário) */
.voucher {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: var(--card);
  border: 2px dashed var(--gold);
  text-align: center;
  box-shadow: var(--shadow);
}
.voucher::before, .voucher::after {
  content: ""; position: absolute; top: 50%;
  width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--cream);
  border: 2px dashed var(--gold);
}
.voucher::before { left: -15px; clip-path: inset(0 0 0 50%); }
.voucher::after { right: -15px; clip-path: inset(0 50% 0 0); }
.voucher .grande { margin: 6px 0 4px; font: 600 80px/1 var(--serif); color: var(--gold-ink); }
.voucher p { margin: 0; font-size: 18px; }
.voucher p.fino { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ---------- blocos de números ---------- */
.fatos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 0; }
.fato {
  padding: 14px 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}
.fato b { display: block; font: 600 26px/1.05 var(--serif); color: var(--gold-ink); }
.fato span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.3; color: var(--muted); }

/* ---------- passo a passo ---------- */
.passos { counter-reset: passo; margin: 0; padding: 0; list-style: none; }
.passos li {
  position: relative;
  padding: 0 0 20px 50px;
  counter-increment: passo;
}
.passos li::before {
  content: counter(passo);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font: 700 17px/1 var(--serif);
}
.passos li::after {
  content: "";
  position: absolute; left: 16.5px; top: 36px; bottom: 2px;
  width: 1px; background: var(--line);
}
.passos li:last-child { padding-bottom: 0; }
.passos li:last-child::after { display: none; }
.passos b { display: block; font-size: 17px; }
.passos span { color: var(--muted); font-size: 15.5px; }

/* ---------- exemplos ---------- */
.exemplos { display: flex; flex-direction: column; gap: 10px; }
.exemplo {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px;
  padding: 14px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}
.exemplo div { font-size: 13px; line-height: 1.3; color: var(--muted); }
.exemplo div b { display: block; font: 600 21px/1.15 var(--serif); color: var(--ink); }
.exemplo .seta { color: var(--gold); font-size: 18px; }
.nota { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- regulamento ---------- */
.regulamento {
  padding: 20px 18px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.regulamento ol { margin: 0; padding-left: 22px; }
.regulamento li { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; }
.regulamento li::marker { color: var(--gold-ink); font-weight: 700; }
.regulamento li b { color: var(--ink); }

/* ---------- botões ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  margin: 28px 0 0;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--wpp);
  color: #fff;
  font-weight: 700; font-size: 17px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(30, 142, 79, .22);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--wpp-hover); transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; }
.voltar {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; margin: 0 0 4px;
  font-size: 15px; color: var(--muted); text-decoration: none;
}
.voltar:hover { color: var(--ink); }

/* ---------- rodapé ---------- */
footer {
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px; line-height: 1.6;
  text-align: center;
}
footer img { width: 26px; height: auto; margin: 0 auto 8px; opacity: .8; }

/* ---------- entrada suave ---------- */
@keyframes sobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.anima { animation: sobe .6s var(--ease) both; }
.anima.d1 { animation-delay: .06s; }
.anima.d2 { animation-delay: .12s; }
.anima.d3 { animation-delay: .18s; }
.anima.d4 { animation-delay: .24s; }
.anima.d5 { animation-delay: .30s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (min-width: 640px) {
  h1 { font-size: 42px; }
  .hero-txt h1 { font-size: 38px; }
  .topo img { width: 220px; }
}
@media (max-width: 360px) {
  .fatos { grid-template-columns: 1fr; }
  .exemplo div b { font-size: 18px; }
}
@media print {
  .topo::before, .topo::after, .destaque-num::after, .btn, .voltar { display: none; }
  body { background: #fff; font-size: 13px; }
  .destaque-num { background: #fff; color: #000; border: 1px solid #999; }
  .anima { animation: none; }
}

/* Cormorant usa algarismo antigo por padrao (10% parecia "IO%"). Fica no FIM porque o atalho
   font: das regras acima zera font-variant-numeric. */
h1, h2, .destaque-num .grande, .voucher .grande, .fato b, .exemplo div b, .passos li::before { font-variant-numeric: lining-nums; }
