:root {
  --ink: #08111f;
  --muted: #607085;
  --line: rgba(8, 17, 31, 0.12);
  --paper: #f4f7fb;
  --panel: #ffffff;
  --navy: #06172d;
  --blue: #1479ff;
  --cyan: #23d6c8;
  --green: #2fd36d;
  --lime: #9ad23b;
  --shadow: 0 24px 70px rgba(8, 17, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(35, 214, 200, 0.26), transparent 28rem),
    radial-gradient(circle at 20% 12%, rgba(154, 210, 59, 0.18), transparent 22rem),
    linear-gradient(145deg, #020814 0%, #071a30 48%, #061120 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.nav,
.hero-content,
.section,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
}

.logo {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  min-height: 66px;
  padding: 8px 14px;
  /*border: 1px solid rgba(255, 255, 255, 0.14);*/
  border-radius: 8px;
  background: transparent;
  /*box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);*/
}

.logo img {
  width: 232px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 52px;
  align-items: center;
  padding: 76px 0 96px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 4.85rem;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.35rem;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-copy p,
.section-copy p,
.contact-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-copy p,
.contact-card p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 18px 38px rgba(35, 214, 200, 0.24);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-dashboard {
  position: relative;
  min-height: 580px;
  padding: 18px;
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 58px 34px 28px 54px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(35, 214, 200, 0.18), rgba(154, 210, 59, 0.14));
  filter: blur(30px);
}

.camera-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 11, 22, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.camera-feed {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 11, 22, 0.24), rgba(4, 11, 22, 0.58)),
    url("images/Projeto_pratico_product_runt_assets/home/pngs/home-seguranca2.png") center/cover;
}

.camera-feed::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: screen;
}

.feed-main {
  grid-row: span 2;
  min-height: 370px;
  background:
    linear-gradient(135deg, rgba(4, 11, 22, 0.16), rgba(4, 11, 22, 0.5)),
    url("images/Projeto_pratico_product_runt_assets/home/pngs/home-seguranca.png") center/cover;
}

.feed-label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 7px 9px;
  border-radius: 999px;
  color: #dffefb;
  background: rgba(4, 11, 22, 0.76);
  font-size: 0.72rem;
  font-weight: 900;
}

.rec-dot {
  position: absolute;
  right: 14px;
  top: 16px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 7px rgba(255, 77, 77, 0.18);
}

.operator-card {
  position: absolute;
  left: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(340px, 70%);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(4, 11, 22, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.operator-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  background: #0c2140;
}

.operator-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.operator-card strong {
  display: block;
  font-size: 1rem;
}

.alert-card {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(270px, 58%);
  padding: 14px;
  border: 1px solid rgba(154, 210, 59, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 26, 48, 0.88);
  box-shadow: var(--shadow);
}

.pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 9px rgba(154, 210, 59, 0.15);
}

.alert-card strong,
.alert-card small {
  display: block;
}

.alert-card small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 60px rgba(8, 17, 31, 0.12);
}

.trust-strip div {
  padding: 26px;
  background: #fff;
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 2.3rem;
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 84px 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.about-panel {
  padding: 22px;
  border: 1px solid rgba(8, 17, 31, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(35, 214, 200, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
}

.panel-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(35, 214, 200, 0.14);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(47, 211, 109, 0.14);
}

.about-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
  line-height: 1.5;
}

.about-panel li strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 0.86rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
blockquote,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(8, 17, 31, 0.08);
}

.service-card {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 17, 31, 0.13);
}

.service-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--cyan);
  font-weight: 900;
}

.service-card p,
blockquote {
  color: var(--muted);
  line-height: 1.65;
}

.testimonials {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

blockquote {
  margin: 0;
  padding: 24px;
}

cite {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

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

.cert-grid img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 36px;
  align-items: center;
  padding: 34px;
}

.contact-info p {
  margin-bottom: 12px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

footer a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .nav {
    align-items: center;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    background: rgba(4, 11, 22, 0.94);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-content,
  .about,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    min-height: auto;
    padding-inline: 0;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .trust-strip,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .nav,
  .hero-content,
  .section,
  footer,
  .trust-strip {
    width: min(100% - 22px, 1120px);
  }

  .nav {
    display: flex;
    gap: 14px;
    padding: 12px 0;
  }

  footer {
    display: grid;
  }

  .nav-links {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nav-links a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.92rem;
    line-height: 1.08;
  }

  .hero-content {
    gap: 28px;
    padding: 34px 0 58px;
  }

  .logo {
    max-width: 190px;
    min-height: 54px;
    padding: 4px 0;
  }

  .logo img {
    width: 172px;
  }

  .nav-links {
    border-radius: 8px;
  }

  .hero-dashboard {
    min-height: auto;
  }

  .camera-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .feed-main,
  .camera-feed {
    min-height: 132px;
    grid-row: auto;
  }

  .camera-feed:not(.feed-main) {
    min-height: 96px;
  }

  .feed-label {
    max-width: calc(100% - 22px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operator-card,
  .alert-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 12px;
  }

  .operator-card img {
    width: 62px;
    height: 62px;
  }

  .hero-actions .button,
  .contact-info .button {
    width: 100%;
  }

  .service-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-info p {
    overflow-wrap: anywhere;
  }

  .trust-strip {
    margin-top: 28px;
    margin-bottom: 48px;
  }

  .about-panel li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .logo img {
    width: 142px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.18rem;
  }
}
