/* Generated from styles.css. Shared and page-specific CSS split for faster loads. */

:root {
  --ink: #141916;
  --muted: #64706b;
  --paper: #f6f8f4;
  --white: #ffffff;
  --line: #dde5dd;
  --teal: #0e766d;
  --teal-dark: #0b4f47;
  --yellow: #f2c94c;
  --gold: #d9a441;
  --blue: #315c7a;
  --red: #d1493f;
  --green: #2f8f57;
  --shadow: 0 20px 60px rgba(24, 33, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.brand,
.header-action,
.nav-links,
.btn,
.live-pill,
.icon-btn {
  display: inline-flex;
  align-items: center;
}

.brand {
  min-width: 0;
  justify-self: start;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 0.8rem;
}

.header-action svg,
.btn svg,
.live-pill svg,
.icon-btn svg,
.feature-card svg,
.file-box svg,
.panel-header svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.photo-preview,
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-grid img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-mini span.is-done {
  color: var(--ink);
}

.timeline-mini span.is-done::before {
  border-color: var(--teal);
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.btn {
  min-width: 0;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.btn-primary {
  color: var(--ink);
  background: var(--yellow);
}

.btn-primary:hover {
  background: #ffd84d;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-secondary.is-light {
  color: var(--ink);
  background: #eef2ee;
  border-color: var(--line);
}

.panel-topline,
.panel-header,
.route-card,
.amount-row,
.whatsapp-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline {
  margin-bottom: 18px;
  color: var(--muted);
}

.panel-topline strong {
  color: var(--ink);
}

.route-card {
  padding: 16px;
  background: #f1f5f2;
  border-radius: 8px;
}

.route-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.status {
  min-height: 34px;
  padding: 8px 6px;
  color: var(--muted);
  background: #f3f4f1;
  border-radius: 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.is-done {
  color: var(--white);
  background: var(--green);
}

.status.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.amount-row {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.amount-row strong {
  font-size: 1.4rem;
}

.section,
.insight-band {
  padding: clamp(58px, 8vw, 104px) 0;
}

.split,
.beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.76fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.split p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.access-section {
  background: #f3f6f1;
}

.access-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.access-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(24, 33, 31, 0.08);
}

.access-card > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 8px;
}

.access-card p {
  color: var(--muted);
}

.company-about-card p:not(.eyebrow),
.company-contact-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.company-contact-card .btn {
  justify-self: start;
  margin-top: 4px;
}

.feature-card svg,
.panel-header > svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 8px;
}

.feature-card p,
.price-card p,
.beta-grid p,
.form-note {
  color: var(--muted);
}

body.order-app-mode .site-header,
body.order-app-mode .mobile-menu,
body.order-app-mode .site-footer,
body.order-app-mode .hero,
body.order-app-mode [data-company-profile],
body.order-app-mode #como-funciona,
body.order-app-mode .customer-info-panel {
  display: none !important;
}

body.order-app-mode .request-panel > .panel-header {
  display: none;
}

.request-panel .form-row {
  gap: 16px;
}

.request-stepper button.is-active,
.request-stepper button.is-done {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.request-step.is-active {
  display: block;
}

.request-step-actions .btn {
  width: auto;
  min-width: 150px;
  min-height: 44px;
  padding-inline: 18px;
}

.request-step-actions .form-submit {
  display: none;
}

.request-step-actions.is-final .form-submit {
  display: inline-flex;
  min-width: 188px;
}

.panel-header {
  margin-bottom: 20px;
}

.panel-header h3 {
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid #cfd9d1;
  border-radius: 8px;
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.place-suggestion.is-muted {
  color: var(--muted);
  cursor: default;
}

.lookup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.lookup-row button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

button:disabled,
.btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.file-box {
  align-items: center;
  grid-template-columns: auto 1fr;
  min-height: 58px;
  padding: 12px;
  background: #eef7f3;
  border: 1px dashed #89bdb5;
  border-radius: 8px;
  cursor: pointer;
}

.file-box input {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.check-line input {
  width: 18px;
  min-height: 18px;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.live-pill {
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 999px;
  font-weight: 900;
}

.order-top,
.order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-top strong {
  font-size: 1.02rem;
}

.order-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.whatsapp-box {
  align-items: flex-start;
  padding: 14px;
  background: #f4f6f2;
  border-radius: 8px;
}

.whatsapp-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  width: fit-content;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.beta-section .eyebrow {
  color: var(--yellow);
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 800;
}

.form-note.is-success {
  color: var(--green);
}

.inline-link-button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.system-status.is-danger {
  color: #8a2e26;
  background: #fde8e5;
}

.system-status.is-waiting {
  color: #7d5700;
  background: #fff1c2;
}

/* Premium landing layer */

.brand {
  letter-spacing: 0;
}

.brand-mark {
  color: #111713;
  background: linear-gradient(180deg, #ffe48a, var(--yellow));
  box-shadow: 0 8px 18px rgba(242, 201, 76, 0.28);
}

.hero {
  min-height: 92svh;
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  color: #fff2b8;
  background: rgba(242, 201, 76, 0.12);
  border: 1px solid rgba(242, 201, 76, 0.28);
  border-radius: 8px;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
}

.btn {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #ffe28a, var(--yellow));
  box-shadow: 0 14px 30px rgba(242, 201, 76, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.panel-topline {
  margin-top: 8px;
}

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

.panel-kpis div {
  padding: 12px;
  border: 1px solid #e3e9e2;
  border-radius: 8px;
  background: #f8faf7;
}

.panel-kpis span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-kpis strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.route-card {
  background: linear-gradient(180deg, #f8faf7, #eef4ef);
  border: 1px solid #dfe7df;
}

.status {
  border: 1px solid #e1e7e1;
}

.panel-proof {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  color: var(--teal-dark);
  background: #e6f5f1;
  border: 1px solid #bde2da;
  border-radius: 8px;
  font-weight: 850;
}

.panel-proof svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.feature-card svg,
.panel-header > svg {
  color: #0f5f58;
  background: #e1f3ef;
}

.operation-section .eyebrow {
  color: #fff2b8;
}

.operation-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.tag {
  color: #173f5b;
  background: #e2edf3;
}

/* Clean commercial landing layer */

body {
  background: #f7fbf9;
}

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

.brand-mark {
  color: var(--white);
  background: linear-gradient(180deg, #118279, var(--teal-dark));
  box-shadow: none;
}

.hero {
  min-height: 86svh;
  background: #eef8f5;
}

.hero .eyebrow {
  color: #073f3a;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.62);
}

h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 7vw, 6.4rem);
  line-height: 0.98;
}

.btn-primary {
  color: var(--white);
  background: #f28c28;
  box-shadow: 0 12px 24px rgba(242, 140, 40, 0.22);
}

.btn-primary:hover {
  background: #ff9a36;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-signup-card .eyebrow {
  color: var(--teal);
  background: transparent;
  border: 0;
  padding: 0;
}

.insight-band .eyebrow,
.operation-section .eyebrow {
  color: var(--teal);
}

.split p {
  color: var(--muted);
}

.operation-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.simulator-grid > div:first-child p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
}

.tag {
  color: var(--teal-dark);
  background: #e4f4f0;
}

.beta-section .eyebrow {
  color: var(--teal);
}

.hidden {
  display: none !important;
}

.login-body {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 18, 16, 0.9), rgba(11, 18, 16, 0.72) 46%, rgba(11, 18, 16, 0.44)),
    url("assets/hero-logistics.webp") center / cover fixed;
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 24px 0;
}

.login-header .brand {
  color: var(--white);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 480px);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  width: min(1180px, calc(100vw - 36px));
  min-height: calc(100svh - 98px);
  margin: 0 auto;
  padding: 32px 0 72px;
}

.login-intro {
  max-width: 690px;
}

.login-intro .eyebrow {
  color: var(--yellow);
}

.login-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.login-intro > p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.login-body .login-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.login-tabs button.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(24, 33, 31, 0.08);
}

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

.login-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.login-form-heading svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 8px;
  flex: 0 0 auto;
}

.login-form-heading h2 {
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.login-form-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-helper-link {
  justify-self: start;
  color: var(--teal-dark);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-steps span.is-active {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.signup-card-title svg,
.cadastro-cta-card > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--teal-dark);
  background: #e4f4f0;
  border-radius: 8px;
  flex: 0 0 auto;
}

.city-picker {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  background: #f7fbf9;
}

.signup-submit-card .form-note {
  grid-column: 1 / -1;
}

.tracking-hero p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.tracking-heading p:not(.eyebrow) {
  color: var(--muted);
}

.tracking-step.is-done {
  color: var(--teal-dark);
  background: #dff2ed;
}

.tracking-step.is-done span,
.tracking-step.is-active span {
  border-color: var(--teal);
  background: var(--teal);
}

.tracking-step.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.internal-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100svh;
  background: #edf3ef;
}

.internal-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100svh;
  padding: 20px;
  color: var(--white);
  background: var(--ink);
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.side-brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
}

.side-brand strong,
.side-brand small {
  display: block;
}

.side-brand strong {
  line-height: 1.05;
  font-weight: 950;
}

.side-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a,
.side-nav button,
.side-actions a,
.side-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.side-nav a:hover,
.side-nav button:hover,
.side-actions a:hover,
.side-actions button:hover,
.side-nav a.is-active,
.side-nav button.is-active {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.side-panel {
  padding: 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.side-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.side-panel p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.side-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.side-actions button {
  width: 100%;
  font: inherit;
  text-align: left;
}

.internal-main {
  min-width: 0;
  width: 100%;
  padding: 26px clamp(18px, 3vw, 42px) 68px;
}

.internal-top p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

/* Internal product surfaces */

body .internal-layout {
  grid-template-columns: 282px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    #f3f6f1;
}

body .internal-sidebar {
  gap: 16px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 36px rgba(24, 33, 31, 0.06);
}

body .side-brand {
  padding: 8px 6px 18px;
  border-bottom: 1px solid var(--line);
}

body .side-brand-mark {
  color: var(--yellow);
  background: var(--ink);
}

body .side-brand strong {
  color: var(--ink);
}

body .side-brand small {
  color: var(--muted);
}

body .side-nav {
  gap: 6px;
}

body .side-nav a,
body .side-nav button,
body .side-actions a,
body .side-actions button {
  justify-content: flex-start;
  min-height: 42px;
  gap: 10px;
  padding: 10px 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
}

body .side-nav a:hover,
body .side-nav button:hover,
body .side-actions a:hover,
body .side-actions button:hover {
  color: var(--ink);
  background: #f4f6f2;
  border-color: var(--line);
}

body .side-nav a.is-active,
body .side-nav button.is-active {
  color: var(--ink);
  background: #fff3bd;
  border-color: #efd36a;
  box-shadow: inset 3px 0 0 var(--yellow);
}

body .side-panel {
  color: var(--muted);
  background: #f8faf7;
  border: 1px solid var(--line);
}

body .side-panel strong {
  color: var(--ink);
}

body .side-actions {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

body .internal-main {
  padding: 22px clamp(18px, 3vw, 38px) 64px;
}

body .internal-top,
body .admin-appbar {
  align-items: center;
  min-height: 76px;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(24, 33, 31, 0.06);
}

body .internal-top h1,
body .admin-appbar h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  line-height: 1.08;
}

body .admin-card,
body .driver-card,
body .driver-focus,
body .driver-stat,
body .tracking-card,
body .simulated-checkout {
  border-color: #dbe4dc;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(24, 33, 31, 0.07);
}

body .admin-stat,
body .driver-stat {
  min-height: 96px;
  padding: 16px;
}

body .admin-stat strong,
body .driver-stat strong {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

body .admin-view-header,
body .panel-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

body .panel-header {
  margin-bottom: 16px;
}

body table {
  min-width: 900px;
  border-spacing: 0;
}

body th {
  background: #f7f9f6;
}

body th:first-child {
  border-top-left-radius: 8px;
}

body th:last-child {
  border-top-right-radius: 8px;
}

body tr:hover td {
  background: #fbfcfa;
}

body .admin-actions button,
body .admin-view-actions button,
body .driver-actions button,
body .driver-actions a {
  min-height: 38px;
  border-color: #d7e1d8;
  background: #ffffff;
}

body .admin-actions button:hover,
body .admin-view-actions button:hover,
body .driver-actions button:hover,
body .driver-actions a:hover {
  color: var(--teal-dark);
  background: #edf8f4;
  border-color: #9fcfc5;
}

body .driver-actions .primary-action,
body .admin-view-actions .btn,
body .company-form-actions .btn {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

body .empty-state,
body .copy-note,
body .form-section,
body .focus-item,
body .admin-mini-list li,
body .admin-detail-grid div,
body .tracking-grid div,
body .driver-meta div {
  background: #f8faf7;
  border-color: #dbe4dc;
}

body .live-pill,
body .order-badge,
body .detail-badges span,
body .city-tags span,
body .chip,
body .kanban-header span {
  border: 1px solid #bfe4dd;
}

/* Denser internal system surfaces: admin + driver panels */

.internal-layout.admin-layout,
.internal-layout.driver-layout {
  grid-template-columns: 252px minmax(0, 1fr);
  font-size: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)),
    #f4f7f4;
}

.admin-layout .internal-sidebar,
.driver-layout .internal-sidebar {
  gap: 10px;
  padding: 12px;
  box-shadow: 8px 0 24px rgba(24, 33, 31, 0.045);
}

.admin-layout .side-brand,
.driver-layout .side-brand {
  min-height: 50px;
  padding: 6px 4px 12px;
}

.admin-layout .side-brand-logo,
.driver-layout .side-brand-logo {
  max-width: 82px;
  max-height: 34px;
}

.admin-layout .side-brand strong,
.driver-layout .side-brand strong {
  font-size: 0.94rem;
}

.admin-layout .side-brand small,
.driver-layout .side-brand small,
.admin-layout .side-panel p,
.driver-layout .side-panel p {
  font-size: 0.76rem;
  line-height: 1.4;
}

.admin-layout .side-nav,
.driver-layout .side-nav,
.admin-layout .side-actions,
.driver-layout .side-actions {
  gap: 4px;
}

.admin-layout .side-nav a,
.admin-layout .side-nav button,
.admin-layout .side-actions a,
.admin-layout .side-actions button,
.driver-layout .side-nav a,
.driver-layout .side-nav button,
.driver-layout .side-actions a,
.driver-layout .side-actions button {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-layout .side-panel,
.driver-layout .side-panel {
  padding: 10px;
  border-radius: 7px;
}

.admin-layout .internal-main,
.driver-layout .internal-main {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 16px clamp(14px, 2vw, 28px) 46px;
}

.admin-layout .admin-appbar,
.admin-layout .admin-view-header,
.driver-layout .internal-top,
.driver-layout .screen-head {
  min-height: 58px;
  margin-bottom: 12px;
  padding: 11px 13px;
  gap: 10px;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(24, 33, 31, 0.045);
}

.admin-layout .admin-appbar h1,
.driver-layout .internal-top h1 {
  font-size: clamp(1.22rem, 1.7vw, 1.7rem);
  line-height: 1.08;
}

.admin-layout .admin-view-header h2,
.driver-layout .screen-head h2 {
  font-size: clamp(1.12rem, 1.45vw, 1.48rem);
  line-height: 1.12;
}

.admin-layout .admin-appbar p,
.admin-layout .admin-view-header p,
.driver-layout .internal-top p:not(.eyebrow),
.driver-layout .screen-head p:not(.eyebrow) {
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-layout .eyebrow,
.driver-layout .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.admin-layout .admin-card,
.driver-layout .driver-card,
.driver-layout .driver-focus,
.driver-layout .driver-stat {
  padding: 14px;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(24, 33, 31, 0.045);
}

.admin-layout .admin-view,
.driver-layout .driver-view {
  gap: 12px;
}

.admin-layout .admin-grid,
.driver-layout .driver-grid {
  gap: 10px;
  margin-bottom: 12px;
}

.admin-layout .admin-stat,
.driver-layout .driver-stat {
  min-height: 76px;
  padding: 12px;
}

.admin-layout .admin-stat span,
.driver-layout .driver-stat span,
.admin-layout .driver-command-cardlet span,
.driver-layout .driver-command-cardlet span {
  font-size: 0.74rem;
}

.admin-layout .admin-stat strong,
.driver-layout .driver-stat strong {
  margin-top: 4px;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
}

.admin-layout .panel-header,
.driver-layout .panel-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.admin-layout .panel-header h3,
.driver-layout .panel-header h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.admin-layout .panel-header p,
.driver-layout .panel-header p,
.admin-layout .kanban-empty,
.driver-layout .kanban-empty,
.admin-layout .form-note,
.driver-layout .form-note {
  font-size: 0.86rem;
  line-height: 1.45;
}

.admin-layout input,
.admin-layout select,
.admin-layout textarea,
.driver-layout input,
.driver-layout select,
.driver-layout textarea {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.92rem;
}

.admin-layout textarea,
.driver-layout textarea {
  min-height: 86px;
}

.admin-layout label,
.driver-layout label {
  gap: 5px;
  font-size: 0.84rem;
}

.admin-layout .btn,
.admin-layout button,
.driver-layout .btn,
.driver-layout button,
.driver-layout .public-panel-action {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.86rem;
}

.admin-layout .live-pill,
.driver-layout .live-pill,
.admin-layout .order-badge,
.driver-layout .order-badge,
.admin-layout .chip,
.driver-layout .chip,
.admin-layout .detail-badges span,
.driver-layout .detail-badges span {
  min-height: 26px;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.admin-layout .table-wrap table,
.driver-layout table {
  min-width: 760px;
}

.admin-layout th,
.admin-layout td,
.driver-layout th,
.driver-layout td {
  padding: 8px 9px;
  font-size: 0.84rem;
}

.admin-layout th,
.driver-layout th {
  font-size: 0.68rem;
}

.driver-layout .driver-orders,
.driver-layout .route-day-list,
.driver-layout .payment-list,
.admin-layout .admin-mini-list {
  gap: 8px;
}

.driver-layout .order-card,
.driver-layout .route-day-stop,
.driver-layout .payment-row,
.driver-layout .brand-editor-section,
.admin-layout .admin-mini-list li,
.admin-layout .admin-detail-grid div,
.admin-layout .client-card {
  padding: 10px;
  border-radius: 7px;
}

.admin-layout .admin-snapshot,
.admin-layout .detail-layout,
.driver-layout .driver-quick-grid,
.driver-layout .route-day-grid,
.driver-layout .whitelabel-grid {
  gap: 12px;
}

body .tracking-hero p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 960px) {
.hero-content,
  .split,
  .login-shell,
  .quick-start-card,
  .simulator-grid,
  .beta-grid {
    grid-template-columns: 1fr;
  }

.login-shell {
    align-items: start;
    min-height: auto;
  }

.login-intro {
    max-width: 760px;
  }
}

@media (max-width: 920px) {
.internal-layout,
  body .internal-layout {
    grid-template-columns: 1fr;
  }

.internal-layout.admin-layout,
  .internal-layout.driver-layout {
    grid-template-columns: 1fr;
  }

.internal-sidebar,
  body .internal-sidebar {
    position: static;
    height: auto;
  }

.admin-layout .internal-sidebar,
  .driver-layout .internal-sidebar {
    position: static;
    height: auto;
  }

.side-nav,
  body .side-nav {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

.admin-layout .side-nav,
  .driver-layout .side-nav {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

.side-actions,
  body .side-actions {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    margin-top: 0;
  }

.admin-layout .side-actions,
  .driver-layout .side-actions {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    margin-top: 0;
  }
}

@media (max-width: 720px) {
html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

.admin-layout .side-nav a,
  .admin-layout .side-nav button,
  .admin-layout .side-actions a,
  .admin-layout .side-actions button {
    min-height: 40px;
    padding: 8px 10px;
  }

input,
  textarea,
  select {
    font-size: 16px;
  }

.brand span:last-child {
    max-width: 100px;
    line-height: 1.05;
  }

.hero {
    min-height: 86svh;
  }

h1 {
    max-width: min(330px, 100%);
    font-size: clamp(2.65rem, 13vw, 3.35rem);
  }

.eyebrow,
  .hero-lede {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

.hero-actions .btn {
    width: 100%;
  }

.request-panel .panel-header {
    margin-bottom: 14px;
  }

.request-panel .panel-header > svg {
    width: 34px;
    height: 34px;
  }

.request-step-actions .btn {
    width: auto;
    min-width: 124px;
    min-height: 42px;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.92rem;
  }

.request-step-actions.is-final .form-submit {
    width: auto;
    min-width: 178px;
  }

.hero-metrics,
  .hero-benefits,
  .company-public-grid,
  .company-public-hero-card,
  .company-public-body-grid,
  .company-public-facts,
  .company-confidence-grid,
  .company-tracking-box,
  .flow-grid,
  .product-grid,
  .access-grid,
  .operation-grid,
  .quick-start-grid,
  .simulator-grid,
  .simulator-fields,
  .pricing-grid,
  .form-row,
  .lookup-row,
  .summary-grid {
    grid-template-columns: 1fr;
  }

.company-public-actions .btn,
  .company-contact-actions .btn,
  .company-social-links a,
  .company-tracking-box .entry-form .btn {
    width: 100%;
  }

.platform-strip-inner,
  .signup-submit-card,
  .simulator-result {
    align-items: flex-start;
    flex-direction: column;
  }

.login-body {
    background:
      linear-gradient(180deg, rgba(11, 18, 16, 0.92), rgba(11, 18, 16, 0.72)),
      url("assets/hero-logistics.webp") center / cover fixed;
  }

.login-header {
    padding: 16px 0;
  }

.login-header .btn {
    min-height: 42px;
    padding: 10px 12px;
  }

.login-shell {
    padding: 18px 0 42px;
  }

.login-intro h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

.order-top,
  .order-actions,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

.status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.tracking-search .btn {
    width: 100%;
  }

.internal-main {
    padding: 18px 14px 48px;
  }

.internal-top,
  body .internal-top,
  body .admin-appbar,
  body .admin-view-header {
    align-items: flex-start;
  }
}

:root {
  --ink: #101826;
  --muted: #5d6b7a;
  --paper: #f5f8fb;
  --line: #dbe4ec;
  --teal: #0f4c75;
  --teal-dark: #082f4d;
  --yellow: #ff8a1d;
  --gold: #dc6f10;
  --blue: #123a5a;
}

.brand {
  min-height: 54px;
}

.brand-logo {
  width: clamp(178px, 17vw, 238px);
  height: 68px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 24, 39, 0.16);
}

.site-header .brand-logo {
  width: clamp(178px, 16vw, 238px);
}

.login-header .brand-logo,
.signup-header .brand-logo,
.tracking-brand .brand-logo {
  width: clamp(180px, 18vw, 244px);
  height: 70px;
}

.side-brand {
  align-items: center;
}

.side-brand-logo {
  width: 110px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 24, 39, 0.14);
}

.hero .eyebrow {
  color: #fff2dc;
  background: rgba(255, 138, 29, 0.2);
  border-color: rgba(255, 138, 29, 0.36);
}

.btn-primary {
  color: #111827;
  background: linear-gradient(180deg, #ffb057, var(--yellow));
  box-shadow: 0 16px 34px rgba(255, 138, 29, 0.25);
}

.login-body,
body.tracking-page {
  background:
    linear-gradient(90deg, rgba(5, 18, 32, 0.9), rgba(5, 18, 32, 0.66)),
    url("assets/mfo-logistics-dock.webp") center / cover fixed;
}

body .tracking-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.login-card,
.signup-card,
.tracking-card {
  box-shadow: 0 20px 60px rgba(7, 24, 39, 0.14);
}

.route-section .eyebrow {
  color: #ffd7a6;
}

.route-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 720px) {
.brand {
    min-height: 46px;
  }

.brand-logo,
  .site-header .brand-logo,
  .login-header .brand-logo,
  .signup-header .brand-logo,
  .tracking-brand .brand-logo {
    width: 168px;
    height: 64px;
  }
}

/* Institutional navigation and pages */

.site-header .brand {
  min-height: 58px;
}

.site-header .brand-logo {
  width: clamp(184px, 16vw, 246px);
  height: 58px;
}

.info-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
}

.info-grid p:not(.eyebrow),
.info-band p {
  color: var(--muted);
}

.info-card {
  display: grid;
  gap: 10px;
}

.info-card svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  color: var(--teal-dark);
  background: #e6f1f7;
  border-radius: 8px;
}

.info-band .eyebrow {
  color: #ffd7a6;
}

body.company-public-mode .site-footer nav a[href="/cadastro.html"] {
  display: none;
}

@media (max-width: 760px) {
.site-header .brand-logo {
    width: 156px;
    height: 52px;
  }
}

/* Public-site polish: shared header, mobile menu, trust cards and footer. */

.site-header .brand {
  min-width: 0;
  padding: 4px 8px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 38, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 23, 38, 0.16);
}

.site-header .brand-logo {
  width: 178px;
  height: 46px;
  object-fit: contain;
}

body.company-public-mode.has-company-logo .site-header .brand {
  padding: 3px 6px;
}

body.company-public-mode.has-company-logo .site-header .brand-logo {
  width: 118px;
  height: 32px;
  object-fit: cover;
  object-position: center;
}

.header-action,
.menu-toggle {
  min-height: 44px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 23, 38, 0.14);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #071726;
  cursor: pointer;
  background: #ffffff;
  border: 0;
  font-weight: 900;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.mobile-menu[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu[aria-hidden="false"] .mobile-menu-panel {
  transform: translateY(0);
}

.mobile-menu-panel > a:not(.btn) {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  color: #0f1f2e;
  border-radius: 8px;
  font-weight: 850;
}

.mobile-menu-panel > a:not(.btn):hover,
.mobile-menu-panel > a[aria-current="page"] {
  background: #eef5f3;
}

.mobile-menu-panel .btn {
  justify-content: center;
  margin-top: 8px;
}

body.has-mobile-menu {
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 248, 244, 0), #f6f8f4);
}

.hero .hero-signup-card .eyebrow {
  min-height: 26px;
  padding: 5px 8px;
  color: #0b4f47;
  background: #fff4df;
  border: 1px solid #f4c98b;
  border-radius: 7px;
  font-size: 0.7rem;
  line-height: 1;
}

@media (max-width: 1180px) {
.menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
.site-header .brand {
    width: fit-content;
    max-width: 100%;
    padding: 3px 6px;
  }

.site-header .brand-logo {
    width: 138px;
    height: 38px;
  }

body.company-public-mode.has-company-logo .site-header .brand-logo {
    width: 104px;
    height: 30px;
  }

.menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
  }

.menu-toggle span {
    display: none;
  }
}

@media (max-width: 760px) {
.hero-actions .btn {
    justify-content: center;
    width: 100%;
  }
}

.hero {
  min-height: auto;
}

.hero h1 {
  max-width: 660px;
  font-size: 5.2rem;
  line-height: 1;
}

@media (max-width: 1080px) {
.hero h1 {
    font-size: 4.35rem;
  }
}

@media (max-width: 760px) {
.hero h1 {
    font-size: 3.2rem;
    width: min(330px, 100%);
    max-width: 100%;
    white-space: normal;
  }

.info-hero p:not(.eyebrow) {
    font-size: 1.02rem;
  }
}

.signup-success-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.signup-success-modal.hidden {
  display: none;
}

.signup-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 38, 0.62);
  backdrop-filter: blur(8px);
}

.signup-success-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(620px, 100%);
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
  background: #ffffff;
  border: 1px solid #dce8e4;
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(7, 23, 38, 0.34);
}

.signup-success-card > svg {
  width: 52px;
  height: 52px;
  padding: 11px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 8px;
}

.signup-success-card h2 {
  max-width: 520px;
  margin-bottom: 0;
  color: #101827;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.signup-success-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.signup-success-facts {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
}

.signup-success-facts div {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: #f5f9f7;
  border: 1px solid #dce8e4;
  border-radius: 8px;
}

.signup-success-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signup-success-facts dd {
  margin: 0;
  color: #071726;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.signup-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.signup-success-actions .btn {
  justify-content: center;
}

body.has-success-modal {
  overflow: hidden;
}

@media (max-width: 620px) {
.signup-success-actions {
    flex-direction: column;
  }

.signup-success-actions .btn {
    width: 100%;
  }
}

/* Landing seam fix: keep the hero and product summary as separate sections. */

.hero {
  overflow: clip;
}

.hero::after {
  height: 92px;
  background: linear-gradient(180deg, rgba(244, 248, 246, 0), #f4f8f6 88%);
}

.tracking-next-step .eyebrow {
  margin-bottom: 5px;
  color: #0d5d53;
}

body.tracking-page .tracking-step.is-done::before,
body.tracking-page .tracking-step.is-active::before {
  background: var(--teal);
}

body.tracking-page .tracking-step.is-active {
  background: #fff5d5;
  border-color: #f3c75f;
}

.tracking-pix {
  display: grid;
  gap: 14px;
  padding: 16px;
  color: #071726;
  background: linear-gradient(180deg, #f7fbf9, #eef8f4);
  border: 1px solid #cfe5df;
  border-radius: 8px;
}

.tracking-pix-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e8e2;
}

.tracking-pix-header strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.tracking-pix-header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.tracking-pix-header svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 7px;
  color: #0d5d53;
  background: #dff4ef;
  border-radius: 8px;
}

.tracking-pix-body {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.tracking-pix img {
  width: 176px;
  height: 176px;
  padding: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #d8e8e2;
  border-radius: 8px;
}

.tracking-pix label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #071726;
  font-size: 0.82rem;
  font-weight: 900;
}

.tracking-pix textarea {
  min-height: 176px;
  resize: vertical;
  color: #31465a;
  background: #ffffff;
  border: 1px solid #cfe0d8;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.5;
}

.order-success-pix .tracking-pix-body {
  grid-template-columns: minmax(128px, 168px) minmax(0, 1fr);
}

.order-success-pix .tracking-pix img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.order-success-pix .tracking-pix textarea,
.order-success-pix textarea {
  min-height: 118px;
}

body.tracking-page .tracking-actions .btn {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  font-size: 0.98rem;
}

body.tracking-page .tracking-actions .btn svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

body.tracking-page #tracking-payment.btn-primary {
  border: 1px solid #f1a029;
  box-shadow: 0 14px 28px rgba(255, 138, 29, 0.2);
}

body.tracking-page #tracking-whatsapp.btn-secondary {
  color: #ffffff;
  background: linear-gradient(180deg, #18b978, #0d8f60);
  border: 1px solid #0a7b52;
  box-shadow: 0 16px 34px rgba(13, 143, 96, 0.22);
}

body.tracking-page #tracking-whatsapp.btn-secondary:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #21c785, #0a7b52);
  border-color: #066542;
}

.fixed-price-preview.is-ready {
  background: #e9fbf3;
  border-color: #9ed8bf;
}

.fixed-price-preview.is-ready strong {
  color: #0a704d;
  font-size: 1.35rem;
}

.fixed-price-preview.is-warning {
  background: #fff7df;
  border-color: #ecc96b;
}

.fixed-price-preview.is-warning strong {
  color: #7a4f05;
}

.fixed-price-preview.is-danger {
  background: #fff4ef;
  border-color: #efbca7;
}

.fixed-price-preview.is-danger strong {
  color: #8a2d12;
}

@media (max-width: 900px) {
.tracking-pix-body {
    grid-template-columns: 1fr;
  }

.tracking-pix img {
    width: min(100%, 260px);
    height: auto;
    aspect-ratio: 1;
  }
}

/* Premium public footer */

.footer-actions .btn {
  min-height: 46px;
  border-radius: 8px;
}

.footer-actions .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.company-public-mode .footer-links a[href="/cadastro.html"] {
  display: none;
}

.main-footer-strip .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.main-footer-strip .btn svg {
  width: 16px;
  height: 16px;
}

.company-footer-cta .btn {
  min-height: 50px;
  border-radius: 999px;
}

.company-footer-cta .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.company-footer-strip .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.company-footer-strip .btn svg {
  width: 16px;
  height: 16px;
}

.company-footer-strip .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.company-public-mode .btn-primary,
body.company-public-mode .form-submit,
body.company-public-mode .primary-action,
body.company-public-mode .hero-actions .btn-primary,
body.company-public-mode .signup-success-actions .btn-primary {
  color: var(--public-button-contrast);
  background: linear-gradient(180deg, var(--public-button-light), var(--public-button-color));
  border-color: var(--public-button-color);
}

body.company-public-mode .btn-primary:hover,
body.company-public-mode .form-submit:hover,
body.company-public-mode .primary-action:hover {
  color: var(--public-button-contrast);
  background: linear-gradient(180deg, var(--public-button-color), var(--public-button-dark));
}

body.company-public-mode .hero .eyebrow,
body.company-public-mode .live-pill,
body.company-public-mode .trust-card > svg,
body.company-public-mode .process-card > svg,
body.company-public-mode .customer-step-list > div > svg {
  color: var(--public-button-contrast);
  background: var(--public-button-color);
}

body.company-public-mode .hero .eyebrow,
body.company-public-mode .live-pill {
  border-color: var(--public-button-color);
}

body.company-public-mode.has-company-logo .site-header .brand {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.company-public-mode.has-company-logo .site-header .brand-logo {
  width: clamp(118px, 8vw, 168px);
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

body.company-public-mode .hero {
  min-height: clamp(640px, 74svh, 820px);
  background: #071726;
}

body.company-public-mode .hero::after {
  z-index: 1;
  height: 154px;
  background: linear-gradient(180deg, rgba(244, 248, 246, 0), #f4f8f6 88%);
}

body.company-public-mode .hero h1 {
  max-width: 610px;
  font-size: clamp(3.4rem, 5vw, 5.55rem);
  line-height: 0.98;
}

body.company-public-mode.has-company-logo .site-header .brand-logo {
  object-fit: contain;
}

@media (max-width: 1080px) {
body.company-public-mode .hero,
  body.company-public-mode .hero-content {
    min-height: 660px;
  }

body.company-public-mode .hero h1 {
    font-size: clamp(3rem, 8vw, 4.35rem);
  }
}

@media (max-width: 760px) {
body.company-public-mode .hero,
  body.company-public-mode .hero-content {
    min-height: 700px;
  }

body.company-public-mode .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 3.45rem);
  }
}

@media (max-width: 620px) {
.footer-actions .btn {
    width: 100%;
  }

.company-footer-cta .btn {
    width: 100%;
  }

.company-footer-strip .btn {
    flex: 1 1 0;
    min-height: 36px;
    min-width: 0;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

.main-footer-strip .btn {
    flex: 1 1 0;
    min-height: 36px;
    min-width: 0;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
.company-footer-strip .btn {
    width: 100%;
    justify-content: center;
  }

.main-footer-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

.motorist-summary span,
.motorist-stop-main span,
.motorist-small-link,
.motorist-page .eyebrow {
  display: block;
  color: var(--motorist-brand);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

@keyframes motorist-spin {
  to {
    transform: rotate(360deg);
  }
}

.motorist-stop.is-done {
  background: #f2f6f4;
  color: #667085;
}

/* Motorist route: compact mobile-first operations view. */

@media (max-width: 520px) {
.motorist-hero p:not(.eyebrow) {
    font-size: 0.86rem;
    line-height: 1.35;
  }
}

/* Motorist visual refresh: clearer route states and brand-aware contrast. */

.motorist-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

body.motorist-page .motorist-hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.motorist-summary article.is-warning .motorist-summary-icon {
  color: var(--motorist-warning);
  background: var(--motorist-warning-soft);
}

.motorist-summary article.is-success .motorist-summary-icon {
  color: var(--motorist-success);
  background: var(--motorist-success-soft);
}

.motorist-summary article span:not(.motorist-summary-icon),
.motorist-stop-main span,
.motorist-small-link,
.motorist-page .eyebrow {
  color: var(--motorist-brand);
}

.motorist-next-card.is-dropoff::before,
.motorist-stop.is-dropoff::before {
  background: var(--motorist-success);
}

.motorist-next-card.is-done::before {
  background: var(--motorist-success);
}

.motorist-next-card.is-dropoff .motorist-next-icon,
.motorist-next-done > svg {
  color: var(--motorist-success);
  background: var(--motorist-success-soft);
}

.motorist-stop.is-done {
  color: #64748b;
  background: #f7faf9;
}

.motorist-stop.is-dropoff .motorist-stop-index {
  color: #ffffff;
  background: var(--motorist-success);
  box-shadow: 0 8px 18px rgba(21, 128, 61, 0.22);
}

.motorist-stop.is-done .motorist-stop-index {
  color: var(--motorist-success);
  background: var(--motorist-success-soft);
  box-shadow: none;
}

/* DashStack-inspired mobile driver workspace */

body.motorist-page .motorist-hero p:not(.eyebrow),
body.motorist-page .motorist-summary span:not(.motorist-summary-icon),
body.motorist-page .motorist-stop-main p,
body.motorist-page .motorist-card-head p {
  color: var(--dash-muted);
}

body.motorist-page .eyebrow,
body.motorist-page .motorist-small-link,
body.motorist-page .motorist-stop-main span {
  color: var(--dash-primary);
}

/* DashStack full public-site direction */

body:not(.company-public-mode) .site-header .brand {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.company-public-mode) .site-header .brand-logo {
  width: 170px;
  height: 46px;
  object-fit: contain;
}

body:not(.company-public-mode) .header-action,
body:not(.company-public-mode) .menu-toggle {
  color: #ffffff;
  background: var(--dash-blue);
  border: 1px solid var(--dash-blue);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(72, 128, 255, 0.22);
}

body:not(.company-public-mode) .hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  color: var(--dash-ink);
  background:
    radial-gradient(circle at 84% 16%, rgba(72, 128, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5f6fa 82%);
}

body:not(.company-public-mode) .hero::before {
  content: "";
  position: absolute;
  inset: 108px max(18px, calc((100vw - 1180px) / 2)) auto auto;
  width: min(450px, 42vw);
  height: 330px;
  pointer-events: none;
  border: 1px solid var(--dash-line);
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(72, 128, 255, 0.32), rgba(0, 182, 155, 0.18)) border-box;
  box-shadow: var(--dash-shadow);
}

body:not(.company-public-mode) .hero::after {
  content: "";
  position: absolute;
  inset: 150px max(44px, calc((100vw - 1120px) / 2 + 34px)) auto auto;
  width: min(374px, 34vw);
  height: 220px;
  pointer-events: none;
  border-radius: 16px;
  background:
    linear-gradient(90deg, var(--dash-blue) 0 20%, transparent 20% 100%) 0 0 / 100% 44px no-repeat,
    linear-gradient(90deg, #eef3ff 0 72%, #d9e6ff 72% 100%) 24px 72px / calc(100% - 48px) 20px no-repeat,
    linear-gradient(90deg, #f2f5fb 0 48%, #e6edf8 48% 100%) 24px 112px / calc(100% - 48px) 20px no-repeat,
    linear-gradient(90deg, #f2f5fb 0 60%, #e6edf8 60% 100%) 24px 152px / calc(100% - 48px) 20px no-repeat,
    linear-gradient(135deg, rgba(72, 128, 255, 0.12), rgba(0, 182, 155, 0.1)),
    #ffffff;
  box-shadow: inset 0 0 0 1px var(--dash-line);
}

body:not(.company-public-mode) .hero-copy .eyebrow,
body:not(.company-public-mode) .section-heading .eyebrow,
body:not(.company-public-mode) .quick-start-card .eyebrow,
body:not(.company-public-mode) .insight-band .eyebrow {
  width: fit-content;
  padding: 7px 10px;
  color: var(--dash-blue);
  background: var(--dash-blue-soft);
  border: 1px solid #d6e5ff;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

body:not(.company-public-mode) .hero h1 {
  max-width: 620px;
  margin: 16px 0 14px;
  color: var(--dash-ink);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.95;
}

body:not(.company-public-mode) .hero-actions .btn,
body:not(.company-public-mode) .hero-lead-form .btn,
body:not(.company-public-mode) .btn.btn-primary {
  min-height: 48px;
  color: #ffffff;
  background: var(--dash-blue);
  border-color: var(--dash-blue);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(72, 128, 255, 0.22);
}

body:not(.company-public-mode) .hero-actions .btn-secondary,
body:not(.company-public-mode) .btn.btn-secondary {
  color: var(--dash-ink);
  background: #ffffff;
  border: 1px solid var(--dash-line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

@media (max-width: 980px) {
body:not(.company-public-mode) .hero::before,
  body:not(.company-public-mode) .hero::after {
    display: none;
  }
}

@media (max-width: 760px) {
body:not(.company-public-mode) .site-header .brand-logo {
    width: 144px;
    height: 40px;
  }

body:not(.company-public-mode) .hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

body:not(.company-public-mode) .hero-actions,
  body:not(.company-public-mode) .hero-actions .btn {
    width: 100%;
  }
}

/* DashStack direction for public freight-company landing pages */

body.company-public-mode:not(.order-app-mode) .site-header .brand {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.company-public-mode:not(.order-app-mode).has-company-logo .site-header .brand-logo,
body.company-public-mode:not(.order-app-mode) .site-header .brand-logo {
  width: clamp(132px, 11vw, 180px);
  height: 48px;
  object-fit: contain;
  filter: none;
}

body.company-public-mode:not(.order-app-mode) .hero {
  min-height: auto;
  overflow: hidden;
  color: var(--company-dash-ink);
  background:
    radial-gradient(circle at 83% 11%, color-mix(in srgb, var(--public-button-color) 16%, transparent), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--company-dash-bg) 82%);
}

body.company-public-mode:not(.order-app-mode) .hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: clamp(450px, 50vw, 516px);
  right: max(24px, calc((100vw - 1180px) / 2 + 42px));
  width: min(390px, 34vw);
  height: 120px;
  pointer-events: none;
  border: 1px solid var(--company-dash-line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--public-button-color) 0 20%, transparent 20% 100%) 22px 22px / 128px 12px no-repeat,
    linear-gradient(90deg, #edf2fb 0 72%, #dbe6f8 72% 100%) 22px 52px / calc(100% - 44px) 12px no-repeat,
    linear-gradient(90deg, #f1f4f9 0 56%, #e4ebf5 56% 100%) 22px 78px / calc(100% - 44px) 12px no-repeat,
    #ffffff;
  box-shadow: var(--company-dash-shadow);
}

body.company-public-mode:not(.order-app-mode) .hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 246, 250, 0), var(--company-dash-bg) 78%);
}

body.company-public-mode:not(.order-app-mode) .hero .eyebrow,
body.company-public-mode:not(.order-app-mode) #como-funciona .eyebrow,
body.company-public-mode:not(.order-app-mode) .company-public-section .eyebrow {
  width: fit-content;
  padding: 7px 10px;
  color: var(--public-button-color);
  background: color-mix(in srgb, var(--public-button-color) 12%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--public-button-color) 26%, #ffffff);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

body.company-public-mode:not(.order-app-mode) .hero h1 {
  max-width: 560px;
  margin: 16px 0 16px;
  color: var(--company-dash-ink);
  font-size: clamp(3.15rem, 5.6vw, 5.65rem);
  line-height: 0.98;
}

body.company-public-mode:not(.order-app-mode) .hero-actions .btn,
body.company-public-mode:not(.order-app-mode) .company-public-actions .btn,
body.company-public-mode:not(.order-app-mode) .company-tracking-box .btn,
body.company-public-mode:not(.order-app-mode) .company-footer-strip .btn {
  min-height: 48px;
  border-radius: 12px;
}

body.company-public-mode:not(.order-app-mode) .btn-primary,
body.company-public-mode:not(.order-app-mode) .hero-actions .btn-primary,
body.company-public-mode:not(.order-app-mode) .company-public-actions .btn-primary,
body.company-public-mode:not(.order-app-mode) .company-tracking-box .btn-primary {
  color: var(--public-button-contrast);
  background: var(--public-button-color);
  border: 1px solid var(--public-button-color);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--public-button-color) 24%, transparent);
}

body.company-public-mode:not(.order-app-mode) .btn-secondary,
body.company-public-mode:not(.order-app-mode) .hero-actions .btn-secondary,
body.company-public-mode:not(.order-app-mode) .company-public-actions .btn-secondary {
  color: var(--company-dash-ink);
  background: #ffffff;
  border: 1px solid var(--company-dash-line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

body.company-public-mode:not(.order-app-mode) .company-public-intro p:not(.eyebrow),
body.company-public-mode:not(.order-app-mode) .company-about-card p:not(.eyebrow),
body.company-public-mode:not(.order-app-mode) .company-tracking-box p,
body.company-public-mode:not(.order-app-mode) .company-public-service-panel p,
body.company-public-mode:not(.order-app-mode) #como-funciona p {
  color: var(--company-dash-muted);
}

@media (max-width: 1020px) {
body.company-public-mode:not(.order-app-mode) .hero::before {
    display: none;
  }
}

@media (max-width: 760px) {
body.company-public-mode:not(.order-app-mode).has-company-logo .site-header .brand-logo,
  body.company-public-mode:not(.order-app-mode) .site-header .brand-logo {
    width: 132px;
    height: 40px;
  }

body.company-public-mode:not(.order-app-mode) .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

body.company-public-mode:not(.order-app-mode) .hero-actions,
  body.company-public-mode:not(.order-app-mode) .hero-actions .btn,
  body.company-public-mode:not(.order-app-mode) .company-public-actions .btn {
    width: 100%;
  }
}

.customer-portal-hero p:not(.eyebrow),
.customer-dashboard-head p,
.customer-card p,
.customer-order-item small,
.customer-address-item small {
  color: #617282;
}

.customer-dashboard.hidden,
.customer-auth-grid.hidden,
.hidden {
  display: none !important;
}

.customer-password-details .form-row {
  padding: 0 12px 12px;
}

.order-account-actions .btn,
.order-account-login .btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
.order-account-login,
  .saved-address-grid,
  .customer-crm-summary {
    grid-template-columns: 1fr;
  }
}

/* Company public landing v2: freight-brand hero with clean system cards */

body.company-public-mode:not(.order-app-mode) .hero {
  min-height: clamp(620px, 74svh, 760px);
  color: #ffffff;
  background: #071726;
}

body.company-public-mode:not(.order-app-mode) .hero::before {
  display: none;
}

body.company-public-mode:not(.order-app-mode) .hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 246, 250, 0), var(--company-page-bg) 88%);
}

body.company-public-mode:not(.order-app-mode) .hero .eyebrow {
  color: var(--public-button-contrast);
  background: var(--public-button-color);
  border-color: color-mix(in srgb, var(--public-button-color) 75%, #ffffff);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.company-public-mode:not(.order-app-mode) .hero h1 {
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(3.25rem, 5.2vw, 5.35rem);
  line-height: 0.98;
  text-wrap: balance;
}

body.company-public-mode:not(.order-app-mode) .hero-actions .btn {
  min-height: 48px;
  border-radius: 12px;
}

body.company-public-mode:not(.order-app-mode) .hero-actions .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

body.company-public-mode:not(.order-app-mode) .trust-card p,
body.company-public-mode:not(.order-app-mode) .company-public-intro p:not(.eyebrow),
body.company-public-mode:not(.order-app-mode) .company-about-card p:not(.eyebrow),
body.company-public-mode:not(.order-app-mode) .company-tracking-box p,
body.company-public-mode:not(.order-app-mode) .company-public-service-panel p,
body.company-public-mode:not(.order-app-mode) #como-funciona p {
  color: var(--company-muted);
}

@media (max-width: 980px) {
body.company-public-mode:not(.order-app-mode) .hero {
    min-height: 700px;
  }
}

@media (max-width: 760px) {
body.company-public-mode:not(.order-app-mode) .hero {
    min-height: 720px;
  }

body.company-public-mode:not(.order-app-mode) .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

body.company-public-mode:not(.order-app-mode) .hero-actions,
  body.company-public-mode:not(.order-app-mode) .hero-actions .btn,
  body.company-public-mode:not(.order-app-mode) .company-public-actions .btn {
    width: 100%;
  }
}

/* Transportadora-style public landing */

body.company-public-mode:not(.order-app-mode) .hero {
  min-height: clamp(650px, 78svh, 780px);
  background: #061523;
}

body.company-public-mode:not(.order-app-mode) .hero .eyebrow {
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: none;
}

body.company-public-mode:not(.order-app-mode) .hero h1 {
  max-width: 700px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 5.6vw, 5.75rem);
}

body.company-public-mode:not(.order-app-mode) .hero-actions .btn {
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 6px;
}

body.company-public-mode:not(.order-app-mode) .hero-actions .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

body.company-public-mode:not(.order-app-mode) .company-public-intro .eyebrow,
body.company-public-mode:not(.order-app-mode) #como-funciona .eyebrow,
body.company-public-mode:not(.order-app-mode) .company-public-service-panel .eyebrow,
body.company-public-mode:not(.order-app-mode) .company-about-card .eyebrow,
body.company-public-mode:not(.order-app-mode) .company-tracking-box .eyebrow {
  padding: 0;
  color: var(--public-button-color);
  background: transparent;
  border: 0;
  border-radius: 0;
  letter-spacing: 0.06em;
}

body.company-public-mode:not(.order-app-mode) .company-public-actions .btn {
  border-radius: 6px;
}

@media (max-width: 980px) {
body.company-public-mode:not(.order-app-mode) .hero,
  body.company-public-mode:not(.order-app-mode) .hero-content {
    min-height: 700px;
  }
}

@media (max-width: 760px) {
body.company-public-mode:not(.order-app-mode) .hero,
  body.company-public-mode:not(.order-app-mode) .hero-content {
    min-height: 720px;
  }

body.company-public-mode:not(.order-app-mode) .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }
}
