﻿/* ============================================
   ROTATRAC — Base & Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--preto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--ease);
  text-align: center;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--md { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
.btn--sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

.btn--verde {
  background: var(--verde);
  color: var(--preto);
  border-color: var(--verde);
}
.btn--verde:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(165,205,25,0.35);
}

.btn--azul {
  background: var(--azul-principal);
  color: var(--branco);
  border-color: var(--azul-principal);
}
.btn--azul:hover {
  background: var(--azul-escuro);
  border-color: var(--azul-escuro);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--verde);
  border-color: var(--verde);
}
.btn--outline:hover {
  background: var(--verde);
  color: var(--preto);
}

.btn--outline-white {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--branco);
}

/* Textos destaque */
.text-verde { color: var(--verde); }
.text-azul  { color: var(--azul-medio); }

/* Section header */
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--cinza-600);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* Badge pill */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(165,205,25,0.15);
  color: var(--verde);
  border: 1px solid rgba(165,205,25,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Acessibilidade: foco visível */
:focus-visible {
  outline: 3px solid var(--verde);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Utilitários */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
