/* Modificações personalizadas para o site MOVIMENTA 360 */

/* Top Menu Styles */
.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.top-menu-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.top-menu-items {
  display: flex;
  align-items: center;
  gap: 30px;
}

.top-menu-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.top-menu-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.top-menu-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-menu-login:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login-icon {
  width: 18px;
  height: 18px;
}

/* Responsive Design for Top Menu */
@media (max-width: 768px) {
  .top-menu-container {
    padding: 10px 15px;
  }
  
  .top-menu-logo .logo-text {
    font-size: 16px;
  }
  
  .top-menu-items {
    gap: 15px;
  }
  
  .top-menu-link {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .top-menu-login {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .top-menu-items {
    gap: 10px;
  }
  
  .top-menu-link {
    font-size: 13px;
    padding: 5px 8px;
  }
  
  .top-menu-login {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .login-icon {
    width: 16px;
    height: 16px;
  }
}

/* Adjust body padding to account for fixed menu */
body {
  padding-top: 70px;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  background: #128C7E;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: white;
}

/* WhatsApp Button Animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-float {
  animation: whatsapp-pulse 2s infinite;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
  }
  
  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

/* Adicionar botão de login no topo (Legacy - keeping for compatibility) */
.login-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #5b5bd6, #7c3aed);
}

.login-button:active {
  transform: translateY(0);
}

/* Ícone de usuário para o botão de login */
.login-button::before {
  content: "👤";
  font-size: 16px;
}

/* Corrigir visibilidade do botão "Ver Demonstração" */
/* Procurar por botões com texto pouco visível e melhorar contraste */
button[class*="demo"], 
a[class*="demo"],
.demo-button,
[class*="demonstration"],
[class*="demonstracao"],
/* Seletores mais amplos para capturar diferentes variações */
button:contains("demonstração"),
button:contains("Demonstração"),
button:contains("demo"),
button:contains("Demo"),
a:contains("demonstração"),
a:contains("Demonstração"),
a:contains("demo"),
a:contains("Demo"),
/* Seletores por atributos comuns */
button[aria-label*="demo"],
button[aria-label*="demonstr"],
a[aria-label*="demo"],
a[aria-label*="demonstr"],
/* Seletores por classes que podem conter essas palavras */
[class*="cta"] button,
[class*="hero"] button,
[class*="primary"] button {
  color: #ffffff !important;
  background: linear-gradient(135deg, #60a5fa, #3b82f6) !important;
  border: 2px solid #60a5fa !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  min-height: 44px !important;
  padding: 12px 24px !important;
}

button[class*="demo"]:hover, 
a[class*="demo"]:hover,
.demo-button:hover,
[class*="demonstration"]:hover,
[class*="demonstracao"]:hover,
button:contains("demonstração"):hover,
button:contains("Demonstração"):hover,
button:contains("demo"):hover,
button:contains("Demo"):hover,
a:contains("demonstração"):hover,
a:contains("Demonstração"):hover,
a:contains("demo"):hover,
a:contains("Demo"):hover,
button[aria-label*="demo"]:hover,
button[aria-label*="demonstr"]:hover,
a[aria-label*="demo"]:hover,
a[aria-label*="demonstr"]:hover,
[class*="cta"] button:hover,
[class*="hero"] button:hover,
[class*="primary"] button:hover {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
  border-color: #3b82f6 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

/* Melhorar contraste geral de botões */
button, .btn, [role="button"] {
  font-weight: 500;
}

/* Garantir que botões primários tenham boa visibilidade */
button[class*="primary"], 
.btn-primary,
button[class*="cta"],
.cta-button {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Ocultar opções "Blog" e "Carreiras" do rodapé */
footer a[href*="blog"],
footer a[href*="carreira"],
footer a[href*="career"],
footer li:has(a[href*="blog"]),
footer li:has(a[href*="carreira"]),
footer li:has(a[href*="career"]),
/* Seletores mais específicos para diferentes estruturas */
footer nav a[href*="blog"],
footer nav a[href*="carreira"],
footer nav a[href*="career"],
footer ul a[href*="blog"],
footer ul a[href*="carreira"],
footer ul a[href*="career"],
/* Seletores por texto */
footer a:is([href*="blog"], [href*="carreira"], [href*="career"]),
footer li:has(a:is([href*="blog"], [href*="carreira"], [href*="career"])) {
  display: none !important;
}

/* Seletores alternativos caso os links não tenham href específico */
footer a:contains("Blog"),
footer a:contains("Carreira"),
footer a:contains("Carreiras"),
footer a:contains("Career"),
footer li:has(a:contains("Blog")),
footer li:has(a:contains("Carreira")),
footer li:has(a:contains("Carreiras")),
footer li:has(a:contains("Career")) {
  display: none !important;
}

/* Seletores por texto usando pseudo-elementos (fallback) */
footer a[href]:not([href*="#"]):not([href*="javascript:"]) {
  /* Verificar se o texto contém as palavras e ocultar */
}

/* Ocultar elementos que contenham especificamente essas palavras */
footer *:has-text("Blog"),
footer *:has-text("Carreira"),
footer *:has-text("Carreiras") {
  display: none !important;
}

/* Responsividade para o botão de login */
@media (max-width: 768px) {
  .login-button {
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .login-button {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .login-button::before {
    font-size: 14px;
  }
}

/* Melhorias de acessibilidade */
.login-button:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Animação suave para o botão de login */
@keyframes loginButtonPulse {
  0% { box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); }
  100% { box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
}

.login-button:hover {
  animation: loginButtonPulse 2s infinite;
}