:root {
  --azul: #2D8CDB;
  --preto: #1a1a1a;
  --cinza-escuro: #6a6a6a;
  --cinza-claro: #f5f5f5;
  --azul-claro: #5BAADE;
  --verde: #299846;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #111827;
  color: var(--preto);
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: black; 
}

::-webkit-scrollbar-thumb {
  background: #5BAADE;
  border-radius: 10px;
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 999;
}

nav.scrolled {
  background-color: #5BAADE;
}

a{
   text-decoration: none;
    outline: none;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: none;
  color: var(--cinza-claro);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--cinza-claro);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--azul);
}

.btn-contrate {
  background-color: var(--azul);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-contrate:hover {
  background-color: var(--azul-claro);
}

/* ===== MENU HAMBURGUER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 2px;
}

.nav-links.active {
  position: absolute;
  top: 70px;
  right: 0;
  width: 60%;
  border-bottom-left-radius: 10px; 
  background-color: black;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  display: flex;
}

.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 999;
}

.overlay-menu.active {
  transform: translateY(0);
}

.overlay-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.overlay-menu ul li {
  margin: 1.5rem 0;
}

.overlay-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 2rem;
  transition: color 0.3s;
}

.overlay-menu ul li a:hover {
  color: #ff4d4d; 
}

.hamburger {
  top: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: 0.4s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(48deg);
  position: absolute;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-48deg);
  position: absolute;
}

@media (min-width: 850px) {
  .hamburger,
  .overlay-menu {
    display: none !important;
  }
}

/* ===== HEADER ===== */
header {
  background: #111827;
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

header img {
  width: 180px;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--azul);
  padding: 1rem 2.2rem;
  border-radius: 8px;
  margin-top: 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--azul);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== CONTAINER GERAL ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--preto);
  text-align: center;
}

/* ===== SOBRE ===== */
.sobre-anov {
  padding: 50px 20px;
  background:  #f0f4f8;
  color: var(--preto);
}

.sobre-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 100px;
}

.sobre-imagem.desktop {
  display: flex;
  justify-content: center;
}

.sobre-imagem.desktop img {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sobre-texto {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sobre-titulo {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--azul);
  margin-bottom: 24px;
}

.sobre-desc {
  font-size: 1.21rem;
  line-height: 1.7;
  color: var(--cinza-escuro);
  margin-bottom: 16px;
  margin-left: 5px;
}

.sobre-desc strong {
  color: var(--preto);
}

.botao-whats-sobre {
  display: inline-flex;
  align-self: center;
  justify-content: center;
  background-color: var(--azul);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.botao-whats-sobre:hover {
  background-color: var(--azul-claro);
  transform: translateY(-2px);
}

.sobre-imagem.mobile {
  display: none;
}

.sobre-imagem.mobile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

@media (max-width: 1070px) {
  .sobre-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .sobre-imagem.desktop {
    display: none;
  }

  .sobre-imagem.mobile {
    display: flex;
    justify-content: center;
  }

  .sobre-imagem.mobile img {
    width: 90%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
  }

  .botao-whats-sobre {
    align-self: center;
    margin-top: 25px;
  }

  .sobre-titulo {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .sobre-anov {
    padding: 50px 15px;
  }

  .sobre-titulo {
    font-size: 2rem;
  }

  .sobre-desc {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .botao-whats-sobre {
    width: 100%;
    padding: 14px 0;
  }

  .sobre-imagem.mobile img {
    max-width: 260px;
  }
}

/* =====SERVIÇOS===== */

.servicos-section{
  margin-top: 80px;
}

.titulo-servicos {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.titulo-servicos span {
  color: var(--azul); 
}

.subtitulo-servicos {
  text-align: center;
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 20px;
}

.servico-card {
  background-color: rgb(30, 41, 59);;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid #3B82F6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.servico-card img {
  width: 50px;
  margin-bottom: 1.2rem;
}

.servico-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.servico-card p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
}

.servico-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  color: #fff; 
}

@media (max-width: 1024px) {
    .titulo-servicos {
        font-size: 2rem;
    }

    .subtitulo-servicos {
        font-size: 1.1rem;
    }
}

/* ===== DIFERENCIAIS ===== */

.diferenciais {
  background-color: rgb(240, 244, 248);
  padding: 4rem 1rem;
  color: #fff;
  text-align: center;
  margin-top: 80px;
}

.diferenciais h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--azul);
}

.diferenciais h2 span {
  color: #3B82F6;
}

.diferenciais .subtitulo {
  font-size: 1.1rem;
  color: var(--cinza-escuro);
  margin-bottom: 2.5rem;
}

.diferenciais-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.diferenciais-grid > * {
  flex: 1 1 370px; 
  max-width: 580px;
}

.diferencial-card {
  display: flex;
  background-color: #f0f4f8;
  color: #4b5563;
  border-radius: 14px;
  padding: 1.5rem;
  gap: 1rem;
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  align-items: flex-start;
  transition: transform 0.3s;
}

.diferencial-card:hover {
  transform: translateY(-6px);
}

.diferencial-card img {
  width: 50px;
  flex-shrink: 0;
}

.diferencial-card h3 {
  margin-bottom: 0.5rem;
  color: #111827;
  font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .diferenciais h2 {
        font-size: 2rem;
    }

    .diferenciais .subtitulo{
        font-size: 1.1rem;
    }
}

/* ===== CONTATO ===== */
.contato-section {
  padding: 1rem 1rem;
  background-color: #111827;
}

.contato-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
}

.contato-content h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: white;
}

.contato-content p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.5rem;
}

.btn-contato {
  background-color: var(--verde);
  color: white;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.btn-contato:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
  .contato-content {
    padding: 1.5rem;
  }

  .contato-content h2 {
    font-size: 2rem;
  }

  .btn-contato {
    padding: 0.75rem 1rem;
    white-space: normal;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--verde);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(41, 152, 70, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(41, 152, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(41, 152, 70, 0);
  }
}

/* ===== FOOTER ===== */
footer {
  background: black;
  color: white;
  padding: 3rem 1rem 1rem 1rem;
  width: 100%;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  gap: 3rem;
  align-items: center;
}

.footer-col p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.footer-rdSociais h4{
  text-align: center;
}

.social-icons {
  justify-content: center;
}

.logo-footer {
  width: 200px;
}

footer h4 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--azul-claro);
}

footer p,
footer a {
  font-size: 0.95rem;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 0.4rem;
  display: block;
}

footer .social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

footer .social-icons a {
  font-size: 2rem;
  color: #ddd;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: var(--azul-claro);
  transform: scale(1.1);
}

footer .copy {
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
  margin-top: 2rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 850px) {
  .btn-contrate {
    display: none;
  }

  .nav-links{
    display: none;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
    max-width: 100%;
  }

  .footer-col p {
    justify-content: center;
  }

  footer .social-icons {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
    max-width: 100%;
  }

  .footer-col p {
    justify-content: center;
  }

  footer .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1.18rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}