:root {
  --color-red: #e50914;
  --color-red-hover: #f6121d;
  --color-white: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.88);
  --max-width: 1240px;
  --top-spacing: clamp(22px, 4vw, 38px);
  --side-padding: clamp(20px, 6vw, 72px);
  --logo-width: clamp(160px, 18vw, 245px);
  --logo-ratio: 15 / 4;
  --input-height: 64px;
  --hero-bg: url("../assets/painel-fundo.jpg");
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #030507;
  color: var(--color-white);
}

body {
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px var(--side-padding) 92px;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.17) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 36%, rgba(0, 0, 0, 0.82) 100%);
}

.topbar {
  position: absolute;
  top: var(--top-spacing);
  left: 50%;
  width: min(var(--max-width), calc(100% - (var(--side-padding) * 2)));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--logo-width);
  aspect-ratio: var(--logo-ratio);
}

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

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

.language-button,
.login-button {
  min-height: 42px;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(7px);
  cursor: pointer;
}

.language-button__icon {
  font-size: 13px;
  transform: translateY(-1px);
}

.language-button__arrow {
  font-size: 15px;
  opacity: 0.95;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--color-red);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.25);
  transition: background 160ms ease, transform 160ms ease;
}

.login-button:hover {
  background: var(--color-red-hover);
  transform: translateY(-1px);
}

.hero__content {
  width: min(780px, 100%);
  margin-inline: auto;
  text-align: center;
  z-index: 3;
  transform: translateY(18px);
}

.hero__content h1 {
  margin: 0 0 20px;
  color: var(--color-white);
  font-size: clamp(2.55rem, 5.3vw, 5.05rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 900;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.58);
}

.hero__price {
  margin: 0 0 26px;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  line-height: 1.35;
  font-weight: 800;
  color: var(--color-muted);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
}

.hero__lead {
  margin: 0 auto 22px;
  max-width: 720px;
  color: var(--color-white);
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  line-height: 1.42;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 10px;
  width: min(720px, 100%);
  margin: 0 auto;
}

.signup-form input {
  width: 100%;
  min-height: var(--input-height);
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  color: #fff;
  background: rgba(10, 10, 12, 0.72);
  outline: none;
  backdrop-filter: blur(6px);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.signup-form input:focus {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.82);
}

.signup-form button {
  min-height: var(--input-height);
  padding: 0 34px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--color-red);
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.28);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.signup-form button span {
  display: inline-block;
  margin-left: 12px;
  font-size: 1.35em;
  font-weight: 400;
  transform: translateY(1px);
}

.signup-form button:hover {
  background: var(--color-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(229, 9, 20, 0.36);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 114px;
    padding-bottom: 80px;
    align-items: flex-start;
  }

  .topbar {
    width: calc(100% - 32px);
    gap: 14px;
  }

  .brand {
    width: min(148px, 42vw);
  }

  .topbar__actions {
    gap: 8px;
  }

  .language-button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .login-button {
    min-height: 36px;
    padding: 0 15px;
    font-size: 0.86rem;
  }

  .hero__content {
    margin-top: 108px;
    transform: none;
  }

  .hero__content h1 {
    font-size: clamp(2.1rem, 10vw, 3.35rem);
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form input,
  .signup-form button {
    min-height: 56px;
  }

  .signup-form button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .language-button__icon,
  .language-button__arrow {
    display: none;
  }

  .hero__lead {
    max-width: 320px;
  }
}


.cta-only {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
}

.main-cta {
  min-height: var(--input-height);
  min-width: 205px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 42px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--color-red);
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.28);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.main-cta span {
  display: inline-block;
  margin-left: 12px;
  font-size: 1.35em;
  font-weight: 400;
  transform: translateY(1px);
}

.main-cta:hover {
  background: var(--color-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(229, 9, 20, 0.36);
}

/* Arco rosa inferior removido */


/* Página de entrada/login */
.login-page {
  background: #050000;
  min-height: 100svh;
}

.login-screen {
  min-height: 100svh;
  color: #fff;
  background:
    radial-gradient(circle at 50% -10%, rgba(108, 20, 20, 0.98) 0%, rgba(56, 5, 7, 0.86) 34%, rgba(12, 0, 0, 0.98) 78%),
    linear-gradient(180deg, #230203 0%, #060000 74%);
}

.login-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--logo-width);
  aspect-ratio: var(--logo-ratio);
}

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

.login-box {
  width: min(440px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-bottom: 220px;
}

.login-box h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.login-box > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.35;
}

.login-form {
  display: grid;
  gap: 12px;
}

.field-group {
  position: relative;
}

.field-group label {
  position: absolute;
  left: 16px;
  top: 9px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1;
  pointer-events: none;
}

.field-group input {
  width: 100%;
  min-height: 58px;
  padding: 23px 16px 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  color: #fff;
  background: rgba(18, 18, 18, 0.72);
  outline: none;
  font-size: 1rem;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-group input::placeholder {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 500;
}

.field-group input:focus {
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 12, 0.88);
}

.login-form button {
  width: 100%;
  min-height: 56px;
  margin-top: 2px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--color-red);
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.login-form button:hover {
  background: var(--color-red-hover);
  transform: translateY(-1px);
}

.help-details {
  margin-top: 38px;
  color: #fff;
  font-size: 1rem;
}

.help-details summary {
  width: max-content;
  cursor: pointer;
  font-weight: 700;
}

.help-details p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.login-security-note {
  margin-top: 34px !important;
  width: min(100%, 390px);
  color: rgba(255, 255, 255, 0.54) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

.login-footer {
  min-height: 300px;
  margin-top: auto;
  background: #161616;
}

.login-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 70px;
  color: rgba(255, 255, 255, 0.78);
}

.login-footer__inner p {
  margin: 0 0 26px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 22px 56px;
  margin-bottom: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-language {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(20, 20, 20, 0.9);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 720px) {
  .login-header {
    min-height: 76px;
    width: calc(100% - 32px);
  }

  .login-box {
    margin-top: 28px;
    padding-bottom: 120px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 18px 28px;
  }
}

@media (max-width: 430px) {
  .login-box {
    width: calc(100% - 32px);
  }

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