/* Menu principal */
.header-logo {
  max-width: 140px;
  display: block;
  margin: 0;
  justify-content: center;
}

.navbar {
  background-color: #fff;
}

.custom-nav {
  background-color: #fff;
}

.custom-menu {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.custom-menu-item>a.nav-link {
  font-size: 16px;
  font-weight: 600;
  line-height: 32px;
  transition: all 0.3s ease;
  color: var(--e-global-color-931db69);
  border-radius: 0;
  min-height: 60px;
  /* Alinhar itens */
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-menu-item>a.nav-link:hover {
  background-color: #22E3EF;
  font-weight: 600;
  min-height: 60px;
  color: #141414;
  border-radius: 0;
}

/* Submenu */
.dropdown-menu.custom-sub-menu {
  background-color: var(--color-secondary-01);
  border: none;
  box-shadow: none;
  min-width: 220px;
  border-radius: 0;
}

.dropdown-menu.custom-sub-menu a {
  color: var(--color-secondary-08);
  font-weight: 500;
  min-height: 40px;
  /* Alinhar itens */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dropdown-menu.custom-sub-menu a:hover {
  background-color: #22E3EF;
  font-weight: 700;
}

.dropdown-submenu {
  position: relative;
}

.dropdown:hover>.dropdown-menu {
  display: block !important;
}

.dropdown-menu li a.active {
  color: #fff;
}

.custom-toggle-arrow {
  font-size: 18px;
  margin-top: 1px;
  line-height: 12px;
}

/* submenus abrem à direita */
.dropdown-submenu:hover>.dropdown-menu {
  position: absolute;
  display: block !important;
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-top: -6px;
  /* ajuste fino */
  min-width: 220px;
  z-index: 200;
}

.dropdown-submenu .dropdown-menu.show {
  display: block;
}

/* estilo do botão split (setinha) */
.dropdown-toggle-split {
  border: none;
  background: transparent;
  padding: 0 .5rem;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* hover visual */
.dropdown-toggle-split:hover {
  background: #22E3EF;
}

.header-busca {
  /* Alinhar itens */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.menu-icon-a {
  visibility: visible;
}

.menu-icon-b {
  visibility: hidden;
}

.submenu-icon {
  position: absolute;
  visibility: hidden;
}

/* comportamento em telas pequenas: submenus passam a ficar no fluxo (vertical) */
@media screen and (max-width: 990px) {
  .dropdown-submenu>.dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    margin-left: 5px;
    margin-top: 0px;
    display: block;
  }

  .menu-icon-a {
    visibility: hidden;
    position: absolute;
  }

  .menu-icon-b {
    visibility: visible;
  }

  .submenu-icon {
    visibility: visible;
    position: inherit;
    margin-left: 5px;
    margin-right: 2px;
    font-size: xx-small;
  }

  /* .conteudo {
    padding-top: 130px;
  } */
}

/* Footer styles */

/* Footer base */
.site-footer {
  background-color: #18355e;
  color: #fff;
}

/* Títulos (h2) */
.site-footer .footer-title {
  font-size: 18px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 24px;
}

.site-footer .footer-title a {
  color: rgb(34, 227, 239);
  text-decoration: none;
}

.site-footer .footer-title a:hover {
  color: #fff;
}

/* Menus */
.site-footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 16px;
}

.site-footer .footer-menu li {
  margin: 1rem 0;
}

.site-footer .footer-menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.site-footer .footer-menu a:hover {
  color: rgb(34, 227, 239);
}

/* Bloco extra do footer */
/* .footer-extra {
  background-color: #0c2a53;
  width: 100%;
  height: 100%;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4px 4px 4px 4px;
} */


/* Bloco extra do footer */
/* .footer-extra {
  background-color: #0c2a53;
  width: 100%;
  position: relative;
} */

.footer-logo {
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0;
}

.footer-extra {
  padding-block: 40px;
}

.footer-extra .footer-title {
  color: rgb(34, 227, 239);
  margin-top: unset !important;
}

.footer-social a {
  display: inline-block;
  margin: 0 8px;
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: rgb(34, 227, 239);
}

.conteudo {
  padding-top: 130px;
}

/* comportamento em telas pequenas: submenus passam a ficar no fluxo (vertical) */
@media screen and (max-width: 990px) {
  .conteudo {
    padding-top: 95px;
  }
}

/* Estilos do carrossél de epígrafes */

#catalogo iframe {
  width: 100%;
  min-height: 80vh;
  pointer-events: auto;
  position: relative;
  z-index: 100;
}

/* Carousel styles */

#carouselEpigrafes {
  z-index: 0;
}

/* Suaviza a transição de opacidade no modo fade */
#carouselEpigrafes.carousel-fade .carousel-item {
  transition-property: opacity;
  transition-duration: 0.8s;
  /* Ajuste aqui a velocidade do fade */
}

/* Remove a borda padrão do blockquote se o seu tema tiver */
#carouselEpigrafes .blockquote {
  border: none;
  margin-bottom: 0;
}

/* Mostrar cursor pointer no link do footer */
#carouselEpigrafes .blockquote-footer a {
  cursor: pointer;
}

#carouselEpigrafes .blockquote-footer a:hover {
  text-decoration: underline;
}

/* Estilo para as aspas decorativas (opcional) */
#carouselEpigrafes .blockquote p::before {
  content: "\f10d";
  /* Ícone de aspas do FontAwesome se você usar */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  opacity: 0.2;
}

/* Estilo para o fechamento das aspas decorativas */
#carouselEpigrafes .blockquote p::after {
  content: "\f10e";
  /* Ícone de aspas fechando do FontAwesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 10px;
  opacity: 0.2;
}

/* Garante que o carrossel respeite a profundidade do Elementor */
.carousel-control-prev,
.carousel-control-next {
  z-index: 0;
  cursor: pointer !important;
}

.carousel-item {
  backface-visibility: hidden;
  /* Evita tremores no fade */
}



/* Estilo do fluxo editorial */

#fluxo-wrapper {
  --primary-blue: #1d4ed8;
  --primary-blue-light: #eff6ff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  text-align: left;
}

.fluxo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.fluxo-header h1 {
  font-size: 28px;
  color: #0f172a;
  margin: 0;
}

.fluxo-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 5px 0 0;
}

.help-box button {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.fluxo-main {
  display: flex;
  gap: 30px;
  min-height: 620px;
}

/* Sidebar */
.fluxo-sidebar {
  width: 350px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
}

.step-list {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  max-height: 550px;
}

.step-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.step-item:hover {
  background: #f1f5f9;
}

.step-item.active {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue);
}

.step-icon-circle {
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item.active .step-icon-circle {
  background: var(--primary-blue);
  color: white;
}

.step-info h3 {
  font-size: 14px;
  margin: 0;
  color: var(--text-dark);
}

.step-info span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Content */
.fluxo-content {
  flex: 1;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.content-icon-big {
  width: 50px;
  height: 50px;
  background: var(--primary-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.desc-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: var(--text-muted);
}

.task-list {
  list-style: none;
  padding: 0;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.task-num {
  width: 22px;
  height: 22px;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.main-button {
  display: inline-block;
  background: #2f6fed;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
}

.main-button:hover {
  background: #1f4fc4;
}

.step-badge {
  display: inline-block;
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffe69c;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  margin-top: 6px;
}

.step-badge-sm {
  font-size: 11px;
  padding: 2px 6px;
}

@media (max-width: 900px) {
  .fluxo-main {
    flex-direction: column;
  }

  .fluxo-sidebar {
    width: 100%;
  }
}