.brand img {
  width: auto !important;
  height: 44px !important;
  filter: none !important;
  background: transparent !important;
}
@media (max-width: 560px) {
  .brand img {
    height: 38px !important;
  }
}

.landing-preview-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #162235;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
.landing-preview-bar a {
  color: #ffb36f;
  text-decoration: underline;
}

/* Hero headline — evita corte da última letra no gradiente */
.hero h1 {
  line-height: 1.08 !important;
  letter-spacing: -0.05em !important;
  padding-bottom: 0.08em;
  overflow: visible;
}
.hero h1 .gradient {
  display: inline;
  padding-right: 0.12em;
  padding-bottom: 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lead {
  max-width: 100%;
}

.btn-wa-hero {
  color: #fff !important;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
  border: 0 !important;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.28) !important;
}
.btn-wa-hero:hover {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.34) !important;
}
.btn-wa-icon {
  flex-shrink: 0;
}

.tour-click-hint {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5f6f84;
}
.tour-button {
  position: relative;
  cursor: pointer !important;
  padding-right: 48px !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease !important;
}
.tour-button::after {
  content: ">";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 900;
  color: #98a4b4;
  transition: transform 0.2s ease, color 0.2s ease;
}
.tour-button:hover::after,
.tour-button.active::after {
  transform: translateY(-50%) translateX(3px);
  color: #ff4f1f;
}
.tour-button.active {
  border-color: rgba(255, 79, 31, 0.34) !important;
  box-shadow: 0 16px 35px rgba(255, 79, 31, 0.15) !important;
}
#panel-pedidos .screen-frame,
#panel-rotas .screen-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #f4f7fb;
}
#panel-pedidos .screen-frame img,
#panel-rotas .screen-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 14px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 50, 0.12);
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.landing-contact-section {
  padding: 72px 0 40px;
}
.landing-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.landing-contact-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 33, 50, 0.1);
  box-shadow: 0 18px 45px rgba(14, 28, 48, 0.08);
}
.landing-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4a5b6d;
}
.landing-contact-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 50, 0.12);
  font: inherit;
}
.landing-contact-aside {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(41, 61, 84, 0.06), rgba(255, 79, 31, 0.05));
  border: 1px solid rgba(20, 33, 50, 0.08);
}
.landing-contact-aside h3 {
  margin-bottom: 8px;
}
.landing-contact-aside p {
  color: #627084;
  margin-bottom: 16px;
}
.landing-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.landing-contact-note {
  font-size: 0.88rem;
  color: #627084;
}
.landing-contact-note a {
  color: var(--orange);
  font-weight: 800;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-links a {
  color: #627084;
  font-weight: 700;
}
.footer-links a:hover {
  color: var(--orange);
}

@media (max-width: 820px) {
  .topbar {
    position: sticky !important;
    top: 0;
    z-index: 200;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;
  }

  .menu-toggle[aria-expanded="true"] {
    background: rgba(255, 79, 31, 0.1);
    border-color: rgba(255, 79, 31, 0.35);
    color: var(--orange, #ff4f1f);
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    position: relative;
  }

  .nav > .brand {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .nav > .btn,
  .nav > .landing-signup-nav-actions {
    order: 3;
    flex: 0 0 auto;
  }

  .landing-signup-nav-actions {
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav > .menu,
  .nav > #site-menu {
    order: 10;
    flex: 1 1 100%;
    width: 100%;
    display: none;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    margin-top: 2px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(20, 33, 50, 0.1);
    box-shadow: 0 18px 45px rgba(14, 28, 48, 0.12);
    z-index: 1;
  }

  .nav > .menu.is-open,
  .nav > #site-menu.is-open {
    display: flex;
  }

  .nav > .menu a,
  .nav > #site-menu a {
    padding: 14px 14px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy, #293d54);
  }

  .nav > .menu a::after,
  .nav > #site-menu a::after {
    display: none;
  }

  .nav > .menu a:hover,
  .nav > #site-menu a:hover,
  .nav > .menu a:active,
  .nav > #site-menu a:active {
    background: rgba(255, 79, 31, 0.08);
    color: var(--navy, #293d54);
  }

  .landing-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Downloads */
.landing-downloads-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 16px;
}
.landing-downloads-modal.is-open {
  display: grid;
}
.landing-downloads-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.landing-downloads-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(20, 33, 50, 0.1);
  box-shadow: 0 30px 90px rgba(14, 28, 48, 0.22);
  padding: 22px;
}
.landing-downloads-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.landing-downloads-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.landing-downloads-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.landing-downloads-head p {
  color: #627084;
  font-size: 0.9rem;
}
.landing-downloads-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 50, 0.12);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.landing-downloads-body {
  display: grid;
  gap: 10px;
}
.landing-download-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(20, 33, 50, 0.1);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.landing-download-item:hover {
  border-color: rgba(255, 79, 31, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}
.landing-download-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.65rem;
  background: linear-gradient(135deg, rgba(255, 79, 31, 0.16) 0%, rgba(41, 61, 84, 0.1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}
.landing-download-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.landing-download-copy strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.2;
}
.landing-download-copy span {
  color: #627084;
  font-size: 0.86rem;
  line-height: 1.35;
}
.landing-download-action {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 79, 31, 0.1);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .landing-download-item {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .landing-download-action {
    grid-column: 2;
    justify-self: start;
  }
}

/* Página /comecar — auto-cadastro no padrão landing v4 */
.landing-signup-section {
  padding: 56px 0 72px;
}
.landing-signup-section .section-head {
  margin-bottom: 22px;
}
.landing-signup-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
}
.landing-signup-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 33, 50, 0.08);
  color: #6d7b8d;
  min-width: 0;
}
.landing-signup-step.is-active {
  border-color: rgba(255, 79, 31, 0.28);
  background: #fff;
  box-shadow: 0 14px 34px rgba(255, 79, 31, 0.12);
  color: var(--navy);
}
.landing-signup-step.is-done {
  border-color: rgba(22, 184, 109, 0.24);
  background: rgba(22, 184, 109, 0.08);
  color: #0f7a49;
}
.landing-signup-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(20, 33, 50, 0.06);
}
.landing-signup-step.is-active .landing-signup-step-num {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
}
.landing-signup-step.is-done .landing-signup-step-num {
  background: #16b86d;
  color: #fff;
}
.landing-signup-step-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.landing-signup-step-copy strong {
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}
.landing-signup-step-copy span {
  font-size: 0.76rem;
  color: #7a8798;
}
.landing-signup-step-line {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(20, 33, 50, 0.12);
}
.landing-signup-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.landing-signup-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}
.landing-signup-aside {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 244, 0.92));
  border: 1px solid rgba(20, 33, 50, 0.08);
  box-shadow: var(--soft-shadow);
}
.landing-signup-tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 79, 31, 0.1);
  color: #c75320;
  font-weight: 900;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.landing-signup-aside h3 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--navy);
}
.landing-signup-aside > p {
  color: #627084;
  margin-bottom: 14px;
}
.landing-signup-list {
  margin: 0 0 20px 18px;
  color: #4f6074;
  line-height: 1.7;
}
.landing-signup-list li + li {
  margin-top: 6px;
}
.landing-signup-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.landing-signup-proof .proof-item {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(20, 33, 50, 0.08);
}
.landing-signup-proof .proof-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.landing-signup-proof .proof-item span {
  display: block;
  font-size: 0.76rem;
  color: #6d7b8d;
}
.landing-signup-note {
  font-size: 0.88rem;
  color: #627084;
}
.landing-signup-note a {
  color: var(--orange);
  font-weight: 800;
}
.landing-signup-form-title {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 4px;
}
.landing-signup-submit {
  width: 100%;
  margin-top: 4px;
}
.landing-signup-legal {
  font-size: 0.8rem;
  color: #7a8798;
  line-height: 1.45;
}
.landing-signup-inline-fields {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}
.landing-signup-cep-status {
  margin-top: -4px;
  font-size: 0.82rem;
  color: #627084;
  min-height: 1.1em;
}
.landing-signup-address-form .landing-signup-form-title {
  margin-bottom: 2px;
}
.landing-flash {
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 700;
}
.landing-flash-error {
  background: rgba(255, 91, 91, 0.12);
  border: 1px solid rgba(255, 91, 91, 0.28);
  color: #b42318;
}
.landing-flash-success {
  background: rgba(22, 184, 109, 0.12);
  border: 1px solid rgba(22, 184, 109, 0.28);
  color: #0f7a49;
}

@media (max-width: 980px) {
  .landing-signup-grid {
    grid-template-columns: 1fr;
  }
  .landing-signup-proof {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .landing-signup-nav-actions .btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.88rem;
  }
}
@media (max-width: 560px) {
  .landing-signup-section {
    padding-top: 36px;
  }
  .landing-signup-aside,
  .landing-signup-form {
    padding: 20px;
  }
  .landing-signup-nav-actions {
    justify-content: stretch;
  }
  .landing-signup-nav-actions .btn {
    flex: 1 1 auto;
  }
  .landing-signup-steps {
    justify-content: flex-start;
  }
  .landing-signup-step-line {
    display: none;
  }
  .landing-signup-inline-fields {
    grid-template-columns: 1fr;
  }
}
