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

html{
  scroll-behavior: smooth;
}

/* Base */
body {
  font-family: system-ui, sans-serif;
  background-color: black;
  color: #e7e7e7;
  min-height: 100vh;
  line-height: 1.5;
  /*background-image: url('/img/fundo.jpg') ;
  background-size:cover; 
  background-position: center;
  background-repeat: no-repeat;*/
}

.img-gradient {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;
  max-width: 100%;
  height: auto;
}

.layer-blur {
  position: absolute;
  width: 30rem;
  top: 20%;
  right: 0;
  box-shadow: 0 0 700px 15px white;
  rotate: -30deg;
  z-index: -1;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

/* ====================== HEADER ====================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 3vw;
  margin-top: -8rem;
}

header img {
  width: 250px;
  max-width: 60vw;
  margin-left: -5rem;
}

/* Menu hamburguer */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Navbar */
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-family: Poppins, sans-serif;
  transition: 0.3s ease-in-out;
}

nav a:hover {
  color: #df5b16;
}

/* Sign-in Button */
.btn-signing {
  background-color: #df5b16;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  margin-top: 0.5rem;
}

.btn-signing:hover {
  background-color: white;
  color: #df5b16;
}

/* ====================== MAIN ====================== */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.content {
  max-width: 600px;
  padding: 1rem;
}

.content h1 {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(128, 128, 128, 0.4);
}

.description {
  font-size: 1.2rem;
  color: gray;
  margin-bottom: 1.5rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-size:smaller; 
}

.btn-primary {
  border: 2px solid white;
  color: white;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  background-color: white;
  color: gray;
}

.btn-secondary {
  background-color: #df5b16;
  color: white;
  margin-bottom: 1rem;
}

.btn-secondary:hover {
  background-color: white;
  color: #df5b16;
}

/* Hero animation */
.hero-animation {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
}

/* ====================== SOBRE CTA ====================== */
.sobre-cta img {
  width: 400px;
  max-width: 60vw;
  margin-left: -8rem;
  margin-top: -12rem;
}

.sobre-cta h4 {
  margin-top: -13rem;
  margin-left: 20rem;
}

.sobre-cta nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: -65rem;
}

/* ====================== FOOTER ====================== */
.footer {
  background-color: #0a0a0a;
  color: #fff;
  font-size: 0.95rem;
  padding-top: 3rem;
  justify-content: center;
}
.container footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  justify-items: center;
  text-align: center;
}

.footer-col h4 {
  color: #df5b16;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  background-color: #050505;
  border-top: 1px solid #222;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #df5b16;
  text-decoration: none;
}

/* Ícones */
.footer-col i {
  margin-right: 0.5rem;
  color: #df5b16;
}

/* ===== REDES SOCIAIS (BOTÕES) ===== */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-block;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #df5b16;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-4px);
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .footer-social {
    flex-direction: row;
    justify-content: center;
  }
}


.footer-social button {
  align-self: center;
  background-color: #df5b16;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-grid button:hover {
  background-color: #b9460d;
  transform: scale(1.05);
}


/* ====================== SERVIÇOS ====================== */
.servicos {
  padding: 4rem 2rem;
  background-color: #f3f3f3;
  color: white;
  text-align: center;
}

.servicos h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #df5b16;
}

.servicos .intro {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 2rem;
}

.servicos-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.servico-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background-color: #e9e9e9;
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(147, 147, 147, 0.2), 
              0 6px 20px rgba(147, 147, 147, 0.2);
}

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

.servico-card img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.servico-card h3 {
  color: #df5b16;
  margin-bottom: 0.5rem;
}

.servico-card p {
  color: #151515;
  font-size: 0.95rem;
}

.servicos-cta {
  margin-top: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-servico {
  background-color: #1b1b1b;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-servico:hover {
  background-color: white;
  color: #df5b16;
}

/* Setas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 10px;
  z-index: 2;
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

/* ====================== RESPONSIVIDADE ====================== */
@media (max-width: 768px) {
  /* Mostra o ícone do menu */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    margin-top: -1rem;
    right: 1.5rem;
    z-index: 1000;
  }

  /* Esconde o menu por padrão */
  nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    border-radius: 8px;
  }

  /* Mostra o menu quando ativo */
  nav.active {
    display: flex;
  }

  /* Header em coluna no mobile */
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    margin-top: -8px;
  }

  /* Logo menor */
  header img {
    width: 200px;
    margin-left: -5rem;
  }

  .img-gradient {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -21;
  max-width: 100%;
  height: auto;
}

  /* Botões e textos mais compactos */
  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-secondary {
    display: none ;


  .content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .description {
    font-size: 1rem;
  }

  /* Seções de “sobre” */
  .sobre-mvv .blocos {
    flex-direction: column;
  }

  .sobre-header h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .sobre-header p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col ul li {
    margin-bottom: 0.75rem;
  }

  .servicos h2 {
    font-size: 2rem;
  }

  .servicos .intro {
    font-size: 1rem;
  }

  .servico-card {
    flex: 0 0 100%;
  }
  .servico-card img {
    height: 15rem;
  }
}
}