*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-family: Ubuntu, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: #0b2239;
}

:root {
  --hero-bg: url("../img/home/hero-bg.png");
}

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

/* Header */
.site-header {
  position: relative;
  top: 0;
  z-index: 1000;
  margin-bottom: -120px;
}

.ft-container--logo-only {
  justify-content: center;
  padding: 28px 20px;
}

.ft-container--logo-only .ft-brand img {
  width: 220px;
  max-width: 80vw;
}

.hdr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: auto;
  width: 220px;
  max-width: 100%;
  display: block;
}

nav.primary-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #eaf1f8;
  font-weight: 400;
  letter-spacing: 0.2px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.15s ease, transform 0.15s ease;
  font-size: 18px;
}

.nav-list li:last-child a {
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 10px 16px;
}

.nav-list a:hover {
  background: #ffffff0f;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid #ffff;
  padding: 8px;
  border-radius: 10px;
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menu-toggle .bar {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #eaf1f8;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.18s ease,
    top 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), bottom 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.menu-toggle .bar:nth-child(1) {
  top: 11px;
}

.menu-toggle .bar:nth-child(2) {
  top: 19px;
}

.menu-toggle .bar:nth-child(3) {
  top: 27px;
}

.menu-toggle.is-active .bar:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  nav.primary-nav {
    position: fixed;
    top: 64px;
    right: 14px;
    bottom: auto;
    left: 14px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 28px 80px #00000073;
    height: auto;
    min-height: 180px;
    z-index: 1100;
  }

  nav.primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 14px;
  }

  .nav-list a {
    color: #000;
    font-size: 16px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  color: #f1f3f5;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #000000b3, #0000008c 40%, #00000059 60%, #0000008c),
    var(--hero-bg) center / cover no-repeat;
  background-color: #0000001a;
  filter: saturate(110%);
  z-index: 0;
  margin-left: -5px;
}

.hero__grid {
  align-self: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  z-index: 10;
  position: relative;
}

@media (max-width: 1800px) {
  .hero__grid {
    padding: 96px 20px 72px;
  }
}

.hero__left {
  align-self: center;
}

.hero__title {
  font-weight: 900;
  line-height: 1.35;
  font-size: 3.25rem;
  letter-spacing: 2px;
  margin: 8px 0 18px;
  text-transform: uppercase;
  color: #fff;
}

.hero__title-line {
  display: block;
}

.highlight {
  color: #e5ff51;
  font-size: inherit;
}

.hero__subtitle {
  font-size: 18px;
  color: #fff;
  max-width: 720px;
}

.hero__panel {
  width: 100%;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.hero__card--form[hidden] {
  display: none !important;
}

.hero__cta[hidden] {
  display: none !important;
}

.hero__card {
  background: #e5e7eb;
  color: #1b1f28;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 28px 80px #00000073;
  padding: 32px;
}

.card__title {
  font-size: 24px;
  line-height: 32px;
  margin: 4px 2px 20px;
  font-weight: 400;
  color: #000;
}

.card__title strong {
  font-weight: 700;
}

.card__form {
  display: grid;
  gap: 20px;
}

.card__form span {
  font-size: 13.5px;
  color: #363636;
}

.inp {
  width: 90%;
  height: 48px;
  border-radius: 12px;
  padding: 8px 14px;
  border: 2px solid #dfe3ea;
  background: #f4f6fa;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 16px;
  text-transform: uppercase;
}

.inp::placeholder {
  color: #a3adbb;
  font-weight: 700;
}

.inp:focus {
  outline: 0;
  border-color: #8ec5ff;
  box-shadow: 0 0 0 3px #8ec5ff59;
}

.chk {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 6px;
  font-size: 14px;
  color: #363636;
  cursor: pointer;
}

.chk input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #000;
}

.chk a {
  color: #363636;
  text-underline-offset: 2px;
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-weight: 500;
  font-size: 18px;
  margin: 20px 0;
  text-decoration: none;
  background: #d1d5db;
  color: #fff;
  cursor: not-allowed;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s, filter 0.2s;
  box-shadow: none;
  box-sizing: border-box;
}

.btn[disabled],
.btn.is-disabled {
  background: #d1d5db;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
  pointer-events: none;
}

.btn:not(.is-disabled):not([disabled]) {
  background: #000;
  color: #e5ff51;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 18px 40px #00000040;
}

.btn:not(.is-disabled):not([disabled]):hover {
  filter: brightness(1.05);
}

/* Realizar Consulta — após .btn para não ser sobrescrito */
.hero__cta .btn.btn--consultar {
  background: #000;
  color: #e5ff51;
  cursor: pointer;
  pointer-events: auto;
  margin: 0;
  max-width: 100%;
  width: 100%;
  min-height: 132px;
  height: auto;
  padding: 34px 40px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 18px;
  line-height: 1.15;
  border: 4px solid #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 0;
  box-shadow:
    0 0 32px rgba(229, 255, 81, 0.55),
    0 28px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero__cta .btn.btn--consultar:hover {
  background: #000;
  color: #e5ff51;
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.08);
  border-color: #ffffff;
  box-shadow:
    0 0 42px rgba(229, 255, 81, 0.7),
    0 32px 68px rgba(0, 0, 0, 0.6);
}

.hero__cta .btn.btn--consultar:active {
  transform: translateY(0) scale(0.995);
}

.card__link {
  text-align: center;
  margin-top: 12px;
}

.card__link a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr 380px;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 50px;
    padding: 80px 12px !important;
  }

  .hero__right {
    order: 2;
  }

  .hero__left {
    order: 1;
  }

  .hero__title {
    font-size: 2.75rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 1.35rem;
    letter-spacing: 1px;
    line-height: 1.4;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .brand img {
    width: 70%;
    max-width: 180px;
  }

  .hero__card {
    padding: 20px 12px;
  }

  .hero__right {
    order: 2;
    margin-left: -2px;
  }

  .hero__cta .btn.btn--consultar {
    min-height: 104px;
    padding: 26px 24px;
    font-size: 22px;
    letter-spacing: 0.8px;
    border: 3px solid #ffffff;
    outline-width: 1px;
  }
}

/* Support */
.support {
  margin-top: 0;
  color: #000;
}

.support__toggle {
  width: 100%;
  background: #111;
  color: #fff;
  border: 0;
  padding: 0;
  display: block;
  cursor: pointer;
  border-top: 1px solid #393939;
}

.support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.support__container strong {
  font-size: 20px;
  font-weight: 700;
}

.support__container .chev {
  margin-left: auto;
  transition: transform 0.18s ease;
}

.support__toggle[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.support__panel {
  background: #e5e7eb;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.support__panel[hidden] {
  display: none;
}

.support__inner {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 20px;
}

.acc {
  margin: 0;
  padding: 16px 0 24px;
}

.acc__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.acc__item:last-child {
  border-bottom: none;
}

.acc__btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  cursor: pointer;
}

.acc__btn span {
  font-weight: 800;
  color: #000;
  letter-spacing: 0.2px;
  font-size: 20px;
}

.acc__btn .chev {
  transition: transform 0.18s ease;
}

.acc__btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.acc__content {
  padding: 2px 8px 18px;
}

.acc__content[hidden] {
  display: none;
}

.acc__link {
  display: inline-block;
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 2px;
  word-break: break-word;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .support__container {
    padding: 16px;
  }

  .acc {
    padding: 8px 14px 18px;
  }
}

/* Footer */
.site-footer {
  background: #363636;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #e9edf2;
}

.ft-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ft-brand img {
  height: auto;
  width: 200px;
  max-width: 100%;
  display: block;
}

.ft-logos {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.ft-logos img {
  height: 22px;
  width: auto;
  opacity: 0.9;
  filter: grayscale(1) contrast(1.05) brightness(0.96);
  transition: opacity 0.15s ease;
}

.ft-logos img:hover {
  opacity: 1;
}

.ft-logo-eco {
  margin-top: -10px;
}

.ft-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ft-social {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ft-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e9edf2;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.ft-social a:hover {
  opacity: 1;
}

.ft-cnpj {
  font-size: 12px;
  color: #e9edf2;
  opacity: 0.75;
  margin: 0;
  text-align: center;
}

.ft-social svg {
  width: 24px;
  height: 24px;
}

.ft-social a:first-child svg {
  transform: scale(1.2);
}

@media (max-width: 720px) {
  .ft-container {
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .ft-brand img {
    width: 120px;
  }

  .ft-center {
    order: 2;
  }

  .ft-logos {
    order: 3;
    gap: 16px;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .ft-logos img {
    height: 18px;
  }

  .ft-cnpj {
    font-size: 10px;
    max-width: 200px;
    text-align: center;
  }
}

/* Login modal */
.login-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.login-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #0000007a;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.login-modal__card {
  position: relative;
  width: min(450px, 92vw);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px #00000073;
  padding: 40px 30px;
}

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

.lm-field {
  position: relative;
}

.lm-field input {
  width: 95%;
  height: 60px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font: 400 18px/1 Ubuntu, system-ui, sans-serif;
  color: #000;
  outline: none;
}

.lm-field input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px #00000014;
}

.lm-field--password input {
  border-color: #d7deea;
}

.lm-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  border-radius: 8px;
}

.lm-eye:hover {
  background: #0000000f;
}

.lm-forgot {
  margin: -4px 0 6px;
  text-align: right;
}

.lm-forgot a {
  color: #9ca3af;
  text-decoration: underline;
  font-size: 14px;
}

.lm-primary {
  height: 60px;
  border: 0;
  border-radius: 10px;
  font-weight: 400;
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, filter 0.2s;
}

.lm-primary:disabled {
  background: #9ca3af;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

.lm-primary:not(:disabled) {
  background: #000;
  color: #e5ff51;
  cursor: pointer;
  box-shadow: 0 18px 40px #00000040;
}

.lm-primary:not(:disabled):hover {
  filter: brightness(1.02);
}

.lm-sep {
  text-align: center;
  color: #4b5563;
  font-size: 16px;
  margin: 32px 0 0;
}

.lm-secondary {
  height: 60px;
  border-radius: 10px;
  border: 1.8px solid #111;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.lm-secondary:hover {
  background: #fafafa;
}

@media (max-width: 520px) {
  .login-modal__card {
    padding: 20px;
    border-radius: 12px;
    width: min(280px, 92vw);
  }

  .lm-field input {
    height: 48px;
    width: 90%;
  }

  .lm-primary,
  .lm-secondary {
    height: 48px;
  }
}

@media (max-width: 768px) {
  .login-modal__card {
    width: min(300px, 92vw);
  }
}

/* App download banner */
.app-download-banner {
  display: none;
}

@media (max-width: 768px) {
  .app-download-banner {
    display: block;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #f0f0f0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px #00000014;
  }

  .app-download-banner[hidden] {
    display: none !important;
  }

  .app-download-banner__content {
    min-height: 72px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 16px 0 52px;
    position: relative;
  }

  .app-download-banner__close {
    position: absolute;
    left: 14px;
    top: 45%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #1d1d1d;
    cursor: pointer;
    padding: 0;
    font-weight: 100;
  }

  .app-download-banner__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #101010;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-download-banner__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .app-download-banner__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .app-download-banner__text strong {
    font-size: 12px;
    line-height: 1.2;
    color: #1d1d1d;
    font-weight: 700;
  }

  .app-download-banner__text span {
    font-size: 12px;
    line-height: 1.2;
    color: #1d1d1d;
    font-weight: 400;
    margin-top: 2px;
  }

  .app-download-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: #c3e30e;
    color: #0c1013;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle .bar {
    transition: transform 0.15s ease, opacity 0.1s linear;
  }
}
