/* base.css - Estilos base e reset */

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tipografia e Fundo */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #2F4F4F; /* Texto Escuro */
  background-color: #F0FFF0; /* Fundo Claro */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Contêiner Central */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Links */
a {
  color: #006400; /* Cor Primária */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #3CB371; /* Cor Secundária */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: #004D00; /* Cinza Escuro */
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Botões Base */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #006400; /* Cor Primária */
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #3CB371; /* Cor Secundária */
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #006400; /* Cor Primária */
  border-color: #006400;
}

.btn-secondary:hover {
  background-color: #006400;
  color: #ffffff;
}

/* Formulário Base */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #004D00;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #006400; /* Cor Primária */
  box-shadow: 0 0 5px rgba(0, 100, 0, 0.5);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Seções */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #006400; /* Cor Primária */
}

.section-title p {
  color: #6B8E23; /* Texto Claro */
  font-size: 1.1rem;
}

/* Utilitários */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Grid Básico */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Responsividade Base */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  section { padding: 60px 0; }
}
