/* ---------- RESET E ESTILOS GERAIS ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f9ff;
  color: #272947;
  font-size: 18px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- NAVBAR ---------- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #272947cc;
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 1.05rem;
  z-index: 1000;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

nav .logo {
  color: #A7C5FF;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #A7C5FF;
  padding: 6px 10px;
  border-radius: 8px;
  transition: .3s;
}

nav ul li a.active,
nav ul li a:hover {
  color: #272947;
  background: #A7C5FF;
  box-shadow: 0 4px 8px rgba(167,197,255,.6);
}

/* Menu Hamburguer */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

#hamburger span {
  width: 25px;
  height: 3px;
  background: #A7C5FF;
  border-radius: 3px;
  transition: .3s;
}

/* ---------- SEÇÃO INÍCIO/HERO ---------- */
#inicio {
  text-align: center;
  padding: 90px 20px 70px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 70vh;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  background: #e7ecff;
}

#inicio.visible {
  opacity: 1;
  transform: translateY(0);
}

#inicio h1 {
  font-size: 2.5rem;
  margin-top: 80px;
  text-align: center;
  color: #272947;
  font-weight: 700;
  margin-bottom: 20px;
}

.logo-container {
  margin: 32px auto 40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A7C5FF, #272947);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 14px rgba(39,41,71,.6);
  transition: transform 0.4s, box-shadow 0.4s;
  padding: 15px;
}

.logo-img {
  max-width: 100%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-container:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(167,197,255,.9);
}

#inicio p {
  font-size: 1.25rem;
  color: #444a7a;
  max-width: 680px;
  margin: 0 auto 30px;
}

#inicio .btn {
  background: #A7C5FF;
  color: #272947;
  padding: 14px 34px;
  border-radius: 40px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(167,197,255,.6);
  transition: .3s;
  display: inline-block;
}

#inicio .btn:hover {
  background: #7f9ce8;
  box-shadow: 0 7px 18px rgba(127,156,232,.9);
}

#inicio .social-icons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 1.9rem;
  color: #272947b0;
}

#inicio .social-icons a:hover {
  color: #A7C5FF;
  filter: drop-shadow(0 0 4px #A7C5FF);
}

/* ---------- SEÇÃO SOBRE ---------- */
#sobre {
  padding: 90px 20px 70px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 70vh;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  background: #ffffff;
  display: flex;
  gap: 30px;
  align-items: center;
}

#sobre.visible {
  opacity: 1;
  transform: translateY(0);
}

#sobre .texto {
  flex: 1;
  font-size: 1.15rem;
  color: #444a7a;
}

#sobre img {
  flex: 1;
  max-height: 320px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(39,41,71,.2);
  object-fit: cover;
}

/* ---------- SEÇÃO SERVIÇOS ---------- */
#servicos {
  padding: 90px 20px 70px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 70vh;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  background: #e7ecff;
}

#servicos.visible {
  opacity: 1;
  transform: translateY(0);
}

#servicos h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #272947;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(167,197,255,.3);
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(39,41,71,.18);
}

.card i {
  font-size: 2.8rem;
  color: #A7C5FF;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.25rem;
  color: #272947;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #555;
}

/* ---------- SEÇÃO CLIENTES ---------- */
#clientes {
  padding: 90px 20px 70px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: auto;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  background: #e7ecff;
  text-align: center;
}

#clientes.visible {
  opacity: 1;
  transform: translateY(0);
}

#clientes h2 {
  margin-bottom: 40px;
  color: #272947;
  font-weight: 700;
}

.logos-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 20px 0;
}

.logos-container img {
  width: 110px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.4s ease;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(39,41,71,.1);
  padding: 10px;
  background: white;
}

.logos-container img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(167,197,255,.7);
}

/* ---------- SEÇÃO DEPOIMENTOS ---------- */
#depoimentos {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.depoimentos-header {
  text-align: center;
  margin-bottom: 2rem;
}

.depoimentos-header h2 {
  color: #272947;
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}

.depoimentos-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: #A7C5FF;
}

.depoimentos-slider {
  position: relative;
  height: 28rem;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

.slider-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.depoimento-slide {
  height: 33.33%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 0;
}

.depoimento {
  background: #27294711;
  border-left: 4px solid #A7C5FF;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(167,197,255,.3);
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  transition: all 0.6s ease;
  opacity: 0.6;
  transform: scale(0.9);
  filter: blur(1px);
}

.depoimento-slide.active .depoimento {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  box-shadow: 0 8px 20px rgba(167,197,255,.5);
}

.slider-controls {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.slider-prev, .slider-next {
  background: #A7C5FF;
  color: #272947;
  border: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(39,41,71,.2);
}

.slider-prev:hover, .slider-next:hover {
  background: #7f9ce8;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(39,41,71,.3);
}

/* Responsividade para tablets */
@media (max-width: 768px) {
  #depoimentos {
    padding: 3rem 1rem;
  }
  
  .depoimentos-slider {
    height: 24rem;
  }
  
  .depoimento {
    padding: 1.2rem;
    width: 95%;
  }
  
  .slider-controls {
    right: 0.5rem;
  }
  
  .slider-prev, .slider-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

/* Responsividade para celulares */
@media (max-width: 480px) {
  #depoimentos {
    padding: 2rem 0.5rem;
  }
  
  .depoimentos-header h2 {
    font-size: 1.5rem;
  }
  
  .depoimentos-slider {
    height: 20rem;
  }
  
  .depoimento {
    padding: 1rem;
    border-left-width: 3px;
  }
  
  .slider-controls {
    gap: 0.5rem;
    right: 0.25rem;
  }
  
  .slider-prev, .slider-next {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.9rem;
  }
}
/* ---------- SEÇÃO CONTATO ---------- */
#contato {
  padding: 90px 20px 70px;
  max-width: 500px;
  margin: auto;
  min-height: 70vh;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  background: #e7ecff;
  text-align: center;
}

#contato.visible {
  opacity: 1;
  transform: translateY(0);
}

#contato h2 {
  margin-bottom: 40px;
  font-size: 2rem;
  color: #272947;
  font-weight: 700;
}

#form-contato {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#form-contato input,
#form-contato textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #A7C5FF;
  width: 100%;
}

#form-contato input:focus,
#form-contato textarea:focus {
  outline: none;
  border-color: #272947;
}

#form-contato button {
  background: #272947;
  color: #A7C5FF;
  padding: 14px;
  border: none;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

#form-contato button:hover {
  background: #0f1323;
}

/* ---------- FOOTER ---------- */
footer {
  background: #272947;
  color: #A7C5FF;
  padding: 22px 40px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-text {
  flex: 1;
  min-width: 200px;
  transition: color 0.3s ease;
  color: #A7C5FF;
  cursor: pointer; /* Adicione esta linha */
}

.footer-text:hover {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.footer-icons {
  display: flex;
  gap: 22px;
  font-size: 1.6rem;
  transform: translateX(-65px); /* Move exatamente 15px para esquerda */
}

.footer-icons a {
  color: #A7C5FF;
  transition: .3s;
}

.footer-icons a:hover {
  color: #fff;
  filter: drop-shadow(0 0 6px #A7C5FF);
}

/* ---------- BOTÃO WHATSAPP ---------- */
#whatsapp-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 16px rgba(37,211,102,.6);
  z-index: 1100;
  transition: .3s;
}

#whatsapp-btn:hover {
  background: #1ebe57;
  transform: scale(1.1);
}

/* ---------- RESPONSIVIDADE ---------- */
@media (max-width: 850px) {
  #sobre {
    flex-direction: column;
    text-align: center;
  }
  
  #sobre img {
    max-width: 90%;
    margin-top: 20px;
  }
  
  nav ul {
    position: fixed;
    top: 60px;
    right: 0;
    background: #272947f2;
    height: calc(100vh - 60px);
    flex-direction: column;
    width: 220px;
    transform: translateX(100%);
    transition: .3s;
    padding-top: 30px;
    border-radius: 0 0 0 10px;
    backdrop-filter: blur(10px);
  }
  
  nav ul.active {
    transform: translateX(0);
  }
  
  nav ul li {
    margin-bottom: 25px;
    text-align: center;
  }
  
  #hamburger {
    display: flex;
  }
  
  #hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  #hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .footer-icons {
    margin-left: 0;
    margin-top: 15px;
    justify-content: center;
    width: 100%;
  }
  
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 600px) {
  #inicio h1 {
    font-size: 2rem;
    margin-top: 60px;
  }
  
  #inicio p {
    font-size: 1.1rem;
  }
  
  .logo-container {
    width: 120px;
    height: 120px;
  }
  
  #sobre {
    padding: 70px 20px 50px;
  }
  
  #servicos, #depoimentos, #contato {
    padding: 70px 20px 50px;
  }
  
  .logos-container img {
    width: 90px;
    padding: 8px;
  }
  
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  
  nav {
    padding: 10px 15px;
  }
  
  nav .logo {
    font-size: 1.2rem;
  }
  
  #inicio .btn {
    padding: 12px 26px;
    font-size: 1rem;
  }
  
  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 22px 20px;
  }
  
  .footer-text {
    min-width: 100%;
  }
  
  .card {
    padding: 1.2rem;
  }
  
  #form-contato input,
  #form-contato textarea {
    padding: 10px 12px;
  }
  
  #form-contato button {
    padding: 12px;
  }
}