:root {
  --primary: #15304a;
  --secondary: #f4f4f4;
  --accent: #d49c3d;
  --text-dark: #333;
  --text-light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: var(--secondary);
  color: var(--text-dark);
  scroll-behavior: smooth;
}

header {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?fit=crop&w=1500&q=80') no-repeat center center/cover;
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 2.0rem;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 20px;
  padding-left: 0;
}

.card p {
  font-size: 1.3rem;
  color: #444;
  margin-top: 5px;
}

.portfolio img, .materiais img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.processo ol {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
}

.processo li {
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  font-size: 1.2rem;
}

.processo li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

footer {
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.thumb:hover {
  transform: scale(1.02);
}

.materiais {
  background: #fefaf5;
  padding: 60px 20px;
}

.materiais .grid.grid-3 {
  align-items: stretch;
}

.materiais .card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--primary);
}

.materiais .card h3::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--primary);
  border-radius: 3px;
}

.materiais .card p {
  margin-top: 5px;
  margin-bottom: 15px;
  color: #444;
  line-height: 1.5;
}

.sobre, .orcamento, .contato {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}

.sobre .grid,
.orcamento .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.sobre img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.orcamento img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sobre .info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.sobre .info div {
  border: 1px solid #cfd9e3;
  background: #f9fcff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.contato {
  position: relative;
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?fit=crop&w=1500&q=80') no-repeat center center/cover;
  text-align: center;
  color: var(--primary);
}

.contato h2 {
  margin-bottom: 30px;
}

.contato .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.contato a.item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  display: block;
}

.contato .item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.contato strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contato p {
  margin: 10px 0;
}

.contato i {
  color: var(--primary);
  font-style: normal;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .materiais .grid.grid-3,
  .sobre .grid,
  .orcamento .grid,
  .contato .grid {
    grid-template-columns: 1fr;
  }

  .sobre img {
    height: auto;
  }

  .orcamento img {
    height: auto;
  }
}