/* =====================================================
   RESET E BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
video,
iframe {
  max-width: 100%;
}
.container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
}

/* =====================================================
   CABEÇALHO E LOGO
===================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.header-content {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  width: auto;
  height: 70px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  display: block;
  width: 65px;
  height: 65px;
  max-width: 65px;
  max-height: 65px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.logo-text span {
  color: #aaa;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 2px;
}
.logo-text strong {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 35px;
}
.nav a {
  color: #ddd;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}
.nav a:hover {
  color: #e32626;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 5px;
  background: #e32626;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  transition: 0.3s;
  flex-shrink: 0;
}
.btn-whatsapp:hover {
  background: #ff3030;
  transform: translateY(-2px);
}
.btn-whatsapp i {
  font-size: 18px;
}

/* =====================================================
   HERO / BANNER PRINCIPAL
===================================================== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.82) 40%,
      rgba(0, 0, 0, 0.45) 75%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    url("img/serralheria.jpg");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #e32626;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-text {
  max-width: 750px;
  padding-top: 80px;
  min-width: 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  margin-bottom: 25px;
  color: #e32626;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}
.hero-tag i {
    font-size: 25px;
    margin-top: 0;
    position: relative;
    top: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
 
}
.hero h1 {
  font-size: clamp(28px, 6vw, 58px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -2px;
}
.hero h1 span {
  color: #e32626;
}
.hero p {
  max-width: 650px;
  margin-top: 28px;
  color: #c9c9c9;
  font-size: 17px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 38px;
}
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 25px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}
.btn-primary {
  background: #e32626;
  color: #fff;
}
.btn-primary:hover {
  background: #ff3333;
  transform: translateY(-3px);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline:hover {
  border-color: #e32626;
  background: rgba(227, 38, 38, 0.1);
}

/* =====================================================
   INFORMAÇÕES DE CONTATO NO HERO
===================================================== */
.contact-info {
  display: flex;
  gap: 50px;
  margin-top: 55px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-item > i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 38, 38, 0.12);
  border: 1px solid rgba(227, 38, 38, 0.35);
  border-radius: 50%;
  color: #e32626;
  flex-shrink: 0;
}
.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-item small {
  color: #999;
  font-size: 11px;
  text-transform: uppercase;
}
.contact-item strong {
  font-size: 15px;
}

/* =====================================================
   INDICADOR ROLE PARA BAIXO
===================================================== */
.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 15px 0;
  color: #888;
  font-size: 9px;
  letter-spacing: 2px;
  text-align: center;
}
.scroll-down i {
  color: #e32626;
}

/* =====================================================
   DESTAQUES
===================================================== */
.highlights {
  position: relative;
  margin-top: -1px;
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.highlight-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 23px 20px;
  border-right: 1px solid #252525;
  min-width: 0;
}
.highlight-card:last-child {
  border-right: none;
}
.highlight-icon {
  min-width: 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(227, 38, 38, 0.1);
  color: #e32626;
  font-size: 19px;
  flex-shrink: 0;
}
.highlight-card h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.highlight-card p {
  color: #888;
  font-size: 12px;
  line-height: 1.4;
}

/* =====================================================
   SERVIÇOS
===================================================== */
.services-preview {
  padding: 120px 0;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(227, 38, 38, 0.08),
      transparent 30%
    ),
    #0b0b0b;
}
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-title > span {
  color: #e32626;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
}
.section-title h2 {
  margin-top: 12px;
  font-size: 42px;
}
.section-title h2 strong {
  color: #e32626;
}
.section-title p {
  margin-top: 15px;
  color: #888;
  line-height: 1.6;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.service-card {
  position: relative;
  padding: 45px 35px;
  min-height: 300px;
  overflow: hidden;
  background: #141414;
  border: 1px solid #252525;
  transition: 0.35s;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: #e32626;
  transition: 0.35s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: #3b3b3b;
}
.service-card:hover::before {
  height: 100%;
}
.service-card > i {
  display: inline-block;
  color: #e32626;
  font-size: 35px;
  margin-bottom: 25px;
}
.service-card h3 {
  font-size: 21px;
  margin-bottom: 15px;
}
.service-card p {
  color: #888;
  font-size: 14px;
  line-height: 1.7;
}
.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}
.service-card a:hover {
  color: #e32626;
}
.service-number {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #252525;
  font-size: 45px;
  font-weight: 900;
}

/* =====================================================
   WHATSAPP FLUTUANTE
===================================================== */
.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #ee0505;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: bold;
  transition: 0.3s;
}
.whatsapp-float i {
  font-size: 22px;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

/* =====================================================
   RODAPÉ
===================================================== */
footer {
  background: #070707;
  border-top: 1px solid #222;
}
.footer-content {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-content h3 {
  font-size: 18px;
  letter-spacing: 1px;
}
.footer-content p {
  margin-top: 10px;
  color: #777;
  font-size: 13px;
}
.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-phone span {
  color: #777;
  font-size: 11px;
  text-transform: uppercase;
}
.footer-phone strong {
  font-size: 17px;
}
.footer-phone i {
  color: #e32626;
  margin-right: 8px;
}
.footer-bottom {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #1d1d1d;
  color: #555;
  font-size: 11px;
}

/* =====================================================
   BOTÃO VOLTAR PARA HOME
===================================================== */
.back-home {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 80px;
  background: #0b0b0b;
}
.back-home .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 4px;
  transition: 0.3s;
}
.back-home .btn-outline:hover {
  border-color: #e32626;
  background: rgba(227, 38, 38, 0.1);
  transform: translateY(-3px);
}

/* =====================================================
   VISUALIZADOR DE FOTO
===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.94);
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #333;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  animation: lightboxEntrada 0.25s ease;
}
@keyframes lightboxEntrada {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid #444;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
}
.lightbox-close:hover {
  background: #e32626;
  border-color: #e32626;
  transform: rotate(90deg);
}
.media-card img {
  cursor: zoom-in;
}

/* =====================================================
   RESPONSIVO — TABLETS
===================================================== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .header-content {
    min-height: 75px;
    gap: 15px;
  }
  .hero {
    min-height: 0;
    padding: 100px 0 35px;
  }
  .hero-text {
    padding-top: 0;
  }
  .hero h1 {
    letter-spacing: -1.5px;
  }
  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  .hero-gallery {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .highlight-card:nth-child(2) {
    border-right: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    min-height: 0;
  }
  .contact-info {
    flex-wrap: wrap;
    gap: 25px;
  }
  .services-preview {
    padding: 85px 0;
  }
  .scroll-down {
    display: none;
  }
}

/* =====================================================
   RESPONSIVO — CELULARES
===================================================== */
@media (max-width: 600px) {
  .container {
    width: 92%;
  }
  .header-content {
    min-height: 65px;
    gap: 8px;
  }
  .logo {
    height: 45px;
    gap: 6px;
    min-width: 0;
  }
  .logo img {
    width: 42px;
    height: 42px;
    max-width: 42px;
    max-height: 42px;
  }
  .logo-text {
    min-width: 0;
    gap: 2px;
  }
  .logo-text span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .logo-text strong {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  .btn-whatsapp {
    padding: 9px 10px;
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
  }
  .btn-whatsapp i {
    font-size: 15px;
  }

  /* Banner: menos altura e foto mais próxima dos botões */
  .hero {
    min-height: 0;
    padding: 88px 0 28px;
    background-position: 65% center;
  }
  .hero-content {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0 !important;
  }
  .hero-text {
    display: contents;
  }
  .hero-tag {
    order: 1;
    gap: 7px;
    margin: 0 4% 15px;
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .hero h1 {
    order: 2;
    margin: 0 4%;
    font-size: clamp(29px, 7.8vw, 38px);
    line-height: 1.06;
    letter-spacing: -1px;
    overflow-wrap: break-word;
  }
  .hero-text > p {
    order: 3;
    margin: 14px 4% 0;
    max-width: none;
    font-size: 14px;
    line-height: 1.5;
  }
  .hero-buttons {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 20px 4% 8px;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    min-height: 30px;
    padding: 10px;
    font-size: 13px;
    margin-bottom: 5px;
  }

  /* A galeria vira item do layout e sobe antes do contato */
  .hero-gallery {
    order: 5;
    width: 92%;
    max-width: none;
    margin: 20px auto 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
  .contact-info {
    order: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 4% 0;
  }
  .contact-item {
    gap: 12px;
    min-width: 0;
  }
  .contact-item > i {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .contact-item strong {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  /* Destaques */
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .highlight-card {
    gap: 12px;
    padding: 15px 12px;
    border-right: none;
    border-bottom: 1px solid #252525;
  }
  .highlight-card:last-child {
    border-bottom: none;
  }
  .highlight-icon {
    min-width: 42px;
    width: 42px;
    height: 42px;
    font-size: 17px;
    flex-shrink: 0;
  }
  .highlight-card h3 {
    font-size: 13px;
  }
  .highlight-card p {
    font-size: 12px;
  }
  .scroll-down {
    display: flex;
    position: static;
    transform: none;
    padding: 18px 0;
    gap: 7px;
    font-size: 9px;
  }

  /* Serviços */
  .services-preview {
    padding: 65px 0;
  }
  .section-title {
    margin-bottom: 35px;
  }
  .section-title > span {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .section-title h2 {
    margin-top: 10px;
    font-size: clamp(27px, 7vw, 32px);
    line-height: 1.15;
  }
  .section-title p {
    margin-top: 12px;
    font-size: 14px;
  }
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .service-card {
    min-height: 0;
    padding: 32px 24px;
  }
  .service-card > i {
    font-size: 30px;
    margin-bottom: 18px;
  }
  .service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  .service-card p {
    font-size: 13px;
    line-height: 1.65;
  }
  .service-card a {
    margin-top: 18px;
  }
  .service-number {
    top: 15px;
    right: 18px;
    font-size: 35px;
  }

  /* WhatsApp flutuante */
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    z-index: 100;
  }
  .whatsapp-float i {
    font-size: 22px;
  }
  .whatsapp-float span {
    display: none;
  }

  /* Rodapé e elementos auxiliares */
  .footer-content {
    min-height: 0;
    padding: 35px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .footer-content h3 {
    font-size: 16px;
  }
  .footer-content p {
    line-height: 1.6;
  }
  .footer-phone strong {
    font-size: 16px;
  }
  .footer-bottom {
    padding: 18px 12px;
    line-height: 1.6;
  }
  .back-home {
    padding: 35px 20px 55px;
  }
  .back-home .btn-outline {
    width: auto;
    max-width: 100%;
    padding: 14px 22px;
  }
  .lightbox {
    padding: 12px;
  }
  .lightbox img {
    max-width: 96vw;
    max-height: 80vh;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
}

/* CELULARES MUITO ESTREITOS */
@media (max-width: 380px) {
  .logo-text strong {
    font-size: 11px;
  }
  .logo img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
  }
  .btn-whatsapp {
    padding: 8px;
    font-size: 10px;
  }
  .hero {
    padding-top: 82px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-buttons {
    margin-top: 16px;
  }
  .hero-gallery {
    margin-top: 16px;
  }
}
