:root {
  --green: #ea580c;
  --green-dark: #c2410c;
  --green-soft: #fff1e8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --amber: #f59e0b;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px clamp(20px, 4vw, 64px);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 0.93rem;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 8px 10px;
}

.language-switch button.active {
  background: var(--green);
  color: #fff;
}

.login-link,
.primary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.28);
}

.login-link:hover,
.primary-action:hover {
  background: var(--green-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  align-items: end;
  padding: clamp(86px, 12vw, 150px) clamp(20px, 4vw, 64px) 42px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 28, 0.88) 0%, rgba(6, 18, 28, 0.62) 45%, rgba(6, 18, 28, 0.2) 100%),
    linear-gradient(0deg, rgba(6, 18, 28, 0.72), rgba(6, 18, 28, 0.04) 55%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #86efac;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 8rem);
  letter-spacing: 0;
  line-height: 0.9;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  width: min(860px, 100%);
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-panel div {
  padding: 20px;
}

.hero-panel strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 64px);
}

.section-heading {
  max-width: 880px;
}

.section-heading.compact {
  max-width: 620px;
}

.section h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  margin-top: 42px;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: #334155;
  font-size: 1.08rem;
}

.intro-copy p,
.split p,
.objective p,
.space p {
  margin: 0 0 16px;
  color: #475569;
}

.feature-card,
.feature-strip article,
.dashboard-card,
.spec-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card.highlighted {
  align-self: stretch;
  padding: 30px;
}

.feature-card img {
  width: 88px;
  margin-bottom: 30px;
}

.feature-card h3,
.feature-strip h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-card p,
.feature-strip p {
  margin: 0;
  color: var(--muted);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: linear-gradient(180deg, #fff, var(--surface-soft));
}

.feature-strip article {
  padding: 28px;
}

.feature-strip img {
  height: 70px;
  margin-bottom: 22px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 36px;
  align-items: center;
  background: #0f172a;
  color: #fff;
}

.split h2 {
  color: #fff;
}

.split p {
  color: #cbd5e1;
}

.dashboard-card {
  background: #fff;
  padding: 22px;
}

.dashboard-header,
.sensor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.dashboard-header strong {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  padding: 7px 10px;
}

.sensor-row {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 18px 0;
}

.sensor-row strong {
  color: var(--ink);
  font-size: 1.5rem;
}

.chart-line {
  height: 88px;
  margin-top: 20px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 10%, rgba(5, 150, 105, 0.14) 10% 18%, transparent 18% 32%, rgba(5, 150, 105, 0.2) 32% 44%, transparent 44% 58%, rgba(5, 150, 105, 0.18) 58% 66%, transparent 66%),
    linear-gradient(180deg, #f8fafc, #ecfdf5);
}

.objective {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  background: #fff;
}

.objective img,
.space-gallery img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.objective h2,
.space h2 {
  margin-bottom: 26px;
}

.specs {
  background: var(--surface-soft);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.spec-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.spec-grid strong {
  font-size: 1.1rem;
}

.spec-grid span {
  color: var(--muted);
}

.space {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 40px;
  align-items: center;
  background: #fff;
}

.space a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 900;
}

.space-logo {
  width: min(510px, 100%);
  margin-bottom: 28px;
  border-radius: 0;
  box-shadow: none;
}

.space-gallery {
  display: grid;
  gap: 18px;
}

.space-gallery figure {
  margin: 0;
}

.space-gallery figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.contact-section {
  background: linear-gradient(180deg, #fff, var(--surface-soft));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  margin-top: 34px;
}

.contact-form,
.contact-info {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.contact-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 20px;
}

.contact-form button:hover {
  background: var(--green-dark);
}

.contact-info {
  overflow: hidden;
  padding: 24px;
}

.contact-info h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.contact-info p,
.contact-info address {
  color: #475569;
  font-style: normal;
  margin: 0 0 16px;
}

.contact-info a {
  color: var(--green-dark);
  font-weight: 800;
}

.contact-info iframe {
  overflow: hidden;
  border-radius: 14px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 34px;
  background: #08111f;
  color: #cbd5e1;
  padding: 52px clamp(20px, 4vw, 64px);
}

.footer img {
  width: 168px;
  filter: brightness(0) invert(1);
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.footer p {
  margin: 12px 0 0;
}

.footer .footer-telefones {
  white-space: nowrap;
}

.footer a {
  display: block;
  color: #cbd5e1;
  margin-top: 8px;
}

.footer .footer-telefones a {
  display: inline;
  margin-top: 0;
}

.footer a:hover {
  color: #fff;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .intro-grid,
  .split,
  .objective,
  .space,
  .contact-grid,
  .footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .feature-strip,
  .spec-grid {
    grid-template-columns: 1fr;
  }
}
