/* Cards de planos estilizados - mantendo formato original */
.service_section .box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  height: 100%;
}

.service_section .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service_section .box .img-box {
  padding: 20px 0 10px 0;
}

.service_section .box .img-box img {
  max-height: 80px;
  transition: transform 0.3s;
}

.service_section .box:hover .img-box img {
  transform: scale(1.05);
}

.service_section .box .detail-box {
  padding: 15px 20px 25px;
}

.service_section .box .detail-box h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e2a3a;
  margin: 10px 0 15px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.service_section .box .detail-box p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
  min-height: 80px;
}

/* Preço inline como estava original */
.service_section .box .detail-box p a {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2c3e50;
  background: #f9e79f;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 5px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-group-card {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.btn-saiba, .btn-contratar {
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  font-size: 0.85rem;
  text-align: center;
  white-space: nowrap;
}

.btn-saiba {
  background: transparent;
  border: 2px solid #1e2a3a;
  color: #1e2a3a;
}

.btn-saiba:hover {
  background: #1e2a3a;
  color: #fff;
  text-decoration: none;
}

.btn-contratar {
  background: #25d366;
  border: 2px solid #25d366;
  color: white;
}

.btn-contratar:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: white;
  text-decoration: none;
  transform: scale(1.02);
}

/* Setas do slider - CORRIGIDAS */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 60px;
  height: 60px;
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

/* Slider overlay */
.slider_bg_box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.slider_bg_box img {
  filter: brightness(0.8);
}

.detail-box {
  position: relative;
  z-index: 2;
}

/* Botão Contrate Agora */
.btn1 {
  transition: all 0.3s;
  display: inline-block;
}

.btn1:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Botão da empresa */
.btn-saiba-empresa {
  padding: 10px 30px;
  background: #1e2a3a;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-saiba-empresa:hover {
  background: #f1c40f;
  color: #1e2a3a;
  text-decoration: none;
}

/* ===== AUMENTAR IMAGEM DA SEÇÃO SOBRE ===== */
.about_section .img-box {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about_section .img-box img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.about_section .img-box img:hover {
  transform: scale(1.02);
}

/* Animações */
.hero_area, .service_section, .about_section, .info_section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo para os cards - mobile */
@media (max-width: 768px) {
  .btn-group-card {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn-saiba, .btn-contratar {
    text-align: center;
    white-space: nowrap;
  }
  
  .service_section .box .detail-box p {
    min-height: auto;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 35px;
    height: 35px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 40%;
  }
  
  .about_section .img-box img {
    max-width: 100%;
    margin-top: 30px;
  }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
  .btn-saiba, .btn-contratar {
    padding: 6px 12px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  .service_section .box .detail-box p {
    font-size: 0.8rem;
  }
  
  .service_section .box .detail-box p a {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 30px;
    height: 30px;
  }
}

/* ===== ESTILOS DOS CARDS DE PLANOS ===== */
.card-plano {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.box {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(241, 196, 15, 0.3);
  border-color: rgba(241, 196, 15, 0.5);
}

/* Destaque para o plano recomendado (Prata) */
.box.recomendado-destaque {
  border: 3px solid #f1c40f;
  background: linear-gradient(145deg, #fff 0%, #fffdf5 100%);
  box-shadow: 0 15px 40px rgba(241, 196, 15, 0.25);
  transform: scale(1.05);
  z-index: 2;
}

.box.recomendado-destaque:hover {
  transform: scale(1.07) translateY(-10px);
  box-shadow: 0 25px 60px rgba(241, 196, 15, 0.4);
}

/* Imagem do card */
.img-box {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-box img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
  transition: transform 0.3s;
  display: block;
  margin: 0 auto;
}

.box:hover .img-box img {
  transform: scale(1.1) rotate(5deg);
}

/* Badge "Mais Popular" */
.badge-popular {
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
  color: #1e2a3a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(241, 196, 15, 0.4);
  animation: pulse 2s infinite;
  white-space: nowrap;
  margin: 0;
  width: auto;
  position: static;
  transform: none;
  left: auto;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(241, 196, 15, 0.4); }
  50% { box-shadow: 0 2px 12px rgba(241, 196, 15, 0.7); }
}

/* Preço em destaque */
.preco-destaque {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin: 5px 0;
}

/* Grupo de botões */
.btn-group-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.btn-saiba,
.btn-contratar {
  width: 100%;
  max-width: 180px;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Botão Detalhes */
.btn-saiba {
  background: transparent;
  color: #1e2a3a;
  border: 2px solid #1e2a3a;
}

.btn-saiba:hover {
  background: #1e2a3a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 42, 58, 0.3);
}

/* Botão Contratar */
.btn-contratar {
  background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-contratar:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* Efeito de brilho */
.btn-contratar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
  border-radius: 50px;
}

.btn-contratar:hover::after {
  left: 100%;
}

/* Responsivo */
@media (max-width: 992px) {
  .box.recomendado-destaque {
    transform: scale(1);
  }
  .box.recomendado-destaque:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

@media (max-width: 768px) {
  .card-plano {
    max-width: 400px;
    margin: 0 auto 30px;
  }
  
  .box {
    padding: 25px 20px;
    max-width: 100%;
  }
  
  .preco-destaque {
    font-size: 1.5rem;
  }
  
  .badge-popular {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  
  .detail-box h5 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .btn-saiba,
  .btn-contratar {
    padding: 10px 15px;
    font-size: 0.85rem;
    max-width: 160px;
  }
  
  .badge-popular {
    font-size: 0.6rem;
    padding: 3px 8px;
  }
}

/* ===== AJUSTE DA ALTURA DO BANNER PRINCIPAL ===== */
.hero_area {
  min-height: 60vh;
}

@media (max-width: 768px) {
  .hero_area {
    min-height: 50vh;
  }
}

@media (max-width: 480px) {
  .hero_area {
    min-height: 45vh;
  }
}

/* Ajuste do conteúdo do slider */
.slider_section .detail-box {
  padding: 30px 0;
}

.slider_section .detail-box h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.slider_section .detail-box p {
  font-size: 0.9rem;
  max-width: 85%;
  margin: 0 auto 20px auto;
}

.slider_section .btn-box a {
  padding: 10px 25px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .slider_section .detail-box h1 {
    font-size: 1.5rem;
  }
  .slider_section .detail-box p {
    font-size: 0.85rem;
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .slider_section .detail-box h1 {
    font-size: 1.3rem;
  }
  .slider_section .detail-box p {
    font-size: 0.8rem;
  }
  .slider_section .detail-box {
    padding: 20px 0;
  }
}

/* ===== FORÇAR CENTRALIZAÇÃO DA MEDALHA (FINAL) ===== */
.service_section .box .detail-box h5,
.box .detail-box h5,
.detail-box h5 {
    justify-content: center !important;
    text-align: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.badge-popular {
    display: inline-flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    justify-content: center !important;
}