:root {
  --primary-color: #c59d5f;
  --secondary-color: #a37f45;
  --text-color: #333;
  --heading-color: #222;
  --bg-light: #f9f9f9;
  --bg-white: #fff;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  background: var(--bg-light);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--heading-color);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0px 0px 10px 2px rgb(223, 153, 3);
}

.btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.2, 0.5, 0.4, 1.2);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

header {
  background: var(--bg-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

nav a:hover {
  color: var(--secondary-color);
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 90vh;
  background: url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  animation: fadeIn 1.5s ease forwards;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--bg-white);
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease 0.5s;
  margin-bottom: 2rem;
}

.hero-content.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--bg-white);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  font-weight: 300;
}

section {
  padding: 10rem 2rem;
}

.sobre {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.sobre-texto h2 {
  text-align: left;
}

.sobre img {
  width: 70%;
 
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
 
}



.cards,
.grid {
  display: grid;
  gap: 3rem;
  margin-top: 4rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card,
.projeto,
.depoimento {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: transform 0.5s, box-shadow 0.5s;
}

.card:hover,
.projeto:hover,
.depoimento:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.projeto {
  padding: 1.5rem;
}

.projeto img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.depoimento {
  font-style: italic;
  position: relative;
}

.depoimento p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.depoimento span {
  display: block;
  font-weight: 500;
  color: var(--primary-color);
  text-align: right;
  font-style: normal;
}

#contato {
  background: #f1f1f1;
}

#contato h2 {
  margin-bottom: 3rem;
}

form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

input,
textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-shadow: 0px 0px 10px 2px rgb(223, 153, 3);
}

input:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea {
  resize: vertical;
  height: 140px;
}

.feedback {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
}

footer {
  background: var(--heading-color);
  color: #f7f3f3;
  padding: 3.5rem;
  text-align: center;
}

@media (max-width: 992px) {
  .sobre {
    grid-template-columns: 1fr;
  }
  .sobre-texto h2 {
    text-align: center;
  }
  .sobre img {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
  }
  .logo {
    margin-bottom: 0.5rem;
  }
  nav ul {
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .hero-content .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  .depoimento {
    padding: 1.5rem;
  }
}
