/* 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-duplicate[hidden],
#waitlist-error[hidden] {
  display: none !important;
}

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

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

#waitlist-submit:hover {
  filter: brightness(1.08);
}

.dm-hero-car-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 540px;
  animation: dmFloat 6s ease-in-out infinite;
}

.dm-hero-car {
  display: block;
  width: 100%;
  height: auto;
  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;
  }
}
