/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  width: 90%;
  margin: auto;
}

/* HEADER FIXO E RESPONSIVO */
header {
  position: fixed;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 0;
  z-index: 100;
  backdrop-filter: blur(5px);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* LOGO */
.logo img {
  max-height: 100px;
  width: auto;
  display: block;
}

/* NAVEGAÇÃO */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  white-space: nowrap;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff9800;
}

/* BOTÃO WHATSAPP NO HEADER */
.botao-whatsapp-menu {
  background: #1a314b;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.botao-whatsapp-menu i {
  margin-right: 8px;
  font-size: 17px;
}

.botao-whatsapp-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("img/familia.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-text {
  max-width: 700px;
}

.hero-text h1 {
  font-size: 4.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #ddd;
  line-height: 1.6;
}

.hero-text span {
  color: #507cae;
}

/* SOBRE */
.sobre {
  padding: 70px 0;
}

.sobre-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.sobre-imagem img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  object-fit: cover;
}

.sobre-texto {
  flex: 1;
  font-size: 1.1rem;
}

.sobre p {
  margin-top: 20px;
  line-height: 1.6;
}

.sobre-titulo {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a314b;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.sobre-titulo::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #fae9bd;
  margin-top: 10px;
  border-radius: 2px;
}

.nowrap {
  white-space: nowrap;
}

/* PROJETOS */
.projetos {
  background: white;
  padding: 70px 0;
  text-align: center;
}

.projetos h2 {
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card h3 {
  margin: 10px;
}

/* CONTATO */
.contato {
  padding: 70px 0;
  text-align: center;
}

.botao-whatsapp {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* RODAPÉ */
footer {
  background: #1f2f46;
  color: white;
  padding: 60px 40px;
}

.titulo-contato {
  font-size: 22px;
  font-weight: bold;
  margin: 25px 0 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.logo-rodape {
  width: 120px;
}

.footer-info p {
  margin: 6px 0;
  font-size: 1rem;
}

.footer-info strong {
  font-size: 1.375rem;
}

.footer-info a {
  color: inherit;
  text-decoration: none;
}

.footer-social a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.footer-social a:hover {
  color: #E1306C;
}

.footer-social i {
  font-size: 50px;
  color: #E4405F;
}

footer i {
  margin-right: 6px;
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* MEDIA QUERIES PARA RESPONSIVIDADE */

/* Tablets e telas médias */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .botao-whatsapp-menu {
    margin: 10px 0 0 0;
    width: 100%;
    text-align: center;
  }

  .sobre-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sobre-texto {
    font-size: 1rem;
  }

  .sobre-imagem img {
    max-width: 100%;
  }
}

/* Pequenos dispositivos (smartphones) */
@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .card img {
    height: 200px;
  }

  .footer-social i {
    font-size: 35px;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 25px;
    bottom: 15px;
    right: 15px;
  }
}