:root {
  --red: #ff0000;
  --gray: #181818;
  --dark: #0a0a0a;
  --light: #f5f5f5;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  scroll-behavior: smooth;
  line-height: 1.6;
}

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-list a:hover {
  color: var(--red);
}

.nav-btn {
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--light);
  align-self: center;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}

.nav-btn:hover {
  background: var(--red);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light);
  transition: all var(--transition);
}

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  position: relative;
  transition: background-image 1s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--light);
  border: 1px solid var(--red);
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn:hover {
  background: var(--red);
  color: var(--dark);
}

.section {
  padding: 4rem 0;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #aaa;
  font-size: 1.1rem;
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card, .thumb {
  background: var(--gray);
  border-radius: 8px;
  overflow: hidden;
  padding: 1.5rem;
  transition: transform var(--transition);
}

.card:hover, .thumb:hover {
  transform: translateY(-5px);
}

.thumb img {
  width: 100%;
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

.thumb figcaption h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.thumb figcaption p {
  font-size: 0.9rem;
  color: #aaa;
}

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

.form-contato label {
  text-align: left;
  color: var(--light);
}

.form-contato input,
.form-contato textarea {
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 4px;
  background: #222;
  color: var(--light);
  font-family: 'Inter', sans-serif;
}

.form-contato textarea {
  min-height: 120px;
  resize: vertical;
}

.form-contato button {
  align-self: center;
}

.footer {
  background: #050505;
  padding: 4rem 0 2rem;
  color: #777;
  font-size: 0.9rem;
}

.footer h5 {
  color: var(--light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.footer ul {
  list-style: none;
}

.footer a {
  color: #aaa;
  text-decoration: none;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--red);
}

.copy {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70%;
    background: var(--dark);
    transition: right var(--transition);
    padding: 2rem;
  }

  .nav-list.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 2rem 0;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}