/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #F5F5F5;
  background-color: #0F0F0F;
  scroll-behavior: smooth;
}

/* ===== CENTRALIZA TODAS AS SEÇÕES AO CLICAR NO MENU ===== */
section, #sobre, #Projetos, #inicio {
  scroll-margin-top: 110px; /* 🔥 centralização automática */
}

/* ===== CABEÇALHO ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  backdrop-filter: blur(6px);
  height: 72px;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 150px;
  display: block;
  object-fit: contain;
  margin: 0;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #E57C23;
}

.btn-orcamento {
  background: #E57C23;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
 
.btn-orcamento:hover {
  background: #E57C23;
}

/* ===== HERO ===== */
.hero-swiper-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Swiper ocupa o fundo inteiro */
.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo centralizado acima das imagens */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Botão */
.btn-hero {
    padding: 12px 25px;
    background: #E57C23;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* SETAS */
.swiper-button-prev,
.swiper-button-next {
    color: #ffffff !important;  /* mude aqui */
}

.swiper-pagination-bullet {
    background: #fff !important;
}

/* ===== RESPONSIVIDADE HERO + HEADER ===== */
@media (max-width: 768px) {
  .nav ul,
  .btn-orcamento {
    display: none;
  }

  .logo img {
    height: 36px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ===== SOBRE A FASTVOLT ===== */
.sobre {
  padding: 4rem 0;
  background-color: #0d0d0d;
  color: #F5F5F5;
}

.sobre-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.sobre-imagem {
  position: relative;
  display: inline-block;
  width: 500px;
  flex-shrink: 0;
  margin-right: 2rem;
}

.sobre-imagem::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: #1C1C1C;
  border-radius: 8px;
  z-index: 0;
}

.sobre-imagem img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 8px;
  z-index: 1;
  object-fit: cover;
}

.sobre-texto {
  flex: none;
  max-width: 380px;
  margin-left: -1rem;
}

.sobre-texto h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #E57C23;
  margin-bottom: 1.5rem;
}

.sobre-texto p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #F5F5F5;
}

/* ===== SERVIÇOS ===== */
.servicos {
  scroll-margin-top: 180px;
  background-color: #0f0f0f;
  padding: 3.5rem 0;
  text-align: center;
  color: #f5f5f5;
}

.servicos h2 {
  font-size: 2rem;
  color: #E57C23;
  margin-bottom: 3rem;
  font-family: 'Poppins', sans-serif;
}

/* Cards */
.cards-servicos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

.card {
  background-color: #161616;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  width: 165px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
}

.card h3 {
  font-size: 0.75rem;
  margin: 0.4rem;
  color: #f5f5f5;
  text-align: center;
}

.btn-servico {
  background-color: #E57C23;
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  margin: 0.8rem auto 1rem;
  display: inline-block;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.btn-servico:hover {
  background-color: #E57C23;
}

/* Responsividade dos Cards */
@media (max-width: 1200px) {
  .card {
    width: 180px;
  }
}

@media (max-width: 900px) {
  .card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .card {
    width: 90%;
  }
}

/* Menu de categorias dos serviços */
.menu-servicos {
  margin-top: 2rem;
  text-align: center;
}

.menu-servicos ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.menu-servicos li {
  color: #fff;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  transition: 0.3s;
  font-size: 1rem;
}

.menu-servicos li:hover {
  color: #E57C23;
}

.menu-servicos li.ativo {
  background-color: #E57C23;
  color: #fff;
}

/* ===== Projetos ===== */
.projetos-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0d0d0d;
}

.projetos-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ffffff;
}

.projetos-subtitle {
  font-size: 20px;
  color: #dcdcdc;
  margin-bottom: 40px;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.projetos-grid ul {
  list-style: none;
  padding: 0;
}

.projetos-grid li {
  margin-bottom: 14px;
  font-size: 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #E57C23;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

/* ===== CONTATO ===== */
.contato-section {
  scroll-margin-top: -5px;
  background-color: #0f0f0f;
  padding: 80px 0;
}




.contato-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.contato-texto {
  flex: 1;
  color: #E57C23;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 165px;
}

.frase-lateral{
  color: #ffffff;
}

.contato-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-color: #111;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #333;
}

.contato-form label {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

.contato-form input:focus,
.contato-form textarea:focus {
  border-color: #E57C23;
}

.contato-form textarea {
  height: 120px;
  resize: none;
}

.contato-form button {
  padding: 14px;
  background-color: #E57C23;
  border: none;
  color: white;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: bold;
}

.contato-form button:hover {
  background-color: #E57C23;
}

#msg-retorno {
  width: 100%;
  margin-top: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 16px;
  display: none;
  text-align: left;
}

#msg-retorno.sucesso {
  background: #e4f8e8;
  color: #0a7d27;
  border-left: 4px solid #0a7d27;
}

#msg-retorno.erro {
  background: #fdeaea;
  color: #d01919;
  border-left: 4px solid #d01919;
}

@media (max-width: 850px) {
  .contato-container {
    flex-direction: column;
    text-align: center;
  }

  .contato-texto {
    margin-top: 0;
    font-size: 20px;
  }
}

.footer {
    width: 100%;
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 12px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-top: 40px;
}

.footer-icons a {
    color: #E57C23;
    margin-left: 18px;
    font-size: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-icons a:hover {
    opacity: 0.6;
}