/* ==================================================
   VARIÁVEIS DE COR E TIPOGRAFIA
================================================== */
:root {
  --preto-fundo: #0a0a0a;
  --preto-card: #1a1a1a;
  --vermelho-principal: #e50914;
  --vermelho-hover: #c40812;
  --branco-texto: #f4f4f4;
  --verde-whats: #25D366;

  --fonte-titulo: 'Bebas Neue', cursive;
  --fonte-corpo: 'Roboto', sans-serif;
}

/* ==================================================
   RESET E BASE
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  background-color: var(--preto-fundo);
  color: var(--branco-texto);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--vermelho-principal);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

section {
  padding: 120px 0;
}

/* ==================================================
   HERO + PARALLAX (DESKTOP E MOBILE)
================================================== */
.parallax {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
}

.capa-desktop {
  background-image:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url("../img/capa_desktop.png");
}

.capa-mobile {
  background-image:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85)),
    url("../img/capa_mobile.png");
  display: none;
}

.overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  max-width: 720px;
}

.overlay h1 {
  font-size: 5rem;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
}

.overlay p {
  font-size: 1.6rem;
  margin: 20px 0 40px;
  max-width: 520px;
}

/* ==================================================
   BOTÕES
================================================== */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-family: var(--fonte-titulo);
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 10px 20px;
  transition: all .3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--verde-whats), #1db954);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

.btn-whatsapp:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,.6);
}

.btn-service {
  display: inline-block;
  margin-top: 20px;
  padding: 5px;
  font-family: var(--fonte-titulo);
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 10px 5px 10px;
  transition: all .3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-service:hover {
  transform: scale(1.05);
  background: var(--vermelho-principal);
  color: #fff;
  border-radius: 5px 10px 5px;
}

/* ==================================================
   NAVEGAÇÃO
================================================== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all .4s ease;
}

header.scrolled {
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,.5);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  display: flex;
  list-style: none;
}

header ul li {
  margin-left: 30px;
}

header ul li a {
  color: var(--branco-texto);
  text-decoration: none;
  font-family: var(--fonte-titulo);
  font-size: 1.2rem;
}

header ul li a:hover,
header ul li a.active {
  color: var(--vermelho-principal);
}

/* ==================================================
   SOBRE
================================================== */
#sobre {
  background: var(--preto-card);
  position: relative;
}

#sobre::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 80px;
  background: var(--preto-fundo);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
}

.sobre-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.sobre-content img {
  max-width: 380px;
  border: 4px solid var(--vermelho-principal);
  filter: grayscale(70%);
  transition: all .4s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.sobre-content img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* ==================================================
   SERVIÇOS
================================================== */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 40px;
}

.servico-item {
  background: var(--preto-card);
  padding: 40px 30px;
  text-align: center;
  border-left: 5px solid transparent;
  transition: all .3s ease;
}

.servico-item:hover {
  border-left-color: var(--vermelho-principal);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(229,9,20,.35);
}

/* ==================================================
   CONTATO
================================================== */
#contato {
  background: var(--vermelho-principal);
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  padding-top: 150px;
  text-align: center;
}

.whatsapp-form {
  max-width: 800px;
  margin: auto;
  display: grid;
  gap: 20px;
}

.whatsapp-form input,
.whatsapp-form textarea {
  padding: 20px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

/* ==================================================
   FOOTER
================================================== */
footer {
  background: #050505;
  padding: 30px;
  text-align: center;
  font-size: .9rem;
  color: #777;
}

/* ==================================================
   RESPONSIVO
================================================== */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .parallax {
    background-attachment: scroll;
  }

  .capa-desktop {
    display: none;
  }

  .capa-mobile {
    display: block;
  }

  .overlay h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .sobre-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .valores {
    padding: 20px 0;
    margin: 20px 0;
  }

  header nav {
    flex-direction: column;
  }
}
