section.atendimento {
  font-family: var(--font-family-base);
}

section.atendimento section.topo {
  padding: 80px 0;
  background: var(--background-color-light);
}

.breadcrumb-container .container {
    max-width: 1200px;
    padding: 0 20px;
}

section.atendimento section.topo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section.atendimento section.topo h1 {
  color: var(--text-color-dark-secondary);
  font-size: 32px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.76px;
  margin-bottom: 16px;
  text-align: start;
  font-family: var(--font-family-base-semibold);
}

section.atendimento section.topo h3 {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

section.atendimento section.topo > .container > .row > .col-12:first-child {
  text-align: start;
  margin-bottom: 40px;
}

section.atendimento section.topo > .container > .row > .col-12:first-child p {
    color: #000;
    line-height: 150%;
    letter-spacing: -0.02em;
    max-width: 877px;
    font-size: 16px;
    font-weight: 400;
}

/* Container de abas/tabs */
section.atendimento .container-switch {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

section.atendimento .container-switch ul.menu-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: start;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
  width: 280px;
}

section.atendimento .container-switch ul.menu-switch li {
  flex: 0 0 auto;
}

section.atendimento .container-switch ul.menu-switch li button {
  padding: 12px 24px;
  /* background: var(--background-color-gray); */
  color: var(--text-color-dark-gray);
  /* border: 1px solid var(--stroke-color-tertiary); */
  border-radius: 8px;
  font-family: var(--font-family-base-medium);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  transform: scale(1);
  text-align: start;
  filter: none;
}

section.atendimento .container-switch ul.menu-switch li button:hover {
  background: var(--background-color-secondary-light);
  border-color: var(--primary-color);
  color: var(--text-color-primary);
  transform: scale(1.02);
}

section.atendimento .container-switch ul.menu-switch li button.ativo {
  background: var(--primary-color);
  color: var(--text-color-white);
  border-color: var(--primary-color);
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
              0px 4px 16px rgba(59, 130, 246, 0.2);
  transform: scale(1);
}

/* Select customizado para mobile - atendimento */
section.atendimento .menu-select-mobile {
  display: none;
  width: 100%;
  margin-bottom: 32px;
  position: relative;
  z-index: 100;
}

/* Container do select customizado */
section.atendimento .menu-select-mobile .custom-select-wrapper {
  position: relative;
  width: 100%;
  font-family: var(--font-family-base-medium);
}

/* Trigger do select customizado */
section.atendimento .menu-select-mobile .custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-color-dark-primary);
  background: var(--background-color-light);
  border: 2px solid var(--border-color-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 56px;
  border: 1px solid var(--stroke-color-tertiary);
}

/* Texto do select customizado */
section.atendimento .menu-select-mobile .custom-select-text {
  flex: 1;
  text-align: left;
  font-family: var(--font-family-base-semibold);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color-dark-primary);
  transition: color 0.2s ease;
  letter-spacing: -0.02em;
}

/* Seta do select customizado */
section.atendimento .menu-select-mobile .custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-color-dark-secondary);
}

section.atendimento .menu-select-mobile .custom-select-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Estados do trigger */
section.atendimento .menu-select-mobile .custom-select-trigger:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

section.atendimento .menu-select-mobile .custom-select-trigger:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 8px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-3px) scale(1.02);
  animation: selectPulse 0.6s ease-out;
}

section.atendimento .menu-select-mobile .custom-select-trigger.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

section.atendimento .menu-select-mobile .custom-select-trigger.active .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

/* Container das opções */
section.atendimento .menu-select-mobile .custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color-light);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section.atendimento .menu-select-mobile .custom-select-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  overflow-x: hidden;
}

/* Opções individuais */
section.atendimento .menu-select-mobile .custom-select-option {
  padding: 16px 20px;
  font-family: var(--font-family-base-semibold);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-color-dark-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

section.atendimento .menu-select-mobile .custom-select-option:last-child {
  border-bottom: none;
  border-radius: 0 0 10px 10px;
}

section.atendimento .menu-select-mobile .custom-select-option:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  transform: translateX(4px);
  font-weight: 600;
}

section.atendimento .menu-select-mobile .custom-select-option:focus {
  outline: none;
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-color);
  font-weight: 600;
}

section.atendimento .menu-select-mobile .custom-select-option.selected {
  background: var(--primary-color);
  color: var(--text-color-white);
  font-weight: 600;
  position: relative;
}

section.atendimento .menu-select-mobile .custom-select-option.selected::before {
  content: '✓';
  margin-right: 8px;
  font-weight: bold;
  color: white;
}

/* Efeito ripple para as opções */
section.atendimento .menu-select-mobile .custom-select-option::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  pointer-events: none;
}

section.atendimento .menu-select-mobile .custom-select-option:active::after {
  width: 300px;
  height: 300px;
}

/* Scrollbar customizada para as opções */
section.atendimento .menu-select-mobile .custom-select-options::-webkit-scrollbar {
  width: 6px;
}

section.atendimento .menu-select-mobile .custom-select-options::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

section.atendimento .menu-select-mobile .custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 3px;
  transition: background 0.2s ease;
}

section.atendimento .menu-select-mobile .custom-select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.5);
}

/* Animação de pulso ao focar */
@keyframes selectPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.1);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 8px 24px rgba(59, 130, 246, 0.15);
  }
}

/* Animação para o conteúdo das abas */
section.atendimento .container-switch .conteudo {
  display: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideOut 0.3s ease-out;
  transform: translateY(20px);
}

section.atendimento .container-switch .conteudo.ativo {
  display: block;
  opacity: 1;
  width: 100%;
  max-width: 640px;
  animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

/* Animações de entrada e saída do conteúdo */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

/* Animação de fade in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilização do accordion com animações */
section.atendimento .accordion {
  max-width: 640px;
  margin: 0 auto;
}

section.atendimento .accordion-item {
  border-radius: 12px;
  border: 1px solid var(--stroke-color-tertiary);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

section.atendimento .accordion-item:hover {
  box-shadow: 0px 8px 32px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

section.atendimento .accordion-button {
  background: var(--background-color-light);
  color: var(--text-color-dark-secondary);
  font-family: var(--font-family-base-medium);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 140%;
  border-radius: 12px;
  min-height: 54px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

section.atendimento .accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

section.atendimento .accordion-button:hover::before {
  left: 100%;
}

section.atendimento .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--primary-color);
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.1);
  transform: scale(1.02);
}

section.atendimento .accordion-button:focus {
  border: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  outline: none;
  z-index: 2;
}

section.atendimento .accordion-button::after {
  content: '+';
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  transform: rotate(0deg) scale(1);
  background-image: none !important;
}

section.atendimento .accordion-button:not(.collapsed)::after {
  content: '−';
  transform: rotate(180deg) scale(1.1);
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

section.atendimento .accordion-collapse {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

section.atendimento .accordion-body {
  background: var(--background-color-light);
  color: var(--text-color);
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  padding: 24px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  animation: fadeInContent 0.5s ease-out;
}

@keyframes fadeInContent {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

section.atendimento .accordion-body p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.7;
  transition: color 0.3s ease;
}

section.atendimento .accordion-body p:not(:last-child) {
  margin-bottom: 16px;
}

/* Seção final com texto adicional */
section.atendimento section.topo > .container > .row > .col-12:last-child {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: var(--background-color-secondary-light);
  border-radius: 12px;
  border: 1px solid var(--stroke-color-secondary);
  transition: all 0.3s ease;
}

section.atendimento section.topo > .container > .row > .col-12:last-child:hover {
  box-shadow: 0px 8px 24px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

section.atendimento section.topo > .container > .row > .col-12:last-child p {
  color: var(--text-color-dark-secondary);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 150%;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

/* Seção de contato (caso seja reativada) */
section.atendimento section.contato {
  padding: 80px 0;
  background: var(--background-color-primary-light);
}

section.atendimento section.contato h2 {
  color: var(--text-color-primary);
  font-family: var(--font-family-base-semibold);
  font-size: 32px;
  font-weight: 600;
  line-height: 130%;
  text-align: center;
  margin-bottom: 40px;
}


@media screen and (max-width: 992px) {

  section.atendimento section.topo {
    padding: 64px 0;
  }

  section.atendimento section.topo .container {
    padding: 0 36px;
  }

  section.atendimento section.topo h1 {
    font-size: 36px;
  }

  section.atendimento .container-switch ul.menu-switch {
    justify-content: flex-start;
    gap: 12px;
  }

  section.atendimento .container-switch ul.menu-switch li button {
    padding: 10px 16px;
    font-size: 13px;
  }

  section.atendimento .accordion {
    max-width: 100%;
  }

  /*ATENDIMENTO - TABLET*/
  section.atendimento .container-switch {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  section.atendimento .container-switch ul.menu-switch {
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
  }

  section.atendimento .container-switch ul.menu-switch li button {
    padding: 10px 20px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Garantir que select mobile seja ocultado em tablet */
  section.atendimento .menu-select-mobile {
    display: none;
  }

  section.atendimento .container-switch .conteudo.ativo {
    max-width: 100%;
  }

  section.atendimento .accordion-item {
    margin-bottom: 12px;
  }

  section.atendimento .accordion-button {
    padding: 14px 18px;
    font-size: 15px;
    min-height: 50px;
  }

  section.atendimento .accordion-body {
    padding: 18px;
    font-size: 13px;
  }

  section.atendimento section.topo {
    padding: 48px 0;
  }

  section.atendimento section.topo .container {
    padding: 0 20px;
  }

  section.atendimento section.topo h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  section.atendimento section.topo h3 {
    font-size: 14px;
  }

  section.atendimento section.topo > .container > .row > .col-12:first-child {
    margin-bottom: 32px;
  }

  section.atendimento section.topo > .container > .row > .col-12:first-child p {
    font-size: 14px;
  }

  section.atendimento .container-switch {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }

  /* Ocultar menu-switch em mobile */
  section.atendimento .container-switch ul.menu-switch {
    display: none;
  }

  /* Exibir select mobile */
  section.atendimento .menu-select-mobile {
    display: block;
  }

  section.atendimento .menu-select-mobile .form-select {
    font-size: 15px;
    padding: 14px 44px 14px 18px;
    min-height: 52px;
    background-size: 18px;
    background-position: right 14px center;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  section.atendimento .menu-select-mobile .form-select:hover {
    transform: translateY(-1px);
    box-shadow: 0px 6px 20px rgba(59, 130, 246, 0.2);
  }

  section.atendimento .menu-select-mobile .form-select:focus {
    transform: translateY(-2px) scale(1.01);
    animation: mobileSelectPulse 0.4s ease-out;
  }

  @keyframes mobileSelectPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
      box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.1);
    }
    100% {
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }
  }

  /* Animações dos accordions em mobile */
  section.atendimento .accordion-item {
    margin-bottom: 12px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  section.atendimento .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 24px rgba(59, 130, 246, 0.12);
  }

  section.atendimento .accordion-button {
    padding: 16px 20px;
    font-size: 14px;
    min-height: 48px;
    border-radius: 10px;
  }

  section.atendimento .accordion-button::after {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }

  section.atendimento .accordion-body {
    padding: 20px;
    font-size: 13px;
    line-height: 1.6;
  }

  /* Animação de entrada staggered para accordions */
  section.atendimento .accordion-item:nth-child(1) {
    animation: slideInFromBottom 0.5s ease-out 0.1s both;
  }

  section.atendimento .accordion-item:nth-child(2) {
    animation: slideInFromBottom 0.5s ease-out 0.2s both;
  }

  section.atendimento .accordion-item:nth-child(3) {
    animation: slideInFromBottom 0.5s ease-out 0.3s both;
  }

  section.atendimento .accordion-item:nth-child(4) {
    animation: slideInFromBottom 0.5s ease-out 0.4s both;
  }

  section.atendimento .accordion-item:nth-child(n+5) {
    animation: slideInFromBottom 0.5s ease-out 0.5s both;
  }

  @keyframes slideInFromBottom {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  section.atendimento section.topo > .container > .row > .col-12:last-child {
    margin-top: 24px;
    padding: 20px;
  }

  section.atendimento section.topo > .container > .row > .col-12:last-child p {
    font-size: 14px;
  }
}

section.atendimento .container-switch ul.menu-switch {
flex-direction: column;
align-items: stretch;
gap: 8px;
}

section.atendimento .container-switch ul.menu-switch li {
width: 100%;
}

section.atendimento .container-switch ul.menu-switch li button {
width: 100%;
padding: 12px 16px;
text-align: start;
}
