.navbar-header {
  background: #13233e;
}

.breadcrumb .container {
  width: 100%;
  max-width: 100%;
}

.breadcrumb li:first-of-type svg path {
  fill: #fff;
}

.breadcrumb-links {
  justify-content: flex-start;
}

body {
  background-color: #f6f5f5;
}

.solucao-header {
  padding: calc(5rem + 64px) 0 8rem;
  background-color: #3565b1;
  position: relative;
}

.solucao-header__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.solucao-header__content h1 {
  color: #fff;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  letter-spacing: -1.92px;
  margin-bottom: 32px;
}

.solucao-header__content p {
  color: #fff;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 32px;
}

.solucao-header img {
  border-radius: 10px 50px;
  z-index: 1;
}

.solucao-header__wave {
  position: absolute;
  bottom: -7px;
  pointer-events: none;
  left: 0;
  width: 100%;
}

.solucao-header__wave svg {
  width: 100%;
  height: fit-content;
}

@media screen and (min-width: 768px) {
  .solucao-header__content h1 {
    font-size: 3rem;
  }
  .solucao-header {
    padding: calc(5rem + 98px) 0 12.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .solucao-header__container {
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
  }
  .solucao-header__content h1 {
    font-size: 3.5rem;
  }
  .solucao-header img {
    border-radius: 10px 75px;
  }
}

/* MODAL */
#form-contato {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  max-width: 575px;
  width: 90%;
  max-height: 90%;
  margin: 0 auto;
  padding: 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 30.9px 0 rgba(0, 0, 0, 0.05);
  z-index: 1;
  overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.modal-content h2 {
  color: #424242;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: -1.08px;
  margin-bottom: 32px;
}

.modal-content p {
  color: #424242;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 32px;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  position: relative;
  margin-bottom: 12px;
}

.input-field label {
  color: #424242;
  font-size: 1rem;
  font-weight: 500;
  line-height: 150%;
}

.input-field input,
.input-field select,
.input-field textarea {
  border: 1px solid #cbcbcb;
  background-color: #fff;
  padding: 14px 16px;
  width: 100%;
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  transition: border-color 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  min-height: 54px;
}

.input-field input[disabled] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  border-color: #3565b1;
  outline: none;
}

.input-field input::placeholder,
.input-field select::placeholder,
.input-field textarea::placeholder {
  color: #a0a0a0;
}

.input-field textarea {
  resize: none;
  height: 125px;
}

.attention-icon {
  color: #d32f2f;
}

.form-contato__flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tag-input-container {
  border: 1px solid #cbcbcb;
  background-color: #f5f5f5;
  padding: 14px 40px 14px 12px;
  width: 100%;
  max-height: 125px;
  position: relative;
  transition: all 0.3s ease;
  cursor: not-allowed;
  min-height: 54px;
}

.tag-input-container.active {
  background-color: #fff;
  border-color: #3565b1;
  cursor: text;
}

.tag-input-container.unlocked {
  cursor: pointer;
  padding-right: 12px;
}

.tag-input-container.unlocked .tag-item {
  pointer-events: unset;
}

.tag-input-container .tag-item {
  pointer-events: none;
}

.tag-input-container.unlocked .edit-icon {
  display: none !important;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  max-height: 95px;

  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.tags-list::-webkit-scrollbar {
  width: 4px;
}

.tags-list::-webkit-scrollbar-track {
  background: transparent;
}

.tags-list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.tag-item {
  background-color: #424242;
  color: #fff;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 8px;
  animation: fadeIn 0.2s ease-in-out;
}

.tag-remove {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  background: none;
  border: none;
  color: #fff;
}

.tag-remove:hover {
  opacity: 1;
}

.edit-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-dropdown {
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(100%);
  background: #fff;
  border: 1px solid #cbcbcb;
  border-top: none;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-dropdown.show {
  display: block;
}

.product-dropdown li {
  padding: 8px 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  color: #424242;
  transition: background-color 0.2s ease;
}

.product-dropdown li:hover {
  background-color: #f5f5f5;
}

.success-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 5;
  stroke: #4caf50;
  stroke-miterlimit: 10;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
  margin: 0 auto 20px;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 5;
  stroke-miterlimit: 10;
  stroke: #4caf50;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-message {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out 1s forwards;
}

.success-details {
  color: #718096;
  margin-top: 10px;
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out 1.3s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (min-width: 1024px) {
  .modal-content {
    padding: 40px;
  }
  .form-contato__flex {
    flex-direction: row;
  }
  .modal-close {
    top: 24px;
    right: 24px;
  }
}

/* Galeria */
.solucao-gallery {
  padding: 2.5rem 0 5rem;
}

.solucao-gallery .solucao-gallery-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media screen and (max-width: 1024px) {
  .solucao-gallery .solucao-gallery-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .solucao-gallery .solucao-gallery-content {
    grid-template-columns: repeat(2, 1fr);
  }
  #preview-box {
    padding: 1rem;
  }
}

@media screen and (max-width: 475px) {
  .solucao-gallery .solucao-gallery-content {
    grid-template-columns: 1fr;
    place-items: center;
  }
  #preview-box {
    width: 100%;
  }
}

.solucao-gallery-img {
  position: relative;
  cursor: pointer;
  background: #f3f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.solucao-gallery-img img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solucao-gallery-img:hover img {
  transform: scale(1.1);
}

.solucao-gallery-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #222;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solucao-gallery-img:hover::after {
  opacity: 0.5;
}

.solucao-gallery-img:hover .zoom-icon {
  opacity: 1;
}

.solucao-gallery-img .zoom-icon {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  z-index: 10;
  width: 48px;
  height: 48px;
}

/* Modal de visualização da imagem */
#preview-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

#preview-box {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 2rem;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#preview-box img {
  margin: 0 auto;
  display: block;
}

#modal-close-btn {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

#modal-prev-img {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

#modal-next-img {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

#modal-prev-img svg,
#modal-next-img svg {
  width: 64px;
  height: 64px;
}

#modal-img-counter {
  position: absolute;
  left: 50%;
  color: #fff;
  bottom: 2rem;
  transform: translateX(-50%);
}

/* Tabs Section */
.solucao-tabs {
  padding: 5rem 0;
}

.tabs-nav {
  display: flex;
  list-style: none;
  margin-bottom: 64px;
}

.tabs-nav li {
  color: #717171;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  cursor: pointer;
  position: relative;
  padding: 24px;
  transition: color 0.3s ease;
}

.tabs-nav li::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #b3b3b3;
}

.tabs-nav li:hover {
  color: #13233e;
}

.tabs-nav li.active {
  color: #13233e;
  font-weight: 500;
}

.tabs-nav li.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3565b1;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane h2 {
  color: #424242;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: -1.08px;
  margin: 24px 0 16px 0;
}

.tab-pane h3 {
  color: #424242;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: -1.08px;
  margin: 24px 0 16px 0;
}

.tab-pane h4 {
  color: #424242;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: -1.08px;
  margin: 24px 0 16px 0;
}

.tab-pane p {
  color: #555;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin: 16px 0 8px 0;
}

.tab-pane ul,
.tab-pane ol {
  list-style-type: disc;
  list-style-position: inside;
  margin: 16px 0 8px 0;
}

.tab-pane li,
.tab-pane li {
  color: #555;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 4px;
}

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

@media screen and (max-width: 1024px) {
  .tab-pane h2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 768px) {
  .tabs-nav {
    padding-bottom: 0.5rem;
    flex-direction: column;
    text-align: center;
  }
  .tab-pane h2 {
    font-size: 1.5rem;
  }
}

/* FAQ Section */
.solucao-faq {
  padding: 5rem 0;
  background-color: #fff;
}

.solucao-faq .section-title {
  text-align: center;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #f6f5f5;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #fefefe;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 16px;

  color: #424242;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -1.08px;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  background-color: #fefefe;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1.5rem;
}

.faq-answer p {
  color: #424242;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .faq-question {
    font-size: 1.25rem;
    padding: 1.25rem;
  }
}

.more-solucoes {
  padding: 5rem 0;
  background-color: #fff;
}

.more-solucoes-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}

.solucoes-categoria-cards__card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #dedede;
  border-radius: 10px 50px 10px 10px;
}

.solucoes-categoria-cards__card img {
  border-radius: 10px 50px 0 0;
  width: 100%;
  object-fit: cover;
}

.solucoes-categoria-cards__card-content {
  padding: 24px;
  background-color: #fff;
  height: 100%;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solucoes-categoria-cards__card-content h3 {
  color: #121212;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 8px;
}

.solucoes-categoria-cards__card-content p {
  color: #5c5c5c;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 16px;
}

.catalogos-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.catalogos-cards__card {
  padding: 32px;
  background-color: #fff;
  width: 100%;
  border: 1px solid #d8d8d8;
}

.catalogos-cards__card h3 {
  color: #000;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin: 24px 0;
}

.catalogos-cards__card a {
  color: #007c9c;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1280px) {
  .more-solucoes-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .more-solucoes-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalogos-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .more-solucoes-cards {
    grid-template-columns: 1fr;
  }
}
