:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --primary: #166534;
  --primary-dark: #505050;
  --accent: #99e1b2;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --radius-lg: 24px;
  --max: 1200px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f8fafc;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

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

.section-head {
  margin-bottom: 26px;
}

.label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.label--inverse {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
}

h1 {
  font-size: 56px;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  color: #505050;
}

h3 {
  font-size: 1.2rem;
  Color: #505050;
}

.card-title,
.hero-card-title,
.form-title {
  font-size: 1.2rem;
  line-height: 1.35;
  color: #505050;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: #99e1b2;
  color: #505050;
}

.btn-primary:hover {
  background: #8acca1;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: #99E1B2;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  background: var(--white);
  color: #505050;
  border-color: var(--line);
}

.btn-light:hover {
  background: #ebebeb;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-logo {
  height: 120px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.menu a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
}

.hero {
  padding: 92px 0 72px;
  color: var(--white);
  background:
    linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.82)),
    url('../../images/hero-material-informatico.jpg') center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hero-title-line {
  display: block;
}

.hero-accent {
  color: #99e1b2;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 10px;
  color: var(--white);
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-list li::before {
  content: '✓';
  position: absolute;
  top: 0;
  left: 0;
  color: #86efac;
  font-weight: 800;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards-3--spaced {
  margin-top: 26px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 800;
}

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

.image-box {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticks-card {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ticks-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #505050;
}

.ticks {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
}

.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #99e1b2;
  color: var(--white);
  font-weight: 800;
}

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

.equipment-item {
  background: #ffffff;
  border-radius: 32px;
  padding: 36px;
}

.equipment-item h3 {
  margin: 0 0 16px;
  color: #16395f;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.equipment-item p {
  margin: 0;
  color: #58708d;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

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

.cta {
  padding: 44px;
  border-radius: 32px;
  color: #FFFF !important;
  background: linear-gradient(rgb(153 225 178 / 90%), rgba(20, 83, 45, 0.92)), url(../../images/cta-servidores.jpg) center / cover no-repeat;
  box-shadow: var(--shadow);
}
.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.contact-card,
.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

form {
  display: grid;
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #505050;
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
}

input:focus,
textarea:focus,
.btn:focus,
.nav-toggle:focus,
a:focus {
  outline: 2px solid rgba(22, 101, 52, 0.18);
  outline-offset: 2px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-helper {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
}

.form-card .btn {
  width: 100%;
}

footer {
  margin-top: 18px;
  padding: 28px 0;
  background: var(--bg);
  color: rgba(255, 255, 255, 0.7);
}

footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .cards-3,
  .steps,
  .equipment,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: grid;
    gap: 16px;
  }

  .menu {
    flex-direction: column;
    gap: 14px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}