/* Estilos principais para o site da Zelo Imper Construções */

/* Variáveis de cores baseadas na paleta definida */
:root {
  --azul-royal: #1E4FBC;
  --azul-celeste: #4A90E2;
  --azul-profundo: #0A2463;
  --azul-turquesa: #00B8D4;
  --cinza-claro: #F5F7FA;
  --cinza-medio: #8492A6;
  --branco: #FFFFFF;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: var(--cinza-claro);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  color: var(--azul-profundo);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--azul-royal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--azul-turquesa);
}

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

/* Header e navegação */
header {
  background-color: var(--branco);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
}

.logo-text {
  margin-left: 10px;
}

.logo-text h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--azul-profundo);
}

.logo-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--azul-royal);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--azul-royal);
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--azul-turquesa);
  transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--azul-royal);
  cursor: pointer;
}

/* Banner principal */
.hero {
  background-color: var(--azul-royal);
  background-image: linear-gradient(135deg, var(--azul-royal) 0%, var(--azul-profundo) 100%);
  color: var(--branco);
  padding: 150px 0 100px;
  text-align: left;
}

.hero-content {
  max-width: 600px;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--branco);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--azul-turquesa);
  color: var(--branco);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--branco);
  color: var(--azul-turquesa);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Seções */
section {
  padding: 80px 0;
}

section.bg-light {
  background-color: var(--branco);
}

section.bg-dark {
  background-color: var(--azul-profundo);
  color: var(--branco);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--azul-turquesa);
}

.section-title p {
  max-width: 700px;
  margin: 20px auto 0;
}

/* Cards de serviços */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background-color: var(--branco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: calc(33.333% - 20px);
  min-width: 300px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--azul-celeste);
  color: var(--branco);
  font-size: 2.5rem;
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.service-content h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--azul-turquesa);
}

/* Projetos */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.project-card {
  width: calc(50% - 10px);
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 36, 99, 0.9), transparent);
  padding: 20px;
  color: var(--branco);
  transform: translateY(100px);
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  color: var(--branco);
  margin-bottom: 10px;
}

/* Processo de trabalho */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  counter-reset: step-counter;
}

.process-step {
  width: calc(25% - 20px);
  min-width: 250px;
  margin-bottom: 30px;
  position: relative;
  padding-left: 70px;
}

.process-step:before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: var(--azul-royal);
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.process-step h3 {
  margin-bottom: 10px;
}

/* Contato */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info-item {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--azul-royal);
  margin-right: 15px;
  min-width: 30px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--azul-profundo);
  color: var(--branco);
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  color: var(--branco);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--azul-turquesa);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--cinza-claro);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--azul-turquesa);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--branco);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--azul-turquesa);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
  .service-card,
  .project-card {
    width: calc(50% - 15px);
  }
  
  .process-step {
    width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 20px;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero {
    padding: 120px 0 80px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .service-card,
  .project-card,
  .process-step {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    display: none;
  }
  
  nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--branco);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav.active ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  nav.active ul li {
    margin: 10px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}

/* Estilos adicionais para o novo layout do rodapé */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: var(--branco);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--azul-turquesa);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--azul-turquesa);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--azul-turquesa);
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    color: var(--branco);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--azul-turquesa);
    transform: translateY(-3px);
}

/* Estilos para o formulário atualizado */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--azul-profundo);
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--azul-royal);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 79, 188, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
