:root {
  --bg: #02070b;
  --bg-2: #07131b;
  --ink: #f4fbff;
  --muted: #a9bdc8;
  --line: rgba(139, 217, 241, 0.22);
  --cyan: #18c5e9;
  --teal: #2ee6c5;
  --coral: #ff7f6e;
  --white: #ffffff;
  --panel: rgba(7, 25, 35, 0.78);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(2, 7, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 10px clamp(20px, 4vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, padding 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(3, 12, 18, 0.95);
  padding-bottom: 12px;
  padding-top: 12px;
}

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

.brand img {
  background: #ffffff;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 3px 7px;
  width: clamp(150px, 11vw, 190px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 26px;
  font-size: 0.94rem;
  color: rgba(244, 251, 255, 0.82);
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  border: 1px solid var(--cyan);
  color: var(--white);
  padding: 9px 15px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  display: none;
  height: 42px;
  padding: 0;
  width: 46px;
}

.nav-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 6px auto;
  transition: transform 160ms ease;
  width: 20px;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background-image: url("assets/fishlabs-hero-v3.png");
  background-position: 34% 18%;
  background-size: 112% auto;
  inset: 0;
  position: absolute;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(2, 7, 11, 0.74) 25%, rgba(2, 7, 11, 0.18) 58%, rgba(2, 7, 11, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), var(--bg) 97%);
  inset: 0;
  position: absolute;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 96px clamp(20px, 5vw, 76px) 44px;
  position: relative;
  width: min(520px, 32vw);
  z-index: 1;
}

.hero-intel-panel {
  background: rgba(3, 12, 18, 0.88);
  border: 1px solid rgba(24, 197, 233, 0.28);
  box-shadow: var(--shadow);
  max-width: 720px;
  padding: 16px;
  position: absolute;
  left: clamp(500px, 31vw, 620px);
  top: 50%;
  transform: translateY(-43%);
  width: min(40vw, 700px);
  z-index: 2;
}

.panel-video {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.panel-video video,
.field-video {
  display: block;
  width: 100%;
}

.panel-video video {
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.panel-copy {
  padding: 12px 4px 8px;
}

.panel-copy span {
  color: var(--cyan);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.panel-copy h2 {
  font-size: clamp(1.22rem, 1.55vw, 1.55rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.panel-copy p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.panel-signals span {
  background: rgba(24, 197, 233, 0.08);
  border-top: 2px solid var(--cyan);
  color: #d9f8ff;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 58px;
  padding: 10px;
}

.panel-signals strong {
  color: var(--white);
  display: block;
  font-size: 0.9rem;
}

.hero-visual-rail {
  bottom: clamp(34px, 5vh, 72px);
  display: grid;
  gap: 14px;
  position: absolute;
  right: clamp(18px, 3vw, 52px);
  top: 150px;
  width: min(17vw, 320px);
  z-index: 1;
}

.rail-card {
  background: rgba(3, 16, 24, 0.72);
  border: 1px solid rgba(24, 197, 233, 0.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  min-height: 0;
  padding: 16px;
}

.rail-card span {
  color: var(--cyan);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rail-card p,
.rail-card small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.rail-card p {
  margin-bottom: 0;
}

.rail-card-monitor {
  background:
    linear-gradient(90deg, rgba(3, 16, 24, 0.9) 0%, rgba(3, 16, 24, 0.62) 48%, rgba(3, 16, 24, 0.2) 100%),
    url("assets/rail-monitoramento.png") center right / cover no-repeat;
  min-height: 150px;
}

.rail-card-monitor div {
  max-width: 58%;
}

.rail-card-alert {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 82px 1fr;
}

.alert-orbit {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 127, 110, 0.22), transparent 42%),
    radial-gradient(circle, transparent 52%, rgba(24, 197, 233, 0.18) 53%, transparent 56%);
  border: 1px solid rgba(24, 197, 233, 0.28);
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.alert-orbit span {
  align-items: center;
  border: 2px solid var(--coral);
  border-radius: 999px;
  color: var(--coral);
  display: flex;
  font-size: 1.5rem;
  height: 46px;
  justify-content: center;
  margin: 0;
  width: 46px;
}

.rail-card-wire {
  background:
    linear-gradient(180deg, rgba(3, 16, 24, 0.16) 0%, rgba(3, 16, 24, 0.5) 48%, rgba(3, 16, 24, 0.94) 100%),
    url("assets/rail-sustentabilidade.png") center / cover no-repeat;
  min-height: 210px;
  padding-top: 118px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(1.95rem, 2.95vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 540px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(0.94rem, 0.95vw, 1.02rem);
  max-width: 500px;
}

.hero-proof {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof article {
  background: rgba(3, 18, 26, 0.62);
  border: 1px solid rgba(139, 217, 241, 0.18);
  border-left: 2px solid var(--cyan);
  padding: 12px 14px;
}

.hero-proof span {
  color: var(--cyan);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hero-proof p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #021018;
}

.button.secondary {
  border-color: var(--line);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  position: static;
  width: min(660px, 100%);
}

@media (max-width: 1280px) {
  .hero-visual-rail {
    display: none;
  }

  .hero-intel-panel {
    left: clamp(500px, 42vw, 620px);
    width: min(46vw, 640px);
  }

  .hero-metrics {
    width: min(600px, 100%);
  }
}

.hero-metrics article,
.process article,
.benefits article,
.market-panel,
.partners article,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  min-height: 86px;
  padding: 14px;
}

.hero-metrics strong {
  color: var(--cyan);
  display: block;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  margin-top: 8px;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 5vw, 76px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.intro-band {
  background: #09202b;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: 28px;
  padding-top: 28px;
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto;
}

.intro-grid p {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  margin-bottom: 0;
  max-width: 850px;
}

.text-link {
  border-bottom: 2px solid var(--cyan);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

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

#campo .section-heading,
#parceiros .section-heading {
  max-width: 1040px;
}

.section-heading p:not(.eyebrow),
.compact p:not(.eyebrow),
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.process article {
  min-height: 250px;
  padding: 24px;
}

.icon {
  align-items: center;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 28px;
  width: 48px;
}

.process p,
.benefits p,
.partners p,
.team-cards p {
  color: var(--muted);
  margin-bottom: 0;
}

.dark-section,
.contact {
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 197, 233, 0.12), transparent 34%),
    #030c12;
}

.field-section {
  background: #02070b;
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
}

.field-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.field-video {
  aspect-ratio: 8 / 3;
  background: #000;
  border: 1px solid rgba(139, 217, 241, 0.22);
  object-fit: cover;
}

.field-photo {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(139, 217, 241, 0.22);
  display: block;
  object-fit: cover;
  width: 100%;
}

.field-card.large {
  grid-row: span 2;
}

.media-placeholder {
  align-items: end;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.74)),
    radial-gradient(circle at 72% 24%, rgba(24, 197, 233, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(24, 197, 233, 0.16), rgba(46, 230, 197, 0.06)),
    #06131b;
  border: 1px dashed rgba(139, 217, 241, 0.34);
  display: flex;
  min-height: 210px;
  padding: 16px;
}

.field-card.large .media-placeholder {
  min-height: 420px;
}

.media-placeholder span {
  color: #d9f8ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.field-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.benefits {
  display: grid;
  gap: 14px;
}

.benefits article {
  padding: 24px;
}

.market-grid,
.who-grid,
.contact-grid {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.market-panel {
  align-self: start;
  padding: 10px;
}

.signal {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
  padding: 22px;
}

.signal:last-child {
  border-bottom: 0;
}

.signal span,
.partners span,
.team-cards span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.who {
  background: #081721;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.who-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.team-cards {
  display: grid;
  gap: 14px;
}

.team-cards article {
  border-left: 2px solid var(--cyan);
  padding: 0 0 6px 22px;
}

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

.partners article {
  min-height: 190px;
  overflow: hidden;
  padding: 0;
}

.partners img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.partners span,
.partners h3,
.partners p {
  margin-left: 24px;
  margin-right: 24px;
}

.partners span {
  display: block;
  margin-top: 22px;
}

.partners p {
  margin-bottom: 24px;
}

.audience {
  background: #f5fbfd;
  color: #09202b;
}

.audience .eyebrow {
  color: #0a87a2;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  background: #ffffff;
  border: 1px solid rgba(5, 34, 47, 0.14);
  color: #0a2532;
  font-weight: 800;
  padding: 14px 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-email {
  font-weight: 800;
}

.contact-email a {
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
}

.contact-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.92rem;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 46px;
  padding: 12px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  background: #02080c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px clamp(20px, 5vw, 76px);
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .nav {
    align-items: stretch;
    background: rgba(3, 12, 18, 0.98);
    border-left: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    inset: 0 0 0 auto;
    padding: 92px 24px 24px;
    position: fixed;
    width: min(360px, 88vw);
    z-index: 21;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 17px 0;
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-bg {
    background-position: 58% center;
    background-size: cover;
  }

  .hero-intel-panel {
    left: auto;
    margin: -22px auto 40px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 40px);
  }

  .hero-content {
    min-height: auto;
    padding-bottom: 34px;
    width: min(620px, 100%);
  }

  h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    max-width: 560px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(2, 7, 11, 0.58)),
      linear-gradient(180deg, rgba(3, 10, 15, 0.05), var(--bg) 98%);
  }

  .hero-metrics,
  .process,
  .partners,
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics {
    margin-top: 24px;
    width: auto;
  }

  .field-card.large {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .split,
  .market-grid,
  .who-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand img {
    width: 150px;
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 34px;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
    line-height: 1.06;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-proof {
    gap: 7px;
  }

  .hero-proof span {
    font-size: 0.74rem;
  }

  .hero-intel-panel {
    width: calc(100% - 36px);
  }

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

  .hero-metrics,
  .process,
  .partners,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics article,
  .process article,
  .partners article {
    min-height: auto;
  }

  .field-card.large {
    grid-column: auto;
  }

  .field-card.large .media-placeholder,
  .media-placeholder {
    min-height: 240px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
