:root {
  --yellow: #ffd601;
  --black: #000000;
  --menu-bg: #0d0d0d;
  --ink: #333333;
  --line: #e8e8e8;
  --footer-bg: #171717;
  --footer-alt: #4a4a4a;
  --copy-bg: #474747;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #d9d9d9;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 398px;
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  color: var(--ink);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  flex: none;
  fill: currentColor;
}

.ico--14 { width: 14px; height: 14px; }
.ico--15 { width: 15px; height: 15px; }
.ico--16 { width: 16px; height: 16px; }
.ico--18 { width: 18px; height: 18px; }
.ico--20 { width: 20px; height: 20px; }
.ico--22 { width: 22px; height: 22px; }
.ico--24 { width: 24px; height: 24px; }

/* ---------- topbar (46px) ---------- */

.topbar {
  display: flex;
  align-items: stretch;
  height: 46px;
  background: var(--menu-bg);
}

.topbar__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #f2f2f2;
}

.topbar__item + .topbar__item {
  border-left: 1px solid #2a2a2a;
}

.topbar__item b {
  color: var(--yellow);
}

.topbar__icon {
  flex: none;
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ---------- header (80px) ---------- */

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: var(--black);
}

.header__logo {
  width: 100%;
  padding: 0 24px;
}

.header__logo img {
  display: block;
  width: 80%;
  max-width: 416px;
  height: auto;
  margin: 0 auto;
}

/* ---------- busca (48px) ---------- */

.searchbar {
  display: flex;
  align-items: stretch;
  height: 48px;
  background: #1a1a1a;
}

.searchbar__menu {
  flex: none;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #111111;
}

.searchbar__field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 14px 0 16px;
}

.searchbar__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: 0;
  outline: none;
  color: #e8e8e8;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.searchbar__field input::placeholder {
  color: #8d8d8d;
}

.searchbar__field button {
  color: #d0d0d0;
}

/* ---------- hero / carrossel ---------- */

.hero {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #0a0a0a;
  overflow: hidden;
}

.hero__track {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero__slide.is-active {
  opacity: 1;
}

/* ---------- seções ---------- */

.section {
  padding: 40px 16px 0;
}

.section__title {
  font-size: 20px;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 24px;
}

.section__title--rule {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section__title--rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e2e2;
}

/* ---------- carrossel de produtos ---------- */

.carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  height: 5px;
}

.carousel::-webkit-scrollbar-track {
  background: #efefef;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

.card {
  position: relative;
  flex: 0 0 73%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--yellow);
}

.card__badge {
  position: absolute;
  top: 14px;
  left: 0;
  z-index: 2;
  padding: 5px 11px;
  background: #3a3a3a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__media {
  display: block;
  aspect-ratio: 1 / 1;
  padding: 14px;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__body {
  padding: 14px 14px 18px;
}

.card__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.card__installment {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #a0a0a0;
}

.card__installment b {
  color: #f5c400;
  font-weight: 700;
}

.card__price {
  margin-top: 5px;
  font-size: 22px;
  font-weight: 700;
  color: #3a3a3a;
}

.card__actions {
  display: flex;
  align-items: stretch;
  height: 54px;
  border-top: 1px solid var(--line);
  color: #8a8a8a;
}

.card__actions button {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card__actions .card__buy {
  flex: 1 1 auto;
  border-left: 1px solid var(--line);
  padding-right: 0.05em;
}

/* ---------- botões ---------- */

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 3px;
  padding: 13px 22px;
}

.btn-yellow--block {
  display: block;
  width: 76%;
  margin: 22px auto 0;
  padding: 19px 12px;
}

.btn-yellow--sm {
  padding: 11px 22px;
  font-size: 11px;
}

/* ---------- compra certa ---------- */

.pitch {
  padding: 120px 20px 58px;
  text-align: center;
}

.pitch__title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f1f1f;
}

.pitch__text {
  max-width: 320px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: #737373;
}

.pitch__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 320px);
  min-height: 52px;
  margin-top: 32px;
  padding: 14px 18px;
  border-radius: 4px;
  background: #25d366;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.24);
}

.pitch__cta img {
  flex: none;
  display: block;
  width: 21px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ---------- instagram ---------- */

.instagram {
  background: #f7f7f7;
  padding: 44px 16px 38px;
  text-align: center;
}

.section__title--center {
  text-align: center;
}

.instagram__handle {
  font-size: 19px;
  font-weight: 700;
  color: #3a3a3a;
}

.instagram .btn-yellow {
  margin-top: 20px;
}

/* ---------- frete (164px) ---------- */

.shipping {
  margin: 40px 0 0;
  padding: 34px 16px;
  border-bottom: 4px solid var(--yellow);
  background: var(--black);
  color: #ffffff;
  text-align: center;
}

.shipping__icon {
  display: block;
  width: 42px;
  height: 27px;
  margin: 0 auto 14px;
  fill: none;
  stroke: currentColor;
}

.shipping__title {
  font-size: 19px;
  font-weight: 700;
}

.shipping__sub {
  margin-top: 5px;
  font-size: 12px;
  color: #cfcfcf;
}

/* ---------- footer ---------- */

.footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 44px 16px 40px;
}

.footer__social {
  display: flex;
  gap: 20px;
  color: #e6e6e6;
  margin-bottom: 36px;
}

.footer__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer__title:not(:first-of-type) {
  margin-top: 44px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 26px;
}

.footer__nav a {
  font-size: 12px;
  line-height: 1.5;
  color: #d8d8d8;
}

.paylist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pay {
  height: 22px;
  min-width: 34px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #ffffff;
  border-radius: 3px;
  color: #333333;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pay--visa { color: #1a1f71; }
.pay--amex { background: #2e77bc; color: #ffffff; }
.pay--elo { background: #000000; color: #ffffff; font-size: 10px; }
.pay--hiper { background: #b3131b; color: #ffffff; }
.pay--diners { color: #0079be; }
.pay--mp { background: #00b1ea; color: #ffffff; font-size: 10px; }
.pay--correios { background: #ffcc29; color: #00417a; }

.pay--mc i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eb001b;
}

.pay--mc i:last-child {
  background: #f79e1b;
  margin-left: -5px;
}

.pay--boleto i {
  width: 1px;
  height: 12px;
  background: #333333;
}

.pay--boleto i:nth-child(2),
.pay--boleto i:nth-child(4) {
  width: 3px;
}

.pay--nuvemshop {
  width: 76px;
  height: 42px;
  padding: 3px 8px;
  background: #ffffff;
}

.paylist--shipping .pay {
  width: 76px;
  height: 42px;
}

.pay--nuvemshop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.newsletter input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  background: var(--footer-alt);
  border: 0;
  outline: none;
  color: #ffffff;
  font-size: 12px;
}

.newsletter input::placeholder {
  color: #a8a8a8;
}

.newsletter button {
  margin-top: 6px;
  padding: 13px 26px;
}

.contact {
  list-style: none;
}

.contact li {
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #dcdcdc;
}

/* ---------- copyright ---------- */

.copyright {
  background: var(--copy-bg);
  padding: 30px 16px 36px;
  text-align: center;
  color: #c9c9c9;
}

.copyright p {
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.copyright__marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 10px;
  color: #b5b5b5;
}

.copyright__marks b {
  color: #d0d0d0;
}

.copyright__brand {
  display: block;
  width: 80px;
  height: 20px;
  object-fit: contain;
}

/* ---------- whatsapp ---------- */

.whatsapp {
  position: fixed;
  z-index: 30;
  bottom: 16px;
  right: max(12px, calc(50% - 187px));
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.whatsapp img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  html {
    background: #ffffff;
  }

  body {
    width: 100%;
    max-width: none;
  }

  .whatsapp {
    right: 12px;
  }
}
