* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --container-max: 1320px;
  --container-pad: 96%;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  line-height: 1.6;
}

main {
  flex: 1;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container-max), var(--container-pad));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: #111827;
}

.section-heading {
  max-width: min(72ch, 100%);
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #ffffff;
}

.section-heading p {
  font-size: 18px;
  color: #cbd5e1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-content {
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 240px;
  max-width: 240px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: #cbd5e1;
  font-weight: 600;
  transition: 0.2s;
}

.main-nav a:hover {
  color: #ffffff;
}

/* =========================
   Breadcrumbs
========================= */

.breadcrumb-wrapper {
  padding: 18px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #94a3b8;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(148, 163, 184, 0.7);
  margin-right: 2px;
}

.breadcrumb a {
  color: #cbd5e1;
  transition: 0.2s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb [aria-current="page"] {
  color: #7dd3fc;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: #0b1120;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #cbd5e1;
  font-size: 15px;
}

.site-footer ul li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .header-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  gap: 14px;
}

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .site-header .btn {
  max-width: 260px;
  padding: 12px 18px;
}

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .header-content {
    gap: 14px;
  }

  .logo {
  justify-content: center;
}

.logo-img {
  width: 160px;
  max-width: 160px;
}

  .main-nav {
  width: 100%;
  justify-content: center;
  gap: 10px 14px;
}

.main-nav a {
  font-size: 14px;
}

  .section {
    padding: 64px 0;
  }

  .site-footer {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .logo-img {
  width: 160px;
  max-width: 160px;
  height: auto;
}
}

.nav-highlight {
  color: #22c55e;
  font-weight: 700;
}

/* =========================
   Proteção global contra overflow
========================= */

* {
  min-width: 0;
}

img,
video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .container {
    width: min(var(--container-max), var(--container-pad));
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .site-header .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .main-nav {
    gap: 8px 10px;
  }

  .main-nav a {
    font-size: 14px;
    padding: 8px 9px;
  }
}