/*----------------------------------------
 . Custom CSS - NPI - Layout Moderno 2025
----------------------------------------*/

:root {
  --npi-red: #e63946; /* Vermelho mais vibrante */
  --npi-text-color: #2b2d42; /* Tom mais escuro e sofisticado */
  --npi-light-grey: #f5f5f5; /* Tom cinza claro para seções alternadas */
  --npi-white: #ffffff;
  --npi-accent: #457b9d; /* Cor de destaque adicional */
  --npi-hover: #d62839; /* Tom mais escuro para hover */
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* ==== RESET E ESTILOS GERAIS ==== */
body {
  padding-top: 70px; /* Espaço para o navbar fixo */
  background-color: var(--npi-white);
  color: var(--npi-text-color);
  line-height: 1.6;
}

/* ==== FONTES & TIPOGRAFIA ==== */
body, p, li, .form-control, textarea, input, span {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
.section-headline h2,
.service-item h4,
.navbar-default .navbar-nav > li > a,
button, .btn, button[type="submit"] {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em; /* Espaçamento negativo para dar modernidade */
}

/* Tamanhos de fonte modernos */
h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.p {
  font-size: 16px;
  line-height: 1.8;
}

/* ==== ESPAÇAMENTO DE SEÇÕES ==== */
.area-padding {
  padding: 80px 0; /* Mais espaço para respirar */
}

.section-headline {
  margin-bottom: 50px;
}

.section-headline::after {
  background: var(--npi-red);
  height: 3px;
  width: 80px;
  margin: 15px auto 0;
  display: block;
  content: '';
}

/* ==== NAVBAR ESTILIZADO ==== */
.header-area {
  background-color: var(--npi-white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

/* ==== CARDS DE SERVIÇOS ==== */
.service-item {
  background-color: var(--npi-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.service-item h4 {
  color: var(--npi-text-color);
  margin-top: 20px;
  padding: 0 20px;
}

.service-item p {
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* ==== SEÇÕES ALTERNADAS ==== */
.grey {
  background-color: var(--npi-light-grey);
}

/* ==== FORMULÁRIO DE CONTATO ==== */
.form.contact-form {
  background: var(--npi-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.form-control {
  height: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 10px 15px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--npi-red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

textarea.form-control {
  height: auto;
}

.contact-form button[type="submit"] {
  background: var(--npi-red);
  border: none;
  color: var(--npi-white);
  padding: 12px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.contact-form button[type="submit"]:hover {
  background: var(--npi-hover);
  transform: translateY(-2px);
}

/* ==== INFORMAÇÕES DE CONTATO ==== */
.contact-left {
  padding: 20px;
  height: 100%;
}

.contact-icon {
  margin-bottom: 30px;
}

.contact-icon h4 {
  position: relative;
  padding-left: 0;
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-icon p a {
  color: var(--npi-text-color);
  transition: var(--transition);
}

.contact-icon p a:hover {
  color: var(--npi-red);
  text-decoration: none;
}

/* ==== BOTÃO WHATSAPP ==== */
.whatsapp-link {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  color: #fff;
  background-color: #25d366;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.whatsapp-link:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ==== AJUSTES PARA IMAGEM DE CAPA ==== */
#inicio, #inicio-mobile {
  max-height: 600px; /* Altura da capa aumentada */
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #fff;
  margin-top: -20px; /* Diminui o espaço entre navbar e capa */
}

#inicio img, #inicio-mobile img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  transition: transform 10s ease; /* Efeito de zoom lento */
}

/* Efeito de zoom lento na imagem de capa */
#inicio:hover img, #inicio-mobile:hover img {
  transform: scale(1.1);
}

/* ==== MEDIA QUERIES ==== */
@media (max-width: 767px) {
  body {
    padding-top: 55px;
  }
  
  .area-padding {
    padding: 50px 0;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .service-item {
    margin-bottom: 30px;
  }
  
  /* Ajustes para o menu mobile já incluídos no arquivo original */
}