/* SynapseDev - hero e cabecalhos de secao */
section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  letter-spacing: 0.015em;
  line-height: 1.35;
  margin-bottom: 0.95rem;
  font-weight: 600;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  letter-spacing: 0.015em;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.32;
  letter-spacing: 0.01em;
  max-width: 20ch;
  margin-bottom: 1.35rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-weight: 600;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 2rem;
  line-height: 1.85;
  letter-spacing: 0.015em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-meta strong {
  color: var(--ink);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0;
}

.hero-visual {
  min-height: 280px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(14, 124, 134, 0.22), rgba(12, 27, 42, 0.6)),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #0c1b2a, #0e7c86);
  color: var(--white);
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  box-shadow: var(--shadow);
  animation: rise 0.9s ease both;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(127, 212, 219, 0.25);
  pointer-events: none;
}

.hero-visual-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: auto;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dffa8;
  box-shadow: 0 0 0 3px rgba(93, 255, 168, 0.2);
  animation: pulse-dot 2s ease infinite;
}

.hero-visual p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: 0.015em;
  max-width: 22ch;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.stack-pills li {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
}

.hero-copy {
  animation: rise 0.8s ease both;
}

.hero-copy .hero-kicker { animation: rise 0.7s ease both; }
.hero-copy h1 { animation: rise 0.8s ease 0.06s both; }
.hero-copy .hero-lead { animation: rise 0.85s ease 0.12s both; }
.hero-copy .hero-actions { animation: rise 0.85s ease 0.18s both; }
.hero-meta { animation: rise 0.9s ease 0.24s both; }

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  /* 3 cards sob as duas colunas: mesma largura do container */
  .hero-meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-meta > div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.95rem 1.05rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  section {
    padding: 5.5rem 0;
  }

  .hero {
    padding: 5.75rem 0 4.5rem;
  }

  .hero-grid {
    gap: 3.25rem;
  }

  .hero-visual {
    min-height: 380px;
  }

  .section-head {
    max-width: 48rem;
  }
}

@media (min-width: 1680px) {
  section {
    padding: 6.25rem 0;
  }

  .hero {
    padding: 6.5rem 0 5rem;
  }

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

  .hero-visual {
    min-height: 440px;
    padding: 1.75rem 2rem 2rem;
  }

  .hero-visual p {
    font-size: clamp(1.5rem, 1.6vw, 1.9rem);
  }
}

@media (max-width: 859px) {
.hero-visual {
    min-height: 200px;
    order: -1;
  }

.hero-grid {
    align-items: stretch;
  }
}

@media (max-width: 760px) {
.hero {
    padding: 2rem 0 2.75rem;
  }

.hero-grid {
    gap: 1.5rem;
  }

.hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.9rem;
    line-height: 1.4;
  }

.hero h1 {
    max-width: none;
    margin-bottom: 1.2rem;
    font-size: clamp(1.9rem, 6.8vw, 2.35rem);
    line-height: 1.35;
    letter-spacing: 0.015em;
  }

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
  }

.hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

.hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 0.9rem 1.05rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

.hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    font-size: 0.95rem;
  }

.hero-meta > div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.95rem 1.05rem;
  }

.hero-meta strong {
    margin-bottom: 0.25rem;
    line-height: 1.35;
  }

.hero-visual {
    min-height: 190px;
    border-radius: 18px;
    padding: 1.2rem 1.3rem 1.35rem;
    gap: 0.9rem;
  }

.hero-visual p {
    max-width: none;
    font-size: 1.25rem;
    line-height: 1.42;
  }

.hero-visual-top {
    font-size: 0.7rem;
    line-height: 1.4;
  }

.stack-pills {
    gap: 0.45rem;
  }

.stack-pills li {
    font-size: 0.7rem;
    padding: 0.4rem 0.55rem;
  }
}

@media (max-width: 480px) {
.hero h1 {
    font-size: 1.85rem;
    line-height: 1.36;
  }

.hero-lead {
    font-size: 1.02rem;
  }

.hero-actions .btn,
  .final-actions .btn {
    font-size: 0.92rem;
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 360px) {
.hero h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }
}
