/* ===== TOKENS — Digipix DS v2 ===== */
:root {
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --paper: #fbf8f3;
  --card: #ffffff;
  --cream: #f8ecdc;
  --ink: #16140f;
  --ink-2: #3a3833;
  --ink-3: #6b6660;
  --line: #e4dfd4;
  --g100: #f0ece2;
  --g300: #cdc7b8;
  --action: #f3911d;
  --action-hover: #d77a0d;
  --action-soft: #fdebd2;
  --accent: #2b3340;
  --rule-default: 1px solid var(--line);
  --rule-soft: 1px solid var(--g100);
  --rule-inverse: 1px solid rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --motion: 200ms var(--ease);
  --motion-card: 320ms var(--ease);
  --container: 1280px;
  --lift: -2px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 i,
h1 em,
h2 i,
h2 em,
h3 i,
h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
p {
  margin: 0;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 145, 29, 0.32);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 600px) {
  .container {
    padding: 0 32px;
  }
}
@media (min-width: 1100px) {
  .container {
    padding: 0 48px;
  }
}
section {
  padding: 56px 0;
}
@media (min-width: 768px) {
  section {
    padding: 80px 0;
  }
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.eyebrow--brand {
  color: var(--action-hover);
}

/* ===== 1. TOPBAR (nanobar) — igual à referência ===== */
.topbar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 10px 16px;
  max-width: 100% !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: var(--rule-inverse);
}
.topbar a {
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.topbar a:hover {
  color: var(--paper);
}
.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-campaign-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--action);
  padding: 2px 8px;
  border: 1px solid var(--action);
  margin-right: 6px;
}
.topbar-cupom {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--action);
  padding: 2px 8px;
}
@media (max-width: 600px) {
  .topbar {
    padding: 8px 14px;
    font-size: 12px;
    line-height: 1.3;
  }
  .topbar-inner {
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
  }
  .topbar-link-secondary {
    display: none;
  }
}

/* ===== 2. HEADER ===== */
.header--profissional--nanobar,
header {
  display: none;
}
.header-lp {
  display:block;
  background: var(--paper);
  border-bottom: var(--rule-default);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.header-logo img {
  height: 26px;
  display: block;
}
.header-cta {
  background: var(--action);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border: 1px solid var(--action);
  transition:
    background var(--motion),
    border-color var(--motion);
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
}

/* ===== 3. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--motion),
    border-color var(--motion),
    color var(--motion),
    transform var(--motion);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--action);
  color: #fff;
  border-color: var(--action);
}
.btn-primary:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-on-dark:hover {
  background: #fff;
  color: var(--ink);
}

/* ===== 4. HERO — fullbleed com BG + scrim ===== */
.hero {
  position: relative;
  background: var(--cream);
  border-bottom: var(--rule-default);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 480px;
}
@media (min-width: 768px) {
  .hero {
    min-height: 540px;
  }
}
@media (min-width: 1024px) {
  .hero {
    min-height: 600px;
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(22, 20, 15, 0.8) 0%,
    rgba(22, 20, 15, 0.58) 32%,
    rgba(22, 20, 15, 0.22) 58%,
    rgba(22, 20, 15, 0) 78%
  );
}
@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(22, 20, 15, 0.42) 0%,
      rgba(22, 20, 15, 0.62) 52%,
      rgba(22, 20, 15, 0.82) 100%
    );
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 20px;
}
@media (min-width: 600px) {
  .hero-inner {
    padding: 64px 32px;
  }
}
@media (min-width: 1024px) {
  .hero-inner {
    padding: 88px 48px;
  }
}
.hero-content {
  max-width: 600px;
}
.hero-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--action);
  margin: 0 0 18px;
}
.hero-headline {
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 20px;
  max-width: 15ch;
  text-shadow: 0 1px 16px rgba(22, 20, 15, 0.25);
}
.hero-headline i,
.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.94;
  margin: 0 0 26px;
  max-width: 46ch;
  text-shadow: 0 1px 12px rgba(22, 20, 15, 0.25);
}
.hero-sub strong {
  color: var(--paper);
  font-weight: 600;
}
.hero-sub .hl {
  color: var(--action);
  font-weight: 800;
  font-size: 1.08em;
}
/* cupom — frase com o código em caixa de outline (estilo print de referência) */
.hero-cupom {
  font-size: clamp(0.95rem, 1.3vw, 17px);
  color: var(--cream);
  margin: 0;
  text-shadow: 0 1px 12px rgba(22, 20, 15, 0.25);
}
.hero-cupom .cod {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  border: 1.5px solid var(--action);
  background: rgba(243, 145, 29, 0.18);
  padding: 6px 14px;
  margin-left: 4px;
}

/* ===== 5. TRUST STRIP (benefícios) — divisória logo após o hero ===== */
.trust-strip {
  background: var(--card);
  border-bottom: var(--rule-default);
  padding: 22px 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 22px;
  border-right: var(--rule-soft);
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.trust-item:last-child {
  border-right: none;
}
.trust-item strong {
  color: var(--ink);
  font-weight: 600;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
  color: var(--action);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
  }
  .trust-item {
    border-right: none;
    padding: 4px 12px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.35;
  }
  .trust-item svg {
    width: 17px;
    height: 17px;
  }
  .trust-item strong {
    display: block;
  }
}

/* ===== 6. CATALOG (slices por categoria) ===== */
.catalog-section {
  background: var(--paper);
  padding-top: 40px;
  padding-bottom: 0;
}
.catalog-section .catalog-row:last-child {
  padding-bottom: 16px;
}
.catalog-intro {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto 32px;
}
.catalog-intro .eyebrow {
  margin-bottom: 14px;
}
.section-title {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.section-title i,
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.cupom-hl {
  color: var(--action);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* cada categoria = bloco com divisória forte entre si */
.catalog-row {
  padding: 48px 0;
}
.catalog-row:first-of-type {
  padding-top: 8px;
}
.catalog-row + .catalog-row {
  border-top: var(--rule-default);
}
.catalog-row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--action);
}
.catalog-row-title {
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 24px);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.catalog-row-title i,
.catalog-row-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.catalog-row-sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}
.catalog-row-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1.5px solid var(--action);
  padding-bottom: 2px;
}
.catalog-row-link:hover {
  color: var(--action);
}

/* grid/carrossel de produtos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  /* grids normais (não-carrossel) viram swipe no mobile */
  .catalog-row:not(.is-carousel) .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    scroll-padding-inline: 20px;
    padding-inline: 20px;
    margin-inline: -20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .catalog-row:not(.is-carousel) .product-grid::-webkit-scrollbar {
    display: none;
  }
  .catalog-row:not(.is-carousel) .product-card {
    flex: 0 0 66%;
  }
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: var(--rule-default);
  overflow: hidden;
  color: inherit;
  transition:
    transform var(--motion-card),
    border-color var(--motion-card),
    box-shadow var(--motion-card);
  scroll-snap-align: start;
}
@media (max-width: 600px) {
  .product-card {
    flex: 0 0 66%;
  }
}
.product-card:hover {
  transform: translateY(var(--lift));
  border-color: var(--ink);
  box-shadow: 0 12px 32px rgba(22, 20, 15, 0.08);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--g100);
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 480ms var(--ease);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.03);
}
.badge-aniversario {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  z-index: 1;
  background: var(--action);
  color: #fff;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
  border-top: var(--rule-soft);
}
.product-eyebrow {
  display: none;
}
.product-name {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 5px;
}
.product-name i,
.product-name em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.product-meta {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.product-prices {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-line-de {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price-prefix {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.product-price-old {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
}
.price-line-por {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--action);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* carrossel — slices com +4 itens (setas só no desktop, swipe no mobile) */
.carousel {
  position: relative;
}
.carousel-viewport {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.carousel-viewport::-webkit-scrollbar {
  display: none;
}
.carousel-viewport > .product-card {
  flex: 0 0 264px;
  scroll-snap-align: start;
}
@media (max-width: 600px) {
  .carousel-viewport > .product-card {
    flex: 0 0 70%;
  }
}
.arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 20, 15, 0.1);
  transition:
    border-color var(--motion),
    color var(--motion);
}
.arrow:hover {
  border-color: var(--action);
  color: var(--action);
}
.arrow.prev {
  left: -16px;
}
.arrow.next {
  right: -16px;
}
@media (max-width: 1023px) {
  .arrow {
    display: none;
  }
}

/* ===== 7. CUPOM — slice próprio (passo a passo) ===== */
.howto {
  background: var(--accent);
  color: #fff;
  padding-top: 32px;
}
@media (min-width: 768px) {
  .howto {
    padding-top: 40px;
  }
}
.howto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .howto-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.howto h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 34px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.howto h2 i,
.howto h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.howto p.lede {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 46ch;
}
.howto-cupom {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(243, 145, 29, 0.6);
}
.howto-cupom .cod {
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--action);
  padding: 14px 22px;
  font-size: 19px;
}
.howto-cupom .cp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  padding: 0 18px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--motion);
}
.howto-cupom .cp:hover {
  background: rgba(255, 255, 255, 0.1);
}
.howto-cupom .cp svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}
.howto-cupom.copied .cp {
  color: #9ff0b0;
}
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.howto-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: var(--rule-inverse);
}
.howto-step:first-child {
  border-top: none;
}
.howto-step .n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--action);
  flex-shrink: 0;
  width: 40px;
}
.howto-step h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.howto-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.howto-step code {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

/* ===== 8. INFO ÚTEIS — visual distinto do cupom ===== */
.info {
  background: var(--paper);
  border-top: var(--rule-default);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--rule-default);
  background: var(--card);
}
@media (max-width: 760px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
.info-card {
  padding: 28px 26px;
  border-left: var(--rule-default);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-card:first-child {
  border-left: none;
}
@media (max-width: 760px) {
  .info-card {
    border-left: none;
    border-top: var(--rule-default);
  }
  .info-card:first-child {
    border-top: none;
  }
}
.info-card .ic {
  width: 32px;
  height: 32px;
  color: var(--action);
  margin-bottom: 4px;
}
.info-card .ic svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
  fill: none;
  stroke: currentColor;
}
.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.info-card p {
  font-size: 14px;
  color: var(--ink-3);
  flex: 1;
  margin: 0;
}
.info-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--action);
  padding-bottom: 2px;
  align-self: flex-start;
}
.info-card a:hover {
  color: var(--action);
}

/* ===== 9. CLOSING ===== */
.closing {
  background: var(--cream);
  border-top: var(--rule-default);
  text-align: center;
  padding: 80px 0 88px;
}
.closing .eyebrow {
  color: var(--action-hover);
  margin-bottom: 16px;
}
.closing-quote {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  max-width: 28ch;
}
.closing-quote i,
.closing-quote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.closing-sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 auto 30px;
}

/* ===== 10. REGULAMENTO + FOOTER ===== */
.legal {
  padding: 34px 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.8;
  border-top: var(--rule-default);
}

/* usar o footer padrão home Pro */
.footer {
  display: none;
}

/* ===== reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== TIPOGRAFIA — garante Outfit/Newsreader mesmo embutida no template do site.
   O template aplica Montserrat globalmente (ex.: html{font-family:Montserrat}), então
   forçamos Outfit em TODA a página com seletor universal + !important. ===== */
html body,
html body * {
  font-family: var(--font-sans) !important;
}
/* Reafirma a serifa (Newsreader) nos destaques em itálico — especificidade > html body * */
html body .hero-headline i, html body .hero-headline em,
html body .section-title i, html body .section-title em,
html body .catalog-row-title i, html body .catalog-row-title em,
html body .product-name i, html body .product-name em,
html body .howto h2 i, html body .howto h2 em,
html body .closing-quote i, html body .closing-quote em,
html body .howto-step .n {
  font-family: var(--font-serif) !important;
}
