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

:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-border: #1e1e2e;
  --color-text: #e0e0e6;
  --color-text-muted: #8888a0;
  --color-accent: #6366f1;
  --color-accent-hover: #818cf8;
  --color-white: #ffffff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__supra {
  color: var(--color-white);
}

.logo__dot {
  color: var(--color-accent);
}

.logo__systems {
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.lang-switcher {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--color-border);
}

.lang-switcher__link {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher__link:hover {
  color: var(--color-white);
}

.lang-switcher__link--active {
  color: var(--color-white);
  background: rgba(99, 102, 241, 0.2);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ── Hero ── */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 24px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* ── Sections ── */
section {
  padding: 96px 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ── Sobre ── */
.sobre {
  border-top: 1px solid var(--color-border);
}

.sobre p {
  max-width: 680px;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ── Serviços ── */
.servicos {
  border-top: 1px solid var(--color-border);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Contato ── */
.contato {
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.contato p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.contato__info a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s;
}

.contato__info a:hover {
  color: var(--color-accent-hover);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  text-align: center;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    border-bottom: 1px solid var(--color-border);
  }

  .nav--open {
    max-height: 240px;
    padding: 16px 0;
  }

  .nav a {
    padding: 12px 0;
    font-size: 1rem;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
    justify-content: center;
  }

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

  .hero {
    padding: 128px 0 80px;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}
