/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: url("fundo-eb.png") repeat;
  background-size: cover;
  color: #333;
}

/* ===== BARRA SUPERIOR ===== */
.barra-info {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 30px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  z-index: 10;
}

.barra-conteudo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-eb {
  height: 45px;
}

.texto-barra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nome-cursivo {
  font-family: "Great Vibes", cursive;
  font-size: 1.8rem;
  color: #004aad;
  line-height: 1.2;
}

.frase-eb {
  font-size: 0.9rem;
  color: #333;
  margin-top: -2px;
}

.barra-info nav a {
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
  color: #004aad;
  transition: 0.3s;
}

.barra-info nav a:hover {
  color: #007bff;
}

.barra-fixa {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  border-radius: 0;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  animation: slideDown 0.4s forwards;
}

@keyframes slideDown {
  from {
    transform: translate(-50%, -100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* ===== TÍTULOS CURSIVOS ===== */
.cursivo {
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: #004aad;
}

/* ===== CARROSSEL ===== */
.carrossel {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 150px auto 0;
  border-radius: 12px;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 80vh;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botões e bolinhas */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.prev {
  left: 15px;
}
.next {
  right: 15px;
}

.bolinhas {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.bolinhas div {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
  transition: 0.3s;
}

.bolinhas .ativa {
  opacity: 1;
  background: #004aad;
}

/* ===== SEÇÕES ===== */
.secao {
  max-width: 1000px;
  margin: 80px auto;
  text-align: center;
  padding: 20px;
}

.sobre-servicos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 80px auto;
}

.secao-card {
  background: rgba(255, 255, 255, 0.9);
  flex: 1;
  min-width: 300px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.secao-card:hover {
  transform: translateY(-5px);
}

/* ===== PORTFÓLIO ===== */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  justify-items: center;
}

.galeria img {
  width: 90%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.galeria img:hover {
  transform: scale(1.05);
}

/* ===== CONTATO ===== */
.contatos {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.botao {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0, 74, 173, 0.8);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.botao i {
  font-size: 1.3rem;
}

.botao:hover {
  background: rgba(0, 74, 173, 1);
}

/* ===== FORMULÁRIO ===== */
.formulario {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario label {
  text-align: left;
  font-weight: 600;
  margin-bottom: 3px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 8px;
  font-size: 1rem;
}

.formulario textarea {
  min-height: 120px;
  resize: none;
}

.enviar {
  background: #004aad;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.enviar:hover {
  background: #0066ff;
}

/* ===== ANIMAÇÕES AO ROLAR ===== */
.animar {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.animar.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* ===== POPUP PORTFÓLIO ===== */
.popup-img {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  flex-direction: column;
}

.popup-img img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.popup-img span {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* ===== BOTÃO WHATSAPP ===== */
.botao-wpp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 2rem;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  transition: transform 0.3s;
}

.botao-wpp:hover {
  transform: scale(1.1);
}
