/* Breadcrumbs */
#breadcrumbs {
  padding: 50px 0;
  background-color: #eeedf9;
}
#breadcrumbs .page-title {
  color: #1B3A69;  
  font-family: var(--font-BaksoSapi);
  font-size: 50px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}


/* Introdução de Soluções */
#solucoes-introducao {
  padding: 0 0 50px 0;
  background-color: #eeedf9;
}
#solucoes-introducao .content p {
  color: #1B3A69;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
  margin: 0 0 24px 0;
}
#solucoes-introducao .content p:last-child {
  margin-bottom: 0;
}

/* Container de Vídeo */
#solucoes-introducao .video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(27, 58, 105, 0.15);
  background-color: #fff;
}
#solucoes-introducao .video-container .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botão de Play */
#solucoes-introducao .video-container .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
#solucoes-introducao .video-container .play-btn svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}
#solucoes-introducao .video-container:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Botões de Ação */
#solucoes-introducao .action-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}
#solucoes-introducao .action-buttons .botao {
  display: block;
  width: fit-content;
  padding: 12px 50px;
  background-color: #E63331;
  border-radius: 50px;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, .2) 0 5px 15px;
  line-height: normal;
  text-align: center;
  transition: all .15s ease-in-out;
}
#solucoes-introducao .action-buttons .botao:hover {
  background-color: #E63331;
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, .3) 0 8px 20px;
}

/* Soluções Cards */
#solucoes-cards {
  padding: 0 0 100px 0;
  background-color: #eeedf9;
}

.card-solucao {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(27, 58, 105, 0.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.card-solucao:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(27, 58, 105, 0.15);
}

.card-solucao .card-image {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: visible;
}
.card-solucao .card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}

.card-solucao .btn-plus {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #eeedf9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
  border: none;
  padding: 0;
}

.card-solucao .btn-plus svg {
  display: block;
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.card-solucao.active .btn-plus svg {
  transform: rotate(45deg);
}

.card-solucao .tooltip-hover {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  
  color: #00376A;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  line-height: normal;
  
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}
.card-solucao .tooltip-hover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.card-solucao:hover .tooltip-hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}
.card-solucao.active:hover .tooltip-hover {
  opacity: 0;
  visibility: hidden;
}

.card-solucao .card-body {
  padding: 30px 20px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-solucao .card-title {
  color: #0058A5;
  font-family: var(--font-Museo);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card-solucao .card-subtitle {
  color: #00376A;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}


#solucoes-cards .botao {
  display: block;
  width: fit-content;
  padding: 12px 50px;
  background-color: #E63331;
  border-radius: 50px;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, .2) 0 5px 15px;
  line-height: normal;
  text-align: center;

  margin: 100px auto 0 auto;
  transition: all .15s ease-in-out;
}
#solucoes-cards .botao:hover {
  background-color: #E63331;
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, .3) 0 8px 20px;
}



/* Master Popover */
.master-popover-wrapper {
  position: relative;
  width: 100%;
  left: 0;
  padding: 40px 0 60px 0;
  margin-top: 30px;
  margin-bottom: 20px;
  display: none;
}

.master-popover-container {
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.master-popover-arrow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #fff;
  transition: left 0.3s ease;
  z-index: 10;
}

.master-popover-content {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.popover-header-content {
  text-align: center;
  margin-bottom: 40px;
}
.popover-logo img {
  display: block;
  width: auto;
  max-width: 300px;
  height: 90px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, .3));
}
.popover-logo-text {
  font-size: 36px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1px;
}
.popover-body-content h4 {
  color: #006eb6;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
}
.popover-body-content p {
  color: #1B3A69;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}
.popover-body-content p strong {
  font-weight: 700;
}

.popover-video-box {
  background-color: #e6f0fa;
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  overflow: hidden;
}
.popover-video-box:hover {
  background-color: #dceaf7;
}
.popover-play-icon {
  width: 0;
  height: 0;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
  border-left: 55px solid #fff;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
  transition: transform 0.2s ease;
}
.popover-video-box:hover .popover-play-icon {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .master-popover-content {
    padding: 30px;
  }
}
@media (max-width: 768px) {
  .popover-video-box {
    height: 250px;
  }
}




@media (max-width: 992px) {
  #breadcrumbs .page-title {
    font-size: 32px;
  }


  #solucoes-introducao {
    padding: 0 0 60px 0;
  }
  #solucoes-introducao .content p {
    font-size: 16px;
    text-align: justify;
  }
  #solucoes-introducao .action-buttons {
    gap: 15px;
  }
  #solucoes-introducao .action-buttons .botao {
    font-size: 20px;
    padding: 10px 30px;
    width: 100%;
    max-width: 320px;
  }


  #solucoes-cards {
    padding: 0 0 50px 0;
  }
  #solucoes-cards .botao {
    margin: 50px auto 0 auto;
    font-size: 20px;
  }



  .master-popover-wrapper {
    margin-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .master-popover-content {
    padding: 20px;
  }
  .popover-header-content {
    margin: 0 0 20px 0;
  }
  .popover-logo img {
    width: 200px;
    height: 60px;
  }
}