/* ============================================
   SERRALHERIA - ESTILOS PRINCIPAIS
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-primaria: #d4770b;
  --cor-primaria-escura: #b5650a;
  --cor-primaria-clara: #f0a543;
  --cor-fundo: #0f0f0f;
  --cor-fundo-card: #1a1a1a;
  --cor-fundo-card-hover: #222222;
  --cor-texto: #e8e8e8;
  --cor-texto-suave: #a0a0a0;
  --cor-borda: #2a2a2a;
  --cor-branco: #ffffff;
  --cor-whatsapp: #25D366;
  --cor-estrela: #fbbf24;
  --sombra: 0 4px 30px rgba(0, 0, 0, 0.4);
  --sombra-hover: 0 8px 40px rgba(212, 119, 11, 0.15);
  --transicao: all 0.3s ease;
  --raio: 12px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transicao);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navegação --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cor-borda);
  transition: var(--transicao);
}

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

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cor-primaria);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cor-texto-suave);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cor-primaria);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--cor-branco);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cor-texto);
  border-radius: 2px;
  transition: var(--transicao);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0.6) 0%,
    rgba(15, 15, 15, 0.75) 50%,
    rgba(15, 15, 15, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(212, 119, 11, 0.15);
  border: 1px solid rgba(212, 119, 11, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cor-primaria-clara);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* =============================================
   NOME DA EMPRESA - ALTERE AQUI
   ============================================= */
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--cor-branco);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .destaque {
  color: var(--cor-primaria);
  position: relative;
  display: inline-block;
}

.hero-title .destaque::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cor-primaria);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--cor-texto-suave);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transicao);
  text-decoration: none;
}

.btn-primario {
  background: var(--cor-primaria);
  color: var(--cor-branco);
}

.btn-primario:hover {
  background: var(--cor-primaria-escura);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 119, 11, 0.3);
}

.btn-secundario {
  background: transparent;
  color: var(--cor-branco);
  border: 1px solid var(--cor-borda);
}

.btn-secundario:hover {
  border-color: var(--cor-primaria);
  color: var(--cor-primaria);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  color: var(--cor-texto-suave);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- Seções --- */
.secao {
  padding: 100px 0;
}

.secao-titulo {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--cor-branco);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.secao-linha {
  width: 60px;
  height: 3px;
  background: var(--cor-primaria);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.secao-descricao {
  text-align: center;
  color: var(--cor-texto-suave);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Sobre --- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre-imagem {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
}

.sobre-imagem img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sobre-imagem:hover img {
  transform: scale(1.03);
}

.sobre-imagem::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.6), transparent);
}

.sobre-conteudo h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cor-branco);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.sobre-conteudo p {
  color: var(--cor-texto-suave);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--cor-fundo-card);
  border-radius: var(--raio);
  border: 1px solid var(--cor-borda);
}

.stat-numero {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cor-primaria);
  display: block;
  line-height: 1.2;
}

.stat-texto {
  font-size: 0.8rem;
  color: var(--cor-texto-suave);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Serviços --- */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servico-card {
  background: var(--cor-fundo-card);
  border-radius: var(--raio);
  overflow: hidden;
  border: 1px solid var(--cor-borda);
  transition: var(--transicao);
  cursor: default;
}

.servico-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 119, 11, 0.3);
  box-shadow: var(--sombra-hover);
}

.servico-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.servico-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servico-card:hover .servico-card-img img {
  transform: scale(1.08);
}

.servico-card-conteudo {
  padding: 24px;
}

.servico-card-conteudo h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cor-branco);
  margin-bottom: 8px;
}

.servico-card-conteudo p {
  font-size: 0.9rem;
  color: var(--cor-texto-suave);
  line-height: 1.6;
}

/* --- Galeria --- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.galeria-item {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.08);
}

.galeria-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.galeria-item:hover .galeria-item-overlay {
  opacity: 1;
}

.galeria-item-overlay span {
  color: var(--cor-branco);
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Depoimentos --- */
.depoimentos-bg {
  background: var(--cor-fundo-card);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.depoimento-card {
  background: var(--cor-fundo);
  border-radius: var(--raio);
  padding: 32px;
  border: 1px solid var(--cor-borda);
  transition: var(--transicao);
  display: flex;
  flex-direction: column;
}

.depoimento-card:hover {
  border-color: rgba(212, 119, 11, 0.2);
}

.depoimento-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.depoimento-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-primaria-escura));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cor-branco);
  flex-shrink: 0;
}

.depoimento-info h4 {
  font-weight: 700;
  color: var(--cor-branco);
  font-size: 0.95rem;
}

.depoimento-info span {
  font-size: 0.8rem;
  color: var(--cor-texto-suave);
}

.depoimento-estrelas {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.depoimento-estrelas svg {
  width: 16px;
  height: 16px;
  fill: var(--cor-estrela);
}

.depoimento-texto {
  color: var(--cor-texto-suave);
  font-size: 0.92rem;
  line-height: 1.7;
  flex-grow: 1;
}

.depoimento-google {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cor-borda);
  font-size: 0.78rem;
  color: var(--cor-texto-suave);
}

.depoimento-google svg {
  width: 16px;
  height: 16px;
}

/* --- Mapa --- */
.mapa-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.mapa-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cor-branco);
  margin-bottom: 24px;
}

.mapa-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.mapa-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--cor-primaria);
  flex-shrink: 0;
  margin-top: 2px;
}

.mapa-info-item div {
  display: flex;
  flex-direction: column;
}

.mapa-info-item strong {
  color: var(--cor-branco);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.mapa-info-item span {
  color: var(--cor-texto-suave);
  font-size: 0.88rem;
}

.mapa-iframe {
  border-radius: var(--raio);
  overflow: hidden;
  border: 1px solid var(--cor-borda);
  aspect-ratio: 4 / 3;
}

.mapa-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--cor-fundo-card);
  border-top: 1px solid var(--cor-borda);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-sobre h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cor-primaria);
  margin-bottom: 12px;
}

.footer-sobre p {
  color: var(--cor-texto-suave);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contato h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cor-branco);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  color: var(--cor-texto-suave);
  font-size: 0.88rem;
  padding: 5px 0;
}

.footer-links a:hover {
  color: var(--cor-primaria);
  padding-left: 4px;
}

.footer-contato-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cor-texto-suave);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-contato-item svg {
  width: 16px;
  height: 16px;
  color: var(--cor-primaria);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--cor-borda);
  padding-top: 24px;
  text-align: center;
  color: var(--cor-texto-suave);
  font-size: 0.82rem;
}

/* --- WhatsApp Flutuante --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-tooltip {
  background: var(--cor-branco);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--sombra);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: var(--cor-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transicao);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--cor-branco);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* --- CTA --- */
.cta-secao {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(212, 119, 11, 0.08), rgba(15, 15, 15, 1));
  border-top: 1px solid var(--cor-borda);
}

.cta-secao h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--cor-branco);
  margin-bottom: 16px;
}

.cta-secao p {
  color: var(--cor-texto-suave);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .servicos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .depoimentos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mapa-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .secao {
    padding: 70px 0;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
  }

  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  .sobre-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat {
    padding: 14px 8px;
  }

  .stat-numero {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .whatsapp-btn {
    width: 54px;
    height: 54px;
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .mapa-iframe {
    aspect-ratio: 1 / 1;
  }
}
