.hero-section,
.section-light,
.section-dark,
.cta-section,
.site-footer {
  position: relative;
}

.hero-section {
  min-height: auto;
  padding: 64px 0 72px;
  overflow: clip;
}

.section-dark {
  background: var(--bg-primary);
}

.section-light {
  background: var(--bg-secondary);
}

.cta-section {
  background: var(--surface-cta);
  color: var(--accent-dark);
  padding: 148px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 5.4fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0;
  text-align: left;
  display: grid;
  align-content: start;
}

.hero-body,
.section-body,
.cta-body {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.85;
  font-weight: 300;
  color: var(--text-body);
}

.hero-body {
  max-width: 34rem;
  margin: 22px 0 0;
}

.feature-bullets {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-feature);
  line-height: 1.7;
}

.feature-bullets li::before {
  content: "—";
  color: var(--accent-primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 24px;
}

.hero-audience-note {
  max-width: 34rem;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-stage-glow {
  position: absolute;
  inset: auto 10% 10% 10%;
  height: 40%;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 172, 124, 0.22),
    rgba(255, 172, 124, 0.08) 38%,
    transparent 72%
  );
  filter: blur(30px);
  pointer-events: none;
}

.hero-product-image {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  max-height: min(72vh, 700px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.38));
}

.hero-orb {
  position: absolute;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.16;
}

.hero-orb-left {
  top: 40px;
  left: -8vw;
  background: radial-gradient(circle, var(--accent-primary), transparent 70%);
}

.hero-orb-right {
  right: -10vw;
  bottom: -10vw;
  background: radial-gradient(circle, #a54a29, transparent 68%);
}

.section-shell {
  padding: 132px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.showcase-marquee {
  --showcase-gap: 18px;
  --showcase-duration: 48s;
  --showcase-translate: -50%;
  position: relative;
  margin-top: 56px;
  overflow: hidden;
}

.showcase-marquee::before,
.showcase-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(28px, 8vw, 92px);
  pointer-events: none;
}

.showcase-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.showcase-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.showcase-track {
  display: flex;
  gap: var(--showcase-gap);
  width: max-content;
  animation: showcase-scroll var(--showcase-duration) linear infinite;
  animation-play-state: paused;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.showcase-marquee.is-ready.is-in-view .showcase-track {
  animation-play-state: running;
}

.showcase-strip {
  flex: 0 0 auto;
  display: flex;
  gap: var(--showcase-gap);
}

.showcase-card {
  flex: 0 0 clamp(138px, 14vw, 180px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(250, 243, 235, 0.06);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.showcase-image {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 940;
  background: rgba(250, 243, 235, 0.06);
  object-fit: cover;
  display: block;
}

@keyframes showcase-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--showcase-translate), 0, 0);
  }
}

.section-footnote {
  margin: 0;
  color: var(--text-body);
  line-height: 1.8;
}

.section-footnote {
  margin-top: 24px;
  color: var(--text-muted);
}

#como-funciona .section-body {
  max-width: none;
  margin-top: 20px;
}

.howworks-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  max-width: 1160px;
  margin: 56px auto 0;
  padding-bottom: 12px;
  align-items: start;
}

.howworks-board::before {
  content: none;
}

.howworks-column {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "card media"
    "bullets media";
  align-items: center;
  gap: 18px 32px;
  padding: 8px 0 10px;
}

.howworks-card {
  grid-area: card;
  max-width: none;
  width: min(100%, 29rem);
  padding-right: 0;
  display: grid;
  gap: 8px;
  justify-self: start;
}

.step-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 0;
  color: var(--accent-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.step-index::before {
  content: "Etapa";
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.howworks-card h3 {
  max-width: none;
  font-size: clamp(2rem, 2.45vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.howworks-column .feature-bullets {
  grid-area: bullets;
  margin-top: 0;
  gap: 9px;
  width: min(100%, 29rem);
  max-width: none;
  justify-self: start;
}

.howworks-column .feature-bullets li {
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.56;
}

.howworks-media {
  grid-area: media;
  margin: 0;
  position: relative;
  min-height: 468px;
  display: grid;
  place-items: end center;
  align-self: end;
  justify-self: stretch;
  padding: 8px 0 0;
}

.howworks-media::before {
  content: "";
  position: absolute;
  inset: 14% 2% 6%;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 172, 124, 0.18),
    rgba(255, 172, 124, 0.06) 42%,
    transparent 72%
  );
  filter: blur(30px);
  pointer-events: none;
}

.howworks-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 650px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.howworks-column-start .howworks-media img {
  width: min(100%, 630px);
}

.howworks-column-core .howworks-media img {
  width: min(100%, 630px);
}

.howworks-column-finish .feature-bullets li:last-child {
  color: var(--text-heading);
}

.howworks-column-finish .howworks-media {
  min-height: 500px;
}

.howworks-column-finish .howworks-media::before {
  inset: 12% 0 6%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 172, 124, 0.22),
    rgba(255, 172, 124, 0.08) 44%,
    transparent 72%
  );
}

.howworks-column-finish .howworks-media img {
  width: min(100%, 700px);
}

.cta-shell {
  text-align: center;
}

.cta-shell h2 {
  max-width: 14ch;
  margin: 0 auto;
  color: var(--bg-primary);
}

.cta-shell em {
  color: var(--accent-dark);
}

.cta-body {
  max-width: 42rem;
  margin: 26px auto 0;
  color: rgba(20, 15, 5, 0.78);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 0;
  padding: 22px 34px;
  border-radius: 18px;
  background: var(--bg-primary);
  color: var(--text-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 220ms ease, transform 220ms ease;
}

.cta-button:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid rgba(67, 57, 34, 0.6);
  padding: 34px 0 40px;
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 24px;
  align-items: center;
}

.brand-footer {
  margin-bottom: 12px;
  gap: 12px;
}

.footer-tagline,
.footer-meta {
  margin: 0;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-heading);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-body {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-audience-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stage {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .showcase-card {
    flex-basis: clamp(132px, 18vw, 172px);
  }

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

@media (max-width: 980px) {
  #como-funciona .section-body {
    max-width: none;
    margin-top: 18px;
  }

  .howworks-board {
    gap: 22px;
    margin-top: 36px;
  }

  .howworks-board::before {
    display: none;
  }

  .howworks-column {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card"
      "bullets"
      "media";
    max-width: 760px;
    gap: 18px;
    padding: 18px 0 12px 0;
  }

  .howworks-column::before {
    content: none;
  }

  .howworks-column-core {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card"
      "bullets"
      "media";
  }

  .howworks-column-core .howworks-card,
  .howworks-column-core .feature-bullets {
    justify-self: start;
  }

  .howworks-media,
  .howworks-column-finish .howworks-media {
    min-height: 360px;
  }

  .howworks-media img,
  .howworks-column-start .howworks-media img,
  .howworks-column-core .howworks-media img,
  .howworks-column-finish .howworks-media img {
    width: min(100%, 620px);
  }
}

@media (max-width: 760px) {
  .hero-section {
    min-height: auto;
    padding: 32px 0 48px;
  }

  .section-shell,
  .cta-section {
    padding: 92px 0;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }

  h1 {
    max-width: 10ch;
    margin: 0 auto;
    font-size: clamp(2.25rem, 11vw, 3.6rem);
    line-height: 0.98;
  }

  .hero-body {
    max-width: 30rem;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .showcase-marquee {
    --showcase-gap: 14px;
    margin-top: 34px;
  }

  .showcase-card {
    flex-basis: clamp(118px, 32vw, 150px);
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 18px;
  }

  .hero-audience-note {
    max-width: 32rem;
  }

  .hero-product-image {
    width: min(100%, 560px);
    max-height: 44vh;
  }

  .howworks-board {
    gap: 22px;
  }

  .howworks-column {
    gap: 16px;
    padding: 16px 0 10px 0;
  }

  .howworks-column::before {
    content: none;
  }

  .howworks-media img,
  .howworks-column-start .howworks-media img,
  .howworks-column-core .howworks-media img,
  .howworks-column-finish .howworks-media img {
    width: min(100%, 520px);
  }

  .howworks-card h3 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  #como-funciona .section-body {
    max-width: none;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    max-width: 10ch;
    margin: 0 auto;
    font-size: clamp(2.15rem, 9vw, 3.4rem);
  }

  .hero-body {
    max-width: 28rem;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .howworks-board {
    gap: 20px;
  }

  .howworks-column {
    padding: 16px 0 8px 0;
  }

  .howworks-column::before {
    content: none;
  }

  .howworks-media img,
  .howworks-column-start .howworks-media img,
  .howworks-column-core .howworks-media img,
  .howworks-column-finish .howworks-media img {
    width: min(100%, 460px);
  }

  .hero-stage {
    width: min(100%, 520px);
  }

  .hero-product-image {
    width: min(100%, 520px);
    max-height: 38vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-marquee {
    overflow-x: auto;
  }

  .showcase-marquee::before,
  .showcase-marquee::after {
    display: none;
  }

  .showcase-track {
    animation: none;
  }
}
