:root {
  --bg-primary: #050b14;
  --bg-secondary: #0d1726;

  --blue-primary: #1e4d84;
  --blue-accent: #1f7fc8;
  --blue-glow: #35bfff;

  --text-primary: #ffffff;
  --text-secondary: #a8b4c7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 90px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 8%;

  background: transparent;

  border-bottom: 1px solid rgba(53, 191, 255, 0.15);

  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    height 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;

  z-index: 999;
}

.navbar.scrolled {
  height: 72px;

  background: rgba(5, 11, 20, 0.82);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(53, 191, 255, 0.15);

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.logo img {
  height: 55px;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;

  transition: 0.3s;
}

nav a:hover {
  color: var(--blue-glow);
  transform: translateY(-2px);
}

nav a.active {
  color: var(--blue-glow);
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  min-height: 100vh;

  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;

  padding: 90px 8% 0;

  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;

  margin-bottom: 30px;
}

.hero h1 span {
  display: block;
  color: var(--blue-glow);
}

.hero p {
  color: var(--text-secondary);

  font-size: 1.2rem;
  line-height: 1.8;

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;

  margin-bottom: 50px;

  cursor: pointer;
}

.hero::before {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  background: radial-gradient(
    circle,
    rgba(53, 191, 255, 0.15) 0%,
    rgba(53, 191, 255, 0) 70%
  );

  right: -200px;
  top: 50%;

  transform: translateY(-50%);

  pointer-events: none;

  z-index: 0;
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--blue-accent);

  color: white;

  text-decoration: none;

  padding: 18px 30px;

  border-radius: 50px;

  font-weight: 600;

  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 0 30px rgba(53, 191, 255, 0.3);
}

.btn-secondary {
  border: 1px solid var(--blue-glow);

  color: white;

  text-decoration: none;

  padding: 18px 30px;

  border-radius: 50px;

  font-weight: 600;

  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(53, 191, 255, 0.08);
  box-shadow: 0 0 30px rgba(53, 191, 255, 0.03);
}

.hero-features {
  display: flex;
  gap: 40px;

  color: white;

  font-size: 1rem;
  font-weight: 500;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  padding-top: 1vh;
}

.hero-image img {
  width: 80%;
  max-width: 650px;

  opacity: 0.3;

  object-fit: contain;
}

/* ========================= */
/* QUEM SOMOS */
/* ========================= */

.about {
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  padding: 120px 8%;

  position: relative;

  overflow: hidden;
}

.about-visual {
  display: flex;

  justify-content: center;

  align-items: center;
}

.about-content {
  max-width: 700px;
}

.about .section-label {
  display: inline-block;

  margin-bottom: 20px;

  color: var(--blue-glow);

  font-size: 0.85rem;

  font-weight: 700;

  letter-spacing: 2px;
}

.about h2 {
  font-size: 3.5rem;

  line-height: 1.1;

  font-weight: 800;

  margin-bottom: 35px;
}

.about h2 span {
  display: block;

  color: var(--blue-glow);
}

.about p {
  color: var(--text-secondary);

  font-size: 1.1rem;

  line-height: 1.8;

  max-width: 650px;

  margin-bottom: 20px;
}

/* ========================= */
/* ORBIT */
/* ========================= */

.about {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  padding: 120px 8%;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit {
  position: relative;
  width: 650px;
  height: 650px;
}

/* ANÉIS */

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;
  border: 1px solid rgba(40, 168, 228, 0.726);

  animation: ringPulse 6s ease infinite;
}

.orbit-ring-1 {
  width: 360px;
  height: 360px;
}

.orbit-ring-2 {
  width: 560px;
  height: 560px;
  animation-delay: 3s;
}

/* CENTRO */

.orbit-center {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 190px;
  height: 190px;

  border-radius: 50%;

  background: #0d1726;

  border: 1px solid rgba(53, 191, 255, 0.25);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 10;

  animation: centerGlow 4s ease-in-out infinite;
}

.orbit-center img {
  width: 75%;
}

/* ROTAÇÃO */

.orbit-rotation {
  position: absolute;
  inset: 0;

  animation: orbitRotate 35s linear infinite;
}

.orbit-rotation:hover {
  animation-play-state: paused;
}

/* LOGOS */

.orbit-item {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 110px;
  height: 110px;

  margin: -55px;

  border-radius: 50%;

  background: #0d1726;

  border: 1px solid rgba(53, 191, 255, 0.15);

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    opacity 0.35s;

  transform: rotate(calc(72deg * var(--i))) translateY(-260px);
}

.orbit-item img {
  width: 70%;

  transform: rotate(calc(-72deg * var(--i)));

  transition: transform 0.35s;
}

/* TAMANHOS ESPECIAIS */

.iv-logo {
  width: 190% !important;
}

.forja-aceleradora {
  width: 70% !important;
}

/* HOVER */

.orbit:hover .orbit-item {
  opacity: 0.35;
}

.orbit:hover .orbit-item img {
  transform: rotate(calc(-72deg * var(--i))) scale(0.9);
}

.orbit .orbit-item:hover {
  opacity: 1;

  border-color: var(--blue-glow);

  box-shadow: 0 0 25px rgba(53, 191, 255, 0.25);
}

.orbit .orbit-item:hover img {
  transform: rotate(calc(-72deg * var(--i))) scale(1.15);
}

/* ANIMAÇÕES */

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 0.45;
  }
}

@keyframes centerGlow {
  0%,
  100% {
    box-shadow:
      0 0 25px rgba(53, 191, 255, 0.15),
      0 0 60px rgba(53, 191, 255, 0.08);
  }

  50% {
    box-shadow:
      0 0 45px rgba(53, 191, 255, 0.35),
      0 0 90px rgba(53, 191, 255, 0.18);
  }
}

/* ================================= */
/* ECOSSISTEMA */
/* ================================= */

.ecosystem {
  min-height: 100vh;

  padding: 120px 8%;

  position: relative;
}

/* HEADER */

.ecosystem-header {
  max-width: 800px;

  margin-bottom: 55px;
}

.ecosystem-header .section-label {
  display: block;

  margin-bottom: 18px;

  color: var(--blue-glow);

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 2px;
}

.ecosystem-header h2 {
  font-size: 3.5rem;

  line-height: 1.1;

  margin-bottom: 25px;
}

.ecosystem-header h2 span {
  display: block;

  color: var(--blue-glow);
}

.ecosystem-header p {
  max-width: 750px;

  color: var(--text-secondary);

  font-size: 1.05rem;

  line-height: 1.8;
}

/* ================================= */
/* GRID */
/* ================================= */

.ecosystem-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  max-width: 1400px;
}

/* ================================= */
/* CARD */
/* ================================= */

.ecosystem-card {
  height: 180px;

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 28px;

  border-radius: 18px;

  border: 1px solid rgba(53, 191, 255, 0.13);

  background: rgba(13, 23, 38, 0.42);

  cursor: pointer;

  overflow: hidden;

  transition: all 0.35s ease;
}

.ecosystem-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -100px;
  top: -100px;

  border-radius: 50%;

  background: rgba(53, 191, 255, 0.08);

  filter: blur(30px);

  opacity: 0;

  transition: 0.4s;
}

.ecosystem-card:hover {
  transform: translateY(-5px);

  border-color: rgba(53, 191, 255, 0.5);

  background: rgba(13, 23, 38, 0.75);
}

.ecosystem-card:hover::before {
  opacity: 1;
}

/* NÚMERO */

.card-number {
  color: var(--blue-glow);

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 2px;
}

/* TEXTO */

.card-content h3 {
  font-size: 1.4rem;

  margin-bottom: 8px;
}

.card-content p {
  color: var(--text-secondary);

  font-size: 0.9rem;

  line-height: 1.5;

  max-width: 300px;
}

/* SETA */

.card-arrow {
  position: absolute;

  right: 25px;
  top: 25px;

  width: 36px;
  height: 36px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  border: 1px solid rgba(53, 191, 255, 0.2);

  color: var(--blue-glow);

  transition: 0.3s;
}

.ecosystem-card:hover .card-arrow {
  background: var(--blue-accent);

  color: white;

  transform: rotate(45deg);
}

/* ================================= */
/* MODAL */
/* ================================= */

.ecosystem-modal {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 30px;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition: 0.3s ease;
}

.ecosystem-modal.active {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}

/* FUNDO */

.modal-backdrop {
  position: absolute;

  inset: 0;

  background: rgba(2, 7, 14, 0.82);

  backdrop-filter: blur(12px);
}

/* JANELA */

.modal-box {
  width: 100%;

  max-width: 850px;

  max-height: 85vh;

  overflow-y: auto;

  position: relative;

  z-index: 2;

  padding: 50px;

  border-radius: 24px;

  background: #0b1523;

  border: 1px solid rgba(53, 191, 255, 0.3);

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(53, 191, 255, 0.08);

  transform: translateY(30px) scale(0.97);

  transition: 0.35s ease;
}

.ecosystem-modal.active .modal-box {
  transform: translateY(0) scale(1);
}

/* FECHAR */

.modal-close {
  position: absolute;

  right: 25px;
  top: 25px;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: transparent;

  color: #a8b4c7;

  font-size: 1.5rem;

  cursor: pointer;

  transition: 0.3s;
}

.modal-close:hover {
  color: white;

  border-color: var(--blue-glow);

  background: rgba(53, 191, 255, 0.08);
}

/* TÍTULO */

.modal-label {
  display: block;

  color: var(--blue-glow);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 15px;
}

.modal-box h2 {
  font-size: 2.7rem;

  margin-bottom: 12px;
}

.modal-description {
  color: var(--text-secondary);

  font-size: 1rem;

  line-height: 1.7;

  max-width: 600px;
}

.modal-divider {
  width: 100%;

  height: 1px;

  margin: 32px 0;

  background: rgba(255, 255, 255, 0.08);
}

.modal-small-title {
  display: block;

  color: var(--text-secondary);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 18px;
}

/* ================================= */
/* OPERAÇÕES */
/* ================================= */

.modal-operations {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;
}

.modal-operation {
  min-height: 80px;

  padding: 20px 22px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-radius: 14px;

  border: 1px solid rgba(53, 191, 255, 0.12);

  background: rgba(5, 11, 20, 0.65);

  transition: 0.3s;

  cursor: pointer;
}

.modal-operation:hover {
  transform: translateY(-2px);

  border-color: var(--blue-glow);

  background: rgba(53, 191, 255, 0.06);
}

.modal-operation-name {
  font-size: 1rem;

  font-weight: 600;
}

.modal-operation-arrow {
  color: var(--blue-glow);

  font-size: 1.2rem;
}

/* ================================= */
/* RESPONSIVO */
/* ================================= */

@media (max-width: 900px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    height: 155px;
  }

  .modal-box {
    padding: 35px 25px;
  }

  .modal-box h2 {
    font-size: 2rem;
  }

  .modal-operations {
    grid-template-columns: 1fr;
  }
}
/* ========================= */
/* COMO FUNCIONA */
/* ========================= */

.how-it-works {
  min-height: 100vh;

  padding: 120px 8%;

  position: relative;

  overflow: hidden;
}

.how-header {
  max-width: 800px;

  margin: 0 auto 100px;

  text-align: center;
}

.how-header h2 {
  font-size: 3.5rem;

  line-height: 1.1;

  font-weight: 800;

  margin-bottom: 30px;
}

.how-header h2 span {
  display: block;

  color: var(--blue-glow);
}

.how-header p {
  color: var(--text-secondary);

  font-size: 1.1rem;

  line-height: 1.8;
}

.process {
  max-width: 1000px;

  margin: 0 auto;

  position: relative;
}

.process-line {
  position: absolute;

  top: 0;
  bottom: 0;

  left: 50%;

  width: 2px;

  transform: translateX(-50%);

  background: #35bfff;

  opacity: 0.35;
}

.process-step {
  width: 50%;

  padding: 40px;

  position: relative;

  display: flex;

  align-items: flex-start;
}

.process-step:nth-child(odd) {
  margin-left: 50%;
}

.process-step:nth-child(even) {
  margin-left: 0;

  justify-content: flex-end;

  text-align: right;
}

.process-dot {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  flex-shrink: 0;

  background: var(--bg-primary);

  border: 1px solid var(--blue-glow);

  color: var(--blue-glow);

  font-size: 0.8rem;

  font-weight: 700;

  box-shadow: 0 0 20px rgba(53, 191, 255, 0.15);

  position: absolute;

  left: calc(100% - 30px);

  z-index: 2;
}

.process-step:nth-child(even) .process-dot {
  left: auto;

  right: calc(-30px);
}

.process-content {
  max-width: 380px;
}

.process-content span {
  color: var(--blue-glow);

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 2px;
}

.process-content h3 {
  font-size: 1.5rem;

  margin: 15px 0;
}

.process-content p {
  color: var(--text-secondary);

  line-height: 1.7;
}

/* ========================= */
/* CONTATO */
/* ========================= */

.contact {
  min-height: 100vh;

  display: flex;

  justify-content: center;
  align-items: center;

  padding: 120px 8%;
}

.contact-content {
  max-width: 700px;

  text-align: center;
}

.contact h2 {
  font-size: 3.5rem;

  margin: 25px 0;
}

.contact p {
  color: var(--text-secondary);

  line-height: 1.8;

  margin-bottom: 45px;
}

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.contact-form input {
  height: 60px;

  border-radius: 50px;

  border: 1px solid rgba(53, 191, 255, 0.15);

  background: rgba(13, 23, 38, 0.6);

  color: white;

  padding: 0 28px;

  font-size: 1rem;

  outline: none;

  transition: 0.3s;
}

.contact-form input:focus {
  border-color: var(--blue-glow);

  box-shadow: 0 0 20px rgba(53, 191, 255, 0.15);
}

.contact-form button {
  height: 60px;

  border: none;

  border-radius: 50px;

  background: var(--blue-accent);

  color: white;

  font-size: 1rem;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-3px);

  box-shadow: 0 0 30px rgba(53, 191, 255, 0.3);
}

/* ========================= */
/* CONTATO */
/* ========================= */

.contact {
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  padding: 120px 8%;

  position: relative;
}

.contact::before {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  background: radial-gradient(
    circle,
    rgba(53, 191, 255, 0.15) 0%,
    rgba(53, 191, 255, 0) 70%
  );

  right: -200px;
  top: 50%;

  transform: translateY(-50%);

  pointer-events: none;
}

.contact-content,
.contact-image {
  position: relative;

  z-index: 2;
}

.contact-content {
  max-width: 650px;
}

.contact h2 {
  font-size: 4rem;

  line-height: 1.1;

  margin: 25px 0 35px;
}

.contact h2 span {
  display: block;

  color: var(--blue-glow);
}

.contact p {
  color: var(--text-secondary);

  line-height: 1.8;

  font-size: 1.1rem;

  margin-bottom: 40px;
}

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 20px;

  max-width: 500px;
}

.contact-form input {
  height: 60px;

  border-radius: 50px;

  border: 1px solid rgba(53, 191, 255, 0.15);

  background: rgba(13, 23, 38, 0.6);

  color: white;

  padding: 0 28px;

  font-size: 1rem;

  outline: none;

  transition: 0.3s;
}

.contact-form input:focus {
  border-color: var(--blue-glow);

  box-shadow: 0 0 20px rgba(53, 191, 255, 0.15);
}

.contact-form button {
  height: 60px;

  border: none;

  border-radius: 50px;

  background: var(--blue-accent);

  color: white;

  font-size: 1rem;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-3px);

  box-shadow: 0 0 30px rgba(53, 191, 255, 0.3);
}

.contact-features {
  display: flex;

  gap: 30px;

  margin-top: 45px;

  color: white;

  font-size: 0.95rem;
}

.contact-image {
  display: flex;

  justify-content: center;

  align-items: center;
}

.contact-image img {
  width: 80%;

  max-width: 650px;

  opacity: 0.3;

  object-fit: contain;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  padding: 80px 8% 30px;

  border-top: 1px solid rgba(53, 191, 255, 0.08);

  background: var(--bg-primary);
}

.footer-container {
  max-width: 1400px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 80px;
}

.footer-brand img {
  height: 60px;

  margin-bottom: 25px;

  opacity: 0.9;
}

.footer-brand p {
  max-width: 380px;

  color: var(--text-secondary);

  line-height: 1.8;
}

.footer h4 {
  margin-bottom: 25px;

  font-size: 1rem;

  color: white;
}

.footer-links,
.footer-contact {
  display: flex;

  flex-direction: column;

  gap: 15px;
}

.footer a {
  color: var(--text-secondary);

  text-decoration: none;

  transition: 0.3s;
}

.footer a:hover {
  color: var(--blue-glow);

  transform: translateX(5px);
}

.footer-bottom {
  margin-top: 70px;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  text-align: center;
}

.footer-bottom span {
  color: var(--text-secondary);

  font-size: 0.9rem;
}

/* ========================= */
/* RESPONSIVIDADE */
/* ========================= */

@media (max-width: 1000px) {
  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-image,
  .contact-image {
    margin-top: 60px;
  }

  .about {
    gap: 70px;
  }

  .orbit {
    width: 560px;
    height: 560px;
  }

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

  .ecosystem-card.active {
    grid-column: span 2;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .navbar {
    height: auto;
    min-height: 76px;
    padding: 12px 5%;
  }

  .logo img {
    height: 42px;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    font-size: 0.78rem;
  }

  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero h1,
  .contact h2 {
    font-size: 2.6rem;
  }

  .about h2,
  .ecosystem-header h2,
  .how-header h2 {
    font-size: 2.4rem;
  }

  .hero-buttons,
  .hero-features,
  .contact-features {
    flex-direction: column;
  }

  .orbit {
    width: 330px;
    height: 330px;
  }

  .orbit-ring-1 {
    width: 210px;
    height: 210px;
  }

  .orbit-ring-2 {
    width: 320px;
    height: 320px;
  }

  .orbit-center {
    width: 120px;
    height: 120px;
  }

  .orbit-item {
    width: 70px;
    height: 70px;
    margin: -35px;
    transform: rotate(calc(72deg * var(--i))) translateY(-150px);
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card,
  .ecosystem-card.active {
    grid-column: span 1;
  }

  .card-expanded {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .process-line {
    left: 30px;
  }

  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 35px 0 35px 85px;
    justify-content: flex-start;
    text-align: left;
  }

  .process-dot,
  .process-step:nth-child(even) .process-dot {
    left: 0;
    right: auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

/* ========================================================= */
/* RESPONSIVIDADE FINAL - DESKTOP / TABLET / MOBILE          */
/* ========================================================= */

img {
  max-width: 100%;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(53, 191, 255, 0.2);
  border-radius: 12px;
  background: rgba(13, 23, 38, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .navbar {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 4rem);
  }

  .about {
    grid-template-columns: 46% 54%;
  }

  .orbit {
    width: 520px;
    height: 520px;
  }

  .orbit-ring-1 {
    width: 320px;
    height: 320px;
  }

  .orbit-ring-2 {
    width: 500px;
    height: 500px;
  }

  .orbit-item {
    width: 94px;
    height: 94px;
    margin: -47px;
    transform: rotate(calc(72deg * var(--i))) translateY(-230px);
  }

  .contact h2 {
    font-size: clamp(3rem, 5vw, 4rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
  }

  .hero-content {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-buttons,
  .hero-features {
    justify-content: center;
  }

  .hero-image {
    margin-top: 55px;
  }

  .hero-image img {
    width: min(72%, 480px);
  }

  .about {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .about-content {
    max-width: 760px;
  }

  .about-visual {
    min-height: 520px;
  }

  .ecosystem {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }

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

  .how-it-works {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .how-header {
    margin-bottom: 70px;
  }

  .contact {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

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

  .contact-form {
    margin: 0 auto;
  }

  .contact-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-image {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
  }
}

@media (max-width: 760px) {
  .navbar,
  .navbar.scrolled {
    height: 72px;
    min-height: 72px;
    padding: 0 5%;
    background: rgba(5, 11, 20, 0.9);
    backdrop-filter: blur(18px);
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .navbar nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 5% 24px;
    background: rgba(5, 11, 20, 0.98);
    border-bottom: 1px solid rgba(53, 191, 255, 0.15);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 1001;
  }

  .navbar nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar nav a {
    width: 100%;
    padding: 16px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .hero-features {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.86rem;
  }

  .hero-image {
    margin-top: 35px;
  }

  .hero-image img {
    width: min(80%, 360px);
  }

  .about {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about h2,
  .ecosystem-header h2,
  .how-header h2,
  .contact h2 {
    font-size: clamp(2.15rem, 9vw, 2.8rem);
  }

  .about p,
  .ecosystem-header p,
  .how-header p,
  .contact p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-visual {
    min-height: 360px;
    overflow: hidden;
  }

  .orbit {
    width: 340px;
    height: 340px;
  }

  .orbit-ring-1 {
    width: 205px;
    height: 205px;
  }

  .orbit-ring-2 {
    width: 330px;
    height: 330px;
  }

  .orbit-center {
    width: 112px;
    height: 112px;
  }

  .orbit-item {
    width: 66px;
    height: 66px;
    margin: -33px;
    transform: rotate(calc(72deg * var(--i))) translateY(-150px);
  }

  .ecosystem {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .ecosystem-header {
    margin-bottom: 38px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ecosystem-card {
    height: 145px;
    padding: 22px;
  }

  .card-arrow {
    top: 20px;
    right: 20px;
  }

  .ecosystem-modal {
    padding: 14px;
    align-items: center;
  }

  .modal-box {
    max-height: calc(100dvh - 28px);
    padding: 32px 20px 24px;
    border-radius: 20px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .modal-label {
    padding-right: 50px;
  }

  .modal-box h2 {
    padding-right: 40px;
    font-size: 2rem;
  }

  .modal-divider {
    margin: 24px 0;
  }

  .modal-operations {
    grid-template-columns: 1fr;
  }

  .modal-operation {
    min-height: 68px;
    padding: 16px 18px;
  }

  .how-it-works {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .how-header {
    margin-bottom: 55px;
  }

  .process-line {
    left: 24px;
  }

  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 28px 0 28px 70px;
    justify-content: flex-start;
    text-align: left;
  }

  .process-dot,
  .process-step:nth-child(even) .process-dot {
    left: 0;
    right: auto;
    width: 48px;
    height: 48px;
  }

  .process-content {
    max-width: none;
  }

  .process-content h3 {
    font-size: 1.25rem;
  }

  .contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .contact h2 {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .contact p {
    margin-bottom: 30px;
  }

  .contact-form {
    width: 100%;
    max-width: none;
  }

  .contact-form input,
  .contact-form button {
    width: 100%;
  }

  .contact-features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
  }

  .footer {
    padding: 60px 20px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    margin-top: 45px;
  }
}

@media (max-width: 380px) {
  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .orbit {
    width: 300px;
    height: 300px;
  }

  .orbit-ring-1 {
    width: 185px;
    height: 185px;
  }

  .orbit-ring-2 {
    width: 292px;
    height: 292px;
  }

  .orbit-item {
    width: 58px;
    height: 58px;
    margin: -29px;
    transform: rotate(calc(72deg * var(--i))) translateY(-133px);
  }

  .orbit-center {
    width: 100px;
    height: 100px;
  }
}

@media (hover: none) {
  .ecosystem-card:hover,
  .modal-operation:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .contact-form button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FORJA — AJUSTE MOBILE FINAL
   Mantém o layout desktop original intacto.
   Este bloco deve permanecer no FINAL do arquivo CSS.
========================================================= */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    overflow-x: hidden;
  }

  /* NAVBAR */
  .navbar,
  .navbar.scrolled {
    height: 72px;
    min-height: 72px;
    padding: 0 20px;
  }

  .logo img {
    height: 40px;
  }

  /* HERO — remove decoração pesada do desktop */
  .hero {
    min-height: auto;
    display: block;
    padding: 112px 20px 58px;
    text-align: center;
  }

  .hero-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero::before {
    width: 380px;
    height: 380px;
    right: -230px;
    opacity: 0.45;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.9rem);
    line-height: 1.05;
    margin-bottom: 24px;
  }

  .hero p {
    max-width: 500px;
    margin: 0 auto 28px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
  }

  .hero-buttons a {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero-image {
    display: none;
  }

  /* QUEM SOMOS */
  .about {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 60px 20px 62px;
  }

  .about-content {
    max-width: none;
  }

  .about .section-label,
  .ecosystem-header .section-label {
    margin-bottom: 12px;
  }

  .about h2,
  .ecosystem-header h2,
  .how-header h2,
  .contact h2 {
    font-size: clamp(2rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .about h2 {
    margin-bottom: 24px;
  }

  .about p {
    margin-bottom: 16px;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .about-visual {
    width: 100%;
    min-height: 0;
    height: 310px;
    overflow: hidden;
  }

  /* ÓRBITA — mantém conceito, reduz peso visual */
  .orbit {
    width: 290px;
    height: 290px;
    margin: 0 auto;
  }

  .orbit-ring-1 {
    width: 180px;
    height: 180px;
  }

  .orbit-ring-2 {
    width: 280px;
    height: 280px;
  }

  .orbit-center {
    width: 96px;
    height: 96px;
  }

  .orbit-item {
    width: 58px;
    height: 58px;
    margin: -29px;
    transform: rotate(calc(72deg * var(--i))) translateY(-127px);
  }

  /* Remove efeitos de hover que não têm utilidade no touch */
  .orbit:hover .orbit-item {
    opacity: 1;
  }

  .orbit:hover .orbit-item img,
  .orbit .orbit-item:hover img {
    transform: rotate(calc(-72deg * var(--i)));
  }

  /* ECOSSISTEMA */
  .ecosystem {
    min-height: auto;
    padding: 60px 20px 62px;
  }

  .ecosystem-header {
    margin-bottom: 28px;
  }

  .ecosystem-header h2 {
    margin-bottom: 18px;
  }

  .ecosystem-header p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

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

  .ecosystem-card,
  .ecosystem-card.active {
    grid-column: auto;
    height: auto;
    min-height: 128px;
    padding: 19px 20px;
    border-radius: 15px;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .card-content h3 {
    padding-right: 45px;
    font-size: 1.18rem;
    margin-bottom: 6px;
  }

  .card-content p {
    font-size: 0.84rem;
  }

  .card-arrow {
    width: 34px;
    height: 34px;
    top: 18px;
    right: 18px;
  }

  /* MODAL */
  .ecosystem-modal {
    padding: 12px;
  }

  .modal-box {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 30px 18px 20px;
    border-radius: 18px;
  }

  .modal-box h2 {
    font-size: 1.8rem;
  }

  .modal-description {
    font-size: 0.92rem;
  }

  .modal-operation {
    min-height: 62px;
    padding: 14px 16px;
  }

  /* COMO FUNCIONA */
  .how-it-works {
    min-height: auto;
    padding: 60px 20px 62px;
  }

  .how-header {
    margin: 0 auto 38px;
  }

  .how-header h2 {
    margin-bottom: 20px;
  }

  .how-header p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .process {
    width: 100%;
  }

  .process-line {
    left: 21px;
  }

  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 22px 0 22px 60px;
    justify-content: flex-start;
    text-align: left;
  }

  .process-dot,
  .process-step:nth-child(even) .process-dot {
    left: 0;
    right: auto;
    width: 42px;
    height: 42px;
    font-size: 0.7rem;
  }

  .process-content {
    max-width: none;
  }

  .process-content span {
    font-size: 0.68rem;
  }

  .process-content h3 {
    margin: 10px 0;
    font-size: 1.12rem;
    line-height: 1.25;
  }

  .process-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* CONTATO */
  .contact {
    min-height: auto;
    display: block;
    padding: 62px 20px;
  }

  .contact::before {
    width: 380px;
    height: 380px;
    right: -250px;
    opacity: 0.45;
  }

  .contact-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .contact h2 {
    margin: 16px 0 20px;
  }

  .contact p {
    margin-bottom: 26px;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .contact-form {
    width: 100%;
    max-width: none;
    gap: 12px;
  }

  .contact-form input,
  .contact-form button {
    width: 100%;
    height: 54px;
  }

  .contact-features {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.84rem;
  }

  .contact-image {
    display: none;
  }

  /* FOOTER */
  .footer {
    padding: 48px 20px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand img {
    height: 48px;
    margin-bottom: 16px;
  }

  .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .footer h4 {
    margin-bottom: 16px;
  }

  .footer-links,
  .footer-contact {
    gap: 11px;
  }

  .footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    text-align: left;
  }

  .footer-bottom span {
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar,
  .navbar.scrolled {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .about-visual {
    height: 285px;
  }

  .orbit {
    width: 270px;
    height: 270px;
  }

  .orbit-ring-1 {
    width: 170px;
    height: 170px;
  }

  .orbit-ring-2 {
    width: 260px;
    height: 260px;
  }

  .orbit-center {
    width: 90px;
    height: 90px;
  }

  .orbit-item {
    width: 54px;
    height: 54px;
    margin: -27px;
    transform: rotate(calc(72deg * var(--i))) translateY(-118px);
  }
}

/* Em telas touch, evita efeitos desktop desnecessários */
@media (hover: none) and (pointer: coarse) {
  .ecosystem-card,
  .btn-primary,
  .btn-secondary,
  .contact-form button,
  .modal-operation {
    transition-duration: 0.15s;
  }

  .ecosystem-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .contact-form button:hover,
  .modal-operation:hover {
    transform: none;
    box-shadow: none;
  }
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  position: relative;
}

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {
  :root {
    --mobile-gutter: clamp(16px, 5vw, 22px);
    --mobile-content: 520px;
    --mobile-header: 72px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }

  /*
   * Evita que grids/flex filhos estourem a viewport.
   * Não usamos 100vw/100dvw em nenhum container.
   */
  .navbar,
  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact,
  .footer,
  .hero-content,
  .about-content,
  .ecosystem-header,
  .ecosystem-grid,
  .how-header,
  .process,
  .contact-content,
  .contact-form,
  .footer-container {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* =======================================================
     NAVBAR
  ======================================================= */

  header.navbar,
  header.navbar.scrolled {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    height: var(--mobile-header) !important;
    min-height: var(--mobile-header) !important;

    padding: 0 max(var(--mobile-gutter), env(safe-area-inset-right)) 0
      max(var(--mobile-gutter), env(safe-area-inset-left)) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    background: rgba(5, 11, 20, 0.94) !important;
    backdrop-filter: blur(18px);

    box-sizing: border-box !important;

    transform: none !important;

    z-index: 10000;
  }

  /* LOGO */

  header.navbar .logo {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 auto !important;
  }

  header.navbar .logo a {
    display: flex;
    align-items: center;
  }

  header.navbar .logo img {
    display: block;

    width: auto !important;
    height: 40px !important;

    margin: 0;
  }

  /* =======================================================
     HAMBURGER
  ======================================================= */

  #menuToggle,
  .menu-toggle {
    display: flex !important;

    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 5px !important;

    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 44px !important;
    height: 44px !important;

    min-width: 44px !important;
    max-width: 44px !important;

    flex: 0 0 44px !important;

    margin: 0 !important;
    margin-left: auto !important;

    padding: 0 !important;

    border: 1px solid rgba(53, 191, 255, 0.32) !important;
    border-radius: 12px !important;

    background: rgba(13, 23, 38, 0.92) !important;

    box-sizing: border-box !important;

    transform: none !important;

    visibility: visible !important;
    opacity: 1 !important;

    cursor: pointer;

    z-index: 10002;
  }

  /*
   * Mata os pseudo-elementos dos hotfixes antigos.
   */
  #menuToggle::before,
  #menuToggle::after,
  .menu-toggle::before,
  .menu-toggle::after {
    content: none !important;
    display: none !important;
  }

  /* LINHAS REAIS */

  #menuToggle span,
  .menu-toggle span {
    display: block !important;

    width: 22px !important;
    max-width: 22px !important;

    height: 2px !important;
    min-height: 2px !important;

    margin: 0 !important;

    border-radius: 999px;

    background: #ffffff !important;

    opacity: 1;

    transform-origin: center;

    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
  }

  /* X */

  #menuToggle.active span:nth-child(1),
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  #menuToggle.active span:nth-child(2),
  .menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }

  #menuToggle.active span:nth-child(3),
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  /* =======================================================
     MENU MOBILE
  ======================================================= */

  header.navbar nav {
    position: fixed !important;

    top: var(--mobile-header) !important;
    left: 0 !important;
    right: 0 !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0 !important;

    padding: 12px var(--mobile-gutter) 22px !important;

    box-sizing: border-box;

    background: rgba(5, 11, 20, 0.98);

    border-bottom: 1px solid rgba(53, 191, 255, 0.15);

    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;

    overflow: hidden;

    transition:
      transform 0.3s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;

    z-index: 9999;
  }

  header.navbar nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  header.navbar nav a {
    display: block;

    width: 100%;

    padding: 16px 4px;

    font-size: 1rem;
    text-align: left;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* =======================================================
     SISTEMA ÚNICO DE LARGURA MOBILE
  ======================================================= */

  .hero,
  .about,
  .ecosystem,
  .how-it-works,
  .contact {
    width: 100% !important;

    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box;
  }

  /*
   * Todos os conteúdos principais ficam centralizados
   * dentro da MESMA largura.
   */

  .hero-content,
  .about-content,
  .ecosystem-header,
  .ecosystem-grid,
  .how-header,
  .process,
  .contact-content {
    width: 100% !important;
    max-width: var(--mobile-content) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box;
  }

  /* =======================================================
     HERO
  ======================================================= */

  .hero {
    display: block !important;

    min-height: auto !important;

    padding-top: 112px !important;
    padding-bottom: 64px !important;

    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.8vw, 2.8rem) !important;
    line-height: 1.06;

    margin-left: auto;
    margin-right: auto;
  }

  .hero p {
    width: 100%;
    max-width: 480px;

    margin-left: auto;
    margin-right: auto;

    font-size: clamp(0.94rem, 3.8vw, 1rem);
  }

  .hero-buttons {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons a {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
  }

  .hero-features {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 8px 16px !important;

    width: 100%;
  }

  .hero-image {
    display: none !important;
  }

  /*
   * Decorações nunca podem aumentar a largura real.
   */
  .hero::before,
  .contact::before {
    max-width: 100%;
    pointer-events: none;
  }

  /* =======================================================
     QUEM SOMOS
  ======================================================= */

  .about {
    display: flex !important;
    flex-direction: column !important;

    min-height: auto !important;

    gap: 32px;

    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .about-content {
    align-self: center;
  }

  .about-visual {
    width: 100%;
    max-width: var(--mobile-content);

    height: 300px;
    min-height: 0;

    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
  }

  /* =======================================================
     ÓRBITA RESPONSIVA
  ======================================================= */

  .orbit {
    /*
     * 290px em aparelhos maiores.
     * Em celulares estreitos ela diminui automaticamente.
     */
    width: min(290px, 82vw) !important;
    height: min(290px, 82vw) !important;

    max-width: 100%;

    margin: 0 auto;

    flex: 0 0 auto;
  }

  /* =======================================================
     ECOSSISTEMA / CARDS
  ======================================================= */

  .ecosystem {
    min-height: auto !important;

    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .ecosystem-header {
    margin-bottom: 28px;
  }

  .ecosystem-grid {
    display: grid !important;

    grid-template-columns: minmax(0, 1fr) !important;

    gap: 12px;

    align-items: stretch;
  }

  .ecosystem-card,
  .ecosystem-card.active {
    grid-column: auto !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 132px;

    padding: 20px;

    box-sizing: border-box;

    overflow: hidden;
  }

  .card-content {
    width: 100%;
    min-width: 0;

    padding-right: 42px;

    box-sizing: border-box;
  }

  .card-content h3 {
    padding-right: 0 !important;

    overflow-wrap: break-word;
  }

  .card-content p {
    width: 100%;
    max-width: 100%;

    overflow-wrap: break-word;
  }

  /* =======================================================
     MODAL
  ======================================================= */

  .ecosystem-modal {
    position: fixed !important;

    inset: 0 !important;

    width: auto !important;
    height: auto !important;

    padding: 12px !important;

    box-sizing: border-box;

    overflow: hidden !important;

    align-items: center;
    justify-content: center;
  }

  .modal-box {
    width: 100% !important;

    max-width: 520px !important;
    min-width: 0 !important;

    max-height: calc(100dvh - 24px);

    margin: auto !important;

    padding: 52px 20px 22px !important;

    box-sizing: border-box;

    overflow-x: clip !important;
    overflow-y: auto !important;
  }

  .modal-operations {
    display: grid;

    grid-template-columns: minmax(0, 1fr) !important;

    width: 100%;

    gap: 10px;
  }

  .modal-operation {
    width: 100%;
    min-width: 0;

    box-sizing: border-box;
  }

  .modal-operation-name {
    min-width: 0;

    overflow-wrap: break-word;
  }

  /* =======================================================
     COMO FUNCIONA
  ======================================================= */

  .how-it-works {
    min-height: auto !important;

    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .how-header {
    text-align: center;
  }

  .process {
    position: relative;
  }

  .process-line {
    left: 21px !important;
  }

  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100% !important;

    margin-left: 0 !important;

    padding: 22px 0 22px 60px !important;

    box-sizing: border-box;

    justify-content: flex-start !important;

    text-align: left !important;
  }

  .process-dot,
  .process-step:nth-child(even) .process-dot {
    left: 0 !important;
    right: auto !important;
  }

  .process-content {
    width: 100%;
    max-width: none;

    min-width: 0;
  }

  /* =======================================================
     CONTATO
  ======================================================= */

  .contact {
    display: block !important;

    min-height: auto !important;

    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .contact-content {
    text-align: center;
  }

  .contact-form {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: auto;
    margin-right: auto;
  }

  .contact-form input,
  .contact-form button {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;

    box-sizing: border-box;
  }

  .contact-features {
    width: 100%;

    display: flex;

    flex-direction: column;
    align-items: center;

    gap: 8px;
  }

  .contact-image {
    display: none !important;
  }

  /* =======================================================
     FOOTER
  ======================================================= */

  .footer {
    width: 100%;

    padding: 48px var(--mobile-gutter) 24px !important;

    box-sizing: border-box;
  }

  .footer-container {
    width: 100%;
    max-width: var(--mobile-content) !important;

    margin-left: auto;
    margin-right: auto;

    grid-template-columns: minmax(0, 1fr) !important;

    gap: 30px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    min-width: 0;
  }

  .footer a,
  .footer p {
    overflow-wrap: break-word;
  }

  /* =======================================================
     ÚLTIMA BARREIRA CONTRA OVERFLOW
  ======================================================= */

  main,
  section,
  footer,
  header {
    max-width: 100%;
  }
}

/* =========================================================
   CELULARES MUITO ESTREITOS
   S8 / 360px / 320px etc.
========================================================= */

@media (max-width: 380px) {
  :root {
    --mobile-gutter: 16px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.25rem) !important;
  }

  .orbit {
    width: min(270px, 80vw) !important;
    height: min(270px, 80vw) !important;
  }

  .ecosystem-card,
  .ecosystem-card.active {
    padding: 18px;
  }
}
