:root {
  --color-black: #0a0a0a;
  --color-off-white: #e5e5e5;
  --color-yellow: #f9b234;
  --color-blue: #0d4d9d;
  --color-green: #076633;
  --color-gray: #585857;
  --color-card: #f6f2ea;
  --color-line: rgba(10, 10, 10, 0.1);
  --shadow-soft: 0 16px 34px rgba(10, 10, 10, 0.08);
  --shadow-strong: 0 20px 44px rgba(10, 10, 10, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --font-sans: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-off-white);
  color: var(--color-black);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.hero__content,
.section,
.footer,
.topbar {
  width: min(100% - 1.25rem, 74rem);
  margin: 0 auto;
}

.site-shell {
  width: 100%;
}

.promo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: hidden;
  height: 1.8rem;
  background: var(--color-green);
  color: var(--color-off-white);
}

.promo-bar__track {
  display: flex;
  align-items: center;
  gap: 6rem;
  width: max-content;
  min-width: 200%;
  height: 100%;
  padding-left: 2rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee 16s linear infinite;
}

.promo-bar__dot {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--color-off-white);
  flex: 0 0 auto;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  position: relative;
  min-height: calc(100svh - 1.8rem);
  color: var(--color-off-white);
  width: 100%;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.68)),
    linear-gradient(90deg, rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.18));
}

.topbar,
.hero__content {
  position: relative;
  z-index: 2;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 14px 30px rgba(10, 10, 10, 0.2);
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__right {
  justify-content: flex-end;
}

.topbar__brand {
  justify-self: center;
}

.topbar__mark {
  width: clamp(5rem, 20vw, 8rem);
}

.nav-link,
.icon-button {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-off-white);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1rem;
  cursor: url("assets/images/icon-star.png") 16 16, pointer;
}

.nav-link {
  font-size: 0.92rem;
}

.icon-button {
  position: relative;
  width: 3.2rem;
  padding: 0;
}

.icon-button img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.icon-button strong {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.3rem;
  min-height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-green);
  color: var(--color-off-white);
  font-size: 0.74rem;
}

.hero__content {
  min-height: calc(100svh - 1.8rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

.hero__kicker,
.section__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__kicker {
  color: var(--color-off-white);
}

.hero__title,
.section__title,
.modal__title,
.drawer__title,
.locked-gate__title {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero__title {
  max-width: 15ch;
  font-size: clamp(2.7rem, 10vw, 5.8rem);
}

.hero__subtitle {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(229, 229, 229, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.button,
.product-card__cta,
.story-form__submit,
.drawer__checkout,
.form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
  cursor: url("assets/images/icon-star.png") 16 16, pointer;
}

.button:hover,
.product-card__cta:hover:not(:disabled),
.story-form__submit:hover:not(:disabled),
.drawer__checkout:hover:not(:disabled),
.form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button--primary,
.product-card__cta,
.story-form__submit,
.drawer__checkout,
.form__submit {
  background: var(--color-green);
  color: var(--color-off-white);
  box-shadow: 0 12px 24px rgba(7, 102, 51, 0.18);
}

.button--secondary {
  background: var(--color-blue);
  color: var(--color-off-white);
  box-shadow: 0 10px 22px rgba(13, 77, 157, 0.18);
}

.section {
  padding: 2rem 0 0;
}

.section__eyebrow {
  color: var(--color-green);
}

.section__title {
  font-size: clamp(1.75rem, 7vw, 3.2rem);
  color: var(--color-black);
}

.section__title--small,
.modal__title,
.drawer__title,
.locked-gate__title {
  font-size: clamp(1.45rem, 6vw, 2.05rem);
}

.section__copy,
.locked-gate__copy,
.manifesto-card p,
.story-form__user,
.footer__copy,
.modal__copy,
.drawer__copy,
.drawer__user,
.product-card__description,
.product-card__stock {
  line-height: 1.68;
  color: rgba(10, 10, 10, 0.78);
}

.section-head {
  margin-bottom: 1rem;
}

.section--catalog {
  position: relative;
  padding-top: 1.25rem;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
}

.catalog-grid.is-locked {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

.locked-gate {
  position: absolute;
  inset: 1.25rem 0 auto;
  z-index: 3;
  margin: 0 auto;
  width: min(100%, 32rem);
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: var(--shadow-strong);
}

.locked-gate.is-hidden {
  display: none;
}

.product-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-card);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 440ms ease,
    opacity 440ms ease,
    box-shadow 220ms ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #d9d2c3;
}

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

.product-card__media img[data-product-id="5-estrelas"] {
  object-position: center 36%;
  transform: scale(1.06);
}

.product-card__badge-group {
  position: absolute;
  inset: 0.9rem 0.9rem auto;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__content {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.product-card__title {
  font-size: 1.35rem;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.product-card__price s {
  color: rgba(10, 10, 10, 0.42);
}

.product-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-chip {
  padding: 0.48rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(13, 77, 157, 0.08);
  border: 1px solid rgba(13, 77, 157, 0.12);
  font-size: 0.78rem;
}

.size-picker {
  display: grid;
  gap: 0.55rem;
}

.size-picker__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.64);
}

.size-picker__buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.size-button {
  min-height: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: var(--color-black);
  cursor: url("assets/images/icon-star.png") 16 16, pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.size-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(13, 77, 157, 0.38);
}

.size-button.is-active {
  background: var(--color-blue);
  color: var(--color-off-white);
  border-color: var(--color-blue);
}

.size-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-card__stock.is-soldout {
  color: var(--color-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__cta:disabled,
.drawer__checkout:disabled,
.story-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.36;
  box-shadow: none;
}

.manifesto-card,
.story-form {
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: var(--shadow-soft);
}

.manifesto-card__link {
  margin-top: 1rem;
}

.account-actions {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  margin-top: 1rem;
}

.button--danger {
  background: var(--color-black);
  color: var(--color-off-white);
  min-height: 2.15rem;
  width: auto;
  padding: 0.5rem 0.78rem;
  font-size: 0.9rem;
  box-shadow: none;
}

.manifesto-card p {
  margin: 0;
}

.manifesto-card p + p {
  margin-top: 1rem;
}

.story-form {
  display: grid;
  gap: 0.9rem;
}

.form__field {
  display: grid;
  gap: 0.35rem;
}

.form__field span {
  font-size: 0.92rem;
  font-weight: 600;
}

.form__field input,
.form__field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.form__field textarea {
  resize: vertical;
  min-height: 9rem;
}

.drawer__field {
  margin-bottom: 0.25rem;
}

.modal,
.drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.modal.is-open,
.drawer.is-open {
  display: block;
}

.modal__overlay,
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(4px);
}

.modal__dialog,
.drawer__panel,
.image-modal__dialog {
  position: absolute;
  background: var(--color-off-white);
  box-shadow: var(--shadow-strong);
}

.modal__dialog {
  top: 50%;
  left: 50%;
  width: min(100% - 1rem, 28rem);
  transform: translate(-50%, -50%);
  border-radius: 28px;
  padding: 1.2rem;
}

.drawer__panel {
  top: 0;
  right: 0;
  width: min(100%, 28rem);
  height: 100%;
  border-radius: 28px 0 0 28px;
  padding: 1.2rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
}

.image-modal__dialog {
  top: 50%;
  left: 50%;
  width: min(100% - 1rem, 64rem);
  max-height: min(88svh, 56rem);
  transform: translate(-50%, -50%);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.96);
}

.image-modal__dialog img {
  width: 100%;
  height: 100%;
  max-height: min(88svh, 56rem);
  object-fit: contain;
}

.modal__close,
.drawer__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.06);
  color: var(--color-black);
  cursor: url("assets/images/icon-star.png") 16 16, pointer;
}

.modal__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.modal__tab {
  flex: 1;
  min-height: 2.9rem;
  border-radius: 999px;
  background: rgba(13, 77, 157, 0.08);
  color: var(--color-black);
  cursor: url("assets/images/icon-star.png") 16 16, pointer;
}

.modal__tab.is-active {
  background: var(--color-blue);
  color: var(--color-off-white);
}

.form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.form__feedback {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--color-blue);
}

.drawer__items {
  margin-top: 1rem;
  overflow: auto;
  display: grid;
  gap: 0.75rem;
  padding-right: 0.2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.cart-item__image {
  width: 4.2rem;
  height: 4.8rem;
  border-radius: 14px;
  object-fit: cover;
  background: #d9d2c3;
}

.cart-item__body {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  min-width: 0;
}

.cart-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.cart-item__meta {
  display: grid;
  gap: 0.12rem;
  color: rgba(10, 10, 10, 0.76);
}

.cart-item__remove {
  justify-self: start;
  margin-top: 0.15rem;
  padding: 0;
  background: none;
  color: var(--color-blue);
  cursor: url("assets/images/icon-star.png") 16 16, pointer;
  font-size: 0.95rem;
  line-height: 1.1;
}

.drawer__footer {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.empty-state {
  padding: 1rem 0;
  color: rgba(10, 10, 10, 0.68);
}

.footer {
  padding: 2.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.footer__brand {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.footer__stars {
  display: flex;
  gap: 0.18rem;
  align-items: center;
}

.footer__stars img {
  width: 0.88rem;
  height: 0.88rem;
  object-fit: contain;
}

.footer__copy {
  max-width: 26rem;
  margin: 0.55rem 0 0;
}

.footer__links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

@media (max-width: 719px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .topbar__left {
    gap: 0.45rem;
  }

  .topbar__left .nav-link:last-child {
    display: none;
  }

  .hero__content {
    padding-bottom: 1.5rem;
  }

  .hero__title {
    max-width: 11ch;
  }
}

.manifesto-layout {
  width: min(100% - 1.25rem, 58rem);
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.manifesto-back {
  margin-top: 1rem;
}

.manifesto-page__hero {
  padding: 2rem 0 1.25rem;
}

.manifesto-card--page {
  background: rgba(255, 255, 255, 0.72);
}

@media (min-width: 720px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
