/* DriveMoc Landing — fiel ao design DriveMoc Landing.html */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #0a1733;
  background: #fff;
}

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

img {
  max-width: 100%;
  height: auto;
}

section {
  scroll-margin-top: 88px;
}

@keyframes dmFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes dmToast {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

#waitlist-success[hidden],
#waitlist-error[hidden] {
  display: none !important;
}

#waitlist-success:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
}

#waitlist-submit:disabled,
.waitlist-submit:disabled,
.verify-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#waitlist-submit:hover,
.waitlist-submit:hover:not(:disabled) {
  filter: brightness(1.08);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.waitlist-input {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #0A1733;
  padding: 13px 14px;
  border: 1px solid #D8DFEC;
  border-radius: 12px;
  outline: none;
  width: 100%;
}

.waitlist-submit,
.verify-submit {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: #0047BB;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 12px 24px -12px rgba(0, 71, 187, .75);
  transition: filter .15s;
  width: 100%;
}

.waitlist-error,
.verify-error {
  font-size: 13px;
  color: #E5484D;
  font-weight: 600;
  text-align: center;
}

.waitlist-error[hidden],
.verify-error[hidden],
.verify-success[hidden] {
  display: none !important;
}

.waitlist-footnote,
.verify-note {
  font-size: 12.5px;
  color: #94A0B8;
  font-weight: 500;
  text-align: center;
}

.verify-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FAFBFD;
}

.verify-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.verify-card {
  background: #fff;
  border: 1px solid #E4E9F2;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px -28px rgba(10, 20, 50, .28);
  max-width: 440px;
  width: 100%;
}

.verify-card h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0A1733;
  line-height: 1.25;
}

.verify-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #5B6B8C;
  margin: 0 0 24px;
  font-weight: 500;
}

.verify-email {
  font-weight: 700;
  color: #0047BB;
}

.verify-otp {
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  padding: 14px;
  border: 1px solid #D8DFEC;
  border-radius: 12px;
  width: 100%;
  color: #0A1733;
  margin-bottom: 14px;
}

.verify-resend {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: #0047BB;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
}

.verify-resend:disabled {
  color: #94A0B8;
  cursor: not-allowed;
}

.verify-success {
  background: #ECFDF3;
  border: 1px solid #C9F0D6;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: #0A1733;
  font-weight: 600;
}

@media (max-width: 560px) {
  .waitlist-row {
    grid-template-columns: 1fr;
  }
}

.dm-hero-car {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: auto;
  animation: dmFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(10, 20, 50, 0.18));
}

input:focus {
  border-color: #1e88e5 !important;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

/* Header mobile */
.dm-nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}

.dm-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #0a1733;
  margin: 4px 0;
}

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

  .dm-header-cta {
    display: none !important;
  }

  .dm-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0 !important;
    padding: 12px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #edf0f6;
    box-shadow: 0 18px 40px rgba(10, 20, 50, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .dm-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f1f4f9;
  }

  .dm-grid-2,
  .dm-grid-3,
  .dm-grid-4,
  .dm-grid-footer,
  .dm-req-grid {
    grid-template-columns: 1fr !important;
  }

  .dm-hero-grid h1 {
    font-size: 38px !important;
  }

  .dm-hero-grid p {
    font-size: 17px !important;
  }

  .dm-tariffs-grid > div:first-child {
    padding: 32px 24px !important;
  }

  .dm-tariffs-grid {
    gap: 28px !important;
  }

  #tarifas > div {
    padding: 28px 20px !important;
  }

  .dm-driver-grid {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .dm-driver-grid > div:first-child {
    order: 2;
  }

  .dm-driver-grid > div:last-child {
    order: 1;
  }

  .dm-grid-footer {
    gap: 28px !important;
  }
}

@media (max-width: 600px) {
  .dm-header-inner {
    padding: 14px 16px !important;
  }

  .dm-hero-grid {
    padding-top: 48px !important;
    gap: 36px !important;
  }

  .dm-hero-grid h1 {
    font-size: 32px !important;
  }

  #waitlist-form > div:first-child {
    grid-template-columns: 1fr !important;
  }

  #lista {
    max-width: 100% !important;
  }

  .dm-grid-3 {
    gap: 16px !important;
  }

  section[id] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #tarifas h2,
  #vantagens h2,
  #como h2,
  #cobertura h2 {
    font-size: 28px !important;
  }
}
