:root {
  /* Paleta da marca */
  --brand-green:      #4b6747;
  --brand-brown-dark: #572a19;
  --brand-terracotta: #be5a36;
  --brand-orange:     #F19E42;
  --brand-blue:       #61a7c2;
  --brand-cream:      #e6dac0;

  /* Semântico */
  --bg:            #384e34;
  --text:          #FFFFFF;
  --muted:         rgba(255,255,255,.82);
  --card:          rgba(255,255,255,.10);
  --stroke:        rgba(255,255,255,.18);
  --surface:       rgba(255,255,255,.08);
  --surface-strong: rgba(255,255,255,.12);
  --btnText:       #2A1A0F;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ─── BARRA DE AVISO ─────────────────────────────────── */
.annbar {
  background: var(--brand-cream);
  color: var(--brand-brown-dark);
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.4;
}

.annbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.annbar__text {
  color: var(--brand-brown-dark);
}

.annbar__cta {
  color: var(--brand-terracotta);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.annbar__cta:hover {
  text-decoration: underline;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  height: 34px;
  width: auto;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: var(--btnText);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: .15s ease;
}

.header__cta:hover {
  transform: translateY(-1px);
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  padding: 56px 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(241, 158, 66, .15);
  border: 1px solid rgba(241, 158, 66, .30);
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 16px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(320px, 420px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.hero__content {
  max-width: 560px;
}

.hero__content h1 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -1.8px;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero__content p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}

/* ─── BOTÕES ─────────────────────────────────────────── */
.store-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  opacity: .96;
  transition: .15s ease;
}

.store:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.store-links--primary {
  gap: 12px;
}

.store--primary {
  padding: 14px 22px;
  background: var(--brand-orange);
  color: var(--btnText);
  border: none;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.web-access {
  margin-top: 2px;
}

.store--web {
  padding: 10px 14px;
  opacity: .9;
  border-style: dashed;
}

.store--small {
  font-size: 14px;
  padding: 8px 14px;
  opacity: .82;
}

.store--small:hover {
  opacity: 1;
}

/* ─── MOCKUP ─────────────────────────────────────────── */
.hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__media img {
  width: min(100%, 360px);
  height: auto;
  display: block;
  transform: rotate(-10deg);
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.28));
}

/* ─── SEÇÕES ─────────────────────────────────────────── */
.section {
  padding: 26px 0 40px;
}

.section--highlight {
  padding-top: 8px;
}

/* ─── CARDS BENEFÍCIOS ───────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
}

.card-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.10);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ─── COMO FUNCIONA ──────────────────────────────────── */
.section--how {
  padding-top: 8px;
}

.how-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  padding: 32px;
}

.how-eyebrow {
  color: var(--brand-terracotta);
}

.how-title {
  margin: 6px 0 20px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: var(--brand-brown-dark);
}

.how-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.how-stat {
  background: rgba(75, 103, 71, .07);
  border: 1px solid rgba(75, 103, 71, .14);
  border-radius: 16px;
  padding: 22px 24px;
}

.how-stat__value {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 10px;
}

.how-stat p {
  margin: 0;
  font-size: 15px;
  color: rgba(87, 42, 25, .72);
  line-height: 1.6;
}

.how-exclusive {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(75, 103, 71, .07);
  border: 1px solid rgba(75, 103, 71, .14);
  border-radius: 16px;
  padding: 22px 24px;
}

.how-exclusive__icon {
  font-size: 20px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.how-exclusive strong {
  display: block;
  font-size: 16px;
  color: var(--brand-brown-dark);
  margin-bottom: 6px;
}

.how-exclusive p {
  margin: 0;
  font-size: 15px;
  color: rgba(87, 42, 25, .72);
  line-height: 1.6;
}

/* ─── SEÇÃO MIGRAÇÃO ─────────────────────────────────── */
.section--migrate {
  padding-top: 8px;
}

.migrate-card {
  background: linear-gradient(135deg, #572a19 0%, #be5a36 100%);
  border-radius: 24px;
  padding: 36px 40px;
}

.migrate-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #ffffff;
  border-left: 4px solid var(--brand-orange);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
}

.migrate-alert__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.migrate-alert p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-brown-dark);
  line-height: 1.6;
}

.migrate-alert a {
  color: var(--brand-terracotta);
  font-weight: 600;
  text-decoration: none;
}

.migrate-alert a:hover {
  text-decoration: underline;
}

.popup__alert {
  background: rgba(190, 90, 54, .10);
  border: 1px solid rgba(190, 90, 54, .30);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--brand-brown-dark);
  line-height: 1.55;
  margin-bottom: 18px;
}

.migrate-card__header h2 {
  margin: 8px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.migrate-card__header p {
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.eyebrow--warm {
  color: var(--brand-cream);
  opacity: .9;
}

.migrate-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
}

.migrate-step {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  overflow: hidden;
}

.step-screenshot {
  width: 100%;
  aspect-ratio: 9 / 17;
  overflow: hidden;
}

.step-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.step-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.step-content p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

.migrate-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.migrate-support {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.migrate-support a {
  color: var(--brand-cream);
  font-weight: 600;
  text-decoration: none;
}

.migrate-support a:hover {
  text-decoration: underline;
}

/* ─── BOTÕES SOLID ───────────────────────────────────── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: var(--btnText);
  text-decoration: none;
  font-weight: 800;
  transition: .15s ease;
}

.btn-solid:hover {
  transform: translateY(-1px);
}

.btn-solid--cream {
  background: var(--brand-cream);
  color: var(--brand-brown-dark);
}

/* ─── EYEBROW VARIANTES ──────────────────────────────── */
.eyebrow--orange {
  color: var(--brand-orange);
}

.eyebrow--blue {
  color: var(--brand-blue);
}

/* ─── PROMO CUPOM ────────────────────────────────────── */
.promo-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(145deg, #f0e8d5 0%, #e6dac0 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  padding: 32px;
}

.promo-card__content h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  color: var(--brand-brown-dark);
}

.promo-card .eyebrow--orange {
  color: var(--brand-terracotta);
}

.highlight-off {
  background: var(--brand-terracotta);
  color: #fff;
  padding: 2px 10px;
  border-radius: 8px;
  display: inline-block;
}

.promo-card__content p {
  margin: 0;
  color: rgba(87, 42, 25, .75);
  line-height: 1.7;
  font-size: 15px;
  max-width: 560px;
}

.promo-card__actions {
  margin-top: 18px;
}

.promo-card .btn-solid {
  background: var(--brand-brown-dark);
  color: var(--brand-cream);
}

.promo-card .btn-solid:hover {
  background: #6b3420;
}

.promo-card__image {
  display: flex;
  justify-content: center;
}

.promo-card__image img {
  width: min(420px, 100%);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

/* ─── FESTIVAL DE CUPONS ─────────────────────────────── */
.section--coupons {
  padding-top: 8px;
}

.coupons-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  padding: 32px;
}

.coupons-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.coupons-header h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: var(--brand-brown-dark);
}

.coupons-header .eyebrow--orange {
  color: var(--brand-terracotta);
}

.coupons-header p {
  margin: 0;
  color: rgba(87, 42, 25, .65);
  font-size: 15px;
}

.coupons-card .btn-solid {
  background: var(--brand-brown-dark);
  color: var(--brand-cream);
  white-space: nowrap;
}

.coupons-card .btn-solid:hover {
  background: #6b3420;
}

.coupons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.coupon-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  transition: .2s ease;
  cursor: pointer;
}

.coupon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241,158,66,.5);
  box-shadow: 0 16px 32px rgba(0,0,0,.2);
}

.coupon-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── AJUDA ──────────────────────────────────────────── */
.help-box {
  background: linear-gradient(135deg, rgba(97,167,194,.12) 0%, rgba(97,167,194,.04) 100%);
  border: 1px solid rgba(97,167,194,.28);
  border-radius: 24px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.help-box__left h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.help-box__left p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.help-box__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  transition: .15s ease;
}

.contact-card:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-1px);
}

.contact-card__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-card span:not(.contact-card__icon):not(.contact-card__arrow) {
  font-size: 13px;
  color: var(--muted);
}

.contact-card__arrow {
  margin-left: auto;
  font-size: 18px;
  opacity: .5;
  flex-shrink: 0;
}

/* ─── POPUP ──────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: linear-gradient(145deg, #f0e8d5 0%, #e6dac0 100%);
  border-radius: 24px;
  padding: 36px 32px 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(14px);
  transition: transform .25s ease;
}

.popup-overlay.is-open .popup {
  transform: translateY(0);
}

.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  color: var(--brand-brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.popup__close:hover {
  background: rgba(0,0,0,.15);
}

.popup__eyebrow {
  color: var(--brand-terracotta);
}

.popup__title {
  margin: 8px 0 12px;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.1;
  color: var(--brand-brown-dark);
}

.popup__text {
  margin: 0 0 22px;
  font-size: 15px;
  color: rgba(87, 42, 25, .75);
  line-height: 1.65;
}

.popup__cta {
  width: 100%;
  background: var(--brand-brown-dark);
  color: var(--brand-cream);
  margin-bottom: 10px;
}

.popup__cta:hover {
  background: #6b3420;
}

.popup__dismiss {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: rgba(87, 42, 25, .5);
  cursor: pointer;
  padding: 6px;
  text-align: center;
  transition: color .15s;
}

.popup__dismiss:hover {
  color: rgba(87, 42, 25, .85);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--stroke);
  background: rgba(0,0,0,.08);
}

.footer__inner {
  padding: 18px 0;
  color: rgba(255,255,255,.75);
}

/* ─── RESPONSIVO ─────────────────────────────────────── */
@media (max-width: 900px) {
  .annbar__inner {
    flex-direction: column;
    gap: 8px;
  }

  .hero__grid,
  .promo-card {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__content h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero__content p {
    font-size: 16px;
  }

  .hero__media {
    order: initial;
    justify-content: center;
  }

  .hero__media img {
    width: min(290px, 82%);
    transform: rotate(-6deg);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .migrate-card {
    padding: 24px 20px;
  }

  .migrate-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .migrate-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    /* esconde scrollbar mas mantém funcional */
    scrollbar-width: none;
  }

  .migrate-steps::-webkit-scrollbar {
    display: none;
  }

  .migrate-step {
    flex: 0 0 72vw;
    max-width: 260px;
    scroll-snap-align: start;
  }

  .migrate-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .help-box {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 28px;
  }

  .how-stats {
    grid-template-columns: 1fr;
  }

  .how-card {
    padding: 24px 20px;
  }

  .coupons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coupons-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .coupons-card {
    padding: 24px 20px;
  }
}

