/* RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TIPOGRAFIA */
h1, h2, h3 {
  font-weight: bold;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1rem;
}

/* HEADER */
.header {
  background: #111;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00c37e;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #00c37e;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* HERO */
.hero {
  background: linear-gradient(to bottom right, #0c0c0c, #1a1a1a);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-green {
  background: #00c37e;
  color: #fff;
}

.btn-green:hover {
  background: #00a46b;
}

.btn-black {
  background: #000;
  color: #fff;
}

.btn-black:hover {
  background: #222;
}

/* SEÇÕES GERAIS */
.section {
  padding: 4rem 2rem;
}

.bg-dark {
  background: #111;
  color: #fff;
}

.text-light {
  color: #ccc;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card {
  background: #f8f8f8;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin: 0.5rem 0;
}

.card-uf {
  font-size: 0.9rem;
  color: #888;
  font-weight: bold;
}

/* PÁGINAS */
.obra-item {
  max-width: 260px;
}
.obras-grid, .sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.obra, .card-img {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.obra:hover {
  transform: translateY(-10px);
}

.obra img, .card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sobre-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sobre-texto p {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* FORMULÁRIOS */
form {
  display: grid;
  gap: 1rem;
}

input, select, textarea {
  padding: 0.75rem 1rem;
  border: none;
  font-size: 1rem;
  background: #222;
  color: #fff;
}

input::placeholder, textarea::placeholder {
  color: #777;
}

input[type="file"] {
  background: #fff;
  color: #000;
}

/* TRABALHE CONOSCO / CONTATO / SIMULAÇÃO */
.trabalhe-conosco,
.simulacao,
.contato {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
}

.titulo-pagina {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.bloco-descricao {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: justify;
}

/* RESULTADO SIMULAÇÃO */
#resultado-simulacao {
  margin-top: 2rem;
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;
}

/* RODAPÉ */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #00c37e;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* FADE */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    display: none;
  }

  .nav.open ul {
    display: flex;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-texto p {
    margin: auto;
  }
}


.campo-form {
  display: flex;
  flex-direction: column;
}

.campo-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.campo-form input,
.campo-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  font-size: 1rem;
  background-color: #222;
  color: #fff;
}
