/* Nami Promos — V1
   Paleta oficial da marca nas variáveis abaixo. */
:root {
  --brand: #FFC72C;        /* amarelo Nami */
  --brand-deep: #F5B000;   /* amarelo escuro (hover) */
  --orange: #FF5B1A;       /* laranja Nami */
  --blue: #2D80F0;         /* azul Nami */
  --ink: #0E2346;          /* azul-marinho Nami (texto) */
  --ink-soft: #4E5B73;     /* texto secundário */
  --paper: #F6F0E4;        /* creme Nami (fundo) */
  --card: #FFFFFF;
  --line: #E7DECB;
  --wa: #1FAF54;           /* verde do botão WhatsApp */
  --wa-deep: #168A41;
  --deal: #FF5B1A;         /* selo de desconto */
  --radius: 18px;
  --shadow: 0 6px 24px rgba(14, 35, 70, .08);
  --font-display: "Baloo 2", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  padding-bottom: 88px; /* espaço para o botão fixo no celular */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 12px 20px; font-size: 15px; line-height: 1.1;
  box-shadow: 0 4px 0 var(--wa-deep);
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #22BE5C; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wa-deep); }
.btn--sm { padding: 9px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--wa-deep); }
.btn--xl { padding: 18px 28px; font-size: 18px; width: 100%; max-width: 420px; }
.btn--block { width: 100%; padding: 16px; font-size: 17px; }
.btn__icon { width: 24px; height: 24px; fill: currentColor; flex: none; }
.btn.is-disabled { background: #B9B4C6; box-shadow: 0 4px 0 #9A95A8; pointer-events: none; }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--brand);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand) 0%, #FFDB78 50%, var(--paper) 100%); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 28px; padding-bottom: 36px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--brand); font-weight: 700; font-size: 13px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 8.5vw, 58px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px;
}
.hl { color: var(--orange); }
.hero__title-sub { display: block; font-size: .62em; line-height: 1.12; margin-top: 8px; }
.hero__sub { font-size: 17px; color: #26385A; margin: 0 0 22px; max-width: 34ch; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--wa); position: relative; flex: none; }
.trust__dot::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Saudação da Nami (celular) */
.hello { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.hello__avatar { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow); flex: none; object-fit: cover; }
.hello__bubble { margin: 0; background: #fff; border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 14px; box-shadow: var(--shadow); }

/* Retrato da Nami (telas grandes) */
.hero__art { position: relative; display: flex; justify-content: center; margin-top: 28px; }
.hero__frame { position: relative; width: 100%; max-width: 360px; }
.hero__nami { width: 100%; height: auto; border-radius: 28px; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(14,35,70,.22); }
.tag { position: absolute; font-family: var(--font-display); font-weight: 800; font-size: 18px; padding: 6px 14px; border-radius: 12px; color: var(--ink); box-shadow: var(--shadow); transform: rotate(-4deg); }
.tag--a { background: var(--orange); color: #fff; top: 24px; left: -54px; }
.tag--b { background: #fff; right: -40px; top: 46%; transform: rotate(5deg); }
.tag--c { background: var(--blue); color: #fff; bottom: 34px; left: -36px; }

/* ---------- Ofertas ---------- */
.offers { padding: 28px 0 8px; }
.offers__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.offers__title { font-family: var(--font-display); font-weight: 800; font-size: 30px; margin: 0; letter-spacing: -.01em; }
.offers__title::before { content: "🔥 "; }
.offers__note { margin: 0; font-size: 13px; color: var(--ink-soft); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; padding: 10px; }
.card__img { width: 100%; height: 100%; object-fit: contain; }
.card__off { position: absolute; top: 8px; left: 8px; background: var(--deal); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 8px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.card__store { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.card__title { font-size: 14px; font-weight: 600; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.card__price { font-size: 19px; font-weight: 800; color: #12813D; }
.card__old { font-size: 12px; color: var(--ink-soft); text-decoration: line-through; }
.card__coupon { align-self: flex-start; font-size: 12px; font-weight: 700; color: #9A3A0A; background: #FFF0E6; border: 1px dashed var(--orange); border-radius: 8px; padding: 3px 8px; }
.card__cta { margin-top: auto; text-align: center; background: var(--brand); color: var(--ink); font-weight: 800; border-radius: 10px; padding: 10px; font-size: 14px; }
.card__link:hover .card__cta { background: var(--brand-deep); }

.inline-cta {
  grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px;
}
.inline-cta p { margin: 0; }

/* ---------- Fechamento ---------- */
.closing { padding: 40px 0 24px; text-align: center; }
.closing__in { display: flex; flex-direction: column; align-items: center; }
.closing__title { font-family: var(--font-display); font-size: 28px; line-height: 1.1; margin: 0 0 8px; }
.closing__sub { margin: 0 0 18px; color: var(--ink-soft); }
.stores { font-size: 13px; color: var(--ink-soft); margin: 18px 0 0; max-width: 46ch; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 12.5px; color: var(--ink-soft); }
.footer p { margin: 0 0 8px; }
.footer__safe { color: var(--ink); }
.footer__links a { color: var(--ink); }

/* ---------- Botão fixo (celular) ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246,240,228,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.is-visible { transform: translateY(0); }

/* ---------- Telas maiores ---------- */
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .inline-cta { flex-direction: row; justify-content: space-between; align-items: center; padding: 18px 22px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .hero__in { grid-template-columns: 1.1fr .9fr; padding-top: 48px; padding-bottom: 56px; }
  .hero__art { margin-top: 0; }
  .hero__frame { max-width: 440px; }
  .hello { display: none; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sticky { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
