body.home-body {
  background: #f4f9ff;
  color: #07133d;
}

body.about-body {
  background: #f4f9ff;
  color: #07133d;
}

body.login-body {
  background: #f4f9ff;
  color: #07133d;
}

body.login-body .home-header-inner {
  grid-template-columns: 330px minmax(260px, 1fr) 330px;
  min-height: 112px;
  padding: 0 36px;
}

body.signup-body .home-header-inner {
  grid-template-columns: 330px minmax(260px, 1fr) 330px;
  min-height: 112px;
  padding: 0 36px;
}

body.login-body .home-header .brand-logo {
  max-width: min(320px, calc(100vw - 32px));
  width: min(320px, calc(100vw - 32px));
}

body.signup-body .home-header .brand-logo {
  max-width: min(320px, calc(100vw - 32px));
  width: min(320px, calc(100vw - 32px));
}

body.home-body .home-header .brand-logo,
body.login-body .home-header .brand-logo,
body.signup-body .home-header .brand-logo,
body.about-body .home-header .brand-logo,
body.payment-body .home-header .brand-logo,
body.plans-body .home-header .brand-logo {
  max-width: min(250px, calc(100vw - 28px)) !important;
  width: min(250px, 78vw) !important;
}

.home-header .brand-logo {
  aspect-ratio: 390 / 170;
}

.home-hero-visual,
.about-visual,
.login-vehicle,
.signup-car {
  contain: layout paint;
}

.home-hero-visual img,
.about-visual img,
.login-vehicle img,
.signup-car img {
  aspect-ratio: 16 / 9;
}

body.login-body .login-vehicle {
  display: none !important;
}

body.login-body .login-showcase {
  grid-template-areas:
    "copy"
    "features" !important;
  grid-template-columns: 1fr !important;
}

body.login-body .login-feature-stack {
  max-width: 360px;
}

/* Final responsive polish: compact, app-like proportions across marketing/auth pages. */
@media (min-width: 1024px) {
  body.home-body .home-header-inner,
  body.about-body .home-header-inner,
  body.login-body .home-header-inner,
  body.signup-body .home-header-inner {
    grid-template-columns: 250px minmax(360px, 1fr) 300px;
    max-width: 1320px;
    min-height: 78px;
    padding: 0 28px;
  }

  body.home-body .home-header .brand,
  body.about-body .home-header .brand,
  body.login-body .home-header .brand,
  body.signup-body .home-header .brand {
    min-height: 78px;
  }

  body.home-body .home-header .brand-logo,
  body.about-body .home-header .brand-logo,
  body.login-body .home-header .brand-logo,
  body.signup-body .home-header .brand-logo {
    height: auto;
    max-width: 250px;
    width: 250px;
  }

  body.home-body .home-nav .nav-link,
  body.about-body .home-nav .nav-link,
  body.login-body .home-nav .nav-link,
  body.signup-body .home-nav .nav-link {
    font-size: 0.88rem;
    min-height: 44px;
  }

  body.home-body .home-header .header-cta,
  body.about-body .home-header .header-cta,
  body.login-body .home-header .header-cta,
  body.signup-body .home-header .header-cta,
  body.home-body .home-login-button,
  body.login-body .home-login-button,
  body.signup-body .home-login-button {
    font-size: 0.9rem;
    min-height: 42px;
    min-width: 0;
    padding: 0 18px;
  }

  body.home-body .home-hero-inner {
    grid-template-columns: minmax(430px, 0.95fr) minmax(360px, 0.8fr) minmax(270px, 0.55fr);
    max-width: 1320px;
    min-height: 430px;
    padding: 26px 32px 24px;
  }

  body.home-body .home-badge {
    font-size: 0.82rem;
    margin-bottom: 12px;
    padding: 7px 13px;
  }

  body.home-body .home-hero h1 {
    font-size: clamp(2rem, 2.55vw, 2.9rem);
    line-height: 1.08;
    margin-bottom: 12px;
  }

  body.home-body .home-hero .lead {
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 500px;
  }

  body.home-body .home-feature-list {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    max-width: 500px;
  }

  body.home-body .home-feature-list .feature-item {
    min-height: 64px;
    padding: 9px 11px;
  }

  body.home-body .home-feature-list .feature-icon {
    height: 34px;
    width: 34px;
  }

  body.home-body .home-hero .button-hero {
    min-height: 44px;
    min-width: 210px;
  }

  body.home-body .home-hero .hero-actions {
    gap: 18px;
    margin-top: 12px;
  }

  body.home-body .home-hero-visual {
    align-self: center;
    margin: 0 -18px 0 0;
  }

  body.home-body .home-hero-visual img {
    height: auto;
    max-height: 270px;
    width: min(100%, 430px);
  }

  body.home-body .home-sidebar-card {
    border-radius: 12px;
    max-width: 270px;
    padding: 20px 18px;
  }

  body.home-body .sidebar-icon {
    height: 42px;
    width: 42px;
  }

  body.home-body .sidebar-item {
    gap: 12px;
  }

  body.home-body .sidebar-item h3,
  body.home-body .sidebar-item h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  body.home-body .sidebar-item p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  body.home-body .sidebar-divider {
    margin: 18px 0;
  }

  body.home-body .home-benefits-section {
    padding: 18px 32px 24px;
  }

  body.home-body .home-benefits-section .title {
    font-size: 1.45rem;
  }

  body.about-body .about-page {
    min-height: calc(100vh - 78px);
  }

  body.about-body .about-hero {
    grid-template-columns: minmax(520px, 0.95fr) minmax(360px, 0.75fr);
    max-width: 1260px;
    padding: 30px 34px 36px;
  }

  body.about-body .about-copy-panel h1 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 650px;
  }

  body.about-body .about-copy-panel p {
    font-size: 0.95rem;
    line-height: 1.58;
    max-width: 610px;
  }

  body.about-body .about-copy-panel .about-strong {
    font-size: 0.95rem;
    max-width: 610px;
    padding: 12px 16px;
  }

  body.about-body .about-visual img {
    height: auto;
    max-height: 300px;
    width: min(100%, 440px);
  }

  body.login-body .login-shell {
    gap: 34px;
    grid-template-columns: minmax(360px, 470px) minmax(360px, 430px);
    min-height: calc(100svh - 78px);
    padding: 30px 34px;
  }

  body.login-body .login-showcase-copy h1 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    margin-bottom: 14px;
  }

  body.login-body .login-showcase-copy p {
    font-size: 1.05rem;
  }

  body.login-body .login-feature-stack {
    gap: 14px;
  }

  body.login-body .login-feature-card {
    min-height: 78px;
    padding: 13px;
    width: min(100%, 300px);
  }

  body.login-body .login-feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  body.login-body .login-feature-card p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  body.login-body .login-vehicle {
    align-self: center;
    max-width: 390px;
    min-width: 0;
  }

  body.login-body .login-vehicle img {
    height: auto;
  }

  body.login-body .login-card {
    border-radius: 14px;
    margin-top: 0;
    padding: 28px;
  }

  body.login-body .login-card h2 {
    font-size: 1.75rem;
  }

  body.login-body .login-input-wrap,
  body.login-body .login-password-field {
    min-height: 46px;
  }

  body.login-body .login-input-wrap input,
  body.login-body .login-password-field input {
    min-height: 44px;
  }

  body.signup-body .cadastro-page {
    min-height: calc(100vh - 78px);
    padding: 24px;
  }

  body.signup-body .cadastro-layout {
    grid-template-columns: minmax(380px, 0.85fr) minmax(400px, 0.9fr);
    max-width: 1040px;
  }

  body.signup-body .signup-intro {
    border-radius: 14px;
    padding: 26px 30px;
  }

  body.signup-body .signup-intro h1 {
    font-size: clamp(1.9rem, 2.45vw, 2.55rem);
  }

  body.signup-body .signup-intro > p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  body.signup-body .signup-benefits {
    gap: 14px;
    margin-top: 22px;
  }

  body.signup-body .signup-benefits article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.signup-body .signup-benefits span {
    height: 42px;
    width: 42px;
  }

  body.signup-body .signup-benefits h3 {
    font-size: 0.95rem;
  }

  body.signup-body .signup-benefits p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  body.signup-body .cadastro-card {
    border-radius: 14px;
    padding: 22px 26px;
  }

  body.signup-body .signup-form-heading h2 {
    font-size: 1.55rem;
  }

  body.signup-body .cadastro-form {
    gap: 10px;
  }

  body.signup-body .cadastro-form input,
  body.signup-body .signup-password-field {
    min-height: 40px;
  }

  body.signup-body .terms-scroll {
    height: 130px;
    max-height: 130px;
  }
}

@media (max-width: 760px) {
  body.home-body .home-header-inner,
  body.about-body .home-header-inner,
  body.login-body .home-header-inner,
  body.signup-body .home-header-inner {
    gap: 12px;
    padding: 12px 14px;
  }

  body.home-body .home-header .brand-logo,
  body.about-body .home-header .brand-logo,
  body.login-body .home-header .brand-logo,
  body.signup-body .home-header .brand-logo {
    height: auto;
    width: min(210px, 78vw);
  }

  .home-nav .nav-link {
    font-size: 0.86rem;
    min-height: 38px;
  }

  .home-header-actions {
    gap: 8px;
  }

  body.home-body .home-hero-inner,
  body.about-body .about-hero,
  body.login-body .login-shell,
  body.signup-body .cadastro-page {
    padding: 22px 14px;
  }

  body.home-body .home-hero h1,
  body.about-body .about-copy-panel h1,
  body.login-body .login-showcase-copy h1,
  body.signup-body .signup-intro h1 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 1.12;
  }

  body.home-body .home-hero .lead,
  body.about-body .about-copy-panel p,
  body.login-body .login-showcase-copy p,
  body.signup-body .signup-intro > p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  body.home-body .home-hero-visual img,
  body.about-body .about-visual img,
  body.login-body .login-vehicle img {
    height: auto;
    max-height: 220px;
    object-fit: contain;
  }

  body.home-body .home-sidebar-card,
  body.login-body .login-card,
  body.signup-body .cadastro-card,
  body.signup-body .signup-intro {
    border-radius: 12px;
    padding: 18px;
  }

  body.login-body .login-feature-card,
  body.signup-body .signup-benefits article,
  body.home-body .home-feature-list .feature-item {
    min-height: 0;
    padding: 12px;
  }

  body.signup-body .terms-scroll {
    height: 150px;
    max-height: 150px;
  }

  body.signup-body .signup-car {
    display: none;
  }

  body.signup-body .signup-intro {
    min-height: 0;
    padding-bottom: 18px;
  }

  body.signup-body .signup-benefits {
    gap: 18px;
  }

  body.signup-body .signup-benefits article {
    align-items: center;
    grid-template-columns: 46px minmax(0, 1fr);
  }
}

@media (min-width: 1181px) {
  body.home-body .home-header-inner,
  body.about-body .home-header-inner {
    grid-template-columns: 300px minmax(320px, 1fr) 300px;
    max-width: 1420px;
    min-height: 86px;
    padding: 0 32px;
  }

  body.home-body .home-header .brand,
  body.about-body .home-header .brand {
    min-height: 86px;
  }

  body.home-body .home-header .brand-logo,
  body.about-body .home-header .brand-logo {
    max-width: 300px;
    width: 300px;
  }

  body.home-body .home-nav .nav-link,
  body.about-body .home-nav .nav-link {
    min-height: 50px;
  }

  body.home-body .home-hero-inner {
    grid-template-columns: minmax(440px, 0.95fr) minmax(440px, 1fr) minmax(290px, 0.58fr);
    max-width: 1420px;
    min-height: 0;
    padding: 22px 36px 18px;
  }

  body.home-body .home-badge {
    margin-bottom: 14px;
    padding: 8px 14px;
  }

  body.home-body .home-hero h1 {
    font-size: clamp(2.15rem, 2.45vw, 2.95rem);
    margin-bottom: 14px;
  }

  body.home-body .home-hero .lead {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 520px;
  }

  body.home-body .home-feature-list {
    gap: 8px;
    margin-top: 14px;
  }

  body.home-body .home-feature-list .feature-item {
    min-height: 70px;
    padding: 10px 12px;
  }

  body.home-body .home-hero .hero-actions {
    margin-top: 14px;
  }

  body.home-body .home-hero-visual {
    margin: 16px -34px -12px;
  }

  body.home-body .home-hero-visual img {
    max-height: 300px;
    width: min(106%, 560px);
  }

  body.home-body .home-sidebar-card {
    max-width: 300px;
    min-height: 0;
    padding: 22px 20px;
  }

  body.home-body .sidebar-icon {
    height: 46px;
    width: 46px;
  }

  body.home-body .sidebar-item {
    gap: 14px;
  }

  body.home-body .sidebar-item p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  body.home-body .sidebar-divider {
    margin: 22px 0;
  }

  body.about-body .about-page {
    min-height: calc(100vh - 86px);
  }

  body.about-body .about-hero {
    align-items: center;
    grid-template-columns: minmax(560px, 0.95fr) minmax(420px, 0.9fr);
    max-width: 1420px;
    padding: 34px 42px 38px;
  }

  body.about-body .about-copy-panel h1 {
    font-size: clamp(2.4rem, 3.1vw, 3.45rem);
    line-height: 1.08;
    margin-bottom: 22px;
    max-width: 720px;
  }

  body.about-body .about-copy-panel p {
    font-size: 1rem;
    line-height: 1.62;
    max-width: 650px;
  }

  body.about-body .about-copy-panel .about-strong {
    font-size: 1rem;
    max-width: 650px;
    padding: 14px 18px;
  }

  body.about-body .about-visual img {
    max-height: 380px;
    width: min(100%, 560px);
  }
}

body.login-body .home-nav .nav-link {
  min-height: 62px;
}

body.signup-body .home-nav .nav-link {
  min-height: 62px;
}

body.login-body .home-header-actions .home-login-button.button.secondary,
body.login-body .home-header .header-cta {
  min-height: 48px;
}

body.signup-body .home-header-actions .home-login-button.button.secondary,
body.signup-body .home-header .header-cta {
  min-height: 48px;
}

body.login-body .home-header .header-cta {
  min-width: 190px;
}

body.signup-body .home-header .header-cta {
  min-width: 190px;
}

body.signup-body {
  background: #f4f9ff;
  color: #07133d;
}

.home-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe7f6;
}

.home-header-inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 360px minmax(220px, 1fr) 330px;
  margin: 0 auto;
  max-width: 1480px;
  min-height: 108px;
  padding: 0 36px;
}

.home-header .brand {
  justify-self: start;
}

.home-header .brand-logo {
  display: block;
  width: 320px;
}

.home-nav {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  justify-content: center;
  padding: 0;
}

.home-nav .nav-link {
  background: transparent;
  border-radius: 0;
  color: #07133d;
  font-size: 0.96rem;
  font-weight: 800;
  gap: 8px;
  min-height: 62px;
  padding: 0;
  position: relative;
  white-space: nowrap;
}

.home-nav .nav-link:hover {
  background: transparent;
  color: var(--brand);
}

.home-nav .nav-link.is-active {
  color: var(--brand);
}

.home-nav .nav-link.is-active::after {
  background: var(--brand);
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.home-header svg,
.home-hero svg,
.home-benefits-section svg,
.site-footer svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 22px;
}

.home-header-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-self: end;
}

.home-header-actions .home-login-button.button.secondary {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbdcf3;
  border-radius: 10px;
  color: var(--brand);
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  min-height: 48px;
  min-width: 112px;
  text-align: center;
}

.home-header-actions .home-login-button.button.secondary:hover {
  background: #f8fbff;
  color: var(--brand);
}

.home-header .header-cta {
  align-items: center;
  border-radius: 10px;
  justify-content: center;
  line-height: 1;
  min-height: 48px;
  min-width: 205px;
  text-align: center;
}

.home-header-actions .home-back-button.button.secondary {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbdcf3;
  border-radius: 10px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 56px;
  min-width: 260px;
  text-align: center;
}

.home-header-actions .home-back-button.button.secondary:hover {
  background: #f8fbff;
  color: var(--brand);
}

.home-hero {
  background:
    radial-gradient(circle at 58% 18%, rgba(211, 228, 250, 0.54), transparent 29%),
    radial-gradient(circle at 70% 7%, rgba(225, 237, 253, 0.72), transparent 9%),
    radial-gradient(circle at 82% 66%, rgba(229, 240, 253, 0.52), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
  border-bottom: 1px solid #dbe7f6;
}

.home-hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(14px, 1.7vw, 28px);
  grid-template-columns: minmax(520px, 0.98fr) minmax(520px, 1.08fr) minmax(320px, 0.68fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 360px;
  padding: 24px 36px 22px;
}

.home-hero-copy {
  max-width: 620px;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.home-badge {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(34, 113, 243, 0.08);
  color: var(--brand);
  display: inline-flex;
  font-size: clamp(0.84rem, 0.7vw, 0.94rem);
  font-weight: 800;
  gap: 10px;
  margin: 0 0 18px;
  padding: 9px 16px;
}

.home-badge .badge-icon {
  background: transparent;
  border-radius: 0;
  height: auto;
  width: auto;
}

.home-hero h1 {
  color: #07133d;
  font-size: clamp(2.45rem, 2.75vw, 3.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0 0 18px;
  max-width: none;
  overflow: visible;
}

.home-hero h1 span {
  color: var(--brand);
  display: inline;
}

.home-hero .lead {
  color: #465775;
  font-size: clamp(0.98rem, 0.86vw, 1.06rem);
  line-height: 1.62;
  margin: 0;
  max-width: 560px;
}

.home-feature-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  margin: 16px 0 0;
}

.home-feature-list .feature-item {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0e9f7;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(15, 79, 184, 0.05);
  display: grid;
  gap: 8px;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 84px;
  padding: 13px 12px;
}

.home-feature-list .feature-icon {
  background: #edf4ff;
  border-radius: 999px;
  color: var(--brand);
  height: 38px;
  width: 38px;
}

.home-feature-list .feature-item h4 {
  color: #07133d;
  font-size: clamp(0.76rem, 0.62vw, 0.86rem);
  line-height: 1.18;
  margin: 0 0 4px;
  overflow-wrap: normal;
  word-break: normal;
}

.home-feature-list .feature-item p {
  color: #5f6f8a;
  font-size: clamp(0.72rem, 0.58vw, 0.82rem);
  line-height: 1.35;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.home-hero .hero-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-top: 16px;
}

.home-hero .button-hero {
  border-radius: 9px;
  min-height: 52px;
  min-width: 238px;
}

.home-hero .security {
  color: #33415f;
  font-size: clamp(0.86rem, 0.68vw, 0.96rem);
  font-weight: 800;
  margin: 0;
}

.home-hero-visual {
  align-self: start;
  display: flex;
  justify-content: center;
  margin: 24px -54px -18px -54px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.home-hero-visual::after {
  content: none;
}

.home-hero-visual img {
  display: block;
  filter: drop-shadow(0 22px 38px rgba(15, 23, 42, 0.12));
  mix-blend-mode: normal;
  max-height: 360px;
  max-width: none;
  object-fit: contain;
  position: relative;
  width: min(118%, 650px);
  z-index: 0;
}

.home-sidebar-card {
  background: #ffffff;
  border: 1px solid #e3ebf8;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(15, 79, 184, 0.1);
  align-self: center;
  justify-self: end;
  max-width: 350px;
  min-height: 260px;
  padding: 26px 24px;
  position: relative;
  width: 100%;
  z-index: 5;
}

.sidebar-item {
  align-items: flex-start;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
}

.sidebar-icon {
  align-items: center;
  background: #edf4ff;
  border-radius: 999px;
  color: var(--brand);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.sidebar-item h3,
.sidebar-item h4 {
  color: #07133d;
  font-size: 1rem;
  margin: 0 0 10px;
}

.sidebar-item p {
  color: #53637f;
  line-height: 1.7;
  margin: 0;
}

.sidebar-divider {
  border-top: 1px dashed #cbd8ea;
  margin: 30px 0;
}

.checkmark {
  color: var(--brand);
}

.home-sidebar-card .link-arrow {
  margin-top: 30px;
}

.home-benefits-section {
  background: #ffffff;
  max-width: none;
  padding: 18px 48px 20px;
}

.home-benefits-section .eyebrow {
  margin-bottom: 10px;
}

.home-benefits-section .title {
  font-size: 1.7rem;
}

.home-benefits-section .benefits-grid {
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px auto 0;
  max-width: 1120px;
}

.home-benefits-section .benefit-card {
  border-radius: 12px;
  min-height: 100px;
  padding: 18px;
}

.home-benefits-section .benefit-icon {
  background: #edf4ff;
  border-radius: 999px;
  color: var(--brand);
}

.home-benefits-section .bottom-strip {
  border-radius: 10px;
  margin-top: 16px;
  max-width: 1120px;
  padding: 10px 22px;
}

.home-benefits-section .bottom-strip a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #dbe7f6;
  margin: 0;
  max-width: none;
  padding: 14px 16px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer a {
  color: var(--brand);
}

.site-footer a svg {
  height: 20px;
  width: 20px;
}

.about-page {
  background:
    radial-gradient(circle at 68% 30%, rgba(211, 228, 250, 0.58), transparent 31%),
    linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
  border-top: 1px solid #dbe7f6;
  min-height: calc(100vh - 136px);
}

.about-hero {
  align-items: start;
  display: grid;
  gap: clamp(30px, 3.5vw, 56px);
  grid-template-columns: minmax(760px, 1.04fr) minmax(520px, 0.96fr);
  margin: 0 auto;
  max-width: 1660px;
  padding: clamp(36px, 4vw, 56px) clamp(24px, 2.5vw, 40px) clamp(48px, 5vw, 72px);
}

.about-copy-panel {
  max-width: 880px;
  text-align: left;
}

.about-eyebrow {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.about-copy-panel h1 {
  color: #07133d;
  font-size: clamp(2.75rem, 3.7vw, 4.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 28px;
  max-width: 920px;
}

.about-copy-panel h1 span {
  display: block;
}

.about-copy-panel h1 strong {
  color: var(--brand);
}

.about-copy-panel p {
  color: #30415f;
  font-size: clamp(1rem, 1vw, 1.12rem);
  font-weight: 500;
  line-height: 1.72;
  margin: 0 0 20px;
  max-width: 740px;
  text-align: left;
}

.about-copy-panel .about-strong {
  background: rgba(226, 238, 253, 0.72);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  color: #07133d;
  font-size: clamp(1.02rem, 1vw, 1.14rem);
  font-weight: 900;
  line-height: 1.5;
  margin: 26px 0 0;
  max-width: 740px;
  padding: 16px 20px;
}

.about-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin-top: 28px;
}

.about-actions .button {
  align-items: center;
  border-radius: 9px;
  justify-content: center;
  min-height: 56px;
  min-width: 220px;
  white-space: nowrap;
}

.about-actions .about-return-button.button.secondary {
  background: #ffffff;
  border: 1px solid #b9cdf1;
  color: var(--brand);
  min-width: 270px;
}

.about-actions .about-return-button.button.secondary:hover {
  background: #f8fbff;
  color: var(--brand);
}

.about-visual {
  align-self: center;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  overflow: visible;
}

.about-visual img {
  display: block;
  filter: drop-shadow(0 24px 42px rgba(15, 23, 42, 0.14));
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: center;
  width: min(108%, 860px);
}

.login-shell {
  align-items: center;
  background:
    radial-gradient(circle at 42% 42%, rgba(211, 228, 250, 0.68), transparent 27%),
    radial-gradient(circle at 72% 18%, rgba(226, 238, 253, 0.6), transparent 18%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
  border-top: 1px solid #dbe7f6;
  display: grid;
  gap: clamp(24px, 3vw, 42px);
  grid-template-columns: minmax(620px, 820px) minmax(380px, 500px);
  justify-content: center;
  margin: 0 auto;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 46px) clamp(28px, 4vw, 56px);
}

.login-showcase {
  align-content: start;
  align-self: stretch;
  display: grid;
  grid-template-areas:
    "copy copy"
    "features visual";
  grid-template-columns: minmax(280px, 0.42fr) minmax(360px, 0.58fr);
  grid-template-rows: auto auto;
  row-gap: 20px;
  min-height: 520px;
  position: relative;
}

.login-showcase-copy {
  grid-area: copy;
  max-width: 560px;
  position: relative;
  z-index: 3;
}

.login-showcase-copy h1 {
  color: #07133d;
  font-size: clamp(2.55rem, 3vw, 3.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 24px;
}

.login-showcase-copy p {
  color: #253656;
  font-size: clamp(1.16rem, 1.25vw, 1.42rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  max-width: 560px;
}

.login-showcase-copy span {
  color: var(--brand);
  font-weight: 900;
}

.login-feature-stack {
  align-self: start;
  display: grid;
  gap: 22px;
  grid-area: features;
  position: relative;
  z-index: 3;
}

.login-feature-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2ebf8;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 79, 184, 0.08);
  display: grid;
  gap: 16px;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 104px;
  padding: 16px;
  width: min(100%, 315px);
}

.login-feature-icon {
  align-items: center;
  background: #eaf3ff;
  border-radius: 16px;
  color: var(--brand);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.login-feature-card svg,
.login-trust-strip svg,
.login-card svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.login-feature-icon svg {
  height: 28px;
  width: 28px;
}

.login-feature-card h3 {
  color: #07133d;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 8px;
}

.login-feature-card p {
  color: #425373;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.62;
  margin: 0;
}

.login-vehicle {
  align-self: start;
  grid-area: visual;
  justify-self: end;
  margin: 18px 0 0 -92px;
  max-width: 590px;
  min-width: 490px;
  position: relative;
  z-index: 2;
}

.login-vehicle img {
  display: block;
  filter: drop-shadow(0 24px 42px rgba(15, 23, 42, 0.13));
  mix-blend-mode: normal;
  width: 100%;
}

.login-document-card {
  background: linear-gradient(160deg, #ffffff 0%, #e9f4ff 100%);
  border: 2px solid #1b68d8;
  border-radius: 10px;
  bottom: 42px;
  box-shadow: 0 16px 30px rgba(15, 79, 184, 0.18);
  display: grid;
  gap: 8px;
  height: 128px;
  padding: 12px;
  position: absolute;
  right: 32px;
  transform: rotate(7deg);
  width: 98px;
  z-index: 4;
}

.document-title {
  background: #1f6fea;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 5px 7px;
}

.document-lines {
  display: grid;
  gap: 5px;
}

.document-lines i {
  background: #9fc4f4;
  border-radius: 999px;
  display: block;
  height: 5px;
}

.document-lines i:nth-child(2) {
  width: 78%;
}

.document-lines i:nth-child(3) {
  width: 62%;
}

.document-qr {
  background:
    linear-gradient(90deg, #0f3979 35%, transparent 35% 65%, #0f3979 65%),
    linear-gradient(#0f3979 35%, transparent 35% 65%, #0f3979 65%);
  background-color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 5px;
  height: 34px;
  justify-self: end;
  width: 34px;
}

.login-trust-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #dbe7f6;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 79, 184, 0.08);
  display: grid;
  gap: 10px;
  grid-area: trust;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  max-width: 860px;
  overflow: hidden;
  padding: 8px;
  position: relative;
  z-index: 4;
}

.login-trust-strip span {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
  border-radius: 10px;
  color: #30415f;
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-trust-strip span:hover {
  border-color: #c8dcfb;
  box-shadow: 0 10px 22px rgba(34, 113, 243, 0.1);
  transform: translateY(-1px);
}

.login-trust-strip span + span {
  border-left: 1px solid transparent;
}

.login-trust-strip svg {
  color: #30415f;
  height: 20px;
  width: 20px;
}

.login-card {
  align-self: start;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2ebf8;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 79, 184, 0.11);
  justify-self: start;
  margin-top: clamp(18px, 2.6vw, 42px);
  max-width: 500px;
  padding: clamp(30px, 3vw, 42px);
  width: 100%;
}

.login-card h2 {
  color: #07133d;
  font-size: clamp(1.8rem, 2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 12px;
}

.login-card-subtitle {
  color: #53637f;
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 28px;
}

.login-card .login-form {
  display: grid;
  gap: 20px;
  max-width: none;
}

.login-card label {
  color: #07133d;
  font-size: 0.94rem;
  font-weight: 900;
  gap: 10px;
}

.login-input-wrap,
.login-password-field {
  align-items: center;
  border: 1px solid #cbd8ea;
  border-radius: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 56px;
  overflow: hidden;
}

.login-input-wrap input,
.login-password-field input {
  border: 0;
  border-radius: 0;
  color: #07133d;
  font-size: 0.98rem;
  min-height: 54px;
  padding: 0 18px;
}

.login-input-wrap input::placeholder,
.login-password-field input::placeholder {
  color: #63708d;
}

.login-input-wrap svg {
  color: #30415f;
  height: 24px;
  justify-self: center;
  width: 24px;
}

.login-password-field .password-toggle {
  align-self: stretch;
  border: 0;
  border-left: 0;
  border-radius: 0;
  color: #30415f;
  min-height: 54px;
  width: 52px;
}

.login-options {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.remember-option {
  align-items: center;
  color: #53637f;
  display: flex;
  flex-direction: row;
  font-size: 0.98rem;
  font-weight: 700;
  gap: 12px;
}

.remember-option input {
  height: 18px;
  margin: 0;
  padding: 0;
  width: 18px;
}

.login-card .forgot-password-link {
  color: var(--brand);
  font-size: 0.98rem;
  font-weight: 900;
  min-height: 0;
  width: auto;
}

.login-card .login-submit {
  align-items: center;
  background: var(--brand);
  border-radius: 10px;
  box-shadow: 0 18px 34px rgba(34, 113, 243, 0.22);
  display: flex;
  font-size: 1.05rem;
  gap: 18px;
  justify-content: center;
  min-height: 58px;
  width: 100%;
}

.login-card .login-submit span {
  font-size: 2rem;
  line-height: 1;
  margin-left: auto;
}

.login-divider {
  align-items: center;
  color: #53637f;
  display: grid;
  font-weight: 900;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  margin: 2px 0;
}

.login-divider::before,
.login-divider::after {
  background: #d8e2f1;
  content: "";
  height: 1px;
}

.login-card .signup-prompt {
  color: #53637f;
  font-size: 1rem;
  margin: 0;
}

.login-card .signup-prompt a {
  font-weight: 900;
  margin-left: 16px;
}

.login-secure-note {
  align-items: center;
  color: #53637f;
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 14px;
  justify-content: center;
  margin: 8px 0 0;
}

.login-secure-note svg {
  color: #53637f;
  height: 24px;
  width: 24px;
}

.login-card .message {
  margin: 0;
}

.signup-body .cadastro-page {
  align-items: flex-start;
  background:
    radial-gradient(circle at 36% 22%, rgba(211, 228, 250, 0.58), transparent 24%),
    radial-gradient(circle at 72% 12%, rgba(226, 238, 253, 0.6), transparent 18%),
    linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
  border-top: 1px solid #dbe7f6;
  display: flex;
  justify-content: center;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  padding: clamp(10px, 1.6vw, 22px) clamp(28px, 5vw, 76px) clamp(34px, 4vw, 58px);
}

.signup-body .cadastro-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(34px, 4vw, 54px);
  grid-template-columns: minmax(430px, 1fr) minmax(430px, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  width: 100%;
}

.signup-body .cadastro-layout::before,
.signup-body .cadastro-layout::after,
.signup-body .cadastro-card::before {
  display: none;
}

.signup-body .signup-intro {
  background: linear-gradient(180deg, rgba(234, 244, 255, 0.96), rgba(222, 236, 252, 0.82));
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(15, 79, 184, 0.08);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 42px) clamp(34px, 4vw, 48px) 300px;
  position: relative;
  text-align: left;
  z-index: 1;
}

.signup-body .signup-intro h1 {
  color: #07133d;
  font-size: clamp(2.05rem, 2.7vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 360px;
  position: relative;
  z-index: 2;
}

.signup-body .signup-intro h1 span {
  color: var(--brand);
  display: block;
}

.signup-body .signup-intro > p {
  color: #253656;
  font-size: clamp(1rem, 0.95vw, 1.16rem);
  font-weight: 600;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 390px;
  position: relative;
  z-index: 2;
}

.signup-benefits {
  display: grid;
  gap: 15px;
  max-width: 380px;
  position: relative;
  z-index: 2;
}

.signup-benefits article {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 52px minmax(0, 1fr);
}

.signup-benefits span {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(15, 79, 184, 0.08);
  color: var(--brand);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.signup-benefits svg {
  fill: none;
  height: 27px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 27px;
}

.signup-benefits h3 {
  color: #07133d;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 6px;
}

.signup-benefits p {
  color: #30415f;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.signup-car {
  bottom: 8px;
  left: -28px;
  margin: 0;
  position: absolute;
  width: min(98%, 520px);
  z-index: 0;
}

.signup-car img {
  display: block;
  filter: drop-shadow(0 24px 42px rgba(15, 23, 42, 0.16));
  mix-blend-mode: normal;
  width: 100%;
}

.signup-body .cadastro-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2ebf8;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(15, 79, 184, 0.11);
  overflow: visible;
  padding: clamp(22px, 2.4vw, 30px);
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.signup-form-heading {
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
}

.signup-form-heading h2 {
  color: #07133d;
  font-size: clamp(1.45rem, 1.7vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 8px;
}

.signup-form-heading p {
  color: #53637f;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.signup-body .cadastro-form {
  gap: 12px;
}

.signup-body .cadastro-form label {
  color: #07133d;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 5px;
  letter-spacing: 0;
}

.signup-body .cadastro-form input {
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  color: #07133d;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
}

.signup-password-field {
  align-items: center;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  min-height: 42px;
  overflow: hidden;
}

.signup-password-field input {
  border: 0 !important;
  border-radius: 0 !important;
  color: #07133d;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 40px !important;
}

.signup-password-field .password-toggle {
  align-items: center;
  align-self: stretch;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  color: #53637f;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  width: 42px;
}

.signup-password-field .password-toggle:hover,
.signup-password-field .password-toggle.is-visible {
  background: #f8fbff;
  color: var(--brand);
}

.signup-password-field .password-toggle svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.signup-body .cadastro-form input::placeholder {
  color: #6c7892;
  font-weight: 600;
}

.signup-info {
  background: #eef6ff;
  border: 1px solid #dcecff;
  border-radius: 8px;
  color: #30415f;
  display: grid;
  gap: 4px;
  padding: 10px 14px 10px 42px;
  position: relative;
}

.signup-info::before {
  align-items: center;
  background: #dcecff;
  border-radius: 999px;
  color: var(--brand);
  content: "i";
  display: flex;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  left: 12px;
  position: absolute;
  top: 10px;
  width: 24px;
}

.signup-info strong {
  color: #07133d;
  font-size: 0.86rem;
}

.signup-info p {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.signup-body .terms-panel {
  background: #f8fbff;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  gap: 10px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.signup-body .terms-panel h2 {
  font-size: 0.96rem;
  font-weight: 900;
}

.signup-body .terms-scroll {
  border-radius: 8px;
  font-size: 0.9rem;
  height: 220px;
  line-height: 1.62;
  max-height: 220px;
  padding: 16px;
  text-align: left;
}

.signup-body .terms-consent span {
  font-size: 0.9rem;
  line-height: 1.45;
}

.signup-body .cadastro-form button[type="submit"] {
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(34, 113, 243, 0.18);
  min-height: 46px;
}

.signup-login-prompt {
  align-items: center;
  color: #53637f;
  display: flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.signup-login-prompt a {
  color: var(--brand);
  font-weight: 900;
}

.signup-body .cadastro-form .message {
  text-align: center;
}

body.payment-body {
  background:
    radial-gradient(circle at 16% 20%, rgba(37, 111, 242, 0.09), transparent 28%),
    radial-gradient(circle at 76% 36%, rgba(37, 111, 242, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
  color: #071644;
  min-height: 100vh;
}

.payment-body svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.payment-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}

.payment-header .brand-logo {
  display: block;
  height: auto;
  width: clamp(190px, 16vw, 245px);
}

.payment-logout {
  align-items: center;
  background: #ffffff;
  border: 1px solid #b8cef2;
  border-radius: 6px;
  color: #0f65ee;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
}

.payment-logout svg {
  height: 18px;
  width: 18px;
}

.payment-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 22px 28px;
}

.payment-title {
  margin: 0 auto 28px;
  text-align: center;
}

.payment-title p {
  color: #1f73ff;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 2px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.payment-title h1 {
  color: #071644;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.04;
  margin: 0 0 8px;
}

.payment-title span {
  color: #51607c;
  display: block;
  font-size: 1rem;
  font-weight: 650;
}

.payment-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.9fr) minmax(330px, 0.95fr);
}

.payment-plans-panel,
.payment-checkout-panel,
.payment-security {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7e4f5;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(15, 52, 105, 0.11);
}

.payment-plans-panel,
.payment-checkout-panel {
  padding: 20px;
}

.payment-plans-panel h2,
.payment-summary-card h2,
.payment-method-panel h2 {
  align-items: center;
  color: #1470ff;
  display: flex;
  font-size: 1rem;
  font-weight: 1000;
  gap: 8px;
  margin: 0 0 16px;
}

.payment-plan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-plan-card {
  background: #ffffff;
  border: 1px solid #cbd9ec;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 210px;
  padding: 20px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.payment-plan-card.is-selected,
.payment-plan-card:hover {
  border-color: #1470ff;
  box-shadow: 0 16px 34px rgba(20, 112, 255, 0.16);
  transform: translateY(-1px);
}

.payment-plan-icon {
  align-items: center;
  background: #eef5ff;
  border-radius: 50%;
  color: #1f73ff;
  display: flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.payment-plan-icon svg {
  height: 27px;
  width: 27px;
}

.payment-plan-card .plan-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-plan-card .plan-type {
  color: #1f73ff;
  font-size: 1rem;
  font-weight: 1000;
  margin: 0;
}

.payment-plan-card .plan-badge {
  background: #1f73ff;
  border-radius: 5px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 9px;
}

.payment-plan-card .plan-price {
  color: #071644;
  font-size: 1.55rem;
  font-weight: 1000;
  margin: 8px 0 18px;
}

.payment-plan-card p {
  color: #435372;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
}

.payment-plan-card .plan-benefit {
  color: #2c8460;
  font-size: 0.86rem;
  margin-top: 20px;
}

.payment-plan-card .button {
  align-self: end;
  grid-column: 1 / -1;
  min-height: 44px;
  width: 100%;
}

.payment-assurance {
  background: #eef5ff;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  padding: 14px;
}

.payment-assurance article {
  align-items: center;
  display: grid;
  gap: 4px 9px;
  grid-template-columns: 28px minmax(0, 1fr);
}

.payment-assurance span {
  align-items: center;
  color: #1470ff;
  display: flex;
  grid-row: span 2;
  justify-content: center;
}

.payment-assurance svg {
  height: 21px;
  width: 21px;
}

.payment-assurance strong {
  color: #1470ff;
  font-size: 0.78rem;
  font-weight: 1000;
}

.payment-assurance small {
  color: #455878;
  font-size: 0.72rem;
  font-weight: 700;
}

.payment-checkout-panel {
  display: grid;
  gap: 22px;
}

.payment-summary {
  background: #ffffff;
  border: 1px solid #d7e4f5;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 52, 105, 0.08);
  padding: 18px;
}

.payment-summary p {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 18px;
}

.payment-summary small {
  color: #657189;
  display: block;
  font-size: 0.76rem;
  font-weight: 750;
}

.payment-summary strong {
  color: #071644;
  font-size: 0.96rem;
  font-weight: 1000;
  text-align: right;
}

.payment-summary hr {
  border: 0;
  border-top: 1px solid #dfe8f5;
  margin: 16px 0;
}

.payment-summary .payment-total {
  margin: 0;
}

.payment-summary .payment-total strong {
  color: #1470ff;
  font-size: 1.35rem;
}

.coupon-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 12px;
}

.coupon-form label {
  color: #071644;
  font-size: 0.84rem;
  font-weight: 950;
}

.coupon-form input {
  border: 1px solid #c8d7ea;
  border-radius: 7px;
  color: #071644;
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 7px;
  min-height: 44px;
  padding: 0 13px;
  text-transform: uppercase;
  width: 100%;
}

.coupon-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coupon-actions .button {
  min-height: 44px;
  width: 100%;
}

.coupon-message {
  color: #60708c;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 18px;
  padding: 0 2px;
}

.coupon-message.success {
  color: #047857;
}

.coupon-message.warning {
  color: #b45309;
}

.payment-methods {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.payment-methods .button {
  background: #ffffff;
  border-color: #cbd9ec;
  color: #1f73ff;
  min-height: 48px;
}

.payment-methods .button:hover,
.payment-methods .button:focus {
  border-color: #1470ff;
  box-shadow: 0 10px 20px rgba(20, 112, 255, 0.12);
}

.payment-methods svg {
  height: 20px;
  width: 20px;
}

.payment-instructions {
  display: grid;
  gap: 12px;
}

.payment-instructions[hidden],
.payment-placeholder[hidden] {
  display: none;
}

.payment-instructions h3 {
  background: #eef5ff;
  border-radius: 8px;
  color: #1470ff;
  font-size: 0.96rem;
  font-weight: 1000;
  margin: 0;
  padding: 14px 16px;
}

.payment-instruction-box,
.payment-placeholder {
  background: #ffffff;
  border: 1px solid #d7e4f5;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.payment-instruction-box {
  text-align: left;
}

.payment-instruction-box p {
  color: #435372;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.5;
  margin: 0 0 10px;
}

.payment-placeholder::before {
  color: #1f73ff;
  content: "pix";
  display: block;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.payment-placeholder strong {
  color: #071644;
  display: block;
  font-size: 1rem;
  font-weight: 1000;
  margin-bottom: 12px;
}

.payment-placeholder p {
  color: #52617c;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
  margin: 0 auto 14px;
  max-width: 260px;
}

.payment-placeholder small {
  background: #f0f3f8;
  border-radius: 6px;
  color: #7a8498;
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 13px;
}

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

.receipt-form label {
  color: #071644;
  font-size: 0.84rem;
  font-weight: 950;
}

.receipt-form input {
  border: 1px solid #c8d7ea;
  border-radius: 7px;
  color: #071644;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 7px;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.payment-qr-code {
  background: #ffffff;
  border: 1px solid #d7e4f5;
  border-radius: 8px;
  display: block;
  margin: 14px auto;
  max-width: 210px;
  padding: 10px;
  width: 100%;
}

.copy-value {
  background: #f2f6fc;
  border-radius: 6px;
  display: block;
  font-size: 0.8rem;
  margin-top: 8px;
  overflow-wrap: anywhere;
  padding: 10px;
}

.payment-security {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  margin-top: 18px;
  padding: 12px 18px;
}

.payment-security article {
  align-items: center;
  display: flex;
  gap: 12px;
}

.payment-security article > span {
  align-items: center;
  background: #eef5ff;
  border-radius: 50%;
  color: #1470ff;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.payment-security svg {
  height: 18px;
  width: 18px;
}

.payment-security strong {
  color: #0b2a66;
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
}

.payment-security p,
.payment-security span {
  color: #3d4c68;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.25;
  margin: 0;
}

.payment-security > span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dfe8f5;
  border-radius: 999px;
  padding: 7px 15px;
  text-align: center;
}

.payment-security small {
  color: #60708c;
  font-size: 0.68rem;
  font-weight: 700;
}

.payment-message {
  margin: 12px auto 0;
  max-width: 720px;
  text-align: center;
}

.payment-footer {
  color: #6c7890;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 14px 0 0;
  text-align: center;
}

@media (max-width: 1420px) {
  .home-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 24px;
  }

  .home-header .brand-logo {
    width: min(390px, 88vw);
  }

  .home-header .brand {
    justify-self: center;
  }

  .home-header-actions {
    justify-self: center;
  }

  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  }

  .home-hero-visual {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 860px;
    order: 3;
  }

  .home-hero-visual img {
    width: 100%;
  }
}

@media (max-width: 1360px) {
  .about-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-copy-panel {
    max-width: 760px;
  }

  .about-visual img {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 1180px) {

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-card {
    justify-self: stretch;
    max-width: none;
  }

  .login-showcase {
    min-height: 0;
  }

  .signup-body .cadastro-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .signup-body .signup-intro {
    min-height: 0;
    padding-bottom: 280px;
  }

  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-checkout-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  body.login-body .home-header-inner {
    min-height: 96px;
  }

  body.login-body .home-header .brand-logo {
    max-width: 280px;
    width: 280px;
  }

  .login-shell {
    min-height: calc(100svh - 96px);
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .login-showcase {
    min-height: 470px;
    row-gap: 14px;
  }

  .login-showcase-copy h1 {
    font-size: clamp(2.35rem, 2.7vw, 3.1rem);
    margin-bottom: 16px;
  }

  .login-feature-stack {
    gap: 14px;
  }

  .login-feature-card {
    min-height: 94px;
    padding: 14px;
  }

  .login-vehicle {
    max-width: 520px;
    min-width: 430px;
  }

  .login-card {
    padding: 28px 34px;
  }
}

@media (max-width: 860px) {
  .home-header-inner,
  .home-hero-inner,
  .home-benefits-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-header .brand-logo {
    width: min(360px, 90vw);
  }

  .home-nav,
  .home-header-actions,
  .home-hero .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .home-nav {
    gap: 6px;
  }

  .home-nav .nav-link {
    min-height: 42px;
    width: 100%;
  }

  .home-header .header-cta,
  .home-login-button,
  .home-back-button,
  .home-hero .button-hero {
    width: 100%;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .home-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .home-feature-list,
  .home-benefits-section .benefits-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    grid-column: auto;
    margin-bottom: 0;
    order: 0;
  }

  .home-sidebar-card {
    max-width: none;
  }

  .home-benefits-section .bottom-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .home-benefits-section .bottom-strip .divider {
    display: none;
  }

  .about-hero {
    gap: 30px;
    padding: 36px 16px;
  }

  .about-copy-panel h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .about-copy-panel h1 br {
    display: none;
  }

  .about-actions,
  .about-actions .button {
    width: 100%;
  }

  .about-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-actions .button {
    min-width: 0;
  }

  .about-visual {
    border-radius: 18px;
  }

  .login-shell {
    padding: 32px 16px;
  }

  .login-showcase {
    grid-template-areas:
      "copy"
      "visual"
      "features";
    grid-template-columns: 1fr;
  }

  .login-vehicle {
    margin: 8px auto;
    max-width: 100%;
    min-width: 0;
  }

  .login-document-card {
    bottom: 6%;
    right: 4%;
    transform: rotate(5deg) scale(0.82);
    transform-origin: right bottom;
  }

  .login-feature-card {
    width: 100%;
  }

  .login-trust-strip {
    grid-template-columns: 1fr;
  }

  .login-trust-strip span + span {
    border-left: 0;
    border-top: 1px solid #cfdcf0;
  }

  .login-card {
    border-radius: 18px;
    padding: 28px 18px;
  }

  .login-options,
  .login-card .signup-prompt {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-card .signup-prompt a {
    margin-left: 0;
  }

  .signup-body .cadastro-page {
    padding: 28px 16px;
  }

  .signup-body .cadastro-layout {
    gap: 26px;
  }

  .signup-body .signup-intro {
    border-radius: 18px;
    min-height: 0;
    padding: 28px 20px 230px;
  }

  .signup-body .signup-intro h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .signup-benefits article {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .signup-benefits span {
    height: 50px;
    width: 50px;
  }

  .signup-car {
    bottom: -28px;
    left: -28px;
    width: min(112%, 520px);
  }

  .signup-body .cadastro-card {
    border-radius: 18px;
    padding: 26px 18px;
  }

  .payment-header {
    gap: 16px;
    min-height: 0;
    padding: 0;
  }

  .payment-header .brand-logo {
    width: min(220px, 58vw);
  }

  .payment-logout {
    min-height: 40px;
    padding: 0 16px;
  }

  .payment-page {
    padding: 28px 16px 24px;
  }

  .payment-plan-grid,
  .payment-checkout-panel,
  .payment-methods,
  .coupon-actions {
    grid-template-columns: 1fr;
  }

  .payment-plan-card {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }

  .payment-assurance {
    grid-template-columns: 1fr;
  }

  .payment-security {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
}

/* Logo final: preserve the full image inside the header. */
.home-header .brand {
  align-items: center;
  display: inline-flex;
  min-height: 112px;
  min-width: 0;
  overflow: visible;
}

.home-header .brand-logo {
  display: block;
  height: min(112px, 24vw);
  max-height: 112px;
  max-width: min(380px, calc(100vw - 32px));
  object-fit: contain;
  object-position: center;
  padding-right: 0;
  width: auto;
}

.payment-header .brand-logo {
  display: block;
  height: auto;
  max-height: none;
  max-width: min(390px, calc(100vw - 32px));
  object-fit: contain;
  object-position: center;
  padding-right: 0;
  width: min(390px, calc(100vw - 32px));
}

body.home-body .home-header .brand,
body.login-body .home-header .brand,
body.signup-body .home-header .brand,
body.about-body .home-header .brand,
body.payment-body .home-header .brand,
body.plans-body .home-header .brand {
  min-height: 0;
  overflow: visible;
}

body.home-body .home-header .brand-logo,
body.login-body .home-header .brand-logo,
body.signup-body .home-header .brand-logo,
body.about-body .home-header .brand-logo,
body.payment-body .home-header .brand-logo,
body.plans-body .home-header .brand-logo {
  display: block;
  height: auto;
  max-height: none;
  max-width: min(250px, calc(100vw - 28px));
  object-fit: contain;
  width: min(250px, 78vw);
}

body.signup-body .home-header-inner {
  min-height: 92px;
}

body.signup-body .home-header .brand-logo {
  max-width: min(250px, calc(100vw - 28px));
  width: min(250px, 78vw);
}

/* Final anti-jump pass: keep the first paint and loaded CSS at the same size. */
.home-header .brand,
body.home-body .home-header .brand,
body.login-body .home-header .brand,
body.signup-body .home-header .brand,
body.about-body .home-header .brand,
body.payment-body .home-header .brand,
body.plans-body .home-header .brand {
  flex: 0 0 auto;
  min-height: 0;
  width: min(250px, 78vw);
}

.home-header .brand-logo,
body.home-body .home-header .brand-logo,
body.login-body .home-header .brand-logo,
body.signup-body .home-header .brand-logo,
body.about-body .home-header .brand-logo,
body.payment-body .home-header .brand-logo,
body.plans-body .home-header .brand-logo {
  aspect-ratio: 500 / 281;
  height: auto !important;
  max-height: none !important;
  max-width: min(250px, calc(100vw - 28px)) !important;
  width: min(250px, 78vw) !important;
}

body.login-body .login-vehicle,
body.signup-body .signup-car {
  pointer-events: none;
}

@media (max-width: 760px) {
  body.signup-body .signup-car,
  body.login-body .login-vehicle {
    display: none !important;
  }
}
