:root {
  --brand-yellow: #ffbf00;
  --brand-green: #0aa614;
  --brand-blue: #0014d2;
  --brand-navy: #010326;
  --brand-white: #ffffff;
  --radius: 0.625rem;
  --font-family-base: "Inter", sans-serif;
  --font-family-title: "Space Grotesk", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--brand-white);
  color: var(--brand-navy);
  font-family: var(--font-family-base);
  -webkit-font-smoothing: antialiased;
}

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

strong {
  font-weight: 900;
}

/* Display / headline style ---------------------------------- */
.display {
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

/* Page shell ------------------------------------------------- */
.page {
  margin: 0 auto;
}

/* ============================ HERO ============================ */
.hero-wrap {
  position: relative;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem 1.5rem;
  background: var(--brand-yellow);
}

.hero-eyebrow {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-family-title);
  font-weight: 700;
}

.hero-title {
  margin: 0;
  color: var(--brand-green);
  font-family: var(--font-family-title);
  font-weight: 700;
}

.hero-title-main {
  display: block;
  margin-top: 0.25rem;
  font-size: 3rem;
  white-space: nowrap;
}

.hero-sub {
  margin-top: 1.5rem;
  margin-bottom: 0;
  max-width: 17rem;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--brand-navy);
  font-weight: 500;
}

.hero-cta-block {
  margin-top: 0.625rem;
  max-width: 28rem;
}

.badge-cashback {
  border-radius: 0.75rem;
  background: var(--brand-blue);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  color: var(--brand-white);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  border-radius: 0.5rem;
  background: var(--brand-green);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--brand-white);
  text-decoration: none;
  transition: transform 0.15s ease;
  font-weight: 500;
  outline: none;
}

.btn-primary svg {
  width: 1rem;
  height: 1rem;
  color: #f2bb16;
}

/* Hero media ------------------------------------------------- */
.hero-media {
  position: relative;
  min-height: 26.25rem;
  background: url("assets/americanas_background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
}

.hero-media img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 2;
  max-width: 400px;
  margin: auto;
}

.stamp {
  position: absolute;
  top: 2rem;
  right: 1rem;
  width: 6rem;
}

/* Badges ----------------------------------------------------- */
.burst {
  position: relative;
  display: block;
  object-fit: contain;
}

.burst-lightning {
  display: none;
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.burst-brasilidade {
  position: absolute;
  bottom: 15rem;
  left: 0.5rem;
  width: 8rem;
  height: 8rem;
  z-index: 2;
}

/* ====================== COMO PARTICIPAR ====================== */
.steps-section {
  background: var(--brand-green);
  padding: 3.5rem 1.5rem;
}

.steps-grid {
  display: grid;
}

.bzinho {
  width: 14rem;
  margin: 0 auto;
}

.logos {
  height: 1.75rem;
  width: auto;
}

.steps-title {
  margin: 1.25rem 0 0;
  font-size: 2.25rem;
  color: var(--brand-yellow);
  font-family: var(--font-family-title);
}

.step-cards {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.card {
  border-radius: 1.25rem;
  background: var(--brand-blue);
  padding: 1rem;
}

.card-label {
  display: flex;
  border-radius: 1.25rem;
  background: var(--brand-yellow);
  padding: 0.25rem 0.75rem;
  font-size: 1.375rem;
  color: var(--brand-blue);
  width: 100%;
  min-height: 2.25rem;
  align-items: center;
}

.card-body {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-body img,
.card-body svg {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.card-body p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1;
  color: var(--brand-white);
}

.card-body br {
  display: none;
}

.card-final {
  margin-top: 1rem;
}

.card-final .card-body img {
  width: 4rem;
  height: 4rem;
}

/* ======================== TERMOS / MAPA ======================== */
.terms-section {
  background: var(--brand-blue);
  padding: 4rem 1.5rem;
}

.terms-inner {
  max-width: 70rem;
  margin: 0 auto;
}

.terms-title {
  margin: 0;
  font-size: 2.1875rem;
  color: var(--brand-yellow);
  font-weight: 800;
}

.terms-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.terms-list h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--brand-white);
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.terms-list p {
  margin: 0.25rem 0 0;
  font-size: 17px;
  font-style: italic;
  line-height: 1.3;
  color: var(--brand-white);
  font-weight: 500;
  font-style: italic;
}

.divider {
  margin: 3.5rem 0;
  border: 0;
  border-top: 1px solid var(--brand-yellow);
}

.participe-title {
  margin: 0;
  font-size: 40px;
  color: var(--brand-yellow);
  font-family: var(--font-family-title);
}

.participe-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.participe-grid img {
  width: 100%;
  max-width: 25rem;
}

.participe-grid p {
  margin: 0;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--brand-white);
  font-weight: 500;
}

.participe-grid br {
  display: none;
}

/* ========================== FOOTER ========================== */
.site-footer {
  background: var(--brand-yellow);
  padding: 1.25rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--brand-green);
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 1.25rem;
}

/* ========================= RESPONSIVE ========================= */
@media (min-width: 640px) {
  .hero-copy {
    padding-left: 12rem;
  }
  .hero-eyebrow {
    font-size: 1.875rem;
  }
  .hero-title-main {
    font-size: 3.75rem;
  }
  .badge-cashback {
    font-size: 1.875rem;
  }
  .stamp {
    width: 7rem;
  }
  .burst-brasilidade {
    width: 10rem;
    height: 10rem;
  }
  .steps-section {
    padding: 3.5rem 2.5rem;
  }
  .steps-title {
    font-size: 3rem;
  }
  .step-cards {
    grid-template-columns: repeat(3, minmax(0, max-content));
  }
  .terms-section {
    padding: 4rem 2.5rem;
  }
  .participe-title {
    font-size: 3.75rem;
  }
  .participe-grid {
    grid-template-columns: repeat(2, minmax(0, 450px));
    gap: 1rem;
  }
  .burst-lightning {
    display: block;
    top: 0.5rem;
    left: -11rem;
    width: 25rem;
    height: 25rem;
  }
  .card-body br {
    display: block;
  }
  .card-final {
    max-width: 42.9375rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .hero-copy {
    border-top-right-radius: 5%;
    padding: 5rem 2.5rem 5rem 10rem;
    min-width: 50rem;
  }
  .hero-media {
    min-height: 38.75rem;
  }
  .hero-media img.hero-photo {
    margin: 0;
    width: 100%;
    max-width: 34.375rem;
  }
  .steps-section {
    padding-left: 5rem;
  }
  .steps-grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
  .bzinho {
    width: 100%;
    max-width: 25rem;
    margin: 0;
    margin-left: auto;
  }
  .terms-section {
    padding-left: 10rem;
    padding-right: 5rem;
  }
  .participe-grid {
    grid-template-columns: repeat(2, minmax(0, 450px));
    gap: 0;
  }
  .participe-grid br {
    display: block;
  }
  .burst-lightning {
    top: 4rem;
    left: -13rem;
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    padding-left: 12rem;
  }
  .hero-title-main {
    font-size: 4.5rem;
  }
}

@media (min-width: 1500px) {
  .hero-copy {
    min-width: 850px;
    padding-left: 30%;
  }
  .burst-lightning {
    top: 3rem;
    left: -15rem;
    width: 30rem;
    height: 30rem;
  }
}
@media (min-width: 1650px) {
  .hero-copy {
    min-width: 950px;
    padding-left: 30%;
  }
  .terms-section {
    padding-left: 0rem;
  }
}
@media (min-width: 1850px) {
  .hero-copy {
    min-width: 1000px;
    padding-left: 40%;
  }

  .burst-lightning {
    top: 0;
    left: -12rem;
    width: 35rem;
    height: 35rem;
  }
}
@media (min-width: 2000px) {
  .hero-copy {
    min-width: 1200px;
    padding-left: 50%;
  }
  .hero-media {
    min-height: 700px;
  }
}
@media (min-width: 2300px) {
  .hero-copy {
    min-width: 1400px;
  }
  .terms-section {
    padding-right: 15rem;
  }
}
