:root {
  --bg: #090909;
  --surface: #141414;
  --surface-soft: #1f1f1f;
  --text: #f4f4f4;
  --muted: #c1c1c1;
  --line: #2e2e2e;
  --accent: #7a2ff0;
  --accent-soft: #9b68f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #1d1d1d 0%, var(--bg) 55%);
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  padding-top: 0;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: var(--accent);
  top: -60px;
  left: -70px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #3f3f3f;
  right: -90px;
  bottom: 80px;
  animation-delay: 1.8s;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(10px);
  background: rgba(26, 26, 28, 0.94);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  min-height: 74px;
}

.logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 0;
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.25s ease;
}

.menu a:hover {
  color: var(--accent-soft);
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -74px;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(3.8rem + 74px) 0 4.5rem;
}

.hero-video-bg {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(44, 44, 47, 0.98) 0%, rgba(36, 36, 39, 0.98) 52%, rgba(15, 16, 24, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-grid {
  min-height: calc(100svh - 74px - 8.3rem);
}

.hero-copy {
  max-width: min(100%, 50rem);
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 4.7vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1.05rem;
}

.hero .eyebrow {
  margin-top: 0.85rem;
  margin-bottom: 1rem;
}

.hero .lead {
  max-width: 38ch;
  margin-bottom: 1.45rem;
  line-height: 1.38;
  color: rgba(244, 244, 244, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 400;
}

.hero .hero-actions {
  margin-top: 0;
  gap: 1.25rem;
}

.hero .btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.86rem;
  padding: 0.95rem 1.2rem;
}

.hero .link {
  font-size: 0.98rem;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 0.9rem;
  font-weight: 700;
}

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

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  background: linear-gradient(120deg, var(--accent), #5d20c1);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.84rem 1.2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(122, 47, 240, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(122, 47, 240, 0.46);
}

.btn-small {
  padding: 0.55rem 0.95rem;
}

.link {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 2px;
}

.hero-card {
  background: rgba(9, 9, 9, 0.78);
  border: 1px solid rgba(244, 244, 244, 0.12);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  animation: fadeUp 0.9s ease;
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #d9d9d9;
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.section {
  padding: 4.6rem 0;
}

#sobre {
  position: relative;
  margin-top: -2px;
  background: linear-gradient(180deg, #07080c 0%, #05060a 100%);
}

#sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.92) 0%, rgba(5, 6, 10, 0.96) 30%, rgba(5, 6, 10, 1) 100%);
}

#sobre .container {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.step {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.step span {
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 1.05rem;
}

.cta {
  display: block;
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lead-form {
  width: min(620px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.lead-form label {
  font-size: 0.88rem;
  color: var(--white);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  background: #0f0f0f;
  color: var(--white);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 0.88rem 0.9rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
}

.lead-form textarea {
  resize: vertical;
}

.lead-submit {
  margin-top: 0.35rem;
  width: 100%;
}

.form-alert {
  margin: 0 0 0.3rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-alert-success {
  border: 1px solid #205f3c;
  background: #123423;
  color: #c3f6d7;
}

.form-alert-error {
  border: 1px solid #6f2626;
  background: #3a1717;
  color: #ffd5d5;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.content-page {
  max-width: 920px;
}

.about-hero .about-wrap {
  max-width: 900px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
}

.about-hero-media {
  width: 100%;
  min-height: 420px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.2) 0%, rgba(9, 9, 9, 0.6) 100%),
    url('/imagens/sobre-altius.jpg') center/cover no-repeat,
    linear-gradient(145deg, #222 0%, #111 100%);
}

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

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(155, 104, 245, 0.14);
  border: 1px solid rgba(155, 104, 245, 0.26);
  color: #d8c6ff;
  flex: 0 0 40px;
}

.icon-bubble svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-card h2,
.mvv-card h3 {
  margin-bottom: 0.65rem;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.mvv-card {
  background: linear-gradient(160deg, #1b1b1b 0%, #111111 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}

.about-cta {
  margin-top: 1.3rem;
}

.footer {
  padding: 1.5rem 0;
  border-top: 0;
  background: #070707;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: #8f8f8f;
  font-size: 0.93rem;
}

.footer a {
  color: #bcbcbc;
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-soft);
}

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

  50% {
    transform: translateY(12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .menu {
    gap: 0.8rem;
  }

  .hero-grid,
  .split,
  .cta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cards,
  .steps,
  .about-hero-grid,
  .about-grid,
  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-media {
    min-height: 320px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(3rem + 74px);
  }

  .hero-grid {
    min-height: 0;
    gap: 1.5rem;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .hero h1 {
    max-width: 15.5ch;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.012em;
    margin-bottom: 0.9rem;
  }

  .hero .eyebrow {
    margin-top: 0.45rem;
  }

  .hero .lead {
    max-width: 34ch;
    font-size: clamp(0.98rem, 3.5vw, 1.125rem);
    line-height: 1.42;
    margin-bottom: 1.05rem;
  }
}

@media (max-width: 700px) {
  .logo {
    height: 48px;
    width: auto;
    max-width: 100%;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 13.5ch;
    font-size: clamp(1.85rem, 9.2vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .menu li:not(:last-child):not(:first-child) {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
