/* ============================
   RESET E BASE
============================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    color: #000;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ============================
     CONTAINER PADRÃO
  ============================ */
  .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  
 header {
  background-color: rgb(226, 110, 43);
  height: 40px;
  display: flex;
  align-items: center;
}

.header-center {
  justify-content: center;
}

.texto-header p {
  font-size: 18px;
  font-style: italic;
  color: #fff; /* texto branco */
  text-align: center;
}


  
/* ============================
   HERO
============================ */
.hero-header {
  width: 100%;
  height: 650px; /* mantém o tamanho */
  position: relative;
  background-image: url("../images/cabecalho/9153.webp");
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

/* penumbra leve no hover */
.hero-header::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.65); /* mais escura e fixa */
  z-index: 1;
}


.hero-header:hover::after {
  opacity: 1;
}

/* brilho suave (o que você já tinha) */
.hero-header::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(80px);
  border-radius: 50%;
  z-index: 1;
}

/* header interno */
.hero-top {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* antes: center */

  padding: 25px;
}


/* logo */
.hero-logo img {
  width: 180px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}

/* menu */
.hero-menu {
  display: flex;
  gap: 16px;
  margin-top: -8px;
  margin-right: 30px;
  padding-top: 30px;
}

/* todos os links com mesma largura */
.hero-menu a {
  min-width: 110px; /* largura baseada em "Serviços" */
  text-align: center;
}

.hero-menu a span {
  width: 100%;
  text-align: center;

  background: rgba(0, 0, 0, 1);
  color: #fff;
  padding: 10px 0; /* remove padding lateral */
  border-radius: 20px;

  font-size: 14px;
  font-weight: 500;

  display: inline-block;
  transition: all 0.3s ease;
}

.hero-menu a:hover span {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(-2px);
}

/* hover igual ao menu antigo */
.hero-menu a:hover span {
  background: #000;
  transform: translateY(-2px);
}


/* Hero-Bottom*/

.hero-bottom {
  position: absolute;
  inset: 0; /* ocupa toda a hero */

  display: flex;
  flex-direction: column;
  justify-content: center; /* centro vertical */
  align-items: center;     /* centro horizontal */

  text-align: center;
  gap: 8px;

  z-index: 2;
}


.hero-bottom a {
  display: inline-block;

  background: #c62828; /* vermelho forte */
  color: #fff;

  padding: 14px 28px;
  border-radius: 30px;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;

  transition: all 0.3s ease;
}

.hero-bottom a:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

/* ============================
   CTA HERO (MICRO TEXTO)
============================ */



.cta-micro {
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.cta-sub {
  font-size: 12px;
  color: #fff;
  opacity: 0.75;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-bottom {
    align-items: center;
    text-align: center;
  }

  .cta-micro {
    font-size: 13px;
  }

  .cta-sub {
    font-size: 11px;
  }
}


/* responsivo */

@media (max-width: 768px) {
  .hero-bottom {
    bottom: 40px;
  }

  .hero-bottom a {
    padding: 12px 22px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-bottom {
    right: 20px;
    bottom: 30px;
  }

  .hero-bottom a {
    font-size: 13px;
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  .hero-header { height: 450px; }
  .hero-logo img { width: 120px; }
}

@media (max-width: 480px) {
  .hero-header { height: 350px; }
  .hero-logo img { width: 90px; }
}

@media (max-width: 768px) {
  .hero-header::before {
    filter: blur(40px);
    opacity: 0.6;
  }
}
  
  /* ============================
     SERVIÇOS
  ============================ */
  .servicos {
    padding: 80px 0;
    background-color: #f5f5f5;
  }
  
  .titulo-servicos {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
  }
  
  .lista-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
}
  
  .servico {
  position: relative;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.servico img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* ajuda performance sem bugs */
  transform: translateZ(0);
}

.servico:hover img {
  transform: scale(1.08);
}

.servico .servico-nome{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  background: #000 !important;
  color: #fff !important;

  padding: 14px 22px !important;
  border-radius: 8px !important;

  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: center !important;

  max-width: 85% !important;

  text-shadow: 0 2px 6px rgba(0,0,0,1) !important;
}



.servico-nome small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 3px;
}
  
  .servico span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #666;
  }
  
  @media (max-width: 768px) {
  .servico {
    height: 180px;
  }

  .servico .servico-nome {
    font-size: 16px;
    padding: 10px 16px;
    max-width: 90%;
  }

  .servico .servico-nome small {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .servico {
    height: 150px;
  }

  .servico .servico-nome {
    font-size: 15px;
    padding: 8px 14px;
  }
}

  
  /* ============================
     HISTÓRIA
  ============================ */
  .historia {
    padding: 80px 0;
  }

  .historia h2 {
  text-align: center;
  margin-bottom: 60px;
}
  
  .historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .historia-imagem img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .historia-texto p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
  }
  
  @media (max-width: 768px) {
    .historia-grid { grid-template-columns: 1fr; }
    .historia-texto p { font-size: 16px; }
  }
  
  /* ============================
     GALERIA / CAROUSEL
  ============================ */
  .galeria {
    padding: 80px 0;
    background-color: #f5f5f5;
  }
  
  .titulo-galeria {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .carousel {
    position: relative;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
  }
  
  .carousel-track img {
    width: 460px;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }
  
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
  
  @media (max-width: 900px) {
    .carousel-track img { width: 280px; height: 190px; }
  }
  
  @media (max-width: 480px) {
    .carousel-track img { width: 200px; height: 140px; }    
  }
  
  /* ============================
     LIGHTBOX
  ============================ */
  .lightbox {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
  }
  
  .lightbox .close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
  }
  
  /* ============================
     CONTATO
  ============================ */
  .contato {
    padding: 80px 0;
    background-color: #fff;
  }
  
  .titulo-contato {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  
  .contato-item,
  .contato-form {
    display: flex;
    flex-direction: column;
    width: 100%;

    padding: 40px;
    border-radius: 12px;

    background-color: #fff;
    color: #333;
    text-decoration: none;

    /* sombra padrão (igual ao mapa) */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);

    /* animação suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .contato-item:hover,
  .contato-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }


  
  .contato-item:hover {
    border-color: rgb(226,110,43);
    color: rgb(226,110,43);
    transform: translateY(-4px);
  }
  
  .contato-info {
    align-items: flex-start;
    gap: 20px;
  }
  
  .contato-info strong {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .contato-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
  }
  
  .contato-info p img {
    width: 20px;
    height: 20px;
  }
  
  .contato-info a:hover { text-decoration: underline; }
  
  .endereco { color:#555; margin-top:10px; }
  
  .contato-form {
    gap: 12px;
  }
  
  .contato-form input, .contato-form textarea {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: none;
  }
  
  .contato-form textarea { min-height: 100px; }
  
  .contato-form button {
    margin-top: 10px;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: rgb(226,110,43);
    color: #fff;
  }
  
  .contato-form button:hover { opacity: 0.9; }
  
 /* Tablets */
@media (max-width: 1024px) {
  .contato-item,
  .contato-form {
    padding: 32px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .contato-item,
  .contato-form {
    padding: 24px;
    border-radius: 10px;
  }

  /* remove hover no toque */
  .contato-item:hover,
  .contato-form:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  }
}

/* Celulares pequenos */
@media (max-width: 480px) {
  .contato-item,
  .contato-form {
    padding: 20px;
  }
}
  
  /* ============================
     WHATSAPP FLUTUANTE
  ============================ */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px; height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  }
  
  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }
  
  /* ============================
     FOOTER
  ============================ */
  footer {
    background-color: rgb(226,110,43);
    padding: 15px 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
  }
  
  footer p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0;
  }
  
  .footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-weight: 500;
  }
  
  .footer-whatsapp img {
    width: 18px;
    height: 18px;
  }
  
  .footer-whatsapp:hover { opacity: 0.8; }

  /* ============================
   FOOTER RESPONSIVO
============================ */

footer {
  background: rgb(226,110,43);
  color: #fff;
  padding: 15px 0;
  text-align: center;
  font-size: 14px;
}

footer p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0;
  flex-wrap: wrap; /* 🔥 permite quebrar linha */
}

/* MOBILE */
@media (max-width: 480px) {
  footer {
    padding: 20px 10px;
  }

  footer p {
    flex-direction: column; /* 🔥 empilha tudo */
    gap: 6px;
    font-size: 13px;
    line-height: 1.4;
  }
}

  
  /* ============================
     TIPOGRAFIA RESPONSIVA
  ============================ */
  @media (max-width: 768px) {
    h2 { font-size: 28px; }
    .historia-texto p,
    .servico,
    .contato-item p { font-size: 16px; }
  }
  
  @media (max-width: 480px) {
    h2 { font-size: 24px; }
    .historia-texto p,
    .servico,
    .contato-item p { font-size: 14px; }
  }
  
  /* ============================
   AJUSTES RESPONSIVOS FINAIS
============================ */

/* HERO — tablets */
@media (max-width: 1024px) {
  .hero-header {
    height: 520px;
  }

  .hero-bottom {
    right: 20px;
    bottom: 40px;
  }
}

/* HERO — celulares */
@media (max-width: 768px) {
  .hero-header {
    height: auto;
    padding-bottom: 30px;
  }

  @media (max-width: 768px) {
  .hero-header::before {
    display: none;
  }
}

  .hero-menu a {
    min-width: 95px; /* evita quebra */
  }
}

/* HERO — celulares pequenos */
@media (max-width: 480px) {
  .hero-menu a {
    min-width: 85px;
  }

  .hero-menu a span {
    font-size: 13px;
    padding: 8px 0;
  }
}

/* ============================
   GALERIA MOBILE
============================ */
@media (max-width: 768px) {
  .carousel {
    overflow-x: auto;
  }

  .carousel-track {
    width: max-content;
    padding-bottom: 10px;
  }
}

/* ============================
   WHATSAPP MOBILE
============================ */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 90px; /* não briga com botão */
  }
}

@media (max-width: 768px) {
  * {
    transition: none !important;
  }

  .servico:hover img,
  .hero-menu a:hover span,
  .hero-bottom a:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  * {
    box-shadow: none !important;
  }
}