/* TOPO SUPERIOR */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 8px 20px;
  display: flex;
  justify-content: flex-end; /* tudo à direita */
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

/* Agrupamento dos itens */
.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Link simples (Trocar de cidade) */
.simple-link {
  margin-left: 12px;
  color: #75076f;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.simple-link:hover {
  color: #3a0ca3;
}

/* Botões em formato pílula */
.pill-btn {
  border: 1px solid #75076f;
  border-radius: 50px;
  padding: 6px 14px;
  margin-left: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #75076f;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pill-btn:hover {
  background: #75076f;
  color: #fff;
}

/* Botão Assine Agora */
.btn-assinar {
  background: linear-gradient(90deg, #75076f, #3a0ca3);
  color: #fff !important;
  padding: 7px 20px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 10px;
  box-shadow: 0 4px 10px rgba(117,7,111,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-assinar:hover {
  background: linear-gradient(90deg, #3a0ca3, #75076f);
  transform: scale(1.1); /* Cresce */
  box-shadow: 0 8px 20px rgba(117,7,111,0.4);
}

/* Ícones sociais */
.social-icons {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}

.social-icons a {
  margin-left: 10px;
  font-size: 18px;
  color: #75076f;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #3a0ca3;
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .top-bar {
    justify-content: center;
  }

  .top-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .pill-btn, .btn-assinar, .simple-link {
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 6px 12px;
  }

  .social-icons {
    margin-top: 6px;
  }
}


/* NAVBAR CUSTOM */
.custom-navbar {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.custom-navbar .navbar-brand img {
  max-height: 60px; /* Logo maior */
}

/* Links */
.custom-navbar .nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #75076f;
}

/* Underline animado */
.custom-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #75076f;
  transition: width 0.3s;
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
  width: 100%;
}

/* Botão Área do Cliente */
.btn-cliente {
  background: linear-gradient(90deg, #75076f, #3a0ca3);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cliente:hover {
  background: linear-gradient(90deg, #3a0ca3, #75076f);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(117,7,111,0.3);
}

/* Hamburguer */
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(35%) sepia(90%) saturate(700%) hue-rotate(270deg);
}


/* Logo */
.logo-milla {
  max-height: 80px; /* maior no desktop */
  transition: transform 0.3s ease, max-height 0.3s ease;
}

.logo-milla:hover {
  transform: scale(1.1); /* cresce suavemente */
}

/* Forçar logo maior */
.navbar-brand img,
.logo-milla {
  height: 100px !important;   /* tamanho fixo grande */
  width: auto !important;     
  max-height: none !important;
  transition: transform 0.3s ease;
}

/* Efeito suave só de crescimento no hover */
.navbar-brand img:hover {
  transform: scale(1.08);
}

/* Responsivo: logo menor no mobile */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 70px !important;
  }
}

/* Imagem responsiva (sempre inteira) */
.slide-img {
  width: 100%;
  height: auto;           /* altura varia conforme a proporção */
  display: block;
}

/* Partículas fixas por cima do carrossel */
.particles-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Controles (setas brancas) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  width: 40px;
  height: 40px;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.carousel-control-prev-icon::after {
  transform: rotate(-135deg);
}

.carousel-control-next-icon::after {
  transform: rotate(45deg);
}

/* Indicadores */
.carousel-indicators button {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.carousel-indicators .active {
  background-color: #75076f;
}

/* Linha roxa com efeito de luz */
.linha-efeito {
  position: relative;
  width: 100%;
  height: 12px; /* aumentei a espessura da linha */
  background: #75076f; /* cor base */
  overflow: hidden;
}

/* Luz que corre */
.linha-efeito::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%; /* começa fora da tela */
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: correr 5s linear infinite; /* mais devagar */
}

/* Animação mais lenta */
@keyframes correr {
  0% { left: -50%; }
  100% { left: 100%; }
}

.plano-titulo {
  text-align: center;
  margin: 60px 20px;
}

.plano-titulo h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

/* Texto digitado */
#typewriter {
  color: #75076f; /* roxo da Milla */
  border-right: 3px solid rgba(117, 7, 111, 0.7); /* cursor */
  padding-right: 5px;
  animation: blinkCursor 0.7s infinite;
}

/* Efeito cursor piscando */
@keyframes blinkCursor {
  0% { border-color: rgba(117, 7, 111, 0.7); }
  50% { border-color: transparent; }
  100% { border-color: rgba(117, 7, 111, 0.7); }
}

.planos-limpos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px auto;
}

.plano-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15); /* sombra em volta */
}

.plano-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(117, 7, 111, 0.3); /* destaque no hover */
}



.plano-header {
  color: #fff;
  padding: 20px;
}

.plano-card.red .plano-header { background: #e63946; }
.plano-card.black .plano-header { background: #000; }
.plano-card.purple .plano-header { background: #75076f; }

.plano-header h3 {
  font-size: 1.8rem;
  margin: 0;
}

.beneficios {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  padding-left: 30px;
}

.beneficios li {
  margin-bottom: 8px;
}

.inclui {
  font-weight: bold;
  margin: 10px 0;
}

.logos-inclusos {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}

.logos-inclusos img {
  height: 30px;
}

.preco {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 10px 0 20px;
}

.extras {
  margin: 10px 0 20px;
  text-align: left;
  padding: 0 20px;
}

.switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.switch input {
  display: none;
}

.switch .slider {
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

.switch .slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background: #75076f;
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 20px;
}

.btn-whatsapp:hover {
  background: #20b955;
}


.plano-header h3 {
  font-size: 2.8rem;     /* maior */
  font-weight: 900;      /* bem negrito */
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-family: 'Poppins', sans-serif; /* fonte moderna */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* leve sombra */
}


.plano-titulo {
  text-align: center;
  margin: 60px 20px;
}

.plano-titulo h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.destaque-apps {
  font-weight: 900;
  animation: colorChange 4s infinite;
}

/* Cores variando suavemente */
@keyframes colorChange {
  0%   { color: #75076f; }  /* Roxo Milla */
  33%  { color: #e63946; }  /* Vermelho destaque */
  66%  { color: #ff9800; }  /* Laranja */
  100% { color: #75076f; }  /* Volta pro roxo */
}


.footer {
  background: #75076f;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 220px;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
}

.footer h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #fff;
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #ffccff;
}

.footer-logo {
  max-width: 80px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 0.85rem;
}


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366 !important; /* verde fixo */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b955 !important;
}

.whatsapp-float .whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #fff !important; /* força o ícone em branco */
}
