@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syne:wght@400;600;700;800&display=swap');

/* =====================
   BODY BASE
   ===================== */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: auto;
}

/* =====================
   TIPOGRAFIA
   ===================== */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* =====================
   SEÇÕES
   ===================== */
section {
  padding: 1.5rem 2.5rem 5rem;
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section__label::before {
  content: '//';
  opacity: 0.6;
}

.section__title {
  margin-bottom: 3rem;
}

.section--alt {
  background-color: var(--bg-secondary);
}

section, header {
  scroll-margin-top: 50px;
}

.container {
  max-width: var(--max-width);
  width: 100%;
}

/* =====================
   BOTÕES
   ===================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.btn--primary {
  background-color: var(--accent);
  color: #080c10;
}

.btn--primary:hover {
  background-color: #00ffb2;
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border2);
}

.btn--secondary:hover {
  background-color: var(--accent-dim);
  border-color: var(--accent);
}

/* =====================
   SCROLLBAR
   ===================== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* =====================
   SELEÇÃO DE TEXTO
   ===================== */
::selection {
  background-color: var(--accent);
  color: #080c10;
}

/* =====================
   RESPONSIVO — utilitários
   ===================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .section__title {
    margin-bottom: 2rem;
  }
}