/* =========================================================
   base.css — Estilos globais, utilitários e responsividade
   ========================================================= */

html {
  font-size: 17px; /* base aumentada */
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Textura de ruído sutil no fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

/* ── Wrapper de seção ── */
.section {
  padding: var(--section-pad);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Tags de seção ── */
.section-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

/* ── Títulos de seção ── */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 1px;
  line-height: 1.02;
  margin-bottom: 16px;
}

/* ── Subtítulo de seção ── */
.section-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 600;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Botões globais ── */
.btn-primary {
  background: var(--green);
  color: #000;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 17px;
  padding: 17px 38px;
  border-radius: var(--pill-radius);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 230, 118, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 17px 38px;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Responsividade global ── */

@media (max-width: 1024px) {
  .section { padding: 72px 5%; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  .section { padding: 60px 5%; }
  .section-sub { max-width: 100%; }
  .section-title { font-size: clamp(36px, 9vw, 56px); }
}

@media (max-width: 500px) {
  html { font-size: 15px; }
  .section { padding: 48px 5%; }
  .section-title { font-size: clamp(32px, 11vw, 48px); }
  .btn-primary,
  .btn-secondary {
    font-size: 15px;
    padding: 15px 28px;
  }
}
