:root {
  --red: #e30613;
  --red-deep: #b70410;
  --red-ink: #8a0410; /* texto sobre amarelo / acentos pequenos */
  --yellow: #ffcb05;
  --gold: #f5a100;
  --wa: #25d366; /* verde padrão WhatsApp */
  --wa-deep: #1aa851; /* sombra do botão WhatsApp */
  --white: #ffffff;
  --cream: #fff8ef; /* seção alternada suave */
  --pale-yellow: #fff4cf; /* banda de calor (manifesto) */
  --ink: #2a1712; /* corpo sobre branco */
  --ink-soft: #6f4a3f; /* corpo secundário */
  --on-red: #ffffff; /* texto sobre vermelho */
  --on-red-soft: #fff4f2;
  --line: rgba(138, 4, 16, 0.14); /* fio vermelho suave */
  --line-strong: rgba(138, 4, 16, 0.22);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Nunito", "Segoe UI", Arial, sans-serif;
  --display: "Baloo 2", "Nunito", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.5;
  overflow-x: hidden;
}

main,
section {
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 40;
  transform: translateY(-160%);
  background: var(--red);
  color: var(--on-red);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
    background 180ms var(--ease), border-color 180ms var(--ease);
}

.btn svg {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.4;
}

.wa-ico {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn-lg {
  min-height: 54px;
  padding: 0.85rem 1.5rem;
  font-size: 1.18rem;
}

/* Primária no fundo branco: vermelho sólido */
.btn-solid {
  background: var(--red);
  color: var(--on-red);
  box-shadow: 0 6px 0 var(--red-deep);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--red-deep);
}

/* Verde padrão WhatsApp — só no CTA do header (a sticky nav tem regra própria) */
.header-cta {
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 6px 0 var(--wa-deep);
}

.header-cta:hover,
.header-cta:focus-visible {
  box-shadow: 0 9px 0 var(--wa-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--red);
  background: rgba(227, 6, 19, 0.06);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  margin-left: 10px;
}

.header-cta span {
  display: none;
}

/* ---------- Hero ---------- */
/* Mobile: banner no BACKGROUND, aspect-ratio = proporção do banner (860x1230) →
   imagem INTEIRA preenche o hero de cima a baixo, sem faixa de cor. O texto+botões
   ficam sobre o topo creme do próprio banner (compactos, acima do rosto). */
.hero {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(0.55rem, 2vw, 0.9rem);
  /* Hero um pouco mais alto que a imagem → banner ancorado embaixo desce um pouco
     (rosto abaixo dos botões), imagem INTEIRA, e o topo mostra mais creme do próprio
     banner (#fefae7 = mesma cor, sem emenda). */
  aspect-ratio: 860 / 1380;
  padding: clamp(1.1rem, 4.5vw, 2rem) clamp(1.1rem, 5vw, 5rem) 0;
  background: url("assets/banner-mobile.webp") center bottom / 100% auto no-repeat,
    #fefae7;
  overflow: hidden;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
}

.chip svg {
  width: 1.05em;
  height: 1.05em;
  stroke-width: 2.6;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 8vw, 4.6rem);
  line-height: 1;
  color: var(--red);
  text-wrap: balance;
}

.hero h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 0.42rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--yellow);
}

.hero p {
  max-width: 44ch;
  margin-top: 0.5rem;
  font-size: clamp(0.95rem, 3.2vw, 1.3rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

/* Mobile: botões compactos p/ o texto caber no creme, acima do rosto do banner */
.hero-actions .btn {
  min-height: 46px;
  padding: 0.58rem 1rem;
  font-size: 1rem;
}

/* ---------- Quick panel (atalhos) ---------- */
.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 1 linha só, inclusive no mobile */
  gap: 0.5rem;
  padding: clamp(1.2rem, 5vw, 2rem) clamp(1rem, 5vw, 5rem);
  background: var(--cream);
}

.quick-item {
  display: flex;
  flex-direction: column; /* ícone em cima, texto embaixo — cabe em 3 colunas */
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 76px;
  padding: 0.75rem 0.4rem;
  border-radius: 14px;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--red-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.82rem, 3.2vw, 1rem);
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.quick-item:hover,
.quick-item:focus-visible {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(227, 6, 19, 0.12);
}

.quick-item svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--red);
  stroke-width: 2.4;
}

/* ---------- Promoções: banner rotativo ---------- */
.promos {
  padding: clamp(3rem, 9vw, 5.5rem) clamp(1.1rem, 5vw, 5rem);
  background: var(--white);
  color: var(--ink);
}

.promos .section-head {
  margin-inline: auto;
  text-align: center;
  max-width: 46ch;
}

.promo-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto 1.4rem; /* pequena margem embaixo */
}

/* Trilha arrastável: swipe nativo no mobile + scroll-snap */
.promo-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(227, 6, 19, 0.16);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.promo-track::-webkit-scrollbar {
  display: none;
}

.promo-track:active {
  cursor: grabbing;
}

.promo-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  gap: 0.7rem;
  justify-items: start;
  align-content: center;
  min-height: 216px;
  padding: clamp(1.7rem, 6vw, 2.6rem);
  background:
    radial-gradient(120% 120% at 88% 0%, rgba(255, 203, 5, 0.32), transparent 55%),
    linear-gradient(135deg, var(--red), var(--red-deep));
  color: var(--on-red);
}

.promo-kicker {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.promo-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  line-height: 1.05;
  color: var(--on-red);
}

.promo-slide p {
  max-width: 40ch;
  color: var(--on-red-soft);
  font-weight: 600;
}

.promo-slide .btn-solid {
  margin-top: 0.3rem;
  background: var(--yellow);
  color: var(--red-ink);
  box-shadow: 0 6px 0 var(--gold);
}

.promo-slide .btn-solid:hover,
.promo-slide .btn-solid:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--gold);
}

.promo-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.promo-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: width 220ms var(--ease), background 220ms var(--ease);
}

.promo-dots button[aria-current="true"] {
  width: 26px;
  background: var(--red);
}

/* ---------- Produtos em destaque ---------- */
.featured {
  padding: clamp(3rem, 9vw, 5.5rem) clamp(1.1rem, 5vw, 5rem);
  background: var(--cream);
  color: var(--ink);
}

.product-rail {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.product-card {
  flex: 0 0 auto;
  width: clamp(160px, 52vw, 200px);
  scroll-snap-align: start;
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.06);
}

.product-thumb {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  background: var(--pale-yellow);
}

.product-thumb svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--red);
  stroke-width: 2.2;
}

.product-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--red);
}

.product-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Delivery: como funciona ---------- */
.delivery {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(3rem, 9vw, 5.5rem) clamp(1.1rem, 5vw, 5rem);
  background: var(--white);
  color: var(--ink);
}

.delivery .section-head {
  text-align: center;
  max-width: 44ch;
}

.steps {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 960px;
  grid-template-columns: minmax(0, 1fr);
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 1.6rem 1.2rem 1.2rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 2px solid var(--line);
}

.step-num {
  position: absolute;
  top: -0.9rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--on-red);
  font-family: var(--display);
  font-weight: 800;
}

.step svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--red);
  stroke-width: 2.2;
}

.step strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--red-ink);
}

.step p {
  color: var(--ink-soft);
  font-weight: 600;
  max-width: 30ch;
}

/* ---------- Slogan band ---------- */
.slogan-band {
  overflow: hidden;
  padding: 0.7rem 0;
  background: var(--red);
}

.ticker {
  display: flex;
  width: max-content;
  gap: 1.4rem;
  padding-left: 100%;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 6vw, 2.6rem);
  color: var(--yellow);
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker .dot {
  color: var(--on-red);
}

/* ---------- Section head (compartilhado) ---------- */
.section-head {
  max-width: 42ch;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.section-head h2 {
  font-size: clamp(1.8rem, 6.5vw, 3.1rem);
  color: var(--red);
}

.section-head p {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  color: var(--ink-soft);
}

/* ---------- Store / location ---------- */
.store {
  display: grid;
  gap: 1.6rem;
  padding: clamp(3rem, 9vw, 6rem) clamp(1.1rem, 5vw, 5rem);
  background: var(--white);
  color: var(--ink);
}

.store-copy h2 {
  font-size: clamp(1.8rem, 6.5vw, 3rem);
  color: var(--red);
}

.store-facts {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.store-facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.store-facts svg {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--red);
  stroke-width: 2.4;
}

.store-facts a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-map {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--yellow);
}

.store-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

/* ---------- Final CTA (banda vermelha: pico de conversão) ---------- */
.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(3rem, 9vw, 5.5rem) clamp(1.1rem, 5vw, 5rem) clamp(7rem, 12vw, 8rem);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 203, 5, 0.28), transparent 55%),
    var(--red);
}

.final-cta h2 {
  font-size: clamp(2rem, 7.5vw, 3.6rem);
  color: var(--on-red);
}

.final-cta p {
  max-width: 40ch;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  color: var(--on-red-soft);
}

/* Sobre o vermelho, o botão vira amarelo */
.final-cta .btn-solid {
  margin-top: 0.6rem;
  background: var(--yellow);
  color: var(--red-ink);
  box-shadow: 0 6px 0 var(--gold);
}

.final-cta .btn-solid:hover,
.final-cta .btn-solid:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.1rem, 5vw, 5rem) 7.5rem;
  background: var(--cream);
  color: var(--ink-soft);
  border-top: 3px solid var(--yellow);
}

.footer-logo {
  height: clamp(46px, 12vw, 60px);
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-info {
  display: grid;
  gap: 0.5rem;
  max-width: 74ch;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

.footer-info a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.7rem 0.65rem 1rem;
  border-radius: 16px;
  background: var(--red);
  color: var(--on-red);
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.32);
  transform: translateY(160%);
  transition: transform 340ms var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta div {
  min-width: 0;
  line-height: 1.15;
}

.sticky-cta strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
}

.sticky-cta span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--on-red-soft);
}

.sticky-cta a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--wa); /* verde padrão WhatsApp */
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
}

.sticky-cta a svg {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.4;
}

/* ---------- Animations ---------- */
@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .header-cta span {
    display: inline;
  }

  /* Desktop: banner-desktop no background (sujeito à direita, creme à esquerda).
     Sem faixa/scrim — o texto fica sobre a área creme da própria arte. */
  .hero {
    align-content: center;
    /* Proporção EXATA do banner (1905x667) → preenche o hero sem folga no topo e
       sem corte (imagem inteira), encostando no header sem ficar na frente dele. */
    aspect-ratio: 1905 / 667;
    min-height: 0;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.1rem, 5vw, 5rem);
    background: url("assets/banner-desktop.webp") center / cover no-repeat,
      #fefae7;
    gap: clamp(1rem, 2vw, 1.6rem);
  }

  /* Texto limitado à faixa creme da esquerda (não invade o sujeito/moeda). */
  .hero-copy {
    max-width: 32rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
  }

  .hero h1::after {
    height: 0.5rem;
    margin-top: 1.1rem;
  }

  .hero p {
    margin-top: 1.3rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
  }

  .hero-actions {
    gap: 0.8rem;
    margin-top: 1.8rem;
  }

  .hero-actions .btn {
    min-height: 54px;
    padding: 0.85rem 1.5rem;
    font-size: 1.18rem;
  }

  /* Desktop: atalhos em linha horizontal (ícone + texto lado a lado) */
  .quick-item {
    flex-direction: row;
    gap: 0.55rem;
    min-height: 58px;
    font-size: 1.05rem;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .ticker {
    padding-left: 0;
    animation: none;
  }
}
