/* ===== Estilos customizados para Envio Ecom ===== */

/* Inputs */
.input {
  @apply w-full px-3 py-2 rounded-lg border border-slate-300 focus:border-primary focus:ring-2 focus:ring-primary/30 outline-none transition duration-300 bg-white text-dark placeholder:text-slate-400;
}

/* Botões reutilizáveis */
.btn-primary {
  @apply bg-gradient-to-r from-primary to-secondary text-white font-bold px-6 py-2 rounded-lg shadow hover:from-secondary hover:to-primary hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary transition duration-300;
}
.btn-secondary {
  @apply bg-white text-primary border border-primary font-bold px-6 py-2 rounded-lg shadow hover:bg-primary hover:text-white hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary transition duration-300;
}

/* Animação pulse leve para WhatsApp */
.animate-pulse {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(34,197,94,0.1); }
}

/* Scrollbar custom para slider */
#slider::-webkit-scrollbar {
  height: 8px;
}
#slider::-webkit-scrollbar-thumb {
  background: #005fa3;
  border-radius: 4px;
}

/* Dark mode (opcional) */
@media (prefers-color-scheme: dark) {
  body {
    background: #1a1a1a;
    color: #f5f8fc;
  }
  .bg-white { background: #ffffff !important; }
  .bg-bg { background: #181c22 !important; }
  .text-dark { color: #f5f8fc !important; }
  .border-slate-300 { border-color: #333 !important; }
  .input { background: #23272f !important; color: #f5f8fc !important; }
  .modal-bg { background: #fff !important; }
} 

/* Navbar UX aprimorado */
header {
  box-shadow: 0 2px 12px 0 rgba(0,95,163,0.04);
}
nav ul li a {
  position: relative;
  padding-bottom: 2px;
  transition: font-weight 0.2s, transform 0.2s;
  color: #fff;
  letter-spacing: 0.01em;
  margin: 0 0.5rem;
  font-size: 1rem;
}
nav ul li a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
nav ul li a:hover, nav ul li a:focus {
  color: #fff !important;
  font-weight: 700;
  transform: scale(1.06);
  filter: brightness(1.25);
}
nav ul li a:hover::after, nav ul li a:focus::after {
  transform: scaleX(1);
}
nav ul li a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Botões navbar com leve elevação e foco visível */
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 8px 0 rgba(0,95,163,0.08);
}
.btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #ff6600;
  outline-offset: 2px;
}

/* Menu mobile animação slide-in */
#mobile-menu {
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
}
#mobile-menu a {
  font-size: 1.2rem;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
#mobile-menu a:focus {
  outline: 2px solid #005fa3;
  outline-offset: 2px;
}
#mobile-menu button:focus {
  outline: 2px solid #ff6600;
  outline-offset: 2px;
} 

/* Hero aprimorado */
#hero h1 {
  text-shadow: 0 2px 12px rgba(0,95,163,0.08);
}
#hero .btn-primary, #hero .btn-secondary {
  transition: transform 0.15s, box-shadow 0.3s;
}
#hero .btn-primary:focus, #hero .btn-secondary:focus {
  transform: scale(1.05);
  box-shadow: 0 4px 16px 0 rgba(255,102,0,0.10);
}
@media (max-width: 767px) {
  #hero h1 { font-size: 2.1rem; }
  #hero p { font-size: 1rem; }
}
@media (min-width: 1280px) {
  #hero h1 { font-size: 3.2rem; }
  #hero p { font-size: 1.25rem; }
} 

/* Calculadora aprimorada */
#calculadora form {
  background: #f5f8fc;
  border-radius: 1.25rem;
  box-shadow: 0 2px 16px 0 rgba(0,95,163,0.06);
}
#calculadora .input {
  min-height: 2.75rem;
  font-size: 1.1rem;
}
#calculadora label {
  font-size: 1rem;
  color: #005fa3;
  font-weight: 600;
}
#calculadora .text-red-600 {
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 2px;
}
#calculadora button.btn-primary {
  font-size: 1.1rem;
  transition: transform 0.15s, box-shadow 0.3s;
}
#calculadora button.btn-primary:focus {
  transform: scale(1.05);
  box-shadow: 0 4px 16px 0 rgba(255,102,0,0.10);
}
@media (max-width: 767px) {
  #calculadora form { padding: 1rem; }
  #calculadora .input { font-size: 1rem; }
} 

/* Benefícios cards UX */
.beneficio-card {
  background: #1760b0;
  border: 1.5px solid #fff;
  border-radius: 2rem;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(23,96,176,0.10);
  transition: none;
}
.beneficio-card span {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.beneficio-card:hover span, .beneficio-card:focus-within span {
  background: #ff6600;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(255,102,0,0.10);
}
@media (max-width: 767px) {
  .beneficio-card { padding: 1.25rem; }
  .beneficio-card h3 { font-size: 1.1rem; }
  .beneficio-card p { font-size: 0.95rem; }
} 

.menu-link {
  font-family: 'Inter', Arial, sans-serif !important;
  font-weight: 400 !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff;
  font-size: 1.08rem;
  padding: 0.85rem 1.2rem 0.85rem 1.2rem;
  border-radius: 0.5rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  min-height: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: color 0.3s, filter 0.2s, background 0.2s, border-bottom-color 0.3s;
  z-index: 1;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  user-select: none;
}
.menu-link:hover, .menu-link:focus {
  color: #fff !important;
  filter: brightness(1.25);
  background: rgba(59,130,246,0.10);
  border-bottom: 3px solid #3b82f6;
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .menu-link {
    font-size: 1rem;
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
    min-height: 2.4rem;
    height: 2.4rem;
  }
} 

.btn-orange {
  background: #ff6600;
  color: #fff !important;
  font-weight: 700;
  padding: 0.7rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px 0 rgba(255,102,0,0.10);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
}
.btn-orange:hover, .btn-orange:focus {
  background: #d94e00;
  color: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 4px 20px 0 rgba(255,102,0,0.18);
} 

.logo-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px 0 rgba(23,96,176,0.06);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}
.logo-card:hover, .logo-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(23,96,176,0.14);
  transform: translateY(-4px) scale(1.04);
} 

.modal-bg {
  box-shadow: 0 8px 32px 0 rgba(0,95,163,0.10) !important;
} 

.card-shadow-light {
  box-shadow: 0 4px 16px 0 rgba(0,95,163,0.08) !important;
} 

/* ===== Botão flutuante WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 24px 0 rgba(37,211,102,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-float:hover, .whatsapp-float:focus {
  transform: scale(1.08);
  box-shadow: 0 8px 32px 0 rgba(37,211,102,0.28);
  outline: 2px solid #25d366;
  outline-offset: 2px;
}
.whatsapp-icon {
  width: 38px;
  height: 38px;
  display: block;
}
.whatsapp-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(37,211,102,0.18);
  border-radius: 50%;
  z-index: -1;
  animation: whatsapp-pulse 1.5s infinite;
}
@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 0.2; }
}
@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  .whatsapp-pulse {
    width: 60px;
    height: 60px;
  }
} 