/* 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 */
}

.planos-limpos {
  display: flex;
  gap: 25px;
  align-items: stretch;
}

.plano-card {
  width: 100%;
  max-width: 380px;
  min-height: 660px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.plano-header {
  background: #76006f;
  color: #fff;
  text-align: center;
  padding: 30px 20px 45px;
}

.plano-header h3 {
  font-size: 48px;
  line-height: 1;
  margin: 0 0 12px;
  font-weight: 900;
}

.plano-header p {
  font-size: 20px;
  margin: 0;
}

.plano-conteudo {
  padding: 30px 38px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.beneficios li {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.preco {
  margin-top: auto;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: #07111f;
}

.preco .valor {
  font-weight: 900;
}

.preco small {
  font-size: 24px;
  font-weight: 800;
}

.preco-extra {
  text-align: center;
  font-size: 17px;
  margin: -8px 0 22px;
  color: #111;
}

.btn-whatsapp {
  display: block;
  margin: 0 auto;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .planos-limpos {
    flex-direction: column;
    align-items: center;
  }

  .plano-card {
    max-width: 100%;
    min-height: auto;
  }
}


.apps-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f1fb 100%);
  padding: 80px 20px;
}

.apps-container {
  max-width: 1180px;
  margin: 0 auto;
}

.apps-titulo {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.apps-subtitulo {
  display: inline-block;
  background: #79006f;
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.apps-titulo h2 {
  font-size: 42px;
  color: #160018;
  font-weight: 900;
  margin-bottom: 14px;
}

.apps-titulo p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.app-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(121, 0, 111, 0.08);
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 315px;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(121, 0, 111, 0.16);
}

.app-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: #f5edf7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.app-logo img {
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
}

.app-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-info h3 {
  font-size: 22px;
  color: #79006f;
  font-weight: 900;
  margin-bottom: 12px;
}

.app-info p {
  font-size: 15px;
  color: #444;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .apps-section {
    padding: 60px 16px;
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .apps-titulo h2 {
    font-size: 32px;
  }

  .apps-titulo p {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: auto;
  }

  .app-logo {
    width: 82px;
    height: 82px;
  }

  .app-logo img {
    max-width: 64px;
    max-height: 64px;
  }
}


.milla-app-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #79006f 0%, #3b0050 55%, #160018 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.milla-app-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -180px;
  right: -120px;
}

.milla-app-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(37, 211, 102, 0.18);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
}

.milla-app-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.milla-app-subtitulo {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.milla-app-content h2 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.1;
}

.milla-app-content > p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.milla-app-beneficios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.milla-app-beneficio {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
}

.milla-app-beneficio span {
  min-width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.milla-app-beneficio p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.milla-app-lojas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.milla-app-lojas a {
  display: inline-flex;
  transition: 0.2s ease;
}

.milla-app-lojas a:hover {
  transform: translateY(-3px);
}

.milla-app-lojas img {
  height: 52px;
  width: auto;
  display: block;
}

.milla-app-visual {
  display: flex;
  justify-content: center;
}

.milla-app-card {
  width: 100%;
  max-width: 380px;
  min-height: 500px;
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.milla-app-phone {
  width: 260px;
  height: 500px;
  background: #111;
  border-radius: 36px;
  padding: 14px;
  position: relative;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.phone-top {
  width: 88px;
  height: 22px;
  background: #111;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f5ecf8 100%);
  padding: 58px 22px 24px;
  text-align: center;
  color: #160018;
  overflow: hidden;
}

.phone-logo {
  max-width: 120px;
  margin-bottom: 22px;
}

.phone-screen h3 {
  color: #79006f;
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 10px;
}

.phone-screen p {
  font-size: 14px;
  color: #555;
  line-height: 1.45;
  margin-bottom: 20px;
}

.phone-menu {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.phone-menu span {
  background: #fff;
  color: #230023;
  border-radius: 14px;
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(121, 0, 111, 0.12);
  text-align: left;
}

.phone-btn {
  display: inline-block;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 900;
  transition: 0.2s ease;
}

.phone-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .milla-app-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .milla-app-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .milla-app-lojas {
    justify-content: center;
  }

  .milla-app-beneficios {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .milla-app-section {
    padding: 70px 16px;
  }

  .milla-app-content h2 {
    font-size: 32px;
  }

  .milla-app-content > p {
    font-size: 16px;
  }

  .milla-app-beneficios {
    grid-template-columns: 1fr;
  }

  .milla-app-lojas img {
    height: 48px;
  }

  .milla-app-card {
    min-height: auto;
    padding: 20px;
  }

  .milla-app-phone {
    width: 235px;
    height: 460px;
  }

  .phone-screen {
    padding: 52px 18px 20px;
  }

  .phone-screen h3 {
    font-size: 22px;
  }

  .phone-menu span {
    font-size: 13px;
    padding: 10px;
  }
}