:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #eef5f7;
  --text: #17212b;
  --muted: #657181;
  --line: #dce4ea;
  --primary: #07899a;
  --primary-dark: #063d51;
  --accent: #f47b3f;
  --success: #24a36b;
  --shadow: 0 18px 55px rgba(22, 38, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

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

img,
video {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 6px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 137, 154, 0.22);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.button-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.button-glass:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.hero {
  padding: 86px 0 76px;
  background:
    linear-gradient(120deg, rgba(8, 127, 146, 0.08), rgba(244, 123, 63, 0.08)),
    var(--bg);
}

.hero-with-image {
  padding: 28px 0 48px;
  background: var(--bg);
}

.hero-banner {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(5, 37, 51, 0.98) 0%, rgba(5, 45, 62, 0.92) 36%, rgba(5, 60, 78, 0.62) 68%, rgba(5, 37, 51, 0.28) 100%),
    url('/damtech_site/assets/imagem/hero-delivery.png') center right / cover no-repeat;
  box-shadow: 0 28px 70px rgba(8, 43, 58, 0.2);
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 31, 45, 0.88) 0%, rgba(4, 31, 45, 0.18) 52%, rgba(4, 31, 45, 0.12) 100%);
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  max-width: 620px;
  min-height: 560px;
  padding: 56px 48px 46px;
}

.hero-logo {
  width: 188px;
  height: auto;
  margin-bottom: 30px;
  filter: brightness(0) invert(1) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.hero-banner .eyebrow {
  color: #7ee4f2;
}

.hero-banner h1 {
  max-width: 560px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.95;
}

.hero-banner .lead {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.hero-banner .hero-actions {
  margin-top: 28px;
}

.hero-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.hero-feature-strip a {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(8, 127, 146, 0.22);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(22, 38, 51, 0.08);
}

.strip-icon {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(8, 127, 146, 0.1);
  color: var(--primary);
  font-weight: 900;
}

.hero-feature-strip strong {
  align-self: end;
  font-size: 17px;
}

.hero-feature-strip small {
  align-self: start;
  color: var(--muted);
  line-height: 1.4;
}

.compact-hero {
  padding-bottom: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.proof-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-preview {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(8, 127, 146, 0.18);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.preview-top {
  justify-content: flex-start;
  color: var(--primary-dark);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(36, 163, 107, 0.12);
}

.order-card {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.order-card small,
.mini-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-card strong,
.mini-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.order-card > span {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

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

.mini-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.timeline-list {
  display: grid;
  gap: 10px;
}

.timeline-list span {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
}

.timeline-list span::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(-50%);
}

.section {
  padding: 58px 0;
}

.section-muted {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section-text {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(22, 38, 51, 0.07);
}

.product-card.preview-pop::before,
.product-card.preview-pop::after {
  position: absolute;
  left: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}

.product-card.preview-pop::before {
  content: '';
  bottom: calc(100% + 4px);
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateY(8px) rotate(45deg);
}

.product-card.preview-pop::after {
  content: '';
  bottom: calc(100% + 12px);
  width: min(560px, 82vw);
  height: 330px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff var(--preview-image) center / contain no-repeat;
  box-shadow: 0 22px 50px rgba(22, 38, 51, 0.22);
}

.product-card.preview-pop:hover::before,
.product-card.preview-pop:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card.preview-pop:hover::before {
  transform: translateY(0) rotate(45deg);
}

.product-card.featured {
  border-color: rgba(8, 127, 146, 0.32);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(8, 127, 146, 0.1);
  color: var(--primary);
  font-weight: 900;
}

.product-card h3 {
  margin: 0;
  font-size: 22px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(22, 38, 51, 0.07);
}

.pricing-card-featured {
  border-color: rgba(8, 127, 146, 0.34);
  box-shadow: var(--shadow);
}

.plan-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 127, 146, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  font-size: 25px;
}

.pricing-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.plan-price {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.plan-price small {
  color: var(--muted);
  font-weight: 800;
}

.plan-price strong {
  color: var(--primary-dark);
  font-size: 28px;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
}

.no-fee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(219, 55, 55, 0.24);
  border-radius: 14px;
  background: rgba(219, 55, 55, 0.08);
  color: #b42323;
  font-weight: 900;
}

.no-fee-badge::before {
  content: 'x';
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #d92d20;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.feature-layout,
.examples-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.examples-links {
  display: grid;
  gap: 12px;
}

.examples-links a,
.contact-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 800;
}

.examples-links a:hover,
.contact-options a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-trigger {
  border: none;
  background: transparent;
  padding: 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #111;
  cursor: pointer;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.video-play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 15px;
}

.contact-section {
  background: linear-gradient(135deg, rgba(8, 127, 146, 0.09), rgba(244, 123, 63, 0.08));
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 127, 146, 0.1);
}

.form-note {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 22, 0.72);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  width: min(820px, 94vw);
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.video-modal-content.is-portrait {
  width: min(430px, 94vw);
}

.video-modal-content video {
  display: block;
  width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  background: #000;
  object-fit: contain;
}

.video-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-banner,
  .hero-banner-content {
    min-height: 520px;
  }

  .hero-banner {
    background:
      linear-gradient(90deg, rgba(5, 37, 51, 0.98) 0%, rgba(5, 45, 62, 0.82) 58%, rgba(5, 37, 51, 0.38) 100%),
      url('/damtech_site/assets/imagem/hero-delivery.png') center right / cover no-repeat;
  }

  .hero-grid,
  .feature-layout,
  .examples-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-cards,
  .video-grid,
  .hero-feature-strip,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    height: auto;
    padding: 14px 0;
  }

  .site-header .button {
    display: none;
  }

  .hero {
    padding: 52px 0;
  }

  .hero-with-image {
    padding: 20px 0 42px;
  }

  .hero-banner,
  .hero-banner-content {
    min-height: 600px;
  }

  .hero-banner {
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(5, 37, 51, 0.96) 0%, rgba(5, 45, 62, 0.88) 44%, rgba(5, 37, 51, 0.95) 100%),
      url('/damtech_site/assets/imagem/hero-delivery.png') center top / cover no-repeat;
  }

  .hero-banner-content {
    padding: 34px 24px 30px;
  }

  .hero-logo {
    width: 150px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .product-cards,
  .video-grid,
  .mini-grid,
  .hero-feature-strip,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }

  .product-card.preview-pop::before {
    display: none;
  }

  .product-card.preview-pop::after {
    position: static;
    display: block;
    order: -1;
    width: 100%;
    height: 190px;
    opacity: 1;
    transform: none;
    box-shadow: none;
    pointer-events: auto;
    margin-bottom: 4px;
  }
}
