/* Landing pública de Endins */

.public-page {
  --guest-nav-height: 4.25rem;
  --endins-teal: #00b4be;
  --endins-teal-dark: #008a92;
  --endins-ink: #1f2933;
  --endins-muted: #5c6b76;
  --endins-line: #e4eaee;
  --endins-paper: #f5f7f8;
  --public-content-max: 78rem;
  --public-content-x: clamp(1.25rem, 4vw, 2.5rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: #fff;
  color: var(--endins-ink);
}

.public-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.guest-landing {
  overflow-x: clip;
}

.guest-hero,
.guest-story,
.guest-week,
.guest-field,
.guest-follow,
.guest-pilot,
.guest-close {
  width: min(100% - (var(--public-content-x) * 2), var(--public-content-max));
  margin-inline: auto;
}

.guest-kicker {
  margin: 0 0 0.75rem;
  color: var(--endins-teal-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0 3.25rem;
}

.guest-hero__copy {
  max-width: 40rem;
}

.guest-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.guest-hero__lead {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--endins-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

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

.guest-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.guest-button--primary {
  background: var(--endins-teal);
  color: #fff;
}

.guest-button--primary:hover {
  background: var(--endins-teal-dark);
  color: #fff;
}

.guest-button--quiet {
  border: 1px solid #c9d3da;
  background: #fff;
  color: var(--endins-ink);
}

.guest-button--quiet:hover {
  border-color: var(--endins-teal-dark);
  color: var(--endins-teal-dark);
}

.guest-hero__stage {
  position: relative;
  padding-bottom: 2.25rem;
}

.guest-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--endins-line);
  border-radius: 1.25rem;
  background: var(--endins-paper);
  box-shadow: 0 24px 60px rgba(31, 41, 51, 0.08);
}

.guest-frame img,
.guest-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.guest-frame--hero {
  height: 34rem;
}

.guest-frame--hero img {
  width: 1152px;
  max-width: none;
  height: auto;
}

.guest-phone {
  width: min(100%, 17.5rem);
  margin: 0;
  padding: 0.65rem;
  border-radius: 2rem;
  background: #1c242b;
  box-shadow: 0 22px 50px rgba(31, 41, 51, 0.22);
}

.guest-phone img {
  border-radius: 1.45rem;
}

.guest-phone--overlay {
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  width: 15.5rem;
}

.guest-phone--large {
  width: min(100%, 20rem);
}

.guest-story,
.guest-follow {
  padding-bottom: 3.75rem;
}

.guest-section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.guest-section-head h2,
.guest-field h2,
.guest-close h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.guest-step {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  gap: 2.75rem 3.25rem;
  align-items: center;
  margin-top: 3.35rem;
}

.guest-step:not(.guest-step--flip) {
  padding: 2.5rem 2.15rem;
  border-radius: 1.75rem;
  background: color-mix(in srgb, var(--endins-teal) 8%, #fff);
}

.guest-step--flip {
  margin-top: 2.85rem;
}

.guest-step--flip + .guest-step {
  margin-top: 2.85rem;
}

.guest-step--flip .guest-step__copy {
  order: 2;
}

.guest-step .guest-step__index {
  margin: 0 0 0.7rem;
  color: var(--endins-teal);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.guest-step h3,
.guest-week h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.guest-step p,
.guest-week p,
.guest-field__copy p {
  margin: 0.75rem 0 0;
  color: var(--endins-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.guest-step .guest-phone {
  justify-self: center;
}

.guest-week {
  padding: 0.25rem 0 1.5rem;
}

.guest-week__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--endins-line);
  list-style: none;
}

.guest-week__track li {
  color: var(--endins-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.guest-week__track strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--endins-ink);
  font-size: 0.95rem;
  font-weight: 720;
}

.guest-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.25rem 0;
  border-block: 1px solid var(--endins-line);
}

.guest-field__stage {
  position: relative;
  width: 28rem;
  height: 38rem;
  justify-self: end;
}

.guest-phone--back,
.guest-phone--front {
  position: absolute;
  margin: 0;
}

.guest-phone--back {
  top: 3.25rem;
  left: 0;
  width: 15.25rem;
  z-index: 0;
}

.guest-phone--front {
  top: 0;
  right: 0;
  width: 18rem;
  z-index: 1;
}

.guest-field__copy {
  max-width: 34rem;
}

.guest-follow .guest-section-head {
  margin-inline: auto;
  margin-bottom: 1.15rem;
  text-align: center;
}

.guest-frame--player {
  max-width: 56rem;
  margin-inline: auto;
}

.guest-pilot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 2.15rem 1.5rem 1.85rem;
  border: 1px solid var(--endins-line);
  border-radius: 1.75rem;
  background: var(--endins-paper);
  text-align: center;
}

.guest-pilot h2 {
  margin: 0 0 1.35rem;
  color: var(--endins-teal-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guest-pilot__clubs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guest-pilot__clubs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 8.5rem;
}

.guest-pilot__crest {
  width: 6.25rem;
  height: auto;
}

.guest-pilot__clubs span {
  color: var(--endins-ink);
  font-size: 0.95rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guest-close__whatsapp {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.guest-close__whatsapp a {
  color: var(--endins-teal-dark);
  font-weight: 650;
  text-decoration: none;
}

.guest-close__whatsapp a:hover {
  color: var(--endins-teal);
}

.guest-close {
  margin-bottom: 3.5rem;
  padding: 3rem 1.5rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse at top, rgba(0, 180, 190, 0.16), transparent 58%),
    #f3f7f8;
  text-align: center;
}

.guest-close h2 {
  max-width: 18em;
  margin-inline: auto;
}

.public-page .app-navbar {
  border-bottom: 1px solid var(--endins-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.public-page .app-navbar__inner {
  max-width: var(--public-content-max);
  min-height: var(--guest-nav-height);
  padding-block: 0.75rem;
  padding-inline: var(--public-content-x);
}

.public-page .app-navbar__logo {
  width: 2.25rem;
  height: 2.25rem;
}

.public-page .app-navbar__brand-text {
  color: var(--endins-ink);
  font-size: 1.125rem;
}

.public-page .app-navbar__mobile {
  display: none;
}

.public-page .app-navbar__nav--desktop {
  display: flex;
}

.public-page .app-navbar__nav .app-navbar__link:not(.app-navbar__link--primary) {
  display: none;
}

.public-page .app-navbar__link--primary {
  border: 1px solid #c9d3da;
  background: transparent;
  color: var(--endins-ink);
  min-height: 2.375rem;
  padding-inline: 1.125rem;
  font-weight: 650;
}

.public-page .app-navbar__link--primary:hover {
  border-color: var(--endins-teal-dark);
  background: transparent;
  color: var(--endins-teal-dark);
}

.public-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--endins-line);
  background: #fff;
}

.public-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--public-content-max);
  margin: 0 auto;
  padding: 1.5rem var(--public-content-x);
}

.public-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.public-footer__logo {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  object-fit: contain;
}

.public-footer__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--endins-ink);
}

.public-footer__tagline {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--endins-muted);
}

.public-footer__copy {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--endins-muted);
}

@media (max-width: 1024px) {
  .guest-frame--hero {
    height: 26rem;
  }

  .guest-frame--hero img {
    width: 980px;
  }

  .guest-phone--overlay {
    width: 12.5rem;
  }

  .guest-step {
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .guest-hero {
    display: grid;
    grid-template-columns: minmax(16rem, 0.4fr) minmax(0, 0.6fr);
    align-items: start;
    gap: 1.5rem 2.75rem;
    padding: 2.5rem 0 2.75rem;
  }

  .guest-hero__copy {
    max-width: none;
    padding-top: 2.25rem;
  }

  .guest-hero__title {
    font-size: clamp(2.45rem, 3vw, 3.4rem);
  }

  .guest-hero__stage {
    padding-bottom: 2.7rem;
  }

  .guest-frame--hero {
    height: auto;
  }

  .guest-frame--hero img {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .guest-phone--overlay {
    right: 0.85rem;
    bottom: 0;
    width: 11rem;
    height: auto;
    overflow: visible;
    padding: 0.5rem;
  }
}

@media (max-width: 1199px) {
  .guest-hero {
    padding-top: 2.75rem;
  }

  .guest-hero__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    padding-bottom: 0;
  }

  .guest-phone--overlay {
    position: static;
    width: min(100%, 18rem);
  }

  .guest-frame--hero {
    width: 100%;
    height: auto;
  }

  .guest-frame--hero img {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .guest-step,
  .guest-step--flip .guest-step__copy,
  .guest-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .guest-step {
    margin-top: 2.75rem;
  }

  .guest-step:not(.guest-step--flip) {
    padding: 1.85rem 1.25rem;
  }

  .guest-week__track {
    grid-template-columns: 1fr 1fr;
  }

  .guest-field {
    margin-bottom: 2.5rem;
    padding-block: 2rem;
  }

  .guest-field__stage {
    align-self: center;
    width: min(100%, 24rem);
    height: 32rem;
  }

  .guest-phone--back {
    width: 13rem;
  }

  .guest-phone--front {
    width: 16rem;
  }
}

@media (max-width: 640px) {
  .public-page {
    --public-content-x: 1rem;
  }

  .guest-hero__title {
    font-size: 2.35rem;
  }

  .guest-frame--hero {
    height: 15rem;
  }

  .guest-frame--hero img {
    width: 500px;
    margin-top: -6.25rem;
  }

  .guest-week__track {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .guest-field__stage {
    width: 100%;
    height: 30rem;
  }

  .guest-phone--back {
    top: 4.5rem;
    width: 11.25rem;
  }

  .guest-phone--front {
    width: min(72%, 15.5rem);
  }

  .guest-pilot {
    padding: 1.75rem 1.15rem 1.5rem;
  }

  .guest-pilot__crest {
    width: 4.75rem;
  }

  .guest-step:not(.guest-step--flip) {
    padding: 1.5rem 1rem;
    border-radius: 1.25rem;
  }

  .guest-close {
    padding: 2.5rem 1.25rem;
  }

  .public-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-block: 1.625rem;
  }

  .public-footer__brand {
    flex-direction: column;
    align-items: center;
  }
}
