@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Roboto+Slab:wght@100..900&display=swap');

/* RESETE GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
}

/* VARIÁVEIS */
:root {
  --main-color: #fcd434;

  /* DARK (padrão) */
  --bg-dark: #0b0f17;
  --bg-secondary: #1f242d;
  --text-color: #ffffff;
  --text-muted: #b0b0b0;
}

/* BASE */
html {
  font-family: "Roboto Slab", serif;
}

body {
  background-color: rgb(0, 0, 0);
}
img {
  max-width: 100%;
  height: auto;
}

/* HEADER  */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;

  background: rgba(29, 29, 29, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 40px;

  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  
}

/* LOGO CORRIGIDA (SEM ESTOURAR) */
.logo {
  width: 155px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}



/* MENU CENTRAL */
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
}
.nav a {
  font-size: 1.3rem;
  color: #f1f1f1;
  padding: 6px 25px;
  position: relative;
  transition: 0.3s ease;
  font-weight: 400;
}


/* EFEITO LINHA ANIMADA NAV */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--main-color);
  transition: 0.3s ease;
  transform: translateX(-50%);
}
.nav a:hover {
  color: var(--main-color);
  transform: translateY(-2px);
}
.nav a:hover::after {
  width: 100%;
}



/* ================= HOME ================= */
.home {
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 50px 100px;

  background-image: url("../img/background-servicos.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* OVERLAY */
.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color:#0b0f17c9;
  z-index: 0;
}

/* CONTEÚDO SOBREPOSTO */
.home > * {
  position: relative;
  z-index: 1;
}

/* CONTEÚDO TEXTO */
.home-content {
  padding-top: 6%;
  max-width: 40%;
}

/* TÍTULOS */
.home-content h1 {
  font-weight: 550;
  line-height: 1.4;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.home-content h3 {
  font-weight: 550;
  font-size: 1.7rem;
  line-height: 1.4;
  color: var(--main-color);
  letter-spacing: 1px;
}

/* TEXTO */
.home-content p {
  font-size: 1.3rem;
  margin-top: 2rem;
  font-weight: 320;
  line-height: 1.3;
  text-align: justify;
  color: #e9e9e9;
}

/* DESTAQUES */
.home-content span {
  color: var(--main-color);
  font-weight: bold;
}
.localizacao {
  padding-bottom: 7%;
  
}
.endereco {
  color: var(--main-color);
  font-size: 1.3rem;
  text-decoration: underline;
  
}

/* IMAGENS */
.home-img img {
  width: 100%;
  padding-top: 10%;
}

/* AJUSTES FINAIS */
.home-content {
  width: 100%;
}

span,
h1,
h3 {
  color: #f1c40f;
}

/* ================= FIM HOME ================= */




/* =================  INICIO SERVIÇOS ================= */

.servicos {
  padding: 110px 20px;
  background: linear-gradient(180deg, #b9b9b9, #a9a9a9);
  text-align: center;
}

.servicos h2 {
  font-size: 3rem;
  margin-bottom: 60px;
  color: #111;
  letter-spacing: 1px;
}

/* GRID */
.servicos-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 55px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======== CARD ======== */
.card {
  position: relative;
  background: #1c1c1c;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;

  /* IMPORTANTE: mantém JS funcionando */
  opacity: 0;
  transform: translateY(80px);

  transition: 
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.9s ease,
    box-shadow 0.3s ease;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* quando entra em cena (JS usa isso) */
.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* hover mais premium */
.card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}

/* brilho metálico melhorado */
.card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: -120%;
  left: -60%;
  width: 50%;
  height: 300%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.7s;
  z-index: 1;
}

.card:hover::before {
  left: 130%;
}

/* leve camada interna mais profissional */
.card::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 2px;
  background: #2a2a2a;
  border-radius: 14px;
  z-index: 0;
}

/* conteúdo sempre acima */
.card > * {
  position: relative;
  z-index: 2;
}

/* imagem mais elegante */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* título */
.card h3 {
  font-size: 1.35rem;
  margin: 15px 0 10px;
  color: #fcd434;
  text-align: center;
}

/* texto */
.card p {
  font-size: 0.95rem;
  padding: 0 18px 22px;
  color: #e6e6e6;
  line-height: 1.5;
  text-align: center;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 600;

  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;

  margin: 0 18px 20px;

  transition: all 0.3s ease;

  /* IMPORTANTE: mantém acima das camadas do card */
  position: relative;
  z-index: 3;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-whatsapp img {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
/* ================= FIM SERVICOS ================= */




/* =========================
   BOTAO GLOBAL WHATSAPP (flutuante)
========================= */
.whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* BOTÃO */
.whatsapp-float {
  width: 75px;
  height: 75px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: 0.3s ease;
  animation: pulse 1.8s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  background-color: #1ebe5d;
}

/* TEXTO AO LADO DO BOTÃO */
.whatsapp-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whatsapp-title, .whatsapp-tooltip {
  background: #141414;
  color: #00fc65;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  margin-bottom: 5px;
}

/* TOOLTIP menor */
.whatsapp-tooltip {
  font-size: 12px;
  background-color:#00ff66 ;
  color: #141414;
}

/* PULSO */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== INICIO CONTATO ====== */
.contatos {
  padding: 200px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.contatos h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #fcd434;
}

/* LAYOUT */
.contato-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

/* =========================
   INFO
========================= */
.contato-info {
  text-align: left;
}

.contato-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fcd434;
}

.contato-info p {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #ddd;
}

/* BOTÃO */
.btn-maps {
  display: inline-block;
  margin-top: 10px;

  background: #fcd434;
  color: #111;

  padding: 12px 18px;
  border-radius: 8px;

  font-weight: bold;
  text-decoration: none;

  transition: 0.3s ease;
}

.btn-maps:hover {
  transform: translateY(-2px);
  background: #ffd84d;
}

/* ====== MAPA =========== */
.contato-mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 16px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  transition: 0.4s ease;
}

.contato-mapa iframe:hover {
  transform: scale(1.02);
}
/* ===== FIM CONTATO ====== */


/* ===== INICIO SOBRE ====== */
.sobre {
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 10% 9%;
  background: #1f242d;
}

/* IMAGEM */
.sobre-img img {
  width: 500px;
  max-width: 100%;
  border-radius: 10px;
}

/* TEXTO */
.sobre-content {
  max-width: 600px;
}

.sobre-content h3 {
  color: #f1c40f;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.sobre-content h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.sobre-content span {
  color: #f1c40f;
}

.sobre-content p {
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ENDEREÇO */
.sobre-location {
  margin-top: 10px;
}

.endereco {
  color: #f1c40f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.endereco:hover {
  color: #fff;
}
/* ===== FIM SOBRE ====== */



/* ======Menu toggle =========== */
.menu-icon {
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 1001;
  transition: 0.3s;
}

/* EFEITO HOVER */
.menu-icon:hover {
  transform: scale(1.1);
  color: var(--main-color);
}

/* ANIMAÇÃO (vira X) */
.menu-icon.active i::before {
  content: "\f00d"; /* ícone X (Boxicons) */
}


/* =========================
   TABLET INICIO DA RESPONSIVIDADE
========================= */
@media (max-width: 992px) {

  .home {
    flex-direction: column;
    text-align: center;
    padding: 120px 40px;
  }

  .home-content {
    max-width: 100%;
    padding-top: 0;
  }

  .sobre {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
  }

  .contato-container {
    grid-template-columns: 1fr;
  }
}
/* ===== FIM TABLET ====== */


/* ===== INICIO MOBILE ====== */
@media (max-width: 768px) {

  /* HEADER */
  header {
    padding: 0 20px;
  }

  .logo {
    width: 120px;
  }

  .menu-icon {
    display: block;
    z-index: 1001;
  }

  
  .nav {
    position: fixed; 
    top: 90px;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    background: #1d1d1d;
    padding: 25px 0;

    transform: translateY(-150%);
    transition: 0.3s ease;

    z-index: 1000;
  }

  .nav.active {
    transform: translateY(0);
  }

  .nav a {
    font-size: 1.1rem;
  }

  /* ================= HOME ================= */

  .home {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
  }

  .home-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .home-content h1 {
    font-size: 1.8rem;
  }

  .home-content h3 {
    font-size: 1.3rem;
  }

  .home-content p {
    font-size: 1rem;
    text-align: center;
  }

  .home-img img {
    max-width: 300px;
    margin-top: 20px;
  }

  /* ================= SOBRE ================= */

  .sobre {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .about-img img {
    width: 280px;
  }

  /* ================= CONTATO ================= */

  .contato-container {
    grid-template-columns: 1fr;
  }

  .contato-mapa iframe {
    height: 280px;
  }

  /* ================= SERVIÇOS ================= */

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

  .servicos-container {
    gap: 25px;
  }

  /* ================= WHATSAPP ================= */

  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

}


@media (max-width: 480px) {

  .home-content h1 {
    font-size: 1.5rem;
  }

  .home-content h3 {
    font-size: 1.1rem;
  }

  .about-content h1 {
    font-size: 1.6rem;
  }

}
/* ===== FIM MOBILE ====== */


.footer a {
  width: 100%;
  padding: 50px 20px;
  background: #0b0f17;

  color: #bebebe;
  font-size: 0.50em;
  text-align: center;
  letter-spacing: 1px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;
}
